/* ============================================================
   Kit Presença — Reverie
   Para trocar a fonte display: altere --font-display abaixo.
   ============================================================ */

@font-face {
  font-family: 'Honera';
  src: url('../assets/fonts/HONERA-Regular.otf') format('opentype'),
       url('../assets/fonts/HONERA-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ============ VARIÁVEIS ============ */
:root {
  /* Fonte display — troque aqui para mudar a tipografia de títulos */
  --font-display: 'Honera', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Poppins', system-ui, sans-serif;

  /* Paleta */
  --c-bg:     #FAF9EF;
  --c-cream:  #F6EED4;
  --c-wine:   #611016;
  --c-gold:   #CC8C00;
  --c-green:  #364E32;
  --c-text:   #33271C;
  --c-soft:   #7A6C5C;
  --c-border: #E2D7BE;

  /* Velocímetro */
  --c-good: #4F7A42;
  --c-mid:  #E0A82E;
  --c-bad:  #C0492F;

  --radius: 16px;
  --max-w: 900px;
}

/* ============ BASE ============ */
body {
  font-family: var(--font-body);
  background: var(--c-bg);
  color: var(--c-text);
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============ TIPOGRAFIA ============ */
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: normal;
}
h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.05rem, 2.5vw, 1.3rem); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.6rem;
}

/* ============ BOTÕES ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  line-height: 1;
}
.btn:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 3px; }

.btn-gold { background: var(--c-wine); color: var(--c-cream); }
.btn-gold:hover {
  background: #4a0c11;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(97,16,22,.3);
}

/* Botão do hero — branco com texto vinho */
.hero .btn-gold {
  background: #fff;
  color: var(--c-wine);
  box-shadow: 0 2px 16px rgba(0,0,0,.15);
}
.hero .btn-gold:hover {
  background: var(--c-cream);
  box-shadow: 0 6px 24px rgba(0,0,0,.2);
}

.btn-cream { background: var(--c-cream); color: var(--c-wine); }
.btn-cream:hover { background: #ede3c0; transform: translateY(-2px); }

/* ============ LAYOUT ============ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 2rem);
}
.section { padding: clamp(3.5rem, 9vw, 6rem) clamp(1rem, 5vw, 2rem); }
.text-center { text-align: center; }

/* ============ HOT STAMP FOIL ============ */
@keyframes foil-sweep {
  from { transform: translateX(-180%) skewX(-14deg); }
  to   { transform: translateX(180%)  skewX(-14deg); }
}

/* ============ HERO ============ */
.hero {
  background: var(--c-wine);
  color: var(--c-cream);
  padding: clamp(4rem, 10vw, 7rem) clamp(1rem, 5vw, 2rem) 0;
  text-align: center;
}
.hero .eyebrow { color: var(--c-gold); }
.hero h1 { color: var(--c-cream); margin-bottom: 1.25rem; }
.hero h1 em { color: var(--c-gold); font-style: normal; }

.hero__icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 1.5rem;
  position: relative;
  /* Emboss: sombra escura embaixo + reflexo claro acima — dá sensação de relevo */
  filter:
    drop-shadow(0 3px 5px rgba(0,0,0,.55))
    drop-shadow(0 -1px 2px rgba(255,230,120,.45))
    drop-shadow(0 1px 1px rgba(0,0,0,.3));
  overflow: hidden;
}
.hero__icon svg, .hero__icon img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Brilho holográfico — mascarado ao formato da logo */

.hero__subtitle {
  max-width: 560px;
  margin: 0 auto 2.25rem;
  color: rgba(246,238,212,.82);
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
}
.hero__note { margin-top: 0.9rem; font-size: 0.82rem; color: rgba(246,238,212,.55); }

.hero__wave { line-height: 0; margin-top: 3.5rem; overflow: hidden; }
.hero__wave svg { width: 100%; display: block; }
.hero__wave path { fill: var(--c-bg); }

/* ============ SEÇÃO "POR QUE IMPORTA" ============ */
.why-section { background: var(--c-bg); text-align: center; }
.why-section .eyebrow { color: var(--c-gold); }
.why-section__lead {
  max-width: 620px;
  margin: 1rem auto 3rem;
  color: var(--c-soft);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
  text-align: left;
}
.card {
  background: var(--c-cream);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--c-border);
  box-shadow: 0 2px 14px rgba(51,39,28,.06);
}
.card__num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--c-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.card h3 { margin-bottom: 0.4rem; }
.card p  { font-size: 0.875rem; color: var(--c-soft); }

/* ============ QUIZ PAGE ============ */
.quiz-back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--c-wine);
  font-size: 0.9rem;
  font-family: var(--font-body);
  font-weight: 500;
  text-decoration: none;
  margin: clamp(2rem, 6vw, 4rem) 0 1.75rem clamp(1rem, 5vw, 2rem);
  padding: 0.5rem 1rem;
  background: var(--c-cream);
  border: 1.5px solid var(--c-border);
  border-radius: 999px;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.quiz-back-home:hover { background: var(--c-border); border-color: var(--c-gold); transform: translateX(-2px); }
.quiz-back-home svg { width: 16px; height: 16px; }
.quiz-back-home:focus-visible { outline: 2px solid var(--c-gold); border-radius: 999px; }


.quiz-wrap {
  min-height: 100vh;
  background: var(--c-bg);
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 5vw, 2rem);
}
.quiz-header { text-align: center; margin-bottom: 2.5rem; }
.quiz-header__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 1rem;
  color: var(--c-wine);
}
.quiz-header__icon svg, .quiz-header__icon img { width: 100%; height: 100%; }
.quiz-header .eyebrow { color: var(--c-gold); }
.quiz-header h1 { font-size: clamp(1.35rem, 4vw, 1.9rem); }

.quiz-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(51,39,28,.10);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 640px;
  margin: 0 auto;
}

/* Progress */
.progress-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.progress-bar {
  flex: 1;
  height: 5px;
  background: var(--c-border);
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--c-green);
  border-radius: 999px;
  transition: width 0.4s ease;
  width: 0%;
}
.progress-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--c-soft);
  white-space: nowrap;
}

/* Question */
.question-pane { min-height: 280px; }

.question-text {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.5vw, 1.55rem);
  color: var(--c-text);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.options-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.option-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.65rem;
  border-radius: 50%;
  background: var(--c-border);
  color: var(--c-text);
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}
.option-btn.selected .option-num {
  background: var(--c-gold);
  color: #fff;
}
.option-btn {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid var(--c-border);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--c-text);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  position: relative;
}
.option-btn:hover   { border-color: var(--c-gold); }
.option-btn:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 2px; }
.option-btn.selected {
  border-color: var(--c-gold);
  background: rgba(204,140,0,.07);
}
.option-btn.selected::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--c-gold);
  border-radius: 12px 0 0 12px;
}

/* Nav */
.quiz-nav { margin-top: 1.5rem; }
.btn-back {
  background: none;
  border: none;
  color: var(--c-soft);
  font-family: var(--font-body);
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0;
  transition: color 0.18s;
}
.btn-back:hover { color: var(--c-text); }
.btn-back:focus-visible { outline: 2px solid var(--c-gold); border-radius: 4px; }

/* Lead screen */
.lead-screen { text-align: center; padding: 0.5rem 0; }
.lead-screen h2 { font-size: clamp(1.2rem, 4vw, 1.7rem); margin-bottom: 0.75rem; }
.lead-screen .lead-sub { color: var(--c-soft); margin-bottom: 2rem; max-width: 380px; margin-left: auto; margin-right: auto; }

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 380px;
  margin: 0 auto;
}
.lead-form input[type="email"] {
  padding: 0.9rem 1.2rem;
  border: 2px solid var(--c-border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
  color: var(--c-text);
  transition: border-color 0.18s;
}
.lead-form input[type="email"]:focus { outline: none; border-color: var(--c-gold); }
.lead-form input[type="email"]::placeholder { color: var(--c-soft); }
.lead-form .btn { width: 100%; }
.lead-note { font-size: 0.78rem; color: var(--c-soft); margin-top: 0.5rem; }
.field-error { border-color: #c0402f !important; }
.error-msg { font-size: 0.8rem; color: #c0402f; text-align: left; margin-top: -0.25rem; }

/* ============ RESULTADO PAGE ============ */
.result-hero { background: var(--c-bg); text-align: center; padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 5vw, 2rem) clamp(2rem, 5vw, 3.5rem); }

.score-badge {
  display: inline-block;
  background: var(--c-cream);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  padding: 0.3rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-wine);
  margin-bottom: 1rem;
}
.score-title { font-size: clamp(1.6rem, 5vw, 2.5rem); margin-bottom: 0.4rem; }
.score-pts { color: var(--c-soft); font-size: 0.92rem; margin-bottom: 2.5rem; }

/* Velocímetro */
.speedo-wrap { max-width: 240px; margin: 0 auto 0.5rem; }
.speedo-wrap svg { width: 100%; height: auto; }

.speedo-labels {
  display: flex;
  justify-content: space-between;
  max-width: 240px;
  margin: 0.3rem auto 2.5rem;
  font-size: 0.7rem;
  font-weight: 600;
}
.lbl-bom   { color: var(--c-good); }
.lbl-medio { color: var(--c-mid);  text-align: center; flex: 1; }
.lbl-ruim  { color: var(--c-bad);  }

#needle {
  transform-origin: 100px 100px;
  transform: rotate(0deg);
  transition: transform 1.1s cubic-bezier(0.34, 1.2, 0.64, 1);
}

/* Feedback */
.score-feedback {
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  color: var(--c-soft);
  line-height: 1.8;
}

.next-step {
  max-width: 560px;
  margin: 0 auto 2.5rem;
  background: var(--c-cream);
  border-left: 4px solid var(--c-green);
  border-radius: 0 12px 12px 0;
  padding: 1.2rem 1.5rem;
  text-align: left;
}
.next-step strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-green);
  margin-bottom: 0.5rem;
}

.bridge {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.55rem);
  color: var(--c-wine);
  max-width: 480px;
  margin: 0 auto;
}

/* Aviso sem score */
.no-score-notice {
  background: var(--c-cream);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  max-width: 460px;
  margin: 3rem auto;
  text-align: center;
}
.no-score-notice h2 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.no-score-notice p  { color: var(--c-soft); margin-bottom: 1.5rem; }

/* ============ BLOCO DE OFERTA ============ */
.offer-block {
  background: var(--c-wine);
  color: var(--c-cream);
  padding: clamp(3.5rem, 9vw, 6rem) clamp(1rem, 5vw, 2rem);
  text-align: center;
}
.offer-block .eyebrow { color: var(--c-gold); }
.offer-block h2 { color: var(--c-cream); margin: 0.5rem 0 1.25rem; }

.offer-why {
  max-width: 540px;
  margin: 0 auto 3rem;
  opacity: .88;
  font-size: 1rem;
}

.modules {
  list-style: none;
  max-width: 580px;
  margin: 0 auto 3.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.module {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.module__num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--c-gold);
  line-height: 1;
  min-width: 2rem;
  padding-top: 0.1rem;
}
.module__body h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
  color: var(--c-cream);
}
.module__body p { font-size: 0.85rem; opacity: .72; }

.price-block { margin-bottom: 2rem; }
.price-original { font-size: 0.95rem; opacity: .55; text-decoration: line-through; margin-bottom: 0.25rem; }
.price-current {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 3.2rem);
  color: var(--c-gold);
  line-height: 1;
}
.price-badge {
  display: inline-block;
  background: var(--c-gold);
  color: var(--c-wine);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-left: 0.4rem;
  vertical-align: middle;
}
.offer-note { margin-top: 1rem; font-size: 0.8rem; opacity: .55; }

/* ============ RODAPÉ ============ */
.footer-cta-section {
  background: var(--c-bg);
  padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 5vw, 2rem) 0;
}
.footer-cta-card {
  background: var(--c-green);
  color: var(--c-cream);
  border-radius: 20px;
  padding: clamp(2.5rem, 6vw, 3.5rem);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.footer-cta-card .eyebrow { color: rgba(246,238,212,.65); }
.footer-cta-card h2 { color: var(--c-cream); margin: 0.5rem 0 1rem; }
.footer-cta-card p  { opacity: .85; max-width: 460px; margin: 0 auto 2rem; }

.footer-bottom {
  padding: 3rem clamp(1rem, 5vw, 2rem) 2rem;
  text-align: center;
}
.footer-logo {
  max-width: 150px;
  margin: 0 auto 1.5rem;
  color: var(--c-wine);
}
.footer-logo svg, .footer-logo img { width: 100%; color: inherit; }

.footer-contacts {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--c-soft);
  margin-bottom: 1.25rem;
}
.footer-contacts a { color: var(--c-soft); transition: color 0.2s; }
.footer-contacts a:hover { color: var(--c-wine); }
.footer-sig { font-size: 0.78rem; color: var(--c-border); }

/* ============ ANIMAÇÕES ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up   { animation: fadeUp 0.6s ease both; }
.delay-1   { animation-delay: 0.10s; }
.delay-2   { animation-delay: 0.20s; }
.delay-3   { animation-delay: 0.32s; }
.delay-4   { animation-delay: 0.44s; }

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}
[data-reveal]:nth-child(2) { transition-delay: 0.1s; }
[data-reveal]:nth-child(3) { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  #needle { transition: none; }
}
