/* ==========================================================================
   SBS English Course — Versão C (Modern & High-Impact)
   Design contemporâneo, tipografia fluida, Bento Grid e micro-interações
   ========================================================================== */

:root {
  /* Cores Principais */
  --navy-deep: #050f24;
  --navy-dark: #0a1c3d;
  --navy-mid: #132e5f;
  --navy-light: #204689;
  --navy-surface: #edf3fa;

  --accent: #e11d48;
  --accent-hover: #be123c;
  --accent-soft: rgba(225, 29, 72, 0.08);
  --accent-glow: rgba(225, 29, 72, 0.22);

  --emerald: #059669;
  --emerald-surface: #ecfdf5;

  --whatsapp: #22c55e;
  --whatsapp-dark: #16a34a;

  /* Superfícies e Bordas */
  --bg-main: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --border-light: #e2e8f0;
  --border-focus: #0a1c3d;

  /* Tipografia */
  --text-primary: #091326;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-white: #ffffff;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Dimensões & Raios */
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Sombras */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 18px rgba(10, 28, 61, 0.06);
  --shadow-lg: 0 16px 36px rgba(10, 28, 61, 0.10);
  --shadow-glow: 0 8px 24px var(--accent-glow);

  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Acessibilidade */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 99999;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Header Flutuante com Glassmorphism */
.modern-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
}

.modern-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header-brand img {
  height: 76px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-phone-badge {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .header-phone-badge {
    display: flex;
  }
}

.btn-pill-header {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px var(--accent-glow);
  transition: var(--transition);
}

.btn-pill-header::before,
.btn-modern-primary::before,
.dock-btn::before {
  content: '';
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
  background: url('../img/whatsapp.svg') center / contain no-repeat;
}

.btn-pill-header:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

/* ==========================================================================
   Hero Section — Alto Impacto
   ========================================================================== */
.modern-hero {
  position: relative;
  padding: 3.5rem 0 5rem 0;
  background: radial-gradient(120% 80% at 50% 0%, #ffffff 0%, #f1f5f9 100%);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.modern-hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
  }
}

.hero-badge-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pill-primary {
  background: var(--navy-surface);
  color: var(--navy-mid);
  border: 1px solid rgba(19, 46, 95, 0.15);
}

.pill-accent {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(225, 29, 72, 0.15);
}

.hero-title {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--navy-deep);
  margin-bottom: 1.35rem;
}

.hero-title .highlight-gradient {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

/* Botões Modernos */
.btn-modern-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: var(--accent);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 4px 16px var(--accent-glow);
  transition: var(--transition);
  min-height: 52px;
}

.btn-modern-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px var(--accent-glow);
}

.btn-modern-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: #ffffff;
  color: var(--navy-dark);
  border: 1.5px solid var(--border-light);
  padding: 0.95rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  min-height: 52px;
}

.btn-modern-secondary:hover {
  background: var(--navy-surface);
  border-color: var(--navy-mid);
  color: var(--navy-deep);
}

.hero-microcopy {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Barra de Destaques de Confiança (Trust Strip) */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-light);
}

@media (min-width: 640px) {
  .trust-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1.2;
}

.trust-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.15rem;
}

/* Card Visual do Hero */
.hero-visual-col {
  width: 100%;
  max-width: 520px;
  min-width: 0;
  justify-self: center;
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: #ffffff;
}

.hero-visual-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

@media (min-width: 960px) {
  .hero-visual-col { max-width: none; }
  .hero-visual-card img { aspect-ratio: 1 / 1; }
}

.hero-floating-tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(10, 28, 61, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-floating-tag .status-dot {
  width: 8px;
  height: 8px;
  background: var(--whatsapp);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--whatsapp);
}

.hero-card-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 15, 36, 0.88) 100%);
  padding: 2.5rem clamp(1rem, 2vw, 1.5rem) clamp(0.9rem, 2vw, 1.25rem);
  color: #fff;
}

.hero-card-footer h3 {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
  color: #fff;
}

.hero-card-footer p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.2rem;
}

/* ==========================================================================
   Seção: O que Acontece na Aula Experimental Gratuita
   ========================================================================== */
.section-steps-flow {
  padding: 5rem 0;
  background: #ffffff;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-tag-modern {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy-deep);
  letter-spacing: -0.02em;
}

.section-head p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
}

.steps-timeline-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .steps-timeline-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-flow-card {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.step-flow-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10, 28, 61, 0.2);
}

.step-icon-number {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--navy-deep);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(5, 15, 36, 0.15);
}

.step-flow-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 0.65rem;
}

.step-flow-card p {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Seção: Bento Grid — Infraestrutura e Qualidade Real
   ========================================================================== */
.section-bento {
  padding: 5.5rem 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .bento-span-8 { grid-column: span 8; }
  .bento-span-4 { grid-column: span 4; }
  .bento-span-6 { grid-column: span 6; }
  .bento-span-12 { grid-column: span 12; }
}

.bento-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10, 28, 61, 0.2);
}

.bento-card-media {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.bento-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bento-card:hover .bento-card-media img {
  transform: scale(1.03);
}

.bento-card-content {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bento-badge {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy-mid);
  background: var(--navy-surface);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  width: fit-content;
}

.bento-card-content h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 0.5rem;
}

.bento-card-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Card Especial de Destaque Pedagógico (Monitores) */
.bento-card-highlight {
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
  color: #ffffff;
  border: none;
  justify-content: center;
}

.bento-card-highlight .bento-card-content {
  padding: 2.5rem 2.25rem;
}

.bento-card-highlight h3 {
  color: #ffffff;
  font-size: 1.5rem;
}

.bento-card-highlight p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

/* ==========================================================================
   Seção: Seletor Interativo de Perfil de Aprendizado
   ========================================================================== */
.section-profiles {
  padding: 5.5rem 0;
  background: #ffffff;
}

.profile-tabs-nav {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  margin-bottom: 2.5rem;
  scrollbar-width: none;
}

.profile-tabs-nav::-webkit-scrollbar {
  display: none;
}

.profile-tab-btn {
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 1.5px solid var(--border-light);
  transition: var(--transition);
}

.profile-tab-btn:hover {
  background: var(--navy-surface);
  color: var(--navy-dark);
}

.profile-tab-btn.active {
  background: var(--navy-deep);
  color: #ffffff;
  border-color: var(--navy-deep);
  box-shadow: 0 4px 14px rgba(5, 15, 36, 0.2);
}

.profile-display-card {
  background: var(--bg-alt);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .profile-display-card {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 3.5rem;
    gap: 3rem;
  }
}

.profile-content-area h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.profile-content-area p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.profile-benefits-list {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.profile-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.975rem;
  color: var(--navy-dark);
  font-weight: 600;
}

.profile-benefits-list svg {
  color: var(--emerald);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.profile-sidebar-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-sidebar-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--navy-surface);
  color: var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.profile-sidebar-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Seção: Equipe & Sócios Professores
   ========================================================================== */
.section-team-modern {
  padding: 5.5rem 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.team-modern-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 860px) {
  .team-modern-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.team-image-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid #ffffff;
  background: #ffffff;
}

.team-image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
}

.team-bio-content h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.team-bio-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.team-members-chips {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 520px) {
  .team-members-chips {
    grid-template-columns: 1fr 1fr;
  }
}

.member-chip {
  background: #ffffff;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.member-chip strong {
  display: block;
  color: var(--navy-deep);
  font-size: 1.05rem;
}

.member-chip span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* ==========================================================================
   Seção: Localização & Convite para o Café
   ========================================================================== */
.section-location-modern {
  padding: 5.5rem 0;
  background: #ffffff;
}

.location-banner-box {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-dark) 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .location-banner-box {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 3.5rem;
    align-items: center;
  }
}

.location-banner-box h2 {
  color: #ffffff;
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.location-banner-box p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}

.location-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.location-point-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.location-point-row svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.location-action-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ==========================================================================
   Seção: FAQ Dinâmico Moderno
   ========================================================================== */
.section-faq-modern {
  padding: 5.5rem 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
}

.modern-faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modern-faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.modern-faq-item[open] {
  border-color: var(--navy-light);
  box-shadow: var(--shadow-md);
}

.modern-faq-trigger {
  padding: 1.35rem 1.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}

.modern-faq-trigger::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 22px;
  height: 22px;
  color: var(--accent);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.modern-faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.modern-faq-body {
  padding: 0 1.75rem 1.5rem 1.75rem;
  color: var(--text-secondary);
  font-size: 0.975rem;
  line-height: 1.65;
  border-top: 1px solid rgba(226, 232, 240, 0.6);
  padding-top: 1rem;
}

/* ==========================================================================
   Seção: Fechamento Magnético
   ========================================================================== */
.section-closing-modern {
  padding: 6rem 0;
  background: radial-gradient(100% 100% at 50% 0%, #ffffff 0%, var(--navy-surface) 100%);
}

.closing-modern-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2rem;
  box-shadow: var(--shadow-lg);
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 640px) {
  .closing-modern-card {
    padding: 4.5rem 3.5rem;
  }
}

.closing-modern-card h2 {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.closing-modern-card p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 2.5rem auto;
}

.closing-quick-selector {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 2.25rem;
  text-align: left;
}

.quick-selector-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 0.85rem;
  display: block;
}

.quick-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.modern-chip-radio {
  cursor: pointer;
  position: relative;
}

.modern-chip-radio input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.modern-chip-radio span {
  display: inline-block;
  padding: 0.55rem 1.15rem;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}

.modern-chip-radio input:checked + span {
  background: var(--navy-deep);
  color: #ffffff;
  border-color: var(--navy-deep);
}

/* ==========================================================================
   Rodapé Moderno
   ========================================================================== */
.modern-footer {
  background: var(--navy-deep);
  color: #94a3b8;
  padding: 4.5rem 0 2rem 0;
  margin-top: auto;
  font-size: 0.925rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .footer-top-grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.85rem;
}

@media (min-width: 640px) {
  .footer-bottom-bar {
    flex-direction: row;
  }
}

/* ==========================================================================
   Barra Inferior Flutuante Mobile
   ========================================================================== */
.mobile-action-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-light);
  padding: 0.75rem 1.25rem calc(0.75rem + env(safe-area-inset-bottom, 0px)) 1.25rem;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 999;
  transform: translateY(110%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-action-dock.is-active {
  transform: translateY(0);
}

.dock-text {
  display: flex;
  flex-direction: column;
}

.dock-title {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dock-status-dot {
  width: 7px;
  height: 7px;
  background: var(--whatsapp);
  border-radius: 50%;
}

.dock-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.dock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: var(--accent);
  color: #ffffff;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 2px 10px var(--accent-glow);
  white-space: normal;
  text-align: center;
  flex: 0 1 55%;
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 6.5rem;
  z-index: 998;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  background: var(--whatsapp-dark);
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.36);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.whatsapp-float:hover {
  color: #fff;
  background: #128c3d;
  transform: translateY(-3px);
}

.whatsapp-float img { display: block; width: 36px; height: 36px; }

@media (min-width: 860px) {
  .mobile-action-dock {
    display: none !important;
  }
  .whatsapp-float { right: 1.75rem; bottom: 1.75rem; width: 64px; height: 64px; }
}

/* Ambiente: galeria rotativa e seção reservada ao método. */
[hidden] { display: none !important; }
.environment-carousel {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--navy-deep);
  box-shadow: var(--shadow-lg);
}
.environment-slide { position: relative; }
.environment-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 5;
  object-fit: cover;
}
.environment-slide figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 4rem 2rem 5.5rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
}
.environment-slide figcaption strong { display: block; font-size: clamp(1.1rem, 2.2vw, 1.5rem); line-height: 1.3; }
.environment-slide figcaption span { display: block; margin-top: 0.25rem; font-size: clamp(0.85rem, 1.5vw, 1rem); }
.carousel-controls { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; color: #fff; gap: 1rem; }
.carousel-buttons { display: flex; gap: 0.6rem; }
.carousel-control { color: #fff; background: rgba(255,255,255,0.12); border-radius: var(--radius-full); min-height: 44px; min-width: 44px; padding: 0.5rem 1rem; font-weight: 700; }
.carousel-control:hover { background: var(--navy-light); }
.method-section { margin-top: 2rem; padding: 2.5rem; border: 1px solid var(--border-light); border-radius: var(--radius-lg); background: var(--bg-alt); }
.method-section h2 { color: var(--navy-deep); margin-bottom: 0.75rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.method-section p { color: var(--text-secondary); }
.method-movements,
.journey-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.75rem; }
.method-movements article,
.journey-grid article { padding: 1.25rem; border: 1px solid var(--border-light); border-radius: var(--radius-md); background: #fff; }
.method-movements strong { display: block; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; margin-bottom: 0.35rem; }
.method-movements span { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.55; }
.method-highlight { margin-top: 1.75rem; padding: 1.75rem; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid)); }
.method-highlight h3 { color: #fff; font-size: clamp(1.25rem, 2.5vw, 1.7rem); margin-bottom: 0.65rem; }
.method-highlight p { color: rgba(255,255,255,0.88); }
.journey-block { margin-top: 2rem; }
.journey-block h3 { color: var(--navy-deep); font-size: clamp(1.35rem, 2.6vw, 1.8rem); margin-bottom: 0.5rem; }
.journey-grid article > span { display: block; color: var(--accent); text-transform: uppercase; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.06em; }
.journey-grid article > strong { display: block; margin: 0.3rem 0 0.45rem; color: var(--navy-deep); }
.journey-grid article p { font-size: 0.92rem; line-height: 1.55; }
.method-section .btn-modern-primary { margin-top: 1.75rem; }
.location-cta-note { display: block; color: rgba(255,255,255,0.78); font-size: 0.78rem; font-weight: 600; text-align: center; }
.location-map { display: block; width: 100%; height: 340px; border-radius: var(--radius-md); background: #fff; }
.location-action-cards { min-width: 0; }
.location-point-row a { text-decoration: underline; text-underline-offset: 3px; }
.profile-tabs-nav { flex-wrap: wrap; overflow: visible; }
.hero-visual-card img { object-position: center 57%; }
@media (min-width: 860px) {
  .location-banner-box { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .header-brand img { height: 62px; }
  .btn-pill-header { font-size: 0.8rem; padding-inline: 0.85rem; }
  .modern-header .container { padding-top: 0.45rem; padding-bottom: 0.45rem; }
  .profile-tab-btn { padding: 0.7rem 1rem; font-size: 0.825rem; }
  .location-banner-box { padding: 2rem 1.25rem; }
  .location-map { height: 300px; }
  .method-section { padding: 1.5rem; }
  .carousel-controls { padding: 0.85rem 1rem; }
  .carousel-control { padding: 0.5rem 0.75rem; }
  .environment-slide img { aspect-ratio: 4 / 3; }
  .environment-slide figcaption { padding: 3rem 1rem 5rem; }
  .member-chip { padding: 1rem; }
  .method-movements,
  .journey-grid { grid-template-columns: 1fr; }
  .method-highlight { padding: 1.35rem; }
  .method-section .btn-modern-primary { width: 100%; padding-inline: 1rem; }
}

@media (max-width: 959px) {
  .hero-grid { display: flex; flex-direction: column; }
  .hero-visual-col { order: 0; }
  .hero-text-col { order: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Espaçamento entre os textos do bloco de ensino existente. */
#method-content p { margin-top: 0.75rem; }
