/* Colégio Evolução VG - estilos da landing page */

:root {
  box-sizing:border-box;
}

*,*::before,*::after {
  box-sizing:inherit;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:96px;
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  * {
    animation:none!important;
    transition:none!important;
  }
}

body {
  margin:0;
  font-family:var(--sans);
  color:var(--navy-ink);
  background:var(--paper);
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

img,svg {
  max-width:100%;
  display:block;
}

a {
  color:inherit;
}

html {
  accent-color:var(--navy);
  caret-color:var(--navy);
}

::selection {
  background:var(--orange);
  color:var(--navy-ink);
}

h1,h2,h3 {
  text-wrap:balance;
}

p,li {
  text-wrap:pretty;
}

:focus-visible {
  outline:3px solid var(--navy);
  outline-offset:3px;
  border-radius:8px;
}

.nav :focus-visible,.hero :focus-visible,.approved :focus-visible,.panel--fund :focus-visible,footer :focus-visible {
  outline-color:var(--orange);
}

.skip {
  position:fixed;
  left:12px;
  top:-80px;
  z-index:100;
  padding:12px 18px;
  border-radius:999px;
  background:var(--navy-ink);
  color:var(--white);
  font-weight:600;
  text-decoration:none;
}

.skip:focus {
  top:12px;
}

.wrap {
  width:min(1180px,100% - 40px);
  margin-inline:auto;
}

.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
}

/* ---------- Menu em pílula ---------- */
.nav {
  position:fixed;
  top:calc(14px + env(safe-area-inset-top,0px));
  left:50%;
  transform:translateX(-50%);
  z-index:50;
  display:flex;
  align-items:center;
  gap:6px;
  padding:6px 6px 6px 8px;
  border-radius:999px;
  background:rgba(10,47,79,.72);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 10px 30px rgba(6,26,45,.25);
  width:max-content;
  max-width:calc(100% - 24px);
}

.nav__logo {
  width:40px;
  height:40px;
  border-radius:50%;
  background:var(--white);
  padding:2px;
  flex:none;
}

.nav__links {
  display:flex;
  gap:2px;
  list-style:none;
  margin:0;
  padding:0 4px;
}

.nav__links a {
  display:block;
  padding:8px 13px;
  border-radius:999px;
  color:var(--on-dark-strong);
  text-decoration:none;
  font-size:15px;
  font-weight:500;
}

.nav__links a:hover,.nav__links a[aria-current="true"] {
  background:rgba(255,255,255,.1);
  color:var(--white);
}

.nav__cta {
  display:flex;
  gap:6px;
}

.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:0;
  cursor:pointer;
  font:600 15px/1 var(--sans);
  text-decoration:none;
  border-radius:999px;
  padding:12px 18px;
  transition:transform .15s ease, background .15s ease;
}

.btn:active {
  transform:scale(.97);
}

.btn--orange {
  background:var(--orange);
  color:var(--navy-ink);
}

.btn--orange:hover {
  background:var(--orange-hover);
}

.btn--ghost {
  background:rgba(255,255,255,.12);
  color:var(--white);
  border:1px solid rgba(255,255,255,.22);
}

.btn--ghost:hover {
  background:rgba(255,255,255,.2);
}

.btn--navy {
  background:var(--navy);
  color:var(--white);
}

.btn--navy:hover {
  background:var(--navy-deep);
}

.btn--lg {
  padding:16px 24px;
  font-size:17px;
}

.nav__toggle {
  display:none;
  background:transparent;
  border:0;
  color:var(--white);
  width:44px;
  height:44px;
  border-radius:50%;
  cursor:pointer;
}

.nav__toggle:hover {
  background:rgba(255,255,255,.1);
}

@media (max-width:1060px) {
  .nav {
    left:12px;
    right:12px;
    transform:none;
    width:auto;
    justify-content:space-between;
    border-radius:28px;
    flex-wrap:wrap;
  }
  .nav__toggle {
    display:grid;
    place-items:center;
    order:2;
  }
  .nav__cta {
    order:1;
    margin-left:auto;
  }
  .nav__cta .btn--ghost {
    display:none;
  }
  .nav__links {
    display:none;
    order:3;
    width:100%;
  }
  .nav.open .nav__links {
    display:flex;
    flex-direction:column;
    padding:6px 0;
  }
  .nav.open .nav__links a {
    padding:12px 14px;
    font-size:17px;
  }
  .nav.open .nav__cta {
    order:4;
    width:100%;
    padding:0 0 6px;
  }
  .nav.open .nav__cta .btn {
    display:inline-flex;
    flex:1;
  }
}

/* ---------- Hero ---------- */
.hero {
  position:relative;
  overflow:hidden;
  color:var(--white);
  /* Foto da fachada com véu azul-escuro: mantém o texto claro com contraste acima de 4,5:1 */
  background:
    linear-gradient(90deg,rgba(10,47,79,.92) 0%,rgba(10,47,79,.84) 55%,rgba(10,47,79,.55) 100%),
    url("../assets/hero.jpeg") center/cover no-repeat,
    var(--navy-deep);
  padding:calc(150px + env(safe-area-inset-top,0px)) 0 120px;
}

.hero__grid {
  position:relative;
  display:grid;
  gap:40px;
}

.hero h1 {
  font-weight:500;
  font-size:clamp(38px,5.4vw,72px);
  line-height:1.02;
  letter-spacing:-.035em;
  margin:0;
  max-width:16ch;
}

.hero h1 .row {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.22em;
}

.hero h1 em {
  font-family:var(--serif);
  font-style:italic;
  font-weight:400;
  color:var(--orange);
  letter-spacing:-.02em;
}

.cap {
  display:inline-grid;
  place-items:center;
  height:.78em;
  width:1.45em;
  border-radius:999px;
  border:2px solid rgba(255,255,255,.55);
  vertical-align:middle;
}

.cap svg {
  width:.46em;
  height:.46em;
}

.cap--fill {
  background:var(--orange);
  border-color:var(--orange);
  color:var(--navy-ink);
}

.hero__lead {
  max-width:46ch;
  font-size:clamp(17px,1.6vw,20px);
  color:var(--on-dark);
  margin:0;
}

.hero__lead strong {
  color:var(--white);
  font-weight:600;
}

.hero__actions {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.hero__segments {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:8px;
}

.chip {
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 16px 10px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
  font-size:15px;
  color:var(--on-dark-strong);
}

.chip b {
  display:grid;
  place-items:center;
  min-width:34px;
  height:34px;
  padding:0 8px;
  border-radius:999px;
  background:var(--white);
  color:var(--navy);
  font-size:14px;
}

@media (max-width:820px) {
  /* Texto ocupa a largura toda: véu uniforme */
  .hero {
    background:
      linear-gradient(rgba(10,47,79,.88),rgba(10,47,79,.88)),
      url("../assets/hero.jpeg") 30% center/cover no-repeat,
      var(--navy-deep);
  }
}

/* ---------- Seções ---------- */
section {
  position:relative;
}

.sec {
  padding:110px 0;
}

.sec--tight {
  padding-top:20px;
}

.sec--flush {
  padding-top:20px;
  padding-bottom:0;
}

.sec h2 {
  font-weight:500;
  font-size:clamp(34px,4.6vw,60px);
  line-height:1.05;
  letter-spacing:-.03em;
  margin:0 0 18px;
  max-width:18ch;
}

.sec h2 em {
  font-style:normal;
  font-weight:600;
  color:var(--orange-ink);
}

.sec h2 em.serif {
  font-family:var(--serif);
  font-style:italic;
  font-weight:400;
}

#ensino h2 {
  max-width:22ch;
}

.sec__intro {
  color:var(--muted);
  max-width:72ch;
  margin:0;
}

/* Sobre */
.about__statement {
  font-size:clamp(24px,3vw,38px);
  line-height:1.3;
  letter-spacing:-.02em;
  font-weight:400;
  max-width:46ch;
  margin:0 0 64px;
}

.about__more {
  margin:40px 0 0;
}

.values {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--line);
}

.value {
  padding:30px 28px 10px 0;
}

.value + .value {
  padding-left:28px;
  border-left:1px solid var(--line);
}

.value h3 {
  font-size:22px;
  font-weight:600;
  margin:0 0 6px;
  letter-spacing:-.01em;
}

.value p {
  margin:0;
  color:var(--muted);
}

.contact .ico {
  width:48px;
  height:48px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:var(--sky);
  color:var(--navy);
}

.ico svg {
  width:24px;
  height:24px;
}

@media (max-width:820px) {
  .values {
    grid-template-columns:1fr;
  }
  .value,.value+.value {
    padding:26px 0;
    border-left:0;
    border-top:1px solid var(--line);
  }
  .values {
    border-top:0;
  }
}

/* Ensino */
.teach {
  display:grid;
  gap:22px;
  margin-top:48px;
}

.panel {
  display:grid;
  grid-template-columns:1fr;
  gap:30px;
  align-items:center;
  border-radius:32px;
  padding:clamp(28px,4vw,56px);
  overflow:hidden;
  position:relative;
}

.panel--kids {
  background:linear-gradient(135deg,var(--peach),var(--peach-deep));
}

.panel--fund {
  background:linear-gradient(135deg,var(--navy-bright),var(--navy-deep));
  color:var(--white);
}

.panel__age {
  display:inline-block;
  font-size:15px;
  font-weight:600;
  padding:6px 14px;
  border-radius:999px;
  background:var(--navy);
  color:var(--white);
  margin-bottom:16px;
}

.panel--fund .panel__age {
  background:var(--orange);
  color:var(--navy-ink);
}

.panel h3 {
  font-size:clamp(30px,3.4vw,44px);
  line-height:1.05;
  letter-spacing:-.03em;
  font-weight:500;
  margin:0 0 14px;
}

.panel p {
  margin:0 0 20px;
  max-width:70ch;
}

.panel--kids p {
  color:var(--peach-ink);
}

.panel--fund p {
  color:var(--on-dark);
}

.panel ul {
  margin:0 0 26px;
  padding:0;
  list-style:none;
  display:grid;
  gap:8px;
}

.panel li {
  display:flex;
  gap:10px;
  align-items:flex-start;
}

.panel li::before {
  content:"";
  flex:none;
  width:8px;
  height:8px;
  border-radius:50%;
  margin-top:9px;
  background:var(--orange-deep);
}

.panel--fund li::before {
  background:var(--orange);
}

.panel__cta {
  justify-self:start;
}

.stages {
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  align-self:stretch;
  align-content:center;
}

.stages li {
  display:grid;
  gap:2px;
  padding:20px 0;
  border-top:1px solid rgba(11,34,56,.18);
}

.stages li::before {
  content:none;
}

.stages li:last-child {
  border-bottom:1px solid rgba(11,34,56,.18);
}

.panel--fund .stages li {
  border-color:rgba(255,255,255,.25);
}

.stages strong {
  font-size:clamp(22px,2.4vw,28px);
  font-weight:600;
  letter-spacing:-.02em;
}

.stages span {
  color:var(--peach-ink);
}

.panel--fund .stages span {
  color:var(--on-dark);
}

/* Educação Infantil: texto à esquerda, princípios num cartão à direita */
.panel--kids {
  grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
  gap:clamp(28px,4vw,56px);
}

.panel .principles {
  margin:0;
  padding:clamp(20px,2.4vw,30px);
  gap:14px;
  background:rgba(255,255,255,.6);
  border-radius:24px;
  font-size:18px;
  font-weight:500;
  color:var(--navy-ink);
}

.panel--fund p {
  max-width:80ch;
}

/* Lado a lado em telas largas: os dois segmentos têm o mesmo peso e não sobra
   metade do painel do Fundamental vazia. O cartão de princípios desce para
   baixo do texto, dentro da coluna. */
@media (min-width:1000px) {
  .teach {
    grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);
    align-items:stretch;
  }
  .panel--kids {
    grid-template-columns:1fr;
    align-content:start;
    gap:28px;
  }
  .panel--fund {
    align-content:center;
  }
  .panel--kids p,.panel--fund p {
    max-width:none;
  }
}

@media (max-width:900px) {
  .panel--kids {
    grid-template-columns:1fr;
  }
}

/* Aprovados */
.approved {
  background:linear-gradient(170deg,var(--navy) 0%,var(--navy-deep) 100%);
  color:var(--white);
  border-radius:40px;
  margin:0 20px;
  overflow:hidden;
  position:relative;
}

.approved .sec {
  padding:100px 0;
}

.approved__head {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  margin-bottom:52px;
  position:relative;
}

.approved h2 {
  color:var(--white);
  margin:0;
  max-width:none;
  font-size:clamp(40px,5.6vw,72px);
}

.approved h2 em {
  color:var(--orange);
}

.approved h2 .yr {
  display:block;
  font-size:.42em;
  letter-spacing:-.01em;
  color:var(--on-dark-soft);
  margin-top:6px;
  font-weight:400;
}

.approved__text {
  max-width:38ch;
  color:var(--on-dark);
  margin:0;
}

.students {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  position:relative;
}

.student {
  padding:20px 0 0;
  border-top:1px solid rgba(255,255,255,.22);
  display:flex;
  gap:14px;
  align-items:center;
}

.student img,.student__ini {
  width:64px;
  height:64px;
  flex:none;
  border-radius:20px;
  object-fit:cover;
}

.student__ini {
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--orange-tint);
  color:var(--navy);
  font-size:22px;
  font-weight:700;
}

.student strong {
  display:block;
  font-size:17px;
  font-weight:600;
  line-height:1.25;
}

.student small {
  display:block;
  color:var(--on-dark-soft);
  font-size:14px;
  line-height:1.35;
  margin-top:2px;
}

.student .badge {
  display:inline-block;
  margin-top:8px;
  font-size:12px;
  font-weight:600;
  padding:3px 9px;
  border-radius:999px;
  background:var(--orange);
  color:var(--navy-ink);
}

.approved__note {
  display:none;
  margin:20px 0 0;
  font-size:14px;
  color:var(--on-dark-soft);
  position:relative;
}

@media (max-width:1000px) {
  .students {
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width:560px) {
  .students {
    grid-template-columns:none;
    grid-auto-flow:column;
    grid-auto-columns:78%;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    padding-bottom:8px;
    margin-right:-20px;
    padding-right:20px;
  }
  .student {
    scroll-snap-align:start;
  }
  .approved__note {
    display:block;
  }
  .approved {
    margin:0 10px;
    border-radius:28px;
  }
}

/* Atividades */
.acts {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  margin-top:52px;
  border-top:1px solid var(--line);
}

.act {
  padding:34px 30px 34px 0;
  border-bottom:1px solid var(--line);
  display:grid;
  grid-template-columns:28px 1fr;
  column-gap:14px;
  align-items:start;
}

.act p {
  grid-column:2;
}

.act:not(:nth-child(4n+1)) {
  padding-left:26px;
  border-left:1px solid var(--line);
}

.act h3 {
  font-size:22px;
  line-height:1.2;
  font-weight:600;
  margin:0 0 6px;
  letter-spacing:-.01em;
}

.act p {
  margin:0;
  color:var(--muted);
  font-size:16px;
}

.act .ico {
  grid-row:1;
  color:var(--orange-ink);
}

.act .ico svg {
  width:28px;
  height:28px;
}

@media (max-width:1000px) {
  .acts {
    grid-template-columns:1fr 1fr;
  }
  .act:nth-child(n) {
    padding:28px 22px 28px 0;
    border-left:0;
  }
  .act:nth-child(2n) {
    padding-left:22px;
    border-left:1px solid var(--line);
  }
}

@media (max-width:560px) {
  .acts {
    grid-template-columns:1fr;
  }
  .act:nth-child(n) {
    padding:24px 0;
    border-left:0;
  }
}

/* Visita / Matrícula */
.forms {
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
  gap:48px;
  margin-top:48px;
  align-items:start;
}

.forms__main {
  display:grid;
  gap:18px;
}

.formcard {
  background:var(--white);
  border-radius:30px;
  padding:clamp(26px,3.4vw,44px);
  border:1px solid var(--line);
}

.formcard--alt {
  background:var(--sky);
  border-color:transparent;
  border-radius:0 0 30px 30px;
}

.formcard h3 {
  font-size:30px;
  font-weight:500;
  letter-spacing:-.02em;
  margin:0 0 6px;
}

.formcard > p {
  margin:0 0 24px;
  color:var(--muted);
}

.field {
  display:grid;
  gap:6px;
  margin-bottom:14px;
}

.field label {
  font-size:15px;
  font-weight:600;
}

.field input,.field select,.field textarea {
  font:16px/1.4 var(--sans);
  color:var(--navy-ink);
  padding:13px 15px;
  border-radius:14px;
  border:1.5px solid var(--field);
  background:var(--white);
  width:100%;
}

.field input:focus,.field select:focus,.field textarea:focus {
  outline:none;
  border-color:var(--navy);
  box-shadow:0 0 0 4px rgba(15,69,113,.18);
}

.field [aria-invalid="true"] {
  border-color:var(--error);
  background:var(--error-tint);
}

.field textarea {
  min-height:92px;
  resize:vertical;
}

.duo {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.err {
  color:var(--error);
  font-size:14px;
  margin:0 0 10px;
}

.err:empty,.ok:empty {
  display:none;
}

.ok {
  margin:12px 0 0;
  padding:12px 14px;
  border-radius:14px;
  background:var(--success-tint);
  color:var(--success);
  font-size:15px;
}

.ok a {
  font-weight:600;
}

.formcard .btn {
  width:100%;
  margin-top:6px;
}

.privacy {
  font-size:13px;
  color:var(--muted);
  margin:0;
}

.more {
  border-radius:30px;
  background:var(--sky);
  overflow:hidden;
}

.more summary {
  cursor:pointer;
  padding:20px clamp(26px,3.4vw,44px);
  font-weight:600;
  font-size:18px;
  list-style:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}

.more summary::-webkit-details-marker {
  display:none;
}

.more summary::after {
  content:"+";
  font-size:26px;
  line-height:1;
  color:var(--navy);
}

.more[open] summary::after {
  content:"\2212";
}

.steps {
  list-style:none;
  margin:0;
  padding:0;
  counter-reset:step;
  border-top:1px solid var(--line);
}

.steps li {
  counter-increment:step;
  display:grid;
  grid-template-columns:36px 1fr;
  column-gap:14px;
  padding:22px 0;
  border-bottom:1px solid var(--line);
}

.steps li::before {
  content:counter(step);
  grid-row:span 2;
  width:36px;
  height:36px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--navy);
  color:var(--white);
  font-weight:600;
}

.steps strong {
  font-size:19px;
  font-weight:600;
}

.steps span {
  color:var(--muted);
}

@media (max-width:860px) {
  .forms {
    grid-template-columns:1fr;
    gap:32px;
  }
}

@media (max-width:420px) {
  .duo {
    grid-template-columns:1fr;
  }
}

/* Dúvidas frequentes */
.faq {
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
  gap:48px;
  align-items:start;
}

.faq h2 {
  margin:0;
}

.faq__list details {
  border-bottom:1px solid var(--line);
}

.faq__list details:first-child {
  border-top:1px solid var(--line);
}

.faq__list summary {
  cursor:pointer;
  padding:20px 0;
  font-size:19px;
  font-weight:600;
  list-style:none;
  display:flex;
  justify-content:space-between;
  gap:16px;
}

.faq__list summary::-webkit-details-marker {
  display:none;
}

.faq__list summary::after {
  content:"+";
  font-size:26px;
  line-height:1;
  color:var(--navy);
}

.faq__list details[open] summary::after {
  content:"\2212";
}

.faq__list p {
  margin:0 0 20px;
  color:var(--muted);
  max-width:60ch;
}

.faq__list p a {
  color:var(--navy);
}

@media (max-width:860px) {
  .faq {
    grid-template-columns:1fr;
    gap:24px;
  }
}

/* Contato */
.contact {
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:40px;
  align-items:start;
}

.contact__list {
  display:grid;
  gap:0;
  margin:28px 0 0;
  border-top:1px solid var(--line);
}

.contact__item {
  display:flex;
  gap:16px;
  align-items:flex-start;
  padding:20px 0;
  border-bottom:1px solid var(--line);
  text-decoration:none;
}

.contact__item small {
  display:block;
  color:var(--muted);
  font-size:14px;
}

.contact__item span {
  font-size:19px;
  font-weight:500;
  overflow-wrap:anywhere;
}

.contact>* {
  min-width:0;
}

a.contact__item:hover span {
  color:var(--navy);
}

.visitbox {
  border-radius:30px;
  padding:36px;
  background:var(--orange);
  color:var(--navy-ink);
}

.visitbox h3 {
  font-size:32px;
  line-height:1.1;
  font-weight:500;
  letter-spacing:-.02em;
  margin:0 0 12px;
}

.visitbox p {
  margin:0 0 22px;
}

@media (max-width:860px) {
  .contact {
    grid-template-columns:1fr;
  }
}

/* Rodapé */
footer {
  background:var(--navy-deep);
  color:var(--on-dark);
  margin-top:40px;
  border-radius:16px 16px 0 0;
  overflow:hidden;
  position:relative;
  padding-bottom:env(safe-area-inset-bottom,0px);
}

.foot {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:12px;
  padding:24px 0 12px;
  font-size:14px;
}

.foot a {
  color:var(--white);
}

.foot>div {
  min-width:0;
}

.foot__label {
  margin:0 0 6px;
}

.foot__tel {
  margin:10px 0 0;
}

.foot__mail {
  overflow-wrap:anywhere;
  font-size:clamp(15px,1.4vw,18px);
  color:var(--white);
  text-decoration:none;
  font-weight:500;
  letter-spacing:-.02em;
}

.foot nav ul {
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:4px;
}

.foot nav a {
  text-decoration:none;
  color:var(--on-dark);
}

.foot nav a:hover {
  color:var(--white);
}

.giant {
  position:relative;
  font-weight:700;
  letter-spacing:-.05em;
  line-height:.8;
  font-size:clamp(34px,7vw,105px);
  color:var(--white);
  text-align:center;
  margin:0;
  padding:10px 0 .22em;
}

.legal {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:10px;
  font-size:13px;
  color:var(--on-dark-faint);
  padding:12px 0 14px;
  border-top:1px solid rgba(255,255,255,.1);
}

.legal a,.privacy a {
  color:inherit;
  text-decoration:underline;
  text-underline-offset:2px;
}

/* Página de Política de Privacidade */
.doc-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:20px 0;
}

.doc-top img {
  height:48px;
}

.doc {
  max-width:760px;
  padding:24px 0 80px;
}

/* Página com o menu em pílula fixo: abre espaço no topo */
.doc--nav {
  padding-top:120px;
}

.doc h1 {
  font-size:clamp(36px,6vw,56px);
  line-height:1.05;
  letter-spacing:-.03em;
  margin:0 0 10px;
}

.doc h2 {
  font-size:24px;
  line-height:1.25;
  margin:44px 0 12px;
  max-width:none;
}

.doc p,.doc li {
  color:var(--navy-ink);
  line-height:1.65;
}

.doc ul {
  padding-left:22px;
}

.doc li {
  margin-bottom:6px;
}

.doc a {
  color:var(--navy);
}

.doc__meta {
  color:var(--muted);
  margin:0 0 32px;
}

.doc__box {
  background:var(--sky);
  border-radius:20px;
  padding:20px 24px;
}

.doc__box p {
  margin:4px 0;
}

.doc-foot {
  background:var(--navy-ink);
}

/* WhatsApp flutuante */
.wa {
  position:fixed;
  right:20px;
  bottom:calc(20px + env(safe-area-inset-bottom,0px));
  z-index:60;
  width:62px;
  height:62px;
  border-radius:50%;
  background:var(--whatsapp);
  color:var(--white);
  display:grid;
  place-items:center;
  box-shadow:0 10px 26px rgba(0,0,0,.25);
  transition:transform .15s ease, opacity .2s ease;
}

.wa:hover {
  transform:scale(1.06);
}

.wa--hide {
  opacity:0;
  pointer-events:none;
  transform:scale(.8);
}

.wa svg {
  width:32px;
  height:32px;
}

.wa::after {
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  box-shadow:0 0 0 0 rgba(37,211,102,.6);
  animation:pulse 2.6s 1.2s 3;
}

@keyframes pulse {
  to {
    box-shadow:0 0 0 18px rgba(37,211,102,0);
  }
}

/* Entrada do hero: as linhas entram em foco, o livro se abre, o lápis escreve
   e "propósito." ganha um sublinhado feito à mão. O estado final é o padrão,
   então sem animação (ou com movimento reduzido) o título aparece completo. */
@keyframes rise {
  from {
    opacity:0;
    transform:translateY(.35em);
    filter:blur(6px);
  }
  to {
    opacity:1;
    transform:none;
    filter:none;
  }
}

@keyframes pop {
  from {
    opacity:0;
    transform:scale(.4);
  }
}

@keyframes open-book {
  from {
    transform:scaleX(0);
  }
}

/* Ciclo de 7 s: escreve nos primeiros ~0,8 s e fica parado o resto do tempo */
@keyframes write {
  0% {
    transform:translateX(-3px) rotate(-8deg);
  }
  6% {
    transform:translateX(1px) rotate(4deg);
  }
  12%,100% {
    transform:none;
  }
}

@keyframes ink {
  0% {
    stroke-dashoffset:1;
    opacity:1;
  }
  12%,90% {
    stroke-dashoffset:0;
    opacity:1;
  }
  97%,100% {
    stroke-dashoffset:0;
    opacity:0;
  }
}

@keyframes draw {
  from {
    stroke-dashoffset:1;
  }
}

@keyframes fade {
  from {
    opacity:0;
  }
}

.hero h1 .row {
  animation:rise .8s cubic-bezier(.16,1,.3,1) both;
}

.hero h1 .row:nth-child(2) {
  animation-delay:.12s;
}

.hero h1 .row:nth-child(3) {
  animation-delay:.24s;
}

.hero h1 .cap {
  animation:pop .5s .3s cubic-bezier(.16,1,.3,1) both;
}

.hero h1 .cap--book {
  animation-delay:.45s;
}

.cap__page {
  transform-box:fill-box;
  animation:open-book .6s .6s cubic-bezier(.16,1,.3,1) both;
}

.cap__page--l {
  transform-origin:right center;
}

.cap__page--r {
  transform-origin:left center;
}

.cap__pencil {
  transform-box:fill-box;
  transform-origin:left bottom;
  animation:write 7s .8s cubic-bezier(.45,0,.25,1) infinite backwards;
}

.cap__ink {
  stroke-dasharray:1;
  animation:ink 7s .8s linear infinite backwards;
}

.hero h1 em {
  position:relative;
}

.swash {
  position:absolute;
  left:.02em;
  bottom:-.1em;
  width:calc(100% - .34em);
  max-width:none;
  height:.2em;
  overflow:visible;
  fill:none;
  stroke:var(--orange);
  stroke-width:5;
  stroke-linecap:round;
  pointer-events:none;
}

.swash path {
  stroke-dasharray:1;
  animation:draw .7s 1.1s cubic-bezier(.65,0,.35,1) backwards;
}

/* Lápis para quando o topo sai da tela (main.js) */
.hero--still * {
  animation-play-state:paused!important;
}

@media (prefers-reduced-motion:reduce) {
  .hero h1 .row {
    animation:fade .6s ease-out both!important;
  }
}
