﻿@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');
:root {
  --ink: #18120d;
  --muted: #5f5449;
  --paper: #fbf6ee;
  --paper-soft: #fffbf5;
  --gold: #b47a38;
  --gold-dark: #95602a;
  --green: #203b22;
  --line: rgba(117, 87, 54, .18);
  --shadow: 0 18px 55px rgba(43, 31, 18, .13);
}

* { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif; }
button { font: inherit; }
.hidden { display: none !important; }

.quiz {
  position: relative;
  min-height: 100vh;
  padding: 38px 58px 34px;
  overflow: hidden;
}
.quiz::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(251,246,238,.99) 0%, rgba(251,246,238,.965) 38%, rgba(251,246,238,.48) 58%, rgba(251,246,238,.06) 76%),
    linear-gradient(180deg, rgba(251,246,238,.04), rgba(251,246,238,.30)),
    var(--bg, url("assets/photos/hero.jpg")) center right / cover;
}
.quiz::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: 34%;
  background: linear-gradient(0deg, rgba(251,246,238,.985), rgba(251,246,238,0));
}

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.topbar img { width: 176px; height: auto; display: block; }
.text-button {
  border: 0;
  border-bottom: 1px solid rgba(180,122,56,.7);
  padding: 7px 0 9px;
  background: transparent;
  color: var(--gold-dark);
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.progress { width: min(340px, 38vw); margin: 8px auto 0; text-align: center; font-family: Arial, sans-serif; font-size: 15px; font-weight: 700; }
.progress div { height: 2px; margin-top: 14px; background: rgba(62, 46, 32, .16); }
.progress i { display: block; width: 0; height: 100%; background: var(--gold); transition: width .25s ease; }

.quiz-grid { display: grid; grid-template-columns: minmax(0, 850px) 1fr; gap: 30px; align-items: end; min-height: calc(100vh - 206px); }
.question-zone { padding-top: 50px; }
.eyebrow, .band-label, .card-kicker {
  margin: 0 0 17px;
  color: var(--gold-dark);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::after { content: ""; display: block; width: 34px; height: 1px; margin-top: 14px; background: var(--gold); }
h1, h2, h3, p { letter-spacing: 0; }
h1, h2 { margin: 0; font-weight: 500; }
.question-zone h1 { max-width: 780px; font-size: clamp(52px, 5.25vw, 86px); line-height: .96; text-wrap: balance; }
.accent { color: var(--gold-dark); font-style: italic; }
.question-help { max-width: 510px; margin: 27px 0 34px; font-size: 19px; line-height: 1.46; white-space: pre-line; color: #211811; }

.answers { display: grid; gap: 12px; max-width: 875px; }
.answers.count-4 { grid-template-columns: repeat(4, minmax(135px, 1fr)); max-width: 760px; }
.answers.count-5 { grid-template-columns: repeat(5, minmax(128px, 1fr)); max-width: 880px; }
.answers.count-6 { grid-template-columns: repeat(3, minmax(160px, 1fr)); max-width: 760px; }
.answers.count-8 { grid-template-columns: repeat(4, minmax(145px, 1fr)); max-width: 840px; }
.answer {
  min-height: 165px;
  border: 1px solid rgba(151,116,76,.16);
  border-radius: 7px;
  padding: 24px 18px 20px;
  background: rgba(255,252,247,.94);
  box-shadow: 0 10px 34px rgba(54,39,24,.075);
  color: var(--ink);
  cursor: pointer;
  text-align: center;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.answer { position: relative; }
.answer:hover { transform: translateY(-2px); border-color: rgba(180,122,56,.78); background: rgba(255,253,249,.98); }
.answer.selected { transform: translateY(-2px); border-color: rgba(180,122,56,.95); background: #fff8ec; box-shadow: 0 14px 38px rgba(120,82,40,.13); }
.answer.selected::before { content: "✓"; position: absolute; right: 14px; top: 14px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fffaf3; font-family: Arial, sans-serif; font-size: 15px; font-weight: 700; }
.answer-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: 0 auto 18px; }
.answer-icon img { width: 45px; height: 45px; object-fit: contain; filter: invert(43%) sepia(49%) saturate(690%) hue-rotate(352deg) brightness(91%) contrast(86%); }
.answer-label { display: block; font-size: 21px; line-height: 1.18; color: #17110c; }
.answer::after { content: ""; display: block; width: 25px; height: 1px; margin: 22px auto 0; background: var(--gold); opacity: .8; }

.photo-note { align-self: stretch; display: flex; align-items: end; justify-content: end; padding: 0 20px 56px; color: #fff8eb; text-align: center; text-shadow: 0 2px 18px rgba(0,0,0,.48); }
.photo-note div { max-width: 360px; }
.photo-note p { margin: 0 0 13px; color: #e1ad66; font-family: Arial, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; }
.photo-note strong { font-size: 20px; font-weight: 500; }

.nav-actions { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.nav-link, .nav-primary { border: 0; background: transparent; color: var(--ink); cursor: pointer; font-family: Arial, sans-serif; font-size: 15px; }
.nav-link::before { content: "←"; margin-right: 12px; font-size: 22px; vertical-align: -2px; }
.nav-primary::after { content: "→"; margin-left: 12px; font-size: 22px; vertical-align: -2px; }
.nav-link:disabled, .nav-primary:disabled { cursor: not-allowed; opacity: .32; }

.result { min-height: 100vh; background: var(--paper); }
.result-hero { min-height: 630px; padding: 30px 58px 42px; background: linear-gradient(90deg, rgba(251,246,238,.99), rgba(251,246,238,.91) 39%, rgba(251,246,238,.20) 63%, rgba(251,246,238,.02)), var(--hero, url("assets/photos/ile-martinique.jpg")) center right / cover; }
.result-intro { max-width: 520px; margin-top: 48px; }
.result-intro h1 { font-size: clamp(52px, 5vw, 80px); line-height: .94; }
.result-intro p:last-child { margin: 24px 0 0; font-size: 18px; line-height: 1.52; color: #241a12; }
.profile-card { width: min(540px, 45vw); margin-top: 34px; padding: 31px 40px 32px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255,252,247,.94); box-shadow: var(--shadow); }
.profile-card h2 { margin: 0; font-size: 36px; line-height: 1.05; }
.profile-card h3 { margin: 8px 0 20px; color: var(--gold-dark); font-size: 31px; font-style: italic; font-weight: 500; line-height: 1.08; }
.profile-card p:last-child { margin: 0; color: #4d4036; font-size: 17px; line-height: 1.5; }

.itinerary-cta-band {
  padding: 24px 58px 22px;
  background: rgba(255,252,247,.88);
  border-bottom: 1px solid rgba(117,87,54,.12);
}
.itinerary-cta-band .cta {
  max-width: 360px;
  margin: 0;
  border: 1px solid rgba(255,255,255,.46);
  background:
    linear-gradient(135deg, rgba(32,59,34,.91), rgba(32,59,34,.68)),
    linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.08));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 16px 42px rgba(32,59,34,.20);
  color: #fffaf3;
  backdrop-filter: blur(18px);
}
.itinerary-cta-band .cta:hover {
  background:
    linear-gradient(135deg, rgba(38,70,40,.95), rgba(32,59,34,.74)),
    linear-gradient(135deg, rgba(255,255,255,.26), rgba(255,255,255,.10));
}
.email-panel {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(30,22,14,.28);
  backdrop-filter: blur(12px);
}
.email-panel .email-capture {
    display: block;
width: min(520px, 100%);
  margin: 0;
  background: rgba(255,252,247,.94);
}
.email-capture h2 { margin: 0 0 16px; font-size: 34px; font-weight: 500; line-height: 1.05; }
.thanks-view {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 38px 24px;
  background: radial-gradient(circle at 70% 16%, rgba(180,122,56,.14), transparent 30%), linear-gradient(180deg, #fbf6ee, #f6ecdf);
}
.thanks-card {
  width: min(560px, 100%);
  padding: 42px 40px 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,252,247,.88);
  box-shadow: 0 24px 70px rgba(43,31,18,.14);
  text-align: center;
}
.thanks-card img { width: 210px; height: auto; margin: 0 auto 30px; display: block; }
.thanks-card h1 { margin: 0 0 12px; color: var(--gold-dark); font-size: clamp(54px, 6vw, 82px); font-style: italic; font-weight: 500; line-height: .9; }
.thanks-card p:not(.band-label) { max-width: 360px; margin: 0 auto 26px; color: #4d4036; font-size: 21px; line-height: 1.32; }
.thanks-return {
  border: 0;
  border-bottom: 1px solid rgba(149,96,42,.55);
  padding: 6px 0 8px;
  background: transparent;
  color: var(--gold-dark);
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 14px;
}
.choices-band { padding: 22px 58px 20px; border-top: 1px solid rgba(117,87,54,.10); border-bottom: 1px solid rgba(117,87,54,.12); background: rgba(255,252,247,.84); }
.choices-row { display: grid; grid-template-columns: repeat(8, minmax(92px, 1fr)); gap: 0; }
.choice-item { min-height: 104px; padding: 8px 14px; border-right: 1px solid rgba(117,87,54,.14); text-align: center; }
.choice-item:last-child { border-right: 0; }
.choice-item .answer-icon { width: 34px; height: 34px; margin-bottom: 8px; }
.choice-item .answer-icon img { width: 33px; height: 33px; }
.choice-item span { display: block; color: var(--muted); font-family: Arial, sans-serif; font-size: 12px; line-height: 1.25; }
.choice-item strong { display: block; margin-top: 7px; font-size: 16px; font-weight: 500; line-height: 1.14; color: #17110c; }

.recommendation-section { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 66px; align-items: end; padding: 34px 58px 26px; }
.recommendation-copy h2 { font-size: 36px; line-height: 1.06; }
.recommendation-copy p:not(.band-label) { color: #4d4036; font-size: 17px; line-height: 1.5; }
.cta { min-width: 300px; border: 0; border-radius: 6px; padding: 15px 22px; background: var(--green); color: #fffaf3; cursor: pointer; font-family: Arial, sans-serif; font-size: 15px; text-align: left; }
.cta::after { content: "→"; float: right; }
.result-actions { display: grid; gap: 12px; margin-top: 20px; }
.cta-glass {
  min-width: 300px;
  border: 1px solid rgba(255,255,255,.46);
  border-radius: 7px;
  padding: 15px 22px;
  background:
    linear-gradient(135deg, rgba(32,59,34,.88), rgba(32,59,34,.60)),
    linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.08));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.26), 0 16px 42px rgba(32,59,34,.18);
  color: #fffaf3;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 15px;
  text-align: left;
  backdrop-filter: blur(18px);
}
.cta-glass:hover {
  background:
    linear-gradient(135deg, rgba(38,70,40,.94), rgba(32,59,34,.68)),
    linear-gradient(135deg, rgba(255,255,255,.25), rgba(255,255,255,.10));
}
.cta-glass span { float: right; }
.result .js-email-trigger {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 54px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
.result .js-email-trigger::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.02) 35%, rgba(255,255,255,.30) 50%, rgba(255,255,255,.04) 64%, transparent 100%);
  opacity: .42;
  transform: translateX(-78%) skewX(-18deg);
  transition: transform .65s ease, opacity .25s ease;
}
.result .js-email-trigger:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.68);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.34), 0 22px 52px rgba(32,59,34,.28), 0 0 0 1px rgba(180,122,56,.08);
}
.result .js-email-trigger:hover::before {
  opacity: .78;
  transform: translateX(72%) skewX(-18deg);
}
.result .js-email-trigger:active {
  transform: translateY(-1px) scale(.992);
}
.result .js-email-trigger:focus-visible {
  outline: 2px solid rgba(180,122,56,.72);
  outline-offset: 4px;
}
.result .js-email-trigger::after,
.cta-glass span {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  margin-left: auto;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .22s ease, background .22s ease;
}
.result .js-email-trigger:hover::after,
.cta-glass:hover span {
  transform: translateX(3px);
  background: rgba(255,255,255,.24);
}
.cta-glass span { float: none; }
@media (hover: none) {
  .result .js-email-trigger:hover { transform: none; }
  .result .js-email-trigger:hover::before { transform: translateX(-78%) skewX(-18deg); opacity: .42; }
}
.email-capture, .thanks-screen {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(180,122,56,.26);
  border-radius: 8px;
  background: rgba(255,252,247,.76);
  box-shadow: 0 14px 34px rgba(43,31,18,.08);
}
.email-capture label {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-dark);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.email-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.email-row input {
  min-width: 0;
  border: 1px solid rgba(117,87,54,.22);
  border-radius: 6px;
  padding: 13px 14px;
  background: rgba(255,255,255,.72);
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 15px;
}
.email-row button {
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  background: var(--green);
  color: #fffaf3;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 15px;
}
.thanks-screen h3 { margin: 0 0 8px; font-size: 28px; font-weight: 500; line-height: 1.08; }
.thanks-screen p:last-child { margin: 0; color: #4d4036; font-size: 17px; line-height: 1.4; }
.recommendation-cards { display: grid; grid-template-columns: repeat(3, minmax(160px, 1fr)); gap: 16px; }
.recommendation-card { position: relative; min-height: 192px; overflow: hidden; border-radius: 7px; background: #25180f; color: #fff8ee; box-shadow: 0 14px 34px rgba(34,24,15,.17); }
.recommendation-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.recommendation-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.70), rgba(0,0,0,.08)); }
.recommendation-card h3 { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; margin: 0; font-size: 24px; font-weight: 500; line-height: 1.08; text-shadow: 0 2px 12px rgba(0,0,0,.34); }
.result-footer { padding: 8px 58px 30px; text-align: center; }
.result-footer img { width: 74px; height: auto; opacity: .86; }
.result-footer p { margin: 8px 0 5px; color: var(--gold-dark); font-family: Arial, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; }
.result-footer span { font-size: 16px; }

@media (max-width: 980px) {
  .quiz { padding: 26px 20px 20px; }
  .quiz::before { background: linear-gradient(180deg, rgba(251,246,238,.995) 0%, rgba(251,246,238,.985) 62%, rgba(251,246,238,.64)), var(--bg, url("assets/photos/hero.jpg")) center bottom / cover; }
  .topbar img { width: 136px; }
  .text-button { font-size: 0; border: 0; }
  .text-button::before { content: "☰"; color: var(--ink); font-size: 30px; line-height: 1; }
  .progress { width: min(280px, 72vw); margin-top: 30px; }
  .quiz-grid { display: block; min-height: auto; }
  .question-zone { padding-top: 40px; }
  .question-zone h1 { font-size: 42px; line-height: 1.02; }
  .question-help { margin: 22px 0 24px; font-size: 16px; line-height: 1.34; }
  .answers, .answers.count-4, .answers.count-5, .answers.count-6, .answers.count-8 { grid-template-columns: 1fr; max-width: none; gap: 10px; }
  .answer { display: grid; grid-template-columns: 46px 1fr 18px; align-items: center; min-height: 64px; padding: 14px 16px; text-align: left; }
  .answer::after { content: "›"; width: auto; height: auto; margin: 0; background: transparent; color: var(--gold); font-size: 27px; opacity: 1; }
  .answer-icon { width: 34px; height: 34px; margin: 0; }
  .answer-icon img { width: 32px; height: 32px; }
  .answer-label { font-size: 18px; }
  .photo-note { display: none; }
  .nav-actions { position: sticky; bottom: 0; margin: 22px -20px -20px; padding: 15px 20px; background: rgba(251,246,238,.93); backdrop-filter: blur(14px); }

  .result-hero { min-height: auto; padding: 28px 22px 32px; background: linear-gradient(180deg, rgba(251,246,238,.995), rgba(251,246,238,.955) 54%, rgba(251,246,238,.68)), var(--hero, url("assets/photos/ile-martinique.jpg")) center top / cover; }
  .result-intro { margin-top: 48px; }
  .result-intro h1 { font-size: 44px; }
  .profile-card { width: 100%; margin-top: 24px; padding: 24px 24px 26px; }
  .profile-card h2 { font-size: 32px; }
  .profile-card h3 { font-size: 27px; }
  .itinerary-cta-band { padding: 20px 22px; }
    .itinerary-cta-band .cta { max-width: none; width: 100%; }
  .choices-band { padding: 20px 22px; }
  .email-panel { padding: 18px; }
  .email-capture h2 { font-size: 30px; }
  .thanks-card { padding: 32px 24px 30px; }
  .thanks-card img { width: 174px; }
  .thanks-card h1 { font-size: 58px; }
  .choices-row { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .choice-item { border-right: 0; min-height: 94px; }
  .recommendation-section { display: block; padding: 24px 22px; }
  .cta, .cta-glass { width: 100%; min-width: 0; }
  .email-row { grid-template-columns: 1fr; }
  .email-row button { min-height: 46px; }
  .recommendation-cards { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .recommendation-card { min-height: 178px; }
  .result-footer { padding: 14px 22px 28px; }
}

@media (max-width: 430px) {
  .quiz { padding: 22px 18px 16px; min-height: 100svh; }
  .topbar img { width: 126px; }
  .progress { margin-top: 22px; }
  .question-zone { padding-top: 30px; }
  .eyebrow { margin-bottom: 14px; font-size: 11px; }
  .eyebrow::after { margin-top: 11px; }
  .question-zone h1 { font-size: 39px; line-height: 1.02; }
  .question-help { margin: 18px 0 20px; font-size: 15.5px; line-height: 1.32; }
  .answers, .answers.count-4, .answers.count-5, .answers.count-6, .answers.count-8 { gap: 8px; }
  .answer { min-height: 58px; padding: 12px 14px; grid-template-columns: 42px 1fr 16px; }
  .answer-icon { width: 31px; height: 31px; }
  .answer-icon img { width: 30px; height: 30px; }
  .answer-label { font-size: 17px; line-height: 1.08; }
  .answer.selected::before { right: 38px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; font-size: 12px; }
  .nav-actions { margin: 18px -18px -16px; padding: 12px 18px max(12px, env(safe-area-inset-bottom)); }
  .nav-link, .nav-primary { font-size: 14px; }
  .nav-link::before, .nav-primary::after { font-size: 19px; }
  .result-hero { padding: 24px 20px 28px; }
  .result-intro { margin-top: 38px; }
  .result-intro h1 { font-size: 41px; line-height: .98; }
  .result-intro p:last-child { font-size: 16.5px; line-height: 1.42; }
  .profile-card { margin-top: 20px; padding: 22px 20px 24px; }
  .profile-card h2 { font-size: 30px; }
  .profile-card h3 { font-size: 25px; }
  .profile-card p:last-child { font-size: 16px; line-height: 1.42; }
  .itinerary-cta-band, .choices-band, .recommendation-section { padding-left: 20px; padding-right: 20px; }
  .choice-item strong { font-size: 15px; }
  .recommendation-copy h2 { font-size: 32px; }
  .recommendation-copy p:not(.band-label) { font-size: 16px; line-height: 1.45; }
  .recommendation-card h3 { font-size: 22px; }
  .email-panel { align-items: start; padding: 72px 18px 18px; overflow-y: auto; }
  .email-capture h2 { font-size: 28px; }
  .email-row input { font-size: 16px; }
  .thanks-view { min-height: 100svh; padding: 24px 18px; }
  .thanks-card { padding: 28px 22px 26px; }
  .thanks-card img { width: 158px; margin-bottom: 24px; }
  .thanks-card h1 { font-size: 54px; }
  .thanks-card p:not(.band-label) { font-size: 18px; line-height: 1.3; }
}

/* Harmonisation DA ANTILLES.FR - Variante B validée */
:root {
  --ink: #0a344b;
  --muted: rgba(10, 52, 75, .72);
  --paper: #fff8ed;
  --paper-soft: #fffdf8;
  --gold: #c58d3a;
  --gold-dark: #a8742f;
  --green: #033657;
  --sea: #006ca8;
  --sea-soft: #d6edf8;
  --line: rgba(10, 52, 75, .13);
  --shadow: 0 28px 82px rgba(6, 44, 66, .14);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 14%, rgba(214, 237, 248, .62), transparent 30%),
    radial-gradient(circle at 92% 22%, rgba(0, 108, 168, .10), transparent 32%),
    radial-gradient(circle at 18% 74%, rgba(115, 157, 125, .08), transparent 34%),
    linear-gradient(180deg, #fff8ed 0%, #f5f3eb 42%, #eef8fa 72%, #fbf4e8 100%);
  font-family: var(--serif);
}

.quiz {
  display: grid;
  width: min(1240px, calc(100% - 48px));
  min-height: calc(100vh - 32px);
  margin: 16px auto;
  padding: 26px 34px 30px;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, .56), transparent 30%),
    linear-gradient(135deg, rgba(255, 248, 237, .94), rgba(237, 248, 251, .82));
  box-shadow: var(--shadow);
}

.quiz::before {
  display: none;
}

.quiz::after {
  display: none;
}

.topbar {
  min-height: 66px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 248, 237, .90), rgba(237, 247, 250, .86));
  box-shadow: 0 18px 44px rgba(3, 54, 87, .08);
  backdrop-filter: blur(16px);
}

.topbar img {
  width: 204px;
}

.text-button {
  border: 1px solid rgba(0, 108, 168, .14);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--deep, #033657);
  background: rgba(255, 255, 255, .44);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.text-button:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 108, 168, .30);
  background: rgba(255, 255, 255, .72);
}

.progress {
  width: min(320px, 42vw);
  margin: 12px auto 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
}

.progress div {
  height: 2px;
  margin-top: 10px;
  background: rgba(10, 52, 75, .14);
}

.progress i {
  background: linear-gradient(90deg, var(--gold), var(--sea));
}

.quiz-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 32px;
  min-height: auto;
  align-items: center;
  padding: 36px 2px 26px;
}

.question-zone {
  max-width: 710px;
  padding-top: 0;
}

.eyebrow,
.band-label,
.card-kicker {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .15em;
}

.eyebrow::after {
  width: 42px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.question-zone h1 {
  max-width: 700px;
  color: var(--ink);
  font-size: clamp(42px, 4.4vw, 62px);
  line-height: 1.02;
}

.accent {
  color: var(--gold);
}

.question-help {
  max-width: 560px;
  margin: 22px 0 28px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

.answers,
.answers.count-4,
.answers.count-5,
.answers.count-6,
.answers.count-8 {
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  max-width: 760px;
  gap: 12px;
}

.answer {
  min-height: 122px;
  border: 1px solid rgba(10, 52, 75, .12);
  border-radius: 8px;
  padding: 20px 16px 18px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, .78), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(255, 250, 242, .74));
  box-shadow: 0 12px 34px rgba(3, 54, 87, .08);
  color: var(--ink);
  font-family: var(--sans);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
}

.answer:hover,
.answer.selected {
  transform: translateY(-3px);
  border-color: rgba(0, 108, 168, .36);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, .88), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(237, 248, 251, .82));
  box-shadow: 0 22px 54px rgba(0, 83, 135, .14);
}

.answer.selected::before {
  background: linear-gradient(135deg, var(--sea), var(--green));
}

.answer-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  margin: 0 auto 14px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 108, 168, .14);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(229, 245, 250, .58));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .86),
    0 10px 26px rgba(0, 83, 135, .08);
}

.answer-icon img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: invert(28%) sepia(77%) saturate(1112%) hue-rotate(174deg) brightness(88%) contrast(97%);
}

.answer-label {
  color: var(--ink);
  font-size: 15px;
  font-weight: 780;
  line-height: 1.2;
}

.answer::after {
  width: 24px;
  margin-top: 14px;
  background: var(--gold);
}

.photo-note {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  align-self: center;
  align-items: end;
  justify-content: start;
  padding: 24px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(3, 54, 87, .08), rgba(3, 54, 87, .34)), var(--bg, url("assets/photos/hero.jpg")) center / cover;
  box-shadow: 0 24px 70px rgba(0, 83, 135, .16);
  text-align: left;
}

.photo-note p {
  color: #f1c681;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .18em;
}

.photo-note strong {
  max-width: 280px;
  color: #fff;
  font-size: 24px;
  line-height: 1.12;
}

.nav-actions {
  padding-top: 2px;
  font-family: var(--sans);
}

.nav-link,
.nav-primary {
  min-height: 46px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 800;
}

.nav-primary {
  border: 1px solid rgba(217, 238, 245, .52);
  border-radius: 8px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(135deg, rgba(0, 120, 184, .98), rgba(0, 93, 150, .98) 50%, rgba(3, 54, 87, .98));
  box-shadow: 0 16px 38px rgba(0, 83, 135, .18);
  transition: transform .22s ease, box-shadow .22s ease;
}

.nav-primary:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(0, 83, 135, .24);
}

.result {
  background:
    radial-gradient(circle at 10% 10%, rgba(214, 237, 248, .52), transparent 28%),
    linear-gradient(180deg, #fff8ed 0%, #eef8fa 66%, #fbf4e8 100%);
}

.result-hero {
  position: relative;
  width: min(1240px, calc(100% - 48px));
  min-height: 610px;
  margin: 16px auto 0;
  padding: 26px 34px 34px;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 248, 237, .98), rgba(255, 248, 237, .88) 44%, rgba(255, 248, 237, .24)),
    var(--hero, url("assets/photos/ile-martinique.jpg")) center right / cover;
  box-shadow: var(--shadow);
}

.result-intro {
  max-width: 490px;
  margin-top: 44px;
}

.result-intro h1 {
  color: var(--ink);
  font-size: clamp(44px, 4.7vw, 68px);
  line-height: 1.02;
}

.result-intro p:last-child,
.profile-card p:last-child,
.recommendation-copy p:not(.band-label),
.choice-item span {
  color: var(--muted);
  font-family: var(--sans);
}

.profile-card {
  width: min(480px, 46vw);
  padding: 28px 32px;
  border: 1px solid rgba(255, 255, 255, .66);
  border-radius: 8px;
  background: rgba(255, 252, 247, .88);
  box-shadow: 0 22px 64px rgba(3, 54, 87, .12);
}

.compatibility-card {
  position: absolute;
  right: clamp(34px, 7vw, 92px);
  bottom: clamp(34px, 6vw, 70px);
  width: min(285px, 26vw);
  padding: 20px 22px;
  border: 1px solid rgba(215, 247, 235, .62);
  border-radius: 8px;
  color: #f7fffb;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, .34), transparent 36%),
    linear-gradient(135deg, rgba(19, 117, 101, .92), rgba(0, 108, 168, .82) 55%, rgba(3, 54, 87, .92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .30),
    0 26px 64px rgba(3, 54, 87, .20);
  backdrop-filter: blur(16px);
}

.compatibility-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 6px;
  pointer-events: none;
}

.compatibility-card span,
.compatibility-card i {
  display: block;
  position: relative;
  z-index: 1;
  font-family: var(--sans);
}

.compatibility-card span {
  color: rgba(255, 255, 255, .82);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.compatibility-card strong {
  display: block;
  position: relative;
  z-index: 1;
  margin: 8px 0 4px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(46px, 4.5vw, 64px);
  font-weight: 500;
  line-height: .9;
}

.compatibility-card i {
  max-width: 190px;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.profile-card h2 {
  color: var(--ink);
  font-size: 32px;
}

.profile-card h3 {
  color: var(--gold);
}

.itinerary-cta-band,
.choices-band,
.recommendation-section,
.result-footer {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.itinerary-cta-band,
.choices-band {
  background: rgba(255, 255, 255, .52);
  border-color: rgba(10, 52, 75, .10);
}

.choice-item {
  border-color: rgba(10, 52, 75, .12);
}

.choice-item strong {
  color: var(--ink);
}

.recommendation-section {
  grid-template-columns: minmax(280px, 390px) 1fr;
  padding-top: 40px;
}

.recommendation-copy h2 {
  color: var(--ink);
  font-size: 36px;
}

.cta,
.cta-glass,
.itinerary-cta-band .cta,
.email-row button,
.share-button {
  border: 1px solid rgba(217, 238, 245, .52);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 120, 184, .98), rgba(0, 93, 150, .98) 50%, rgba(3, 54, 87, .98)),
    linear-gradient(180deg, rgba(255, 255, 255, .18), transparent);
  box-shadow: 0 20px 48px rgba(0, 83, 135, .24);
  font-family: var(--sans);
  font-weight: 820;
  text-decoration: none;
}

.cta-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, .70);
  box-shadow: 0 12px 30px rgba(3, 54, 87, .08);
}

.result .js-email-trigger:hover,
.itinerary-cta-band .cta:hover,
.cta-glass:hover,
.share-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 58px rgba(0, 83, 135, .26);
}

.email-panel {
  background: rgba(3, 54, 87, .24);
}

.email-panel .email-capture,
.email-capture,
.thanks-card {
  border: 1px solid rgba(255, 255, 255, .66);
  background: rgba(255, 252, 247, .92);
  box-shadow: 0 28px 78px rgba(3, 54, 87, .16);
}

.email-consent {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 0 !important;
  color: rgba(16, 55, 68, .72) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.45;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.email-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
}

.email-consent a {
  color: var(--deep);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.email-capture h2,
.thanks-card h1 {
  color: var(--ink);
}

.email-capture label {
  color: var(--gold);
  font-family: var(--sans);
}

.email-row input {
  border-color: rgba(10, 52, 75, .16);
  color: var(--ink);
  font-family: var(--sans);
}

.thanks-view {
  background:
    radial-gradient(circle at 50% 0%, rgba(214, 237, 248, .62), transparent 35%),
    linear-gradient(180deg, #fff8ed, #eef8fa);
}

.thanks-card img {
  width: 220px;
}

.thanks-card p:not(.band-label),
.share-copy,
.share-status {
  color: var(--muted);
  font-family: var(--sans);
}

.share-copy {
  max-width: 420px;
  margin: 18px auto 16px;
  font-size: 16px;
  line-height: 1.55;
}

.share-button {
  min-height: 50px;
  padding: 0 20px;
  cursor: pointer;
}

.share-status {
  display: block;
  min-height: 24px;
  margin-top: 12px;
  font-size: 13px;
}

.thanks-return {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-family: var(--sans);
  text-decoration: none;
}

.question-loader {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: rgba(255, 248, 237, .48);
  backdrop-filter: blur(5px);
}

.question-loader span {
  width: 42px;
  height: 42px;
  border: 2px solid rgba(0, 108, 168, .18);
  border-top-color: var(--sea);
  border-radius: 50%;
  animation: spin .72s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.quiz.is-changing .question-zone,
.quiz.is-changing .photo-note {
  opacity: .18;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
}

@media (max-width: 980px) {
  .quiz,
  .result-hero,
  .itinerary-cta-band,
  .choices-band,
  .recommendation-section,
  .result-footer {
    width: min(100% - 32px, 760px);
  }

  .quiz {
    min-height: calc(100svh - 24px);
    margin: 12px auto;
    padding: 18px;
  }

  .topbar img {
    width: 174px;
  }

  .text-button {
    font-size: 13px;
  }

  .text-button::before {
    content: none;
  }

  .quiz-grid {
    display: block;
    padding: 30px 2px 16px;
  }

  .photo-note {
    display: none;
  }

  .question-zone h1 {
    font-size: clamp(36px, 9vw, 48px);
  }

  .answers,
  .answers.count-4,
  .answers.count-5,
  .answers.count-6,
  .answers.count-8 {
    grid-template-columns: 1fr;
  }

  .answer {
    min-height: 70px;
    grid-template-columns: 42px 1fr 18px;
  }

  .answer-icon {
    margin-bottom: 0;
  }

  .nav-actions {
    margin: 18px -18px -18px;
    background: rgba(255, 248, 237, .88);
  }

  .result-hero {
    min-height: auto;
    padding: 18px;
    background:
      linear-gradient(180deg, rgba(255, 248, 237, .99), rgba(255, 248, 237, .94) 62%, rgba(255, 248, 237, .72)),
      var(--hero, url("assets/photos/ile-martinique.jpg")) center top / cover;
  }

  .profile-card {
    width: 100%;
  }

  .compatibility-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 18px;
  }

  .choices-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .recommendation-section {
    display: block;
  }

  .recommendation-cards {
    margin-top: 24px;
  }
}

@media (max-width: 430px) {
  .quiz,
  .result-hero,
  .itinerary-cta-band,
  .choices-band,
  .recommendation-section,
  .result-footer {
    width: calc(100% - 24px);
  }

  .topbar {
    min-height: 58px;
  }

  .topbar img {
    width: 152px;
  }

  .text-button {
    display: inline-grid;
    place-items: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 9px 10px;
    overflow: hidden;
    font-size: 0;
  }

  .text-button::before {
    content: "↺";
    color: var(--ink);
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 850;
    line-height: 1;
  }

  .quit::before {
    content: "×";
    font-size: 24px;
  }

  .question-help {
    font-size: 15.5px;
    line-height: 1.5;
  }

  .answer-label {
    font-size: 16px;
  }

  .answer {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 11px;
  }

  .answer::after {
    display: none;
  }

  .answer-icon {
    width: 34px;
    height: 34px;
    margin: 0;
  }

  .answer-icon img {
    width: 20px;
    height: 20px;
  }

  .result-intro h1 {
    font-size: 39px;
  }

  .thanks-card img {
    width: 180px;
  }
}

/* Variante C publication : finition premium questionnaire */
body {
  background:
    radial-gradient(circle at 12% 8%, rgba(214, 237, 248, .68), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(0, 108, 168, .10), transparent 32%),
    linear-gradient(180deg, #f8fcfd 0%, #fff8ed 42%, #eef8fa 100%);
}

.quiz {
  width: min(1160px, calc(100% - 56px));
  min-height: calc(100vh - 48px);
  margin: 24px auto;
  padding: 24px 28px 28px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, .70), transparent 32%),
    radial-gradient(circle at 88% 82%, rgba(0, 108, 168, .13), transparent 36%),
    linear-gradient(135deg, rgba(255, 248, 237, .92), rgba(237, 248, 251, .86));
  box-shadow:
    0 34px 92px rgba(0, 83, 135, .13),
    inset 0 1px 0 rgba(255, 255, 255, .82);
}

.topbar {
  background:
    linear-gradient(135deg, rgba(255, 248, 237, .92), rgba(237, 247, 250, .88));
}

.quiz-grid {
  grid-template-columns: minmax(0, .98fr) minmax(260px, 340px);
  gap: clamp(26px, 4vw, 44px);
  padding-top: 34px;
}

.question-zone h1 {
  max-width: 660px;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.04;
}

.question-help {
  max-width: 540px;
  margin: 20px 0 26px;
  font-size: 15.5px;
}

.answers,
.answers.count-4,
.answers.count-5,
.answers.count-6,
.answers.count-8 {
  max-width: 720px;
  gap: 11px;
}

.answer {
  min-height: 112px;
  padding: 18px 15px 16px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, .80), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, .90), rgba(239, 249, 252, .72));
  box-shadow:
    0 16px 42px rgba(0, 83, 135, .08),
    inset 0 -1px 0 rgba(197, 141, 58, .16),
    inset 0 1px 0 rgba(255, 255, 255, .82);
}

.answer:hover,
.answer.selected {
  border-color: rgba(197, 141, 58, .44);
  box-shadow:
    0 24px 62px rgba(0, 83, 135, .14),
    inset 0 -1px 0 rgba(197, 141, 58, .28),
    inset 0 1px 0 rgba(255, 255, 255, .90);
}

.answer-label {
  font-size: 14.5px;
}

.photo-note {
  min-height: 390px;
  background:
    linear-gradient(180deg, rgba(3, 54, 87, .04), rgba(3, 54, 87, .36)),
    var(--bg, url("assets/photos/hero.jpg")) center / cover;
}

.nav-primary,
.cta,
.cta-glass,
.itinerary-cta-band .cta,
.email-row button,
.share-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.nav-primary::before,
.cta::before,
.cta-glass::before,
.itinerary-cta-band .cta::before,
.email-row button::before,
.share-button::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  transform: translateX(-82%) skewX(-18deg);
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.04) 34%, rgba(255,255,255,.30) 50%, rgba(255,255,255,.05) 64%, transparent 100%);
  transition: transform .65s ease, opacity .25s ease;
}

.nav-primary:hover::before,
.cta:hover::before,
.cta-glass:hover::before,
.itinerary-cta-band .cta:hover::before,
.email-row button:hover::before,
.share-button:hover::before {
  transform: translateX(74%) skewX(-18deg);
}


.itinerary-cta-band,
.choices-band,
.recommendation-section,
.result-footer {
  width: min(1160px, calc(100% - 56px));
}

.choices-band,
.itinerary-cta-band {
  background:
    radial-gradient(circle at 10% 0%, rgba(255,255,255,.70), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.62), rgba(239,249,252,.52));
}

.recommendation-section {
  align-items: start;
}

.recommendation-card {
  box-shadow: 0 22px 54px rgba(0, 83, 135, .16);
}

.thanks-card {
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,.78), transparent 34%),
    linear-gradient(150deg, rgba(255,255,255,.92), rgba(239,249,252,.78));
}

@media (max-width: 980px) {
  .quiz,
  .result-hero,
  .itinerary-cta-band,
  .choices-band,
  .recommendation-section,
  .result-footer {
    width: min(100% - 32px, 760px);
  }

  .quiz {
    margin: 14px auto;
  }

  .question-zone h1 {
    font-size: clamp(34px, 8.6vw, 46px);
  }

  .answer {
    min-height: 68px;
  }
}

/* Resultat premium avance : contenu carnet, second choix et image vivante */
.result-hero {
  position: relative;
  overflow: hidden;
}

.result-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 26%, rgba(255, 255, 255, .28), transparent 18%),
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, .12) 48%, transparent 62%);
  mix-blend-mode: screen;
  animation: resultLightSweep 9s ease-in-out infinite;
}

.result-intro,
.profile-card,
.compatibility-card {
  position: relative;
  z-index: 1;
}

.profile-card {
  animation: premiumFloat 8s ease-in-out infinite;
}

.compatibility-card strong {
  text-shadow: 0 12px 34px rgba(0, 24, 36, .30);
}

.result-editorial,
.carnet-preview {
  width: min(1160px, calc(100% - 56px));
  margin: 22px auto 0;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, .78), transparent 34%),
    radial-gradient(circle at 88% 86%, rgba(0, 108, 168, .16), transparent 38%),
    linear-gradient(135deg, rgba(255, 248, 237, .88), rgba(235, 249, 252, .78));
  box-shadow:
    0 30px 90px rgba(0, 83, 135, .13),
    inset 0 1px 0 rgba(255, 255, 255, .88),
    inset 0 -1px 0 rgba(197, 141, 58, .18);
  backdrop-filter: blur(18px) saturate(1.12);
}

.result-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: stretch;
  padding: clamp(28px, 4vw, 46px);
}

.result-editorial-copy h2,
.carnet-preview h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 500;
  line-height: 1.05;
}

.result-editorial-copy p:last-child,
.carnet-preview > div:first-child p,
.carnet-closing p {
  max-width: 760px;
  margin: 0;
  color: rgba(16, 55, 68, .82);
  font-size: 17px;
  line-height: 1.72;
}

.second-choice-card {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 230px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(5, 107, 159, .92), rgba(3, 54, 87, .96)),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, .32), transparent 34%);
  color: #fff;
  box-shadow:
    0 24px 70px rgba(0, 83, 135, .22),
    inset 0 1px 0 rgba(255, 255, 255, .28);
}

.second-choice-card::after {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, .24) 50%, transparent 64%);
  transform: translateX(-55%) rotate(8deg);
  animation: cardSheen 7s ease-in-out infinite;
}

.second-choice-card span,
.second-choice-card strong,
.second-choice-card p {
  position: relative;
  z-index: 1;
}

.second-choice-card span {
  color: rgba(255, 214, 146, .96);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.second-choice-card strong {
  margin: 12px 0 12px;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.04;
}

.second-choice-card p {
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: 15.5px;
  line-height: 1.6;
}

.carnet-preview {
  padding: clamp(28px, 4vw, 48px);
}

.carnet-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.carnet-columns article {
  min-height: 250px;
  padding: 24px 24px 22px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, .86), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, .74), rgba(237, 249, 252, .62));
  box-shadow:
    0 22px 62px rgba(0, 83, 135, .10),
    inset 0 -1px 0 rgba(197, 141, 58, .18);
  transition: transform .45s ease, box-shadow .45s ease;
}

.carnet-columns article:hover {
  transform: translateY(-6px);
  box-shadow:
    0 32px 82px rgba(0, 83, 135, .16),
    inset 0 -1px 0 rgba(197, 141, 58, .24);
}

.carnet-columns span {
  display: block;
  margin-bottom: 16px;
  color: var(--sea-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.carnet-columns ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.carnet-columns li {
  position: relative;
  padding-left: 22px;
  color: rgba(16, 55, 68, .82);
  font-size: 15px;
  line-height: 1.52;
}

.carnet-columns li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(197, 141, 58, .13);
}

.carnet-closing {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 8px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, .78), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, .58), rgba(224, 243, 249, .52));
}

.carnet-closing .cta {
  flex: 0 0 auto;
  min-height: 54px;
  padding: 0 26px;
}

@keyframes resultLightSweep {
  0%, 100% { opacity: .42; transform: translateX(-2%); }
  45% { opacity: .82; transform: translateX(4%); }
}

@keyframes cardSheen {
  0%, 56%, 100% { transform: translateX(-62%) rotate(8deg); opacity: 0; }
  68% { opacity: .8; }
  82% { transform: translateX(62%) rotate(8deg); opacity: 0; }
}

@keyframes premiumFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 980px) {
  .result-editorial,
  .carnet-preview {
    width: min(100% - 32px, 760px);
  }

  .result-editorial,
  .carnet-columns,
  .carnet-closing {
    grid-template-columns: 1fr;
  }

  .result-editorial {
    display: grid;
  }

  .carnet-columns {
    display: grid;
  }

  .carnet-closing {
    display: grid;
  }
}

@media (max-width: 520px) {
  .result-editorial,
  .carnet-preview {
    width: calc(100% - 24px);
    padding: 24px 20px;
  }

  .result-editorial-copy h2,
  .carnet-preview h2 {
    font-size: clamp(30px, 9vw, 38px);
  }

  .carnet-columns article {
    min-height: auto;
    padding: 22px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-card,
  .result-hero::before,
  .second-choice-card::after {
    animation: none;
  }
}

/* Correction resultat : grille premium, score lisible et zone droite utile */
.result-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(285px, 340px);
  grid-template-rows: auto auto 1fr;
  gap: 24px 34px;
  align-items: start;
  min-height: 690px;
  padding: 26px 30px 34px;
  background:
    radial-gradient(circle at 78% 28%, rgba(255, 255, 255, .42), transparent 22%),
    linear-gradient(90deg, rgba(255, 248, 237, .99), rgba(255, 248, 237, .88) 42%, rgba(255, 248, 237, .26) 68%, rgba(255, 248, 237, .08)),
    var(--hero, url("assets/photos/ile-martinique.jpg")) center right / cover;
}

.result-topbar {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}

.result-intro {
  grid-column: 1;
  grid-row: 2;
  max-width: 560px;
  margin-top: 8px;
}

.result-intro h1 {
  font-size: clamp(44px, 4.2vw, 62px);
}

.profile-card {
  grid-column: 1;
  grid-row: 3;
  width: min(560px, 100%);
  margin-top: 4px;
  align-self: start;
}

.compatibility-card {
  position: relative;
  grid-column: 2;
  grid-row: 3;
  right: auto;
  bottom: auto;
  width: 100%;
  min-height: 220px;
  align-self: start;
  display: grid;
  align-content: center;
  padding: 26px 28px;
  overflow: hidden;
  border-color: rgba(255, 255, 255, .52);
  box-shadow:
    0 28px 78px rgba(0, 83, 135, .25),
    inset 0 1px 0 rgba(255, 255, 255, .34);
}

.compatibility-card::after {
  content: "";
  position: absolute;
  inset: auto -28px -54px auto;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 64%);
  animation: scoreGlow 5.8s ease-in-out infinite;
}

.compatibility-card span {
  font-size: 11px;
  letter-spacing: .16em;
}

.compatibility-card strong {
  margin: 12px 0 8px;
  font-size: clamp(58px, 5.4vw, 82px);
  line-height: .86;
}

.compatibility-card i {
  max-width: 230px;
  font-size: 13px;
}

.result-proof-card {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 2;
  min-height: 210px;
  padding: 24px 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .70);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, .76), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, .76), rgba(229, 245, 250, .58));
  box-shadow:
    0 24px 72px rgba(0, 83, 135, .14),
    inset 0 1px 0 rgba(255,255,255,.88),
    inset 0 -1px 0 rgba(197,141,58,.18);
  backdrop-filter: blur(16px) saturate(1.12);
}

.result-proof-card::before {
  content: "";
  position: absolute;
  inset: -50% auto auto -20%;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 108, 168, .13), transparent 66%);
}

.result-proof-card span,
.result-proof-card strong,
.result-proof-card p {
  position: relative;
  z-index: 1;
}

.result-proof-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.result-proof-card strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 500;
  line-height: 1.06;
}

.result-proof-card p {
  margin: 14px 0 0;
  color: rgba(16, 55, 68, .78);
  font-size: 14.5px;
  line-height: 1.58;
}

.result-proof-card,
.compatibility-card {
  transform: translateY(0);
  transition: transform .55s cubic-bezier(.2,.8,.2,1), box-shadow .55s ease;
}

.result-proof-card:hover,
.compatibility-card:hover {
  transform: translateY(-6px);
}

.result-hero::after {
  content: "";
  position: absolute;
  inset: 92px 22px 22px auto;
  z-index: 0;
  width: min(38%, 450px);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .30);
  background:
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.02)),
    radial-gradient(circle at 50% 20%, rgba(255,255,255,.26), transparent 28%);
  pointer-events: none;
  backdrop-filter: blur(1px);
}

@keyframes scoreGlow {
  0%, 100% { opacity: .45; transform: scale(.92); }
  50% { opacity: .88; transform: scale(1.08); }
}

@media (max-width: 980px) {
  .result-hero {
    display: block;
    min-height: auto;
    padding: 18px;
    background:
      linear-gradient(180deg, rgba(255, 248, 237, .99), rgba(255, 248, 237, .94) 58%, rgba(255, 248, 237, .72)),
      var(--hero, url("assets/photos/ile-martinique.jpg")) center top / cover;
  }

  .result-hero::after {
    content: none;
  }

  .result-intro {
    margin-top: 34px;
  }

  .profile-card,
  .result-proof-card,
  .compatibility-card {
    width: 100%;
    margin-top: 18px;
  }

  .result-proof-card {
    min-height: auto;
  }

  .compatibility-card {
    min-height: 190px;
  }
}

@media (max-width: 520px) {
  .result-intro h1 {
    font-size: 39px;
  }

  .compatibility-card strong {
    font-size: 66px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .compatibility-card::after {
    animation: none;
  }
}

/* Correctif publication mobile : pictos visibles, sans carres parasites */
.answer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(0, 108, 168, .14);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(229, 245, 250, .58));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .88),
    0 10px 26px rgba(0, 83, 135, .08);
}

.answer-icon img {
  display: block;
  object-fit: contain;
}

.answer-icon svg {
  display: block;
  width: 24px;
  height: 24px;
  color: var(--sea);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 520px) {
  .answer {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 11px;
  }

  .answer::after {
    display: none;
  }

  .answer-icon {
    width: 34px;
    height: 34px;
    margin: 0;
  }

  .answer-icon img {
    width: 20px;
    height: 20px;
  }

  .answer-icon svg {
    width: 20px;
    height: 20px;
  }

  .choice-item .answer-icon {
    width: 32px;
    height: 32px;
    margin-right: auto;
    margin-left: auto;
  }

  .choice-item .answer-icon img {
    width: 18px;
    height: 18px;
  }

.choice-item .answer-icon svg {
    width: 18px;
    height: 18px;
  }
}

/* Publication : les pictos sont integres au JS, on affiche les vrais SVG semantiques. */
.answer-icon::before {
  content: none !important;
  display: none !important;
}

.answer-icon img {
  display: none !important;
}

.answer-icon svg {
  display: block !important;
  width: 24px;
  height: 24px;
  color: var(--sea);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 520px) {
  .answer-icon svg {
    width: 20px;
    height: 20px;
  }
}

/* V6 preview : resultat numero 1 plus visible sans alourdir la lecture */
.primary-result-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 20px;
  align-items: end;
  max-width: 620px;
  margin: 18px 0 18px;
  padding: 20px 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .78);
  border-left: 3px solid rgba(197, 141, 58, .98);
  border-radius: 8px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, .88), transparent 34%),
    linear-gradient(135deg, rgba(255, 252, 247, .92), rgba(228, 246, 250, .72));
  box-shadow:
    0 24px 70px rgba(0, 83, 135, .14),
    inset 0 1px 0 rgba(255, 255, 255, .92),
    inset 0 -1px 0 rgba(197, 141, 58, .18);
}

.primary-result-card::after {
  content: "";
  position: absolute;
  inset: -60% -20% auto auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 120, 184, .16), transparent 66%);
  pointer-events: none;
}

.primary-result-card span,
.primary-result-card strong,
.primary-result-card i {
  position: relative;
  z-index: 1;
}

.primary-result-card span {
  grid-column: 1 / -1;
  color: var(--gold-dark);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.primary-result-card strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(34px, 3.2vw, 48px);
  font-weight: 500;
  line-height: 1;
}

.primary-result-card i {
  justify-self: end;
  color: rgba(16, 55, 68, .80);
  font-family: var(--sans);
  font-size: 13px;
  font-style: normal;
  font-weight: 760;
  line-height: 1.2;
  text-align: right;
}

.primary-result-card b {
  display: block;
  color: #006ca8;
  font-family: var(--serif);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 500;
  line-height: .95;
}

.result-editorial-copy p#result-immersive-copy {
  font-size: 17.5px;
  line-height: 1.72;
}

@media (max-width: 760px) {
  .primary-result-card {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 18px 20px;
  }

  .primary-result-card i {
    justify-self: start;
    text-align: left;
  }

  .result-editorial-copy p#result-immersive-copy {
    font-size: 16.5px;
    line-height: 1.62;
  }
}



