/* ============================================================
   PISCINE OCCITANIE — Design System Premium
   Mobile-first · Bleu azur / Blanc / Or
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-50:   #f0f9ff;
  --blue-100:  #e0f2fe;
  --blue-200:  #bae6fd;
  --blue-400:  #38bdf8;
  --blue-500:  #0ea5e9;
  --blue-600:  #0284c7;
  --blue-700:  #0369a1;
  --blue-800:  #075985;
  --blue-900:  #0c4a6e;
  --gold:      #f59e0b;
  --gold-light:#fef3c7;
  --gold-dark: #92400e;
  --green:     #10b981;
  --red:       #ef4444;
  --gray-50:   #f8fafc;
  --gray-100:  #f1f5f9;
  --gray-200:  #e2e8f0;
  --gray-300:  #cbd5e1;
  --gray-400:  #94a3b8;
  --gray-500:  #64748b;
  --gray-600:  #475569;
  --gray-700:  #334155;
  --gray-800:  #1e293b;
  --gray-900:  #0f172a;
  --r:         12px;
  --r-lg:      20px;
  --r-xl:      28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.07);
  --shadow:    0 2px 8px rgba(0,0,0,.09), 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.13);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.18);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-800);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; }
a { color: inherit; }

/* ── TYPOGRAPHY HELPERS ── */
.text-gold { color: var(--gold); }
.section-tag {
  display: inline-block;
  background: var(--blue-50);
  color: var(--blue-600);
  border: 1px solid var(--blue-200);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; color: var(--gray-900); margin-bottom: 12px; line-height: 1.2; }
.section-header p  { color: var(--gray-500); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
.header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  padding: 14px 0;
}
.header-inner { display: flex; align-items: center; gap: 32px; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.05rem; color: var(--blue-700); flex-shrink: 0; }
.logo-dot { color: var(--blue-400); font-weight: 500; }

.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--gray-600); font-size: .9rem; font-weight: 500; transition: color .2s; white-space: nowrap; }
.nav a:hover { color: var(--blue-500); }

.btn-header {
  background: var(--blue-500); color: white;
  padding: 9px 20px; border-radius: var(--r);
  text-decoration: none; font-size: .88rem; font-weight: 700;
  transition: background .2s; white-space: nowrap; flex-shrink: 0;
}
.btn-header:hover { background: var(--blue-600); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.burger span { display: block; width: 22px; height: 2px; background: var(--gray-700); border-radius: 2px; transition: all .3s; }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative;
  background: linear-gradient(145deg, var(--blue-900) 0%, var(--blue-700) 50%, #0891b2 100%);
  overflow: hidden;
  padding: 80px 0 70px;
  color: white;
}

/* Animated background */
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-water { position: absolute; bottom: 0; left: 0; right: 0; height: 180px; }
.hw { position: absolute; bottom: 0; left: -30%; width: 160%; height: 120px; background: rgba(255,255,255,.04); border-radius: 50%; animation: wave-anim 7s ease-in-out infinite; }
.hw1 { animation-delay: 0s; }
.hw2 { bottom: 20px; animation-delay: 2.5s; animation-duration: 9s; background: rgba(255,255,255,.03); }
.hw3 { bottom: 40px; animation-delay: 5s; animation-duration: 11s; background: rgba(255,255,255,.025); }
@keyframes wave-anim { 0%,100% { transform: translateX(0) scaleY(1); } 50% { transform: translateX(3%) scaleY(1.05); } }

.hero-sun-ray {
  position: absolute; top: -80px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,158,11,.25) 0%, transparent 65%);
  border-radius: 50%;
}
.hero-bubbles { position: absolute; inset: 0; }
.hero-bubbles span {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.07);
  animation: bubble-float 8s ease-in-out infinite;
}
.hero-bubbles span:nth-child(1) { width:80px;height:80px; top:15%;left:8%; animation-delay:0s; }
.hero-bubbles span:nth-child(2) { width:50px;height:50px; top:60%;left:15%; animation-delay:2s; }
.hero-bubbles span:nth-child(3) { width:120px;height:120px; top:20%;right:15%; animation-delay:4s; }
.hero-bubbles span:nth-child(4) { width:40px;height:40px; top:70%;right:25%; animation-delay:1s; }
.hero-bubbles span:nth-child(5) { width:70px;height:70px; bottom:15%;left:45%; animation-delay:3s; }
@keyframes bubble-float { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-20px) scale(1.05); } }

.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }

.hero-badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: .8rem; font-weight: 600;
}

.hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -.02em;
}
.hero-content h1 .text-gold {
  background: linear-gradient(90deg, var(--gold), #fde68a);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-sub { font-size: 1.08rem; color: rgba(255,255,255,.85); margin-bottom: 32px; line-height: 1.7; max-width: 480px; }
.hero-sub strong { color: white; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--gray-900);
  padding: 14px 26px; border-radius: var(--r);
  font-weight: 800; font-size: 1rem;
  text-decoration: none;
  transition: all .2s;
  box-shadow: 0 4px 24px rgba(245,158,11,.45);
}
.btn-hero-primary:hover { background: #fbbf24; transform: translateY(-2px); box-shadow: 0 6px 32px rgba(245,158,11,.55); }

.btn-hero-ghost {
  display: inline-flex; align-items: center;
  border: 2px solid rgba(255,255,255,.4);
  color: white;
  padding: 12px 22px; border-radius: var(--r);
  font-weight: 600; font-size: .95rem;
  text-decoration: none;
  transition: all .2s;
}
.btn-hero-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }

.hero-trust-row { display: flex; align-items: center; gap: 0; flex-wrap: wrap; gap: 8px; }
.ht-item { display: flex; align-items: center; gap: 5px; font-size: .82rem; color: rgba(255,255,255,.8); }
.ht-sep { width: 1px; height: 14px; background: rgba(255,255,255,.25); margin: 0 4px; }

/* Pool visual card */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.pool-card {
  width: 100%; max-width: 360px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: white;
}
.pool-water {
  height: 200px;
  background: linear-gradient(180deg, #7dd3fc 0%, #0284c7 60%, #075985 100%);
  position: relative; overflow: hidden;
}
.pool-lane {
  position: absolute; left: 10%; right: 10%;
  height: 2px; background: rgba(255,255,255,.15);
  border-radius: 1px;
}
.pool-lane:nth-child(1) { top: 33%; }
.pool-lane:nth-child(2) { top: 55%; }
.pool-lane:nth-child(3) { top: 75%; }

.pool-sparkle {
  position: absolute; color: rgba(255,255,255,.6); font-size: 1rem;
  animation: sparkle 3s ease-in-out infinite;
}
.s1 { top: 20%; left: 20%; animation-delay: 0s; }
.s2 { top: 50%; right: 25%; animation-delay: 1s; }
.s3 { bottom: 20%; left: 55%; animation-delay: 2s; }
@keyframes sparkle { 0%,100% { opacity: .3; transform: scale(1); } 50% { opacity: 1; transform: scale(1.3); } }

.pool-card-info { padding: 16px 20px; background: white; }
.pci-row { display: flex; align-items: center; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--gray-100); font-size: .88rem; }
.pci-row:last-child { border-bottom: none; }
.pci-label { color: var(--gray-500); }
.pci-step { width: 24px; height: 24px; border-radius: 50%; background: var(--blue-500); color: white; font-weight: 800; font-size: .75rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pci-val { font-weight: 600; color: var(--gray-800); }
.pci-val.gold { color: var(--gold-dark); font-weight: 700; }

/* ══════════════════════════════════════
   TRUST BAR
══════════════════════════════════════ */
.trust-bar { background: var(--gray-900); padding: 16px 0; }
.trust-bar-inner { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.tb-item { display: flex; flex-direction: column; align-items: center; padding: 6px 24px; }
.tb-item strong { color: white; font-size: 1.15rem; font-weight: 800; }
.tb-item span { color: var(--gray-400); font-size: .78rem; }
.tb-sep { width: 1px; height: 36px; background: var(--gray-700); }

/* ══════════════════════════════════════
   SIMULATOR SECTION
══════════════════════════════════════ */
.sim-section { padding: 80px 0; background: var(--gray-50); }

.sim-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

/* Progress */
.sim-progress { margin-bottom: 20px; }
.sp-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.sp-phase { font-weight: 700; font-size: .85rem; color: var(--blue-600); }
.sp-counter { font-size: .82rem; color: var(--gray-500); font-weight: 500; }
.sp-bar { height: 6px; background: var(--gray-200); border-radius: 3px; overflow: hidden; }
.sp-fill { height: 100%; background: linear-gradient(90deg, var(--blue-500), var(--blue-400)); border-radius: 3px; transition: width .4s ease; }

/* Simulator card */
.sim-card {
  background: white;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  min-height: 400px;
}

.sim-step { display: none; animation: step-in .3s ease; }
.sim-step.active { display: block; }
@keyframes step-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.step-header { margin-bottom: 28px; }
.step-header h3 { font-size: 1.45rem; font-weight: 800; color: var(--gray-900); margin-bottom: 6px; }
.step-header p  { color: var(--gray-500); font-size: .95rem; }

/* Choice cards grid */
.cards-grid { display: grid; gap: 12px; margin-bottom: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.choice-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--r);
  padding: 16px;
  cursor: pointer;
  transition: all .2s;
  background: white;
  text-align: center;
  position: relative;
}
.choice-card:hover { border-color: var(--blue-400); background: var(--blue-50); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.choice-card.selected { border-color: var(--blue-500); background: var(--blue-50); box-shadow: 0 0 0 3px rgba(14,165,233,.15); }
.choice-card.selected::after { content: '✓'; position: absolute; top: 8px; right: 10px; font-size: .8rem; color: var(--blue-500); font-weight: 700; }

.cc-icon { font-size: 2rem; margin-bottom: 8px; }
.cc-shape { font-size: 1.5rem; }
.cc-title { font-weight: 700; font-size: .92rem; color: var(--gray-900); margin-bottom: 5px; }
.cc-desc  { font-size: .78rem; color: var(--gray-500); line-height: 1.4; margin-bottom: 6px; }
.cc-pros  { font-size: .75rem; color: var(--green); font-weight: 600; }
.cc-price { font-size: .78rem; font-weight: 700; color: var(--blue-600); background: var(--blue-50); border: 1px solid var(--blue-200); padding: 2px 8px; border-radius: 20px; display: inline-block; margin-top: 4px; }
.cc-price.hot { color: var(--gold-dark); background: var(--gold-light); border-color: #fde68a; }
.choice-card.small { padding: 12px 8px; }
.choice-card.small .cc-title { font-size: .83rem; }

/* Sliders */
.sliders-block { display: flex; flex-direction: column; gap: 28px; margin-bottom: 24px; }
.slider-row {}
.slider-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: .9rem; font-weight: 600; color: var(--gray-700); }
.slider-val-wrap { display: flex; align-items: center; gap: 4px; }
.slider-val-wrap input[type="number"] {
  width: 64px; border: 2px solid var(--blue-300); border-radius: 8px;
  padding: 4px 8px; font-size: .95rem; font-weight: 700; color: var(--blue-700);
  text-align: center; outline: none; background: var(--blue-50);
  -moz-appearance: textfield;
}
.slider-val-wrap input[type="number"]::-webkit-inner-spin-button,
.slider-val-wrap input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; }
.sv-unit { font-size: .82rem; color: var(--gray-500); font-weight: 500; }

.slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px;
  background: var(--gray-200); border-radius: 3px; outline: none; cursor: pointer;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-500); cursor: pointer;
  box-shadow: 0 2px 8px rgba(14,165,233,.4);
  border: 3px solid white;
  transition: transform .15s, box-shadow .15s;
}
.slider::-webkit-slider-thumb:hover { transform: scale(1.15); box-shadow: 0 4px 14px rgba(14,165,233,.5); }
.slider::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-500); cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(14,165,233,.4);
}
.slider-range-labels { display: flex; justify-content: space-between; margin-top: 4px; font-size: .72rem; color: var(--gray-400); }

.dim-recap {
  display: flex; align-items: center; gap: 0;
  background: var(--blue-50); border: 1px solid var(--blue-200);
  border-radius: var(--r); padding: 14px 20px;
  margin-bottom: 8px;
}
.dr-item { display: flex; flex-direction: column; align-items: center; flex: 1; }
.dr-item span { font-size: .75rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: .05em; }
.dr-item strong { font-size: 1.1rem; font-weight: 800; color: var(--blue-700); }
.dr-sep { width: 1px; height: 32px; background: var(--blue-200); }

/* Options grid (équipements) */
.options-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.option-card {
  display: flex; align-items: flex-start; gap: 12px;
  border: 2px solid var(--gray-200); border-radius: var(--r);
  padding: 12px 14px; cursor: pointer; transition: all .2s; background: white;
}
.option-card:hover { border-color: var(--blue-300); background: var(--blue-50); }
.option-card.selected { border-color: var(--blue-500); background: var(--blue-50); }
.option-card.full-width { grid-column: 1 / -1; }

.oc-check {
  width: 22px; height: 22px; flex-shrink: 0;
  border: 2px solid var(--gray-300); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; margin-top: 1px;
}
.option-card.selected .oc-check { background: var(--blue-500); border-color: var(--blue-500); }
.oc-checkmark { color: white; font-size: .75rem; opacity: 0; transition: opacity .2s; }
.option-card.selected .oc-checkmark { opacity: 1; }

.oc-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 1px; }
.oc-title { font-weight: 700; font-size: .85rem; color: var(--gray-900); }
.oc-desc  { font-size: .75rem; color: var(--gray-500); line-height: 1.3; margin-top: 2px; }
.oc-price { font-size: .75rem; font-weight: 600; color: var(--blue-600); margin-top: 3px; }

/* Localisation step */
.localisation-block { max-width: 480px; }
.cp-input-wrap {
  display: flex; align-items: center; gap: 10px;
  border: 2px solid var(--gray-200); border-radius: var(--r);
  padding: 10px 16px; transition: border-color .2s;
  background: white;
}
.cp-input-wrap:focus-within { border-color: var(--blue-400); }
.cp-flag { font-size: 1.2rem; }
.cp-input-wrap input {
  border: none; outline: none; font-size: 1.1rem;
  font-weight: 700; color: var(--gray-800); flex: 1;
  font-family: inherit; letter-spacing: .05em;
}
.cp-suggestions { margin-top: 4px; }
.cp-sug-item {
  padding: 10px 14px; cursor: pointer; border-radius: 8px;
  font-size: .9rem; transition: background .15s;
  border: 1px solid var(--gray-200); margin-bottom: 4px;
  background: white;
}
.cp-sug-item:hover { background: var(--blue-50); border-color: var(--blue-300); }
.cp-detected {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; background: #f0fdf4;
  border: 1px solid #bbf7d0; border-radius: var(--r);
  margin-top: 8px;
}
.cp-ok { color: var(--green); font-weight: 700; }
#cpVille { font-weight: 700; color: var(--gray-800); flex: 1; }
.cp-change { font-size: .8rem; color: var(--blue-500); cursor: pointer; text-decoration: underline; }
.loc-reassurance { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.lr-item { font-size: .88rem; color: var(--gray-600); }

/* Estimation banner */
.estimation-banner {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  border-radius: var(--r-lg); padding: 28px; text-align: center;
  color: white; margin-bottom: 20px;
}
.renov-banner { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); }
.eb-label { font-size: .8rem; font-weight: 600; opacity: .8; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.eb-price { font-size: 2.6rem; font-weight: 900; margin-bottom: 6px; letter-spacing: -.02em; }
.eb-sub   { font-size: .8rem; opacity: .7; }

.estim-recap {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--r); padding: 14px 18px;
  font-size: .85rem; color: var(--gray-600); line-height: 1.8;
  margin-bottom: 24px;
}

/* Contact form */
.contact-form h4  { font-size: 1.1rem; font-weight: 800; color: var(--gray-900); margin-bottom: 4px; }
.cf-hint          { font-size: .83rem; color: var(--gray-500); margin-bottom: 20px; }

.form-group       { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--gray-700); }
.form-row         { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
select, textarea {
  width: 100%; border: 2px solid var(--gray-200); border-radius: var(--r);
  padding: 10px 14px; font-size: .95rem; font-family: inherit;
  color: var(--gray-800); outline: none; transition: border-color .2s; background: white;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue-400); }
.input-with-unit { display: flex; align-items: center; border: 2px solid var(--gray-200); border-radius: var(--r); overflow: hidden; transition: border-color .2s; }
.input-with-unit:focus-within { border-color: var(--blue-400); }
.input-with-unit input { border: none; padding: 10px 14px; flex: 1; }
.input-with-unit .unit { padding: 10px 12px; background: var(--gray-100); color: var(--gray-500); font-size: .85rem; font-weight: 600; border-left: 1px solid var(--gray-200); }

.checkbox-label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.checkbox-label input { width: auto; flex-shrink: 0; margin-top: 3px; }
.checkbox-label span { font-size: .83rem; color: var(--gray-600); }
.checkbox-label a { color: var(--blue-500); }

.btn-submit {
  width: 100%; background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: white; border: none; padding: 16px;
  border-radius: var(--r); font-size: 1.05rem; font-weight: 800;
  cursor: pointer; margin-top: 16px; transition: all .2s;
  box-shadow: 0 4px 20px rgba(14,165,233,.35); font-family: inherit;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(14,165,233,.45); }
.btn-submit:disabled { opacity: .7; cursor: not-allowed; transform: none; }

.submit-trust {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
  margin-top: 12px; font-size: .78rem; color: var(--gray-500);
}

/* Navigation */
.sim-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.btn-prev, .btn-next {
  padding: 11px 24px; border-radius: var(--r);
  font-size: .95rem; font-weight: 700; cursor: pointer;
  transition: all .2s; border: none; font-family: inherit;
}
.btn-prev { background: var(--gray-100); color: var(--gray-600); }
.btn-prev:hover { background: var(--gray-200); }
.btn-next { background: var(--blue-500); color: white; box-shadow: 0 4px 14px rgba(14,165,233,.3); }
.btn-next:hover { background: var(--blue-600); transform: translateY(-1px); }

/* Error */
.sim-error {
  background: #fef2f2; border: 1px solid #fecaca; color: var(--red);
  padding: 10px 16px; border-radius: 8px; margin-bottom: 16px;
  font-size: .88rem; font-weight: 500;
}

/* Success screen */
.success-screen { text-align: center; padding: 20px 0; }
.sc-icon { font-size: 4rem; margin-bottom: 18px; }
.success-screen h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 10px; }
.success-screen p { color: var(--gray-500); margin-bottom: 28px; font-size: 1.05rem; }
.sc-steps { display: flex; flex-direction: column; gap: 12px; max-width: 340px; margin: 0 auto 28px; text-align: left; }
.sc-step { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--gray-700); }
.sc-num { width: 30px; height: 30px; border-radius: 50%; background: var(--blue-500); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.btn-restart {
  background: var(--gray-100); color: var(--gray-700); border: none;
  padding: 12px 24px; border-radius: var(--r); font-size: .95rem;
  font-weight: 600; cursor: pointer; font-family: inherit; transition: background .2s;
}
.btn-restart:hover { background: var(--gray-200); }

/* ── SUMMARY PANEL ── */
.sim-summary { position: sticky; top: 88px; }
.summary-card {
  background: white; border-radius: var(--r-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.summary-title {
  padding: 16px 20px; background: var(--blue-700);
  color: white; font-weight: 700; font-size: .9rem;
}
.summary-body { padding: 16px 20px; }
.sb-placeholder { font-size: .83rem; color: var(--gray-400); font-style: italic; text-align: center; padding: 12px 0; }
.sb-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--gray-100); font-size: .82rem; }
.sb-row:last-child { border-bottom: none; }
.sb-label { color: var(--gray-500); flex-shrink: 0; }
.sb-val   { font-weight: 600; color: var(--gray-800); text-align: right; }
.sb-options { padding: 8px 0; font-size: .78rem; color: var(--gray-500); }
.sb-options span { display: inline-block; background: var(--blue-50); border: 1px solid var(--blue-200); color: var(--blue-700); border-radius: 12px; padding: 2px 8px; margin: 2px; font-size: .73rem; font-weight: 500; }

.summary-price {
  padding: 14px 20px; background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: white; text-align: center;
}
.spr-label { font-size: .72rem; opacity: .8; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 4px; }
.spr-val   { font-size: 1.3rem; font-weight: 800; }

.summary-badges {
  display: flex; gap: 8px; padding: 12px 20px; background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
}
.summary-badges span { font-size: .75rem; color: var(--gray-600); background: white; border: 1px solid var(--gray-200); padding: 3px 8px; border-radius: 12px; }

/* Parcours step-0 */
.parcours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.parcours-card {
  border: 2px solid var(--gray-200); border-radius: var(--r-lg);
  padding: 24px; cursor: pointer; transition: all .25s;
  display: flex; flex-direction: column;
}
.parcours-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
#choixNeuve:hover    { border-color: var(--blue-500); background: var(--blue-50); }
.renov-card:hover    { border-color: var(--gold); background: var(--gold-light); }

.pc-badge {
  display: inline-block; width: fit-content;
  background: var(--blue-500); color: white;
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  padding: 3px 10px; border-radius: 20px; margin-bottom: 14px;
}
.pc-badge.renov { background: var(--gold); color: var(--gray-900); }

.pc-icon { font-size: 2.6rem; margin-bottom: 10px; }
.parcours-card h4 { font-size: 1.1rem; font-weight: 800; color: var(--gray-900); margin-bottom: 8px; line-height: 1.3; }
.parcours-card p  { font-size: .83rem; color: var(--gray-500); margin-bottom: 12px; line-height: 1.5; }
.pc-list { list-style: none; margin-bottom: 16px; }
.pc-list li { font-size: .8rem; color: var(--gray-600); padding: 3px 0; }

.btn-pc {
  width: 100%; border: none; border-radius: var(--r);
  padding: 12px; font-size: .9rem; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: all .2s;
  margin-top: auto;
}
.btn-neuve { background: var(--blue-500); color: white; box-shadow: 0 4px 14px rgba(14,165,233,.3); }
.btn-neuve:hover { background: var(--blue-600); }
.btn-renov { background: var(--gold); color: var(--gray-900); box-shadow: 0 4px 14px rgba(245,158,11,.3); }
.btn-renov:hover { background: #fbbf24; }

/* ══════════════════════════════════════
   BLOC SEO
══════════════════════════════════════ */
.seo-section { padding: 60px 0; background: white; border-top: 1px solid var(--gray-100); }
.seo-grid    { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.seo-block h2 { font-size: 1.1rem; font-weight: 800; color: var(--gray-900); margin-bottom: 12px; }
.seo-block p  { font-size: .88rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 10px; }
.seo-block p strong { color: var(--gray-800); }
@media (max-width: 640px) { .seo-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ══════════════════════════════════════
   COMMENT ÇA MARCHE
══════════════════════════════════════ */
.comment-section { padding: 90px 0; background: white; }
.steps-grid { display: flex; align-items: flex-start; gap: 0; justify-content: center; }
.how-step {
  flex: 1; max-width: 300px; text-align: center;
  padding: 32px 24px; border-radius: var(--r-lg);
  transition: transform .2s;
}
.how-step:hover { transform: translateY(-4px); }
.hs-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue-500); color: white;
  font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.hs-icon { font-size: 2.8rem; margin-bottom: 14px; }
.how-step h3 { font-size: 1.05rem; font-weight: 800; color: var(--gray-900); margin-bottom: 10px; line-height: 1.3; }
.how-step p  { font-size: .86rem; color: var(--gray-500); line-height: 1.65; }
.how-arrow { font-size: 2rem; color: var(--blue-300); padding: 0 8px; margin-top: 80px; flex-shrink: 0; }

/* ══════════════════════════════════════
   POURQUOI NOUS
══════════════════════════════════════ */
.pourquoi-section { padding: 90px 0; background: var(--gray-50); }
.pourquoi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pq-card {
  background: white; border-radius: var(--r-lg);
  padding: 28px; border: 1px solid var(--gray-200);
  transition: transform .2s, box-shadow .2s;
}
.pq-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pq-icon { font-size: 2.2rem; margin-bottom: 14px; }
.pq-card h3 { font-size: .97rem; font-weight: 800; color: var(--gray-900); margin-bottom: 8px; }
.pq-card p  { font-size: .84rem; color: var(--gray-500); line-height: 1.65; }

/* ══════════════════════════════════════
   TÉMOIGNAGES
══════════════════════════════════════ */
.temoignages-section { padding: 90px 0; background: white; }
.rating-global {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 12px;
}
.rg-stars { color: var(--gold); font-size: 1.2rem; letter-spacing: 2px; }
.rating-global strong { font-size: 1.05rem; font-weight: 800; }
.rating-global span { color: var(--gray-500); font-size: .88rem; }

.temos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.temo-card {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--r-lg); padding: 24px;
  transition: transform .2s, box-shadow .2s;
}
.temo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); background: white; }
.tc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tc-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--av-color, var(--blue-500));
  color: white; font-weight: 800; font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
}
.tc-name     { font-weight: 700; font-size: .9rem; color: var(--gray-900); }
.tc-location { font-size: .76rem; color: var(--gray-500); }
.tc-stars    { color: var(--gold); font-size: .9rem; margin-left: auto; }
.temo-card p { font-size: .84rem; color: var(--gray-600); line-height: 1.65; margin-bottom: 12px; font-style: italic; }
.tc-project  { font-size: .76rem; color: var(--blue-600); font-weight: 600; background: var(--blue-50); border: 1px solid var(--blue-200); padding: 4px 10px; border-radius: 20px; display: inline-block; }

/* ══════════════════════════════════════
   FAQ
══════════════════════════════════════ */
.faq-section { padding: 90px 0; background: var(--gray-50); }
.faq-grid    { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--r); overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-item summary {
  padding: 18px 22px; font-weight: 700; font-size: .95rem; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  color: var(--gray-800); transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--blue-400); line-height: 1; transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--blue-600); }
.faq-item p { padding: 0 22px 18px; color: var(--gray-600); font-size: .9rem; line-height: 1.75; }
.faq-item p strong { color: var(--gray-800); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer { background: var(--gray-900); color: rgba(255,255,255,.65); padding: 60px 0 28px; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand .logo { color: white; margin-bottom: 12px; font-size: 1rem; }
.footer-brand p { font-size: .84rem; line-height: 1.65; max-width: 260px; margin-bottom: 14px; }
.footer-trust { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-trust span { font-size: .75rem; color: rgba(255,255,255,.5); background: rgba(255,255,255,.07); padding: 3px 8px; border-radius: 12px; }

.footer-links { display: flex; flex-direction: column; }
.footer-links h4 { font-size: .78rem; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-links a { color: rgba(255,255,255,.55); text-decoration: none; font-size: .84rem; padding: 4px 0; transition: color .2s; display: block; }
.footer-links a:hover { color: var(--blue-400); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 22px; text-align: center;
  font-size: .78rem; color: rgba(255,255,255,.35);
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .sim-layout { grid-template-columns: 1fr; }
  .sim-summary { display: none !important; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .temos-grid { grid-template-columns: repeat(2, 1fr); }
  .pourquoi-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .btn-header { display: none; }
  .burger { display: flex; }
}

@media (max-width: 640px) {
  .sim-card { padding: 22px 16px; }
  .g3 { grid-template-columns: 1fr 1fr; }
  .g4 { grid-template-columns: 1fr 1fr; }
  .options-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .parcours-grid { grid-template-columns: 1fr; }
  .temos-grid { grid-template-columns: 1fr; }
  .pourquoi-grid { grid-template-columns: 1fr; }
  .steps-grid { flex-direction: column; align-items: center; gap: 8px; }
  .how-arrow { transform: rotate(90deg); margin: 0; }
  .dim-recap { flex-wrap: wrap; gap: 8px; }
  .hero-trust-row { gap: 4px; }
  .ht-sep { display: none; }
  .trust-bar-inner { gap: 4px; }
  .tb-sep { display: none; }
  .tb-item { padding: 6px 12px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .hero-badge-row { flex-direction: column; gap: 8px; }
}
