/* Lana Fortes Silva: landing page
   Cores e fontes da identidade visual (Dália). */

/* Títulos em Italiana (aprovada no lugar da Browni da identidade, 05/11/2026). */

:root {
  --bege: #EDE2CF;
  --linho: #F6F0E6;
  --terracota: #A96552;
  --terracota-escura: #8F4F3F;
  --oliva: #73765B;
  --oliva-escura: #5C5F48;
  --tinta: #33291F;
  --tinta-suave: #5A4A3F;

  --f-titulo: "Italiana", "Didot", serif;
  --f-texto: "Montserrat", system-ui, sans-serif;

  --largura: 1180px;
  --margem: clamp(20px, 5vw, 56px);
  --secao: clamp(88px, 11vw, 160px);
  --arco: 999px 999px 18px 18px;
  --topo-altura: 84px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--topo-altura); overflow-x: hidden; }
main { overflow-x: clip; }

body {
  margin: 0;
  background: var(--linho);
  color: var(--tinta);
  font-family: var(--f-texto);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--terracota-escura);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.pular {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--tinta); color: var(--linho);
  padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.pular:focus { top: 16px; }

/* Tipografia */

.titulo {
  font-family: var(--f-titulo);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.005em;
  color: var(--tinta);
}

.subtitulo {
  font-family: var(--f-texto);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: var(--oliva-escura);
  margin: 2.25rem 0 0.75rem;
}

.destaque {
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  color: var(--tinta);
  margin-top: 1.5rem;
  max-width: 34em;
}

p + p { margin-top: 1rem; }

/* Botões */

.botao {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 26px;
  min-height: 56px;
  border-radius: 999px;
  background: var(--terracota-escura);
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color .2s ease;
}
.botao:hover { background: #7A4234; }

.botao__seta {
  width: 40px; height: 40px; flex: none;
  border-radius: 50%;
  background: var(--linho);
  position: relative;
}
.botao__seta::before {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238F4F3F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform .25s ease;
}
.botao:hover .botao__seta::before { transform: translate(2px, -2px); }

.botao--pequeno { min-height: 44px; padding: 0 22px; font-size: .9rem; }
.botao--claro { background: var(--bege); color: var(--tinta); }
.botao--claro:hover { background: #fff; }

.acoes { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* Menu */

.topo {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .3s ease, box-shadow .3s ease;
}
.topo--rolado {
  background: rgba(246, 240, 230, .94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(115, 118, 91, .18);
}
.topo__barra {
  max-width: calc(var(--largura) + 2 * var(--margem));
  margin: 0 auto;
  padding: 0 var(--margem);
  height: var(--topo-altura);
  display: flex; align-items: center; gap: 32px;
}
.marca { display: grid; gap: 4px; text-decoration: none; }
.marca img { width: 150px; }
.marca__crp { font-size: .72rem; letter-spacing: .04em; color: var(--oliva-escura); font-weight: 500; }

.menu { margin-left: auto; }
.menu ul { display: flex; gap: 28px; }
.menu a {
  text-decoration: none; font-size: .9rem; font-weight: 500;
  padding: 6px 0; background: linear-gradient(var(--terracota), var(--terracota)) 0 100% / 0 1px no-repeat;
  transition: background-size .25s ease;
}
.menu a:hover, .menu a[aria-current="true"] { background-size: 100% 1px; }

.menu-botao { display: none; }

/* Abertura */

.abertura {
  max-width: calc(var(--largura) + 2 * var(--margem));
  margin: 0 auto;
  padding: calc(var(--topo-altura) + clamp(32px, 6vw, 80px)) var(--margem) clamp(72px, 9vw, 120px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.abertura__titulo {
  font-family: var(--f-titulo);
  font-weight: 400;
  font-size: clamp(2.1rem, 3.3vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--terracota-escura);
  max-width: 13em;
}
.abertura__apoio { margin-top: 1.75rem; font-size: 1.125rem; max-width: 31em; color: var(--tinta-suave); }

.frentes {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(115, 118, 91, .35);
}
.frentes li + li { border-left: 1px solid rgba(115, 118, 91, .35); }
.frentes a {
  display: block; height: 100%;
  padding: 18px 18px 4px;
  text-decoration: none; font-size: .85rem; line-height: 1.5; color: var(--tinta-suave);
}
.frentes li:first-child a { padding-left: 0; }
.frentes strong {
  display: block; margin-bottom: 4px;
  font-family: var(--f-titulo); font-weight: 400; font-size: 1.6rem; line-height: 1.2;
  color: var(--oliva-escura);
  transition: color .2s ease;
}
.frentes a:hover strong { color: var(--terracota-escura); }

.abertura__imagem { position: relative; justify-self: center; width: min(100%, 460px); }
.abertura__monograma {
  position: absolute; z-index: 0;
  width: 240%; max-width: none;
  left: -66%; top: -24%;
  pointer-events: none;
}

.arco { position: relative; overflow: hidden; border-radius: var(--arco); background: var(--bege); }
.arco img { width: 100%; height: 100%; object-fit: cover; }
.arco--abertura { z-index: 1; aspect-ratio: 4 / 5.6; }

.selo { position: absolute; z-index: 2; border-radius: 50%; background: var(--linho); box-shadow: 0 10px 30px rgba(51, 41, 31, .12); }
.selo--abertura { width: 128px; left: -48px; bottom: 12%; padding: 6px; }

/* Seções (linguagem das referências: etiqueta em pílula, foto com bloco de cor, selo de cera, cards brancos) */

.secao {
  max-width: calc(var(--largura) + 2 * var(--margem));
  margin: 0 auto;
  padding: var(--secao) var(--margem);
}
.secao p { color: var(--tinta-suave); max-width: 36em; }
.secao p + p { margin-top: 1.1rem; }
.secao .titulo + p { margin-top: 1.25rem; }

.etiqueta {
  display: inline-block;
  margin-bottom: 1.1rem;
  padding: 5px 14px;
  border: 1px solid rgba(169, 101, 82, .35);
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  font-size: .78rem; font-weight: 500;
  color: var(--tinta-suave) !important;
}

.titulo__nome { color: var(--terracota); }

/* Foto com moldura branca e bloco de cor deslocado */
.moldura { position: relative; }
.moldura img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border: 6px solid #fff; border-radius: 10px;
  box-shadow: 0 18px 40px rgba(51, 41, 31, .10);
}
.moldura--bloco-dir::before,
.moldura--bloco-esq::before {
  content: ""; position: absolute; z-index: 0;
  width: 26%; height: 24%;
  background: var(--terracota);
  border-radius: 8px;
  top: -18px;
}
.moldura--bloco-dir::before { right: -18px; }
.moldura--bloco-esq::before { left: -18px; }

/* Selo de cera com o monograma */
.lacre {
  position: absolute; z-index: 3;
  width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-items: center;
  background: #FBF8F2;
  box-shadow: 0 10px 26px rgba(51, 41, 31, .16);
}
.lacre img,
.moldura .lacre img,
.colagem .lacre img { width: 94%; height: auto; object-fit: contain; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; }

/* Divisor com monograma */
.divisor {
  max-width: 840px; margin: 0 auto; padding: 0 var(--margem);
  display: flex; align-items: center; gap: 24px;
}
.divisor::before, .divisor::after { content: ""; flex: 1; height: 1px; background: rgba(169, 101, 82, .3); }
.divisor__selo {
  width: 84px; height: 84px; border-radius: 50%; flex: none;
  background: #FBF8F2; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(51, 41, 31, .10);
}
.divisor__selo img { width: 56%; }

/* Sobre */

.sobre {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.pendente {
  border: 1px dashed var(--terracota);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: .85rem;
  color: var(--terracota-escura) !important;
  background: rgba(169, 101, 82, .06);
}

.links-academicos { display: flex; gap: 24px; margin-top: 1.75rem; }
.links-academicos a {
  font-weight: 500; font-size: .95rem; text-decoration: none;
  color: var(--terracota-escura);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}

.colagem {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}
.colagem figure { overflow: hidden; border-radius: 12px; background: var(--bege); }
.colagem img { width: 100%; height: 100%; object-fit: cover; }
.colagem { aspect-ratio: 1 / 1.05; }
.colagem__grande { grid-row: 1 / 3; }
.lacre--colagem { left: 60%; top: 50%; transform: translate(-50%, -50%); }

/* Psicoterapia */

.psicoterapia {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.moldura--psicoterapia { margin-top: 2.25rem; width: min(100%, 360px); }
.lacre--foto { left: -30px; top: 22%; }

.cards { display: grid; gap: 16px; padding-top: 8px; }
.card {
  background: #fff;
  border: 1px solid rgba(169, 101, 82, .14);
  border-radius: 14px;
  padding: 22px 24px;
}
.card__icone {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--terracota); margin-bottom: 12px;
}
.card__icone svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.1rem; font-weight: 500; color: var(--tinta); line-height: 1.35; }
.card p { margin-top: .35rem; font-size: .88rem; line-height: 1.55; }

.acoes--centro { justify-content: center; grid-column: 1 / -1; }

/* Esporte */

.esporte__cabeca { text-align: center; max-width: 40em; margin: 0 auto; }
.esporte__cabeca p { margin-left: auto; margin-right: auto; }
.esporte__grade {
  margin-top: clamp(48px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.esporte .moldura { width: min(100%, 380px); justify-self: end; }
.esporte .subtitulo { margin-top: 0; font-family: var(--f-texto); font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 500; color: var(--tinta); line-height: 1.3; }
.esporte .subtitulo + p { margin-top: 1rem; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.5rem 0; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 10px;
  border: 1px solid rgba(169, 101, 82, .25);
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  font-size: .88rem; color: var(--tinta);
}
.chips li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: rgba(169, 101, 82, .14) url("../img/lana-fortes-psicologa-monograma.svg") center / 15px no-repeat;
}

/* Palestras */

.palestras {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.moldura--palestras { width: min(100%, 400px); justify-self: center; }

.fatos { margin: 1.75rem 0 0; border-top: 1px solid rgba(115, 118, 91, .3); }
.fatos div {
  display: grid; grid-template-columns: 7.5rem 1fr; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid rgba(115, 118, 91, .3);
}
.fatos dt { font-weight: 600; color: var(--oliva-escura); font-size: .85rem; padding-top: 1px; }
.fatos dd { margin: 0; color: var(--tinta-suave); font-size: .92rem; }

/* Dúvidas */

.duvidas { max-width: calc(720px + 2 * var(--margem)); text-align: center; }
.sanfona { margin-top: clamp(32px, 4vw, 44px); text-align: left; display: grid; gap: 10px; }
.sanfona details { background: #fff; border-radius: 8px; border: 1px solid rgba(169, 101, 82, .12); }
.sanfona summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 13px 14px 13px 18px;
  font-size: .93rem; line-height: 1.45; color: var(--tinta);
}
.sanfona summary::-webkit-details-marker { display: none; }
.sanfona summary::after {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 6px;
  background:
    linear-gradient(#fff, #fff) center / 10px 1.5px no-repeat,
    linear-gradient(#fff, #fff) center / 1.5px 10px no-repeat,
    var(--terracota);
  transition: transform .3s ease;
}
.sanfona details[open] summary::after { transform: rotate(45deg); }
.sanfona details p { padding: 0 18px 18px; font-size: .9rem; max-width: none; }

.fechamento { margin-top: clamp(88px, 10vw, 128px); }
.fechamento p { margin-left: auto; margin-right: auto; max-width: 32em; }

.botao--contorno { background: transparent; color: var(--terracota-escura); border: 1px solid var(--terracota); padding: 0 24px; }
.botao--contorno:hover { background: rgba(169, 101, 82, .08); }

/* Rodapé */

.rodape { background: var(--bege); padding: 40px var(--margem); border-top: 1px solid rgba(169, 101, 82, .2); }
.rodape__grade {
  max-width: var(--largura); margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px 56px; align-items: center;
}
.rodape__logo { width: 150px; }
.rodape__contato { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .88rem; }
.rodape a { text-decoration: none; color: var(--tinta); }
.rodape a:hover { color: var(--terracota-escura); text-decoration: underline; text-underline-offset: 3px; }
.rodape__base { font-size: .8rem; line-height: 1.6; color: var(--tinta-suave); text-align: right; }

/* WhatsApp flutuante (celular) */

.whats-flutuante {
  display: none;
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--terracota-escura);
  box-shadow: 0 10px 24px rgba(51, 41, 31, .25);
  align-items: center; justify-content: center;
}
.whats-flutuante svg { width: 30px; height: 30px; fill: #fff; }

/* Animações de entrada */

.js .revelar { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .revelar.visivel { opacity: 1; transform: none; }

.js .abertura__monograma { clip-path: inset(0 100% 0 0); animation: desenhar 1.8s cubic-bezier(.6, .1, .2, 1) .2s forwards; }
.js .arco--abertura { opacity: 0; transform: translateY(28px); animation: subir 1s cubic-bezier(.2, .7, .2, 1) .1s forwards; }
.js .abertura__texto > * { opacity: 0; animation: aparecer .9s ease forwards; }
.js .abertura__texto > :nth-child(2) { animation-delay: .25s; }
.js .abertura__texto > :nth-child(3) { animation-delay: .4s; }
.js .abertura__texto > :nth-child(4) { animation-delay: .55s; }
.js .selo--abertura { opacity: 0; animation: aparecer .8s ease 1.2s forwards; }

@keyframes desenhar { to { clip-path: inset(0 0 0 0); } }
@keyframes subir { to { opacity: 1; transform: none; } }
@keyframes aparecer { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }


/* Animação de abertura */

.intro { display: none; }
.js .intro {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-content: center; justify-items: center; gap: 18px;
  background: var(--linho);
  animation: intro-sair .9s cubic-bezier(.7, 0, .2, 1) 1.9s forwards;
}
.intro__monograma { width: 130px; clip-path: inset(0 100% 0 0); animation: desenhar 1.3s cubic-bezier(.6, .1, .2, 1) .15s forwards; }
.intro__assinatura { width: 190px; opacity: 0; animation: aparecer .8s ease 1s forwards; }
@keyframes intro-sair { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

/* A abertura da página só começa depois da intro */
.js:not(.pronto) .abertura__monograma,
.js:not(.pronto) .arco--abertura,
.js:not(.pronto) .abertura__texto > *,
.js:not(.pronto) .selo--abertura { animation-play-state: paused; }

/* Fundo animado */

.fundo { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
main, .rodape { position: relative; z-index: 1; }
.topo { z-index: 50; }
.fundo__lf { position: absolute; opacity: .07; will-change: transform; }
.fundo__lf--1 { width: 420px; left: -120px; top: 18%; animation: flutuar 26s ease-in-out infinite; }
.fundo__lf--2 { width: 300px; right: -60px; top: 58%; opacity: .06; animation: flutuar 32s ease-in-out -8s infinite reverse; }
.fundo__lf--3 { width: 220px; left: 46%; bottom: -60px; opacity: .05; animation: flutuar 22s ease-in-out -4s infinite; }
.fundo__luz { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; }
.fundo__luz--1 { width: 520px; height: 520px; background: #EBD3C3; left: 55%; top: -10%; animation: deriva 24s ease-in-out infinite alternate; }
.fundo__luz--2 { width: 460px; height: 460px; background: #E3E2CF; left: -10%; top: 55%; animation: deriva 30s ease-in-out -10s infinite alternate-reverse; }

@keyframes flutuar {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(40px, -60px) rotate(8deg); }
}
@keyframes deriva {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-120px, 90px) scale(1.15); }
}

/* Monograma da hero respira devagar depois de desenhado */
.pronto .abertura__monograma { animation: desenhar 1.8s cubic-bezier(.6, .1, .2, 1) .2s forwards, respirar 9s ease-in-out 2.2s infinite; }
@keyframes respirar { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(-1.5deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .revelar, .js .abertura__monograma, .js .arco--abertura, .js .abertura__texto > *, .js .selo--abertura {
    opacity: 1; transform: none; clip-path: none; animation: none; transition: none;
  }
  .js .intro { display: none; }
  .fundo__lf, .fundo__luz, .pronto .abertura__monograma { animation: none; clip-path: none; }
}

/* Responsivo */

@media (max-width: 1040px) {
  .menu ul { gap: 20px; }
  .topo__whats { display: none; }
}

@media (max-width: 860px) {
  :root { --topo-altura: 72px; }

  .menu-botao {
    display: grid; place-items: center;
    margin-left: auto; width: 44px; height: 44px;
    border: 0; background: transparent; cursor: pointer;
  }
  .menu-botao__traco, .menu-botao__traco::before, .menu-botao__traco::after {
    display: block; width: 24px; height: 1.5px; background: var(--tinta); position: relative;
    transition: transform .25s ease, background-color .25s ease;
  }
  .menu-botao__traco::before, .menu-botao__traco::after { content: ""; position: absolute; left: 0; }
  .menu-botao__traco::before { top: -7px; }
  .menu-botao__traco::after { top: 7px; }
  .menu-botao[aria-expanded="true"] .menu-botao__traco { background: transparent; }
  .menu-botao[aria-expanded="true"] .menu-botao__traco::before { transform: translateY(7px) rotate(45deg); }
  .menu-botao[aria-expanded="true"] .menu-botao__traco::after { transform: translateY(-7px) rotate(-45deg); }

  .menu {
    position: fixed; inset: var(--topo-altura) 0 auto; margin: 0;
    background: var(--linho); padding: 8px var(--margem) 28px;
    box-shadow: 0 12px 24px rgba(51, 41, 31, .08);
    display: none;
  }
  .menu--aberto { display: block; }
  .menu ul { flex-direction: column; gap: 0; }
  .menu a { display: block; padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid rgba(115, 118, 91, .2); background: none; }
  .topo--menu { background: var(--linho); }

  .abertura, .sobre, .psicoterapia, .esporte__grade, .palestras { grid-template-columns: 1fr; }
  .abertura__imagem { order: -1; width: min(82%, 380px); }
  .abertura__monograma { width: 150%; left: -25%; top: -6%; }
  .selo--abertura { width: 96px; left: -28px; }
  .frentes { grid-template-columns: 1fr; }
  .frentes li + li { border-left: 0; border-top: 1px solid rgba(115, 118, 91, .35); }
  .frentes a { padding: 14px 0; }

  .colagem { max-width: 520px; }
  .moldura--psicoterapia { margin-left: 30px; }
  .esporte .moldura { justify-self: center; width: min(88%, 360px); }
  .moldura--palestras { width: min(88%, 360px); order: -1; }

  .rodape__grade { grid-template-columns: 1fr; justify-items: start; }
  .rodape__base { text-align: left; }

  .whats-flutuante { display: flex; }
}

@media (max-width: 520px) {
  .fatos div { grid-template-columns: 1fr; gap: 2px; }
  .marca img { width: 128px; }
  .lacre { width: 84px; height: 84px; }
}
