/* ==========================================================================
   Colégio Vértice do Sol — escola fictícia (demonstração de portfólio)
   Classes com prefixo vs-, variáveis --vs-*. Sem dependências externas.
   Índice: 1. Base  2. Cabeçalho  3. Hero  4. Etapas  5. Proposta
           6. História  7. Vida escolar  8. Visita  9. Dúvidas
           10. Localização/sobre  11. Rodapé  12. Botão flutuante
           13. Modal de visita  14. Páginas de etapa  15. Movimento
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --vs-azul: #18364B;
  --vs-azul-2: #21465f;
  --vs-marfim: #FAF7F0;
  --vs-marfim-2: #F3EEE3;
  --vs-terracota: #B75C3B;
  --vs-terracota-texto: #9A4A2E; /* 5,7:1 sobre marfim: texto pequeno */
  --vs-amarelo: #EDB949;
  --vs-nevoa: #E4EDF1;
  --vs-grafite: #26343D;
  --vs-grafite-2: #4B5963;       /* 6,6:1 sobre marfim: texto secundário */
  --vs-linha: rgba(24, 54, 75, 0.16);
  --vs-linha-forte: rgba(24, 54, 75, 0.32);

  --vs-max: 1200px;
  --vs-gutter: clamp(20px, 4vw, 40px);
  --vs-radius: 16px;
  --vs-radius-sm: 12px;
  --vs-header-h: 72px;

  --vs-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --vs-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --vs-shadow: 0 1px 2px rgba(24, 54, 75, 0.06), 0 12px 32px -12px rgba(24, 54, 75, 0.22);
}

/* ---------- 1. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--vs-header-h) + 16px); }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 450;
  color: var(--vs-grafite);
  background: var(--vs-marfim);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 1.0625rem; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--vs-azul); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 1.15rem + 2.2vw, 2.625rem); font-weight: 680; }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.4rem); font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--vs-terracota); outline-offset: 3px; border-radius: 6px; }
.vs-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.vs-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }

.vs-wrap { width: 100%; max-width: calc(var(--vs-max) + 2 * var(--vs-gutter)); margin-inline: auto; padding-inline: var(--vs-gutter); }
.vs-section { padding-block: clamp(72px, 9vw, 128px); position: relative; }

.vs-skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; background: var(--vs-azul); color: #fff; font-weight: 650; border-radius: 10px; text-decoration: none; }
.vs-skip:focus { top: 12px; }

.vs-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9375rem; font-weight: 650; color: var(--vs-terracota-texto); letter-spacing: 0; }
.vs-eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }

.vs-head { max-width: 680px; display: grid; gap: 16px; align-content: start; margin-bottom: clamp(40px, 5vw, 64px); }
.vs-head p:not(.vs-eyebrow) { color: var(--vs-grafite-2); font-size: 1.0625rem; }
@media (min-width: 768px) { .vs-head p:not(.vs-eyebrow) { font-size: 1.125rem; } }

.vs-lead { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); color: var(--vs-grafite-2); max-width: 36em; }

/* Botões */
.vs-btn {
  --bg: var(--vs-azul); --fg: #fff; --bd: var(--vs-azul);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1.5px solid var(--bd); border-radius: 12px;
  background: var(--bg); color: var(--fg);
  font-weight: 680; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--vs-ease), color .25s var(--vs-ease), border-color .25s var(--vs-ease), transform .25s var(--vs-ease), box-shadow .25s var(--vs-ease);
}
.vs-btn:hover { --bg: var(--vs-azul-2); box-shadow: 0 10px 22px -12px rgba(24, 54, 75, .55); }
.vs-btn:active { transform: translateY(1px); }
.vs-btn--ghost { --bg: transparent; --fg: var(--vs-azul); --bd: var(--vs-linha-forte); }
.vs-btn--ghost:hover { --bg: rgba(24, 54, 75, .06); --bd: var(--vs-azul); box-shadow: none; }
.vs-btn--light { --bg: var(--vs-marfim); --fg: var(--vs-azul); --bd: var(--vs-marfim); }
.vs-btn--light:hover { --bg: #fff; }
.vs-btn--sm { min-height: 42px; padding: 9px 16px; font-size: .9375rem; border-radius: 10px; }
.vs-btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.vs-arrow { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--vs-ease); }
.vs-btn:hover .vs-arrow, .vs-link:hover .vs-arrow { transform: translateX(3px); }

.vs-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 680; color: var(--vs-azul); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0 1.5px no-repeat; transition: background-size .35s var(--vs-ease); }
.vs-link:hover { background-size: calc(100% - 26px) 1.5px; }

.vs-note { font-size: .875rem; color: var(--vs-grafite-2); }

/* Somente com/sem JavaScript */
.no-js .vs-js-only { display: none !important; }
.vs-nojs-msg { font-size: .9375rem; color: var(--vs-grafite-2); }

/* ---------- 2. Cabeçalho ---------- */
.vs-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 240, .94); transition: box-shadow .3s var(--vs-ease), background-color .3s var(--vs-ease); }
@supports (backdrop-filter: blur(1px)) { .vs-header { background: rgba(250, 247, 240, .86); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); } }
.vs-header.is-scrolled { box-shadow: 0 1px 0 var(--vs-linha), 0 8px 24px -18px rgba(24, 54, 75, .5); }
.vs-header__inner { min-height: var(--vs-header-h); display: flex; align-items: center; gap: 16px; }

.vs-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--vs-azul); border-radius: 8px; }
.vs-brand img { width: 48px; height: 36px; }
.vs-brand__text { display: grid; line-height: 1.05; }
.vs-brand__pre { font-size: .75rem; font-weight: 600; letter-spacing: .02em; color: var(--vs-grafite-2); }
.vs-brand__name { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.02em; }
.vs-demo { margin-right: auto; display: inline-flex; align-items: center; padding: 3px 9px; border: 1px solid var(--vs-linha-forte); border-radius: 999px; font-size: .75rem; font-weight: 650; color: var(--vs-grafite-2); white-space: nowrap; }

.vs-nav { display: flex; align-items: center; gap: 8px; }
.vs-nav__list { display: flex; align-items: center; gap: 2px; }
.vs-nav__list a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; font-size: .9688rem; font-weight: 600; text-decoration: none; color: var(--vs-azul); border-radius: 8px; position: relative; }
.vs-nav__list a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 2px; border-radius: 2px; background: var(--vs-terracota); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--vs-ease); }
.vs-nav__list a:hover::after, .vs-nav__list a[aria-current]::after { transform: scaleX(1); }
.vs-nav .vs-btn { margin-left: 10px; }

.vs-menu-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--vs-linha-forte); background: transparent; border-radius: 10px; font-weight: 650; color: var(--vs-azul); cursor: pointer; }
.vs-menu-btn__icon { position: relative; width: 18px; height: 12px; }
.vs-menu-btn__icon span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--vs-ease), opacity .2s; }
.vs-menu-btn__icon span:nth-child(1) { top: 0; }
.vs-menu-btn__icon span:nth-child(2) { top: 5px; }
.vs-menu-btn__icon span:nth-child(3) { top: 10px; }
.vs-menu-btn[aria-expanded="true"] .vs-menu-btn__icon span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.vs-menu-btn[aria-expanded="true"] .vs-menu-btn__icon span:nth-child(2) { opacity: 0; }
.vs-menu-btn[aria-expanded="true"] .vs-menu-btn__icon span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1023px) {
  .js .vs-menu-btn { display: inline-flex; }
  .js .vs-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 12px var(--vs-gutter) 24px;
    background: var(--vs-marfim); border-bottom: 1px solid var(--vs-linha);
    box-shadow: 0 24px 40px -28px rgba(24, 54, 75, .5);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--vs-ease), transform .3s var(--vs-ease), visibility 0s linear .3s;
  }
  .js .vs-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .js .vs-nav__list { flex-direction: column; align-items: stretch; }
  .js .vs-nav__list a { padding: 12px 4px; font-size: 1.0625rem; border-bottom: 1px solid var(--vs-linha); border-radius: 0; }
  .js .vs-nav__list a::after { display: none; }
  .js .vs-nav .vs-btn { margin-left: 0; }
  .no-js .vs-header__inner { flex-wrap: wrap; padding-block: 10px; }
  .no-js .vs-nav { width: 100%; overflow-x: auto; }
}
@media (max-width: 479px) {
  .vs-brand { gap: 10px; }
  .vs-brand img { width: 40px; height: 30px; }
  .vs-brand__name { font-size: 1.0625rem; }
  .vs-header__inner { gap: 10px; }
  .vs-menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .vs-menu-btn { padding: 8px 12px; }
}
@media (max-width: 359px) { .vs-demo { display: none; } .vs-menu-btn { margin-left: auto; } }

/* ---------- 3. Hero ---------- */
.vs-hero { position: relative; padding-block: clamp(24px, 4vw, 56px) clamp(56px, 7vw, 96px); overflow: hidden; }
.vs-hero__grid { display: grid; gap: 32px; align-items: center; }
.vs-hero__text { display: grid; gap: 20px; justify-items: start; position: relative; z-index: 1; }
.vs-hero h1 { font-size: clamp(2rem, 1.25rem + 3.2vw, 3.5rem); line-height: 1.06; letter-spacing: -0.03em; max-width: 13.5em; }
.vs-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.vs-hero__note { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--vs-grafite-2); }
.vs-hero__note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--vs-amarelo); box-shadow: 0 0 0 3px rgba(237, 185, 73, .25); }

.vs-hero__media { position: relative; margin: 0; }
.vs-hero__photo { position: relative; z-index: 1; border-radius: var(--vs-radius); overflow: hidden; aspect-ratio: 3 / 2; background: var(--vs-nevoa); }
.vs-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.vs-hero__deco { position: absolute; pointer-events: none; z-index: 0; }
.vs-hero__sun { width: clamp(120px, 16vw, 200px); aspect-ratio: 1; top: -36px; left: -40px; border-radius: 50%; background: var(--vs-amarelo); }
.vs-hero__arc { width: clamp(200px, 24vw, 320px); height: auto; right: -44px; top: -64px; color: var(--vs-terracota); }
.vs-hero__caption { position: absolute; z-index: 2; left: 14px; bottom: 14px; padding: 5px 10px; font-size: .75rem; font-weight: 600; color: var(--vs-azul); background: rgba(250, 247, 240, .9); border-radius: 8px; }

@media (max-width: 767px) {
  .vs-hero__grid { gap: 28px; }
  .vs-hero__text { gap: 16px; }
  .vs-hero .vs-actions { width: 100%; }
  .vs-hero .vs-actions .vs-btn { flex: 1 1 auto; }
  .vs-hero__photo { aspect-ratio: 16 / 10; }
  .vs-hero__sun { width: 88px; top: -22px; left: auto; right: 28px; }
  .vs-hero__arc { width: 180px; right: -40px; top: -44px; }
}
@media (min-width: 1024px) {
  .vs-hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 5vw, 72px); }
  .vs-hero__photo { aspect-ratio: 4 / 3.4; }
  .vs-hero__photo img { object-position: 70% 50%; }
}

/* A seção logo após a abertura não precisa do respiro completo */
.vs-hero + .vs-section { padding-top: clamp(40px, 5vw, 72px); }

/* Linha de trajetória compartilhada */
.vs-trail { display: block; color: var(--vs-terracota); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }

/* ---------- 4. Etapas ---------- */
.vs-stages { display: grid; gap: clamp(40px, 5vw, 56px); }
.vs-stage { display: grid; gap: 20px; align-content: start; position: relative; }
.vs-stage__media { margin: 0; border-radius: var(--vs-radius); overflow: hidden; aspect-ratio: 3 / 2; background: var(--vs-nevoa); }
.vs-stage__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--vs-ease-out); }
.vs-stage:hover .vs-stage__media img, .vs-stage:focus-within .vs-stage__media img { transform: scale(1.035); }
.vs-stage__body { display: grid; gap: 12px; justify-items: start; }
.vs-stage__kicker { display: flex; align-items: baseline; gap: 12px; font-size: .875rem; font-weight: 650; color: var(--vs-grafite-2); }
.vs-stage__num { font-size: .875rem; font-weight: 700; color: var(--vs-terracota-texto); font-variant-numeric: tabular-nums; }
.vs-stage h3 { font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.875rem); }
.vs-stage p { color: var(--vs-grafite-2); max-width: 32em; }
.vs-stage--medio .vs-stage__num { color: var(--vs-azul); }

@media (min-width: 768px) {
  .vs-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 56px); }
  .vs-stage--infantil { grid-column: 1 / -1; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(28px, 4vw, 64px); }
  .vs-stage--infantil .vs-stage__media { aspect-ratio: 16 / 10; }
  .vs-stage--medio { margin-top: clamp(40px, 6vw, 88px); }
}
@media (min-width: 1024px) {
  .vs-stage--fundamental { padding-right: clamp(0px, 3vw, 40px); }
}

/* ---------- 5. Proposta ---------- */
.vs-proposal { background: var(--vs-marfim-2); overflow: hidden; }
.vs-proposal__grid { display: grid; gap: 48px; position: relative; }
.vs-proposal__intro { display: grid; gap: 20px; align-content: start; }
.vs-proposal__intro p:not(.vs-eyebrow) { color: var(--vs-grafite-2); font-size: 1.0625rem; max-width: 34em; }
.vs-principles { display: grid; border-top: 1px solid var(--vs-linha-forte); counter-reset: p; }
.vs-principle { display: grid; grid-template-columns: 48px 1fr; gap: 4px 16px; padding-block: 24px; border-bottom: 1px solid var(--vs-linha); }
.vs-principle::before { counter-increment: p; content: counter(p, decimal-leading-zero); grid-row: 1 / span 2; font-size: .875rem; font-weight: 700; color: var(--vs-terracota-texto); padding-top: 3px; font-variant-numeric: tabular-nums; }
.vs-principle h3 { font-size: 1.1875rem; }
.vs-principle p { color: var(--vs-grafite-2); }
.vs-proposal__pages { position: absolute; width: 260px; right: -60px; top: -40px; color: var(--vs-azul); opacity: .09; pointer-events: none; }
@media (min-width: 900px) {
  .vs-proposal__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 112px); }
  .vs-principles { grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 0; }
  .vs-principle { border-top: 1px solid var(--vs-linha-forte); border-bottom: 0; padding-block: 24px 32px; grid-template-columns: 1fr; }
  .vs-principle::before { grid-row: auto; padding: 0 0 6px; }
  .vs-proposal__pages { right: auto; left: -80px; top: auto; bottom: -110px; width: 340px; }
}

/* ---------- 6. História ---------- */
.vs-story { background: var(--vs-azul); color: #E9EEF1; overflow: hidden; }
.vs-story h2 { color: var(--vs-marfim); }
.vs-story .vs-eyebrow { color: var(--vs-amarelo); }
.vs-story__grid { display: grid; gap: 40px; position: relative; z-index: 1; }
.vs-story__mark { margin-left: 22px; width: clamp(120px, 16vw, 176px); aspect-ratio: 1; border-radius: 50%; background: var(--vs-marfim); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(250, 247, 240, .08), 0 0 0 22px rgba(250, 247, 240, .04); }
.vs-story__mark img { width: 64%; height: auto; }
.vs-story__quote { margin: 0; font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem); line-height: 1.35; font-weight: 600; color: var(--vs-marfim); letter-spacing: -0.01em; max-width: 26em; padding-left: 20px; border-left: 3px solid var(--vs-amarelo); }
.vs-story__body { display: grid; gap: 22px; }
.vs-story__body p { max-width: 38em; }
.vs-story__note { font-size: .875rem; color: #C3CFD7; }
.vs-story__arcs { position: absolute; right: -120px; top: -120px; width: 520px; color: var(--vs-marfim); opacity: .1; pointer-events: none; }
@media (min-width: 900px) {
  .vs-story__grid { grid-template-columns: auto minmax(0, 1fr); gap: clamp(48px, 7vw, 104px); align-items: start; }
  .vs-story__mark { margin: 12px 0 0 22px; }
}

/* ---------- 7. Vida escolar (galeria) ---------- */
.vs-gallery { display: grid; gap: 32px; }
.vs-gallery__panels { display: grid; gap: 40px; }
.vs-gallery__panel { display: grid; gap: 16px; align-content: start; }
.vs-gallery__figure { margin: 0; position: relative; border-radius: var(--vs-radius); overflow: hidden; aspect-ratio: 3 / 2; background: var(--vs-nevoa); }
.vs-gallery__figure img { width: 100%; height: 100%; object-fit: cover; }
.vs-gallery__figure figcaption { position: absolute; left: 14px; bottom: 14px; padding: 5px 10px; font-size: .75rem; font-weight: 600; color: var(--vs-azul); background: rgba(250, 247, 240, .92); border-radius: 8px; }
.vs-gallery__more { color: var(--vs-grafite-2); max-width: 40em; }
.vs-gallery__title { font-size: 1.25rem; }

.vs-tabs { display: grid; border-top: 1px solid var(--vs-linha-forte); }
.vs-tab {
  display: grid; gap: 4px; width: 100%; text-align: left; cursor: pointer;
  padding: 20px 0 20px 20px; border: 0; border-bottom: 1px solid var(--vs-linha); background: transparent; position: relative;
  transition: background-color .3s var(--vs-ease);
}
.vs-tab::before { content: ""; position: absolute; left: 0; top: 20px; bottom: 20px; width: 3px; border-radius: 3px; background: var(--vs-terracota); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--vs-ease-out); }
.vs-tab[aria-selected="true"]::before { transform: scaleY(1); }
.vs-tab__title { font-size: 1.1875rem; font-weight: 680; color: var(--vs-azul); letter-spacing: -0.01em; }
.vs-tab__text { color: var(--vs-grafite-2); font-size: .9688rem; }
.vs-tab:hover .vs-tab__title { color: var(--vs-terracota-texto); }
.vs-tab[aria-selected="false"] .vs-tab__text { opacity: .8; }
.vs-tab:focus-visible { outline-offset: -3px; }

.vs-gallery__controls { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.vs-gallery__count { font-size: .875rem; font-weight: 650; color: var(--vs-grafite-2); font-variant-numeric: tabular-nums; margin-right: auto; }
.vs-iconbtn { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--vs-linha-forte); background: transparent; color: var(--vs-azul); cursor: pointer; transition: background-color .25s var(--vs-ease), border-color .25s var(--vs-ease); }
.vs-iconbtn:hover { background: var(--vs-azul); border-color: var(--vs-azul); color: #fff; }
.vs-iconbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Sem JS: três painéis empilhados, abas ocultas */
.no-js .vs-gallery__nav { display: none; }
@media (min-width: 900px) { .no-js .vs-gallery__panels { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
/* Com JS: um painel por vez, título/resumo ficam nas abas */
.js .vs-gallery__panels { display: grid; gap: 0; }
.js .vs-gallery__panel { grid-area: 1 / 1; }
.js .vs-gallery__panel[hidden] { display: none; }
.js .vs-gallery__panel .vs-gallery__title, .js .vs-gallery__panel .vs-gallery__short { display: none; }
.js .vs-gallery__panel.is-entering .vs-gallery__figure img { animation: vs-photo-in .6s var(--vs-ease-out) both; }
.js .vs-gallery__panel.is-entering .vs-gallery__more { animation: vs-rise .5s var(--vs-ease-out) .08s both; }
.vs-gallery__stage { touch-action: pan-y; }
@media (min-width: 900px) {
  .js .vs-gallery { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
}

/* ---------- 8. Visita ---------- */
.vs-visit { background: var(--vs-nevoa); overflow: hidden; }
.vs-visit__grid { display: grid; gap: 48px; position: relative; z-index: 1; }
.vs-visit__intro { display: grid; gap: 20px; justify-items: start; align-content: start; }
.vs-visit__intro > p:not(.vs-eyebrow):not(.vs-note) { color: var(--vs-grafite-2); max-width: 32em; font-size: 1.0625rem; }
.vs-steps { display: grid; gap: 0; counter-reset: s; position: relative; }
.vs-step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 18px 0; position: relative; }
.vs-step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--vs-marfim); border: 1.5px solid var(--vs-azul); color: var(--vs-azul); font-weight: 700; font-size: 1.125rem; position: relative; z-index: 1; }
.vs-step:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 74px; bottom: -18px; width: 0; border-left: 1.5px dashed var(--vs-linha-forte); }
.vs-step:first-child::before { background: var(--vs-amarelo); border-color: var(--vs-amarelo); }
.vs-step__title { font-size: 1.1875rem; font-weight: 680; color: var(--vs-azul); }
.vs-visit__actions { display: grid; gap: 12px; justify-items: start; margin-top: 8px; }
.vs-visit__sun { position: absolute; width: 360px; aspect-ratio: 1; right: -140px; bottom: -200px; border-radius: 50%; border: 1.5px solid rgba(183, 92, 59, .35); box-shadow: 0 0 0 36px rgba(250, 247, 240, .35); pointer-events: none; }
@media (min-width: 900px) {
  .vs-visit__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 112px); align-items: center; }
  .vs-steps { padding: 8px 0 8px 12px; }
}

/* ---------- 9. Dúvidas ---------- */
.vs-faq__grid { display: grid; gap: 32px; }
.vs-faq__list { border-top: 1px solid var(--vs-linha-forte); }
.vs-faq__item { border-bottom: 1px solid var(--vs-linha); }
.vs-faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 64px; padding: 18px 0; font-size: 1.0625rem; font-weight: 650; color: var(--vs-azul);
}
.vs-faq__item summary::-webkit-details-marker { display: none; }
.vs-faq__item summary:hover { color: var(--vs-terracota-texto); }
.vs-faq__icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--vs-linha-forte); transition: background-color .25s var(--vs-ease), border-color .25s var(--vs-ease); }
.vs-faq__icon::before, .vs-faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; margin: -0.9px 0 0 -6px; border-radius: 2px; background: currentColor; transition: transform .3s var(--vs-ease); }
.vs-faq__icon::after { transform: rotate(90deg); }
.vs-faq__item[open] .vs-faq__icon { background: var(--vs-azul); border-color: var(--vs-azul); color: #fff; }
.vs-faq__item[open] .vs-faq__icon::after { transform: rotate(0deg); }
.vs-faq__a { padding: 0 52px 24px 0; color: var(--vs-grafite-2); max-width: 44em; }
.vs-faq__item[open] .vs-faq__a { animation: vs-rise .35s var(--vs-ease-out) both; }
@media (min-width: 900px) { .vs-faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 112px); } }

/* ---------- 10. Localização / sobre ---------- */
.vs-place { padding-block: 0 clamp(72px, 9vw, 120px); }
.vs-place__grid { display: grid; gap: 1px; background: var(--vs-linha); border-block: 1px solid var(--vs-linha); }
.vs-place__item { display: grid; gap: 10px; align-content: start; padding: 32px 0; background: var(--vs-marfim); }
.vs-place__label { display: inline-flex; align-items: center; gap: 10px; font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; color: var(--vs-azul); }
.vs-place__label svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--vs-terracota); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vs-place__item p { color: var(--vs-grafite-2); max-width: 36em; }
@media (min-width: 768px) {
  .vs-place__grid { grid-template-columns: 1fr 1fr; border-inline: 0; }
  .vs-place__item { padding: 40px 40px 40px 0; }
  .vs-place__item + .vs-place__item { padding-left: 40px; }
}

/* ---------- 11. Rodapé ---------- */
.vs-footer { background: var(--vs-azul); color: #C9D4DB; padding-block: 64px 40px; font-size: .9375rem; }
.vs-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.vs-footer a:hover { text-decoration-color: var(--vs-amarelo); }
.vs-footer :focus-visible { outline-color: var(--vs-amarelo); }
.vs-footer__top { display: grid; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.vs-footer__brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; justify-self: start; }
.vs-footer__brand .vs-brand__pre { color: #C9D4DB; }
.vs-footer__badge { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--vs-marfim); flex: none; }
.vs-footer__badge img { width: 40px; height: 30px; }
.vs-footer__sign { margin-top: 12px; color: #C9D4DB; max-width: 26em; }
.vs-footer__col h2 { font-size: .9375rem; font-weight: 700; color: #fff; letter-spacing: 0; margin-bottom: 10px; }
.vs-footer__col ul { display: grid; gap: 2px; }
.vs-footer__col a { display: inline-flex; min-height: 40px; align-items: center; text-decoration: none; }
.vs-footer__col a:hover { text-decoration: underline; text-decoration-color: var(--vs-amarelo); }
.vs-footer__bottom { display: grid; gap: 14px; padding-top: 28px; }
.vs-footer__notice { color: #C9D4DB; }
.vs-footer__credit { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; color: #C9D4DB; }
.vs-footer__credit span[aria-hidden] { opacity: .5; }
@media (min-width: 768px) {
  .vs-footer__top { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); }
  .vs-footer__bottom { grid-template-columns: 1fr auto; align-items: center; }
}

/* ---------- 12. Botão flutuante (contato do desenvolvedor) ---------- */
.vs-fab {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px 10px 14px;
  background: var(--vs-azul); color: #fff; border-radius: 999px; text-decoration: none; font-weight: 680; font-size: .9375rem;
  box-shadow: 0 14px 30px -14px rgba(24, 54, 75, .75), 0 0 0 1px rgba(255, 255, 255, .08) inset;
  transition: transform .4s var(--vs-ease-out), opacity .3s var(--vs-ease), background-color .25s var(--vs-ease), visibility 0s;
}
.vs-fab:hover { background: var(--vs-azul-2); }
.vs-fab svg { width: 22px; height: 22px; flex: none; fill: #fff; }
.vs-fab:focus-visible { outline-color: var(--vs-amarelo); }
.vs-fab.is-hidden { opacity: 0; transform: translateY(16px); visibility: hidden; pointer-events: none; transition: transform .3s var(--vs-ease), opacity .25s var(--vs-ease), visibility 0s linear .3s; }
@media (max-width: 479px) { .vs-fab { font-size: .875rem; padding: 9px 16px 9px 12px; } }

/* ---------- 13. Modal de visita ---------- */
.vs-modal {
  width: min(560px, calc(100% - 32px)); max-height: min(720px, calc(100dvh - 32px)); padding: 0; border: 0; border-radius: 20px;
  background: var(--vs-marfim); color: var(--vs-grafite); box-shadow: 0 32px 80px -24px rgba(12, 27, 38, .55); overflow: hidden;
}
.vs-modal[open] { display: flex; flex-direction: column; animation: vs-modal-in .35s var(--vs-ease-out) both; }
.vs-modal.is-closing { animation: vs-modal-out .2s var(--vs-ease) both; }
.vs-modal::backdrop { background: rgba(12, 27, 38, .55); }
.vs-modal[open]::backdrop { animation: vs-fade .3s var(--vs-ease) both; }
.vs-modal.is-closing::backdrop { animation: vs-fade-out .2s var(--vs-ease) both; }
.vs-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px 0 24px; }
.vs-modal__tag { font-size: .8125rem; font-weight: 650; color: var(--vs-terracota-texto); }
.vs-modal__close { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -6px; border: 0; border-radius: 50%; background: transparent; color: var(--vs-azul); cursor: pointer; transition: background-color .2s; }
.vs-modal__close:hover { background: rgba(24, 54, 75, .08); }
.vs-modal__close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }
.vs-modal__progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 14px 24px 0; }
.vs-modal__progress span { height: 4px; border-radius: 4px; background: var(--vs-linha); overflow: hidden; position: relative; }
.vs-modal__progress span::after { content: ""; position: absolute; inset: 0; background: var(--vs-azul); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--vs-ease-out); }
.vs-modal__progress span.is-done::after { transform: scaleX(1); }
.vs-modal__status { padding: 10px 24px 0; font-size: .8125rem; font-weight: 650; color: var(--vs-grafite-2); }
.vs-modal__body { padding: 8px 24px 8px; overflow-y: auto; overscroll-behavior: contain; flex: 1 1 auto; }
.vs-modal__step { display: grid; gap: 18px; padding-bottom: 12px; }
.vs-modal__step.is-entering { animation: vs-rise .35s var(--vs-ease-out) both; }
.vs-modal__step h2 { font-size: clamp(1.375rem, 1.2rem + .6vw, 1.625rem); outline: none; }
.vs-modal__step > p { color: var(--vs-grafite-2); }
.vs-modal fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.vs-choice { position: relative; display: block; }
.vs-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vs-choice__box { display: grid; grid-template-columns: 22px 1fr; gap: 2px 14px; align-items: start; padding: 14px 16px; border: 1.5px solid var(--vs-linha-forte); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .2s var(--vs-ease), box-shadow .2s var(--vs-ease), background-color .2s; }
.vs-choice__box::before { content: ""; grid-row: 1 / span 2; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; border: 1.5px solid var(--vs-linha-forte); background: #fff; transition: border .2s var(--vs-ease), box-shadow .2s; }
.vs-choice__name { font-weight: 680; color: var(--vs-azul); }
.vs-choice__hint { font-size: .875rem; color: var(--vs-grafite-2); }
.vs-choice:hover .vs-choice__box { border-color: var(--vs-azul); }
.vs-choice input:checked + .vs-choice__box { border-color: var(--vs-azul); box-shadow: 0 0 0 1px var(--vs-azul) inset; background: #fff; }
.vs-choice input:checked + .vs-choice__box::before { border: 6px solid var(--vs-azul); }
.vs-choice input:focus-visible + .vs-choice__box { outline: 3px solid var(--vs-terracota); outline-offset: 2px; }
.vs-modal__error { font-size: .875rem; font-weight: 650; color: var(--vs-terracota-texto); min-height: 1.4em; }
.vs-summary { display: grid; gap: 0; border-top: 1px solid var(--vs-linha); }
.vs-summary div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--vs-linha); }
.vs-summary dt { font-size: .875rem; font-weight: 650; color: var(--vs-grafite-2); }
.vs-summary dd { margin: 0; font-weight: 680; color: var(--vs-azul); }
.vs-modal__privacy { font-size: .875rem; color: var(--vs-grafite-2); padding: 12px 14px; background: var(--vs-nevoa); border-radius: 10px; }
.vs-modal__foot { display: flex; gap: 10px; justify-content: space-between; align-items: center; padding: 16px 24px 20px; border-top: 1px solid var(--vs-linha); background: var(--vs-marfim); }
.vs-modal__foot .vs-btn { min-width: 120px; }
.vs-modal__foot [data-visit-next] { margin-left: auto; }
.vs-done { display: grid; gap: 16px; justify-items: start; }
.vs-done__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--vs-amarelo); color: var(--vs-azul); }
.vs-done__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: vs-draw .5s var(--vs-ease-out) .15s forwards; }
.vs-done__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.vs-dev { display: grid; gap: 8px; width: 100%; margin-top: 8px; padding: 16px; border-radius: 12px; border: 1px solid var(--vs-linha); background: #fff; }
.vs-dev__label { font-size: .8125rem; font-weight: 700; color: var(--vs-terracota-texto); }
.vs-dev p { font-size: .9375rem; color: var(--vs-grafite-2); }
.vs-dev a { justify-self: start; }
@media (max-width: 559px) {
  .vs-modal { width: 100%; max-width: none; max-height: calc(100dvh - 24px); margin: auto 0 0; border-radius: 20px 20px 0 0; }
  .vs-modal[open] { animation-name: vs-sheet-in; }
  .vs-modal.is-closing { animation-name: vs-sheet-out; }
  .vs-modal__foot { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
}
html.vs-lock { overflow: hidden; }

/* ---------- 14. Páginas de etapa ---------- */
.vs-crumbs { padding-top: 20px; font-size: .875rem; }
.vs-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; color: var(--vs-grafite-2); }
.vs-crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.vs-crumbs a { display: inline-flex; min-height: 32px; align-items: center; color: var(--vs-azul); font-weight: 600; text-decoration-color: var(--vs-linha-forte); text-underline-offset: 3px; }
.vs-crumbs a:hover { text-decoration-color: var(--vs-terracota); }

.vs-phero { padding-block: clamp(24px, 4vw, 48px) clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.vs-phero__grid { display: grid; gap: 32px; align-items: center; }
.vs-phero__text { display: grid; gap: 20px; justify-items: start; }
.vs-phero h1 { font-size: clamp(2rem, 1.3rem + 2.9vw, 3.25rem); line-height: 1.08; letter-spacing: -0.03em; max-width: 14em; }
.vs-phero__media { margin: 0; position: relative; }
.vs-phero__photo { border-radius: var(--vs-radius); overflow: hidden; aspect-ratio: 3 / 2; background: var(--vs-nevoa); position: relative; z-index: 1; }
.vs-phero__photo img { width: 100%; height: 100%; object-fit: cover; }
.vs-phero__caption { position: absolute; z-index: 2; left: 14px; bottom: 14px; padding: 5px 10px; font-size: .75rem; font-weight: 600; color: var(--vs-azul); background: rgba(250, 247, 240, .92); border-radius: 8px; }
@media (min-width: 1024px) {
  .vs-phero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); }
}

.vs-blocks { display: grid; gap: 0; border-top: 1px solid var(--vs-linha-forte); }
.vs-block { display: grid; gap: 10px; padding: 28px 0; border-bottom: 1px solid var(--vs-linha); align-content: start; }
.vs-block__num { font-size: .875rem; font-weight: 700; color: var(--vs-terracota-texto); font-variant-numeric: tabular-nums; }
.vs-block h2, .vs-block h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }
.vs-block p { color: var(--vs-grafite-2); max-width: 34em; }

.vs-pcta { background: var(--vs-nevoa); overflow: hidden; position: relative; }
.vs-pcta__inner { display: grid; gap: 20px; justify-items: start; position: relative; z-index: 1; max-width: 720px; }
.vs-pcta p:not(.vs-note):not(.vs-eyebrow) { color: var(--vs-grafite-2); font-size: 1.0625rem; }

.vs-others { padding-block: clamp(56px, 7vw, 88px); }
.vs-others__list { display: grid; gap: 16px; }
.vs-other { display: grid; grid-template-columns: 112px 1fr auto; gap: 18px; align-items: center; padding: 12px; border: 1px solid var(--vs-linha); border-radius: var(--vs-radius); text-decoration: none; background: #fff; transition: border-color .25s var(--vs-ease), box-shadow .3s var(--vs-ease), transform .3s var(--vs-ease); }
.vs-other:hover { border-color: var(--vs-linha-forte); box-shadow: var(--vs-shadow); transform: translateY(-2px); }
.vs-other img { width: 112px; height: 76px; object-fit: cover; border-radius: 10px; }
.vs-other__name { font-weight: 680; color: var(--vs-azul); font-size: 1.0625rem; }
.vs-other__text { display: block; font-size: .875rem; color: var(--vs-grafite-2); }
.vs-other .vs-arrow { color: var(--vs-azul); margin-right: 8px; }
.vs-other:hover .vs-arrow { transform: translateX(3px); }
@media (min-width: 768px) { .vs-others__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 399px) { .vs-other { grid-template-columns: 88px 1fr; } .vs-other img { width: 88px; height: 64px; } .vs-other .vs-arrow { display: none; } }

/* Educação Infantil: calor, sol e blocos em três colunas */
.vs-page--infantil .vs-phero__sun { position: absolute; width: clamp(96px, 12vw, 150px); aspect-ratio: 1; border-radius: 50%; background: var(--vs-amarelo); right: -28px; top: -32px; }
.vs-page--infantil .vs-phero__arc { position: absolute; left: -40px; bottom: -48px; width: 220px; color: var(--vs-terracota); }
@media (min-width: 900px) {
  .vs-page--infantil .vs-blocks { grid-template-columns: repeat(3, 1fr); column-gap: 40px; border-top: 0; }
  .vs-page--infantil .vs-block { border-top: 2px solid var(--vs-terracota); border-bottom: 0; padding-top: 24px; }
}

/* Ensino Fundamental: Anos Iniciais → Anos Finais em trajetória */
.vs-journey { display: grid; gap: 40px; position: relative; }
.vs-journey__item { display: grid; gap: 12px; align-content: start; padding-top: 28px; border-top: 1px solid var(--vs-linha-forte); position: relative; }
.vs-journey__item::before { content: ""; position: absolute; top: -7px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--vs-marfim); border: 2px solid var(--vs-terracota); }
.vs-journey__item:nth-child(2)::before { background: var(--vs-terracota); }
.vs-journey__years { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); font-weight: 700; color: var(--vs-azul); letter-spacing: -0.03em; line-height: 1; }
.vs-journey__item h2 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }
.vs-journey__item p { color: var(--vs-grafite-2); max-width: 30em; }
@media (min-width: 768px) { .vs-journey { grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 6vw, 96px); } }
.vs-connect { display: grid; gap: 28px; justify-items: stretch; align-items: center; margin-top: clamp(48px, 6vw, 80px); padding: clamp(24px, 4vw, 48px); background: var(--vs-marfim-2); border-radius: 20px; }
.vs-connect__graphic { width: 100%; max-width: 360px; height: auto; justify-self: center; }
.vs-connect__path { fill: none; stroke: var(--vs-azul); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset 1.2s var(--vs-ease-out) .15s; }
.vs-connect__path--soft { stroke: var(--vs-terracota); stroke-dasharray: 4 7; stroke-dashoffset: 0; opacity: .7; transition: none; }
.vs-connect__node { fill: var(--vs-marfim); stroke: var(--vs-azul); stroke-width: 1.5; }
.vs-connect__node--sun { fill: var(--vs-amarelo); stroke: none; }
.vs-connect__node--terra { fill: var(--vs-terracota); stroke: none; }
.no-js .vs-connect__path, .vs-connect.is-in .vs-connect__path { stroke-dashoffset: 0; }
.vs-connect__path--soft { stroke-dashoffset: 0 !important; }
.vs-connect__text { display: grid; gap: 12px; }
.vs-connect__text h2 { font-size: clamp(1.4rem, 1.15rem + .9vw, 1.875rem); }
.vs-connect__text p { color: var(--vs-grafite-2); max-width: 32em; }
@media (min-width: 768px) { .vs-connect { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
@media (prefers-reduced-motion: reduce) { .vs-connect__path { stroke-dashoffset: 0; } }

/* Ensino Médio: composição sóbria, faixa azul e lista numerada */
.vs-page--medio .vs-phero { background: var(--vs-azul); color: #E1E8ED; }
.vs-page--medio .vs-phero h1 { color: var(--vs-marfim); }
.vs-page--medio .vs-phero .vs-eyebrow { color: var(--vs-amarelo); }
.vs-page--medio .vs-phero .vs-lead { color: #D2DCE2; }
.vs-page--medio .vs-phero__lines { position: absolute; right: -80px; top: -60px; width: 460px; color: var(--vs-marfim); opacity: .09; pointer-events: none; }
.vs-page--medio .vs-crumbs-band { background: var(--vs-azul); }
.vs-page--medio .vs-crumbs ol { color: #C3CFD7; }
.vs-page--medio .vs-crumbs a { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); }
.vs-page--medio .vs-crumbs :focus-visible, .vs-page--medio .vs-phero :focus-visible { outline-color: var(--vs-amarelo); }
.vs-page--medio .vs-block { grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .vs-page--medio .vs-block { grid-template-columns: 80px minmax(0, 4fr) minmax(0, 6fr); gap: 24px; align-items: baseline; padding-block: 32px; }
  .vs-page--medio .vs-block__num { color: var(--vs-azul); }
  .vs-page--medio .vs-phero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .vs-page--medio .vs-phero__media { order: -1; }
}

/* ---------- 15. Movimento ---------- */
@keyframes vs-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes vs-photo-in { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
@keyframes vs-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes vs-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes vs-grow { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes vs-draw-line { to { stroke-dashoffset: 0; } }
@keyframes vs-draw { to { stroke-dashoffset: 0; } }
@keyframes vs-modal-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes vs-modal-out { to { opacity: 0; transform: translateY(8px) scale(.99); } }
@keyframes vs-sheet-in { from { transform: translateY(100%); } to { transform: none; } }
@keyframes vs-sheet-out { to { transform: translateY(100%); } }

/* Entrada coordenada da abertura (só CSS: termina visível mesmo se o JS falhar) */
.vs-enter { animation: vs-rise .5s var(--vs-ease-out) both; animation-delay: calc(var(--i, 0) * 70ms + 60ms); }
.vs-enter-photo { animation: vs-photo-in .55s var(--vs-ease-out) .1s both; }
.vs-enter-deco { animation: vs-grow .55s var(--vs-ease-out) .3s both; }
.vs-hero__arc path, .vs-phero__arc path { stroke-dasharray: 600; stroke-dashoffset: 600; animation: vs-draw-line 1.1s var(--vs-ease-out) .35s forwards; }

/* Detalhe que acompanha o ponteiro (só desktop, via JS) */
.vs-hero__media [data-parallax] { transition: transform .6s var(--vs-ease-out); }

/* Revelação única ao entrar na tela */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--vs-ease-out), transform .55s var(--vs-ease-out); transition-delay: calc(var(--d, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .vs-stage:hover .vs-stage__media img, .vs-stage:focus-within .vs-stage__media img { transform: none; }
  .vs-hero__arc path, .vs-phero__arc path { stroke-dashoffset: 0; }
  .vs-done__icon svg { stroke-dashoffset: 0; }
}

@media print {
  .vs-header, .vs-fab, .vs-modal, .vs-gallery__nav, .vs-js-only { display: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
