/* ═══════════════════════════════════════════════════════════════
   LEARN PORTUGUESE WITH JOSÉ
   Design System & Main Stylesheet
   ═══════════════════════════════════════════════════════════════ */

/* ─── CUSTOM PROPERTIES ─────────────────────────────────────── */
:root {
  /* Brand Colors */
  --color-deep-blue:    #1B2A4A;
  --color-blue-mid:     #2C3E6B;
  --color-blue-light:   #3A5299;
  --color-orange:       #FF8C00;
  --color-orange-hover: #E67E00;
  --color-gold:         #C9962A;
  --color-gold-light:   #F0C050;
  --color-cream:        #FAF7F2;
  --color-white:        #FFFFFF;
  --color-text:         #1B2A4A;
  --color-text-muted:   #5A6A8A;
  --color-border:       #DDE3F0;
  --color-green:        #2E7D32;
  --color-red:          #C62828;

  /* Azulejo / Tile inspired accent */
  --color-azulejo:      #1565C0;
  --color-azulejo-bg:   #EEF3FC;

  /* Typography */
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Inter', system-ui, sans-serif;

  /* Spacing */
  --spacing-xs:  0.5rem;
  --spacing-sm:  1rem;
  --spacing-md:  1.5rem;
  --spacing-lg:  2.5rem;
  --spacing-xl:  4rem;
  --spacing-2xl: 6rem;

  /* Layout */
  --nav-height:  76px;

  /* Borders */
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(27, 42, 74, 0.08);
  --shadow-md:   0 8px 24px rgba(27, 42, 74, 0.12);
  --shadow-lg:   0 16px 48px rgba(27, 42, 74, 0.16);

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

/* ─── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

/* ─── AZULEJO PATTERN (SVG background) ──────────────────────── */
/* .azulejo-bg removed — hero now uses video background */


/* ─── TYPOGRAPHY HELPERS ─────────────────────────────────────── */
.highlight {
  color: var(--color-orange);
  position: relative;
}

/* ─── CTA BUTTON ─────────────────────────────────────────────── */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
  background: var(--color-orange);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 20px rgba(255, 140, 0, 0.35);
  text-align: left;
}

.btn-cta:hover,
.btn-cta:focus-visible {
  background: var(--color-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 140, 0, 0.45);
  color: var(--color-white);
}

.btn-cta:active { transform: translateY(0); }

.btn-cta--large {
  font-size: 1.1rem;
  padding: 1rem 2.2rem;
}

.btn-cta--small {
  font-size: 0.875rem;
  padding: 0.65rem 1.4rem;
}

.cta-note {
  margin-top: 0.4rem;
  font-size: 0.65rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  justify-content: flex-start;
  text-align: left;
  font-weight: 400;
  letter-spacing: 0.01em;
  width: 100%;
}
.cta-note strong {
  font-weight: 400;
  color: var(--color-text-muted);
}

/* Inside dark sections */
.reviews .cta-note {
  color: rgba(255,255,255,0.55);
}
.reviews .cta-note strong {
  color: rgba(255,255,255,0.55);
}

.section-cta-wrap {
  text-align: center;
  margin-top: var(--spacing-xl);
}

.cta-pre-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--color-deep-blue);
  margin-bottom: 0.5rem;
}

.cta-supporting-text {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* ─── STATS BAR ──────────────────────────────────────────────── */
.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
  padding: 2.5rem 5%;
  flex-wrap: wrap;
  overflow: hidden;
}

/* Azulejo background */
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/azulejos-pattern.jpg');
  background-size: 280px auto;
  background-repeat: repeat;
  z-index: 0;
}

/* Dark overlay para legibilidade dos textos */
.stats-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 48, 0.72);
  z-index: 1;
}

.stats-bar--alt {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-top: 3rem;
}

/* Sem azulejo nem overlay na barra alt */
.stats-bar--alt::before,
.stats-bar--alt::after {
  display: none;
}

.stats-bar--alt .stat-number,
.stats-bar--alt .stat-plus {
  color: var(--color-deep-blue);
}

.stats-bar--alt .stat-label {
  color: var(--color-text-muted);
}

.stat-item {
  text-align: center;
  padding: 0.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  position: relative;
  z-index: 2;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-plus {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--color-gold-light);
  margin-left: 3px;
  line-height: 1;
  align-self: flex-start;
  margin-top: 0.3rem;
}

.stat-rating { color: #ffffff; }

.stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 0.35rem;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.2);
  position: relative;
  z-index: 2;
}

.stats-bar--alt .stat-divider {
  background: var(--color-border);
}

.stats-bar--alt .stat-rating {
  color: var(--color-deep-blue);
}

/* ─── AZULEJO BANNER ────────────────────────────────────────── */
.azulejo-banner {
  position: relative;
  overflow: hidden;
  padding: 4rem 5%;
}

/* Fundo azulejo */
.azulejo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/azulejos-pattern.jpg');
  background-size: 280px auto;
  background-repeat: repeat;
  z-index: 0;
}

/* Overlay escuro */
.azulejo-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 48, 0.75);
  z-index: 1;
}

.azulejo-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.azulejo-banner-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .azulejo-banner-headline { white-space: normal; }
}

.azulejo-banner-highlight {
  color: var(--color-orange);
}

.azulejo-banner-cta {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

/* ─── NAVBAR ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

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

.nav-container {
  width: 100%;
  padding: 0 5%;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
}

.nav-logo:hover { opacity: 0.85; }

.logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-main {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-deep-blue);
  letter-spacing: 0.02em;
}

.brand-sub {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text-muted);
}

.brand-sub em {
  font-style: italic;
  color: var(--color-orange);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--color-deep-blue);
  background: var(--color-azulejo-bg);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--color-border);
}
.lang-switcher:hover { border-color: var(--color-blue-light); }

/* Language Dropdown */
.lang-dropdown {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-azulejo);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
  transition: var(--transition);
  white-space: nowrap;
}

.lang-btn:hover {
  background: #253d6e;
}

.lang-btn svg {
  width: 20px;
  height: 15px;
  border-radius: 2px;
  flex-shrink: 0;
}

.lang-btn-arrow {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
  margin-left: 1px;
}

.lang-dropdown.open .lang-btn-arrow {
  transform: rotate(180deg);
}

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 160px;
  z-index: 2000;
  overflow: hidden;
  animation: langMenuIn 0.15s ease;
}

@keyframes langMenuIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lang-dropdown.open .lang-menu {
  display: block;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-sans);
}

.lang-option:hover {
  background: var(--color-azulejo-bg);
  color: var(--color-azulejo);
}

.lang-option.active {
  background: var(--color-azulejo-bg);
  color: var(--color-azulejo);
  font-weight: 700;
}

.lang-option svg {
  width: 22px;
  height: 16px;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}

.lang-option-name {
  flex: 1;
}

.lang-option-code {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* Caixa de idioma com fundo azul escuro (legado) */
.nav-link--lang {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--color-azulejo);
  color: var(--color-white) !important;
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.nav-link--lang:hover {
  background: #253d6e;
  color: var(--color-white) !important;
}

.nav-cta { display: none; } /* removed per client request */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-deep-blue);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══════════════════════════════════════════════════════════════
   MOBILE MENU — Fullscreen Overlay
═══════════════════════════════════════════════════════════════ */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 20, 50, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: flex-start;
  justify-content: flex-end;
}

.mobile-menu.open {
  display: flex;
  animation: menuFadeIn 0.25s ease;
}

@keyframes menuFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.mobile-menu-inner {
  width: min(85vw, 340px);
  height: 100%;
  background: var(--color-deep-blue);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
  animation: menuSlideIn 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes menuSlideIn {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

/* Header */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.mobile-menu-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 6px;
}

.mobile-menu-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.mobile-menu-brand span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.01em;
}

.mobile-menu-brand em {
  font-size: 0.78rem;
  color: var(--color-gold);
  font-style: italic;
}

.mobile-menu-close {
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--color-white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.mobile-menu-close:hover {
  background: rgba(255,255,255,0.2);
}

/* Nav Links */
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  flex: 1;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: var(--transition);
}

.mobile-nav-item i {
  width: 20px;
  text-align: center;
  color: var(--color-gold);
  font-size: 0.95rem;
}

.mobile-nav-item:hover,
.mobile-nav-item:active {
  background: rgba(255,255,255,0.07);
  border-left-color: var(--color-orange);
  color: var(--color-white);
}

/* CTA Block */
.mobile-menu-cta {
  padding: 1.25rem 1.25rem 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-cta-note {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.6rem;
}

/* Social Block */
.mobile-menu-social {
  padding: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-social-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  text-align: center;
  margin-bottom: 0.85rem;
}

.mobile-menu-social-icons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.mobile-social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  transition: var(--transition);
}

.mobile-social-btn:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-white);
}

/* legado — manter compatibilidade */
.mobile-link { text-decoration: none; }
.mobile-cta  { justify-content: center; }


/* ─── HERO SECTION ───────────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: var(--nav-height);
  padding-bottom: 0;
  background: #ffffff;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Hero title — 4 linhas */
.hero-title-line1,
.hero-title-line2 {
  display: block;
}
.hero-title-line3--desktop,
.hero-title-line4--desktop {
  display: block;
}

/* Mobile-only bottom block (hidden on desktop) */
.hero-mobile-bottom {
  display: none;
}

.hero-title-mobile-second {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 5.5vw, 2.2rem);
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  margin-bottom: 1.25rem;
}

.hero-cta-mobile {
  align-items: center;
  width: 100%;
}

/* Desktop CTA stays inside hero-content */
.hero-cta-desktop { display: flex; }

/* Hero background video — removed, using white bg */
.hero-bg-video { display: none; }
.hero-bg-overlay { display: none; }

.hero-container {
  width: 100%;
  padding: 0 0 0 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  flex: 1;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  justify-content: center;
  padding: var(--spacing-xl) 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-gold);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  width: fit-content;
  letter-spacing: 0.03em;
}

.hero-badge i { font-size: 0.7rem; }

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 900;
  color: var(--color-deep-blue);
  line-height: 1.15;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--color-text-muted);
  max-width: 520px;
  line-height: 1.75;
}

/* Hero white background — badge */
.hero .hero-badge {
  background: var(--color-gold);
}

/* Hero Subtitle Block */
.hero-subtitle-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-subtitle-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.75;
  margin-bottom: 0.25rem;
}
.hero-subtitle-lead strong { color: var(--color-white); font-weight: 700; }
.hero-subtitle-lead u { text-decoration-color: var(--color-orange); text-underline-offset: 3px; }

.hero-subtitle-closer {
  margin-top: 0.5rem;
  font-size: 1.05rem;
  color: var(--color-white);
  text-align: center;
}

.hero-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 0.25rem;
}

.hero-benefits li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.975rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  line-height: 1.5;
}

.hero-benefits li i {
  color: var(--color-orange);
  font-size: 0.8rem;
  flex-shrink: 0;
  background: rgba(255, 140, 0, 0.12);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bloco seta + tagline + CTA */
.hero-arrow-cta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-top: 0.5rem;
  width: 100%;
}

/* Seta centrada com a linha "in Portugal." do título */
.hero-arrow-wrap {
  margin-bottom: 0.5rem;
  width: 220px;
  display: flex;
  justify-content: center;
}

.hero-arrow-svg {
  width: 28px;
  height: 58px;
  display: block;
  filter: drop-shadow(0 3px 8px rgba(255, 140, 0, 0.35));
}

/* Tagline abaixo da seta */
.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: 1.25rem;
  margin-left: 0;
  line-height: 1.4;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  margin-top: 0;
  text-align: left;
}

/* Hero Video — coluna direita */
.hero-video-wrap {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: #ffffff;
}

/* Moldura do vídeo com margem interna (10% top/bottom/right, 5% left) */
.hero-video-frame {
  margin: 8% 8% 8% 5%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(27, 42, 74, 0.18);
  border: 5px solid var(--color-white);
  outline: 1px solid var(--color-border);
  position: relative;
  min-height: 320px;
  flex: 1;
}

/* Vídeo autoplay hero */
.hero-auto-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  background: var(--color-deep-blue);
}

.hero-video-container {
  position: relative;
  width: 100%;
  padding-bottom: 62%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255,255,255,0.3);
  background: var(--color-deep-blue);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-placeholder {
  position: relative;
  width: 100%;
  padding-bottom: 80%;
  background: linear-gradient(145deg, var(--color-deep-blue), var(--color-blue-light));
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  border: 4px solid rgba(255,255,255,0.3);
}

/* Hero video placeholder — mantido para compatibilidade, não usado no hero */
.hero-video-wrap .video-placeholder {
  flex: 1;
  padding-bottom: 0;
  height: 100%;
  min-height: 320px;
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: none;
}

.hero-video-wrap .video-placeholder:hover {
  transform: none;
  box-shadow: none;
}

.video-placeholder:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 24px 60px rgba(27, 42, 74, 0.22);
}

.video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='white' fill-opacity='0.04'%3E%3Cpath d='M0 0h15v15H0zm15 15h15v15H15zm15-15h15v15H30zm15 15h15v15H45z'/%3E%3C/g%3E%3C/svg%3E") repeat;
}

/* Thumbnail image inside video placeholder */
.video-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 0;
}

.video-thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(10, 20, 50, 0.35);
  z-index: 1;
  transition: var(--transition);
}

.video-placeholder:hover .video-thumb-overlay {
  background: rgba(10, 20, 50, 0.2);
}

.play-btn {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.15);
  border: 3px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.video-placeholder:hover .play-btn {
  background: var(--color-orange);
  border-color: var(--color-orange);
  transform: scale(1.1);
}

.play-btn i {
  color: white;
  font-size: 1.75rem;
  margin-left: 4px;
}

.video-label {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.video-placeholder--dark {
  background: linear-gradient(145deg, #0a1628, var(--color-deep-blue));
}


/* ─── PROBLEM / SOLUTION — Split Layout ─────────────────────── */
.ps-split {
  background: var(--color-white);
}

/* Cada linha ocupa toda a largura */
.ps-split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 0;
  align-items: center;
}

/* Texto à esquerda, imagem à direita */
.ps-split-row--text-left {
  background: var(--color-white);
}

/* Imagem à esquerda, texto à direita */
.ps-split-row--img-left {
  background: var(--color-cream);
}

/* Coluna de texto */
.ps-split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 6%;
  gap: 1rem;
}

/* Coluna de imagem — com padding como na referência */
.ps-split-img-wrap {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Bloco 2: imagem à esquerda — igual */
.ps-split-row--img-left .ps-split-img-wrap {
  padding: 2rem;
}

.ps-split-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.6s ease;
}

.ps-split-img-wrap:hover .ps-split-img {
  transform: scale(1.02);
}

/* Pre-texto */
.ps-split-pre {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--color-text-muted);
  font-style: italic;
  line-height: 1.6;
  max-width: 480px;
}

/* Headline principal */
.ps-split-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  color: var(--color-deep-blue);
  line-height: 1.1;
  max-width: 520px;
}

.ps-split-dot {
  color: var(--color-orange);
}

/* Headline bloco 2 — problema */
.ps-split-headline--problem {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 1.5rem;
  max-width: 480px;
}

.ps-split-highlight {
  color: var(--color-orange);
}

/* Bloco solução */
.ps-split-solution {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ps-split-solution-intro {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.ps-split-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
}

.ps-split-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text);
}

.ps-split-list li i {
  color: var(--color-green);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 0.3rem;
}

.ps-split-list li strong {
  color: var(--color-deep-blue);
}

.ps-split-list li span {
  color: var(--color-text-muted);
  font-style: italic;
  font-size: 0.9em;
}

.ps-split-closer {
  font-size: 0.975rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
}

.ps-split-closer strong {
  color: var(--color-green);
  font-size: 1.05rem;
}

.ps-split-cta {
  margin-top: 0.5rem;
  align-self: flex-start;
}

/* ─── SOLUTION SECTION ───────────────────────────────────────── */
/* ═══════════════════════════════════════════
   NO MORE / SOLUTION SECTION
═══════════════════════════════════════════ */

.nms-section {
  background: var(--color-white);
  padding: var(--spacing-xl) 5%;
}

.nms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Cada coluna: imagem + card empilhados */
.nms-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Imagem */
.nms-img-wrap {
  overflow: hidden;
}

.nms-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
}

/* Card base */
.nms-card {
  padding: 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* Card — Solution (fundo branco/creme) */
.nms-card--solution {
  background: var(--color-white);
  border: 1px solid #e8e8e8;
}

/* Card — No More (fundo creme) */
.nms-card--nomore {
  background: var(--color-cream, #f7f4ef);
  border: 1px solid #e8e8e8;
}

/* Label "Solution" com ícone verde */
.nms-card-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-deep-blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nms-icon-green {
  color: #2db84b;
  font-size: 1.2rem;
}

/* Intro texto */
.nms-card-intro {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.nms-card-intro strong {
  color: var(--color-deep-blue);
}

/* Listas */
.nms-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nms-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  line-height: 1.55;
  color: var(--color-text);
}

.nms-list li i {
  color: var(--color-orange);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 0.3rem;
}

.nms-list li i.fa-circle-check {
  color: #2db84b;
  font-size: 1rem;
}

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

.nms-list li em {
  font-style: italic;
  color: var(--color-text-muted);
}

/* Título "No more" */
.nms-nomore-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--color-deep-blue);
  font-weight: 700;
  line-height: 1.2;
}

/* Seta para baixo */
.nms-arrow-down {
  font-size: 1.8rem;
  color: var(--color-orange);
  text-align: left;
  line-height: 1;
}

/* "Learn Portuguese" CTA inline */
.nms-learn-cta {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 700;
  color: var(--color-deep-blue);
  text-align: left;
  letter-spacing: 0.02em;
}

/* ─── PROBLEM / SOLUTION (legado ps2- — mantido para não quebrar) */
.problem-solution {
  padding: var(--spacing-2xl) 1.5rem var(--spacing-xl);
  background: var(--color-white);
}

/* Headline */
.ps2-headline-wrap {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-xl);
}
.ps2-headline-pre {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
  font-style: italic;
}
.ps2-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--color-deep-blue);
  line-height: 1.15;
}
.ps2-headline-dot { color: var(--color-orange); }

/* Grid 2×2 perguntas */
.ps2-questions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto var(--spacing-lg);
}
.ps2-q-card {
  background: #FFF5F5;
  border: 2px solid #FFCDD2;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.ps2-q-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ps2-q-icon { color: var(--color-red); font-size: 1.1rem; flex-shrink: 0; margin-top: 0.15rem; }
.ps2-q-card p { font-size: 0.975rem; line-height: 1.6; color: var(--color-deep-blue); margin: 0; }
.ps2-q-card p u { text-decoration-color: rgba(198,40,40,0.4); text-underline-offset: 3px; }

/* Seta ↓ */
.ps2-arrow-down {
  text-align: center;
  font-size: 1.75rem;
  color: var(--color-orange);
  margin-bottom: var(--spacing-md);
  filter: drop-shadow(0 2px 6px rgba(255,140,0,0.25));
}

/* Row Problema + Solução */
.ps2-cards-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.25rem;
  align-items: center;
  max-width: 960px;
  margin: 0 auto var(--spacing-xl);
}
.ps2-box {
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.ps2-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ps2-box--problem { background: #FFF5F5; border: 2px solid #FFCDD2; text-align: center; }
.ps2-box--solution { background: #F1F8F1; border: 2px solid #C8E6C9; }
.ps2-box-icon { font-size: 2.25rem; margin-bottom: 0.85rem; }
.ps2-box--problem .ps2-box-icon { color: var(--color-red); }
.ps2-box--solution .ps2-box-icon { color: var(--color-green); }
.ps2-box-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-deep-blue);
  margin-bottom: 0.65rem;
}
.ps2-box-text { font-size: 1rem; line-height: 1.7; color: var(--color-text); margin-bottom: 1rem; }
.ps2-box--problem .ps2-box-text { font-size: 1.05rem; font-weight: 600; color: var(--color-deep-blue); }
.ps2-solution-list {
  display: flex; flex-direction: column; gap: 0.7rem;
  list-style: none; padding: 0; margin-bottom: 1rem;
}
.ps2-solution-list li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.95rem; line-height: 1.55; color: var(--color-text); }
.ps2-solution-list li i { color: var(--color-green); font-size: 0.8rem; flex-shrink: 0; margin-top: 0.3rem; }
.ps2-solution-list li strong { color: var(--color-deep-blue); }
.ps2-solution-list li span { color: var(--color-text-muted); font-size: 0.9em; font-style: italic; }
.ps2-solution-closer {
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid #C8E6C9;
  font-size: 0.975rem; color: var(--color-text-muted); line-height: 1.65;
}
.ps2-solution-closer strong { color: var(--color-green); font-size: 1.05rem; }
.ps2-mid-arrow {
  display: flex; align-items: center; justify-content: center;
  font-size: 2.25rem; color: var(--color-orange);
  filter: drop-shadow(0 2px 6px rgba(255,140,0,0.3));
}

/* legado: esconder estilos antigos */
.ps-header, .ps-headline-box, .ps-headline { display: none; }

/* Icon + title in one row */
.ps-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.ps-card-header .ps-card-icon {
  margin-bottom: 0;
}

.ps-card-header .ps-card-title {
  margin-bottom: 0;
}

/* Problem 3 key points */
.ps-problem-points {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-left: 0;
  list-style: none;
  margin-bottom: 1rem;
}

.ps-problem-points li {
  padding-left: 0;
}

.ps-problem-key {
  font-weight: 700;
  color: var(--color-deep-blue);
  font-size: 0.975rem;
  text-decoration: underline;
  text-decoration-color: rgba(198,40,40,0.35);
  text-underline-offset: 3px;
}

/* ps-problem-arrow-inner foi removido do HTML — regra mantida vazia para não quebrar nada */

/* "You need to learn..." box */
.ps-problem-learn {
  background: rgba(198, 40, 40, 0.06);
  border-left: 3px solid var(--color-red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.85rem 1rem;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--color-deep-blue);
  line-height: 1.6;
  margin-top: 0.25rem;
}

/* Solution list item with sub-text below label */
.ps-list-item--with-sub {
  align-items: flex-start !important;
}

.ps-list-item-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ps-list-item-label {
  font-weight: 700;
  color: var(--color-deep-blue);
  font-size: 0.975rem;
}

.ps-list-item-sub {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-style: italic;
  padding-left: 0.1rem;
}

/* ps-subheadline removed (no longer used) */

.ps-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
}

.ps-card {
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

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

.ps-card--problem {
  background: #FFF5F5;
  border: 2px solid #FFCDD2;
}

.ps-card--solution {
  background: #F1F8F1;
  border: 2px solid #C8E6C9;
}

.ps-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.ps-card--problem .ps-card-icon { color: var(--color-red); }
.ps-card--solution .ps-card-icon { color: var(--color-green); }

.ps-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--color-deep-blue);
}

.ps-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ps-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text);
}

.ps-list li i {
  flex-shrink: 0;
  margin-top: 0.25rem;
  font-size: 0.85rem;
}

.ps-card--problem .ps-list li i { color: var(--color-red); }
.ps-card--solution .ps-list li i { color: var(--color-green); }
.ps-card--solution .ps-list li strong { color: var(--color-deep-blue); }
.ps-card--solution .ps-list li span {
  color: var(--color-text-muted);
  font-size: 0.9em;
}

/* Problem card text */
.ps-problem-text {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.ps-problem-text p {
  font-size: 0.975rem;
  color: var(--color-text);
  line-height: 1.8;
}

.ps-problem-emphasis {
  font-weight: 700;
  color: var(--color-red) !important;
  font-size: 1rem !important;
  padding: 0.85rem 1rem;
  background: rgba(198, 40, 40, 0.06);
  border-left: 3px solid var(--color-red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Solution card extras */
.ps-solution-intro {
  font-size: 0.975rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  line-height: 1.65;
  font-style: italic;
}

.ps-solution-closer {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid #C8E6C9;
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.ps-solution-closer strong {
  color: var(--color-green);
  font-size: 1.05rem;
}

/* ── SETA ÚNICA PROBLEM → SOLUTION ─────────────────────────────
   Desktop : → (fa-arrow-right)  — rotação 0deg
   Mobile  : ↓ (fa-arrow-right rotacionada 90deg)
   Uma só classe, sem conflitos, sem !important extra
──────────────────────────────────────────────────────────────── */
.ps-arrow-single {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ps-arrow-icon {
  font-size: 2.5rem;
  color: var(--color-orange);
  filter: drop-shadow(0 2px 6px rgba(255,140,0,0.3));
  /* Desktop: seta para a direita → */
  transform: rotate(0deg);
  transition: none;
}


/* ─── ABOUT / SOCIAL PROOF ───────────────────────────────────── */
.about-proof {
  padding: var(--spacing-2xl) 1.5rem var(--spacing-xl);
  background: var(--color-white);
  position: relative;
  overflow: hidden;
}

.about-proof::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-azulejo), var(--color-gold), var(--color-orange));
}

.ap-headline-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-xl);
}

.ap-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--color-deep-blue);
  line-height: 1.3;
}

.ap-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: var(--spacing-xl);
  align-items: center;
}

/* ── About — vídeo ── */
.ap-video-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--color-deep-blue);
  aspect-ratio: 4 / 3;
}

.ap-auto-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── About José — bloco de texto ── */
.about-jose-text {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.about-jose-greeting {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.about-jose-name {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--color-deep-blue);
  margin-top: 0.2rem;
}

/* MY MAIN GOAL box — estilo da referência */
.about-goal-box {
  background: #eef3fb;
  border-left: 4px solid var(--color-azulejo);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.about-goal-label {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-deep-blue);
}

.about-goal-text {
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  color: var(--color-text);
  line-height: 1.7;
  font-style: italic;
}

.about-goal-text strong {
  font-style: italic;
  color: var(--color-deep-blue);
}

/* About Card */
.about-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
  border: 1px solid var(--color-border);
}

.about-text {
  flex: 1;
  min-width: 0;
}

/* About José — real photo (lado direito) */
.about-photo-wrap {
  width: 130px;
  height: 130px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--color-gold);
  box-shadow: 0 8px 28px rgba(27, 42, 74, 0.18);
  align-self: flex-start;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.about-section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.about-bio-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-left: 0;
}

.about-bio-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.975rem;
  color: var(--color-text);
  line-height: 1.7;
  padding-left: 1.1rem;
  position: relative;
}

.about-bio-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-orange);
  font-weight: 700;
}

.about-bio-list li strong {
  color: var(--color-deep-blue);
}

.about-bio-goal {
  margin-top: 0.5rem;
  padding: 1rem 1.1rem !important;
  background: var(--color-azulejo-bg);
  border-left: 3px solid var(--color-azulejo);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.about-bio-goal::before { display: none; }

.about-goal-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-azulejo);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.about-goal-text {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.about-goal-text strong {
  color: var(--color-azulejo);
  font-style: normal;
}

/* FAQ inline CTA (inside last FAQ item) */
.faq-inline-cta {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.about-name {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-deep-blue);
  margin-top: 0.25rem;
}

.about-bio {
  font-size: 0.975rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.about-bio strong { color: var(--color-deep-blue); }

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.about-highlights li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-deep-blue);
}

.about-highlights li i {
  color: var(--color-gold);
  font-size: 0.9rem;
  width: 18px;
}


/* ─── REVIEWS ─────────────────────────────────────────────────── */
.reviews {
  padding: var(--spacing-2xl) 1.5rem;
  background: var(--color-deep-blue);
  position: relative;
  overflow: hidden;
}

.reviews::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='white' fill-opacity='0.02'%3E%3Cpath d='M0 0h10v10H0zm10 10h10v10H10zm10-10h10v10H20zm10 10h10v10H30zm10-10h10v10H40zm10 10h10v10H50z'/%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.reviews-header {
  max-width: 700px;
  margin: 0 auto var(--spacing-xl);
  text-align: center;
  position: relative;
  z-index: 1;
}

.reviews-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.reviews-subtitle {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
}

/* ── Reviews Infinite Slider ─────────────────────────────────── */
.reviews-slider-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
  /* fade edges */
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.reviews-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: reviewsScroll 50s linear infinite;
}

.reviews-track:hover {
  animation-play-state: paused;
}

@keyframes reviewsScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* legado grid — mantido para nao quebrar nada */
.reviews-grid {
  display: none;
}

.review-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  backdrop-filter: blur(4px);
  width: 320px;
  flex-shrink: 0;
}

.review-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

.review-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.review-stars i { color: var(--color-gold-light); font-size: 0.85rem; }

.review-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--color-gold);
  background: var(--color-orange);
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.review-author strong {
  display: block;
  color: var(--color-white);
  font-size: 0.9rem;
}

.review-author span {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.1rem;
}

.reviews .section-cta-wrap .btn-cta { background: var(--color-orange); }
.reviews .cta-pre-title { color: var(--color-white); }
.reviews .cta-supporting-text { color: rgba(255,255,255,0.65); }
.reviews .cta-note { color: rgba(255,255,255,0.55); }


/* ─── FAQ ─────────────────────────────────────────────────────── */
.faq {
  padding: var(--spacing-2xl) 1.5rem;
  background: var(--color-white);
}

.faq-header {
  max-width: 700px;
  margin: 0 auto var(--spacing-xl);
  text-align: center;
}

.faq-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-deep-blue);
  margin-bottom: 0.75rem;
}

.faq-subtitle {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

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

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--color-azulejo);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.75rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-deep-blue);
  transition: var(--transition);
}

.faq-question:hover { background: var(--color-azulejo-bg); }
.faq-question[aria-expanded="true"] { background: var(--color-azulejo-bg); }

.faq-icon {
  flex-shrink: 0;
  color: var(--color-orange);
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.75rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer.open {
  max-height: 400px;
  padding: 0.85rem 1.75rem 1.5rem;
}

.faq-answer p {
  font-size: 0.975rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.faq-answer p + p {
  margin-top: 0.75rem;
}

.faq-answer p strong { color: var(--color-deep-blue); }


/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: #0D1B35;
  padding: 3rem 1.5rem;
  border-top: 3px solid var(--color-gold);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}

.footer-logo-wrap {
  flex-shrink: 0;
}

.footer-logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  display: block;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-ape-link {
  color: var(--color-gold-light);
  font-weight: 600;
  transition: var(--transition);
}
.footer-ape-link:hover { color: var(--color-orange); }

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
  justify-self: end;
}

.footer-nav-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.5rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}

.footer-nav a:hover { color: var(--color-orange); }

.footer-social-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: white;
  transform: translateY(-2px);
}


/* ─── BACK TO TOP ─────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--color-orange);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(255,140,0,0.4);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--color-orange-hover);
  transform: translateY(-3px);
}


/* ─── RESPONSIVE ──────────────────────────────────────────────── */

/* Tablet (≤ 1024px) */
/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet (≤ 1024px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ps-container {
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
  }

  .ps-card { padding: 2rem; }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet/Mobile (≤ 768px)
   Wireframe: single-column vertical stacking throughout
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  :root {
    --nav-height: 64px;
  }

  /* ── Navbar ────────────────────────────────────────────────── */
  .nav-links  { display: none; }
  .nav-cta    { display: none; }
  .hamburger  { display: flex; }

  .nav-container {
    padding: 0 4%;
  }

  .logo-img { width: 48px; height: 48px; }

  /* ── Hero Section (Página 1 Mobile)
       Nova ordem: Badge → "Speak Portuguese with confidence"
                   → Vídeo → "and feel at home in Portugal"
                   → CTA → Stats
       Subtítulo/benefícios: OCULTOS no mobile
  ─────────────────────────────────────────────────────────────── */
  .hero {
    min-height: 100svh;
    padding-top: var(--nav-height);
    padding-bottom: 0;
    background: #ffffff;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
    padding: 0;
  }

  /* hero-content: badge + título — vem DEPOIS do vídeo no mobile */
  .hero-content {
    align-items: center;
    order: 2;
    gap: 1rem;
    padding: 1.5rem 5%;
  }

  .hero-badge {
    margin: 0 auto;
  }

  .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
    line-height: 1.25;
    text-align: center;
  }

  /* Desktop "and feel at home" line: hidden on mobile */
  .hero-title-line2--desktop {
    display: none;
  }

  /* Linhas 3 e 4 do título (Feel at home / in Portugal.) — só no desktop */
  .hero-title-line3--desktop,
  .hero-title-line4--desktop {
    display: none;
  }

  /* Subtítulo + benefícios: hidden on mobile */
  .hero-subtitle-block {
    display: none;
  }

  /* Desktop CTA: hidden on mobile (aparece no bloco mobile-bottom) */
  .hero-cta-group.hero-cta-desktop,
  .hero-cta-group:not(.hero-cta-mobile) {
    display: none;
  }

  /* Video: ordem 1 — aparece PRIMEIRO no mobile */
  .hero-video-wrap {
    order: 1;
    width: 100%;
    max-width: 100%;
    min-height: 280px;
    padding: 6% 6%;
    background: #ffffff;
  }

  .hero-video-frame {
    min-height: 240px;
    width: 100%;
  }

  .hero-auto-video {
    min-height: 240px;
  }

  /* Mobile bottom block: "and feel at home" + CTA → visible */
  .hero-mobile-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    order: 4;
    padding: 1.25rem 5% 1.5rem;
    gap: 0.25rem;
    width: 100%;
  }

  .hero-title-mobile-second {
    font-size: clamp(1.6rem, 5.5vw, 2.2rem);
    margin-bottom: 1rem;
  }

  .hero-cta-mobile {
    width: 100%;
    align-items: center;
  }

  /* Seta + tagline — centradas no mobile */
  .hero-arrow-cta-block {
    align-items: center;
  }

  .hero-arrow-wrap {
    width: auto;
    justify-content: center;
  }

  .hero-tagline {
    text-align: center;
  }

  /* "Takes only 2 minutes..." — centrado no mobile */
  .cta-note {
    justify-content: center;
    text-align: center;
  }

  .btn-cta--large {
    width: 100%;
    max-width: 420px;
    justify-content: center;
    text-align: center;
  }

  /* Stats bar: horizontal row (3 cols) */
  .stats-bar {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    padding: 1rem 0;
    order: 4;
  }

  .stat-item {
    flex: 1;
    padding: 0.75rem 0.5rem;
  }

  .stat-number { font-size: clamp(2.2rem, 8vw, 3rem); }
  .stat-plus    { font-size: clamp(1.2rem, 4vw, 1.6rem); }
  .stat-label   { font-size: 0.65rem; letter-spacing: 0.1em; }

  .stat-divider {
    width: 1px;
    height: 40px;
    align-self: center;
  }

  /* ── Problem / Solution — Split Layout Mobile ───────────────── */
  .ps-split-row {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  /* Ambos os blocos: SEMPRE texto primeiro, imagem depois (como desktop) */
  .ps-split-row--text-left .ps-split-text   { order: 1; padding: 2rem 5%; }
  .ps-split-row--text-left .ps-split-img-wrap { order: 2; padding: 0; }

  .ps-split-row--img-left .ps-split-text    { order: 1; padding: 2rem 5%; }
  .ps-split-row--img-left .ps-split-img-wrap { order: 2; padding: 0; }

  .ps-split-img { aspect-ratio: 4 / 3; height: auto; }

  /* ── No More / Solution — Mobile: uma coluna */
  .nms-grid {
    grid-template-columns: 1fr;
  }

  /* ── Problem / Solution (Página 2 Mobile)
       Layout: Título → Problema → Seta ↓ → Solução → CTA
  ─────────────────────────────────────────────────────────────── */
  .problem-solution {
    padding: var(--spacing-xl) 1rem;
  }

  .ps-header {
    margin-bottom: var(--spacing-lg);
  }

  .ps-headline {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .ps-container {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ps-card {
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius-md);
  }

  .ps-card--problem {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: none;
  }

  .ps-card--solution {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  /* Mobile: esconde a seta — os cards empilham-se e a transição é visual */
  .ps-arrow-single {
    display: none;
  }

  /* ── ps2- mobile overrides ────────────────────────────────── */
  /* Grid de perguntas: 1 coluna em mobile */
  .ps2-questions-grid {
    grid-template-columns: 1fr;
  }

  /* Row Problema+Solução: empilhar verticalmente */
  .ps2-cards-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Seta → entre os cards: oculta em mobile (cards empilham ↓) */
  .ps2-mid-arrow {
    display: none;
  }

  /* Seta ↓: ligeiramente menor em mobile */
  .ps2-arrow-down {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-sm);
  }

  /* Headline ps2: tamanho adaptado */
  .ps2-headline {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  /* Caixas Problema/Solução: full width em mobile */
  .ps2-box {
    padding: 1.5rem 1.25rem;
  }

  /* CTA — mais próximo da solução verde */
  .ps-cta-wrap,
  .section-cta-wrap {
    margin-top: 1rem;
    text-align: center;
  }

  .ps-cta-wrap .btn-cta--large,
  .section-cta-wrap .btn-cta--large {
    width: 100%;
    max-width: 420px;
    justify-content: center;
  }

  /* Headline box: ocupa full width no mobile */
  .ps-headline-box {
    display: block;
    padding: 1rem 1.25rem;
    text-align: center;
  }

  .ps-headline {
    font-size: clamp(1.3rem, 4.5vw, 1.7rem);
  }

  /* Problem points: mais compactos */
  .ps-problem-points {
    gap: 0.5rem;
  }

  /* "You need to learn" box */
  .ps-problem-learn {
    font-size: 0.9rem;
    padding: 0.75rem 0.875rem;
  }

  /* Practical situations sub-text: bem visível */
  .ps-list-item-sub {
    font-size: 0.82rem;
    display: block;
    margin-top: 0.1rem;
  }

  /* ── About / Social Proof (Página 3 Mobile)
       Layout: Título → Vídeo → Sobre mim → Stats
  ─────────────────────────────────────────────────────────────── */
  .about-proof {
    padding: var(--spacing-xl) 1rem;
  }

  .ap-headline-wrap {
    margin-bottom: var(--spacing-lg);
  }

  .ap-headline {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .ap-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Testimonial video placeholder comes first on mobile */
  .ap-video-col { order: 1; }
  .ap-about-col { order: 2; }

  /* Stats bar in about section */
  .ap-stats {
    margin-top: 1.5rem;
  }

  .about-card {
    padding: 1.75rem 1.5rem;
    flex-direction: column;
    align-items: center;
  }

  .about-text { text-align: left; order: 2; }

  .about-photo-wrap {
    order: 1;
    width: 110px;
    height: 110px;
  }

  /* ── Reviews (Mobile — swipe horizontal nativo) ── */
  .reviews {
    padding: var(--spacing-xl) 0;
  }

  .reviews-header {
    padding: 0 1rem;
  }

  /* Desativar o auto-scroll infinito em mobile → swipe nativo */
  .reviews-slider-wrap {
    /* remover mask lateral em mobile para ver cards na borda */
    mask-image: none;
    -webkit-mask-image: none;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 0.5rem 1rem 1.25rem;
    cursor: grab;
  }

  .reviews-slider-wrap:active { cursor: grabbing; }

  .reviews-track {
    animation: none !important;
    transform: none !important;
    width: max-content;
    gap: 1rem;
  }

  /* Só os primeiros 12 (os originais) — os clones ficam ocultos */
  .reviews-track > article[aria-hidden="true"] {
    display: none;
  }

  .review-card {
    width: 82vw;
    max-width: 300px;
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 1.25rem;
  }

  .reviews-grid {
    display: none;
  }

  .reviews-cta-section {
    padding: var(--spacing-lg) 1rem;
  }

  .reviews-cta-section .btn-cta--large {
    width: 100%;
    max-width: 420px;
    justify-content: center;
  }

  /* ── FAQ (Página 5 Mobile)
       Layout: F.A.Q. → Lista numerada → Fim da Página (footer)
  ─────────────────────────────────────────────────────────────── */
  .faq {
    padding: var(--spacing-xl) 1rem;
  }

  .faq-question {
    padding: 1.1rem 1.25rem;
    font-size: 0.92rem;
  }

  .faq-answer.open {
    padding: 0.75rem 1.25rem 1.25rem;
  }

  .faq-cta-wrap .btn-cta--large {
    width: 100%;
    max-width: 420px;
    justify-content: center;
  }

  /* ── Footer ─────────────────────────────────────────────────── */
  .footer-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    text-align: center;
  }

  .footer-info   { align-items: center; }
  .footer-nav    { align-items: center; justify-self: center; }
  .social-links  { justify-content: center; }
  .footer-logo   { margin: 0 auto; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — Small Mobile (≤ 480px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

  :root { --nav-height: 60px; }

  /* Hero */
  .hero-title {
    font-size: 1.85rem;
    line-height: 1.25;
  }

  .hero-badge { font-size: 0.72rem; }

  /* Stats bar stays horizontal but more compact */
  .stat-number { font-size: 1.3rem; }
  .stat-label  { font-size: 0.65rem; }

  /* Buttons */
  .btn-cta--large {
    font-size: 0.95rem;
    padding: 0.9rem 1.5rem;
  }

  /* Cards */
  .ps-card      { padding: 1.25rem 1rem; }
  .about-card   { padding: 1.5rem 1rem; flex-direction: column; align-items: center; }
  .review-card  { padding: 1.25rem; }

  /* Photo */
  .about-photo-wrap {
    width: 90px;
    height: 90px;
  }

  /* FAQ */
  .faq-question {
    padding: 1rem;
    font-size: 0.88rem;
  }

  .faq-answer.open {
    padding: 0.65rem 1rem 1rem;
  }

  /* Modal */
  .bm-panel {
    padding: 1.75rem 1.25rem 1.5rem;
    border-radius: var(--radius-md);
  }

  .bm-title  { font-size: 1.2rem; }
  .bm-radio-row { flex-direction: column; }

  /* Footer */
  .footer { padding: 2rem 1rem; }
}

/* ─── FOCUS STYLES (Accessibility) ──────────────────────────── */
:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ─── SCROLL ANIMATIONS ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s 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; }


/* ═══════════════════════════════════════════════════════════════
   BOOKING MODAL — Multi-step Form
   ═══════════════════════════════════════════════════════════════ */

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.booking-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.bm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 40, 0.85);
  backdrop-filter: blur(8px);
}

.bm-panel {
  position: relative;
  z-index: 1;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  width: min(600px, 94vw);
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.75rem 2.75rem 2.25rem;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  scrollbar-width: thin;
}

.booking-modal.open .bm-panel {
  transform: translateY(0) scale(1);
}

/* Close button */
.bm-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 36px;
  height: 36px;
  background: var(--color-azulejo-bg);
  border: none;
  border-radius: 50%;
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
}
.bm-close:hover { background: #FFCDD2; color: var(--color-red); }

/* Progress bar */
.bm-progress {
  height: 5px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  margin-bottom: 0.4rem;
  overflow: hidden;
}

.bm-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-azulejo), var(--color-orange));
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
  width: 20%;
}

.bm-progress-label {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.75rem;
}

/* Step visibility */
.bm-step {
  display: none;
  flex-direction: column;
  gap: 1rem;
  animation: stepIn 0.35s ease;
}

.bm-step.active { display: flex; }

@keyframes stepIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Step header */
.bm-step-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.bm-title {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  color: var(--color-deep-blue);
  line-height: 1.3;
  margin: 0;
}

.bm-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* Radio option cards */
.bm-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.bm-option {
  cursor: pointer;
  display: block;
}

.bm-option input[type="radio"],
.bm-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.bm-option-inner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  font-size: 0.95rem;
  color: var(--color-text);
  font-weight: 500;
  background: var(--color-white);
}

.bm-option-inner:hover {
  border-color: var(--color-azulejo);
  background: var(--color-azulejo-bg);
}

.bm-option input[type="radio"]:checked + .bm-option-inner,
.bm-option input[type="checkbox"]:checked + .bm-option-inner {
  border-color: var(--color-orange);
  background: #FFF8F0;
  color: var(--color-deep-blue);
  box-shadow: 0 0 0 3px rgba(255,140,0,0.12);
}

/* Checkmark indicator for multi-select */
.bm-option input[type="checkbox"]:checked + .bm-option-inner::after {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 4px;
  background: var(--color-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3 4L11 1' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
  margin-left: auto;
  flex-shrink: 0;
  order: 99;
}

.bm-option-icon { font-size: 1.2rem; flex-shrink: 0; }

/* Other field */
.bm-other-field {
  display: none;
  padding: 0 0.25rem;
}

.bm-other-field.visible { display: block; }

/* Text inputs */
.bm-input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: var(--transition);
  outline: none;
}

.bm-input:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(255,140,0,0.12);
}

.bm-input--large {
  font-size: 1.1rem;
  padding: 1rem 1.25rem;
}

/* Field groups */
.bm-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bm-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-deep-blue);
}

.bm-field-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.bm-field-note i { color: var(--color-azulejo); }

/* Radio row (Yes/No) */
.bm-radio-row {
  display: flex;
  gap: 1rem;
}

.bm-radio-option {
  flex: 1;
  cursor: pointer;
}

.bm-radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.bm-radio-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: var(--transition);
  text-align: center;
  cursor: pointer;
}

.bm-radio-option span:hover {
  border-color: var(--color-azulejo);
  background: var(--color-azulejo-bg);
}

.bm-radio-option input[type="radio"]:checked + span {
  border-color: var(--color-orange);
  background: #FFF8F0;
  color: var(--color-deep-blue);
  box-shadow: 0 0 0 3px rgba(255,140,0,0.12);
}

/* Navigation buttons */
.bm-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
}

.bm-btn-next {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-orange);
  color: white;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(255,140,0,0.3);
  margin-top: 0.25rem;
}

.bm-btn-next:hover {
  background: var(--color-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,140,0,0.4);
}

.bm-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  color: var(--color-text-muted);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.25rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.bm-btn-back:hover { color: var(--color-deep-blue); }

/* Step 5 — Gift */
.bm-gift-box {
  background: linear-gradient(135deg, var(--color-azulejo-bg), #FFF8F0);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.bm-gift-icon { font-size: 3rem; }

.bm-gift-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--color-deep-blue);
  font-weight: 700;
}

.bm-gift-text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 380px;
}

.bm-final-cta {
  align-self: center;
  margin-top: 0.5rem;
}

/* Separator between download and schedule link */
.bm-separator {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  margin: 0.5rem 0;
}

.bm-next-step {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-deep-blue);
  margin: 0;
}

/* Secondary schedule link */
.bm-schedule-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--color-azulejo);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-azulejo);
  transition: var(--transition);
  align-self: center;
}

.bm-schedule-link:hover {
  background: var(--color-azulejo);
  color: var(--color-white);
}

/* Error state */
.bm-input.error,
.bm-option-inner.error {
  border-color: var(--color-red) !important;
}

.bm-error-msg {
  font-size: 0.82rem;
  color: var(--color-red);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

/* Modal mobile — já incluído no bloco @media (max-width: 480px) acima */
