/* =========================================================
   Escola SESI Alagoas — Site Mãe
   Design System (Lato, azul-marinho + verde)
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Primárias */
  --blue:        #004793;
  --blue-900:    #00356e;
  --blue-700:    #0a4f9c;
  --blue-500:    #1e63b0;
  --blue-300:    #7ea6d6;
  --blue-100:    #e6eefa;

  --green:       #3cae49;   /* acento (icones, selos, deco) */
  --green-cta:   #2a8235;   /* fundo de botao verde (AA com texto branco) */
  --green-700:   #256e2c;   /* texto verde sobre claro / hover de botao (AA) */
  --green-300:   #8ace91;
  --green-100:   #e8f6ea;

  /* Acentos secundários */
  --cyan:        #17a9e0;
  --teal:        #5ec2b8;
  --magenta:     #da6bc8;

  /* Neutras */
  --ink:         #1b2733;
  --gray-800:    #2e3a46;
  --gray-600:    #5a6b7b;
  --gray-500:    #697682;
  --gray-400:    #9aa7b2;
  --gray-300:    #c6cdd4;
  --gray-200:    #dfe4e9;
  --gray-100:    #eef1f4;
  --bg:          #f6f8fa;
  --white:       #ffffff;

  /* Tipografia */
  --font: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Layout */
  --wrap:        1200px;
  --radius:      8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --shadow-sm:   0 2px 8px rgba(16, 34, 58, 0.06);
  --shadow-md:   0 8px 24px rgba(16, 34, 58, 0.10);
  --shadow-lg:   0 18px 48px rgba(16, 34, 58, 0.16);
  --ease:        300ms ease;
  --header-h:    84px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; }

/* Evita palavras órfãs na última linha */
h1, h2, h3, h4, .h1, .h2, .h3, .hero__title { text-wrap: balance; }
p, .lead, .subtitle, .hero__text, li { text-wrap: pretty; }

/* ---------- Tipografia ---------- */
.h1 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); font-weight: 900; }
.h2 { font-size: clamp(1.5rem, 2.8vw, 1.875rem); font-weight: 900; }
.h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem);  font-weight: 800; }
.subtitle { font-size: 1.05rem; color: var(--gray-600); font-weight: 400; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-700);
}
.lead { font-size: 1.08rem; color: var(--gray-600); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section--tint { background: var(--bg); }
.section--blue { background: var(--blue); color: var(--white); }
.center { text-align: center; }
.stack-sm > * + * { margin-top: 12px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.section-head { max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head .h2 { margin-top: 10px; }
.section-head p { margin: 16px 0 0; color: var(--gray-600); font-size: 1.05rem; }
.section-head--wide { max-width: 940px; }
.section-head--wide p { text-wrap: balance; }

/* Destaque de termos no texto */
.hl { color: var(--blue); font-weight: 800; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  padding: 16px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease), transform var(--ease);
  text-align: center;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--sm { padding: 10px 18px; font-size: 0.9rem; }
.btn--lg { padding: 18px 34px; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }

/* Primário */
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--green); }
.btn--primary:active { background: var(--green-700); }
.btn--primary:focus-visible { outline: none; background: var(--teal); box-shadow: 0 0 0 4px rgba(94,194,184,0.35); }

/* Secundário (branco/contorno) */
.btn--secondary { background: var(--white); color: var(--blue); border-color: var(--blue); }
.btn--secondary:hover { background: var(--blue-100); }
.btn--secondary:active { background: var(--gray-100); }
.btn--secondary:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(0,71,147,0.20); }

/* Secundário sobre fundo escuro */
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

/* Verde (destaque, com traçado branco no hover) */
.btn--green { background: var(--green-cta); color: #fff; border-color: var(--green-cta); }
.btn--green:hover { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.btn--green:active { background: var(--green-700); border-color: var(--green-700); }
.btn--green:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(60,174,73,0.35); }

/* Terciário (texto) */
.btn--text { background: transparent; color: var(--blue); padding: 8px 4px; }
.btn--text:hover { color: var(--green-700); }
.btn--text .arrow { transition: transform var(--ease); }
.btn--text:hover .arrow { transform: translateX(4px); }

/* ---------- Acentos "+" flat (padrão do PSD) ---------- */
:root {
  --plus-mask: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iQ2FtYWRhXzIiIGRhdGEtbmFtZT0iQ2FtYWRhIDIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDc1LjA1IDY2LjAzIj4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiBub25lOwogICAgICAgIHN0cm9rZTogIzI2YmRmOTsKICAgICAgICBzdHJva2UtbWl0ZXJsaW1pdDogMTA7CiAgICAgIH0KICAgIDwvc3R5bGU+CiAgPC9kZWZzPgogIDxnIGlkPSJNb2RvX2RlX2lzb2xhbWVudG8iIGRhdGEtbmFtZT0iTW9kbyBkZSBpc29sYW1lbnRvIj4KICAgIDxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTQ2LjY4LDQ0LjIzbC0zLjU1LDIwLjA2Yy0uMTMuNzItLjc1LDEuMjQtMS40OCwxLjI0aC0xOS4wOWMtLjkzLDAtMS42NC0uODQtMS40OC0xLjc2bDMuMzctMTkuMDJjLjE2LS45Mi0uNTQtMS43Ni0xLjQ4LTEuNzZIMmMtLjkzLDAtMS42NC0uODQtMS40OC0xLjc1bDIuODgtMTYuOTVjLjEyLS43Mi43NS0xLjI1LDEuNDgtMS4yNWgyMi4wMWMuNzMsMCwxLjM1LS41MiwxLjQ4LTEuMjRMMzEuOTIsMS43NGMuMTMtLjcyLjc1LTEuMjQsMS40OC0xLjI0aDE5LjA5Yy45MywwLDEuNjQuODQsMS40OCwxLjc2bC0zLjM3LDE5LjAyYy0uMTYuOTIuNTQsMS43NiwxLjQ4LDEuNzZoMjAuOTdjLjkzLDAsMS42NC44NCwxLjQ4LDEuNzVsLTIuODgsMTYuOTVjLS4xMi43Mi0uNzUsMS4yNS0xLjQ4LDEuMjVoLTIyLjAxYy0uNzMsMC0xLjM1LjUyLTEuNDgsMS4yNFoiLz4KICA8L2c+Cjwvc3ZnPg==");
}
.deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.deco-plus {
  position: absolute;
  -webkit-mask: var(--plus-mask) center / contain no-repeat;
  mask: var(--plus-mask) center / contain no-repeat;
  background-color: var(--cyan);
  width: 40px; height: 40px;
  opacity: 0.9;
  transform: scale(1.7);
}
.deco-plus.is-cyan    { background-color: var(--cyan); }
.deco-plus.is-blue    { background-color: var(--blue); }
.deco-plus.is-green   { background-color: var(--green); }
.deco-plus.is-pink    { background-color: var(--magenta); }
.deco-plus.is-cyan-soft  { background-color: var(--cyan); opacity: 0.28; }
.deco-plus.is-blue-soft  { background-color: var(--blue-300); opacity: 0.5; }
.deco-plus.is-green-soft { background-color: var(--green-300); opacity: 0.55; }
.deco-plus.is-pink-soft  { background-color: var(--magenta); opacity: 0.3; }
/* garante o conteúdo acima dos acentos */
.section > .wrap, .feature-full__overlay, .cta-band, .footer-grid, .footer-bottom { position: relative; z-index: 1; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--gray-200);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > ul { display: flex; align-items: center; gap: 0; }
.nav a.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  color: var(--gray-800);
  transition: color var(--ease), background var(--ease);
}
.nav a.nav-link:hover { color: var(--blue); background: var(--blue-100); }
.nav-item { position: relative; }
.nav-item > .nav-link .chev { width: 14px; height: 14px; transition: transform var(--ease); }
.nav-item:hover > .nav-link .chev { transform: rotate(180deg); }

/* Dropdown Unidades */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-weight: 700;
  color: var(--gray-800);
  transition: background var(--ease), color var(--ease);
}
.dropdown a span { display: block; font-weight: 400; font-size: 0.82rem; color: var(--gray-500); margin-top: 2px; }
.dropdown a:hover { background: var(--blue-100); color: var(--blue); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none;
  border: 0; background: transparent; cursor: pointer;
  width: 44px; height: 44px; border-radius: var(--radius);
  color: var(--blue);
}
.menu-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(56vh, 500px);
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(0,53,110,0.90) 0%, rgba(0,71,147,0.72) 45%, rgba(0,71,147,0.30) 100%);
}
.hero__media::after {
  background: linear-gradient(100deg, rgba(0,42,88,0.92) 0%, rgba(0,58,120,0.78) 40%, rgba(0,71,147,0.42) 75%, rgba(0,71,147,0.22) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 72px; }
.hero__inner { max-width: 760px; }
.hero__title {
  font-size: clamp(1.9rem, 3.8vw, 2.5rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0,26,56,0.35);
}
.hero__text {
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
  line-height: 1.6;
  font-weight: 400;
  margin-top: 22px;
  max-width: 620px;
  color: rgba(255,255,255,0.94);
}
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero__scroll svg { width: 26px; height: 26px; animation: heroBounce 1.8s ease-in-out infinite; }
.hero__scroll:hover { color: #fff; }
@keyframes heroBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__scroll svg { animation: none; }
}

/* ---------- Diferenciais (Bloco 2) ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.pillar {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-300); }
.pillar__photo { aspect-ratio: 4 / 3; overflow: hidden; flex: none; }
.pillar__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.pillar:hover .pillar__photo img { transform: scale(1.05); }
.pillar__body { padding: 24px; display: flex; flex-direction: column; }
.pillar__body h3 { font-size: 1.15rem; }
.pillar__body p { margin: 10px 0 0; color: var(--gray-600); font-size: 0.96rem; }
/* ícone do tópico */
.pillar__ic { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: var(--gray-100); margin-bottom: 16px; }
.pillar__ic img { width: 42px; height: 42px; display: block; }

/* ---------- Galeria ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.gallery figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery img { aspect-ratio: 1 / 1; object-fit: cover; transition: transform 600ms ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery figure:first-child img { aspect-ratio: auto; height: 100%; }

/* ---------- Bloco laboratório (Bloco 3) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.split__media img { border-radius: var(--radius-xl); box-shadow: var(--shadow-md); }
.split--reverse .split__media { order: 2; }

/* ---------- Formulário Agende sua visita (Bloco 4) ---------- */
.visit { position: relative; overflow: hidden; }
.visit__card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(28px, 4vw, 52px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; color: var(--gray-800); }
.field input, .field select {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  transition: border-color var(--ease), box-shadow var(--ease);
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6b7b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; padding-right: 46px;
}
.field input:hover, .field select:hover { border-color: var(--green); }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,71,147,0.14); }

/* ---------- Trajetória (Bloco 5) ---------- */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.tl-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease);
}
.tl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tl-card__img { aspect-ratio: 16 / 10; overflow: hidden; flex: none; }
.tl-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.tl-card:hover .tl-card__img img { transform: scale(1.05); }
.tl-card__body { padding: 26px; position: relative; }
.tl-card__num {
  position: absolute; top: -27px; left: 26px;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue); color: #fff; font-weight: 900; font-size: 1.2rem;
  border: 4px solid var(--white);
}
.tl-card:nth-child(2) .tl-card__num { background: var(--green); }
.tl-card:nth-child(3) .tl-card__num { background: #0f7ba6; }
.tl-card__body h3 { font-size: 1.25rem; margin-top: 20px; }
.tl-card__body p { color: var(--gray-600); margin: 10px 0 0; }
.only-tag {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  background: var(--green-100, #e4f6e6); color: var(--green-700);
  font-weight: 800; font-size: 0.68rem; line-height: 1.2;
  padding: 6px 11px; border-radius: 10px; border: 1px solid rgba(60,174,73,0.28);
  white-space: nowrap;
}
.only-tag svg { width: 14px; height: 14px; flex: none; }

/* ---------- Atividades / além da sala (Bloco 6) ---------- */
.feature-full {
  position: relative;
  width: 100%;
  min-height: clamp(440px, 62vh, 620px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.feature-full__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-full__overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(48px, 8vw, 110px) 0 clamp(40px, 6vw, 72px);
  background: linear-gradient(0deg, rgba(0,28,60,0.96) 0%, rgba(0,28,60,0.82) 40%, rgba(0,28,60,0.62) 72%, rgba(0,28,60,0.5) 100%);
}
.feature-full__body { max-width: 720px; }

/* ---------- Unidades (Bloco 7) ---------- */
.units { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; }
.unit-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease);
}
.unit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.unit-card__img { aspect-ratio: 16 / 10; flex: none; overflow: hidden; position: relative; }
.unit-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.unit-card__body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.unit-card__body h3 { font-size: 1.4rem; color: var(--blue); }
.unit-card__addr { display: flex; gap: 10px; color: var(--gray-600); font-size: 0.95rem; }
.unit-card__addr svg { width: 20px; height: 20px; flex: none; color: var(--green-700); margin-top: 2px; }
.unit-card__map { border: 0; width: 100%; height: 200px; border-radius: var(--radius); }
.unit-card .btn { margin-top: auto; }

/* ---------- Blog / notícias (Bloco 8) ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 48px; }
.post-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.post-card:hover .post-card__img img { transform: scale(1.05); }
.post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.tag {
  align-self: flex-start;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green-700); background: var(--green-100);
  padding: 5px 10px; border-radius: 999px;
}
.post-card h3 { font-size: 1.15rem; }
.post-card p { color: var(--gray-600); font-size: 0.95rem; margin: 0; }
.post-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Carrossel (trilho) ---------- */
.rail-wrap { position: relative; }
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 1fr);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.rail > * { scroll-snap-align: start; }
.rail::-webkit-scrollbar { height: 8px; }
.rail::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 999px; }
.rail-nav { display: flex; gap: 10px; }
.rail-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--gray-300); background: var(--white); color: var(--blue);
  cursor: pointer; display: grid; place-items: center;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}
.rail-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.rail-btn svg { width: 20px; height: 20px; }
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }

/* ---------- CTA faixa ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--blue-900), var(--blue));
  color: #fff; border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 64px);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.deco-plus.is-white-soft { background-color: #fff; opacity: 0.12; }
.deco-plus.is-green-bright { background-color: var(--green); opacity: 0.85; }

/* ---------- Páginas internas: page hero ---------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 360px;
  color: var(--white);
  overflow: hidden;
}
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0,42,88,0.94) 0%, rgba(0,58,120,0.78) 45%, rgba(0,71,147,0.5) 100%);
}
.page-hero .wrap { position: relative; z-index: 1; padding-top: 130px; padding-bottom: 52px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; font-weight: 700; color: rgba(255,255,255,0.82); margin-bottom: 16px; }
.breadcrumb a { transition: color var(--ease); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 14px; height: 14px; opacity: 0.7; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); font-weight: 900; letter-spacing: -0.02em; }
.page-hero p { margin-top: 16px; max-width: 640px; font-size: 1.08rem; color: rgba(255,255,255,0.92); }

/* ---------- Intro em duas colunas ---------- */
.intro-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.intro-split__head .h2 { position: relative; }
.intro-split__head .h2::after {
  content: ""; display: block; width: 56px; height: 5px; border-radius: 4px;
  background: var(--green); margin-top: 20px;
}
.intro-split__body p { color: var(--gray-600); font-size: 1.08rem; }
.intro-split__body p + p { margin-top: 20px; }

/* ---------- Grade de diferenciais (A Escola) ---------- */
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.diff-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.diff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-300); }
.diff-card__photo { aspect-ratio: 16 / 9; overflow: hidden; flex: none; }
.diff-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.diff-card:hover .diff-card__photo img { transform: scale(1.05); }
.diff-card__body { padding: 30px 32px 34px; position: relative; }
.diff-card__body h3 { font-size: 1.3rem; margin-top: 12px; }
.diff-card__ic { width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center; background: #fff; position: absolute; top: -29px; left: 30px; border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm); }
.diff-card__ic img { width: 34px; height: 34px; display: block; }
.diff-card__body p { margin: 12px 0 0; color: var(--gray-600); }

/* ---------- Seção "O que valoriza" com imagem de fundo ---------- */
.value-hero {
  position: relative;
  min-height: clamp(420px, 52vh, 560px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}
.value-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.value-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(3,42,28,0.72) 0%, rgba(3,42,28,0.45) 38%, rgba(3,42,28,0) 66%);
}
.value-hero .wrap { position: relative; z-index: 1; }
.value-hero__body { max-width: 560px; }
.value-hero__body p { margin-top: 16px; font-size: 1.12rem; color: rgba(255,255,255,0.94); }
.value-hero__body .btn { margin-top: 28px; }
@media (max-width: 700px) {
  .value-hero::after { background: linear-gradient(0deg, rgba(3,42,28,0.85) 0%, rgba(3,42,28,0.5) 55%, rgba(3,42,28,0.35) 100%); }
}

@media (max-width: 900px) {
  .intro-split { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  .diff-grid { grid-template-columns: 1fr; }
  /* No mobile os "+" decorativos viram acentos discretos para nao atrapalhar a leitura */
  .deco-plus { opacity: 0.14 !important; transform: scale(1); }
  .deco-plus.is-cyan-soft, .deco-plus.is-blue-soft,
  .deco-plus.is-green-soft, .deco-plus.is-pink-soft { opacity: 0.1 !important; }
}

/* ---------- Metodologias (linhas alternadas) ---------- */
.method { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.method + .method { margin-top: clamp(48px, 7vw, 88px); }
.method__media img { border-radius: var(--radius-xl); box-shadow: var(--shadow-md); width: 100%; }
.method:nth-child(even) .method__media { order: 2; }
.method__body h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.method__body h3::before {
  content: ""; display: block; width: 48px; height: 5px; border-radius: 4px;
  background: var(--blue); margin-bottom: 16px;
}
.method:nth-child(2) .method__body h3::before { background: var(--green); }
.method:nth-child(3) .method__body h3::before { background: var(--cyan); }
.method:nth-child(4) .method__body h3::before { background: var(--teal); }
.method__body p { color: var(--gray-600); font-size: 1.06rem; margin: 16px 0 0; }
@media (max-width: 860px) {
  .method { grid-template-columns: 1fr; gap: 28px; }
  .method:nth-child(even) .method__media { order: 0; }
}

/* ---------- Card de matrícula ---------- */
.enroll-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(28px, 4vw, 48px);
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.enroll-card .h2 { margin-bottom: 10px; }
.enroll-card p { color: var(--gray-600); margin: 0 auto 28px; max-width: 480px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
.enroll-card .field { margin-bottom: 20px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Atividades ---------- */
.act-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: 48px; }
.act-grid .act-card:nth-child(-n+3) { grid-column: span 4; }
.act-grid .act-card:nth-child(n+4) { grid-column: span 3; }
.act-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.act-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-300); }
.act-card__photo { aspect-ratio: 16 / 10; overflow: hidden; flex: none; position: relative; }
.act-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.act-card:hover .act-card__photo img { transform: scale(1.05); }
.act-card__body { padding: 26px 24px 28px; position: relative; }
.act-card__icon { width: 58px; height: 58px; border-radius: 15px; position: absolute; top: -29px; left: 22px; background: #fff; border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm); display: grid; place-items: center; }
.act-card__icon img { width: 34px; height: 34px; display: block; }
.act-card h3 { font-size: 1.18rem; margin-top: 12px; }
.act-card p { margin: 10px 0 0; color: var(--gray-600); font-size: 0.97rem; }
@media (max-width: 900px) {
  .act-grid { grid-template-columns: repeat(2, 1fr); }
  .act-grid .act-card:nth-child(-n+3), .act-grid .act-card:nth-child(n+4) { grid-column: auto; }
}
@media (max-width: 600px) {
  .act-grid { grid-template-columns: 1fr; }
}

/* Cards de diferenciais (somente ícone) - sites filhos */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.feat-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-300); }
.feat-card__icon { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: var(--gray-100); margin-bottom: 16px; }
.feat-card__icon img { width: 42px; height: 42px; display: block; }
.feat-card h3 { font-size: 1.18rem; }
.feat-card p { margin: 10px 0 0; color: var(--gray-600); font-size: 0.97rem; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } }

/* Programas Seja SESI+ */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.program {
  background: linear-gradient(150deg, var(--blue-900), var(--blue));
  color: #fff; border: 0;
  border-radius: var(--radius-lg);
  padding: 28px 24px; box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease);
}
.program:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.program__logo { height: 56px; width: auto; max-width: 100%; display: block; margin-bottom: 18px; }
.program h4 { font-size: 1.05rem; color: #fff; margin-bottom: 8px; }
.program p { color: rgba(255,255,255,0.88); font-size: 0.95rem; margin: 0; }
.program .tag { margin-top: 16px; background: rgba(255,255,255,0.16); color: #fff; }
@media (max-width: 800px) { .programs { grid-template-columns: 1fr; } }

/* ---------- Novidades (blog) ---------- */
.blog-toolbar { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin: 8px 0 40px; }
.blog-search { position: relative; flex: 1; min-width: 240px; max-width: 440px; }
.blog-search input {
  width: 100%; font-family: var(--font); font-size: 1rem;
  padding: 14px 16px 14px 46px; border: 1.5px solid var(--gray-300);
  border-radius: var(--radius); background: var(--white); color: var(--ink);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.blog-search input:hover { border-color: var(--green); }
.blog-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,71,147,0.14); }
.blog-search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--gray-500); }
.blog-filter select {
  font-family: var(--font); font-size: 1rem; color: var(--ink);
  padding: 14px 46px 14px 16px; border: 1.5px solid var(--gray-300);
  border-radius: var(--radius); background: var(--white); cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6b7b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.blog-filter select:hover { border-color: var(--green); }
.blog-filter select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,71,147,0.14); }
.blog-empty { display: none; text-align: center; color: var(--gray-500); padding: 48px 0; font-size: 1.05rem; }
.posts--list { margin-top: 0; }
.post-card.is-hidden { display: none; }

/* breadcrumb sobre fundo claro */
.breadcrumb.on-light { color: var(--gray-500); margin-bottom: 28px; }
.breadcrumb.on-light a { color: var(--gray-600); }
.breadcrumb.on-light a:hover { color: var(--blue); }
.breadcrumb.on-light svg { color: var(--gray-400); }

/* destaques: 1 grande + 2 menores (menores preenchem a altura do grande) */
.section--tight-top { padding-top: 28px; }
.section--tight-bottom { padding-bottom: 28px; }
/* Rotulo/kicker (alternativa mais leve ao eyebrow em caixa alta) */
.kicker { display: inline-block; font-weight: 800; font-size: 0.9rem; color: var(--green-700); background: var(--green-100, #e4f6e6); padding: 7px 16px; border-radius: 999px; letter-spacing: 0.01em; }
.featured { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; margin-bottom: 44px; align-items: stretch; }
.featured__side { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; min-height: 0; }
.post-card--feature .post-card__body { padding: 28px; }
.post-card--feature h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
/* cards menores: imagem flexível ocupa o espaço restante da linha */
.featured__side .post-card { min-height: 0; }
.featured__side .post-card__img { flex: 1 1 auto; aspect-ratio: auto; min-height: 0; }
.featured__side .post-card__img img { height: 100%; }
.featured__side .post-card__body { flex: 0 0 auto; padding: 16px 20px; }
.featured__side .post-card__body h3 { font-size: 1.05rem; }
@media (max-width: 860px) {
  .featured { grid-template-columns: 1fr; }
  .featured__side { grid-template-rows: auto; }
  .featured__side .post-card__img { flex: none; aspect-ratio: 16 / 9; }
  .featured__side .post-card__img img { height: auto; }
}

/* carregar mais */
.blog-more { display: flex; justify-content: center; margin-top: 44px; }
.post-card.is-paged { display: none; }

/* ---------- Página interna do post ---------- */
.post-article { max-width: 760px; margin: 0 auto; }
.post-tag-row { margin-bottom: 18px; }
.post-title { font-size: clamp(1.9rem, 3.6vw, 2.5rem); font-weight: 900; letter-spacing: -0.02em; }
.post-meta { display: flex; gap: 18px; align-items: center; color: var(--gray-500); font-size: 0.92rem; font-weight: 700; margin-top: 18px; flex-wrap: wrap; }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta svg { width: 16px; height: 16px; }
.post-cover { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); margin: 32px 0 40px; }
.post-content { color: var(--gray-800); font-size: 1.1rem; line-height: 1.75; }
.post-content > * + * { margin-top: 22px; }
.post-content h2 { font-size: 1.6rem; margin-top: 42px; color: var(--ink); }
.post-content h3 { font-size: 1.3rem; margin-top: 32px; color: var(--ink); }
.post-content ul { padding-left: 22px; list-style: disc; }
.post-content li + li { margin-top: 8px; }
.post-content blockquote {
  border-left: 4px solid var(--green); background: var(--bg);
  padding: 20px 26px; border-radius: 0 12px 12px 0;
  font-size: 1.18rem; font-style: italic; color: var(--ink); margin-left: 0;
}
.post-content strong { color: var(--ink); }
.post-back { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--blue); }
.post-back svg { width: 18px; height: 18px; }
.post-share { display: flex; gap: 12px; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--gray-200); }
.post-share span { font-weight: 800; color: var(--gray-600); font-size: 0.9rem; }
.post-share a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gray-100); color: var(--blue); transition: background var(--ease), color var(--ease); }
.post-share a:hover { background: var(--blue); color: #fff; }
.post-share svg { width: 18px; height: 18px; }
.cta-band h2 { font-size: clamp(1.4rem, 2.2vw, 1.875rem); max-width: 640px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c7d0da; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.site-footer img.footer-logo { height: 40px; margin-bottom: 20px; }
.site-footer h4 { color: #fff; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #c7d0da; transition: color var(--ease); }
.site-footer a:hover { color: #fff; }
.footer-links li + li { margin-top: 10px; }
.footer-links--top { margin-top: 2px; }
.footer-cta-btn { margin-top: 20px; padding: 12px 22px; font-size: 0.95rem; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--green); margin-top: 3px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.08); display: grid; place-items: center; transition: background var(--ease); }
.footer-social a:hover { background: var(--blue); }
.footer-social svg { width: 20px; height: 20px; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; color: var(--gray-400); }

/* =========================================================
   SITES FILHOS (landing de conversão)
   ========================================================= */

/* Hero slider */
.hero-slider { position: relative; min-height: min(50vh, 440px); overflow: hidden; color: var(--white); }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 800ms ease, visibility 800ms ease; display: flex; align-items: center; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0,42,88,0.92) 0%, rgba(0,58,120,0.66) 52%, rgba(0,71,147,0.28) 100%); }
.hero-slide .wrap { position: relative; z-index: 1; padding-top: 24px; padding-bottom: 48px; }
.hero-slide__body { max-width: 640px; }
.hero-slide__body .eyebrow { color: #8ace91; }
.hero-slide h2 { font-size: clamp(1.9rem, 3.8vw, 2.5rem); font-weight: 900; line-height: 1.08; letter-spacing: -0.02em; margin-top: 10px; text-shadow: 0 2px 20px rgba(0,26,56,0.35); }
.hero-slide p { margin-top: 16px; font-size: 1.08rem; color: rgba(255,255,255,0.94); max-width: 520px; }
.hero-slide__actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 26px; left: 0; right: 0; z-index: 2; display: flex; gap: 10px; justify-content: center; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.5); cursor: pointer; transition: background var(--ease), width var(--ease); padding: 0; }
.hero-dots button.is-active { background: #fff; width: 32px; border-radius: 6px; }

/* Hero como carrossel de banners (com texto embutido na arte) */
.hero-slider--banner { min-height: 0; aspect-ratio: 1470 / 375; background: var(--blue-900, #002a58); }
.hero-slider--banner .hero-slide { display: block; }
.hero-slider--banner .hero-slide::after { display: none; }
.hero-slider--banner .hero-slide picture { position: absolute; inset: 0; }
.hero-slider--banner .hero-slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .hero-slider--banner { aspect-ratio: 500 / 370; }
}

/* Vídeo com botão de áudio */
.video-frame { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); background: #000; }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-frame--wide { aspect-ratio: 16 / 9; max-width: 960px; margin-left: auto; margin-right: auto; }
.video-unmute { position: absolute; bottom: 16px; right: 16px; display: inline-flex; align-items: center; gap: 8px; background: rgba(0,0,0,0.62); color: #fff; border: 0; border-radius: 999px; padding: 10px 16px; font-family: var(--font); font-weight: 800; font-size: 0.85rem; cursor: pointer; transition: background var(--ease); }
.video-unmute:hover { background: rgba(0,0,0,0.82); }
.video-unmute svg { width: 18px; height: 18px; }

/* A Unidade: mini diferenciais (uma linha) */
.mini-diffs { display: flex; flex-wrap: nowrap; gap: 8px; margin-top: 26px; }
.mini-diff { display: inline-flex; align-items: center; gap: 6px; background: var(--blue-100); color: var(--blue); font-weight: 800; font-size: 0.82rem; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.mini-diff svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 1040px) { .mini-diffs { flex-wrap: wrap; } }

/* Seção com foto de fundo desfocada */
.has-bg { position: relative; overflow: hidden; }
.section-bg { position: absolute; inset: 0; width: 100%; height: 120%; top: -10%; object-fit: cover; filter: blur(9px) brightness(0.85); transform: scale(1.16); will-change: transform; z-index: 0; }
.has-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(0,42,88,0.82), rgba(0,71,147,0.62)); z-index: 0; }
.has-bg > .wrap { position: relative; z-index: 1; }

/* Galeria da estrutura (4 + 4) */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.gallery-grid figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; transition: transform 500ms ease; }
.gallery-grid figure:hover img { transform: scale(1.06); }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* Esteira de diferenciais (marquee) */
.marquee { overflow: hidden; margin-top: 40px; padding: 16px 0; background: var(--blue); border-radius: var(--radius-lg); }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; white-space: nowrap; font-size: 0.98rem; }
.marquee__item svg { width: 20px; height: 20px; color: #8ace91; flex: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* A Unidade: coluna preenche a altura da foto */
.split--fill { align-items: stretch; }
.split--fill .split__media { height: 100%; }
.split--fill .split__media img { height: 100%; width: 100%; object-fit: cover; }
.split--fill .split__body { display: flex; flex-direction: column; justify-content: space-between; }
@media (max-width: 900px) {
  .split--fill .split__media img { height: auto; }
  .split--fill .split__body { display: block; }
}

/* Formulário agende (steps) */
.visit-form { background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: clamp(28px, 4vw, 48px); }
.form-step { display: none; }
.form-step.is-active { display: block; }
.form-steps-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.form-steps-bar .dot { flex: 1; height: 6px; border-radius: 999px; background: var(--gray-200); transition: background var(--ease); }
.form-steps-bar .dot.is-done { background: var(--green); }
.form-steps-bar .dot.is-current { background: var(--blue); }
.form-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 28px; }
.form-nav .btn { min-width: 130px; }
.form-step__label { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; color: var(--blue); margin-bottom: 20px; font-size: 1.05rem; }
.form-step__num { width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 0.9rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .field { margin: 0; }
.field--full { grid-column: 1 / -1; }
.radio-row { display: flex; gap: 22px; align-items: center; margin-top: 6px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gray-800); }
.schedule-choice { text-align: center; }
.schedule-choice p { color: var(--gray-700); font-size: 1.1rem; margin-bottom: 20px; }
.schedule-choice__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* Depoimentos (blocos alinham com a altura do vídeo) */
.testi-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: stretch; margin-top: 48px; }
.testi-list { height: 100%; }
.testi-track { display: grid; grid-template-rows: 1fr 1fr 1fr; gap: 20px; height: 100%; }
.testimonial { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 22px 26px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.testimonial__quote { color: var(--gray-700); font-style: italic; font-size: 1rem; }
.testimonial__author { margin-top: 16px; font-weight: 800; color: var(--blue); }
.testimonial__role { font-size: 0.85rem; color: var(--gray-500); font-weight: 700; }
.testi-arrows { display: none; }
.testi-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gray-200); background: var(--white); color: var(--blue); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); transition: background var(--ease), color var(--ease); }
.testi-arrow:hover { background: var(--blue); color: #fff; }
.testi-arrow svg { width: 20px; height: 20px; }
.video-vertical { max-width: 360px; margin: 0 auto; }
.video-vertical .video-frame video { aspect-ratio: 9 / 16; }
@media (max-width: 860px) {
  .testi-layout { grid-template-columns: 1fr; }
  /* Carrossel de depoimentos: apenas no mobile */
  .testi-list { overflow: hidden; position: relative; }
  .testi-track { display: flex; grid-template-rows: none; height: auto; gap: 0; transition: transform 500ms ease; }
  .testi-track .testimonial { flex: 0 0 100%; min-width: 100%; }
  .testi-arrows { display: flex; justify-content: center; gap: 16px; margin-top: 20px; }
}

/* Matrícula banner */
.enroll-banner { position: relative; min-height: 340px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; color: #fff; }
.enroll-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.enroll-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,42,88,0.86), rgba(0,42,88,0.5)); }
.enroll-banner__body { position: relative; z-index: 1; }
.enroll-banner h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: #fff; margin-bottom: 24px; }

/* Editais */
.editais-list { display: grid; gap: 14px; margin-top: 40px; }
.edital-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--white); border: 1px solid var(--gray-200); border-radius: 12px; padding: 20px 24px; box-shadow: var(--shadow-sm); transition: border-color var(--ease), box-shadow var(--ease); }
.edital-row:hover { border-color: var(--blue-300); box-shadow: var(--shadow-md); }
.edital-row__info { display: flex; gap: 16px; align-items: center; }
.edital-row__ic { width: 44px; height: 44px; flex: none; border-radius: 10px; background: var(--blue-100); color: var(--blue); display: grid; place-items: center; }
.edital-row__ic svg { width: 22px; height: 22px; }
.edital-row h3 { font-size: 1.05rem; }
.edital-row span { font-size: 0.85rem; color: var(--gray-500); }
@media (max-width: 560px) { .edital-row { flex-direction: column; align-items: flex-start; } }

/* Rematrícula */
/* Rematrículas: cards de vantagens + rodapé com nota e CTA */
.remat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; align-items: stretch; }
.remat-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 28px 26px; display: flex; flex-direction: column; gap: 16px; transition: transform var(--ease), box-shadow var(--ease); }
.remat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.remat-card__ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); flex: none; }
.remat-card__ic svg { width: 24px; height: 24px; }
.remat-card p { margin: 0; color: var(--gray-700); font-size: 1rem; line-height: 1.6; }
.remat-card strong { color: var(--ink); }
.remat-foot { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-top: 32px; background: var(--green-100); border: 1px solid rgba(60,174,73,0.28); border-radius: var(--radius-lg); padding: 22px 28px; }
.remat-note { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--green-700); font-weight: 800; font-size: 1.02rem; }
.remat-note svg { width: 24px; height: 24px; flex: none; }
.remat-foot .btn { white-space: nowrap; }
@media (max-width: 860px) { .remat-grid { grid-template-columns: 1fr; gap: 18px; } }
@media (max-width: 640px) { .remat-foot { flex-direction: column; align-items: flex-start; text-align: left; } .remat-foot .btn { align-self: stretch; text-align: center; } }

/* Galeria da estrutura + lightbox */
.gallery-rail img { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(0,20,40,0.92); display: none; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92%; max-height: 92%; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox__close { position: absolute; top: 20px; right: 24px; background: rgba(255,255,255,0.16); border: 0; color: #fff; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox__close svg { width: 24px; height: 24px; }

/* Editais: accordion */
.accordion { display: grid; gap: 14px; margin-top: 40px; }
.acc-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }
.acc-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: none; border: 0; cursor: pointer; font-family: var(--font); font-weight: 800; font-size: 1.05rem; color: var(--ink); text-align: left; }
.acc-head:hover { color: var(--blue); }
.acc-head .acc-ic { transition: transform var(--ease); color: var(--blue); flex: none; width: 22px; height: 22px; }
.acc-item.is-open .acc-head .acc-ic { transform: rotate(180deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.acc-item.is-open .acc-body { max-height: 640px; }
.acc-body__inner { padding: 0 24px 20px; display: grid; gap: 12px; }
.acc-doc { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; background: var(--bg); border-radius: 10px; }
.acc-doc__info { display: flex; gap: 12px; align-items: center; }
.acc-doc__ic { width: 40px; height: 40px; flex: none; border-radius: 9px; background: var(--blue-100); color: var(--blue); display: grid; place-items: center; }
.acc-doc__ic svg { width: 20px; height: 20px; }
.acc-doc h4 { font-size: 0.98rem; }
.acc-doc span { font-size: 0.82rem; color: var(--gray-500); }
@media (max-width: 560px) { .acc-doc { flex-direction: column; align-items: flex-start; } }

/* ---------- Reveal (fade suave, sem animação exagerada) ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1040px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure:first-child { grid-column: span 2; grid-row: auto; }
  .gallery figure:first-child img { aspect-ratio: 16/9; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; z-index: 90; background: #fff; border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow-md); flex-direction: column; align-items: stretch; padding: 6px 12px 20px; gap: 4px; transform: translateY(-120%); visibility: hidden; transition: transform var(--ease), visibility 0s linear 300ms; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .nav.is-open { transform: translateY(0); visibility: visible; transition: transform var(--ease), visibility 0s; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a.nav-link { padding: 14px; font-size: 1rem; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 2px solid var(--gray-200); border-radius: 0; margin: 4px 0 8px 14px; padding: 0; }
  .menu-toggle { display: grid; place-items: center; }
  .header-cta .btn:not(.menu-toggle) { display: none; }
  .split, .visit__card { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__media { order: 0; }
  .timeline { grid-template-columns: 1fr; }
  .timeline--line .tl-card::before { display: none; }
  .units { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .pillars { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .btn--block-mobile { display: flex; width: 100%; }
}

/* ---------- Botao flutuante de WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
  transition: transform var(--ease), box-shadow var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 30px rgba(0,0,0,0.28); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float__label {
  position: absolute;
  right: 70px;
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity var(--ease), transform var(--ease);
  box-shadow: var(--shadow-md);
}
.wa-float:hover .wa-float__label { opacity: 1; transform: translateX(0); }
@media (max-width: 560px) {
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .wa-float svg { width: 28px; height: 28px; }
  .wa-float__label { display: none; }
}

/* =========================================================
   ACESSIBILIDADE (pacote AA)
   ========================================================= */

/* Utilitario: visualmente escondido, visivel para leitores de tela */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* Skip link: pular para o conteudo */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1200;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  transform: translateY(-140%);
  transition: transform var(--ease);
}
.skip-link:focus { transform: translateY(0); outline: 3px solid #fff; outline-offset: 2px; }

/* Foco visivel global (fallback consistente) */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
summary:focus-visible,
.hero-dots button:focus-visible,
.testi-arrow:focus-visible,
.rail-btn:focus-visible,
.carousel-pause:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 6px;
}
/* Em fundos escuros, contorno claro */
.hero-slider a:focus-visible,
.site-footer a:focus-visible,
.feature-full a:focus-visible,
.has-bg a:focus-visible,
.carousel-pause:focus-visible {
  outline-color: #fff;
}

/* Botao de pausar/reproduzir carrossel */
.carousel-pause {
  position: absolute;
  bottom: 22px;
  right: 18px;
  z-index: 3;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(0,26,56,0.6);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--ease);
}
.carousel-pause:hover { background: rgba(0,26,56,0.85); }
.carousel-pause svg { width: 18px; height: 18px; }
.testi-pause {
  margin: 14px auto 0;
  display: none;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--gray-300);
  color: var(--gray-600);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.testi-pause svg { width: 14px; height: 14px; }
@media (max-width: 860px) { .testi-pause { display: inline-flex; } }

/* Lightbox como dialogo */
.lightbox__close:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Mensagem de erro de campo (formularios) */
.field-error { color: #c62828; font-size: 0.85rem; font-weight: 700; margin: 6px 0 0; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"],
.form-grid input[aria-invalid="true"], .form-grid select[aria-invalid="true"] {
  border-color: #c62828;
  box-shadow: 0 0 0 3px rgba(198,40,40,0.14);
}

/* =========================================================
   BARRA DE ACESSIBILIDADE
   ========================================================= */
/* Barra vertical discreta, colada na direita, centralizada a 1/3 da altura */
.a11y {
  position: fixed;
  right: 0;
  top: 33%;
  transform: translateY(-50%);
  z-index: 940;
  display: flex;
  flex-direction: column;
  background: var(--blue);
  border-radius: 12px 0 0 12px;
  box-shadow: -4px 6px 20px rgba(0,0,0,0.18);
  overflow: hidden;
  opacity: 0.82;
  transition: opacity var(--ease);
}
.a11y:hover, .a11y:focus-within { opacity: 1; }
.a11y-btn {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: transparent; color: #fff; border: 0;
  border-top: 1px solid rgba(255,255,255,0.16);
  font-family: var(--font); font-weight: 900; line-height: 1;
  cursor: pointer;
  transition: background var(--ease);
}
.a11y-btn:first-child { border-top: 0; }
.a11y-btn:hover { background: rgba(255,255,255,0.16); }
.a11y-btn[aria-pressed="true"] { background: var(--green-cta); }
.a11y-btn svg { width: 17px; height: 17px; }
.a11y-btn .a-dec { font-size: 0.72rem; }
.a11y-btn .a-inc { font-size: 0.95rem; }
@media (max-width: 560px) {
  .a11y-btn { width: 32px; height: 32px; }
  .a11y-btn svg { width: 16px; height: 16px; }
}

/* ---- Alto contraste (preto/branco/amarelo) ---- */
html.hc .site-header, html.hc .site-header *:not(svg):not(path):not(img),
html.hc main, html.hc main *:not(svg):not(path):not(img):not(video):not(iframe),
html.hc .site-footer, html.hc .site-footer *:not(svg):not(path):not(img) {
  background-color: #000 !important;
  background-image: none !important;
  color: #fff !important;
  border-color: #fff !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
html.hc .site-header a, html.hc main a, html.hc .site-footer a { color: #ffdd00 !important; }
html.hc main .btn, html.hc .site-header .btn, html.hc .site-footer .btn,
html.hc main button, html.hc .site-footer button {
  background: #000 !important; color: #ffdd00 !important; border: 2px solid #ffdd00 !important;
}
html.hc input, html.hc select, html.hc textarea { background: #000 !important; color: #fff !important; border: 2px solid #fff !important; }
html.hc svg { color: #fff !important; }
html.hc main img, html.hc .site-header img, html.hc main video, html.hc main iframe { filter: none !important; }
html.hc .only-tag, html.hc .kicker, html.hc .mini-diff { background: #000 !important; color: #ffdd00 !important; border: 1px solid #ffdd00 !important; }

/* =========================================================
   AGENDE / MATRÍCULA — ações e modal do sistema externo
   ========================================================= */
.agende-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.agende-or { color: rgba(255,255,255,0.9); font-weight: 800; font-size: 1.02rem; }

/* Modal (sistema externo simulado por imagem) */
.sysmodal {
  position: fixed; inset: 0; z-index: 1100;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(0,20,40,0.78);
  backdrop-filter: blur(3px);
}
.sysmodal.is-open { display: flex; }
.sysmodal__card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sysmodal__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px 14px 20px;
  border-bottom: 1px solid var(--gray-200);
}
.sysmodal__title { font-weight: 900; color: var(--blue); font-size: 1rem; margin: 0; }
.sysmodal__close {
  width: 38px; height: 38px; border-radius: 10px; border: 0; flex: none;
  background: var(--gray-100); color: var(--ink); cursor: pointer;
  display: grid; place-items: center;
}
.sysmodal__close:hover { background: var(--blue-100); color: var(--blue); }
.sysmodal__close svg { width: 20px; height: 20px; }
.sysmodal__body { overflow-y: auto; -webkit-overflow-scrolling: touch; background: var(--bg); }
.sysmodal__body img { display: block; width: 100%; height: auto; }
.sysmodal__note {
  padding: 10px 16px; font-size: 0.8rem; color: var(--gray-500);
  border-top: 1px solid var(--gray-200); background: #fff; text-align: center;
}
@media (max-width: 560px) {
  .agende-actions { flex-direction: column; gap: 12px; }
  .agende-actions .btn { width: 100%; }
}

/* Niveis com 3 cards (unidade Benedito Bentes) */
.units--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .units--3 { grid-template-columns: 1fr; } }

/* =========================================================
   MODO APRESENTAÇÃO (mockup) — ativado por ?present=1
   Reduz interações: sem reveal/hover/animação; WhatsApp e
   acessibilidade inertes; apenas agendamento/matrícula clicáveis.
   Vídeos continuam funcionando.
   ========================================================= */
html.present-mode *, html.present-mode *::before, html.present-mode *::after {
  transition: none !important;
  animation: none !important;
}
html.present-mode .reveal { opacity: 1 !important; transform: none !important; }
html.present-mode body * { pointer-events: none !important; }
html.present-mode [data-modal],
html.present-mode .sysmodal,
html.present-mode .sysmodal * { pointer-events: auto !important; }
html.present-mode video { pointer-events: none !important; }
