/* ============================================================
   TRAILS SCHOOL — STYLESHEET
   Fontes: Pally (títulos) + Inter (corpo)
   Versão: 2.0
============================================================ */

/* ── FONTES LOCAIS ──────────────────────────────────────── */
/* Inter – Latin-ext (inclui acentos do Português) */
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter – Latin */
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Pally */
@font-face {
  font-family: 'Pally';
  src: url('fonts/Pally-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Pally';
  src: url('fonts/Pally-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Pally';
  src: url('fonts/Pally-Bold.otf') format('opentype');
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

/* ── VARIÁVEIS & RESET ─────────────────────────────────── */
:root {
  --blue:       #2B2FC7;
  --blue-dark:  #1E22A0;
  --blue-deep:  #13178A;
  --orange:     #FF4A1C;
  --yellow:     #FFB800;
  --purple:     #7B2D8B;
  --purple-dark:#5E1F6E;
  --white:      #FFFFFF;
  --off-white:  #F8F8FF;
  --gray-light: #F0F1FA;
  --gray:       #6B7280;
  --gray-dark:  #374151;
  --text:       #1A1A2E;

  --font-title: 'Pally', arial;
  --font-body:  'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  --shadow-sm: 0 2px 8px rgba(43,47,199,0.08);
  --shadow-md: 0 8px 32px rgba(43,47,199,0.12);
  --shadow-lg: 0 20px 60px rgba(43,47,199,0.18);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

/* Visually hidden – acessível para SEO e screen readers */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── TIPOGRAFIA ─────────────────────────────────────────── */
h1, h2, h3, h4, h5 { font-family: var(--font-title); line-height: 1.2; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.highlight-orange { color: var(--orange); }
.highlight-yellow  { color: var(--yellow); }
.highlight-blue  { color: var(--blue); }
.highlight-white  { color: var(--white); }

/* ── LAYOUT ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section    { padding: 60px 0; }
.section-sm { padding: 40px 0; }

/* ── BOTÕES ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: 50px;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(43,47,199,0.35);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(43,47,199,0.45);
}

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

.btn-orange {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255,74,28,0.35);
}
.btn-orange:hover { background: #e03c10; transform: translateY(-2px); }

.btn-white {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.18); }

/* ── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(43,47,199,0.08);
  transition: box-shadow var(--transition);
}

.navbar.scrolled { box-shadow: var(--shadow-md); }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-logo img { height: 42px; width: auto; }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.navbar-nav a {
  font-size: 0.84rem;
  font-weight: 500;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  color: var(--gray-dark);
  transition: var(--transition);
}
.navbar-nav a:hover { color: var(--blue); background: var(--gray-light); }

.navbar-cta { margin-left: 12px; padding: 10px 22px; font-size: 0.85rem; }

.navbar-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.navbar-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 32px 24px;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.35s, opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { visibility: visible; opacity: 1; }
.mobile-menu a {
  font-size: 1.1rem;
  font-weight: 500;
  padding: 16px;
  min-height: 48px;
  display: flex;
  align-items: center;
  border-radius: var(--radius-md);
  border-bottom: 1px solid var(--gray-light);
  color: var(--text);
  transition: var(--transition);
}
.mobile-menu a:hover,
.mobile-menu a:active { background: var(--gray-light); color: var(--blue); }
.mobile-menu .btn { margin-top: 16px; width: 100%; text-align: center; min-height: 48px; }

/* Hamburger → X animation */
.navbar-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar-hamburger.active span:nth-child(2) { opacity: 0; }
.navbar-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  background: var(--off-white);
  padding: 40px 0 56px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(43,47,199,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  column-gap: 64px;
  row-gap: 32px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(43,47,199,0.08);
  border: 1px solid rgba(43,47,199,0.15);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 20px;
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--blue-deep);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  margin-bottom: 32px;
  max-width: 440px;
  line-height: 1.7;
}

.hero-checklist {
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-dark);
}

.hero-checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--blue);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-ctas,
.section-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* CTAs dentro de grids 2-col: largura total e centralizados */
.hero-grid > .section-ctas,
.pillars-grid > .section-ctas,
.diff-content > .section-ctas,
.after-school-grid > .section-ctas {
  grid-column: 1 / -1;
  justify-content: center;
}

.hero-visual { position: relative; }

.hero-img-wrapper {
  position: relative;
  overflow: visible;
}

.hero-img-wrapper img {
  width: 100%;
  height: auto;
}

/* Blobs */
.blob { position: absolute; border-radius: 50%; opacity: 0.9; }
.blob-orange { background: var(--orange); width: 80px; height: 80px; bottom: 30px; right: -20px; border-radius: 50% 30% 50% 30%; }
.blob-yellow { background: var(--yellow); width: 60px; height: 60px; bottom: 80px; right: 40px; border-radius: 30% 50% 30% 50%; }
.blob-purple { background: var(--purple); width: 70px; height: 70px; bottom: 60px; right: -10px; border-radius: 40% 60% 40% 60%; }

/* Selos sobre a foto do hero, centralizados no bottom */
.hero-seals-row {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  white-space: nowrap;
}

.hero-seal {
  height: 72px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.12));
  transition: transform var(--transition);
}

.hero-seal:hover {
  transform: translateY(-3px);
}

/* ── PILARES ────────────────────────────────────────────── */
.pillars { background: var(--white); }

.pillars-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  column-gap: 80px;
  row-gap: 32px;
  align-items: center;
}

.pillars-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 32px 0;
}

.pillar-tab {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.pillar-tab.active {
  background: var(--off-white);
  border-left-color: var(--blue);
}

.pillar-tab-inner { flex: 1; }

.pillar-tab-title {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-dark);
  transition: var(--transition);
}

.pillar-tab.active .pillar-tab-title { color: var(--blue); }

/* Wrapper para grid-animation (composited) em vez de max-height */
.pillar-tab-body-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}
.pillar-tab.active .pillar-tab-body-wrap { grid-template-rows: 1fr; }

.pillar-tab-body {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  margin-top: 4px;
}
.pillar-tab.active .pillar-tab-body { opacity: 1; }

/* Barra de progresso do temporizador */
.pillar-progress-bar {
  height: 3px;
  background: rgba(43,47,199,0.1);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pillar-tab.active .pillar-progress-bar { opacity: 1; }

/* transform: scaleX() é composited — sem forced reflow */
.pillar-progress-fill {
  height: 100%;
  width: 100%;
  background: var(--blue);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.pillars-visual { position: relative; }

.pillars-img-wrapper {
  overflow: visible;
  position: relative;
}

.pillars-img-wrapper img {
  width: 100%;
  height: auto;
}

.pillars-blob-orange { position: absolute; bottom: -20px; right: -20px; width: 90px; height: 90px; background: var(--orange); border-radius: 40% 60% 40% 60%; z-index: 2; }
.pillars-blob-yellow { position: absolute; bottom: 60px; right: -30px; width: 60px; height: 60px; background: var(--yellow); border-radius: 50%; z-index: 2; }
.pillars-blob-purple { position: absolute; bottom: 10px; right: 30px; width: 70px; height: 70px; background: var(--purple); border-radius: 60% 40%; z-index: 2; }

/* ── DIFERENCIAIS ───────────────────────────────────────── */
.diferenciais { background: var(--off-white); }
.diferenciais-header { text-align: center; margin-bottom: 52px; }

.diferenciais-header h2 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.diferenciais-tabs-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.diff-tab-btn {
  padding: 12px 26px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid rgba(43,47,199,0.2);
  color: var(--blue);
  background: var(--white);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(43,47,199,0.06);
}

.diff-tab-btn .tab-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.diff-tab-btn:nth-child(1) { border-color: var(--yellow); color: var(--gray-dark); }
.diff-tab-btn:nth-child(1) .tab-icon { background: rgba(255,184,0,0.15); }

.diff-tab-btn:nth-child(2) { border-color: var(--orange); color: var(--gray-dark); }
.diff-tab-btn:nth-child(2) .tab-icon { background: rgba(255,74,28,0.12); }

.diff-tab-btn:nth-child(3) { border-color: var(--blue); color: var(--gray-dark); }
.diff-tab-btn:nth-child(3) .tab-icon { background: rgba(43,47,199,0.1); }

.diff-tab-btn.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 6px 20px rgba(43,47,199,0.3);
}

.diff-tab-btn.active .tab-icon { background: rgba(255,255,255,0.2); }

.diff-tab-btn:hover:not(.active) { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(43,47,199,0.12); }

.diff-content { display: none; }
.diff-content.active { display: grid; grid-template-columns: 3fr 2fr; column-gap: 64px; row-gap: 32px; align-items: center; }

.diff-text h3 { font-size: 1.8rem; color: var(--blue-deep); margin-bottom: 16px; }
.diff-text p  { color: var(--gray); line-height: 1.7; margin-bottom: 24px; }

.diff-list { display: flex; flex-direction: column; gap: 12px; }
.diff-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray-dark);
}
.diff-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: rgba(43,47,199,0.1);
  color: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

.diff-visual img {
  width: 100%;
  height: auto;
}

/* ── MATERIAIS ──────────────────────────────────────────── */
.materiais { background: var(--white); }
.materiais-header { text-align: center; margin-bottom: 56px; }

.materiais-header h2 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Nav vertical à esquerda + painel à direita */
.materiais-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  border: 1px solid rgba(43,47,199,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.materiais-nav {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-right: 1px solid rgba(43,47,199,0.1);
}

.material-nav-btn {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-left: 3px solid transparent;
  border-bottom: 1px solid rgba(43,47,199,0.08);
  transition: var(--transition);
  cursor: pointer;
  background: none;
}

.material-nav-btn:last-child { border-bottom: none; }

.material-nav-btn img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.5);
  transition: var(--transition);
}

.material-nav-btn.active {
  background: rgba(43,47,199,0.04);
  color: var(--blue);
  border-left-color: var(--blue);
  font-weight: 700;
}

.material-nav-btn.active img { filter: none; }
.material-nav-btn:hover:not(.active) { background: var(--gray-light); color: var(--blue); }
.material-nav-btn:hover:not(.active) img { filter: grayscale(0.3) opacity(0.75); }

/* Panel: conteúdo à direita */
.material-panel { display: none; background: var(--blue); color: white; }
.material-panel.active { display: flex; flex-direction: column; }

.material-panel-text {
  padding: 40px 48px 28px;
  flex: 1;
}

.material-panel-text .material-subtitle {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--yellow);
}

.material-panel-text p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.9);
}

.material-panel-text p strong { font-weight: 700; color: var(--white); }

.material-panel-img {
  width: 80%;
  max-height: 280px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.materiais-ctas { display: flex; gap: 12px; margin-top: 40px; justify-content: center; flex-wrap: wrap; }

/* ── CAMBRIDGE BANNER ───────────────────────────────────── */
.cambridge-banner {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  padding: 80px 0 0;
  overflow: visible;
  position: relative;
}

.cambridge-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}

.cambridge-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: flex-end;
  position: relative;
  z-index: 1;
}

.cambridge-text {
  padding-bottom: 80px;
}

.cambridge-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 12px;
}

.cambridge-text h2 span { color: var(--yellow); }

.cambridge-text p {
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.cambridge-text p strong { color: var(--yellow); font-weight: 700; }

/* Visual: imagem sangra para cima e para baixo além da faixa */
.cambridge-visual {
  position: relative;
  align-self: flex-end;
  text-align: center;
  margin-bottom: 0;
}

.cambridge-visual img {
  display: block;
  width: auto;
  height: 420px;
  max-height: 480px;
  object-fit: contain;
  object-position: bottom;
  margin-top: -40px;   /* sobe além da faixa no topo */
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
}

.cambridge-badge-float {
  position: absolute;
  bottom: 40px; left: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cambridge-badge-float img { width: 40px; height: 40px; object-fit: contain; }
.cambridge-badge-float span { font-size: 0.75rem; font-weight: 700; color: var(--text); line-height: 1.3; }

/* ── PORQUE NOS ESCOLHER ────────────────────────────────── */
.porque { background: var(--white); }
.porque-header { text-align: center; margin-bottom: 56px; }

.porque-header h2 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.comparison-table {
  border: 1px solid rgba(43,47,199,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--off-white);
}

.comparison-header-cell {
  padding: 20px 28px;
  font-family: var(--font-title);
  font-weight: 700;
}

.comparison-header-cell:first-child {
  color: var(--gray);
  font-size: 1rem;
  border-right: 1px solid rgba(43,47,199,0.1);
}

.comparison-header-cell:last-child {
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
}

.comparison-header-cell img { height: 32px; width: auto; }

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(43,47,199,0.06);
  transition: var(--transition);
}

.comparison-row:hover { background: rgba(43,47,199,0.02); }

.comparison-cell {
  padding: 18px 28px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.comparison-cell:first-child {
  color: var(--gray-dark);
  font-weight: 500;
  border-right: 1px solid rgba(43,47,199,0.06);
}

.comparison-cell:last-child { color: var(--gray-dark); background: rgba(43,47,199,0.02); }

.check-orange {
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: var(--orange);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.check-orange::after { content: '✓'; color: white; font-size: 0.65rem; font-weight: 700; }

.comparison-ctas { display: flex; gap: 12px; margin-top: 36px; justify-content: center; flex-wrap: wrap; }

/* ── NA PRÁTICA (Vídeos embed) ──────────────────────────── */
.na-pratica { background: var(--off-white); }
.na-pratica-header { text-align: center; margin-bottom: 48px; }

.na-pratica-header h2 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* YouTube Facade – carrega iframe apenas ao clicar (9:16 Shorts) */
.yt-facade {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
  overflow: hidden;
  cursor: pointer;
}
.yt-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.yt-facade:hover img { transform: scale(1.04); }
.yt-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.yt-play-btn::before {
  content: '';
  width: 64px;
  height: 64px;
  background: rgba(0,0,0,0.65);
  border-radius: 50%;
  position: absolute;
  transition: background 0.2s;
}
.yt-play-btn::after {
  content: '';
  border: 14px solid transparent;
  border-left: 22px solid #fff;
  margin-left: 5px;
  position: relative;
  z-index: 1;
}
.yt-facade:hover .yt-play-btn::before,
.yt-facade:focus .yt-play-btn::before { background: var(--blue); }
.yt-facade iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-body { padding: 20px; }
.video-title { font-family: var(--font-title); font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.video-desc  { font-size: 0.85rem; color: var(--gray); line-height: 1.5; }

.na-pratica-ctas { display: flex; gap: 12px; margin-top: 40px; justify-content: center; flex-wrap: wrap; }

/* ── AFTER SCHOOL ───────────────────────────────────────── */
.after-school { background: var(--white); }

.after-school-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  column-gap: 80px;
  row-gap: 32px;
  align-items: center;
}

.after-school-text h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--blue-deep); margin-bottom: 16px; }
.after-school-text > p { color: var(--gray); line-height: 1.7; margin-bottom: 36px; }

.after-features { display: flex; flex-direction: column; gap: 24px; margin-bottom: 36px; }

.after-feature { display: flex; gap: 16px; align-items: flex-start; }

.after-feature-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: rgba(123,45,139,0.1);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}

.after-feature-text h4 { font-family: var(--font-title); font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.after-feature-text p  { font-size: 0.875rem; color: var(--gray); }

.after-visual { position: relative; }

.after-visual img {
  width: 100%;
  height: auto;
}

.after-blob-orange { position: absolute; bottom: -20px; right: -20px; width: 80px; height: 80px; background: var(--orange); border-radius: 40% 60% 40% 60%; z-index: 2; }
.after-blob-yellow { position: absolute; bottom: 50px; right: -30px; width: 55px; height: 55px; background: var(--yellow); border-radius: 50%; z-index: 2; }
.after-blob-purple { position: absolute; bottom: 15px; right: 35px; width: 60px; height: 60px; background: var(--purple); border-radius: 60% 40%; z-index: 2; }

/* ── DEPOIMENTOS ────────────────────────────────────────── */
.testimonials { background: var(--off-white); }
.testimonials-header { text-align: center; margin-bottom: 56px; }

.testimonials-header h2 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(43,47,199,0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.testimonial-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.testimonial-stars span { color: var(--yellow); font-size: 1rem; }

.testimonial-text {
  font-size: 0.9rem;
  color: var(--gray-dark);
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

.testimonial-author .verified { color: #1D9BF0; font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--gray); font-weight: 400; margin-top: 2px; }

.testimonials-ctas { display: flex; gap: 12px; margin-top: 40px; justify-content: center; flex-wrap: wrap; }

/* ── FAQ ────────────────────────────────────────────────── */
.faq { background: var(--white); }
.faq-header { text-align: center; margin-bottom: 48px; }

.faq-header h2 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.faq-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.faq-tab-btn {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 2px solid rgba(43,47,199,0.15);
  color: var(--gray);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
}

.faq-tab-btn.active { background: var(--blue); color: var(--white); border-color: var(--blue); }
.faq-tab-btn:hover:not(.active) { border-color: var(--blue); color: var(--blue); }

.faq-list { max-width: 780px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid rgba(43,47,199,0.1); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  gap: 16px;
  background: none;
  border: none;
  font-family: var(--font-body);
  transition: color var(--transition);
}

.faq-question:hover { color: var(--blue); }

.faq-question-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 2px solid rgba(43,47,199,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--gray);
  transition: var(--transition);
  line-height: 1;
}

.faq-item.open .faq-question-icon {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: rotate(45deg);
}

/* Wrapper grid — substitui max-height (não-composted) */
.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}
.faq-item.open .faq-answer-wrap { grid-template-rows: 1fr; }

.faq-answer {
  min-height: 0;
  overflow: hidden;
  padding-bottom: 20px;
}

.faq-answer p { font-size: 0.9rem; color: var(--gray); line-height: 1.7; }

/* ── CTA BANNER ─────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before, .cta-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.cta-banner::before { width: 400px; height: 400px; top: -200px; left: -100px; }
.cta-banner::after  { width: 300px; height: 300px; bottom: -150px; right: -50px; }

.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--white);
  margin-bottom: 8px;
  position: relative; z-index: 1;
}

.cta-banner h2 span { color: var(--yellow); }

.cta-banner p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  font-size: 1rem;
  position: relative; z-index: 1;
}

.cta-banner-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 44px; width: auto; }

.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }

.footer-address { font-size: 0.85rem; line-height: 1.8; }
.footer-address a { color: rgba(255,255,255,0.7); transition: color var(--transition); }
.footer-address a:hover { color: var(--yellow); }

.footer-col h4 {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  padding: 5px 0;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--yellow); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.82rem; }

.footer-social { display: flex; gap: 12px; }

.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-social a:hover { background: rgba(255,255,255,0.1); color: var(--white); }

/* ── WHATSAPP FLOAT ─────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 9999;
  transition: var(--transition);
}

.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,0.55); }
.whatsapp-float svg { fill: white; width: 28px; height: 28px; }

/* ── CONTACT MODAL ──────────────────────────────────────── */
/* FIX: altura reduzida para caber em 1 tela sem scroll */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(19,23,138,0.6);
  backdrop-filter: blur(6px);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.open { display: flex; }

.modal {
  position: relative;
  background: var(--blue);
  border-radius: var(--radius-xl);
  max-width: 780px;
  width: 100%;
  max-height: 96vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
}

/* Lado esquerdo: testemunho */
.modal-left {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.modal-logo { margin-bottom: 0; }
.modal-logo img { height: 36px; width: auto; }

.modal-testimonial {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.modal-testimonial .testimonial-stars { margin-bottom: 8px; }
.modal-testimonial .testimonial-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 12px;
  line-height: 1.55;
  font-style: italic;
}
.modal-testimonial .testimonial-author { color: var(--white); font-size: 0.82rem; font-weight: 700; }
.modal-testimonial .testimonial-role   { color: rgba(255,255,255,0.6); font-size: 0.76rem; }

/* Lado direito: formulário */
.modal-right {
  background: var(--white);
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  padding: 32px 32px 24px;
}

.modal-right h2 {
  font-family: var(--font-title);
  font-size: 1.45rem;
  color: var(--blue-deep);
  margin-bottom: 2px;
}

.modal-right > p {
  font-size: 0.84rem;
  color: var(--gray);
  margin-bottom: 18px;
}

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.modal-close:hover { background: rgba(255,255,255,0.28); }

/* Formulário compacto */
.form-group { margin-bottom: 10px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: 4px;
}

.form-label span { color: var(--orange); }

.form-input,
.form-select {
  width: 100%;
  padding: 9px 14px;
  border: 2px solid rgba(43,47,199,0.15);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43,47,199,0.1);
}

.form-input::placeholder { color: #aab0c3; }

.btn-submit {
  width: 100%;
  padding: 13px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--font-body);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 6px;
  box-shadow: 0 4px 20px rgba(255,74,28,0.35);
}

.btn-submit:hover { background: #e03c10; transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.form-disclaimer {
  font-size: 0.68rem;
  color: var(--gray);
  text-align: center;
  margin-top: 8px;
  line-height: 1.5;
}

.form-disclaimer a { color: var(--blue); text-decoration: underline; }

/* ── Partner banner (modal parceiro) ───────────────────── */
.partner-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: linear-gradient(135deg, rgba(43,47,199,0.07) 0%, rgba(255,184,0,0.08) 100%);
  border: 1px solid rgba(43,47,199,0.18);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 12px;
}

.partner-banner-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  line-height: 1.2;
}

.partner-banner-body strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 3px;
}

.partner-banner-body > p {
  font-size: 0.74rem;
  color: var(--gray);
  margin-bottom: 6px;
  line-height: 1.4;
}

.partner-banner-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.partner-banner-body li {
  font-size: 0.76rem;
  color: var(--gray-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.partner-banner-body li::before {
  content: '✓';
  width: 15px;
  height: 15px;
  background: rgba(43,47,199,0.12);
  border-radius: 50%;
  color: var(--blue);
  font-size: 0.62rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Phone input com DDI ────────────────────────────────── */
.phone-input-wrap {
  display: flex;
  border: 2px solid rgba(43,47,199,0.15);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.phone-input-wrap:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43,47,199,0.1);
}

.phone-ddi {
  flex-shrink: 0;
  padding: 9px 6px 9px 8px;
  border: none;
  border-right: 1px solid rgba(43,47,199,0.15);
  border-radius: 0;
  font-size: 0.82rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--gray-light);
  cursor: pointer;
  outline: none;
  min-width: 76px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236B7280'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  padding-right: 20px;
}

.phone-ddi:focus { outline: none; }

.phone-input-wrap .form-input {
  border: none;
  border-radius: 0;
  flex: 1;
  min-width: 0;
}

.phone-input-wrap .form-input:focus {
  border: none;
  box-shadow: none;
}

.form-success {
  display: none;
  text-align: center;
  padding: 48px 20px;
}

.form-success .success-icon { font-size: 3rem; margin-bottom: 14px; }
.form-success h3 { font-family: var(--font-title); font-size: 1.5rem; color: var(--blue-deep); margin-bottom: 8px; }
.form-success p  { color: var(--gray); font-size: 0.9rem; }

/* ── SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid          { grid-template-columns: 1fr; gap: 32px; }
  .hero-subtitle      { max-width: 100%; }
  .hero-visual        { order: 1; }
  .hero-grid > .section-ctas { order: 2; }

  .pillars-grid       { grid-template-columns: 1fr; gap: 32px; }
  .pillars-visual     { order: 1; }
  .pillars-grid > .section-ctas { order: 2; }

  .diff-content.active { grid-template-columns: 1fr; gap: 32px; }
  .diff-visual        { order: 1; }
  .diff-content > .section-ctas { order: 2; }

  .cambridge-inner    { grid-template-columns: 1fr; }
  .cambridge-visual   { text-align: right; }
  .cambridge-text     { padding-bottom: 40px; }
  .cambridge-visual img { height: 320px; margin-top: 0; }

  .after-school-grid  { grid-template-columns: 1fr; gap: 32px; }
  .after-visual       { order: 1; }
  .after-school-grid > .section-ctas { order: 2; }

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

@media (max-width: 768px) {
  .section            { padding: 44px 0; }
  .container          { padding: 0 20px; }
  .navbar-nav         { display: none; }
  .navbar-cta         { display: none; }
  .navbar-hamburger   { display: flex; }

  .hero               { padding: 28px 0 44px; }
  .hero h1            { font-size: 2rem; }

  /* Hero seals: mantém sobre a imagem no mobile, igual ao desktop */
  .hero-seals-row     {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 100%;
    flex-wrap: nowrap;
    white-space: nowrap;
    margin-top: 0;
    gap: 10px;
    overflow: visible;
  }
  .hero-seal          { height: 58px; }

  /* Diferenciais: tabs com scroll horizontal */
  .diferenciais-tabs-row { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
  .diferenciais-tabs-row::-webkit-scrollbar { display: none; }
  .diff-tab-btn       { flex-shrink: 0; padding: 10px 18px; font-size: 0.82rem; }

  /* Materiais: tabs horizontais no mobile */
  .materiais-layout    { grid-template-columns: 1fr; }
  .materiais-nav       { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid rgba(43,47,199,0.1); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .materiais-nav::-webkit-scrollbar { display: none; }
  .material-nav-btn    { flex: 1; min-width: 60px; padding: 14px 10px; border-left: none; border-bottom: none; border-right: 1px solid rgba(43,47,199,0.08); }
  .material-nav-btn:last-child { border-right: none; }
  .material-nav-btn.active { border-left-color: transparent; }
  .material-nav-btn img { height: 32px; }
  .material-panel-text { padding: 24px 20px 16px; }
  .material-panel-img  { width: 100%; }

  /* Depoimentos: scroll horizontal inline */
  .testimonials-grid  {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 16px;
    padding-bottom: 8px;
  }
  .testimonials-grid::-webkit-scrollbar { display: none; }
  .testimonial-card   {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }

  /* Vídeos: scroll horizontal inline */
  .videos-grid        {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 16px;
    padding-bottom: 8px;
  }
  .videos-grid::-webkit-scrollbar { display: none; }
  .video-card         {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }

  /* Tabela comparativa: layout empilhado */
  .comparison-table   { overflow: hidden; }
  .comparison-header  { grid-template-columns: 1fr; }
  .comparison-header-cell:first-child { display: none; }
  .comparison-header-cell:last-child { border-radius: 0; }
  .comparison-row     { grid-template-columns: 1fr; }
  .comparison-cell:first-child {
    border-right: none;
    border-bottom: none;
    padding: 14px 20px 4px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--blue);
  }
  .comparison-cell:last-child {
    padding: 4px 20px 14px;
    font-size: 0.84rem;
  }

  .cambridge-visual   { display: none; }

  /* Modal: coluna única */
  .modal-inner        { grid-template-columns: 1fr; }
  .modal-left         { display: none; }
  .modal-right        { border-radius: var(--radius-xl); padding: 32px 24px 24px; }

  /* FAQ tabs: scroll horizontal */
  .faq-tabs           { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .faq-tabs::-webkit-scrollbar { display: none; }
  .faq-tab-btn        { flex-shrink: 0; }

  /* Footer */
  .footer-grid        { grid-template-columns: 1fr; }
  .footer-bottom      { flex-direction: column; text-align: center; }

  .form-row           { grid-template-columns: 1fr; }

  .diferenciais-header h2 { font-size: 2rem; }

  /* CTAs: sempre inline, sem quebra, botões menores */
  .hero-ctas,
  .section-ctas,
  .comparison-ctas,
  .na-pratica-ctas,
  .testimonials-ctas,
  .materiais-ctas,
  .cta-banner-btns   { flex-wrap: nowrap; justify-content: center; }

  .hero-ctas .btn,
  .section-ctas .btn,
  .comparison-ctas .btn,
  .na-pratica-ctas .btn,
  .testimonials-ctas .btn,
  .materiais-ctas .btn,
  .cta-banner-btns .btn {
    font-size: 0.78rem;
    padding: 12px 16px;
    min-width: 0;
    white-space: nowrap;
  }

  /* Touch targets mínimos */
  .btn                { min-height: 44px; }
  .faq-question       { min-height: 48px; padding: 16px 0; }
  .navbar-hamburger   { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
}

@media (max-width: 480px) {
  .hero-seal          { height: 46px; }
  .hero-seals-row     { gap: 8px; }

  /* CTA banner: padding menor */
  .cta-banner         { padding: 56px 0; }
  .cta-banner h2      { font-size: 1.5rem; }

  /* Botões ainda menores em telas muito pequenas */
  .hero-ctas .btn,
  .section-ctas .btn,
  .comparison-ctas .btn,
  .na-pratica-ctas .btn,
  .testimonials-ctas .btn,
  .materiais-ctas .btn,
  .cta-banner-btns .btn {
    font-size: 0.72rem;
    padding: 10px 12px;
  }
}