/* ============================================================
   climloclyon.fr — Feuille de style
   ============================================================ */
:root {
  /* ---------- Palette — bleu-vert (teal) professionnel ----------
     Primaire : bleu profond #0e4666
     Accent / CTA : teal #0f8f8a (bleu-vert), pour boutons et actions
     Teintes claires : fonds et surfaces légèrement teintées teal      */
  --primary: #0e4666;          /* bleu profond — couleur principale */
  --primary-dark: #0a3650;     /* hover / textes forts */
  --primary-light: #1c6a8f;    /* variation claire (liens, accents discrets) */

  --teal: #0f8f8a;             /* accent principal (CTA) */
  --teal-dark: #0b716d;        /* hover CTA */
  --teal-soft: #e6f3f2;        /* fond teinté très clair */

  /* Alias pour compatibilité avec le code existant */
  --blue: var(--primary);
  --blue-dark: var(--primary-dark);

  --ink: #16242e;              /* texte principal (légère teinte bleutée) */
  --muted: #5c6b73;            /* texte secondaire */
  --bg: #f3f7f8;               /* fond de page */
  --card: #ffffff;
  --line: #e0e8ea;             /* bordures / séparateurs */
  --green: #1f9d6b;            /* succès (messages ok) */
  --red: #d83a52;              /* erreur */
  --shadow: 0 4px 20px rgba(14, 70, 102, 0.08);
  --radius: 14px;
  --maxw: 1100px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.5px; }
.logo span { color: var(--blue); }
.logo-icon { width: 34px; height: 34px; display: inline-block; vertical-align: middle; margin-right: 8px; position: relative; top: -1px; }
.nav a { margin-left: 22px; color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--blue); }
.nav a.nav-lang {
  border: 1.5px solid var(--line); border-radius: 8px; padding: 5px 10px;
  font-size: .82rem; font-weight: 700; letter-spacing: .5px; line-height: 1;
}
.nav a.nav-lang:hover { border-color: var(--blue); color: var(--blue); }

/* Bouton « Appeler » dans le header — placé juste à gauche de « Commander » dans .nav. */
.header-actions { display: flex; align-items: center; gap: 18px; }
.nav a.nav-call {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--blue); font-weight: 600; font-size: 1rem; white-space: nowrap;
  padding: 9px 22px; border-radius: 999px;
  border: 1.5px solid var(--blue); background: transparent;
  transition: background .15s, color .15s;
}
.nav a.nav-call:hover { background: var(--blue); color: #fff; }
.nav a.nav-call:active { transform: translateY(1px); }

/* Boutons du header (Appelez-nous + Commander) : plus arrondis et moins hauts. */
.nav a.btn-cta { padding: 9px 22px; border-radius: 999px; color: #fff; }
.nav a.btn-cta:hover { color: #fff; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block; cursor: pointer; border: none;
  background: var(--blue); color: #fff;
  font-size: 1rem; font-weight: 600;
  padding: 13px 26px; border-radius: 10px;
  transition: background .15s, transform .05s;
}
.btn:hover { background: var(--blue-dark); }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: #b9c6d6; cursor: not-allowed; }
.btn-ghost {
  background: transparent; color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-ghost:hover { background: #eef5ff; }
.btn-lg { padding: 16px 34px; font-size: 1.1rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* Utilitaire générique de masquage (page de gestion de réservation, etc.). */
.hidden { display: none; }

/* ---------- Boutons CTA (teal professionnel) ---------- */
:root { --green-cta: var(--teal); --green-cta-dark: var(--teal-dark); }
.btn-cta { background: var(--green-cta); }
.btn-cta:hover { background: var(--green-cta-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - 64px); display: flex; align-items: center;
  padding: 48px 0;
  background: linear-gradient(180deg, #f5f8fc 0%, #eaf1f8 100%);
}
/* Image de fond sur la moitié droite, estompée de droite vers le milieu */
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url('/assets/fond_hero.png') right center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 28%, rgba(0,0,0,0) 58%);
          mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 28%, rgba(0,0,0,0) 58%);
}
/* Hero quasi pleine largeur : marges latérales réduites */
.hero .wrap.hero-grid { max-width: none; padding: 0 40px; }
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
}
.hero-right { display: flex; justify-content: flex-end; padding-right: 0; margin-right: -24px; }
.video-wrap { position: relative; width: 100%; max-width: 460px; }
/* Carte flottante derrière la vidéo, décalée en haut à gauche */
.video-float-card {
  position: absolute; z-index: 1; top: -104px; left: -100px;
  background: rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
          backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,.65); border-radius: 16px;
  padding: 14px 18px; max-width: 240px;
  box-shadow: 0 10px 34px rgba(20,40,80,.18);
}
.video-float-card strong { display: block; font-size: 1rem; color: var(--teal); line-height: 1.25; }
.video-float-card span { display: block; font-size: .85rem; color: var(--muted); margin-top: 4px; }
.hero-video {
  position: relative; z-index: 2; display: block;
  width: 100%; aspect-ratio: 16/9; border: none; border-radius: var(--radius);
  background: #000;
  box-shadow: 0 14px 44px rgba(20,40,80,.22);
}
.video-source { text-align: center; margin-top: 12px; }
.video-source span {
  display: inline-block; background: #fff; border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 30px; box-shadow: var(--shadow);
  font-size: .82rem; color: var(--muted); letter-spacing: .2px;
}
.video-source strong { color: var(--ink); font-weight: 700; }
.hero-left h1 {
  font-size: 3.7rem; line-height: 1.04; letter-spacing: -1.8px; color: var(--ink);
  max-width: 600px;
}
.hero-left h1 span {
  color: var(--green-cta); display: inline-block; transform-origin: left center;
  animation: clicPulse 3.4s ease-in-out infinite;
}
@keyframes clicPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.018); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-left h1 span { animation: none; }
}
.hero-left p { font-size: 1.12rem; color: var(--muted); margin: 18px 0 26px; max-width: 500px; }

.hero-stats { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.hero-stats b { font-size: 1.05rem; color: var(--ink); }
.hero-stats span { font-size: .82rem; color: var(--muted); margin-left: 4px; }
.hero-stats .sep-v { width: 1px; height: 18px; background: var(--line); }

/* Carte CTA (toggle + adresse) */
.hero-cta-card {
  background: rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
          backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,.65); border-radius: var(--radius);
  padding: 16px; box-shadow: 0 10px 34px rgba(14,70,102,.12); max-width: 540px;
}
.toggle { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.toggle button {
  border: none; background: transparent; cursor: pointer;
  padding: 10px 2px; font-weight: 600; font-size: .95rem; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .15s, border-color .15s;
}
.toggle button:hover { color: var(--ink); }
.toggle button.active { color: var(--green-cta); border-bottom-color: var(--green-cta); }

.addr-label { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.addr-form { display: flex; gap: 10px; align-items: stretch; }
.input-icon { position: relative; flex: 1; display: flex; align-items: center; }
.input-icon svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; fill: var(--muted); pointer-events: none;
}
.addr-form input {
  width: 100%; height: 48px; margin-bottom: 0; border: none; border-radius: 10px;
  background: rgba(255,255,255,.65);
}
.addr-form input:focus { outline: none; background: rgba(255,255,255,.92); }
.addr-form .btn {
  white-space: nowrap; height: 48px; padding-top: 0; padding-bottom: 0;
  display: inline-flex; align-items: center;
}


/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-title { font-size: 1.8rem; letter-spacing: -.5px; margin-bottom: 8px; }
.section-sub { color: var(--muted); margin-bottom: 34px; }

/* ---------- Catalogue ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.product-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.product-card .pc-img {
  height: 170px; background: #dde7f3 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" fill="%239db4cf"><rect width="60" height="60" rx="8"/></svg>') center/40px no-repeat;
  display: flex; align-items: center; justify-content: center;
}
.product-card .pc-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.product-card .desc { color: var(--muted); font-size: .92rem; flex: 1; }
.product-card .price { margin: 14px 0; font-size: 1.05rem; }
.product-card .price b { font-size: 1.7rem; color: var(--blue-dark); }
.badge { display: inline-block; background: #eaf3ff; color: var(--blue-dark); font-size: .8rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; }

/* ---------- Témoignages clients ---------- */
.testimonials { background: #fff; }
.testimonials-grid {
  display: grid; grid-template-columns: 420px 1fr; gap: 48px; align-items: center;
}
.testimonials-text { position: relative; }
.testimonials-text > * { position: relative; z-index: 1; }
/* Grand guillemet décoratif en arrière-plan */
.testimonials-text::before {
  content: '\201C'; position: absolute; z-index: 0; top: -56px; left: -18px;
  font-family: Georgia, "Times New Roman", serif; font-size: 11rem; line-height: 1;
  color: var(--teal); opacity: .12; pointer-events: none;
}
.testimonials-text .eyebrow {
  text-transform: uppercase; letter-spacing: 1px; font-size: .8rem; font-weight: 700;
  color: var(--teal); margin-bottom: 12px;
}
.testimonials-text h2 {
  font-size: 2.6rem; line-height: 1.12; letter-spacing: -1px; color: var(--ink);
}
.testimonials-text .section-sub { margin: 16px 0 0; max-width: 460px; }
.testimonials-text .btn { margin-top: 26px; }
/* Bouton avec flèche SVG */
.btn-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 22px; font-size: .98rem;
}
.btn-arrow svg { width: 18px; height: 18px; transition: transform .15s; }
.btn-arrow:hover svg { transform: translateX(3px); }
.testimonial-video {
  position: relative; max-width: 420px; margin: 0;
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  box-shadow: 0 14px 44px rgba(14,70,102,.18);
}
.testimonial-video video { width: 100%; display: block; background: #000; }
/* Bouton play centré, masqué pendant la lecture */
.play-overlay {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 78px; height: 78px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(15,143,138,.92); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(0,0,0,.3); transition: transform .12s, opacity .2s;
}
.play-overlay svg { width: 34px; height: 34px; fill: #fff; }
.play-overlay:hover { transform: translate(-50%, -50%) scale(1.06); }
.testimonial-video.playing .play-overlay { opacity: 0; pointer-events: none; }
/* Légende en bas avec dégradé, masquée pendant la lecture */
.video-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 44px 20px 16px; text-align: left; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.4) 40%, rgba(0,0,0,.1) 75%, rgba(0,0,0,0) 100%);
  transition: opacity .2s;
}
.video-caption strong { display: block; font-size: 1.1rem; font-weight: 700; }
.video-caption span { display: block; font-size: .85rem; opacity: .9; margin-top: 2px; }
.testimonial-video.playing .video-caption { opacity: 0; pointer-events: none; }

/* ---------- Typo serif & eyebrow (réutilisables) ---------- */
.serif { font-family: Georgia, "Times New Roman", serif; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 1.5px; font-size: .8rem; font-weight: 700;
  color: var(--teal); margin-bottom: 14px;
}

/* ---------- Comment ça marche (frise) ---------- */
.how { background: #eef4f5; } /* teinte légèrement différente des témoignages (blancs) */
.how-title { font-size: 3rem; line-height: 1.1; letter-spacing: -.5px; color: var(--ink); max-width: 800px; }
.how-sub { margin-top: 18px; max-width: 600px; }

.timeline {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px;
}
.tl-step { position: relative; }
/* Trait horizontal global + remplissage piloté au scroll */
.tl-line {
  position: absolute; top: 32px; left: 12px; right: 12px; height: 3px;
  background: var(--line); border-radius: 3px; z-index: 0; overflow: hidden;
}
.tl-line-fill {
  height: 100%; width: 0%; border-radius: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--teal));
  transition: width .15s linear;
}
.tl-icon {
  position: relative; z-index: 1;
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(145deg, var(--primary-light), var(--primary));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(14,70,102,.28), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .45s cubic-bezier(.22,.61,.36,1), box-shadow .45s cubic-bezier(.22,.61,.36,1);
  animation: tlFloat 5s ease-in-out infinite;
}
.tl-icon svg { width: 27px; height: 27px; }
/* Flottement très discret, décalé par étape */
.tl-step:nth-child(2) .tl-icon { animation-delay: .6s; }
.tl-step:nth-child(3) .tl-icon { animation-delay: 1.2s; }
.tl-step:nth-child(4) .tl-icon { animation-delay: 1.8s; }
@keyframes tlFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2.5px); }
}
/* Survol : l'icône prend du volume (transition fluide) */
.tl-step:hover .tl-icon {
  animation: none; transform: translateY(-3px) scale(1.025);
  box-shadow: 0 12px 24px rgba(14,70,102,.3), inset 0 1px 0 rgba(255,255,255,.2);
}
@media (prefers-reduced-motion: reduce) {
  .tl-icon { animation: none; }
}
.tl-num { font-size: .82rem; color: var(--muted); margin: 22px 0 6px; }
.tl-step h3 { font-size: 1.3rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.tl-step p { color: var(--muted); font-size: .95rem; max-width: 240px; }

/* ---------- Avis clients (carrousel défilant) ---------- */
.reviews { background: #fff; overflow: hidden; }
.reviews-marquee {
  margin-top: 34px;
  display: flex; flex-direction: column;
  /* fondu sur les bords gauche/droite */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
/* padding vertical : laisse respirer l'ombre des cartes malgré overflow:hidden */
.rm-row { overflow: hidden; padding: 14px 0; }
.rm-track {
  display: flex; gap: 22px; width: max-content;
  animation: rm-scroll 38s linear infinite;
}
.rm-track--reverse { animation-direction: reverse; }
.reviews-marquee:hover .rm-track { animation-play-state: paused; }
@keyframes rm-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .rm-track { animation: none; }
}
.review-card {
  flex: 0 0 340px; width: 340px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.review-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.review-avatar {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--a), var(--b));
  color: #fff; font-weight: 700; font-size: 1rem; letter-spacing: .5px;
}
.review-id strong { display: block; color: var(--ink); font-size: 1rem; line-height: 1.2; }
.review-id span { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.review-stars { color: #f5a623; font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 10px; }
.review-card p { color: var(--muted); font-size: .95rem; line-height: 1.55; }

/* ---------- Pour qui ? ---------- */
.audience {
  background:
    radial-gradient(900px 380px at 50% -10%, #e3eef0 0%, transparent 70%),
    #eef4f5;
}
.audience-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.audience-head .section-sub { margin-bottom: 0; }
.audience-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.audience-card {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 30px 26px 28px; box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
/* barre d'accent en haut, révélée au survol */
.audience-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--c1), var(--c2));
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.audience-card:hover {
  transform: translateY(-6px); border-color: transparent;
  box-shadow: 0 18px 40px rgba(14,70,102,.16);
}
.audience-card:hover::before { transform: scaleX(1); }

.audience-icon {
  width: 58px; height: 58px; border-radius: 16px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 8px 18px color-mix(in srgb, var(--c1) 35%, transparent);
  transition: transform .25s ease;
}
.audience-card:hover .audience-icon { transform: scale(1.08) rotate(-3deg); }
.audience-icon svg { width: 28px; height: 28px; }
.audience-card h3 { font-size: 1.22rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.audience-card p { color: var(--muted); font-size: .95rem; line-height: 1.6; }

/* couleurs d'accent par carte */
.audience-card:nth-child(1) { --c1: #0f8f8a; --c2: #1c6a8f; }
.audience-card:nth-child(2) { --c1: #1f9d6b; --c2: #0f8f8a; }
.audience-card:nth-child(3) { --c1: #1c6a8f; --c2: #0e4666; }
.audience-card:nth-child(4) { --c1: #0b716d; --c2: #1f9d6b; }
.audience-card:nth-child(5) { --c1: #d8743a; --c2: #d83a52; }
.audience-card:nth-child(6) { --c1: #7a3aff; --c2: #1c6a8f; }

/* ---------- FAQ ---------- */
.faq { background: #fff; }
.faq-grid {
  display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: start;
}
/* Colonne gauche : titre + carte de conversion (sticky au scroll) */
.faq-aside { position: sticky; top: 90px; }
.faq-aside .section-title { font-size: 1.9rem; line-height: 1.2; margin-bottom: 10px; }
.faq-aside .section-sub { margin-bottom: 24px; }

/* Carte CTA */
.faq-cta {
  background: linear-gradient(150deg, var(--primary), var(--teal-dark));
  color: #fff; border-radius: var(--radius); padding: 26px 26px 24px;
  box-shadow: 0 16px 36px rgba(14,70,102,.24);
}
.faq-cta h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.faq .faq-cta > p { color: #fff; line-height: 1.5; margin-bottom: 18px; font-size: .95rem; }
.faq-cta .btn-cta { background: #fff; color: var(--primary); width: 100%; justify-content: center; }
.faq-cta .btn-cta:hover { background: #eef4f5; }
.faq-cta-mail {
  display: inline-block; margin-top: 12px; color: #fff; font-size: .9rem;
  font-weight: 600; text-decoration: none; opacity: .92;
}
.faq-cta-mail:hover { opacity: 1; text-decoration: underline; }
.faq-trust {
  list-style: none; margin: 20px 0 0; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.2); display: grid; gap: 10px;
}
.faq-trust li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: rgba(255,255,255,.95); }
.faq-trust svg { width: 18px; height: 18px; flex: 0 0 auto; color: #8ef0c6; }

/* Colonne droite : accordéon */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 52px 18px 22px; position: relative;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.faq details:hover { border-color: #c7d6da; }
.faq details[open] { border-color: var(--teal); box-shadow: var(--shadow); }
.faq summary {
  font-weight: 600; cursor: pointer; color: var(--ink); list-style: none;
  font-size: 1.02rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
/* pastille +/− pilotée par l'état open */
.faq summary::after {
  content: '+'; position: absolute; right: 16px; top: 16px;
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-soft); color: var(--teal);
  font-size: 1.25rem; font-weight: 400; line-height: 1;
  transition: transform .25s ease, background .2s ease, color .2s ease;
}
.faq details[open] summary::after {
  content: '\2212'; background: var(--teal); color: #fff; transform: rotate(180deg);
}
.faq summary:hover { color: var(--teal); }
.faq p { color: var(--muted); margin-top: 12px; line-height: 1.65; }
.faq p a { color: var(--teal); font-weight: 600; }
.faq b { color: var(--ink); }

/* ---------- Autocomplétion d'adresse ---------- */
.ac-list {
  position: absolute; z-index: 1000; list-style: none; margin: 0; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 16px 40px rgba(14,70,102,.18); display: none; max-height: 300px; overflow-y: auto;
}
.ac-list.open { display: block; }
.ac-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  cursor: pointer; transition: background .12s;
}
.ac-item:hover, .ac-item.active { background: var(--teal-soft); }
.ac-item svg { width: 17px; height: 17px; flex: 0 0 auto; color: var(--teal); }
.ac-text { display: flex; flex-direction: column; min-width: 0; }
.ac-label { font-size: .92rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.ac-ctx { font-size: .78rem; color: var(--muted); }

/* ---------- Footer pro ---------- */
.site-footer {
  background: var(--ink); color: #9fb2bd; font-size: .92rem;
  padding: 64px 0 28px;
  border-top: 3px solid var(--teal);
}
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo { font-size: 1.5rem; }
.footer-brand .logo-icon { width: 40px; height: 40px; }
.footer-tagline { margin: 14px 0 18px; line-height: 1.6; max-width: 340px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-badge {
  font-size: .78rem; font-weight: 600; color: #d6e2e8;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  padding: 5px 11px; border-radius: 30px;
}

.footer-col h4 {
  color: #fff; font-size: .82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 16px;
}
.footer-col a { display: block; color: #9fb2bd; margin-bottom: 10px; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }

.footer-contact p { display: flex; gap: 10px; line-height: 1.5; margin-bottom: 14px; }
.footer-contact svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px; color: var(--teal); }
.footer-contact a { color: #9fb2bd; }
.footer-contact a:hover { color: #fff; }
.footer-cta { margin-top: 4px; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 12px; padding-top: 22px; font-size: .85rem; color: #7e93a0;
}
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a { color: #7e93a0; }
.footer-legal a:hover { color: #fff; }

/* ============================================================
   Tunnel de réservation
   ============================================================ */
/* ------------------------------------------------------------
   Tunnel — layout 2 colonnes : sidebar (étapes + récap) + panneau
   ------------------------------------------------------------ */
.resa2 { padding: 6px 0 90px; }
.resa2-grid { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }

/* Colonne de gauche (sticky) */
.resa2-side { position: sticky; top: 76px; }
.resa2-side-label {
  text-transform: uppercase; letter-spacing: 1.5px; font-size: .72rem; font-weight: 700;
  color: var(--muted); margin-bottom: 22px;
}

/* Liste verticale des étapes */
.resa2-steps { list-style: none; display: flex; flex-direction: column; gap: 4px; margin: 0 0 30px; }
.resa2-steps .dot {
  display: flex; align-items: center; gap: 13px;
  font-size: .98rem; font-weight: 500; color: var(--muted);
  padding: 7px 0; transition: color .2s ease;
}
.resa2-steps .num {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1.5px solid var(--line); color: var(--muted);
  font-size: .85rem; font-weight: 700; transition: all .2s ease;
}
.resa2-steps .dot.active { color: var(--ink); font-weight: 700; }
.resa2-steps .dot.active .num {
  background: var(--primary); border-color: var(--primary); color: #fff;
}
.resa2-steps .dot.done { color: var(--ink); }
.resa2-steps .dot.done .num {
  background: var(--teal); border-color: var(--teal); color: #fff; font-size: 0;
}
.resa2-steps .dot.done .num::after { content: '✓'; font-size: .85rem; }

/* Carte récapitulatif */
.resa2-recap {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 22px; box-shadow: var(--shadow);
}

/* Colonne de droite — panneau de l'étape (à plat, sans carte) */
.resa2-main { max-width: 680px; }
.step-panel { animation: panelIn .35s ease; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.step-panel.hidden { display: none; }

/* Eyebrow : bouton retour rond + libellé d'étape */
.resa2-eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: 1.5px; font-size: .78rem; font-weight: 700; color: var(--muted);
}
.resa2-back {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1.5px solid var(--line); color: var(--ink);
  font-size: 1.1rem; line-height: 1; cursor: pointer; text-decoration: none;
  transition: border-color .15s, background .15s, transform .1s;
}
.resa2-back:hover { border-color: var(--teal); background: var(--teal-soft); color: var(--teal-dark); }
.resa2-back:active { transform: scale(.94); }

/* Titre de l'étape — même police (sans-serif) que le reste du site */
.resa2-h { font-size: 2.6rem; line-height: 1.1; letter-spacing: -1px; color: var(--ink); margin-bottom: 14px; font-weight: 700; }
.resa2-h em { font-style: normal; color: var(--teal-dark); }
.step-panel .hint { color: var(--muted); font-size: 1.05rem; margin-bottom: 30px; line-height: 1.55; max-width: 560px; }

/* Champ adresse : icône dans une pastille à GAUCHE, en dehors de l'input */
.resa2-addr { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.resa2-addr-icon {
  flex: 0 0 auto; width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-soft); color: var(--teal-dark);
}
.resa2-addr-icon svg { width: 22px; height: 22px; }
.resa2-addr input {
  flex: 1; width: auto; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: 16px;
  font-size: 1.1rem; font-family: inherit; background: #fff; margin-bottom: 0;
  transition: border-color .15s, box-shadow .15s;
}
.resa2-addr input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.resa2-note { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }

/* Carte « adresse validée » (façon suggestion) + frais de livraison à droite */
.addr-result {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
  padding: 13px 16px; border: 1px solid var(--line); border-radius: 14px;
  background: #fff; box-shadow: var(--shadow);
}
.addr-result.hidden { display: none; }
.ar-icon {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-soft); color: var(--teal-dark);
}
.ar-icon svg { width: 20px; height: 20px; }
.ar-text { flex: 1; display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.ar-text b { color: var(--ink); font-size: 1rem; }
.ar-text span { color: var(--muted); font-size: .88rem; }
.ar-fee { flex: 0 0 auto; font-weight: 700; color: var(--teal-dark); font-size: .92rem; white-space: nowrap; }

label { display: block; font-weight: 600; margin-bottom: 7px; font-size: .95rem; color: var(--ink); }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 1rem; font-family: inherit; background: #fff; margin-bottom: 18px;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }

.qty-control { display: flex; align-items: center; gap: 14px; }
.qty-control button {
  width: 44px; height: 44px; font-size: 1.4rem; line-height: 1; border-radius: 50%;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .15s, background .15s, color .15s;
}
.qty-control button:hover:not(:disabled) { border-color: var(--teal); background: var(--teal-soft); color: var(--teal-dark); }
.qty-control button:disabled { opacity: .4; cursor: not-allowed; }
.qty-control .val { font-size: 1.7rem; font-weight: 700; min-width: 46px; text-align: center; color: var(--ink); }

/* ---------- Étape 2 : carte produit façon catalogue ---------- */
/* Carte d'aide */
.qty-help {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 20px; box-shadow: var(--shadow); margin-bottom: 18px;
}
.qh-icon {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-soft); color: var(--teal-dark);
}
.qh-icon svg { width: 20px; height: 20px; }
.qh-text { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.qh-text b { color: var(--ink); font-size: .98rem; }
.qh-text span { color: var(--muted); font-size: .88rem; }
.qh-link { background: none; border: none; cursor: pointer; font-family: inherit;
  color: var(--teal-dark); font-weight: 700; font-size: .95rem; white-space: nowrap; }
.qh-link:hover { text-decoration: underline; }

/* Ligne de recommandation (après usage de la modale) */
.qty-reco { color: var(--teal-dark); font-weight: 600; font-size: .92rem; margin: -6px 0 18px; }
.qty-reco.hidden { display: none; }

/* Modale d'aide à la quantité */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  background: rgba(16, 36, 46, .5); backdrop-filter: blur(3px); padding: 20px;
  animation: modalFade .2s ease;
}
.modal-overlay.hidden { display: none; }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  position: relative; width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto;
  background: var(--card); border-radius: 20px; padding: 30px; box-shadow: 0 20px 60px rgba(16,36,46,.3);
  animation: modalPop .22s ease;
}
@keyframes modalPop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 20px; right: 20px; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: transparent; border: none; color: var(--muted); transition: background .15s, color .15s;
}
.modal-close:hover { background: var(--bg); color: var(--ink); }
.modal-close svg { width: 20px; height: 20px; }
.modal-title { font-size: 1.6rem; font-weight: 700; letter-spacing: -.5px; color: var(--ink); margin-bottom: 8px; padding-right: 40px; }
.modal-sub { color: var(--muted); margin-bottom: 24px; line-height: 1.5; }

.place-list { display: flex; flex-direction: column; gap: 10px; }
.place-card {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; cursor: pointer; font-family: inherit; text-align: left;
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px;
  transition: border-color .15s, background .15s, transform .1s;
}
.place-card:hover { border-color: var(--teal); transform: translateY(-1px); }
.place-card.selected { border-color: var(--teal); background: var(--teal-soft); }
.place-card span { font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.place-card b { color: var(--muted); font-weight: 600; font-size: .95rem; }

.modal-sep { border-top: 1px solid var(--line); margin: 24px 0 20px; }
.surface-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.surface-row label { margin: 0; font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.surface-val { color: var(--muted); font-size: 1rem; }
.surface-val b { font-size: 1.6rem; font-weight: 700; color: var(--ink); }
.surface-range { width: 100%; accent-color: var(--teal); height: 6px; cursor: pointer; }
.surface-bounds { display: flex; justify-content: space-between; color: var(--muted); font-size: .82rem; margin-top: 6px; }
.modal-cta { width: 100%; border-radius: 30px; padding: 16px; margin-top: 24px; background: var(--teal); font-size: 1.05rem; }
.modal-cta:hover { background: var(--teal-dark); }

/* Vue résultat de la modale */
.modal-result { text-align: center; padding: 10px 0; }
.modal-result.hidden { display: none; }
.mr-icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 4px auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-soft); color: var(--teal-dark);
}
.mr-icon svg { width: 30px; height: 30px; }
.modal-result .modal-title { padding: 0; }
.mr-text { color: var(--muted); font-size: 1.1rem; line-height: 1.6; margin-top: 10px; }
.mr-text b { color: var(--ink); }
.mr-text strong { display: inline-block; margin: 6px 0; font-size: 1.6rem; color: var(--teal-dark); }
.mr-back {
  display: block; width: 100%; margin-top: 14px; padding: 8px; cursor: pointer;
  background: none; border: none; font-family: inherit; color: var(--muted); font-size: .92rem; font-weight: 600;
}
.mr-back:hover { color: var(--ink); }

/* Carte produit */
.prod-card {
  display: grid; grid-template-columns: 42% 1fr; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); margin-bottom: 18px;
}
.prod-img {
  background: #f1f4f0; display: flex; align-items: center; justify-content: center; padding: 24px; min-height: 240px;
}
.prod-img img { max-height: 280px; width: auto; object-fit: contain; }
/* Placeholder ❄ quand aucune image n'est chargée (img masquée) */
.prod-img::after { content: '❄'; font-size: 3rem; color: #c4d2c2; }
.prod-img:has(img:not([hidden]))::after { content: none; }
.prod-info { padding: 26px 28px; }
.prod-eyebrow { text-transform: uppercase; letter-spacing: 1.5px; font-size: .72rem; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.prod-name { font-size: 1.7rem; font-weight: 700; letter-spacing: -.5px; color: var(--ink); line-height: 1.15; margin-bottom: 16px; }
.prod-specs { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.prod-specs li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .95rem; }
.prod-specs svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--teal); }
.prod-sep { border-top: 1px solid var(--line); margin: 22px 0; }
.prod-qty-row { display: flex; align-items: center; justify-content: space-between; }
.prod-qty-label { text-transform: uppercase; letter-spacing: 1.5px; font-size: .72rem; font-weight: 700; color: var(--muted); }

/* Encadré prix */
.prod-price {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  background: var(--teal-soft); border-radius: 14px; padding: 16px 18px; margin-top: 20px;
}
.pp-label { text-transform: uppercase; letter-spacing: 1.5px; font-size: .68rem; font-weight: 700; color: var(--teal-dark); margin-bottom: 4px; }
.pp-amounts { display: flex; align-items: baseline; gap: 8px; }
.pp-old { text-decoration: line-through; color: var(--muted); font-size: .92rem; }
.pp-amounts b { font-size: 1.5rem; color: var(--ink); }
.pp-unit { color: var(--muted); font-size: .9rem; }
.pp-badge { background: var(--green); color: #fff; font-weight: 700; font-size: .8rem; padding: 5px 11px; border-radius: 30px; white-space: nowrap; }

/* Carte sélection */
.prod-selection {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 22px; box-shadow: var(--shadow);
}
.ps-label { text-transform: uppercase; letter-spacing: 1.5px; font-size: .72rem; font-weight: 700; color: var(--muted); margin-bottom: 5px; }
.ps-value { font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.ps-stock { color: var(--muted); font-size: .85rem; white-space: nowrap; }

/* Cartes sélectionnables (installation) */
.option-cards { display: grid; gap: 12px; }
.option-card {
  position: relative; border: 2px solid var(--line); border-radius: 14px; padding: 18px 20px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  transition: border-color .18s, background .18s, box-shadow .18s, transform .18s;
}
.option-card:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow); }
.option-card.selected { border-color: var(--teal); background: var(--teal-soft); }
.option-card.selected::after {
  content: '✓'; position: absolute; top: -9px; right: -9px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 700; box-shadow: 0 3px 8px rgba(15,143,138,.45);
}
.option-card .oc-title { font-weight: 700; color: var(--ink); }
.option-card .oc-sub { font-size: .85rem; color: var(--muted); margin-top: 2px; }
.option-card .oc-price { text-align: right; }
.option-card .oc-price b { font-size: 1.25rem; color: var(--teal-dark); }
.option-card .oc-old { text-decoration: line-through; color: var(--muted); font-size: .85rem; }
.option-card .oc-discount { color: var(--green); font-weight: 600; font-size: .85rem; }

/* Cartes de durée */
.duration-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.duration-card {
  position: relative; border: 2px solid var(--line); border-radius: 14px; padding: 20px 16px; cursor: pointer;
  text-align: center; transition: border-color .18s, background .18s, box-shadow .18s, transform .18s;
}
.duration-card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow); }
.duration-card.selected { border-color: var(--teal); background: var(--teal-soft); }
/* Carte de durée indisponible (jour de retour fermé) */
.duration-card.disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.6); }
.duration-card.disabled:hover { border-color: var(--line); transform: none; box-shadow: none; }
/* Jour de livraison fermé (calendrier horizontal) */
.cal-day.closed { opacity: .4; cursor: not-allowed; filter: grayscale(.7); }
.cal-day.closed:hover { border-color: var(--line); transform: none; box-shadow: none; }
.cal-day.closed .cd-price { color: #b23b36; font-weight: 700; }
.duration-card.selected::after {
  content: '✓'; position: absolute; top: -9px; right: -9px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 700; box-shadow: 0 3px 8px rgba(15,143,138,.45);
}
.duration-card .dc-dur { font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.duration-card .dc-disc {
  display: inline-block; color: var(--teal-dark); background: var(--teal-soft);
  font-weight: 700; font-size: .76rem; padding: 2px 9px; border-radius: 20px; margin: 7px 0;
}
.duration-card .dc-price b { font-size: 1.4rem; color: var(--ink); }
.duration-card .dc-old { text-decoration: line-through; color: var(--muted); font-size: .82rem; }

/* Bloc « date de fin précise » */
.custom-dur {
  margin-top: 14px; padding: 18px 20px; border: 1.5px solid var(--teal); border-radius: 14px;
  background: var(--teal-soft);
}
.custom-dur.hidden { display: none; }
.custom-dur.err { border-color: var(--red); background: #fdecef; color: var(--red); font-size: .92rem; }
.cdr-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cdr-dates { font-weight: 700; color: var(--ink); }
.cdr-days { color: var(--teal-dark); font-weight: 600; font-size: .85rem; white-space: nowrap; }
.cdr-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.cdr-total { font-size: 1.7rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.cdr-perday { color: var(--muted); font-size: .85rem; margin-top: 2px; }
.cdr-disc {
  background: var(--teal); color: #fff; font-weight: 700; font-size: .85rem;
  padding: 5px 12px; border-radius: 30px; white-space: nowrap;
}

/* ---------- Étape 4 : mode de livraison ---------- */
.delivery-mode {
  display: flex; align-items: center; gap: 16px; margin-bottom: 18px;
  padding: 16px 22px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--card); box-shadow: var(--shadow);
}
.dm-icon {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-soft); color: var(--teal-dark);
}
.dm-icon svg { width: 22px; height: 22px; }
.dm-text { flex: 1; display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.dm-text b { color: var(--ink); font-size: 1.05rem; }
.dm-text span { color: var(--muted); font-size: .9rem; }
.dm-price { text-align: right; flex: 0 0 auto; display: flex; flex-direction: column; }
.dm-from { color: var(--muted); font-size: .8rem; }
.dm-amounts { font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.dm-amounts b { color: #c4761a; font-weight: 700; }
.dm-extra { text-transform: uppercase; letter-spacing: .5px; color: #c4761a; font-size: .72rem; font-weight: 700; margin-top: 2px; }

/* ---------- Étape 4 : calendrier horizontal + créneaux ---------- */
.cal { border: 1px solid var(--line); border-radius: 16px; background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.cal-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.cal-month { font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.cal-nav {
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1.5px solid var(--line); color: var(--ink); transition: border-color .15s, background .15s;
}
.cal-nav:hover:not(:disabled) { border-color: var(--teal); background: var(--teal-soft); color: var(--teal-dark); }
.cal-nav:disabled { opacity: .35; cursor: not-allowed; }
.cal-nav svg { width: 18px; height: 18px; }

.cal-days { display: flex; gap: 10px; overflow-x: auto; padding: 16px; scroll-snap-type: x proximity; }
.cal-days::-webkit-scrollbar { height: 8px; }
.cal-days::-webkit-scrollbar-thumb { background: var(--line); border-radius: 10px; }
.cal-day {
  flex: 0 0 auto; width: 92px; scroll-snap-align: start; cursor: pointer; font-family: inherit;
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 8px;
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px;
  transition: border-color .15s, background .15s, transform .1s;
}
.cal-day:hover { border-color: var(--teal); transform: translateY(-2px); }
.cd-wd { text-transform: uppercase; letter-spacing: .5px; font-size: .68rem; font-weight: 700; color: var(--muted); }
.cd-num { font-size: 1.5rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.cd-mo { font-size: .72rem; color: var(--muted); margin-bottom: 6px; }
.cd-price { font-size: .82rem; font-weight: 700; color: var(--teal-dark); }
.cd-price.urgent { color: #c4761a; }
.cal-day.selected { background: var(--teal-dark); border-color: var(--teal-dark); }
.cal-day.selected .cd-wd, .cal-day.selected .cd-mo { color: rgba(255,255,255,.75); }
.cal-day.selected .cd-num, .cal-day.selected .cd-price { color: #fff; }

.slots { margin-top: 26px; }
.slots.hidden { display: none; }
.slots-title { text-transform: uppercase; letter-spacing: 1.2px; font-size: .76rem; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.slot-list { display: flex; flex-direction: column; gap: 12px; }
.slot {
  display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-family: inherit;
  padding: 18px 22px; background: #fff; border: 1.5px solid var(--line); border-radius: 30px;
  transition: border-color .15s, background .15s;
}
.slot:hover { border-color: var(--teal); }
.slot-time { font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.slot-price { font-weight: 700; color: var(--teal-dark); }
.slot-price.urgent { color: #c4761a; }
.slot.selected { background: var(--teal-dark); border-color: var(--teal-dark); }
.slot.selected .slot-time, .slot.selected .slot-price { color: #fff; }
.slot.slot-disabled { opacity: .45; cursor: not-allowed; background: #f6f7f8; }
.slot.slot-disabled:hover { border-color: var(--line); }
.slot.slot-disabled .slot-price { color: var(--muted); text-transform: uppercase; font-size: .78rem; letter-spacing: .5px; }

.cal-note { color: var(--muted); font-size: .82rem; margin-top: 18px; line-height: 1.5; }

/* Actions — bouton « Continuer » aligné à droite (le retour est dans l'eyebrow) */
.resa2-actions { display: flex; justify-content: flex-end; align-items: center; margin-top: 34px; gap: 12px; }
.resa2-actions .btn { border-radius: 30px; padding: 14px 34px; background: var(--teal); }
.resa2-actions .btn:hover:not(:disabled) { background: var(--teal-dark); }
.resa2-actions .btn:disabled { background: #c2d6d8; }

.feedback { padding: 12px 16px; border-radius: 12px; font-size: .92rem; margin-bottom: 16px; border-left: 3px solid transparent; }
.feedback.ok { background: #e9f8f0; color: var(--green); border-color: var(--green); }
.feedback.err { background: #fdecef; color: var(--red); border-color: var(--red); }
.feedback.info { background: var(--teal-soft); color: var(--teal-dark); border-color: var(--teal); }
.feedback.hidden { display: none; }

/* ---------- Récap (contenu de la carte sidebar) ---------- */
/* Ligne « libellé · valeur » : libellé à gauche, valeur alignée à droite (et qui passe à la ligne proprement). */
.resa2-recap .line {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: .9rem; line-height: 1.45; margin-bottom: 13px; color: var(--muted);
}
.resa2-recap .line span:first-child { flex: 0 1 auto; }
.resa2-recap .line span:last-child {
  flex: 1 1 auto; min-width: 0; text-align: right;
  color: var(--ink); font-weight: 600; overflow-wrap: anywhere;
}
.resa2-recap .sep { border-top: 1px solid var(--line); margin: 18px 0; }
.resa2-recap .total {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 1.3rem; font-weight: 800; color: var(--ink);
}
.resa2-recap .total span:last-child { color: var(--teal-dark); }
.resa2-recap .total-perday { text-align: right; color: var(--muted); font-size: .8rem; margin-top: 4px; }
.resa2-recap .deposit {
  background: var(--teal-soft); border-radius: 12px;
  padding: 12px 14px; font-size: .8rem; color: var(--teal-dark); margin-top: 16px; line-height: 1.5;
}
.resa2-recap .muted-note { font-size: .8rem; color: var(--muted); margin-top: 10px; line-height: 1.5; }
/* Pastille « -X% » mise en avant à côté d'un libellé de remise */
.resa2-recap .recap-tag {
  display: inline-block; background: var(--teal); color: #fff; font-weight: 700;
  font-size: .66rem; padding: 2px 8px; border-radius: 20px; margin-left: 7px; vertical-align: middle;
}
/* Valeur « gain » mise en avant (kit inclus, livraison offerte, économie réalisée) */
.resa2-recap .line span:last-child.recap-save { color: var(--green); font-weight: 700; }

/* Sélecteur de quantité dans le récap */
.resa2-recap .recap-qty { display: inline-flex; align-items: center; justify-content: flex-end; gap: 14px; }
.resa2-recap .recap-qty b { min-width: 12px; text-align: center; font-weight: 700; color: var(--ink); }
.resa2-recap .recap-qty-btn {
  width: 26px; height: 26px; flex: 0 0 auto; border-radius: 50%; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink); font-size: 1.05rem; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; font-family: inherit;
  transition: border-color .15s, color .15s, background .15s;
}
.resa2-recap .recap-qty-btn:hover:not(:disabled) { border-color: var(--teal); color: var(--teal-dark); background: var(--teal-soft); }
.resa2-recap .recap-qty-btn:disabled { opacity: .35; cursor: default; }

/* Estimation au jour (état initial, avant le choix des dates) */
.resa2-recap .recap-estim { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.resa2-recap .re-label { color: var(--muted); font-size: .95rem; }
.resa2-recap .re-amount { font-size: 1.6rem; font-weight: 800; color: var(--ink); white-space: nowrap; }
.resa2-recap .re-unit { font-size: .78rem; font-weight: 600; color: var(--muted); margin-left: 5px; }

/* ---------- Étape 6 — Récapitulatif détaillé ---------- */
/* Bandeaux verts (annulation gratuite, retrait offert) */
.rc-banner {
  display: flex; align-items: flex-start; gap: 12px;
  background: #e9f8f0; border: 1px solid #bfe8d4; border-radius: 14px;
  padding: 14px 16px; margin-bottom: 16px;
}
.rc-banner-ic {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center;
}
.rc-banner-ic svg { width: 19px; height: 19px; }
.rc-banner-txt { display: flex; flex-direction: column; gap: 2px; }
.rc-banner-txt b { color: #137a52; font-size: .95rem; }
.rc-banner-txt span { color: #2f6b50; font-size: .84rem; line-height: 1.45; }

/* Blocs (dates, commande, prix, coordonnées) */
.rc-block { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-bottom: 16px; }
.rc-block-title {
  font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
/* Lignes prix/commande réutilisées dans les blocs (mêmes styles que le récap latéral) */
.rc-block .line { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: .9rem; line-height: 1.45; margin-bottom: 11px; color: var(--muted); }
.rc-block .line span:first-child { flex: 0 1 auto; }
.rc-block .line span:last-child { flex: 1 1 auto; min-width: 0; text-align: right; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.rc-block .line span:last-child.recap-save { color: var(--green); }
.rc-block .recap-tag { display: inline-block; background: var(--teal); color: #fff; font-weight: 700; font-size: .66rem; padding: 2px 8px; border-radius: 20px; margin-left: 7px; vertical-align: middle; }
.rc-block .sep { border-top: 1px solid var(--line); margin: 14px 0; }
.rc-block .total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.rc-block .total span:last-child { color: var(--teal-dark); }
.rc-block .total-perday { text-align: right; color: var(--muted); font-size: .8rem; margin-top: 4px; }
.rc-block .muted-note { font-size: .85rem; color: var(--muted); margin: 0; }

/* Dates */
.rc-daterange { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; color: var(--ink); }
.rc-arrow { color: var(--teal); font-weight: 700; }
.rc-daysub { color: var(--muted); font-size: .85rem; margin-top: 5px; }

/* Commande : tête (produit + quantité) */
.rc-order-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.rc-order-name b { display: block; color: var(--ink); font-size: .98rem; }
.rc-order-name span { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.rc-order-qty {
  flex: 0 0 auto; min-width: 34px; height: 34px; padding: 0 10px; border-radius: 10px;
  background: var(--teal-soft); color: var(--teal-dark); font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}

/* Coordonnées : adresse en lecture seule + label facultatif */
#cust-address[readonly] { background: #f5f8f8; color: var(--muted); cursor: default; }
.lbl-opt { font-weight: 400; color: var(--muted); font-size: .85rem; }
.cgv-label { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; margin: 4px 0; font-size: .9rem; line-height: 1.5; color: var(--muted); }
.cgv-label input { width: auto; margin: 4px 0 0; }

/* Formulaire de paiement Stripe intégré (monté dans l'étape 6) */
#checkout-embed:not(:empty) { margin-top: 18px; }

/* Réassurance paiement */
.rc-trust { list-style: none; padding: 0; margin: 4px 0 18px; display: flex; flex-direction: row; gap: 20px; }
.rc-trust li { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--ink); font-weight: 600; }
.rc-trust svg { width: 18px; height: 18px; color: var(--green); flex: 0 0 auto; }

/* ---------- Confirmation ---------- */
.confirm-box { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 48px; text-align: center; max-width: 640px; margin: 60px auto; }
.confirm-box .check { width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; margin: 0 auto 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  /* Tunnel : une colonne. La sidebar éclate (display:contents) pour réordonner
     étapes (haut) → panneau → récap (bas). */
  .resa2-grid { grid-template-columns: 1fr; gap: 22px; }
  .resa2-side { display: contents; }
  .resa2-side-label { display: none; }
  .resa2-steps {
    order: 1; flex-direction: row; justify-content: space-between; gap: 4px;
    margin: 0 0 4px; position: sticky; top: 64px; z-index: 30;
    background: var(--bg); padding: 12px 0; border-bottom: 1px solid var(--line);
  }
  .resa2-steps .dot { padding: 0; gap: 0; }
  .resa2-steps .lbl { display: none; }
  .resa2-steps .num { width: 28px; height: 28px; font-size: .8rem; }
  .resa2-main { order: 2; max-width: 100%; }
  .resa2-recap { order: 3; }
  .prod-card { grid-template-columns: 1fr; }
  .prod-img { min-height: 180px; }
  .prod-img img { max-height: 200px; }
  /* Mobile : on garde « Appeler » + « Commander » visibles, on masque les liens d'info. */
  .nav { display: flex; align-items: center; gap: 10px; }
  .nav a { margin-left: 0; }
  .nav a:not(.nav-call):not(.btn) { display: none; }
  .hero::after { display: none; }
  .hero .wrap.hero-grid { padding: 0 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-left h1 { font-size: 2.5rem; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 26px; }
  .testimonial-video { max-width: 100%; }
  .testimonials-text h2 { font-size: 2rem; }
  .how-title { font-size: 2.1rem; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 32px 22px; }
  .tl-step::after { display: none; }
  .addr-form { flex-direction: column; align-items: stretch; }
  .addr-form .btn { width: 100%; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-aside { position: static; }
  .faq-aside .section-title { font-size: 1.7rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { justify-content: flex-start; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
}

/* Tunnel : ajustements petits écrans */
@media (max-width: 560px) {
  .resa2 { padding: 0 0 64px; }
  .resa2-eyebrow { margin-bottom: 12px; gap: 10px; }
  .resa2-back { width: 34px; height: 34px; }
  .resa2-h { font-size: 1.7rem; margin-bottom: 10px; }
  .step-panel .hint { font-size: .98rem; margin-bottom: 20px; }
  .resa2-actions { margin-top: 24px; }
  .resa2-actions .btn { width: 100%; }

  /* Adresse */
  .resa2-addr { gap: 10px; }
  .resa2-addr-icon { width: 44px; height: 44px; }
  .resa2-addr input { padding: 15px 16px; font-size: 1rem; }
  .addr-result { padding: 12px 14px; gap: 12px; }
  .addr-result .ar-icon { width: 38px; height: 38px; }
  .ar-fee { font-size: .85rem; }

  /* Étape 2 — carte produit */
  .qty-help { padding: 14px 16px; gap: 12px; }
  .qh-icon { width: 38px; height: 38px; }
  .prod-info { padding: 20px; }
  .prod-name { font-size: 1.45rem; }
  .prod-price { padding: 14px; }
  .pp-amounts b { font-size: 1.3rem; }
  .prod-selection { padding: 16px 18px; flex-wrap: wrap; gap: 4px 12px; }
  .ps-value { font-size: 1.1rem; }

  /* Modales plein écran light */
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal { max-width: 100%; max-height: 92vh; border-radius: 20px 20px 0 0; padding: 24px 20px 28px; }
  .modal-title { font-size: 1.35rem; }
  .place-card { padding: 14px 16px; }
  .place-card span { font-size: 1rem; }

  /* Étape 4 — mode de livraison + calendrier + créneaux */
  .delivery-mode { padding: 14px 16px; gap: 12px; }
  .dm-text b { font-size: .98rem; }
  .dm-amounts { font-size: 1.1rem; }
  .cal-head { padding: 12px 14px; }
  .cal-month { font-size: 1rem; }
  .cal-nav { width: 36px; height: 36px; }
  .cal-days { gap: 8px; padding: 14px; }
  .cal-day { width: 78px; padding: 12px 6px; }
  .cd-num { font-size: 1.3rem; }
  .slot { padding: 15px 18px; }
  .slot-time { font-size: 1rem; }

  /* Étape 5 — durées : 2 colonnes */
  .duration-cards { grid-template-columns: 1fr 1fr; }

  /* Récap en bas */
  .resa2-recap { padding: 18px; }

  /* Étape 2 — bandeau offert */
  .offer-banner { padding: 12px 14px; gap: 10px; }
  .offer-banner .ob-text b { font-size: .95rem; }
  .offer-banner .ob-text span { font-size: .8rem; }
}

/* ---------- Étape 2 : bandeau « kit de calfeutrage offert » ---------- */
.offer-banner {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, #1faa72, #15885a);
  color: #fff;
  border-radius: 12px;
  padding: 13px 16px;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(31, 157, 107, 0.25);
}
.offer-banner > svg { width: 24px; height: 24px; flex: 0 0 auto; }
.offer-banner .ob-text { line-height: 1.3; }
.offer-banner .ob-text b { display: block; font-size: 1rem; }
.offer-banner .ob-text span { font-size: .85rem; opacity: .92; }
.offer-banner .ob-free {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.22);
  padding: 4px 11px; border-radius: 999px;
  font-weight: 800; font-size: .78rem; letter-spacing: .5px;
  white-space: nowrap;
}
