:root {
  --blue-deep: #0e5267;
  --blue: #2a91a8;
  --blue-soft: #dff4f6;
  --sand: #fff7ed;
  --coral: #ff8c7a;
  --ink: #17313a;
  --muted: #5d7580;
  --white: rgba(255,255,255,.88);
  --shadow: 0 24px 70px rgba(9, 61, 78, .16);
  --radius: 28px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(135deg, #f6fbfb, #e8f6f8 52%, #fff7ed);
}
.ocean-bg::before, .ocean-bg::after {
  content: "";
  position: fixed;
  inset: auto -10% -25% -10%;
  height: 42vh;
  background: radial-gradient(ellipse at center, rgba(42,145,168,.18), transparent 65%);
  pointer-events: none;
}
.ocean-bg::after {
  inset: -20% -15% auto auto;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,140,122,.18), transparent 62%);
}
.site-header, .site-footer {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}
.site-header { padding: 24px 0 10px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 7rem; height: 7rem; object-fit: contain; }
.brand strong { font-size: 2rem; color:#006095; }
.eyebrow, .card-kicker { margin: 0 0 4px; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--blue-deep); font-weight: 800; }
.app-shell { width: min(1080px, calc(100% - 32px)); margin: 20px auto 32px; }
.card, .scale-card { background: var(--white); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.8); box-shadow: var(--shadow); border-radius: var(--radius); }
.hero { padding: clamp(28px, 6vw, 58px); overflow: hidden; position: relative; }
/* h1 { font-size: clamp(2.1rem, 6vw, 4.8rem); line-height: .96; margin: 0 0 18px; max-width: 760px; } */
h1 { font-size: clamp(1.4rem, 3.5vw, 2.5rem); line-height: .96; margin: 20px 0 40px; }
h2 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); line-height: 1.12; margin: 22px 0; }
h3 { font-size: 1.25rem; margin: 0 0 8px; }
p { color: var(--muted); line-height: 1.55; }
.lead { font-size: 1.12rem; }
.privacy-pill, .notice { display: inline-flex; margin-top: 20px; padding: 20px 16px; border-radius: 18px; background: rgba(223,244,246,.78); color: var(--blue-deep); font-weight: 650; }
.notice { display: block; background: rgba(255,247,237,.85); }
.notice.small { font-size: .9rem; padding: 10px 12px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin-top: 18px; }
.scale-card { padding: 24px; min-height: 270px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.scale-card.locked { opacity: .82; }
.btn, .choice { border: 0; cursor: pointer; font: inherit; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 999px; background: var(--blue-deep); color: white; font-weight: 800; transition: transform .15s ease, opacity .15s ease; }
.btn:hover:not(:disabled), .choice:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.secondary { background: white; color: var(--blue-deep); border: 1px solid rgba(14,82,103,.18); }
.question-card, .results-card { margin: 0 auto; padding: clamp(22px, 5vw, 42px); }
.back-link { background: transparent; border: 0; color: var(--blue-deep); font-weight: 800; cursor: pointer; padding: 0; margin-bottom: 22px; }
.progress-info { display: flex; justify-content: space-between; color: var(--blue-deep); font-weight: 800; font-size: .9rem; }
.progress { height: 10px; background: rgba(14,82,103,.1); border-radius: 999px; overflow: hidden; margin-top: 8px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--coral)); border-radius: inherit; transition: width .25s ease; }
.choices { display: grid; gap: 12px; margin: 26px 0; }
.choice { width: 100%; text-align: left; padding: 17px 18px; border-radius: 18px; background: rgba(255,255,255,.88); border: 2px solid rgba(14,82,103,.11); color: var(--ink); }
.choice.selected { border-color: var(--blue); background: var(--blue-soft); font-weight: 800; }
.nav-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.nav-row.center { justify-content: center; flex-wrap: wrap; }
.score-circle { margin: 22px auto; width: 190px; height: 190px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--blue) calc(var(--value) * 1%), rgba(14,82,103,.1) 0); position: relative; }
.score-circle::before { content: ""; position: absolute; inset: 14px; background: white; border-radius: 50%; }
.score-circle strong, .score-circle span { position: relative; z-index: 1; display: block; text-align: center; }
.score-circle strong { font-size: 3.4rem; line-height: 1; }
.score-circle span { margin-top: 58px; margin-left: -42px; color: var(--muted); font-weight: 800; }
.site-footer { padding: 0 0 26px; color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; }
  .nav-row { flex-direction: column-reverse; }
  .btn { width: 100%; }
  .brand img { width: 48px; height: 48px; }
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.result-item {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.hero-btn {
  margin-top: 22px;
}

/* --- Résultats V6 : version plus claire et plus élégante --- */


.results-intro {
  max-width: 720px;
}

.results-intro h1 {
  margin-bottom: 12px;
}

.results-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.result-panel {
  padding: clamp(22px, 4vw, 30px);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.76));
  border: 1px solid rgba(14,82,103,.10);
  box-shadow: 0 18px 45px rgba(9, 61, 78, .10);
}

.result-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.result-head h2 {
  margin: 8px 0 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.12;
}

.score-badge {
  flex: 0 0 auto;
  width: 108px;
  min-height: 108px;
  border-radius: 30px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  border: 1px solid rgba(42,145,168,.22);
}

.score-badge strong {
  display: block;
  font-size: 3rem;
  line-height: .9;
  color: var(--blue-deep);
}

.score-badge span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.score-scale {
  margin: 28px 0 24px;
}

.scale-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 800;
}

.scale-track {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: rgba(14,82,103,.10);
  overflow: visible;
}

.scale-fill {
  display: block;
  height: 100%;
  width: var(--value);
  min-width: 8px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--coral));
}

.scale-marker {
  position: absolute;
  top: 50%;
  left: var(--value);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  border: 6px solid var(--blue-deep);
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 18px rgba(9, 61, 78, .18);
}

.interpretation {
  padding: 18px;
  border-radius: 22px;
  background: rgba(223,244,246,.54);
}

.interpretation-label {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  color: var(--blue-deep);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .10em;
  font-weight: 900;
}

.interpretation h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.interpretation p {
  margin: 0;
}

@media (max-width: 860px) {
  .results-grid { grid-template-columns: 1fr; }
  .result-head { align-items: center; }
}

@media (max-width: 520px) {
  .result-head { flex-direction: column; }
  .score-badge { width: 100%; min-height: 92px; border-radius: 22px; }
}

.brand-link {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font: inherit;
  text-align: left;
}

.brand-link:hover {
  opacity: 0.75;
}