/* ===== Tokens ===== */
:root {
  /* Paleta da marca: #17263D navy, #D06979 rosa, #DA98A8 rosa claro, #68705A oliva, #FAF1E3 creme */
  --ink: #17263D;
  --body: #34425A;
  --muted: #5A6250;
  --ground: #FAF1E3;
  --white: #FFFBF5;
  --primary: #17263D;
  --primary-dark: #0E1A2C;
  --rose: #D06979;
  --pink: #DA98A8;
  --olive: #68705A;
  --lilac: #F5DDE1;
  --lilac-2: #F0CDD4;
  --sage: #E0E3D6;
  --line: #E6D8C3;
  --chip: #D8A8B3;
  --display: "Fraunces", Georgia, serif;
  --sans: "Figtree", system-ui, sans-serif;
  --radius: 20px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.12; }
h1 { font-size: clamp(36px, 6vw, 62px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
p { margin: 0; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 800px; }
.small { font-size: 15px; color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px;
  background: var(--primary); color: #fff;
  font: 600 16px var(--sans); text-decoration: none;
  border: 2px solid var(--primary); border-radius: 999px;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(23,38,61,.22); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rose); }
.btn--ghost:hover { background: var(--lilac); color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn--small { min-height: 42px; padding: 0 20px; font-size: 15px; }

/* ===== Cabeçalho ===== */
.header { position: sticky; top: 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.header.is-scrolled { background: rgba(250,241,227,.9); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__logo { width: 20px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-family: var(--display); font-weight: 600; font-size: 22px; }
.brand__role { white-space: nowrap; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 28px; font-weight: 500; font-size: 15px; }
.nav a:not(.btn) { text-decoration: none; color: var(--ink); padding: 10px 0; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--rose); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.menu-btn { display: none; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; padding: 12px; flex-direction: column; justify-content: center; gap: 6px; }
.menu-btn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Abertura ===== */
.hero { position: relative; overflow: hidden; padding: 48px 0 88px; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.hero__blob--1 { width: 420px; height: 420px; background: var(--lilac-2); top: -120px; right: -80px; animation: float 14s ease-in-out infinite; }
.hero__blob--2 { width: 320px; height: 320px; background: var(--sage); bottom: -100px; left: -80px; animation: float 18s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translate(24px, 30px) scale(1.06); } }
.hero__in { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__text h1 em { font-style: italic; color: var(--rose); }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: 19px; line-height: 1.6; color: var(--body); max-width: 520px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__photo { flex: 1 1 300px; min-width: 0; display: flex; justify-content: center; }
.photo { position: relative; width: 100%; max-width: 400px; aspect-ratio: 4 / 5; background: var(--lilac-2); border-radius: 200px 200px 24px 24px; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; padding: 24px; }
.photo--square { max-width: 320px; aspect-ratio: 1; border-radius: 24px; background: var(--sage); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo__ph { position: relative; font-size: 13px; color: var(--body); background: var(--ground); padding: 8px 14px; border-radius: 999px; text-align: center; }
.photo img ~ .photo__ph { display: none; }

/* ===== Seções ===== */
.section { padding: 88px 0; }
.section--white { background: var(--white); }
.section__head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin-bottom: 40px; }
.section__head p { color: var(--body); }
.split { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; }
.split__a { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.split__a > p { color: var(--body); max-width: 520px; }
.split__b { flex: 1 1 400px; min-width: 0; }

/* Abas */
.tabs { display: flex; flex-direction: column; gap: 20px; margin-bottom: 48px; }
.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs__list button { min-height: 48px; padding: 0 24px; font: 600 16px var(--sans); color: var(--ink); background: transparent; border: 1.5px solid var(--rose); border-radius: 999px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tabs__list button:hover { background: var(--lilac); }
.tabs__list button[aria-selected="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.tabs__panel { background: var(--lilac); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 8px; max-width: 640px; animation: fadeUp .35s ease both; }
.tabs__panel[hidden] { display: none; }
.tabs__panel h3 { font-family: var(--display); font-weight: 600; font-size: 26px; }
.tabs__panel p { color: var(--body); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }

.label { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 18px; border: 1.5px solid var(--chip); border-radius: 999px; transition: background .2s, transform .2s; }
.chips li:hover { background: var(--lilac); transform: translateY(-2px); }

/* Pilares */
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.pillars li { border-top: 3px solid var(--rose); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.pillars h3 { font-size: 18px; font-weight: 600; }
.pillars p { font-size: 16px; color: var(--body); line-height: 1.55; }

/* Faixa */
.band { background: var(--primary); color: var(--ground); padding: 72px 0; }
.band__in { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 64px; }
.band h2 { flex: 1 1 320px; color: var(--ground); }
.band h2::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 16px; background: var(--rose); border-radius: 2px; }
.band p { flex: 1 1 400px; max-width: 560px; font-size: 18px; color: var(--ground); }

/* Sobre */
.about { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.about__photo { flex: 1 1 260px; max-width: 320px; }
.about__text { flex: 2 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.about__text p:not(.small) { font-size: 18px; line-height: 1.65; color: var(--body); max-width: 640px; }

/* FAQ */
.faq { margin-top: 32px; border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-size: 18px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--rose); border-bottom: 2px solid var(--rose); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq details[open] .faq__a { grid-template-rows: 1fr; }
.faq__a > p, .faq__a > div { overflow: hidden; min-height: 0; color: var(--body); padding-bottom: 0; }
.faq__a > div > p + p { margin-top: 12px; }
.faq details[open] .faq__a > p, .faq details[open] .faq__a > div { padding-bottom: 20px; }

/* Contato */
.contact { margin: 16px 0 0; display: flex; flex-direction: column; gap: 16px; }
.contact dt { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact dd { margin: 0; font-size: 20px; }

.cta { display: flex; flex-direction: column; gap: 16px; }
.cta__main { display: flex; align-items: center; gap: 16px; padding: 24px 28px; background: #1F6B4F; color: #fff; text-decoration: none; border-radius: var(--radius); transition: transform .2s, box-shadow .2s, background .2s; }
.cta__main:hover { background: #185640; color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(31,107,79,.3); }
.cta__txt { display: flex; flex-direction: column; line-height: 1.3; }
.cta__txt strong { font-size: 20px; }
.cta__txt span { font-size: 16px; opacity: .92; }
.cta__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.cta__sec { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 0 22px; background: var(--white); color: var(--ink); font-weight: 600; text-decoration: none; border: 1.5px solid var(--rose); border-radius: var(--radius); transition: background .2s, border-color .2s, transform .2s; }
.cta__sec:hover { background: var(--lilac); border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.ico { flex: none; display: block; }
.cta [hidden] { display: none; }

#contato .split { align-items: center; }
.cta__main .ico { width: 32px; height: 32px; }

/* Rodapé */
.footer { border-top: 1px solid var(--line); }
.footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--muted); }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px; background: #1F6B4F; color: #fff; font-weight: 600; text-decoration: none; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: transform .2s, opacity .3s; opacity: 0; transform: translateY(12px); pointer-events: none; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { color: #fff; transform: translateY(-2px); }

/* Animação de entrada */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ===== Celular ===== */
@media (max-width: 820px) {
  .menu-btn { display: flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--ground); padding: 8px 24px 24px; box-shadow: 0 12px 24px rgba(0,0,0,.08); display: none; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 16px; }
  .header.is-menu-open { background: var(--ground); }
  .section { padding: 64px 0; }
  .hero { padding-bottom: 64px; }
  .wa-float span { display: none; }
  .wa-float { padding: 0; width: 56px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}


@media (max-width: 520px) { .brand { gap: 10px; } .brand__name { font-size: 19px; } .brand__role { font-size: 10px; letter-spacing: .05em; } }

/* Entrada */
.intro { display: none; }
.js .intro { display: flex; position: fixed; inset: 0; z-index: 200; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: var(--ground); transition: opacity .6s ease, visibility .6s; cursor: pointer; }
.js .intro.is-done { opacity: 0; visibility: hidden; }
.intro__name { font-family: var(--display); font-weight: 600; font-size: 28px; color: var(--ink); margin: 0; text-align: center; opacity: 0; animation: introFade .5s ease .1s forwards; }
.intro__role { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0; opacity: 0; animation: introFade .5s ease .4s forwards; }
.intro__crp { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0; opacity: 0; animation: introFade .5s ease .55s forwards; }
.intro__tag { max-width: 340px; margin: 10px 24px 0; text-align: center; font-style: italic; font-size: 15px; line-height: 1.5; color: var(--muted); opacity: 0; animation: introFade .6s ease .8s forwards; }
@keyframes introFade { to { opacity: 1; } }
html.intro-lock { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .js .intro { display: none; } }

/* Foto na seção TDAH */
.photo-tdah { margin: 0 0 24px; border-radius: 24px; overflow: hidden; box-shadow: 0 18px 40px -22px rgba(23,38,61,.35); }
.photo-tdah img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }

/* Quatro tópicos lado a lado */
.pillars--row { margin-top: 56px; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 960px) { .pillars--row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pillars--row { grid-template-columns: 1fr; margin-top: 40px; } }

.footer__credit strong { font-weight: 600; color: var(--ink); }
@media (min-width: 761px) { .footer__in { row-gap: 10px; } .footer__credit { flex-basis: 100%; text-align: center; font-size: 13px; padding-top: 6px; border-top: 1px solid var(--line); margin-top: 6px; } }
@media (min-width: 761px) { .footer__copy { flex-basis: 100%; text-align: center; font-size: 13px; margin-top: -4px; } }

@media (min-width: 761px) { .footer__bottom { flex-basis: 100%; text-align: center; font-size: 13px; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 6px; } .footer__credit { flex-basis: auto; border-top: 0; padding-top: 0; margin-top: 0; font-size: inherit; } .footer__copy { flex-basis: auto; margin-top: 0; font-size: inherit; } }
.footer__copy { white-space: nowrap; }

/* Destaques em rosa */
.hl { color: var(--rose); font-weight: 600; }
h1 .hl { font-weight: inherit; }
.hero__more { display: flex; flex-direction: column; gap: 12px; max-width: 540px; }
.hero__more p { font-size: 17px; line-height: 1.6; color: var(--body); margin: 0; }

/* Foto da abertura acompanha a altura do texto */
@media (min-width: 900px) {
  .hero__in { align-items: stretch; }
  .hero__photo { align-items: stretch; }
  .hero__photo .photo { max-width: none; height: 100%; aspect-ratio: auto; }
  .hero__photo .photo img { inset: 0 !important; left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; object-position: 50% 22% !important; }
}
.hero__photo .photo img { transform: scale(1.19); transform-origin: 50% 40%; }

/* Destaques da faixa "Um espaço acolhedor e inclusivo" */
.c-rose { color: var(--rose); font-weight: 600; }
.c-pride {
  font-weight: 700;
  background: linear-gradient(90deg, #FF4D4D 0%, #FF9A1F 20%, #FFE600 40%, #2FD06B 60%, #4D8DFF 80%, #B26DFF 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Foto do TDAH: proporcional à altura do texto ao lado */
#tdah .split { align-items: center; }
.photo-tdah { max-width: 360px; margin-left: auto; margin-right: auto; }
@media (min-width: 900px) {
  #tdah .split__b { display: flex; justify-content: center; }
  .photo-tdah { width: 100%; max-width: 280px; margin: 0; }
}

/* Contato: caixinha de e-mail e menos espaço em branco */
.cta__sec--wide { grid-column: 1 / -1; }
#contato.section { padding-block: 56px; }
#contato .split { gap: 28px 56px; }
#contato .split__a { gap: 12px; }
#contato .split__a > p { max-width: 460px; }
.cta__sec--wide span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 440px) {
  .cta__sec--wide { padding: 0 16px; gap: 10px; }
  .cta__sec--wide span { font-size: 15px; }
}

