:root {
  --pine: #153f36;
  --pine-dark: #0d2924;
  --olive: #898a50;
  --sand: #d7b57b;
  --cream: #f7f3e9;
  --paper: #fffdfa;
  --ink: #18332d;
  --muted: #62726c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #e4bf72; outline-offset: 3px; }

.hero { min-height: 760px; height: 100vh; max-height: 980px; position: relative; color: white; background: url('/assets/vila-alice-piscina.jpg') center 55% / cover no-repeat; display: flex; flex-direction: column; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,29,25,.94) 0%, rgba(8,29,25,.77) 44%, rgba(8,29,25,.18) 74%, rgba(8,29,25,.08) 100%), linear-gradient(0deg, rgba(8,29,25,.4), transparent 45%); }
.nav-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 26px 0; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; border-bottom: 1px solid rgba(255,255,255,.22); }
.nav-shell img { width: 225px; height: 72px; object-fit: contain; object-position: left center; }
.quiz-header img { width: 190px; height: 72px; object-fit: contain; object-position: left center; }
.nav-shell a { color: white; text-decoration: none; font-size: 14px; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 5px; }
.hero-content { width: min(1180px, calc(100% - 48px)); margin: auto; position: relative; z-index: 2; padding: 55px 0 100px; }
.eyebrow { display: block; font-size: 12px; letter-spacing: .22em; font-weight: 800; color: var(--olive); margin-bottom: 18px; }
.eyebrow.light { color: #e4c990; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.035em; margin: 0; }
.hero h1 { max-width: 730px; font-size: clamp(54px, 6.2vw, 92px); line-height: .98; }
.hero-content > p { max-width: 620px; color: rgba(255,255,255,.86); font-size: 19px; line-height: 1.65; margin: 28px 0 34px; }
.primary-button { border: 0; border-radius: 999px; color: #142b25; background: #e0bd75; padding: 17px 27px; font-weight: 800; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; text-decoration: none; display: inline-flex; justify-content: center; align-items: center; }
.primary-button:hover { transform: translateY(-2px); background: #edcc89; box-shadow: 0 12px 30px rgba(0,0,0,.16); }
.trust-row { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.78); }

.experience-strip { background: var(--pine); color: white; display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 max(24px, calc((100vw - 1180px)/2)); }
.experience-strip div { padding: 32px 28px; border-right: 1px solid rgba(255,255,255,.14); }
.experience-strip div:first-child { border-left: 1px solid rgba(255,255,255,.14); }
.experience-strip small { display: block; color: #d8be84; letter-spacing: .16em; font-weight: 800; font-size: 10px; margin-bottom: 9px; }
.experience-strip strong { font-family: Georgia, serif; font-size: 19px; font-weight: 400; }
.how-it-works { padding: 110px 24px 120px; max-width: 1180px; margin: 0 auto; }
.how-it-works h2 { max-width: 780px; font-size: clamp(38px, 4.5vw, 62px); line-height: 1.07; }
.steps-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps-grid article { border-top: 1px solid #bdc8c2; padding: 24px 8px; }
.steps-grid b { color: #b07d42; font-size: 12px; letter-spacing: .16em; }
.steps-grid h3 { font-family: Georgia, serif; font-size: 23px; font-weight: 400; margin: 28px 0 10px; }
.steps-grid p { color: var(--muted); line-height: 1.7; }

.quiz-screen { min-height: 100vh; padding: 0 24px 70px; transition: background .5s, color .5s; }
.quiz-screen.light { background: var(--cream); color: var(--ink); }
.quiz-screen.dark { background: var(--pine-dark); color: white; }
.quiz-header { max-width: 980px; margin: 0 auto; min-height: 105px; display: flex; align-items: center; justify-content: space-between; }
.quiz-header button { border: 0; background: transparent; color: inherit; font-size: 34px; cursor: pointer; }
.progress { max-width: 980px; height: 3px; margin: 0 auto; background: rgba(128,140,134,.25); overflow: hidden; }
.progress span { display: block; height: 100%; background: #d6aa59; transition: width .45s ease; }
.quiz-card { width: min(760px, 100%); margin: 0 auto; padding: clamp(55px, 8vw, 100px) 0 40px; }
.step-label { font-size: 11px; letter-spacing: .18em; font-weight: 800; color: #b98e4d; }
.quiz-card h2 { font-size: clamp(37px, 5vw, 62px); line-height: 1.08; margin-top: 16px; }
.quiz-card > p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.quiz-screen.dark .quiz-card > p { color: #c7d4cf; }
.choice-list { display: grid; gap: 12px; margin-top: 38px; }
.choice-list button { width: 100%; min-height: 68px; display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; text-align: left; border: 1px solid #c7d0cb; border-radius: 14px; background: rgba(255,255,255,.65); color: var(--ink); cursor: pointer; transition: .2s; }
.dark .choice-list button { background: rgba(255,255,255,.055); color: white; border-color: rgba(255,255,255,.22); }
.choice-list button:hover, .choice-list button.selected { border-color: #c4974e; background: #f1dfbc; color: var(--ink); transform: translateX(4px); }
.choice-list i { font-style: normal; font-size: 20px; color: #9b7137; }
.date-grid, .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 38px; }
.date-grid label, .form-grid label { font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.date-grid input, .form-grid input { width: 100%; margin-top: 9px; border: 1px solid #bdc8c2; border-radius: 12px; background: white; color: var(--ink); padding: 16px; min-height: 54px; font-weight: 400; letter-spacing: 0; }
.consent { display: flex; gap: 12px; margin-top: 24px; font-size: 12px; color: var(--muted); line-height: 1.5; align-items: flex-start; }
.consent input { width: 18px; height: 18px; flex: 0 0 auto; }
.error { color: #b53b31 !important; font-weight: 700; font-size: 13px !important; }
.quiz-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 38px; }
.secondary-button { border: 1px solid currentColor; border-radius: 999px; background: transparent; color: inherit; padding: 16px 24px; font-weight: 700; cursor: pointer; }

.result-screen { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; background: var(--cream); }
.result-photo { min-height: 100vh; background: linear-gradient(0deg, rgba(13,41,36,.28), rgba(13,41,36,.05)), url('/assets/vila-alice-piscina.jpg') center / cover no-repeat; }
.result-card { padding: clamp(55px, 8vw, 120px) clamp(30px, 7vw, 100px); align-self: center; }
.result-card h2 { font-size: clamp(48px, 5.2vw, 76px); line-height: 1; }
.result-lead { color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 590px; }
.recommendation { margin: 30px 0 22px; padding: 25px; border: 1px solid #c7d0cb; border-radius: 16px; background: rgba(255,255,255,.55); display: grid; gap: 8px; }
.recommendation small { letter-spacing: .15em; color: #95713f; font-weight: 800; }
.recommendation strong { font-family: Georgia, serif; font-size: 28px; font-weight: 400; }
.recommendation span { font-size: 14px; }
.recommendation .discount { color: #2d6d51; font-weight: 800; }
.bonus { padding-left: 16px; border-left: 3px solid #d0a85f; line-height: 1.55; }
.availability-note { color: var(--muted); font-size: 12px; line-height: 1.5; margin: 22px 0; }
.whatsapp { width: 100%; background: #247a53; color: white; }
.whatsapp:hover { background: #2c8b61; }
.text-button { display: block; margin: 18px auto 0; border: 0; background: transparent; color: var(--muted); text-decoration: underline; cursor: pointer; }
.hidden { display: none !important; }

@media (max-width: 760px) {
  .hero { min-height: 700px; background-position: 57% center; }
  .hero-overlay { background: linear-gradient(0deg, rgba(8,29,25,.91), rgba(8,29,25,.32)); }
  .nav-shell, .hero-content { width: calc(100% - 36px); }
  .nav-shell img { width: 185px; height: 60px; }
  .nav-shell a { font-size: 12px; }
  .hero-content { padding-bottom: 60px; margin-top: auto; }
  .hero h1 { font-size: 50px; }
  .hero-content > p { font-size: 16px; }
  .trust-row span:nth-child(even) { display: none; }
  .trust-row { display: grid; gap: 7px; }
  .experience-strip, .steps-grid { grid-template-columns: 1fr; }
  .experience-strip div, .experience-strip div:first-child { border: 0; border-bottom: 1px solid rgba(255,255,255,.14); padding: 24px; }
  .how-it-works { padding: 75px 22px; }
  .steps-grid { margin-top: 42px; gap: 4px; }
  .quiz-screen { padding-inline: 18px; }
  .quiz-header { min-height: 82px; }
  .quiz-header img { width: 155px; height: 58px; }
  .quiz-card { padding-top: 50px; }
  .quiz-card h2 { font-size: 39px; }
  .date-grid, .form-grid { grid-template-columns: 1fr; }
  .quiz-actions { justify-content: stretch; }
  .quiz-actions button { flex: 1; }
  .result-screen { grid-template-columns: 1fr; }
  .result-photo { min-height: 38vh; }
  .result-card { padding: 48px 22px 70px; }
  .result-card h2 { font-size: 49px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
