/* ============================================================
   INSTITUTO MARIA CECÍLIA — IMC NEUROCIÊNCIAS
   "Neuro-editorial acolhedor" — design system
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Base — bone / warm off-white */
  --bone:       #F7F4EF;
  --bone-card:  #FCFAF6;
  --bone-deep:  #EFE7DC;   /* subtle alternate sections */
  --paper-edge: #E6DECF;

  /* Ink — deep navy-charcoal */
  --ink:        #16202B;
  --ink-rich:   #101820;   /* darkest, footer */
  --ink-soft:   #455260;   /* secondary text on light */
  --on-ink:     #F2EEE6;   /* text on dark */
  --on-ink-dim: #A9B4BE;   /* muted text on dark */

  /* Neuro accents — derived from the logo puzzle pieces */
  --teal:   #1B9276;
  --coral:  #E0524C;
  --amber:  #E0962A;
  --purple: #6E4BA6;
  --blue:   #2C6CAB;

  /* Lines / shadows */
  --line:       rgba(22, 32, 43, 0.12);
  --line-soft:  rgba(22, 32, 43, 0.07);
  --line-ink:   rgba(242, 238, 230, 0.16);
  --shadow-sm:  0 1px 2px rgba(22,32,43,.05), 0 2px 8px rgba(22,32,43,.04);
  --shadow-md:  0 4px 14px rgba(22,32,43,.07), 0 14px 40px rgba(22,32,43,.06);
  --shadow-lg:  0 10px 30px rgba(22,32,43,.10), 0 30px 70px rgba(22,32,43,.10);

  /* Type */
  --serif:  "Fraunces", Georgia, "Times New Roman", serif;
  --sans:   "Space Grotesk", system-ui, -apple-system, sans-serif;

  /* Spacing rhythm */
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --container: 1180px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --radius: 18px;
  --radius-sm: 12px;
}

/* ---------- 2. RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--sans);
  background: var(--bone);
  color: var(--ink);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

/* Selection */
::selection { background: var(--amber); color: var(--ink); }

/* Focus — visible, accessible (WCAG 2.2) */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible { outline-color: var(--amber); }

/* Skip link */
.skip-link {
  position: fixed; left: 1rem; top: -120%;
  z-index: 200; background: var(--ink); color: var(--on-ink);
  padding: .85rem 1.25rem; border-radius: 10px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- 3. TYPOGRAPHY ---------- */
.serif { font-family: var(--serif); }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.6vw, 5.1rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--ink-soft);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: currentColor;
  display: inline-block;
}
.on-dark .eyebrow { color: var(--on-ink-dim); }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); line-height: 1.55; }
.on-dark .lead { color: var(--on-ink-dim); }

/* ---------- 4. LAYOUT ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: var(--section-y); position: relative; }
.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head h2 { margin-bottom: 1.1rem; }

.on-ink { background: var(--ink); color: var(--on-ink); }
.on-ink h1, .on-ink h2, .on-ink h3 { color: var(--on-ink); }
.alt-bg { background: var(--bone-deep); }

/* ---------- 5. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .6rem;
  min-height: 48px;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .005em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  max-width: 100%;
  text-align: center;
  text-wrap: balance;
  line-height: 1.25;
}
.btn svg { width: 19px; height: 19px; flex: 0 0 auto; }
.btn-wa {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 6px 18px rgba(27,146,118,.30);
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(27,146,118,.40); background: #15826a; }
.btn-ink { background: var(--ink); color: var(--on-ink); }
.btn-ink:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }
.on-dark .btn-ghost { color: var(--on-ink); box-shadow: inset 0 0 0 1.5px var(--line-ink); }
.on-dark .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--on-ink); }

/* ---------- 6. NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding-block: 1.1rem;
}
.nav.scrolled {
  background: rgba(247,244,239,.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(22,32,43,.05);
  padding-block: .7rem;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand .mark {
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-sm), 0 0 0 1px var(--line-soft);
  overflow: hidden; flex: 0 0 auto;
}
.brand .mark img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.16); }
.brand .word { line-height: 1.05; }
.brand .word b { font-family: var(--serif); font-weight: 600; font-size: 1.06rem; letter-spacing: -.01em; display: block; }
.brand .word span { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }

.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  padding: .55rem .85rem; border-radius: 8px; font-size: .95rem; font-weight: 500;
  color: var(--ink-soft); position: relative; transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .32rem;
  height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { margin-left: .5rem; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 10px; align-items: center; justify-content: center; }
.nav-toggle svg { width: 24px; height: 24px; }

/* ---------- 7. HERO ---------- */
.hero { padding-top: clamp(8rem, 16vh, 11rem); padding-bottom: clamp(4rem, 8vw, 7rem); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-loc {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  padding: .45rem .85rem; border-radius: 999px;
  background: var(--bone-card); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-soft); margin-bottom: 1.6rem;
}
.hero-loc svg { width: 16px; height: 16px; color: var(--coral); }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .accent { font-style: italic; color: var(--teal); font-variation-settings: "opsz" 144; }
.hero-sub { max-width: 30ch; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.hero-note { margin-top: 1.7rem; font-size: .9rem; color: var(--ink-soft); display: flex; align-items: center; gap: .55rem; }
.hero-note svg { width: 17px; height: 17px; color: var(--teal); }

/* Hero visual — logo coin on puzzle composition */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.hero-coin {
  width: clamp(220px, 26vw, 330px); aspect-ratio: 1; border-radius: 50%;
  background: #fff; overflow: hidden; position: relative; z-index: 3;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--line-soft);
}
.hero-coin img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero-ring {
  position: absolute; inset: 0; margin: auto; z-index: 1;
  width: clamp(300px, 36vw, 460px); aspect-ratio: 1; border-radius: 50%;
  border: 1.5px dashed var(--line); 
}
.puzzle-dot {
  position: absolute; width: 30px; height: 30px; border-radius: 9px; z-index: 2;
  box-shadow: var(--shadow-sm); animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .puzzle-dot { animation: none; } }

/* ---------- 8. PUZZLE CHIP MOTIF ---------- */
.chips { display: flex; gap: .4rem; }
.chips span { width: 13px; height: 13px; border-radius: 4px; }
.c-teal { background: var(--teal); } .c-coral { background: var(--coral); }
.c-amber { background: var(--amber); } .c-purple { background: var(--purple); }
.c-blue { background: var(--blue); }

/* ---------- 9. DECRETO BAND ---------- */
.decreto { overflow: hidden; }
.decreto::before {
  content: "12.773"; position: absolute; right: -2%; top: 50%; transform: translateY(-50%);
  font-family: var(--serif); font-weight: 600; font-size: clamp(8rem, 22vw, 20rem);
  color: rgba(242,238,230,.035); pointer-events: none; line-height: 1; z-index: 0;
}
.decreto .container { position: relative; z-index: 1; }
.decreto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.decreto-tag {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(224,82,76,.16); color: #f0a9a5;
  padding: .45rem .9rem; border-radius: 999px; font-size: .8rem; font-weight: 600;
  letter-spacing: .04em; margin-bottom: 1.4rem;
}
.decreto-tag svg { width: 16px; height: 16px; }
.decreto h2 { margin-bottom: 1.4rem; }
.decreto h2 em { font-style: italic; color: var(--amber); }
.decreto-list { display: grid; gap: 1rem; }
.decreto-list li {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.15rem 1.3rem; border-radius: var(--radius-sm);
  background: rgba(242,238,230,.04); box-shadow: inset 0 0 0 1px var(--line-ink);
}
.decreto-list .doc {
  flex: 0 0 auto; font-family: var(--serif); font-weight: 600; font-size: .95rem;
  width: 58px; height: 44px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(242,238,230,.06); color: var(--on-ink);
}
.decreto-list b { display: block; font-weight: 600; color: var(--on-ink); margin-bottom: .15rem; }
.decreto-list span.t { color: var(--on-ink-dim); font-size: .95rem; }
.decreto-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.decreto-cta .punch { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--on-ink); }

/* ---------- 10. INSTITUTO / ILAN ---------- */
.inst-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.inst-photo-wrap { position: relative; }
.inst-photo { width: 100%; aspect-ratio: 4/5; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.inst-photo::part(label), image-slot { color: var(--ink-soft); }
.inst-sign {
  position: absolute; right: -8%; bottom: -7%; z-index: 4;
  background: var(--bone-card); border-radius: 14px; padding: 1rem 1.3rem;
  box-shadow: var(--shadow-lg); text-align: center; min-width: 150px;
}
.inst-sign .psi { font-family: var(--serif); font-size: 1.9rem; line-height: 1; color: var(--ink); letter-spacing: .04em; }
.inst-sign .nm { font-family: var(--serif); font-size: 1.02rem; letter-spacing: .14em; text-transform: uppercase; margin-top: .35rem; }
.inst-sign .rl { font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-soft); margin-top: .2rem; }
.inst-body h2 { margin-bottom: 1.3rem; }
.inst-body h2 em { font-style: italic; color: var(--purple); }
.inst-quote {
  font-family: var(--serif); font-size: clamp(1.3rem,2.3vw,1.7rem); line-height: 1.35;
  margin: 1.6rem 0; padding-left: 1.4rem; border-left: 3px solid var(--teal);
  font-weight: 400;
}
.inst-stats { display: flex; flex-wrap: wrap; gap: 2.4rem; margin-top: 2rem; }
.inst-stats .n { font-family: var(--serif); font-size: 2.2rem; line-height: 1; }
.inst-stats .l { font-size: .85rem; color: var(--ink-soft); margin-top: .35rem; max-width: 14ch; }

/* ---------- 11. CARDS / FORMAÇÕES ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.card {
  background: var(--bone-card); border-radius: var(--radius);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line-soft);
  padding: 1.8rem; display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md), inset 0 0 0 1px var(--line); }
.card-feat { grid-column: 1 / -1; }
.card-feat-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1.5rem,3vw,2.6rem); align-items: stretch; }
.card-feat-grid > * { min-width: 0; }
.card-tag {
  display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start;
  font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: .4rem .75rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.tag-teal   { background: rgba(27,146,118,.13); color: #137259; }
.tag-coral  { background: rgba(224,82,76,.13);  color: #b53831; }
.tag-amber  { background: rgba(224,150,42,.16); color: #9a6512; }
.tag-purple { background: rgba(110,75,166,.13); color: #573b86; }
.tag-blue   { background: rgba(44,108,171,.13); color: #1f5184; }

.card h3 { margin-bottom: .7rem; }
.card .desc { color: var(--ink-soft); font-size: .98rem; flex-grow: 1; }
.card-foot { margin-top: 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.card-link {
  display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .95rem;
  color: var(--ink); transition: gap .2s;
}
.card-link svg { width: 17px; height: 17px; color: var(--teal); transition: transform .2s; }
.card:hover .card-link svg { transform: translateX(3px); }
.card .meta { font-size: .82rem; color: var(--ink-soft); }

/* feature card specifics */
.card-feat { background: var(--ink); color: var(--on-ink); padding: clamp(1.8rem,3vw,2.6rem); }
.card-feat h3 { color: var(--on-ink); font-size: clamp(1.6rem,2.8vw,2.3rem); }
.card-feat .desc { color: var(--on-ink-dim); }
.card-feat .tag-amber { background: rgba(224,150,42,.2); color: #f0c074; }
.feat-badges { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .3rem; }
.feat-badges .b {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(242,238,230,.06); box-shadow: inset 0 0 0 1px var(--line-ink);
  padding: .6rem .85rem; border-radius: 10px; font-size: .88rem; color: var(--on-ink);
}
.feat-badges .b svg { width: 16px; height: 16px; color: var(--amber); flex: 0 0 auto; }
.feat-panel {
  border-radius: var(--radius-sm); background: rgba(242,238,230,.04);
  box-shadow: inset 0 0 0 1px var(--line-ink); padding: 1.5rem;
  display: flex; flex-direction: column; justify-content: center; gap: .9rem;
}
.feat-panel .price-row { display: flex; align-items: baseline; gap: .5rem; }
.feat-panel .pl { font-size: .8rem; color: var(--on-ink-dim); text-transform: uppercase; letter-spacing: .1em; }
.feat-panel .pv { font-family: var(--serif); font-size: 1.5rem; color: var(--on-ink); }

/* ---------- 12. PARA QUEM É ---------- */
.audience { display: flex; flex-wrap: wrap; gap: .8rem; }
.aud-chip {
  display: inline-flex; align-items: center; gap: .65rem;
  background: var(--bone-card); box-shadow: inset 0 0 0 1px var(--line);
  padding: .8rem 1.2rem; border-radius: 999px; font-weight: 500; font-size: .98rem;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.aud-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.aud-chip svg { width: 18px; height: 18px; }
.aud-chip:nth-child(5n+1) svg { color: var(--teal); }
.aud-chip:nth-child(5n+2) svg { color: var(--coral); }
.aud-chip:nth-child(5n+3) svg { color: var(--amber); }
.aud-chip:nth-child(5n+4) svg { color: var(--purple); }
.aud-chip:nth-child(5n+5) svg { color: var(--blue); }

/* ---------- 13. METODOLOGIA ---------- */
.method-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.method-item {
  padding: 1.7rem; border-radius: var(--radius);
  background: rgba(242,238,230,.04); box-shadow: inset 0 0 0 1px var(--line-ink);
}
.method-ic {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  margin-bottom: 1.2rem; box-shadow: inset 0 0 0 1px var(--line-ink);
}
.method-ic svg { width: 24px; height: 24px; }
.method-item:nth-child(1) .method-ic { background: rgba(27,146,118,.14); } .method-item:nth-child(1) .method-ic svg { color: #4cc3a3; }
.method-item:nth-child(2) .method-ic { background: rgba(44,108,171,.16); } .method-item:nth-child(2) .method-ic svg { color: #69a6e0; }
.method-item:nth-child(3) .method-ic { background: rgba(224,150,42,.16); } .method-item:nth-child(3) .method-ic svg { color: #f0c074; }
.method-item:nth-child(4) .method-ic { background: rgba(110,75,166,.18); } .method-item:nth-child(4) .method-ic svg { color: #a684d8; }
.method-item h3 { color: var(--on-ink); margin-bottom: .6rem; font-size: 1.25rem; }
.method-item p { color: var(--on-ink-dim); font-size: .96rem; }

/* ---------- 14. PROVA SOCIAL ---------- */
.metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; margin-bottom: 3rem; }
.metric {
  text-align: center; padding: 1.6rem 1rem; border-radius: var(--radius);
  background: var(--bone-card); box-shadow: inset 0 0 0 1px var(--line-soft);
}
.metric .n { font-family: var(--serif); font-size: clamp(2.2rem,4vw,3rem); line-height: 1; }
.metric .l { font-size: .88rem; color: var(--ink-soft); margin-top: .5rem; }
.metric:nth-child(1) .n { color: var(--teal); }
.metric:nth-child(2) .n { color: var(--coral); }
.metric:nth-child(3) .n { color: var(--purple); }

.testimonials { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.4rem; }
.quote {
  background: var(--bone-card); border-radius: var(--radius); padding: 1.9rem;
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line-soft); display: flex; flex-direction: column;
}
.quote .stars { display: flex; gap: .2rem; color: var(--amber); margin-bottom: 1rem; }
.quote .stars svg { width: 17px; height: 17px; }
.quote blockquote { font-family: var(--serif); font-size: 1.18rem; line-height: 1.45; flex-grow: 1; }
.quote figcaption { display: flex; align-items: center; gap: .8rem; margin-top: 1.5rem; }
.quote .av { width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto; }
.quote .who b { display: block; font-size: .95rem; }
.quote .who span { font-size: .82rem; color: var(--ink-soft); }
.editable-badge {
  font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft);
  background: var(--bone-deep); padding: .25rem .55rem; border-radius: 6px; margin-left: .5rem;
}

/* ---------- 15. FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.faq-list { display: grid; gap: .8rem; }
.faq-item {
  background: var(--bone-card); border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 1px var(--line-soft); overflow: hidden;
  transition: box-shadow .2s, background .2s;
}
.faq-item[open] { box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.faq-q {
  list-style: none; cursor: pointer; padding: 1.25rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-weight: 600; font-size: 1.05rem; min-height: 44px;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q .ic { flex: 0 0 auto; width: 26px; height: 26px; display: grid; place-items: center; color: var(--teal); transition: transform .25s; }
.faq-item[open] .faq-q .ic { transform: rotate(45deg); }
.faq-a { padding: 0 1.4rem 1.4rem; color: var(--ink-soft); max-width: 60ch; }

/* ---------- 16. CTA FINAL / CONTATO ---------- */
.cta-final { overflow: hidden; }
.cta-final::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(420px 420px at 88% -10%, rgba(27,146,118,.20), transparent 60%),
    radial-gradient(380px 380px at 8% 120%, rgba(110,75,166,.18), transparent 60%);
}
.cta-final .container { position: relative; z-index: 1; }
.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.cta-final h2 { margin-bottom: 1.3rem; }
.cta-final h2 em { font-style: italic; color: var(--amber); }
.contact-card {
  background: rgba(242,238,230,.05); box-shadow: inset 0 0 0 1px var(--line-ink);
  border-radius: var(--radius); padding: 1.9rem; display: grid; gap: 1.1rem;
}
.contact-row { display: flex; align-items: center; gap: 1rem; }
.contact-row .ci {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 auto;
  background: rgba(242,238,230,.06); box-shadow: inset 0 0 0 1px var(--line-ink);
}
.contact-row .ci svg { width: 21px; height: 21px; color: var(--amber); }
.contact-row .cl { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--on-ink-dim); }
.contact-row .cv { font-weight: 600; color: var(--on-ink); font-size: 1.05rem; }
.contact-card .btn { margin-top: .4rem; }

/* ---------- 17. FOOTER ---------- */
.footer { background: var(--ink-rich); color: var(--on-ink-dim); padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-ink); }
.footer .brand .word b { color: var(--on-ink); }
.footer .brand .word span { color: var(--on-ink-dim); }
.footer-blurb { margin-top: 1.2rem; max-width: 34ch; font-size: .95rem; line-height: 1.55; }
.footer-col h4 { font-family: var(--sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink); margin-bottom: 1.1rem; font-weight: 600; }
.footer-col a { display: block; padding: .35rem 0; color: var(--on-ink-dim); transition: color .2s; font-size: .96rem; }
.footer-col a:hover { color: var(--on-ink); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-top: 1.8rem; font-size: .85rem; }
.footer-bottom .a11y { display: inline-flex; align-items: center; gap: .5rem; }
.footer-bottom .a11y svg { width: 16px; height: 16px; color: var(--teal); }

/* ---------- 18. FLOATING WHATSAPP ---------- */
.wa-float {
  position: fixed; right: clamp(1rem,3vw,1.8rem); bottom: clamp(1rem,3vw,1.8rem); z-index: 120;
  display: inline-flex; align-items: center; gap: .65rem;
  background: var(--teal); color: #fff; font-weight: 600; font-size: .98rem;
  padding: .9rem 1.25rem; border-radius: 999px; min-height: 56px;
  box-shadow: 0 8px 26px rgba(27,146,118,.42);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 32px rgba(27,146,118,.5); }
.wa-float svg { width: 24px; height: 24px; }
.wa-float .lbl { display: inline; }

/* ---------- 19. REVEAL ANIMATION ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- 20. RESPONSIVE ---------- */
@media (max-width: 940px) {
  .nav-links { 
    position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; align-items: stretch;
    background: var(--bone); padding: 6rem var(--gutter) 2rem; gap: .25rem; box-shadow: var(--shadow-lg);
    transform: translateY(-105%); transition: transform .32s cubic-bezier(.4,0,.2,1); height: auto;
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: .9rem .5rem; font-size: 1.1rem; border-bottom: 1px solid var(--line-soft); }
  .nav-links a::after { display: none; }
  .nav-cta { margin: 1rem 0 0; }
  .nav-toggle { display: inline-flex; z-index: 101; }
  .hero-grid, .decreto-grid, .inst-grid, .cta-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 300px; }
  .inst-photo-wrap { max-width: 420px; margin-inline: auto; }
  .card-feat-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 680px) {
  .cards, .method-grid, .metrics, .testimonials { grid-template-columns: 1fr; }
  .inst-sign { right: 4%; bottom: -6%; }
  .wa-float .lbl { display: none; }
  .wa-float { padding: 1rem; }
  .inst-stats { gap: 1.6rem; }
}

/* ---------- 10b. DEPOIMENTOS EM VÍDEO (carrossel Instagram) ---------- */
.depo { margin-top: clamp(2.2rem, 5vw, 3.4rem); }
.depo-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.4rem; }
.depo-lead { max-width: 46ch; color: var(--ink-soft); margin: 0; }
.depo-nav { display: flex; gap: .5rem; flex: none; }
.depo-arrow {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  background: var(--bone-card); border: 1px solid var(--line); color: var(--ink);
  transition: background .2s ease, border-color .2s ease, opacity .2s ease;
}
.depo-arrow:hover { background: #fff; border-color: rgba(22,32,43,.28); }
.depo-arrow[disabled] { opacity: .34; cursor: default; }
.depo-arrow svg { width: 18px; height: 18px; }

.depo-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 340px;
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: .6rem; scrollbar-width: none;
}
.depo-track::-webkit-scrollbar { display: none; }
.depo-track:focus-visible { outline: 2px solid var(--teal); outline-offset: 6px; border-radius: var(--radius); }

.depo-card {
  position: relative; scroll-snap-align: start;
  aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden;
  background: var(--ink-rich); box-shadow: var(--shadow-md);
  border: 1px solid var(--line-soft);
}
.depo-play {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: grid; place-items: center; cursor: pointer; border: 0; padding: 0;
  background:
    radial-gradient(120% 80% at 50% 30%, rgba(27,146,118,.28) 0%, rgba(16,24,32,0) 70%),
    linear-gradient(160deg, #1d2a37 0%, #101820 62%, #16202B 100%);
  color: var(--on-ink);
}
.depo-play::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(16,24,32,.9) 0%, rgba(16,24,32,0) 46%);
}
.depo-play-ring {
  width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(242,238,230,.1); border: 1px solid rgba(242,238,230,.34);
  backdrop-filter: blur(3px);
  transition: transform .28s cubic-bezier(.4,0,.2,1), background .28s ease;
}
.depo-play-ring svg { width: 26px; height: 26px; margin-left: 3px; }
.depo-play:hover .depo-play-ring { transform: scale(1.08); background: rgba(27,146,118,.5); }
.depo-tag {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--on-ink); background: rgba(16,24,32,.55);
  border: 1px solid var(--line-ink); border-radius: 999px; padding: .32rem .6rem;
}
.depo-tag svg { width: 13px; height: 13px; }
.depo-meta {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
  display: grid; gap: .2rem; pointer-events: none;
}
.depo-meta b { color: var(--on-ink); font-size: .96rem; }
.depo-meta span { color: var(--on-ink-dim); font-size: .78rem; }
.depo-card.is-live .depo-play, .depo-card.is-live .depo-meta { display: none; }
.depo-embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }

.depo-foot { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 1.1rem; }
.depo-dots { display: flex; gap: .4rem; }
.depo-dots button {
  width: 22px; height: 3px; border-radius: 2px; border: 0; padding: 0; cursor: pointer;
  background: rgba(22,32,43,.18); transition: background .25s ease, width .25s ease;
}
.depo-dots button[aria-current="true"] { background: var(--teal); width: 34px; }
.depo-all { font-size: .88rem; font-weight: 600; color: var(--teal); text-decoration: none; white-space: nowrap; }
.depo-all:hover .arr { display: inline-block; transform: translateX(3px); transition: transform .2s ease; }

@media (max-width: 680px) {
  .depo-track { grid-auto-columns: 78vw; }
  .depo-head { flex-direction: column; align-items: flex-start; }
  .depo-foot { flex-direction: column; align-items: flex-start; gap: .9rem; }
}
