/* ─────────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────────── */
:root {
  --ink:        #3a2530;
  --ink-60:     rgba(58,37,48,0.6);
  --ink-30:     rgba(58,37,48,0.3);
  --parchment:  #fdf8f5;
  --blush:      #fce8ec;
  --blush-deep: #e8a0ad;
  --rose:       #c96b80;
  --rose-light: #e08fa0;
  --rose-pale:  #f5d0d8;
  --orchid:     #d4b8d0;
  --orchid-lt:  #f5eef8;
  --mauve:      #b89ab5;
  --cream:      #fef6f0;
  --white:      #ffffff;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  32px;
  --radius-xl:  50px;

  --shadow-soft: 0 2px 16px rgba(58,37,48,0.06);
  --shadow-card: 0 6px 32px rgba(58,37,48,0.09);
  --shadow-lift: 0 16px 48px rgba(201,107,128,0.16);

  --ease-out-expo: cubic-bezier(0.16,1,0.3,1);
  --ease-in-out:   cubic-bezier(0.4,0,0.2,1);
}

/* ─────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  background: var(--parchment);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ─────────────────────────────────────────────
   QUIZ OVERLAY — blocks everything
───────────────────────────────────────────── */
#quiz-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #e8d5da;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
body.quiz-active { overflow: hidden; }

/* background art */
#quiz-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(184,154,181,0.28) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 90%, rgba(180,90,110,0.18) 0%, transparent 65%);
  pointer-events: none;
}

/* thin rose line at top */
#quiz-overlay::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--rose-light), var(--rose), var(--rose-light), transparent);
}

/* ── Quiz header bar */
.quiz-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  border-bottom: 1px solid rgba(154,48,80,0.14);
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
}
.quiz-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.quiz-brand img {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,0.7);
  object-fit: cover;
  box-shadow: 0 2px 12px rgba(154,48,80,0.2);
}
.quiz-brand-name {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.quiz-brand-name .brand-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: 0.01em;
  font-weight: 700;
  line-height: 1.2;
}
.quiz-brand-name .brand-sub {
  font-family: 'Lato', sans-serif;
  font-size: 0.65rem;
  color: #9a3050;
  letter-spacing: 0.1em;
  font-weight: 700;
  text-transform: uppercase;
}
.quiz-step-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  color: #9a3050;
  letter-spacing: 0.06em;
  font-weight: 600;
  background: rgba(255,255,255,0.45);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  border: 1px solid rgba(154,48,80,0.2);
}

/* ── Progress track */
.quiz-progress-track {
  position: relative;
  z-index: 2;
  padding: 0 2.5rem;
  margin-top: 0.6rem;
}
.quiz-progress-rail {
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 4px;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: #9a3050;
  border-radius: 4px;
  transition: width 0.6s var(--ease-out-expo);
  width: 0%;
  box-shadow: 0 0 8px rgba(154,48,80,0.4);
}

/* ── Quiz stage */
.quiz-stage {
  flex: 1;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  overflow: hidden;
}

/* Individual screens */
.quiz-screen {
  position: absolute;
  width: 100%;
  max-width: 620px;
  padding: 0 1.5rem;
  opacity: 0;
  transform: translateX(60px);
  pointer-events: none;
  transition:
    opacity 0.45s var(--ease-out-expo),
    transform 0.45s var(--ease-out-expo);
}
.quiz-screen.entering {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}
.quiz-screen.exiting-left {
  opacity: 0;
  transform: translateX(-60px);
  pointer-events: none;
}

/* ── Responsividade do quiz em telas pequenas */
@media (max-height: 700px), (max-width: 480px) {
  #quiz-overlay {
    overflow-y: auto;
  }
  .quiz-stage {
    overflow: visible;
    align-items: flex-start;
    padding: 1.5rem 1rem 2rem;
  }
  .quiz-screen {
    padding: 0 0.25rem;
  }
}

/* ── Q-type screen */
.q-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9a3050;
  margin-bottom: 1.6rem;
  font-weight: 700;
  background: rgba(255,255,255,0.4);
  padding: 0.3rem 0.9rem 0.3rem 0.7rem;
  border-radius: 50px;
  border: 1px solid rgba(154,48,80,0.18);
  width: fit-content;
}
.q-tag-line {
  width: 16px;
  height: 1.5px;
  background: #9a3050;
  opacity: 0.5;
  flex-shrink: 0;
}
.q-icon-wrap {
  width: 48px; height: 48px;
  margin-bottom: 1.6rem;
  opacity: 0.85;
  background: rgba(255,255,255,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.5);
}
.q-icon-wrap svg { width: 100%; height: 100%; }
.q-text {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: var(--ink);
  line-height: 1.65;
  margin-bottom: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.q-text em {
  color: #9a3050;
  font-style: italic;
  font-weight: 400;
}

/* buttons */
.q-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.q-btn {
  flex: 1;
  min-width: 140px;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-md);
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition:
    background 0.25s,
    transform 0.2s var(--ease-out-expo),
    box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.q-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity 0.2s;
}
.q-btn:hover::after { opacity: 1; }
.q-btn:active { transform: scale(0.97) !important; }

.q-btn-yes {
  background: #9a3050;
  color: white;
  box-shadow: 0 4px 16px rgba(154,48,80,0.35);
}
.q-btn-yes:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(154,48,80,0.45);
  background: #7e2540;
}
.q-btn-no {
  background: rgba(255,255,255,0.6);
  color: var(--ink);
  border: 1.5px solid rgba(255,255,255,0.8);
  backdrop-filter: blur(4px);
}
.q-btn-no:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.82);
  border-color: white;
}

/* ── A-type (answer) screen */
.a-divider {
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, #9a3050, var(--orchid));
  margin-bottom: 1.4rem;
  border-radius: 2px;
}
.a-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9a3050;
  margin-bottom: 0.8rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
}
.a-text {
  font-size: 0.97rem;
  color: rgba(58,37,48,0.82);
  line-height: 1.9;
  margin-bottom: 2rem;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
}
.a-text strong { color: #9a3050; font-weight: 700; }
.a-next-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1.8rem;
  background: rgba(255,255,255,0.6);
  border: 1.5px solid rgba(255,255,255,0.8);
  color: var(--ink);
  border-radius: var(--radius-md);
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s var(--ease-out-expo);
  backdrop-filter: blur(4px);
}
.a-next-btn svg {
  width: 14px; height: 14px;
  transition: transform 0.2s;
}
.a-next-btn:hover {
  background: rgba(255,255,255,0.85);
  border-color: white;
  transform: translateX(4px);
}
.a-next-btn:hover svg { transform: translateX(4px); }

/* ── Final screen */
.final-ornament {
  width: 48px; height: 2px;
  background: linear-gradient(90deg, #9a3050, var(--orchid));
  margin-bottom: 1.8rem;
  border-radius: 2px;
}
.final-headline {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.7rem, 5vw, 2.8rem);
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 1.2rem;
  font-weight: 700;
}
.final-headline span { color: #9a3050; font-style: italic; font-weight: 400; }
.final-sub {
  font-size: 0.97rem;
  color: rgba(58,37,48,0.75);
  line-height: 1.9;
  max-width: 480px;
  margin-bottom: 2.4rem;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
}
.final-sub strong { color: var(--ink); font-weight: 700; }
.final-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2.2rem;
  background: #9a3050;
  color: white;
  border-radius: var(--radius-md);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(154,48,80,0.35);
  transition: all 0.25s var(--ease-out-expo);
}
.final-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(154,48,80,0.45);
  background: #7e2540;
}
.final-cta svg { width: 16px; height: 16px; }

/* ═══════════════════════════════════════════
   MAIN PAGE (hidden until quiz done)
═══════════════════════════════════════════ */
#main-page {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}
#main-page.revealed {
  opacity: 1;
  pointer-events: all;
}

/* ─── NAVBAR */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 0 2.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(253,248,245,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,107,128,0.1);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow-soft); }
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.nav-logo {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--rose-pale);
  box-shadow: 0 1px 8px rgba(201,107,128,0.15);
}
.nav-brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.nav-brand-copy .n-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.nav-brand-copy .n-sub {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--rose);
  font-weight: 700;
  font-family: 'Lato', sans-serif;
}
.nav-scroll-indicator {
  font-size: 0.72rem;
  color: var(--ink-30);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
}

/* ─── HERO */
.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 100px 2rem 6rem;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 80% 0%, rgba(232,160,173,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(212,184,208,0.18) 0%, transparent 60%);
  will-change: transform;
}
/* degradê de saída do hero para a próxima seção */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, var(--blush));
  pointer-events: none;
  z-index: 1;
}
.hero-bg-line {
  display: none;
}
.hero-inner {
  max-width: 800px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.8rem;
}
.hero-eyebrow-line { width: 28px; height: 1.5px; background: var(--rose-pale); }
.hero-eyebrow-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--rose);
  font-weight: 600;
}
.hero-title {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.9rem, 5.5vw, 3.4rem);
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 1.4rem;
  font-weight: 700;
}
.hero-title em { color: var(--rose); font-style: italic; font-weight: 400; }
.hero-subtitle {
  font-size: 1.02rem;
  color: var(--ink-60);
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto 2rem;
}
.hero-quote-block {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.4rem 2.6rem 2rem;
  margin: 0 auto 2.4rem;
  max-width: 660px;
  box-shadow: var(--shadow-card);
  text-align: left;
  overflow: hidden;
  border: 1px solid var(--rose-pale);
}
.hero-quote-block::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  left: 1.4rem;
  font-family: 'Libre Baskerville', serif;
  font-size: 7rem;
  line-height: 1;
  color: var(--rose);
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
}
.hero-quote-block::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--rose-light), var(--orchid));
  border-radius: 4px 0 0 4px;
}
.hero-quote-block p {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  color: var(--ink);
  line-height: 1.8;
  font-style: italic;
  font-weight: 400;
  position: relative;
  z-index: 1;
}
.hero-quote-block cite {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--rose);
  font-style: normal;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.hero-quote-block cite::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1.5px;
  background: var(--rose-pale);
  flex-shrink: 0;
}
.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-top: 3rem;
  animation: float 2.8s ease-in-out infinite;
}
.hero-scroll-hint span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-30);
}
.scroll-arrow { width: 16px; height: 16px; opacity: 0.3; }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ─── SECTION SHARED */
.section {
  padding: 7rem 2rem;
  position: relative;
}
.section-inner { max-width: 1000px; margin: 0 auto; position: relative; z-index: 1; }
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}
.eyebrow-rule { width: 24px; height: 1.5px; background: var(--rose-pale); }
.eyebrow-text {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--rose);
  font-weight: 600;
}
.section-title {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.45rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 0.8rem;
}
.section-desc {
  font-size: 0.95rem;
  color: var(--ink-60);
  line-height: 1.75;
  max-width: 520px;
}

/* ─── EMERGENCY NUMBERS */
.emergency-section {
  background: var(--blush);
  color: var(--ink);
  /* degradê de entrada vindo do hero */
  padding-top: 5rem;
}
/* degradê de saída para a seção local */
.emergency-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--parchment));
  pointer-events: none;
}
.emergency-section .section-title { color: var(--ink); }
.emergency-section .eyebrow-text { color: var(--rose); }
.emergency-section .eyebrow-rule { background: var(--rose-pale); }
.emergency-section .section-desc { color: var(--ink-60); }

.emergency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.6rem;
  margin-top: 3rem;
}

.emergency-card {
  background: var(--white);
  border: 1px solid rgba(201,107,128,0.15);
  border-radius: 20px;
  padding: 2.2rem 1.8rem 2rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo);
  cursor: default;
}
.emergency-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rose-pale), var(--rose-light), var(--rose-pale));
  border-radius: 0;
  opacity: 0;
  transition: opacity 0.35s;
}
.emergency-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,107,128,0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.emergency-card:hover {
  box-shadow: 0 12px 40px rgba(201,107,128,0.18);
  transform: translateY(-6px);
}
.emergency-card:hover::before,
.emergency-card:hover::after { opacity: 1; }

.em-icon {
  width: 42px; height: 42px;
  background: var(--blush);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  transition: background 0.3s, transform 0.3s;
}
.emergency-card:hover .em-icon {
  background: var(--rose-pale);
  transform: scale(1.08);
}
.em-icon svg { width: 20px; height: 20px; }

.em-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 3rem;
  color: var(--rose);
  line-height: 1;
  margin-bottom: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.em-divider {
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--rose-light), var(--rose-pale));
  margin-bottom: 0.85rem;
  border-radius: 2px;
  transition: width 0.3s var(--ease-out-expo);
}
.emergency-card:hover .em-divider { width: 44px; }
.em-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.45rem;
  line-height: 1.45;
}
.em-desc {
  font-size: 0.78rem;
  color: var(--ink-60);
  line-height: 1.65;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
}

/* ─── LOCAL CONTACTS */
.local-section {
  background: var(--parchment);
  padding-top: 5rem;
}
/* degradê de saída para downloads */
.local-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--cream));
  pointer-events: none;
}

.contact-table-wrap {
  margin-top: 2.8rem;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(201,107,128,0.1);
  border: 1px solid rgba(201,107,128,0.12);
}
.contact-table {
  width: 100%;
  border-collapse: collapse;
}
.contact-table thead tr {
  background: linear-gradient(135deg, #9a3050, var(--rose));
}
.contact-table th {
  padding: 1rem 1.4rem;
  text-align: left;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.92);
  font-weight: 700;
  font-family: 'Lato', sans-serif;
}
.contact-table td {
  padding: 1.05rem 1.4rem;
  border-bottom: 1px solid rgba(201,107,128,0.08);
  font-size: 0.88rem;
  color: var(--ink);
  vertical-align: middle;
}
.contact-table tr:last-child td { border-bottom: none; }
.contact-table tbody tr {
  transition: background 0.2s;
}
.contact-table tbody tr:hover td {
  background: rgba(245,208,216,0.25);
}
.contact-table .service-name {
  font-weight: 700;
  font-size: 0.9rem;
  font-family: 'Libre Baskerville', serif;
}
.phone-anchor {
  color: var(--rose);
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.15s;
  font-family: 'Lato', sans-serif;
}
.phone-anchor:hover { color: #9a3050; }
.service-desc { color: var(--ink-60); font-size: 0.82rem; font-family: 'Lato', sans-serif; }

/* ─── DOWNLOADS */
/* ─── DOWNLOADS */
.downloads-section {
  background: var(--cream);
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}
/* degradê de saída para o footer */
.downloads-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--blush));
  pointer-events: none;
}
.downloads-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 100% 0%, rgba(212,184,208,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(201,107,128,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.downloads-section .section-inner { position: relative; z-index: 1; }
.downloads-section .section-title { color: var(--ink); }
.downloads-section .eyebrow-text { color: var(--rose); }
.downloads-section .eyebrow-rule { background: var(--rose-pale); }
.downloads-section .section-desc { color: var(--ink-60); }

.downloads-cards {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-top: 2.8rem;
}
.dl-card {
  background: var(--white);
  border: 1px solid rgba(201,107,128,0.14);
  border-radius: 20px;
  padding: 2.2rem 2.4rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: box-shadow 0.4s var(--ease-out-expo), transform 0.4s var(--ease-out-expo), border-color 0.3s;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.dl-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #9a3050, var(--rose-light), var(--orchid));
  opacity: 0;
  transition: opacity 0.35s;
}
.dl-card:hover {
  box-shadow: 0 12px 40px rgba(201,107,128,0.16);
  border-color: rgba(201,107,128,0.3);
  transform: translateX(6px);
}
.dl-card:hover::before { opacity: 1; }

.dl-card-icon {
  flex-shrink: 0;
  width: 60px; height: 60px;
  background: var(--blush);
  border: 1px solid var(--rose-pale);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  transition: background 0.3s;
}
.dl-card:hover .dl-card-icon {
  background: var(--rose-pale);
}
.dl-card-icon svg { width: 28px; height: 28px; }

.dl-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.dl-card-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.dl-card-desc {
  font-size: 0.9rem;
  color: var(--ink-60);
  line-height: 1.6;
}

.dl-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-xl);
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: all 0.25s var(--ease-out-expo);
  text-decoration: none;
}
.dl-btn-primary {
  background: linear-gradient(135deg, var(--rose), var(--rose-light));
  color: white;
  box-shadow: 0 4px 18px rgba(201,107,128,0.35);
}
.dl-btn-primary:hover {
  box-shadow: 0 8px 28px rgba(201,107,128,0.48);
  transform: translateY(-2px);
}
.dl-btn-secondary {
  background: var(--blush);
  color: var(--rose);
  border: 1.5px solid var(--rose-pale);
}
.dl-btn-secondary:hover {
  background: var(--rose-pale);
  border-color: var(--blush-deep);
}
.dl-btn svg { width: 15px; height: 15px; }

@media (max-width: 640px) {
  .dl-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.6rem;
  }
  .dl-btn { width: 100%; justify-content: center; }
}

/* ─── FOOTER */
footer {
  background: var(--blush);
  color: var(--ink-60);
  padding: 4rem 2rem 3rem;
  text-align: center;
  font-size: 0.82rem;
  line-height: 2;
  font-family: 'Lato', sans-serif;
}
footer strong { color: var(--ink); font-weight: 700; }
.footer-ornament {
  width: 40px; height: 2px;
  background: linear-gradient(90deg, var(--rose-light), var(--orchid));
  margin: 0 auto 1.6rem;
  border-radius: 2px;
}

/* ─── EXIT MODAL */
.exit-overlay {
  position: fixed;
  inset: 0;
  background: rgba(58,37,48,0.35);
  backdrop-filter: blur(6px);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.exit-overlay.show {
  opacity: 1;
  pointer-events: all;
}
.exit-card {
  background: var(--white);
  border: 1px solid var(--rose-pale);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  max-width: 460px;
  margin: 1rem;
  text-align: center;
  box-shadow: var(--shadow-lift);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s var(--ease-out-expo);
}
.exit-overlay.show .exit-card { transform: translateY(0) scale(1); }
.exit-ornament {
  width: 32px; height: 2px;
  background: linear-gradient(90deg, var(--rose-light), var(--orchid));
  margin: 0 auto 1.4rem;
  border-radius: 2px;
}
.exit-title {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 0.8rem;
  line-height: 1.4;
  font-weight: 700;
}
.exit-body {
  font-size: 0.92rem;
  color: var(--ink-60);
  line-height: 1.8;
  margin-bottom: 1.8rem;
}
.exit-close-btn {
  padding: 0.85rem 2.2rem;
  background: linear-gradient(135deg, var(--rose), var(--rose-light));
  color: white;
  border: none;
  border-radius: var(--radius-xl);
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(201,107,128,0.35);
  transition: all 0.2s var(--ease-out-expo);
}
.exit-close-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,107,128,0.45); }

/* ─── SCROLL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s var(--ease-out-expo), transform 0.75s var(--ease-out-expo);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.18s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.42s; }

/* card-specific: sobe com leve escala */
.emergency-card.reveal {
  opacity: 0;
  transform: translateY(44px) scale(0.96);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.emergency-card.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* dl-card: entra da esquerda */
.dl-card.reveal {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.dl-card.reveal.visible {
  opacity: 1;
  transform: translateX(0);
}

/* tabela: fade simples */
.contact-table-wrap.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.contact-table-wrap.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE */
@media (max-width: 640px) {
  .quiz-header { padding: 1rem 1.2rem; }
  .quiz-brand img { width: 42px; height: 42px; }
  .quiz-brand-name .brand-title { font-size: 1rem; }
  .quiz-progress-track { padding: 0 1.2rem; }
  .quiz-screen { padding: 0 0.25rem; }
  .q-tag { font-size: 0.63rem; margin-bottom: 1.1rem; }
  .q-icon-wrap { margin-bottom: 1.1rem; }
  .q-text { font-size: clamp(1rem, 4vw, 1.25rem); margin-bottom: 1.6rem; }
  .a-text { margin-bottom: 1.4rem; }
  .q-actions { flex-direction: column; }
  .q-btn { min-width: unset; padding: 0.85rem 1.2rem; }
  .navbar { padding: 0 1.4rem; }
  .hero { padding-top: 80px; }
  .contact-table { font-size: 0.8rem; }
  .contact-table th, .contact-table td { padding: 0.75rem 0.8rem; }
  .section { padding: 4rem 1.2rem; }
  .final-headline { font-size: clamp(1.4rem, 6vw, 2rem); }
  .final-sub { font-size: 0.9rem; margin-bottom: 1.6rem; }
}
