/* Otavio Calbuch — cores e fontes da identidade; layout inspirado em anacarroliny.com */
:root {
  --preto: #000000;
  --vinho: #3B1212;
  --terracota: #794641;
  --areia: #DDD6D0;
  --branco: #FFFFFF;
  /* Substitutas: Allrounder → Cinzel · HK Carta → Cormorant Garamond · Legenda Tera → Lexend */
  --f-titulo: "Cinzel", Georgia, serif;
  --f-destaque: "Cormorant Garamond", Georgia, serif;
  --f-texto: "Lexend", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-texto);
  font-weight: 300;
  color: var(--vinho);
  background: var(--branco);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
em { font-family: var(--f-destaque); font-style: italic; font-weight: 500; font-size: 1.15em; }

/* ---------- Topo ---------- */
.topo {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 64px);
  transition: background .4s, padding .4s, box-shadow .4s;
}
.topo__marca { display: block; width: 38px; position: relative; height: 48px; }
.topo__simbolo { position: absolute; inset: 0; height: 48px; width: auto; transition: opacity .4s; }
.topo__simbolo--escuro { opacity: 0; }
.topo__menu { display: flex; }
.topo__menu a {
  font-family: var(--f-texto); font-weight: 300; font-size: .82rem; letter-spacing: .14em;
  text-transform: uppercase; text-decoration: none; color: var(--branco);
  padding: 2px 18px; border-left: 1px solid rgba(255,255,255,.45);
  transition: color .3s;
}
.topo__menu a:first-child { border-left: 0; }
.topo__menu a:hover { color: var(--areia); }
.topo.rolou { background: rgba(255,255,255,.96); padding-top: 10px; padding-bottom: 10px; box-shadow: 0 1px 0 rgba(59,18,18,.08); }
.topo.rolou .topo__simbolo--claro { opacity: 0; }
.topo.rolou .topo__simbolo--escuro { opacity: 1; }
.topo.rolou .topo__menu a { color: var(--vinho); border-color: rgba(59,18,18,.25); }
.topo.rolou .topo__menu a:hover { color: var(--terracota); }
.topo__abrir { display: none; background: none; border: 0; width: 32px; height: 24px; position: relative; cursor: pointer; }
.topo__abrir span { position: absolute; left: 0; right: 0; height: 1px; background: var(--branco); transition: transform .3s, top .3s, background .3s; }
.topo__abrir span:first-child { top: 7px; }
.topo__abrir span:last-child { top: 16px; }
.topo.rolou .topo__abrir span { background: var(--vinho); }

/* ---------- Navegação lateral por pontos ---------- */
.pontos {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 40;
  display: flex; flex-direction: column; gap: 12px;
}
.pontos a {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid var(--terracota); background: transparent; transition: background .3s, transform .3s;
}
.pontos a.ativo { background: var(--terracota); transform: scale(1.25); }
.pontos.sobre-escuro a { border-color: var(--areia); }
.pontos.sobre-escuro a.ativo { background: var(--areia); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; color: var(--branco); text-align: center;
}
.hero__foto {
  position: absolute; inset: 0;
  background: url("https://static.wixstatic.com/media/47f33b_a833e69469b1415aa866f54308e7d485~mv2.jpg/v1/fit/w_2000,h_2000,q_82,enc_auto/capa-otavio.jpg") center 34% / cover no-repeat fixed;
}
.hero__foto::after { /* película vinho, mais forte embaixo, para o texto */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(59,18,18,.62) 0%, rgba(59,18,18,.32) 22%, rgba(59,18,18,0) 38%, rgba(59,18,18,0) 62%, rgba(59,18,18,.32) 78%, rgba(59,18,18,.62) 100%),
    linear-gradient(to top, rgba(59,18,18,.45) 0%, rgba(59,18,18,0) 35%, rgba(0,0,0,0) 80%, rgba(0,0,0,.15) 100%);
}
.hero__conteudo {
  position: relative; width: 100%; padding: 90px clamp(28px, 5vw, 80px) 40px;
  display: flex; justify-content: space-between; align-items: center; gap: 30vw;
}
.hero__lado { flex: 0 1 30vw; max-width: 400px; }
.hero__lado--esq { margin-top: 8vh; }
.hero__lado--dir { margin-top: 8vh; }
.sobrelinha {
  font-family: var(--f-texto); font-weight: 300; text-transform: uppercase;
  letter-spacing: .38em; font-size: clamp(.72rem, 1.1vw, .9rem); color: var(--areia); margin-bottom: 14px;
}
.hero__nome img { width: clamp(220px, 27vw, 360px); margin: 0 auto; }
.hero__registro {
  margin-top: 14px; font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--areia);
}
.hero__frase {
  margin: 0 auto 26px; font-family: var(--f-destaque); font-size: clamp(1.25rem, 2.1vw, 1.6rem);
  font-weight: 400; line-height: 1.35; color: var(--branco);
}
.hero__frase em { color: var(--areia); }

/* Seta "role para baixo" */
.seta {
  position: absolute; bottom: 30px; left: 50%; width: 18px; height: 18px; margin-left: -9px;
  border-right: 1px solid var(--areia); border-bottom: 1px solid var(--areia);
  transform: rotate(45deg); animation: balanca 2.2s ease-in-out infinite;
}
@keyframes balanca { 0%,100% { translate: 0 0; } 50% { translate: 0 6px; } }

/* ---------- Botões ---------- */
.botao {
  display: inline-block; text-decoration: none;
  font-family: var(--f-texto); font-weight: 300; font-size: .9rem; letter-spacing: .08em;
  background: var(--terracota); color: var(--branco);
  padding: 14px 34px; border-radius: 3px;
  transition: background .3s, transform .3s;
}
.botao:hover { background: #8d554f; transform: translateY(-2px); }
.botao--escuro { background: var(--vinho); }
.botao--escuro:hover { background: var(--terracota); }

/* ---------- Faixas ---------- */
.faixa { padding: clamp(80px, 12vh, 130px) 24px; text-align: center; }
.faixa--areia { background: var(--areia); }
.coluna-estreita { max-width: 640px; margin: 0 auto; }
.texto-grande { font-size: clamp(1rem, 1.3vw, 1.12rem); margin-bottom: 36px; color: var(--vinho); }

/* ---------- Títulos com palavra em destaque ---------- */
.titulo {
  font-family: var(--f-titulo); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: .06em; line-height: 1.25;
  color: var(--vinho); margin-bottom: 40px;
}
.titulo em { text-transform: none; font-size: 1.35em; letter-spacing: 0; color: var(--terracota); }
.sobrelinha--escura { color: var(--terracota); }

/* ---------- Seções com foto de fundo e película (parallax) ---------- */
.foto-fundo {
  position: relative; background-size: cover; background-position: center; background-attachment: fixed;
  color: var(--branco); text-align: center; padding: clamp(100px, 15vh, 160px) 24px;
}
.foto-fundo::before { content: ""; position: absolute; inset: 0; background: rgba(59,18,18,.84); }
.foto-fundo__conteudo { position: relative; max-width: 1040px; margin: 0 auto; }
.foto-fundo .titulo { color: var(--branco); }
.foto-fundo .titulo em { color: var(--areia); }

.grade-situacoes {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 56px 48px; margin: 10px 0 56px;
}
.grade-situacoes svg {
  width: 44px; height: 44px; margin: 0 auto 16px; fill: none; stroke: var(--areia);
  stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round;
}
.grade-situacoes p { font-size: .98rem; max-width: 270px; margin: 0 auto; color: #f3eeea; }
.grade-situacoes li:nth-child(2) { transition-delay: .1s; }
.grade-situacoes li:nth-child(3) { transition-delay: .2s; }
.grade-situacoes li:nth-child(5) { transition-delay: .1s; }
.grade-situacoes li:nth-child(6) { transition-delay: .2s; }

/* ---------- Como eu trabalho ---------- */
.como { text-align: left; }
.como__grade {
  max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 5fr 6fr;
  gap: clamp(40px, 7vw, 100px); align-items: center;
}
.como__foto img, .sobre__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.como__foto img { border-radius: 240px 240px 0 0; } /* recorte em arco */
.passos { list-style: none; display: grid; gap: 30px; }
.passos li { display: flex; gap: 22px; align-items: flex-start; padding-top: 24px; border-top: 1px solid rgba(121,70,65,.3); }
.passos__num { font-family: var(--f-destaque); font-style: italic; font-size: 2rem; line-height: 1; color: var(--terracota); min-width: 44px; }
.passos h3 { font-family: var(--f-titulo); font-weight: 500; font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.passos p { font-size: 1rem; }

/* ---------- Serviços ---------- */
.areas { font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--terracota); margin: -24px 0 64px; }
.servicos__grade {
  max-width: 1140px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 64px 44px;
}
.servicos__grade .servico { flex: 0 1 calc((100% - 88px) / 3); }
.servico { display: flex; flex-direction: column; align-items: center; text-align: center; }
.servico h3 {
  font-family: var(--f-titulo); font-weight: 500; font-size: 1.12rem; letter-spacing: .08em; text-transform: uppercase;
  line-height: 1.35; margin-bottom: 18px; padding-bottom: 18px; position: relative;
}
.servico h3::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 40px; height: 1px; background: var(--terracota); margin-left: -20px; }
.servico p { font-size: .95rem; margin-bottom: 12px; }
.servico strong { font-weight: 500; color: var(--terracota); }
.servico .botao { margin-top: auto; }
.servicos--cont { padding-top: clamp(70px, 10vh, 110px); }
.servico p:last-of-type { margin-bottom: 26px; }

.faixa-foto {
  height: 62vh; background-size: cover; background-position: center 35%; background-attachment: fixed; position: relative;
}
.faixa-foto::after { content: ""; position: absolute; inset: 0; background: rgba(59,18,18,.18); }

/* ---------- Apresentação ---------- */
.sobre { text-align: left; }
.sobre__grade {
  max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 5fr 6fr;
  gap: clamp(40px, 7vw, 100px); align-items: center;
}
.sobre__foto { position: relative; }
.sobre__foto::before { /* moldura deslocada */
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--terracota); z-index: -1;
}
.sobre__foto { isolation: isolate; }
.sobre__texto p { margin-bottom: 18px; }
.citacao { margin: 32px 0 36px; padding-left: 22px; border-left: 1px solid var(--terracota); }
.citacao p { font-family: var(--f-destaque); font-style: italic; font-size: 1.35rem; line-height: 1.4; margin-bottom: 6px; }
.citacao cite { font-style: normal; font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; color: var(--terracota); }

/* ---------- Dúvidas (sanfona) ---------- */
.sanfona { text-align: left; margin-bottom: 48px; border-top: 1px solid rgba(59,18,18,.2); }
.sanfona details { border-bottom: 1px solid rgba(59,18,18,.2); }
.sanfona summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-weight: 400; font-size: 1.02rem;
}
.sanfona summary::-webkit-details-marker { display: none; }
.sanfona summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--f-destaque); font-size: 1.8rem; color: var(--terracota); transition: transform .3s;
}
.sanfona details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.sanfona details p { padding: 0 44px 24px 0; font-size: .97rem; }
.sanfona summary:focus-visible { outline: 1px solid var(--terracota); outline-offset: 4px; }
.duvidas__fim { font-family: var(--f-destaque); font-style: italic; font-size: 1.5rem; margin-bottom: 18px; }

/* ---------- Chamada final ---------- */
.final { padding: clamp(140px, 24vh, 220px) 24px; }
.final::before { background: linear-gradient(to right, rgba(59,18,18,.9) 0%, rgba(59,18,18,.75) 38%, rgba(59,18,18,.25) 62%, rgba(59,18,18,.35) 100%); }
.final .foto-fundo__conteudo { max-width: 560px; margin: 0 0 0 clamp(24px, 7vw, 120px); text-align: left; }
.final .final__icones { justify-content: flex-start; }
.final { background-position: 60% 4%; }
.final__frase { font-family: var(--f-titulo); text-transform: uppercase; letter-spacing: .12em; font-size: clamp(1.1rem, 2.2vw, 1.6rem); }
.final__destaque { font-weight: 400; margin: 6px 0 36px; }
.final__destaque em { font-size: clamp(3rem, 7vw, 5.4rem); color: var(--areia); line-height: 1.1; }
.final__icones { display: flex; justify-content: center; gap: 18px; margin-bottom: 34px; }
.final__icones a {
  width: 54px; height: 54px; border: 1px solid rgba(221,214,208,.7); border-radius: 50%;
  display: grid; place-items: center; color: var(--branco); transition: background .3s, border-color .3s;
}
.final__icones a:hover { background: var(--terracota); border-color: var(--terracota); }
.final__icones svg { width: 24px; height: 24px; }
.final__local { font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--areia); padding-top: 26px; border-top: 1px solid rgba(221,214,208,.35); display: inline-block; }

/* ---------- Rodapé ---------- */
.rodape { background: var(--preto); color: var(--areia); text-align: center; padding: 40px 24px 46px; font-size: .78rem; letter-spacing: .08em; }
.rodape__simbolo { height: 42px; width: auto; margin: 0 auto 16px; opacity: .85; }
.rodape p + p { opacity: .6; margin-top: 4px; }
.rodape .rodape__creditos { opacity: .75; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(221,214,208,.15); max-width: 520px; margin-left: auto; margin-right: auto; font-size: .72rem; }
.rodape__creditos a { color: var(--areia); text-decoration: none; border-bottom: 1px solid rgba(221,214,208,.4); }
.rodape__creditos a:hover { color: var(--branco); }

/* ---------- WhatsApp flutuante ---------- */
.whats-flutuante {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--terracota); color: var(--branco);
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(59,18,18,.3);
  transition: transform .3s, background .3s;
}
.whats-flutuante:hover { transform: scale(1.07); background: var(--vinho); }
.whats-flutuante svg { width: 28px; height: 28px; }

/* ---------- Entrada suave ao rolar ---------- */
.surge { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s ease; }
.surge.visivel { opacity: 1; transform: none; }
.hero__nome { transition-delay: .12s !important; }
.hero__registro { transition-delay: .24s !important; }
.hero__frase { transition-delay: .4s !important; }
.hero .botao { transition-delay: .52s !important; }
@media (prefers-reduced-motion: reduce) {
  .surge { opacity: 1; transform: none; transition: none; }
  .seta { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Celular ---------- */
@media (max-width: 860px) {
  .topo__menu {
    position: fixed; inset: 0; background: var(--vinho);
    flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .topo__menu a { border: 0; font-size: 1rem; padding: 10px; color: var(--branco) !important; }
  .topo.menu-aberto .topo__menu { opacity: 1; pointer-events: auto; }
  .topo__abrir { display: block; z-index: 2; }
  .topo.menu-aberto .topo__abrir span { background: var(--branco); }
  .topo.menu-aberto .topo__abrir span:first-child { top: 11px; transform: rotate(45deg); }
  .topo.menu-aberto .topo__abrir span:last-child { top: 11px; transform: rotate(-45deg); }
  .pontos { display: none; }
  /* Celular: foto ocupa a parte de cima e desce até o meio; textos ficam abaixo do rosto */
  .hero { min-height: 128svh; align-items: flex-end; background: var(--vinho); }
  .hero__foto { inset: -7svh 0 auto 0; height: 94svh; background-attachment: scroll; background-position: center 10%; }
  .hero__foto::after { inset: 0 0 -3px 0; background: linear-gradient(to top, var(--vinho) 0%, var(--vinho) 3%, rgba(59,18,18,.6) 22%, rgba(59,18,18,0) 50%, rgba(0,0,0,.2) 100%); }
  .hero__conteudo { flex-direction: column; gap: 22px; padding: 0 24px 90px; }
  .hero__lado { flex: none; max-width: 420px; margin: 0; }
  .hero__nome img { width: min(68vw, 280px); }
  .hero__registro { letter-spacing: .18em; font-size: .7rem; }
  .foto-fundo, .faixa-foto { background-attachment: scroll; }
  .grade-situacoes { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .grade-situacoes p { font-size: .9rem; }
  .como__grade, .sobre__grade { grid-template-columns: 1fr; }
  .como__foto, .sobre__foto { max-width: 340px; margin: 0 auto; width: 100%; }
  .sobre__foto::before { inset: 14px -14px -14px 14px; }
  .servicos__grade { gap: 64px; max-width: 520px; }
  .servicos__grade .servico { flex-basis: 100%; }
  .faixa-foto { height: 52vh; background-position: center 30%; }
  .final { padding: 52vh 24px 80px; background-position: 62% -175px; background-size: 165% auto; background-repeat: no-repeat; background-color: var(--vinho); }
  .final::before { background: linear-gradient(to top, var(--vinho) 0%, var(--vinho) 34%, rgba(59,18,18,.25) 52%, rgba(59,18,18,0) 64%); }
  .final .foto-fundo__conteudo { margin: 0 auto; text-align: center; }
  .final .final__icones { justify-content: center; }
}