/* ==========================================================================
   MÉTODO C.A.S.A. — LANDING PAGE DE CAPTURA (2 DOBRAS, MOBILE-FIRST, VIDRO)
   Autora: Gislaine Dourado | Ateliê Editorial

   Paleta oficial: verde-oliva #394426 · dourado #C49440 · creme #F5EFE0 · sálvia #A5B18B
   Estrutura: Dobra 1 = apresentação · Dobra 2 = formulário + pilares
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  --olive-deep: #101608;
  --olive-dark: #1a2210;
  --olive-base: #394426;

  --gold: #C49440;
  --gold-bright: #e5b65f;
  --gold-light: #f5d898;

  --cream: #F5EFE0;
  --cream-soft: rgba(245, 239, 224, 0.86);
  --cream-muted: rgba(245, 239, 224, 0.6);

  --sage: #A5B18B;
  --sage-soft: #c3ccae;

  /* Vidro (estilo Apple): translúcido, desfoque forte, brilho na borda superior */
  --glass-fill: linear-gradient(145deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0.08) 100%);
  --glass-fill-strong: linear-gradient(145deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.07) 50%, rgba(255, 255, 255, 0.11) 100%);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-blur: blur(26px) saturate(170%);
  --glass-blur-sm: blur(14px) saturate(160%);
  --glass-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 18px 40px -12px rgba(0, 0, 0, 0.55);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-editorial: 'Lora', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 60px;
  --gutter: 20px;
}

/* 2. RESET E BASE ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--olive-deep);
  color: var(--cream);
}

body {
  font-family: var(--font-sans);
  color: var(--cream-soft);
  background: var(--olive-deep);
  line-height: 1.55;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; position: relative; z-index: 2; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input { font-family: inherit; border: none; outline: none; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

/* 3. LUZES DE FUNDO (dão cor ao desfoque do vidro) ------------------------- */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 120% 70% at 50% -10%, #2a3519 0%, transparent 70%),
    var(--olive-deep);
}

.orb { position: absolute; border-radius: 50%; }

.orb-gold {
  width: 90vmax; height: 90vmax;
  top: -45vmax; right: -40vmax;
  background: radial-gradient(circle, rgba(196, 148, 64, 0.30) 0%, transparent 62%);
}
.orb-sage {
  width: 80vmax; height: 80vmax;
  bottom: -40vmax; left: -40vmax;
  background: radial-gradient(circle, rgba(165, 177, 139, 0.24) 0%, transparent 62%);
}
.orb-olive {
  width: 70vmax; height: 70vmax;
  top: 35%; left: 20%;
  background: radial-gradient(circle, rgba(73, 90, 44, 0.45) 0%, transparent 65%);
}

/* 4. TIPOGRAFIA ------------------------------------------------------------ */
.text-gradient-gold {
  background: linear-gradient(135deg, #ffffff 0%, var(--cream) 30%, var(--gold-bright) 75%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-badge,
.section-eyebrow,
.capture-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.badge-diamond { font-size: 0.5rem; color: var(--gold); }

/* 5. CABEÇALHO EM VIDRO ---------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(16, 22, 8, 0.55);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header.header-scrolled {
  background: rgba(16, 22, 8, 0.78);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 12px;
}

.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }

.brand-icon {
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--glass-fill);
  border: 1px solid rgba(196, 148, 64, 0.55);
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.brand-icon img { width: 20px; height: 20px; }

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

.brand-title {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cream);
  line-height: 1.15;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  font-weight: 600;
  white-space: nowrap;
}

.btn-header-cta {
  flex-shrink: 0;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(196, 148, 64, 0.4);
  background: rgba(196, 148, 64, 0.16);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  backdrop-filter: var(--glass-blur-sm);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn-header-cta:hover { background: var(--gold); color: #12180c; }

/* 6. BOTÕES ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}

.btn-primary {
  background: linear-gradient(180deg, #f0d896 0%, #d4a04a 48%, #b98532 100%);
  color: #12180c;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 10px 28px rgba(196, 148, 64, 0.38);
}

.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-hero {
  width: 100%;
  max-width: 400px;
  padding: 16px 24px;
  font-size: 0.86rem;
}

.btn-submit {
  width: 100%;
  padding: 16px 24px;
  font-size: 0.88rem;
  margin-top: 4px;
}

/* 7. DOBRA 1 — HERO -------------------------------------------------------- */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  padding: 14px 0 22px;
  overflow: hidden;
}

.ambient-spotlight {
  position: absolute;
  top: -10%;
  left: var(--spot-x, 50%);
  transform: translateX(-50%);
  width: 700px; height: 520px;
  background: radial-gradient(ellipse at center, rgba(196, 148, 64, 0.16) 0%, transparent 70%);
  pointer-events: none;
  transition: left 0.2s ease-out;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 2;
  text-align: center;
}

/* No celular o livro vem primeiro, o texto e o botão logo abaixo */
.hero-visual { order: 1; }
.hero-content { order: 2; width: 100%; }

.hero-badge { margin-bottom: 10px; font-size: 0.6rem; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 8.4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--cream-soft);
  margin: 0 auto 16px;
  max-width: 440px;
}
.hero-subtitle strong { color: var(--gold-bright); font-weight: 600; }
.hero-subtitle em { font-family: var(--font-editorial); color: var(--cream); }

.hero-cta-group { display: flex; flex-direction: column; align-items: center; gap: 12px; }

.hero-features-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.chip-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--glass-fill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  backdrop-filter: var(--glass-blur-sm);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--sage-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.chip-dot { color: var(--gold-bright); font-size: 0.6rem; }

/* Livro */
.hero-visual { display: flex; justify-content: center; position: relative; }

.book-pedestal-glow {
  position: absolute;
  bottom: -10px;
  width: 70%; height: 50px;
  background: radial-gradient(ellipse at center, rgba(196, 148, 64, 0.4) 0%, transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}

.book-card-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1600px;
}

/* Etiqueta em vidro: escondida no celular para caber na 1ª tela */
.book-edition-badge {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--glass-fill-strong);
  color: var(--cream);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  margin-bottom: 18px;
  -webkit-backdrop-filter: var(--glass-blur-sm);
  backdrop-filter: var(--glass-blur-sm);
  box-shadow: var(--glass-shadow);
}
.badge-icon { color: var(--gold-bright); }

.book-3d-scene { width: 100%; display: flex; justify-content: center; }

.book-3d-object {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease);
}

.book-mockup-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: clamp(190px, 29svh, 300px);
  object-fit: contain;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.5));
}

.book-shadow {
  position: absolute;
  bottom: -8px;
  width: 55%; height: 16px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.6) 0%, transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

/* 8. DOBRA 2 — FORMULÁRIO + PILARES --------------------------------------- */
.capture-section { position: relative; padding: 4px 0 22px; }

.fold2-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

/* Cartão de vidro do formulário */
.capture-glass-card {
  width: 100%;
  background: var(--glass-fill-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 26px;
  padding: 20px 16px 16px;
  position: relative;
  box-shadow: var(--glass-shadow), 0 0 60px rgba(196, 148, 64, 0.1);
  overflow: hidden;
}

/* Reflexo de luz na borda superior */
.capture-glass-card::before,
.pillar-glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  pointer-events: none;
}

.capture-header { text-align: center; margin-bottom: 16px; }
.capture-eyebrow { margin-bottom: 6px; }

.capture-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 6px;
}

.capture-subtitle {
  font-size: 0.86rem;
  color: var(--cream-soft);
  line-height: 1.5;
  max-width: 400px;
  margin: 0 auto;
}

.capture-form { display: flex; flex-direction: column; gap: 12px; }

.form-group { display: flex; flex-direction: column; gap: 5px; text-align: left; }

.form-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-soft);
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem; /* 16px evita zoom automático no iPhone */
  border-radius: 14px;
  background: rgba(10, 14, 5, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.form-input::placeholder { color: rgba(245, 239, 224, 0.42); }
.form-input:focus {
  border-color: var(--gold-bright);
  background: rgba(10, 14, 5, 0.6);
  box-shadow: 0 0 0 3px rgba(196, 148, 64, 0.3), inset 0 1px 2px rgba(0, 0, 0, 0.2);
}
.form-input.input-error {
  border-color: #e26d5c;
  box-shadow: 0 0 0 3px rgba(226, 109, 92, 0.35);
}

/* Checkbox */
.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  position: relative;
  user-select: none;
}
.form-checkbox { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }

.checkbox-custom {
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 1px;
  border-radius: 6px;
  border: 1.5px solid var(--gold);
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease);
}
.form-checkbox:checked + .checkbox-custom { background: var(--gold); border-color: var(--gold-bright); }
.form-checkbox:checked + .checkbox-custom::after {
  content: '';
  width: 4px; height: 9px;
  border: solid #12180c;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.form-checkbox:focus-visible + .checkbox-custom { outline: 2px solid var(--gold-bright); outline-offset: 2px; }

.checkbox-label-text { font-size: 0.8rem; color: var(--cream-soft); line-height: 1.4; }

.form-privacy-note {
  font-size: 0.72rem;
  color: var(--sage-soft);
  line-height: 1.45;
  text-align: center;
}
.lock-icon { margin-right: 3px; }

.link-privacy {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(229, 182, 95, 0.5);
}
.link-privacy:hover { text-decoration-color: var(--gold-bright); }

/* Página de Política de Privacidade */
.policy-main { padding: 20px 0 40px; }

.policy-card {
  background: var(--glass-fill-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 26px;
  padding: 24px 20px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--glass-shadow);
}

.policy-card h1 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 4px;
}

.policy-updated { font-size: 0.78rem; color: var(--sage-soft); margin-bottom: 18px; }

.policy-card h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-bright);
  margin: 20px 0 6px;
}

.policy-card p, .policy-card li { font-size: 0.92rem; line-height: 1.65; color: var(--cream-soft); }
.policy-card ul { list-style: disc; padding-left: 20px; margin: 6px 0; }
.policy-card li { margin-bottom: 4px; }

.policy-back {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

@media (min-width: 768px) {
  .policy-card { padding: 40px 44px; }
  .policy-card h1 { font-size: 2.2rem; }
}

/* Spinner e estados (usados por js/script.js) */
.btn-spinner {
  display: inline-block;
  width: 17px; height: 17px;
  border: 2.2px solid rgba(18, 24, 12, 0.3);
  border-top-color: #12180c;
  border-radius: 50%;
  animation: spinBtn 0.7s linear infinite;
  margin-right: 6px;
}
@keyframes spinBtn { to { transform: rotate(360deg); } }

.btn.is-loading, .btn:disabled {
  opacity: 0.85;
  cursor: not-allowed !important;
  transform: none !important;
  pointer-events: none;
}

.form-feedback-area { animation: fadeIn 0.3s ease; }

.feedback-error {
  background: rgba(226, 109, 92, 0.16);
  border: 1px solid rgba(226, 109, 92, 0.6);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.feedback-error-header { display: flex; align-items: center; gap: 8px; color: #ffb4a2; font-weight: 700; font-size: 0.88rem; }
.feedback-error-text { font-size: 0.82rem; color: var(--cream); line-height: 1.45; }

.btn-retry {
  align-self: flex-start;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}
.btn-retry:hover { background: var(--gold); color: #12180c; }

/* Confirmação pós-envio (renderizada por js/script.js) */
.confirmation-editorial-card { text-align: center; padding: 4px 0; animation: fadeIn 0.5s var(--ease); }

.confirmation-badge-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(196, 148, 64, 0.18);
  border: 1.5px solid var(--gold);
  color: var(--gold-bright);
  font-size: 1.7rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}

.ornament-diamond { font-size: 0.6rem; color: var(--gold); margin-bottom: 6px; }

.confirmation-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.confirmation-desc {
  font-family: var(--font-editorial);
  font-size: 1rem;
  color: var(--cream-soft);
  line-height: 1.6;
  margin-bottom: 16px;
}
.confirmation-desc strong { color: var(--gold-bright); }

.confirmation-cta-box { margin: 16px auto 12px; }

.btn-open-sample {
  width: 100%;
  padding: 17px 22px;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

.confirmation-details-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(196, 148, 64, 0.22);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 14px;
}
.confirmation-details-box p { font-size: 0.82rem; color: var(--sage-soft); line-height: 1.5; }

/* Pilares compactos: grade 2x2 no celular */
.section-heading { text-align: center; margin-bottom: 14px; }

.section-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin-top: 4px;
}

.pillars-glass-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.pillar-glass-card {
  background: var(--glass-fill);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}

.pillar-letter {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1;
  text-shadow: 0 2px 12px rgba(196, 148, 64, 0.4);
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.pillar-premise {
  display: block;
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--gold-light);
  line-height: 1.35;
  margin-top: 2px;
}

/* A descrição longa só aparece em telas maiores, para manter a página curta */
.pillar-desc { display: none; font-size: 0.84rem; color: var(--cream-soft); line-height: 1.55; margin-top: 8px; }

/* 9. RODAPÉ ---------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 2;
  padding: 18px 0 calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 14, 5, 0.5);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.footer-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
}
.footer-sep { color: var(--gold); margin: 0 4px; }
.footer-author { font-family: var(--font-editorial); font-weight: 500; color: var(--cream); letter-spacing: 0; }
.footer-copy { font-size: 0.7rem; color: rgba(245, 239, 224, 0.45); }

/* 10. ANIMAÇÕES ------------------------------------------------------------ */
.cinema-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.cinema-reveal.is-visible { opacity: 1; transform: translateY(0); }
.cinema-delay-1 { transition-delay: 0.08s; }
.cinema-delay-2 { transition-delay: 0.16s; }

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

/* 11. CELULARES MUITO PEQUENOS -------------------------------------------- */
@media (max-width: 359px) {
  :root { --gutter: 14px; }
  .brand-subtitle { display: none; }
  .pillars-glass-grid { grid-template-columns: 1fr; }
}

/* Celulares baixos (ex.: iPhone SE) */
@media (max-height: 700px) and (max-width: 767px) {
  .book-mockup-img { max-height: 160px; }
  .hero-subtitle { font-size: 0.88rem; margin-bottom: 12px; }
}

/* 12. TABLET --------------------------------------------------------------- */
@media (min-width: 768px) {
  :root { --header-h: 68px; --gutter: 28px; }

  .brand-title { font-size: 1rem; }
  .brand-subtitle { font-size: 0.68rem; }
  .btn-header-cta { font-size: 0.76rem; padding: 10px 20px; }

  .hero-title { font-size: 2.9rem; }
  .hero-subtitle { font-size: 1.05rem; }
  .book-mockup-img { max-height: 380px; }

  .capture-glass-card { max-width: 560px; margin: 0 auto; padding: 36px 36px 28px; }
  .capture-title { font-size: 1.9rem; }
  .capture-subtitle { font-size: 0.95rem; }
  .capture-form { gap: 16px; }

  .pillars-glass-grid { gap: 14px; }
  .pillar-glass-card { padding: 20px; }
  .pillar-letter { font-size: 2.4rem; }
  .pillar-title { font-size: 1.2rem; }
  .pillar-premise { font-size: 0.86rem; }
  .pillar-desc { display: block; }
  .section-title { font-size: 1.6rem; }
}

/* 13. DESKTOP — as duas dobras cabem em duas telas ------------------------ */
@media (min-width: 992px) {
  .hero-section {
    padding: 24px 0 32px;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
  }

  .hero-container {
    flex-direction: row;
    justify-content: space-between;
    gap: 56px;
    text-align: left;
  }

  .hero-content { order: 1; flex: 1.15; }
  .hero-visual { order: 2; flex: 0.85; }

  .hero-badge { margin-bottom: 18px; font-size: 0.7rem; }
  .hero-title { font-size: clamp(2.8rem, 4.4vw, 3.7rem); margin-bottom: 20px; }
  .hero-subtitle { font-size: 1.15rem; margin: 0 0 28px; max-width: 520px; }
  .hero-cta-group { align-items: flex-start; gap: 18px; }
  .hero-features-chips { justify-content: flex-start; gap: 10px; }
  .chip-item { font-size: 0.8rem; padding: 7px 14px; }
  .btn-hero { padding: 18px 32px; font-size: 0.92rem; }

  .book-edition-badge { display: inline-flex; }
  .book-3d-scene { max-width: 420px; }
  .book-mockup-img { max-height: min(520px, 62svh); }
  .book-pedestal-glow { width: 340px; height: 70px; }
  .book-shadow { width: 300px; }

  .capture-section { padding: 56px 0 72px; min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; }

  .fold2-grid {
    grid-template-columns: 1fr 480px;
    gap: 56px;
    align-items: center;
  }

  .capture-glass-card { order: 2; margin: 0; max-width: none; }
  .pillars-block { order: 1; }

  .section-heading { text-align: left; }
  .section-title { font-size: 2.1rem; margin-bottom: 4px; }

  .pillars-glass-grid { gap: 16px; }
  .pillar-glass-card:hover { transform: translateY(-4px); border-color: rgba(229, 182, 95, 0.45); }

  .site-footer { padding: 24px 0; }
  .footer-container { flex-direction: row; justify-content: space-between; }
}

/* 14. ACESSIBILIDADE ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .cinema-reveal { opacity: 1 !important; transform: none !important; }
  .book-3d-object { transform: none !important; }
}

/* Navegadores sem suporte a backdrop-filter: fundo mais opaco para manter a leitura */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header, .capture-glass-card, .pillar-glass-card, .chip-item, .book-edition-badge {
    background: rgba(38, 48, 26, 0.92);
  }
}
