/* site.css — thaysmosko.com.br v1.0.5
   Identidade herdada: azul #00304A + dourado #D7BA82. Fraunces (títulos) + Inter (texto), self-hosted.
   Elemento-assinatura: traço de EEG dourado no hero, de irregular a rítmico. Resto quieto. */

@font-face { font-family: 'Fraunces'; src: url(/assets/fonts/fraunces-var-latin.woff2) format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url(/assets/fonts/inter-var-latin.woff2) format('woff2'); font-weight: 300 700; font-display: swap; }

:root {
  --azul: #00304A;
  --azul-fundo: #00233A;
  --azul-claro: #E8EEF1;
  --ouro: #D7BA82;
  --ouro-esc: #8A6C38;
  --ouro-claro: #FBD997;
  --papel: #F4F6F7;
  --tinta: #14232D;
  --cinza: #52636E;
  --linha: #D5DDE2;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --larg: 1160px;
  --r: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--sans); color: var(--tinta); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); text-decoration-color: var(--ouro); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ouro-esc); }
:focus-visible { outline: 3px solid var(--ouro); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--azul); margin: 0 0 .5em; font-variation-settings: 'opsz' 72; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); font-weight: 500; }
h3 { font-size: 1.25rem; font-variation-settings: 'opsz' 24; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ouro); color: var(--azul); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.4rem; border-radius: var(--r); font: 600 1rem/1.2 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s; }
.btn-ouro { background: var(--ouro); color: var(--azul-fundo); }
.btn-ouro:hover { background: var(--ouro-claro); color: var(--azul-fundo); }
.btn-linha { background: transparent; color: var(--azul); border-color: var(--azul); }
.btn-linha-clara { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-linha-clara:hover { border-color: var(--ouro); color: var(--ouro-claro); }
.seta { font-weight: 600; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-decoration-color: var(--ouro); cursor: pointer; }

/* Topo */
.topo { position: sticky; top: 0; z-index: 50; background: var(--azul-fundo); border-bottom: 1px solid rgba(215,186,130,.25); }
.topo-in { max-width: var(--larg); margin: 0 auto; padding: .7rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.marca img { width: 168px; height: auto; }
#menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.4rem; }
#menu a { color: #E6ECEF; text-decoration: none; font-size: .95rem; font-weight: 500; padding: .35rem 0; border-bottom: 2px solid transparent; }
#menu a:hover, #menu a[aria-current] { color: var(--ouro-claro); border-bottom-color: var(--ouro); }
#menu { display: flex; align-items: center; gap: 1.6rem; }
#menu .nav-cta { color: var(--azul-fundo); border: 0; padding: .6rem 1.1rem; min-height: 42px; font-size: .92rem; }
#menu .nav-cta:hover { color: var(--azul-fundo); }
.menu-btn { display: none; width: 46px; height: 46px; background: none; border: 1px solid rgba(215,186,130,.5); border-radius: var(--r); cursor: pointer; position: relative; }
.menu-btn span:first-child, .menu-btn span:first-child::before, .menu-btn span:first-child::after { position: absolute; left: 12px; width: 20px; height: 2px; background: var(--ouro); content: ''; transition: transform .2s; }
.menu-btn span:first-child { top: 22px; }
.menu-btn span:first-child::before { left: 0; top: -6px; }
.menu-btn span:first-child::after { left: 0; top: 6px; }
.menu-btn[aria-expanded="true"] span:first-child { background: transparent; }
.menu-btn[aria-expanded="true"] span:first-child::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:first-child::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1020px) {
  .menu-btn { display: block; }
  #menu { display: none; position: absolute; inset: 100% 0 auto; background: var(--azul-fundo); flex-direction: column; align-items: stretch; padding: .5rem 1.25rem 1.5rem; gap: 1rem; border-bottom: 1px solid rgba(215,186,130,.25); }
  #menu.aberto { display: flex; }
  #menu ul { flex-direction: column; gap: 0; }
  #menu li a { display: block; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
}

/* Hero */
.hero { position: relative; background: radial-gradient(120% 90% at 85% 10%, #0A4566 0%, var(--azul) 45%, var(--azul-fundo) 100%); color: #DCE5EA; overflow: hidden; }
.eeg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 120px; pointer-events: none; }
.eeg path { fill: none; stroke: var(--ouro); stroke-width: 1.6; vector-effect: non-scaling-stroke; opacity: .55; stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .eeg path { stroke-dashoffset: 1; animation: traco 2.8s cubic-bezier(.45,.05,.3,1) .2s forwards; }
}
@keyframes traco { to { stroke-dashoffset: 0; } }
.hero-in { position: relative; max-width: var(--larg); margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) 1.25rem 0; display: grid; grid-template-columns: 1.25fr .75fr; gap: 2.5rem; align-items: end; }
.hero-txt { position: relative; z-index: 1; padding-bottom: 160px; }
.hero-foto { z-index: 1; }
.hero h1 { color: #fff; max-width: 14ch; font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.02; }
.hero .lead { font-size: 1.2rem; max-width: 36rem; color: #C9D6DD; }
.hero-local { color: var(--ouro); font-weight: 500; margin-bottom: 1rem; }
.hero-acoes { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-foto { margin: 0; position: relative; justify-self: center; }
.hero-foto img { width: min(333px, 70vw); -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 82%, transparent 100%); }
.hero-foto figcaption { position: absolute; left: -1.5rem; bottom: 2rem; background: var(--azul-fundo); border-left: 3px solid var(--ouro); padding: .7rem 1rem; font: 500 1.05rem/1.3 var(--serif); color: #fff; }
.hero-foto figcaption span { display: block; font: 400 .8rem/1.4 var(--sans); color: var(--ouro); }
@media (max-width: 820px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-txt { padding-bottom: 1rem; }
  .eeg { height: 90px; }
  .hero-foto figcaption { left: 0; }
}

/* Blocos */
.bloco { max-width: var(--larg); margin: 0 auto; padding: clamp(3.5rem, 7vw, 6rem) 1.25rem; }
.intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.intro-txt p { max-width: 36rem; }
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; background: var(--azul-fundo); box-shadow: 0 30px 60px -30px rgba(0,35,58,.55); }
.video-play { all: unset; cursor: pointer; display: block; width: 100%; height: 100%; position: relative; }
.video-play img { width: 100%; height: 100%; object-fit: cover; }
.video-ico { position: absolute; inset: 50% auto auto 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--ouro); }
.video-ico::after { content: ''; position: absolute; left: 31px; top: 24px; border-left: 22px solid var(--azul-fundo); border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.video-play:focus-visible { outline: 3px solid var(--ouro); outline-offset: -3px; }
.video iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 820px) { .intro { grid-template-columns: 1fr; } }

.indic { background: var(--papel); max-width: none; }
.indic > * { max-width: calc(var(--larg) - 2.5rem); margin-left: auto; margin-right: auto; }
.indic-sub { color: var(--cinza); }
.indic-lista { list-style: none; padding: 0; margin-top: 2rem; columns: 3 16rem; column-gap: 2.5rem; }
.indic-lista li { break-inside: avoid; padding: .65rem 0 .65rem 1.6rem; border-top: 1px solid var(--linha); position: relative; font-weight: 500; }
.indic-lista li::before { content: ''; position: absolute; left: 0; top: 1.2rem; width: 14px; height: 6px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 6'%3E%3Cpath d='M0 3h3l1.5-3 2 6 1.5-3H14' fill='none' stroke='%238A6C38' stroke-width='1.2'/%3E%3C/svg%3E"); }

.passos-lista { list-style: none; padding: 0; margin: 2.5rem 0 2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: p; }
.passos-lista li { counter-increment: p; border-top: 2px solid var(--azul); padding-top: 1rem; }
.passos-lista li::before { content: counter(p); display: block; font: 400 3.2rem/1 var(--serif); color: var(--ouro-esc); margin-bottom: .7rem; font-variation-settings: 'opsz' 144; }
.passos-lista p { color: var(--cinza); font-size: .98rem; }
@media (max-width: 900px) { .passos-lista { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .passos-lista { grid-template-columns: 1fr; } }

.ciencia { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: end; border-top: 1px solid var(--linha); }
.ciencia .ref { font-size: .9rem; color: var(--cinza); border-left: 3px solid var(--ouro); padding-left: 1.1rem; }
@media (max-width: 820px) { .ciencia { grid-template-columns: 1fr; } }

.cert { display: grid; grid-template-columns: 200px 1fr; gap: 3rem; align-items: center; background: var(--azul); color: #D5E0E6; max-width: none; }
.cert > * { max-width: 42rem; }
.cert { padding-left: max(1.25rem, calc((100% - var(--larg)) / 2 + 1.25rem)); padding-right: max(1.25rem, calc((100% - var(--larg)) / 2 + 1.25rem)); }
.cert h2 { color: #fff; }
.cert img { width: 200px; }
@media (max-width: 700px) { .cert { grid-template-columns: 1fr; } .cert img { width: 140px; } }

.depo { background: var(--papel); }
.depo-topo { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.nota { display: inline-flex; align-items: center; gap: .55rem; background: #fff; border: 1px solid var(--linha); border-radius: 999px; padding: .55rem 1.1rem; text-decoration: none; color: var(--cinza); font-size: .95rem; box-shadow: 0 1px 2px rgba(0,35,58,.05); transition: box-shadow .2s; }
.nota:hover { box-shadow: 0 4px 14px rgba(0,35,58,.1); }
.nota strong { font: 600 1.35rem/1 var(--serif); color: var(--azul); }
.estrelas { color: #FBBC04; letter-spacing: .08em; font-size: 1rem; line-height: 1; }
.depo-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1.25rem; margin-top: 2rem; align-items: start; }
.depo-card { margin: 0; background: #fff; border: 1px solid var(--linha); border-radius: 12px; padding: 1.3rem 1.4rem 1.4rem; box-shadow: 0 1px 3px rgba(0,35,58,.05); transition: transform .2s, box-shadow .2s; }
.depo-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,35,58,.09); }
.depo-cab { display: flex; align-items: center; gap: .75rem; margin-bottom: .7rem; }
.depo-cab .g-logo { margin-left: auto; flex: none; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--azul); color: var(--ouro); font: 600 1.05rem/1 var(--serif); flex: none; }
.depo-nome { font-weight: 600; font-size: .95rem; color: var(--tinta); line-height: 1.25; }
.depo-nome small { display: block; font-weight: 400; font-size: .78rem; color: var(--cinza); }
.depo-card p { margin: .6rem 0 0; font-size: .98rem; line-height: 1.6; color: var(--tinta); }

.faq-lista, .faq > h2 { max-width: 52rem; }
.faq-lista { margin-top: 2rem; border-top: 1px solid var(--linha); }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 2.5rem 1.2rem 0; position: relative; font: 500 1.2rem/1.35 var(--serif); color: var(--azul); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: .4rem; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--ouro-esc); border-bottom: 2px solid var(--ouro-esc); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--cinza); max-width: 46rem; padding-bottom: .6rem; }

.artigos-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2.5rem; margin-top: 2rem; }
.artigos-lista article img { border-radius: var(--r); aspect-ratio: 16/9; object-fit: cover; margin-bottom: 1rem; }
.artigos-lista time { font-size: .85rem; color: var(--ouro-esc); font-weight: 600; }
.artigos-lista h2, .artigos-lista h3 { font-size: 1.35rem; margin: .3rem 0 .5rem; }
.artigos-lista h2 a, .artigos-lista h3 a { text-decoration: none; }
.artigos-lista p { color: var(--cinza); font-size: .97rem; }

/* CTA */
.cta { background: var(--azul-fundo); color: #C9D6DD; text-align: center; position: relative; overflow: hidden; }
.cta::before, .cta::after { content: ''; position: absolute; top: 0; bottom: 0; width: 60px; opacity: .28; pointer-events: none; background: repeat-y center top/60px 240px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 240'%3E%3Cpath d='M30 0 C30 20 10 20 10 40 S50 60 50 80 10 100 10 120 50 140 50 160 10 180 10 200 30 220 30 240' fill='none' stroke='%23D7BA82' stroke-width='1.5'/%3E%3C/svg%3E"); }
.cta::before { left: max(2rem, calc(50% - 34rem)); }
.cta::after { right: max(2rem, calc(50% - 34rem)); background-position: center 120px; }
@media (max-width: 900px) { .cta::before, .cta::after { display: none; } }
.cta-in { position: relative; max-width: 40rem; margin: 0 auto; padding: clamp(3.5rem, 7vw, 5rem) 1.25rem; }
.cta h2 { color: #fff; }
.cta p { margin-bottom: 1.6rem; }
.cta-tel { display: block; margin-top: 1rem; color: var(--ouro); font-size: .95rem; }

/* Páginas internas */
.faixa { background: var(--azul); color: #C9D6DD; position: relative; }
.faixa-in { max-width: var(--larg); margin: 0 auto; padding: clamp(2.2rem, 5vw, 3.6rem) 1.25rem clamp(2.8rem, 6vw, 4rem); }
.faixa h1 { color: #fff; max-width: 22ch; font-size: clamp(2rem, 4.2vw, 3.2rem); }
.faixa .lead { font-size: 1.15rem; max-width: 40rem; margin: 0; }
.faixa-onda { position: absolute; left: 0; bottom: 0; width: 100%; height: 26px; }
.faixa-onda path { fill: none; stroke: var(--ouro); stroke-width: 1.4; vector-effect: non-scaling-stroke; opacity: .7; }
.migalhas { font-size: .88rem; margin-bottom: 1rem; color: #9FB3BE; }
.migalhas a { color: #C9D6DD; }
.migalhas [aria-current] { color: var(--ouro); }

.texto { max-width: var(--larg); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4rem) 1.25rem; font-size: 1.08rem; }
.texto > * { max-width: 46rem; }
.texto > .contato-grade { max-width: 52rem; }
.texto h2 { margin-top: 2em; font-size: clamp(1.45rem, 2.4vw, 1.8rem); }
.texto h3 { margin-top: 1.6em; }
.texto ul, .texto ol { padding-left: 1.3rem; }
.texto li { margin-bottom: .45rem; }
.texto blockquote { margin: 1.5rem 0; padding-left: 1.2rem; border-left: 3px solid var(--ouro); font-family: var(--serif); font-style: italic; }
.lista-ouro { list-style: none; padding-left: 0 !important; }
.lista-ouro li { padding-left: 1.6rem; position: relative; }
.lista-ouro li::before { content: ''; position: absolute; left: 0; top: .72em; width: 14px; height: 2px; background: var(--ouro); }
.etapas { list-style: none; padding: 0 !important; counter-reset: e; }
.etapas li { counter-increment: e; padding: 0 0 1.2rem 3.4rem; position: relative; border-left: 1px solid var(--linha); margin-left: 1rem; }
.etapas li::before { content: counter(e); position: absolute; left: -1rem; top: -.1rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--azul); color: var(--ouro); display: grid; place-items: center; font: 500 1rem/1 var(--serif); }
.etapas h2 { margin-top: 0 !important; font-size: 1.3rem !important; }
.post-capa { border-radius: var(--r); margin-bottom: 2rem; }

.contato-grade { display: grid; gap: 2rem; }
.contato-dados { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: .8rem 1.5rem; border-top: 1px solid var(--linha); padding-top: 1.5rem; }
.contato-dados dt { font-weight: 600; color: var(--cinza); font-size: .92rem; }
.contato-dados dd { margin: 0; }
@media (max-width: 560px) { .contato-dados { grid-template-columns: 1fr; gap: .2rem; } .contato-dados dd { margin-bottom: .8rem; } }

/* Glossário */
.abc { display: flex; flex-wrap: wrap; gap: .25rem; margin-bottom: 2.5rem; }
.abc a, .abc span { width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: var(--r); font: 500 1.05rem/1 var(--serif); text-decoration: none; }
.abc a { border: 1px solid var(--linha); color: var(--azul); }
.abc a:hover, .abc a[aria-current] { background: var(--azul); color: var(--ouro); border-color: var(--azul); }
.abc span { color: #B8C3C9; }
.glos-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 2.5rem 2rem; }
.glos-letra h2 { font-size: 2.4rem; margin-bottom: .3rem; }
.glos-letra h2 a { text-decoration: none; color: var(--ouro-esc); }
.glos-letra ul { list-style: none; padding: 0; margin: 0 0 .8rem; }
.glos-letra li { padding: .3rem 0; border-bottom: 1px solid var(--papel); }
.glos-letra li a { text-decoration: none; color: var(--tinta); }
.glos-letra li a:hover { color: var(--ouro-esc); }
.termos { list-style: none; padding: 0; columns: 3 15rem; column-gap: 2rem; }
.termos li { break-inside: avoid; padding: .45rem 0; border-bottom: 1px solid var(--papel); }
.termos a { text-decoration: none; color: var(--tinta); }
.termos a:hover { color: var(--ouro-esc); text-decoration: underline; text-decoration-color: var(--ouro); }
.verbete { max-width: var(--larg); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2rem; padding: 0 1.25rem; }
.verbete .texto { margin: 0; padding-left: 0; padding-right: 0; }
.verbete-lado { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.verbete-lado h2 { font-size: 1.2rem; }
.verbete-lado ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.verbete-lado li { padding: .35rem 0; border-bottom: 1px solid var(--papel); font-size: .95rem; }
.verbete-cta { margin-top: 2rem; background: var(--papel); padding: 1.4rem; border-radius: var(--r); border-top: 3px solid var(--ouro); }
@media (max-width: 900px) { .verbete { grid-template-columns: 1fr; } .verbete-lado { padding-top: 0; } }

/* Rodapé */
.rodape { background: #001A2B; color: #9FB3BE; font-size: .95rem; }
.rodape-in { max-width: var(--larg); margin: 0 auto; padding: 3.5rem 1.25rem 2rem; display: grid; grid-template-columns: 1.4fr 1.3fr 1fr .7fr; gap: 2.5rem; }
.rodape h2 { font: 600 .95rem/1.3 var(--sans); color: var(--ouro); margin-bottom: .9rem; letter-spacing: 0; }
.rodape a, .rodape .link-btn { color: #D0DCE2; text-decoration: none; }
.rodape a:hover, .rodape .link-btn:hover { color: var(--ouro-claro); }
.rodape ul { list-style: none; padding: 0; margin: 0; }
.rodape li { margin-bottom: .5rem; }
.rodape address { font-style: normal; line-height: 1.9; }
.rodape-logo { width: 190px; margin-bottom: 1rem; }
.rodape-base { max-width: var(--larg); margin: 0 auto; padding: 1.2rem 1.25rem 5.5rem; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }
@media (max-width: 900px) { .rodape-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .rodape-in { grid-template-columns: 1fr; } }

.wa-flutuante { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #1FAF5A; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px -8px rgba(0,0,0,.45); }
.wa-flutuante:hover { color: #fff; background: #189a4e; }

