/* =====================================================
   Colégio Passionista NSM · Matrículas 2026
   Design system: Montserrat · vermelho/azul da marca
   sobre base profunda (navy) — mobile-first
   Escala de espaçamento: 8 · 16 · 24 · 32 · 48 · 64 · 80
   ===================================================== */

:root {
  --red: #ed1b2f;
  --red-deep: #c0102c;
  --blue: #2656a6;
  --blue-deep: #1b3f7e;
  --navy-800: #132d5c;
  --navy-900: #0d1f40;
  --ink: #141a28;
  --muted: #485264;
  --canvas: #e6eaf2;
  --paper: #fdfaf4;
  --line: rgba(20, 26, 40, 0.12);
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 48px;
  --s-6: 64px;
  --s-7: 80px;
  --section-y: clamp(48px, 6vw, 80px);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(13, 31, 64, 0.06), 0 10px 28px rgba(13, 31, 64, 0.09);
  --shadow-md: 0 6px 16px rgba(13, 31, 64, 0.09), 0 24px 60px rgba(13, 31, 64, 0.16);
  --shadow-lg: 0 12px 28px rgba(13, 31, 64, 0.12), 0 42px 96px rgba(13, 31, 64, 0.2);
  --font: "Montserrat", system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --pad-x: clamp(18px, 5vw, 72px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--blue);
  color: white;
}

:focus-visible {
  outline: 3px solid rgba(38, 86, 166, 0.6);
  outline-offset: 3px;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

figure {
  margin: 0;
}

/* ---------- Tipografia ---------- */

h1,
h2,
h3,
p,
dl,
ol,
ul {
  margin-top: 0;
}

h1 {
  margin-bottom: var(--s-2);
  color: white;
  font-size: clamp(2.35rem, 8.5vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}

h1 strong,
h2 strong {
  font-weight: 800;
}

h2 {
  margin-bottom: var(--s-2);
  color: var(--blue-deep);
  font-size: clamp(1.7rem, 5.6vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.18;
  text-wrap: balance;
}

h3 {
  margin-bottom: var(--s-1);
  color: var(--blue-deep);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 var(--s-2);
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 500;
  line-height: 1.7;
}

.section-lead {
  max-width: 640px;
  color: var(--muted);
}

/* ---------- Progresso de scroll ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: 0 3px 3px 0;
  background: var(--red);
  transition: width 120ms linear;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  width: min(94vw, 1040px);
  min-height: 58px;
  padding: 8px 8px 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  background: rgba(13, 31, 64, 0.72);
  color: white;
  box-shadow: 0 14px 40px rgba(6, 14, 32, 0.35);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  transform: translateX(-50%);
  transition: background 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(13, 31, 64, 0.92);
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: auto;
  height: clamp(38px, 6vw, 46px);
  object-fit: contain;
}

nav {
  display: none;
  gap: 2px;
  font-size: 0.9rem;
  font-weight: 600;
}

nav a {
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.82);
  transition: background 180ms ease, color 180ms ease;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

/* ---------- Botões ---------- */

/* Botão principal: vermelho sólido que se preenche de azul no hover/toque */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 14px 34px;
  border: 0;
  border-radius: var(--radius-pill);
  background-image: linear-gradient(100deg, var(--blue) 0 50%, var(--red) 50% 100%);
  background-size: 220% 100%;
  background-position: 100% 0;
  color: white;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 8px 22px rgba(13, 31, 64, 0.2);
  cursor: pointer;
  transition: background-position 340ms var(--ease-out), transform 240ms var(--ease-out), box-shadow 240ms ease;
}

.button:hover,
.button:active {
  background-position: 0 0;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13, 31, 64, 0.26);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

.button-small {
  min-height: 44px;
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* Contorno sobre fundos escuros: preenche de branco no hover */
.button-ghost {
  background-image: none;
  background-color: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: white;
  box-shadow: none;
  transition: background-color 280ms ease, color 280ms ease, border-color 280ms ease, transform 240ms var(--ease-out);
}

.button-ghost:hover,
.button-ghost:active {
  background-color: white;
  border-color: white;
  color: var(--navy-800);
  box-shadow: none;
}

/* Claro sobre painéis vermelhos: transforma-se em azul no hover */
.button-light {
  background-image: none;
  background-color: white;
  color: var(--red-deep);
  box-shadow: 0 8px 22px rgba(6, 14, 32, 0.22);
  transition: background-color 280ms ease, color 280ms ease, transform 240ms var(--ease-out), box-shadow 240ms ease;
}

.button-light:hover,
.button-light:active {
  background-color: var(--blue-deep);
  color: white;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding-bottom: 2px;
  border-bottom: 2px solid currentColor;
  color: var(--blue);
  font-weight: 700;
  transition: gap 200ms var(--ease-out), opacity 180ms ease;
}

.text-link::after {
  content: "→";
}

.text-link:hover {
  gap: 12px;
  opacity: 0.85;
}

/* ---------- Selo/CTA Matrículas 2026 ---------- */

/* Selo de matrículas: preenchido, institucional, com hierarquia abaixo do CTA principal */
.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  margin-bottom: var(--s-3);
  padding: 10px 22px 10px 10px;
  border: 0;
  border-radius: var(--radius-pill);
  background-color: var(--blue);
  color: white;
  font-size: 0.98rem;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(6, 14, 32, 0.35);
  transition: background-color 280ms ease, transform 220ms var(--ease-out), box-shadow 220ms ease;
}

.promo-badge:hover,
.promo-badge:active {
  background-color: var(--red);
}

.promo-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(6, 14, 32, 0.42);
}

.promo-badge:active {
  transform: translateY(0) scale(0.98);
}

.promo-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  background: white;
  color: var(--red-deep);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.promo-text strong {
  font-weight: 800;
}

.promo-arrow {
  font-weight: 800;
  transition: transform 220ms var(--ease-out);
}

.promo-badge:hover .promo-arrow {
  transform: translateX(4px);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  gap: var(--s-4);
  padding: 104px var(--pad-x) var(--s-5);
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 8%, rgba(237, 27, 47, 0.22), transparent 36%),
    radial-gradient(circle at 8% 90%, rgba(38, 86, 166, 0.5), transparent 44%),
    linear-gradient(165deg, var(--navy-800) 0%, var(--navy-900) 78%);
  color: white;
}

/* Marca d'água tipográfica: sempre centralizada e completa */
.hero::before {
  content: "PASSIONISTA";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.06);
  font-size: clamp(2.5rem, 12.4vw, 12.4rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-actions {
  display: grid;
  gap: 12px;
  margin: var(--s-3) 0;
}

.hero-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 500;
}

.hero-highlights li::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.hero-visual {
  position: relative;
  z-index: 2;
  max-width: 420px;
  margin-inline: auto;
}

.floating-card {
  position: absolute;
  right: -6px;
  bottom: 18px;
  z-index: 3;
  max-width: 250px;
  margin: 0;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: white;
  color: var(--blue-deep);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: var(--shadow-md);
}

.floating-card strong {
  font-weight: 800;
}

/* ---------- Retratos emoldurados (linguagem do folder) ---------- */

.portrait-frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(10px, 2vw, 14px);
  box-shadow: var(--shadow-lg);
}

.portrait-frame img {
  border-radius: calc(var(--radius-lg) - 12px);
  aspect-ratio: 3 / 4;
  object-position: top center;
}

/* Hero: exibe a foto completa, sem ampliar o retrato */
.hero-visual .portrait-frame img {
  aspect-ratio: 2 / 3;
}

.frame-red {
  background: linear-gradient(160deg, #ff2e42, var(--red) 55%, var(--red-deep));
}

.frame-blue {
  background: linear-gradient(200deg, #3465bd, var(--blue) 55%, var(--blue-deep));
}

.portrait-frame.small {
  padding: clamp(4px, 1vw, 8px);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform 260ms var(--ease-out), box-shadow 260ms ease;
}

.portrait-frame.small img {
  border-radius: calc(var(--radius-sm) - 4px);
}

.portrait-frame.small:hover,
.portrait-frame.small:active {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ---------- Seções ---------- */

.section {
  padding: var(--section-y) var(--pad-x);
  background: white;
}

.section-tinted {
  background: var(--canvas);
}

.section-heading {
  max-width: 800px;
  margin-bottom: var(--s-4);
}

.section-heading .section-lead {
  margin-bottom: 0;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: var(--s-4);
}

.section-cta .button {
  min-width: min(100%, 340px);
}

/* ---------- Carrossel ---------- */

.carousel {
  position: relative;
}

.carousel-track {
  position: relative;
  display: flex;
  gap: var(--s-2);
  overflow-x: auto;
  padding: 4px 4px var(--s-2);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track > * {
  flex: 0 0 86%;
  scroll-snap-align: start;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  margin-top: var(--s-2);
}

.carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1.5px solid rgba(38, 86, 166, 0.3);
  border-radius: 50%;
  background: white;
  color: var(--blue-deep);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms var(--ease-out);
}

.carousel-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  transform: translateY(-2px);
}

.carousel-btn:active {
  transform: scale(0.94);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(38, 86, 166, 0.25);
  cursor: pointer;
  transition: background 220ms ease, width 220ms var(--ease-out);
}

.carousel-dots button:hover {
  background: rgba(38, 86, 166, 0.5);
}

.carousel-dots button.is-active {
  width: 26px;
  background: var(--red);
}

/* ---------- Cards de diferenciais ---------- */

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-sm);
  transition: transform 280ms var(--ease-out), box-shadow 280ms ease, background 280ms ease, border-color 280ms ease;
}

.card-media {
  aspect-ratio: 16 / 10;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--canvas);
}

.card-media img {
  transition: transform 700ms var(--ease-out);
}

.card-body {
  display: grid;
  gap: 6px;
  align-content: start;
  flex: 1;
  padding: var(--s-3);
}

.card h3,
.card .card-claim,
.card .card-body > p:last-child {
  transition: color 280ms ease;
}

.card-claim {
  margin: 0;
  color: var(--blue);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.4;
}

.card-claim strong {
  font-weight: 800;
}

.card-body > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

/* Hover/toque com as cores Passionistas */
.card:hover,
.card:active {
  transform: translateY(-4px);
  border-color: var(--blue-deep);
  background: var(--blue-deep);
  box-shadow: var(--shadow-md);
}

.card:hover .card-media img,
.card:active .card-media img {
  transform: scale(1.04);
}

.card:hover h3,
.card:active h3 {
  color: white;
}

.card:hover .card-claim,
.card:active .card-claim {
  color: rgba(255, 255, 255, 0.95);
}

.card:hover .card-body > p:last-child,
.card:active .card-body > p:last-child {
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Painéis coloridos ---------- */

.feature-panel {
  display: grid;
  gap: var(--s-4);
  align-items: center;
  margin: var(--s-2) clamp(10px, 2.5vw, 28px);
  padding: clamp(40px, 5vw, 64px) clamp(22px, 4vw, 64px);
  border-radius: var(--radius-lg);
  color: white;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.panel-red {
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(150deg, #f42137, var(--red-deep) 70%);
}

.feature-panel h2 {
  color: white;
}

.feature-panel .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.panel-copy > p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

.panel-copy .button {
  margin-top: var(--s-1);
}

.panel-copy.wide {
  max-width: 860px;
}

.feature-panel .portrait-frame {
  max-width: 360px;
  margin-inline: auto;
}

/* ---------- Pilares da formação (editorial) ---------- */

.pillars {
  display: grid;
  gap: var(--s-4);
  background: var(--paper);
}

.pillars-intro {
  max-width: 520px;
}

.pillars-intro .section-lead {
  margin-bottom: var(--s-3);
}

.pillars-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pillars-list li {
  display: grid;
  gap: 4px;
  padding: var(--s-2) 0 var(--s-2) var(--s-3);
  border-top: 1px solid rgba(20, 26, 40, 0.1);
  border-left: 3px solid transparent;
  transition: border-left-color 260ms ease, padding-left 260ms var(--ease-out), background-color 260ms ease;
}

.pillars-list li:last-child {
  border-bottom: 1px solid rgba(20, 26, 40, 0.1);
}

.pillars-list li:hover {
  padding-left: calc(var(--s-3) + 6px);
  border-left-color: var(--red);
  background-color: rgba(38, 86, 166, 0.04);
}

.pillars-list strong {
  color: var(--blue-deep);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.pillars-list span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ---------- Carrossel da estrutura ---------- */

.carousel-gallery .slide {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
  background: var(--navy-800);
  box-shadow: var(--shadow-sm);
}

.carousel-gallery .slide img {
  transition: transform 800ms var(--ease-out);
}

.carousel-gallery .slide:hover img {
  transform: scale(1.045);
}

.carousel-gallery figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy-800);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  backdrop-filter: blur(8px);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: var(--s-3) 0 0;
  padding: 0;
  list-style: none;
}

.chip-list li {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid rgba(38, 86, 166, 0.28);
  border-radius: var(--radius-pill);
  background: rgba(38, 86, 166, 0.06);
  color: var(--blue-deep);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 240ms ease, color 240ms ease, border-color 240ms ease;
}

.chip-list li:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}

/* ---------- Equipe ---------- */

.team-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1.5vw, 16px);
}

/* ---------- Localização ---------- */

.location {
  display: grid;
  gap: var(--s-4);
  align-items: center;
}

.location-copy p {
  max-width: 640px;
  color: var(--muted);
}

.location-copy p strong {
  color: var(--ink);
}

.location-card {
  display: grid;
  gap: var(--s-2);
  justify-items: start;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(38, 86, 166, 0.14);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}

.location-card strong {
  color: var(--blue-deep);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* ---------- Matrícula / formulários ---------- */

.enroll {
  display: grid;
  gap: var(--s-4);
  background:
    radial-gradient(circle at 14% 12%, rgba(237, 27, 47, 0.07), transparent 30%),
    radial-gradient(circle at 88% 92%, rgba(38, 86, 166, 0.1), transparent 32%),
    var(--paper);
}

.steps {
  display: grid;
  gap: var(--s-2);
  margin: var(--s-3) 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: start;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  grid-row: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(180deg, #3465bd, var(--blue-deep));
  color: white;
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(27, 63, 126, 0.3);
}

.steps strong {
  color: var(--blue-deep);
  font-weight: 700;
}

.steps span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.enroll-alt {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 2;
}

.enroll-alt.on-red {
  color: rgba(255, 255, 255, 0.85);
}

.enroll-alt.on-red .text-link {
  color: white;
}

.dot-sep {
  margin: 0 8px;
}

.lead-form {
  display: grid;
  gap: var(--s-2);
  align-content: start;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy-800);
  font-size: 0.9rem;
  font-weight: 600;
}

input,
select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: white;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

input::placeholder {
  color: rgba(72, 82, 100, 0.5);
  font-weight: 400;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(38, 86, 166, 0.14);
}

.lead-form.has-error input:invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(237, 27, 47, 0.1);
}

.form-error {
  margin: 0;
  padding: 12px 16px;
  border: 1px solid rgba(237, 27, 47, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(237, 27, 47, 0.07);
  color: var(--red-deep);
  font-size: 0.88rem;
  font-weight: 600;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.5;
  text-align: center;
}

/* Formulário final sobre painel vermelho */

.enroll-final .enroll-alt {
  font-size: 0.95rem;
}

/* ---------- FAQ ---------- */

.faq {
  background: var(--canvas);
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 840px;
}

.faq-list details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: white;
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  min-height: 56px;
  padding: 14px 20px;
  color: var(--navy-800);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  transition: background 180ms ease;
}

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

.faq-list summary::after {
  content: "+";
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(38, 86, 166, 0.1);
  color: var(--blue);
  font-size: 1.2rem;
  font-weight: 600;
  transition: transform 240ms var(--ease-out), background 180ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
  background: rgba(237, 27, 47, 0.1);
  color: var(--red);
}

.faq-list summary:hover {
  background: rgba(38, 86, 166, 0.04);
}

.faq-list details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Rodapé ---------- */

.site-footer {
  padding: var(--s-6) var(--pad-x) var(--s-4);
  background: linear-gradient(180deg, var(--navy-900), #0a1830);
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: grid;
  gap: var(--s-4);
  margin-bottom: var(--s-4);
}

.footer-brand {
  margin: 0 0 16px;
}

.footer-brand img {
  width: auto;
  height: 72px;
  object-fit: contain;
}

.footer-tagline {
  max-width: 380px;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.66);
}

.footer-title {
  margin: 0 0 12px;
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
}

.site-footer a {
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.site-footer a:hover {
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-legal {
  margin: 0;
  padding-top: var(--s-3);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* ---------- CTA fixo mobile ---------- */

.mobile-cta {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  background: rgba(13, 31, 64, 0.92);
  box-shadow: 0 12px 44px rgba(6, 14, 32, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 300ms var(--ease-out), opacity 300ms ease;
}

.mobile-cta.is-hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}

.mobile-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
}

.mobile-cta a {
  transition: background-color 240ms ease, color 240ms ease;
}

.mobile-cta a:first-child {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.mobile-cta a:first-child:active {
  background: white;
  color: var(--navy-800);
}

.mobile-cta a:last-child {
  background: var(--red);
}

.mobile-cta a:last-child:active {
  background: var(--blue);
}

body {
  padding-bottom: 84px;
}

/* ---------- Animações ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms var(--ease-out);
}

/* Imagens e retratos entram com leve escala, para dar profundidade */
.hero-visual[data-reveal],
.portrait-frame[data-reveal],
.carousel[data-reveal] {
  transform: translateY(20px) scale(0.975);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Movimento mais curto e rápido em telas pequenas */
@media (max-width: 640px) {
  .promo-badge {
    gap: 10px;
    padding: 8px 16px 8px 8px;
    font-size: 0.88rem;
  }

  .promo-year {
    min-height: 34px;
    padding: 3px 12px;
    font-size: 0.98rem;
  }

  [data-reveal] {
    transform: translateY(14px);
    transition-duration: 450ms;
  }

  .hero-visual[data-reveal],
  .portrait-frame[data-reveal],
  .carousel[data-reveal] {
    transform: translateY(12px) scale(0.985);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* =====================================================
   Breakpoints (mobile-first)
   ===================================================== */

@media (min-width: 640px) {
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .carousel-track > * {
    flex-basis: 46%;
  }

  .carousel-gallery .carousel-track > * {
    flex-basis: 56%;
  }

  .hero-highlights {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 28px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }

  .mobile-cta {
    display: none;
  }

  nav {
    display: flex;
  }

  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    align-items: center;
    min-height: 88vh;
    padding-top: 112px;
  }

  .hero-visual {
    max-width: 440px;
  }

  .carousel-track > * {
    flex-basis: calc((100% - 2 * var(--s-2)) / 3 - 24px);
  }

  .carousel-gallery .carousel-track > * {
    flex-basis: calc((100% - var(--s-2)) / 2 - 40px);
  }

  .feature-panel:not(.enroll-final) {
    grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  }

  .enroll-final {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.75fr);
    align-items: start;
  }

  .team-row {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .location {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  }

  .pillars {
    grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1fr);
    align-items: start;
    column-gap: var(--s-6);
  }

  .enroll {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
  }
}
