/* Minimal, premium, Japan-inspired */
:root{
  --bg:#ffffff; --fg:#111; --muted:#555; --gold:#bda06a; --line:#eee;
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg); color:var(--fg); font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial}
.container{max-width:980px;margin:0 auto;padding:32px 16px}
.header{margin-bottom:24px;text-align:center}
h1{font-weight:600;letter-spacing:.3px;margin:0 0 8px}
h1 .accent{color:var(--gold)}
.tagline{color:var(--muted);margin:0 auto;max-width:720px}
.card{border:1px solid var(--line);border-radius:20px;padding:24px 18px;box-shadow:0 6px 24px rgba(0,0,0,.04)}
h2{font-size:20px;margin:0 0 12px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:12px 0}
label{display:flex;flex-direction:column;gap:6px;font-size:14px}
input,select,textarea{padding:12px 10px;border:1px solid var(--line);border-radius:12px;font-size:14px}
textarea{resize:vertical}
.consent{display:flex;flex-direction:row;align-items:center;gap:8px}
.actions{display:flex;gap:10px;justify-content:flex-end;margin-top:8px}
.btn{border:1px solid var(--line);background:#f7f7f7;border-radius:999px;padding:10px 16px;cursor:pointer}
.btn:hover{background:#f0f0f0}
.btn.primary{background:var(--fg);color:#fff;border-color:var(--fg)}
.btn.ghost{background:transparent}
.step{display:none}
.step.active{display:block;animation:fade .3s ease}
@keyframes fade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.sliders{display:grid;gap:14px}
.slider input[type=range]{width:100%}
.slider .legend{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;margin-top:4px}
.preview-wrap{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:center}
#radar svg{width:100%;height:auto}
.footer{margin-top:24px;text-align:center;color:var(--muted);font-size:12px}
@media(max-width:760px){
  .preview-wrap{grid-template-columns:1fr}
}


/* Helpers & about */
.helper{margin:6px 0 10px;color:var(--muted);font-size:12px}
.about{margin-top:18px}
.grid.three{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.pill{border:1px solid var(--line);border-radius:16px;padding:14px;background:#fcfcfc}
.pill h3{margin:0 0 8px;font-size:16px}
ul.tight{margin:0;padding-left:18px}
ul.tight li{margin:4px 0}
.preview-text .insight{margin:6px 0;padding:10px 12px;border-left:3px solid var(--gold);background:#faf7ef;border-radius:8px}
.preview-text ul{margin:8px 0 0 18px}
.preview-text li{margin:4px 0}


/* --- Hero (en-tête premium) --- */
.hero{
  display:grid; gap:20px; align-items:center;
  grid-template-columns: 1.2fr .8fr;
  margin: 6px 0 20px;
}
.hero-title{ font-size:32px; line-height:1.15; margin:0 0 6px }
.hero-sub{ color:var(--muted); margin:0 0 14px }
.hero-pill{
  border:1px solid var(--line); border-radius:16px; padding:14px; background:#fcfcfc
}
.hero-media{ margin:0; }
.hero-media img{ width:100%; height:auto; border-radius:18px; display:block; border:1px solid var(--line) }

@media(max-width:900px){
  .hero{ grid-template-columns:1fr }
  .hero-media{ order:2 }
}

/* ----- Intro row (2 colonnes alignées) ----- */
.intro-row{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:24px;
  align-items:stretch;     /* mêmes hauteurs visuelles */
  margin:8px 0 22px;
}

.intro-col{display:flex; flex-direction:column; justify-content:center}
.intro-col h1{margin:0 0 8px; line-height:1.1}
.intro-col .bullet{margin-top:10px}
.intro-col ul{margin:8px 0 0 18px}
.intro-col li{margin:6px 0}

.intro-media{padding:0; overflow:hidden}
.intro-media img{
  width:100%;
  height:100%;
  min-height:340px;        /* ↑ agrandit la photo */
  aspect-ratio: 4 / 3;     /* ratio propre ; supprime si tu veux plein conteneur */
  object-fit:cover;        /* recadre sans déformer */
  display:block;
  border-radius:18px;      /* même arrondi que .card */
  border:1px solid var(--line);
}

/* Responsive */
@media (max-width: 980px){
  .intro-row{grid-template-columns:1fr}
  .intro-media img{min-height:260px; aspect-ratio: 16 / 9}
}
/* ---- Hero Clean Layout ---- */
.hero-clean{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:40px;
  align-items:center;
  margin:20px 0 40px;
}

.hero-text h1{
  font-size:2rem;
  margin:0 0 10px;
  line-height:1.1;
}
.hero-text .tagline{
  color:var(--muted);
  margin-bottom:14px;
}
.intro-points{
  list-style-type:disc;
  margin:0 0 0 18px;
}
.intro-points li{
  margin:6px 0;
}

.hero-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:18px;
  border:1px solid var(--line);
  min-height:420px;
}

/* Responsive */
@media(max-width:950px){
  .hero-clean{grid-template-columns:1fr}
  .hero-photo img{min-height:280px;aspect-ratio:16/9}
}


/* ===== Range sliders – remplissage neutre visible (Chrome/Edge/Firefox) ===== */
input[type="range"]{
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 12px;
  border-radius: 999px;
  /* Deux calques : fill (var(--fill)) et fond clair */
  background:
    linear-gradient(var(--fill, #64748b) 0 0) no-repeat,
    linear-gradient(#eef2f7 0 0) no-repeat;
  background-size: var(--p, 0%) 100%, 100% 100%;
  outline: none;
  transition: background 0.2s ease;
}

/* Thumb WebKit/Chromium */
input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: #0f172a; border: 2px solid #fff;
  box-shadow: 0 0 3px rgba(0,0,0,.15);
  margin-top: -3px; cursor: pointer;
}

/* Track WebKit propre (transparent car on gère via background) */
input[type="range"]::-webkit-slider-runnable-track{
  height: 12px; border-radius: 999px; background: transparent;
}

/* Firefox */
input[type="range"]::-moz-range-track{
  height: 12px; border-radius: 999px; background: transparent;
}
input[type="range"]::-moz-range-thumb{
  width: 18px; height: 18px; border-radius: 50%;
  background: #0f172a; border: 2px solid #fff;
  box-shadow: 0 0 3px rgba(0,0,0,.15);
  cursor: pointer;
}
/* On masque le progress Firefox puisqu’on gère le fill via background */
input[type="range"]::-moz-range-progress{ background: transparent; }


/* Surlignage doux champ manquant */
.invalid{
  outline: 3px solid rgba(255, 153, 0, .35);
  transition: outline .2s ease;
}


/* --- Footer --- */
.site-footer{
  text-align:center;
  font-size:0.9rem;
  color:var(--muted);
  border-top:1px solid var(--line);
  padding:14px 8px 18px;
  margin-top:30px;
}
.site-footer a{
  color:var(--fg);
  text-decoration:none;
  border-bottom:1px dotted var(--fg);
}
.site-footer a:hover{
  text-decoration:underline;
}
