/* ============================================================
   WASH CARE — Landing page
   Palette : bleu azur + blancs froids · Typo : Schibsted Grotesk / Instrument Sans
   ============================================================ */

:root {
  /* Couleurs — nuances de bleu */
  --blue-900: #0B2535;   /* encre / footer */
  --blue-800: #0D3A56;
  --blue-700: #036A9E;
  --blue-600: #0284C7;   /* primaire */
  --blue-500: #0EA5E9;
  --blue-300: #7DD3FC;
  --blue-100: #E0F2FE;
  --blue-50:  #F0F9FF;

  --white:    #FDFEFF;
  --off:      #F5F9FC;
  --ink:      #11293B;
  --muted:    #5A7184;
  --line:     #DCE9F2;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 12px 40px -12px rgba(12, 58, 86, 0.18);
  --shadow-soft: 0 4px 18px -6px rgba(12, 58, 86, 0.10);

  --font-head: "Schibsted Grotesk", "Helvetica Neue", sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", sans-serif;

  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; }
p { text-wrap: pretty; }

section { padding: 96px 0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 16px;
  padding: 15px 30px; border-radius: var(--btn-radius, 999px); border: none; cursor: pointer;
  text-decoration: none; transition: all .22s ease; white-space: nowrap;
}
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 24px -8px rgba(2,132,199,.55); }
.btn-primary:hover { background: var(--blue-700); transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(2,132,199,.55); }
.btn-ghost { background: transparent; color: var(--blue-700); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue-500); background: var(--blue-50); }
.btn-light { background: #fff; color: var(--blue-700); }
.btn-light:hover { background: var(--blue-100); transform: translateY(-2px); }

/* ---------- Header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(253, 254, 255, 0.85); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.topbar.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 24px -12px rgba(12,58,86,.12); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 19px;
}
.logo-name { font-family: var(--font-head); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.logo-name span { color: var(--blue-600); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15.5px; transition: color .2s; }
.nav a:hover { color: var(--blue-700); }
.topbar .btn { padding: 11px 24px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; background:
  radial-gradient(900px 480px at 85% -10%, var(--blue-100) 0%, transparent 65%),
  linear-gradient(180deg, var(--blue-50) 0%, var(--white) 78%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px; font-size: 14px; font-weight: 600; color: var(--blue-700);
  box-shadow: var(--shadow-soft); margin-bottom: 26px; white-space: nowrap;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-500); }

.hero h1 { font-size: clamp(40px, 4.6vw, 58px); font-weight: 700; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--blue-600); }
.hero-sub { font-size: 19px; color: var(--muted); max-width: 33em; margin-bottom: 36px; }

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-proof { display: flex; gap: 40px; flex-wrap: wrap; }
.proof-item { display: flex; flex-direction: column; gap: 2px; }
.proof-item strong { font-family: var(--font-head); font-size: 24px; color: var(--blue-800); }
.proof-item span { font-size: 14px; color: var(--muted); }

.hero-visual { position: relative; }
.hero-photo {
  border-radius: 24px; overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4 / 4.6;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-card {
  position: absolute; left: -34px; bottom: 36px;
  background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow);
  padding: 16px 22px; display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line);
}
.hero-card .check {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue-100); color: var(--blue-600);
  display: grid; place-items: center; font-size: 18px; font-weight: 700;
}
.hero-card b { font-family: var(--font-head); display: block; font-size: 15px; }
.hero-card small { color: var(--muted); font-size: 13px; }

/* ---------- Bandeau confiance ---------- */
.trust { padding: 0; }
.trust-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-soft);
  transform: translateY(-44px); margin-bottom: -44px;
}
.trust-item { padding: 26px 32px; display: flex; align-items: center; gap: 16px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-ico {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: var(--blue-50); color: var(--blue-600);
  font-family: var(--font-head); font-weight: 700; font-size: 18px;
  display: grid; place-items: center;
}
.trust-item b { font-family: var(--font-head); font-size: 15.5px; display: block; }
.trust-item small { color: var(--muted); font-size: 13.5px; }

/* ---------- Titres de section ---------- */
.sec-head { max-width: 640px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-tag {
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-600);
  display: block; margin-bottom: 14px;
}
.sec-head h2 { font-size: clamp(30px, 3.2vw, 42px); font-weight: 700; margin-bottom: 16px; }
.sec-head p { color: var(--muted); font-size: 18px; }

/* ---------- Services ---------- */
.services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-photo { aspect-ratio: 16 / 10; overflow: hidden; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .service-photo img { transform: scale(1.045); }
.service-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service-body h3 { font-size: 22px; }
.service-body p { color: var(--muted); font-size: 15.5px; flex: 1; }
.service-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); }
.service-meta .duree { font-size: 14px; color: var(--muted); }
.service-meta .des { font-family: var(--font-head); font-weight: 700; color: var(--blue-700); font-size: 16px; }

/* ---------- Avant / Après ---------- */
.avant-apres { background: linear-gradient(180deg, var(--blue-50), var(--white)); }
.ba-wrap { max-width: 920px; margin: 0 auto; }
.ba-slider {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 16 / 9; user-select: none;
  cursor: ew-resize; touch-action: none;
}
.ba-img { position: absolute; inset: 0; }
.ba-img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before img { filter: saturate(0.25) contrast(0.82) brightness(0.82) sepia(0.28); }
.ba-after { clip-path: inset(0 0 0 var(--ba-pos, 50%)); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--ba-pos, 50%);
  width: 3px; background: #fff; transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(12,58,86,.15);
}
.ba-handle::after {
  content: "↔"; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; color: var(--blue-700); font-size: 20px;
  display: grid; place-items: center; box-shadow: var(--shadow);
  font-family: var(--font-head); font-weight: 700;
}
.ba-label {
  position: absolute; top: 20px; padding: 7px 16px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase; pointer-events: none;
}
.ba-label.avant { left: 20px; background: rgba(17, 41, 59, .72); color: #fff; }
.ba-label.apres { right: 20px; background: rgba(253, 254, 255, .9); color: var(--blue-700); }
.ba-hint { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 18px; }

/* ---------- Tarifs ---------- */
.tarifs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.tarif-card {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: 40px 34px; display: flex; flex-direction: column; gap: 0;
  transition: transform .25s ease, box-shadow .25s ease; position: relative;
}
.tarif-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tarif-card.featured {
  background: linear-gradient(160deg, var(--blue-800), var(--blue-900));
  color: #fff; border-color: var(--blue-800);
  box-shadow: 0 24px 60px -20px rgba(11, 37, 53, .55);
}
.tarif-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--blue-500); color: #fff; font-family: var(--font-head);
  font-weight: 700; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 18px; border-radius: 999px; white-space: nowrap;
}
.tarif-name { font-family: var(--font-head); font-weight: 700; font-size: 20px; margin-bottom: 6px; }
.tarif-desc { font-size: 14.5px; color: var(--muted); margin-bottom: 26px; min-height: 44px; }
.tarif-card.featured .tarif-desc { color: var(--blue-300); }
.tarif-prix { display: flex; align-items: baseline; gap: 6px; margin-bottom: 28px; }
.tarif-prix .montant { font-family: var(--font-head); font-weight: 700; font-size: 48px; letter-spacing: -0.03em; }
.tarif-prix .devise { font-family: var(--font-head); font-weight: 600; font-size: 22px; }
.tarif-prix .unite { color: var(--muted); font-size: 14.5px; }
.tarif-card.featured .tarif-prix .unite { color: var(--blue-300); }
.tarif-liste { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-bottom: 34px; flex: 1; }
.tarif-liste li { display: flex; gap: 12px; font-size: 15px; align-items: flex-start; }
.tarif-liste li::before {
  content: "✓"; flex-shrink: 0; width: 21px; height: 21px; border-radius: 50%;
  background: var(--blue-100); color: var(--blue-700); font-size: 12px; font-weight: 700;
  display: grid; place-items: center; margin-top: 2px;
}
.tarif-card.featured .tarif-liste li::before { background: rgba(125, 211, 252, .22); color: var(--blue-300); }
.tarif-card .btn { width: 100%; }

/* ---------- Avis ---------- */
.avis { background: var(--off); }
.avis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.avis-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; display: flex; flex-direction: column; gap: 18px;
}
.avis-stars { color: var(--blue-500); font-size: 17px; letter-spacing: 3px; }
.avis-card blockquote { font-size: 16px; color: var(--ink); flex: 1; }
.avis-auteur { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.avis-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-300), var(--blue-600));
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 16px;
  display: grid; place-items: center;
}
.avis-auteur b { font-family: var(--font-head); font-size: 15px; display: block; }
.avis-auteur small { color: var(--muted); font-size: 13.5px; }

/* ---------- Zone d'intervention ---------- */
.zone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.zone-visual {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--blue-50); border: 1px solid var(--line);
  aspect-ratio: 1 / 0.85;
}
.zone-rings { position: absolute; inset: 0; display: grid; place-items: center; }
.ring { position: absolute; border-radius: 50%; border: 1.5px solid var(--blue-300); opacity: .55; }
.ring.r1 { width: 26%; aspect-ratio: 1; background: var(--blue-100); opacity: .9; }
.ring.r2 { width: 52%; aspect-ratio: 1; }
.ring.r3 { width: 78%; aspect-ratio: 1; opacity: .35; }
.zone-pin {
  position: relative; z-index: 2; width: 58px; height: 58px; border-radius: 50% 50% 50% 0;
  background: var(--blue-600); transform: rotate(-45deg);
  box-shadow: 0 12px 30px -8px rgba(2,132,199,.6);
  display: grid; place-items: center;
}
.zone-pin::after { content: ""; width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.zone-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 34px; }
.zone-chip {
  padding: 9px 18px; border-radius: 999px; background: var(--blue-50);
  border: 1px solid var(--line); font-size: 14.5px; font-weight: 500; color: var(--blue-800);
}
.zone-note { display: flex; gap: 14px; align-items: flex-start; background: var(--blue-50); border-radius: var(--radius-sm); padding: 18px 22px; border: 1px solid var(--line); }
.zone-note p { font-size: 14.5px; color: var(--muted); }
.zone-note .note-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--blue-500); flex-shrink: 0; margin-top: 6px; }

/* ---------- Réservation ---------- */
.resa { background: linear-gradient(160deg, var(--blue-800), var(--blue-900)); color: #fff; }
.resa-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.resa .sec-tag { color: var(--blue-300); }
.resa h2 { color: #fff; }
.resa .sec-head p { color: var(--blue-300); }
.resa-steps { list-style: none; display: flex; flex-direction: column; gap: 26px; margin-top: 10px; }
.resa-steps li { display: flex; gap: 18px; align-items: flex-start; }
.resa-step-num {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid rgba(125, 211, 252, .4); color: var(--blue-300);
  font-family: var(--font-head); font-weight: 700;
  display: grid; place-items: center;
}
.resa-steps b { font-family: var(--font-head); display: block; font-size: 17px; margin-bottom: 2px; }
.resa-steps p { color: var(--blue-300); font-size: 15px; }

.resa-form {
  background: #fff; border-radius: var(--radius); padding: 40px;
  box-shadow: 0 30px 80px -24px rgba(0,0,0,.45); color: var(--ink);
}
.resa-form h3 { font-size: 21px; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--blue-800); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--off); outline: none; transition: border-color .2s, background .2s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-500); background: #fff; }
.field.error input, .field.error select { border-color: #E05C5C; background: #FEF6F6; }
.field .err-msg { font-size: 12.5px; color: #C94646; display: none; }
.field.error .err-msg { display: block; }
.resa-form .btn { width: 100%; margin-top: 22px; }
.form-success { display: none; text-align: center; padding: 48px 12px; }
.form-success .check-big {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 22px;
  background: var(--blue-100); color: var(--blue-600); font-size: 32px;
  display: grid; place-items: center;
}
.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--muted); font-size: 15.5px; }
.resa-form.sent .form-body { display: none; }
.resa-form.sent .form-success { display: block; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; transition: box-shadow .25s; }
.faq-item.open { box-shadow: var(--shadow-soft); border-color: var(--blue-300); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 26px; background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-weight: 600; font-size: 16.5px; color: var(--ink);
}
.faq-q .chev { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; background: var(--blue-50); color: var(--blue-700); display: grid; place-items: center; font-size: 15px; transition: transform .3s ease; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); background: var(--blue-600); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 26px 24px; color: var(--muted); font-size: 15.5px; max-width: 60ch; }

/* ---------- CTA final ---------- */
.cta-final { padding: 0 0 96px; }
.cta-box {
  background: linear-gradient(120deg, var(--blue-600), var(--blue-500));
  border-radius: 24px; padding: 72px 64px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  border: 60px solid rgba(255,255,255,.07); top: -240px; right: -160px;
}
.cta-box h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 14px; position: relative; }
.cta-box p { color: var(--blue-100); font-size: 18px; margin-bottom: 34px; position: relative; }

/* ---------- Footer ---------- */
.footer { background: var(--blue-900); color: var(--blue-300); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.footer .logo-name { color: #fff; }
.footer-about { font-size: 14.5px; margin-top: 18px; max-width: 30em; }
.footer h4 { font-family: var(--font-head); color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: 0.04em; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer a { color: var(--blue-300); text-decoration: none; font-size: 14.5px; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer-contact li { display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; }
.footer-contact .flabel { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(125, 211, 252, .55); }
.footer-contact li + li { margin-top: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(125, 211, 252, .15); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  section { padding: 72px 0; }
  .hero-grid, .zone-grid, .resa-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-photo { aspect-ratio: 16 / 11; }
  .services-grid, .tarifs-grid, .avis-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .trust-strip { grid-template-columns: 1fr; transform: none; margin: 40px 0 0; }
  .trust-item + .trust-item { border-left: none; border-top: 1px solid var(--line); }
  .nav { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-card { left: 12px; }
  .cta-box { padding: 56px 28px; }
}
