/* =========================================================
   DEPANADOU – Design system
   Bleu logo / jaune mascotte / noir & or Groupe Laugil
   ========================================================= */
:root {
  --blue: #0b6fd6;
  --blue-600: #0a5cb3;
  --blue-900: #06244a;
  --cyan: #23b5e8;
  --sky: #e8f4ff;
  --yellow: #ffc61a;
  --yellow-600: #e6a800;
  --ink: #0a0f1a;
  --gold: #d4a84b;
  --paper: #f6f9fc;
  --white: #fff;
  --text: #1a2333;
  --muted: #55627a;

  --font-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 30px 60px -25px rgba(6, 36, 74, .35);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.02; letter-spacing: -.02em; margin: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 10px;
}
.skip-link:focus { top: 1rem; }

.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.container.narrow { max-width: 820px; }
.section { padding: clamp(5rem, 10vw, 9rem) 0; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--blue); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font: 700 1rem/1 var(--font-body);
  padding: 1rem 1.5rem; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--bg); color: var(--fg); text-decoration: none;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn::before { /* vague de remplissage au survol */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); transform: translateY(101%); border-radius: 40% 40% 0 0;
  transition: transform .5s var(--ease), border-radius .5s var(--ease);
}
@media (hover: hover) {
  .btn:hover::before { transform: translateY(0); border-radius: 0; }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(11, 111, 214, .6); color: #fff; }
}
.btn:active { transform: translateY(0) scale(.98); }
.btn-blue { --bg: var(--blue); }
.btn-yellow { --bg: var(--yellow); --fg: var(--ink); }
.btn-gold { --bg: linear-gradient(120deg, #f3d488, var(--gold) 50%, #a47a22); --fg: var(--ink); background: var(--bg); }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: .9rem 0;
  transition: background .4s, box-shadow .4s, padding .4s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(6, 36, 74, .08);
  padding: .5rem 0;
}
.header-inner {
  width: min(1400px, 100% - 2.5rem); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand-logo { width: clamp(150px, 15vw, 210px); height: auto; }
.main-nav ul { display: flex; gap: .25rem; list-style: none; }
.main-nav a {
  display: block; padding: .55rem .9rem; border-radius: 999px;
  font-weight: 600; text-decoration: none; color: var(--blue-900);
  transition: background .3s, color .3s;
}
.main-nav a:hover { background: var(--sky); color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.phone-pill {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 800; text-decoration: none; color: var(--blue);
  padding: .65rem 1rem; border-radius: 999px; background: var(--sky);
}
.btn-callback { padding: .75rem 1.2rem; white-space: nowrap; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  padding: clamp(7rem, 12vh, 9rem) 0 4rem;
  background:
    radial-gradient(1200px 600px at 85% 0%, rgba(35, 181, 232, .22), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none;
  animation: blob 18s ease-in-out infinite alternate;
}
.blob-a { width: 520px; height: 520px; background: var(--cyan); top: -120px; right: 18%; }
.blob-b { width: 420px; height: 420px; background: var(--yellow); bottom: -160px; left: -80px; opacity: .35; animation-delay: -6s; }
@keyframes blob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 40px) scale(1.15); }
  100% { transform: translate(40px, -30px) scale(.95); }
}

.hero-grid {
  position: relative; z-index: 2;
  width: min(1400px, 100% - 2.5rem); margin-inline: auto;
  display: grid; grid-template-columns: 1.25fr .7fr minmax(320px, 400px);
  grid-template-areas: "copy mascot form";
  align-items: start; gap: 2rem;
}
.hero-copy { grid-area: copy; padding-top: 2rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 700; font-size: .9rem; color: var(--blue-900);
  background: rgba(255, 255, 255, .7); border: 1px solid rgba(11, 111, 214, .15);
  padding: .45rem .9rem; border-radius: 999px; backdrop-filter: blur(8px);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #18c37e; box-shadow: 0 0 0 0 rgba(24, 195, 126, .6); animation: pulse 2s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(24, 195, 126, 0); } }

.hero-title {
  font-size: clamp(2.2rem, 4.2vw, 4.3rem); font-weight: 800;
  color: var(--blue-900); margin: 1.4rem 0 1.5rem;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.hero-title .accent {
  background: linear-gradient(100deg, var(--blue) 0%, var(--cyan) 45%, var(--blue) 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: -200% 0; } }
.scribble { font-style: normal; position: relative; white-space: nowrap; }
.scribble::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .02em; height: .22em; z-index: -1;
  background: var(--yellow); border-radius: 6px; transform: skew(-8deg) scaleX(var(--sx, 1)); transform-origin: left;
}
.hero-lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 34rem; color: var(--muted); }

.price-tag {
  display: inline-grid; grid-template-columns: auto auto; grid-template-rows: auto auto;
  column-gap: .4rem; align-items: end;
  margin: 1rem 0 1.6rem; padding: 1rem 1.4rem 1rem 1.2rem;
  background: var(--ink); color: #fff; border-radius: 22px;
  box-shadow: var(--shadow); transform: rotate(-2deg);
}
.price-label { grid-column: 1 / -1; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--yellow); font-weight: 700; }
.price-value { font: 800 3.4rem/1 var(--font-display); }
.price-cur { font-weight: 800; font-size: 1.1rem; padding-bottom: .4rem; }
.price-note { grid-column: 1 / -1; font-size: .82rem; color: #c8d3e6; line-height: 1.3; margin-top: .3rem; }

.hero-proofs { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; color: var(--muted); font-size: .95rem; }
.hero-proofs strong { color: var(--blue-900); }

.hero-mascot { grid-area: mascot; align-self: end; position: relative; }
.hero-mascot img { width: 100%; max-width: 360px; margin-inline: auto; filter: drop-shadow(0 30px 30px rgba(6, 36, 74, .25)); }

/* ---------- Formulaire (glassmorphism) ---------- */
.glass {
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(255, 255, 255, .8);
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: 0 40px 80px -30px rgba(6, 36, 74, .35), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.form-card { grid-area: form; border-radius: var(--radius); padding: 1.6rem; position: relative; }
.form-card::before { /* liseré dégradé animé */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--a, 0deg), var(--blue), var(--cyan), var(--yellow), var(--blue));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 6s linear infinite;
}
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }
.form-close { display: none; }
.form-title { font-size: 1.6rem; color: var(--blue-900); }
.form-title span { color: var(--blue); }
.form-sub { color: var(--muted); font-size: .92rem; margin: .4rem 0 1rem; }
.lead-form { display: grid; gap: .7rem; }
.field-row { display: grid; grid-template-columns: .8fr 1.2fr; gap: .6rem; }
.field label { display: block; font-size: .8rem; font-weight: 700; color: var(--blue-900); margin-bottom: .25rem; }
.field label span, .consent span span { color: #c62828; }
.field input {
  width: 100%; font: 500 1rem var(--font-body); color: var(--text);
  padding: .75rem .9rem; border-radius: 12px;
  border: 1.5px solid rgba(6, 36, 74, .14); background: rgba(255, 255, 255, .85);
  transition: border-color .25s, box-shadow .25s;
}
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 111, 214, .15); }
.field input[aria-invalid="true"] { border-color: #c62828; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; font-weight: 600; cursor: pointer; }
.consent input { width: 20px; height: 20px; accent-color: var(--blue); margin-top: .1rem; flex: none; }
.btn-submit { width: 100%; margin-top: .3rem; }
.form-msg { margin: 0; font-weight: 700; font-size: .92rem; min-height: 1.2em; }
.form-msg.ok { color: #0e8a55; }
.form-msg.err { color: #c62828; }
.form-legal { font-size: .75rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Bandeau défilant ---------- */
.marquee { background: var(--blue); color: #fff; overflow: hidden; padding: 1.1rem 0; transform: rotate(-1.5deg) scale(1.03); margin: -1rem 0; position: relative; z-index: 3; }
.marquee-track { display: flex; gap: 2rem; width: max-content; animation: marquee 30s linear infinite; font: 700 clamp(1.1rem, 2vw, 1.6rem) var(--font-display); white-space: nowrap; }
.marquee-track span:nth-child(even) { color: var(--yellow); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Titres de section ---------- */
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 48rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.kicker { font-weight: 800; text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; color: var(--blue); margin-bottom: 1rem; }
.section-title { font-size: clamp(2.2rem, 5vw, 4.2rem); color: var(--blue-900); font-weight: 800; }
.section-lead { color: var(--muted); font-size: 1.15rem; max-width: 36rem; margin-top: 1.2rem; }

/* Masquage de texte au scroll : le texte se « remplit » en bleu */
.mask-text {
  background: linear-gradient(90deg, var(--blue) 0 50%, rgba(6, 36, 74, .18) 50% 100%);
  background-size: 200% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Bento ---------- */
.bento {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(6, 1fr);
  grid-template-areas:
    "dep dep dep ent ent ent"
    "dep dep dep sel sel gar"
    "mar mar mar sel sel gar";
}
.bento-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2.4rem); background: #fff;
  border: 1px solid rgba(6, 36, 74, .07);
  box-shadow: 0 1px 2px rgba(6, 36, 74, .05);
  transition: box-shadow .5s var(--ease);
  transform-style: preserve-3d;
}
.bento-card:hover { box-shadow: var(--shadow); }
.bento-card h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); color: var(--blue-900); margin-bottom: .8rem; }
.bento-num { position: absolute; top: 1.2rem; right: 1.5rem; font: 800 4.5rem/1 var(--font-display); color: rgba(6, 36, 74, .06); }
.b-depannage { grid-area: dep; background: linear-gradient(150deg, var(--blue) 0%, var(--blue-900) 100%); color: #dbe9fb; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; }
.b-depannage h3 { color: #fff; font-size: clamp(2.4rem, 4vw, 3.8rem); }
.b-depannage .bento-num { color: rgba(255, 255, 255, .1); font-size: 9rem; }
.b-depannage::after { /* goutte décorative */
  content: ""; position: absolute; width: 280px; height: 280px; right: -60px; top: -60px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .35), rgba(35, 181, 232, .15) 60%, transparent 70%);
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
}
.bento-price { font-size: 1rem; margin: .5rem 0 1.4rem; color: #fff; }
.bento-price strong { font: 800 2.6rem var(--font-display); color: var(--yellow); margin-right: .2rem; }
.bento-price span { display: block; font-size: .9rem; color: #b8cfee; }
.link-arrow { font-weight: 800; color: var(--yellow); text-decoration: none; display: inline-flex; gap: .5rem; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(6px); }
.b-entretien { grid-area: ent; }
.bento-badge { display: inline-block; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: .85rem; padding: .45rem .8rem; border-radius: 999px; margin: 0; }
.b-sel { grid-area: sel; background: var(--sky); }
.sel-big strong { font: 800 3.4rem/1 var(--font-display); color: var(--blue); }
.sel-big span { font-weight: 700; color: var(--blue-900); }
.sel-bags { display: flex; align-items: flex-end; flex-wrap: wrap; gap: .35rem; margin-top: 1.2rem; }
.sel-bags img {
  width: 60px; height: auto; filter: drop-shadow(0 10px 8px rgba(6, 36, 74, .22));
  transform-origin: 50% 100%; transition: transform .45s var(--ease);
}
.sel-bags img:nth-child(2) { transform: rotate(3deg); }
.sel-bags img:nth-child(3) { transform: rotate(-2deg); }
.sel-bags img:hover { transform: translateY(-8px) rotate(-4deg) scale(1.06); }
.sel-free { margin-left: .5rem; padding-bottom: .4rem; font-weight: 800; font-size: .9rem; color: var(--blue); white-space: nowrap; }
.b-marques { grid-area: mar; background: var(--ink); color: #fff; }
.b-marques h3 { color: #fff; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { border: 1px solid rgba(255, 255, 255, .25); padding: .5rem 1rem; border-radius: 999px; font-weight: 600; }
.b-garantie { grid-area: gar; background: var(--yellow); display: flex; flex-direction: column; justify-content: space-between; }
.b-garantie h3 { font-size: 1.15rem; color: var(--ink); }
.big-stat { font: 800 clamp(4rem, 7vw, 6rem)/1 var(--font-display); color: var(--ink); margin: 0; }

/* ---------- Storytelling camion ---------- */
.van-story { height: 260vh; position: relative; background: var(--ink); color: #fff; }
.van-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; justify-items: center; align-content: start; padding-top: 16vh; }
.van-title { font-size: clamp(3rem, 9vw, 8.5rem); font-weight: 800; text-align: center; line-height: .9; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .25em; padding: 0 1rem; }
.van-word { display: inline-block; opacity: .12; }
.van-word.accent { color: var(--gold); }
.road { position: absolute; left: 0; right: 0; bottom: 14vh; height: 4px; overflow: hidden; }
.road span { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 40px, transparent 40px 80px); }
.van-figure { position: absolute; bottom: calc(14vh - 8px); left: 0; width: min(760px, 85vw); margin: 0; will-change: transform; }
.van-figure img { filter: drop-shadow(0 30px 20px rgba(0, 0, 0, .5)); }
.van-caption { position: absolute; bottom: 4vh; left: 50%; transform: translateX(-50%); width: min(560px, 90vw); text-align: center; color: #9aa7bd; margin: 0; }

/* ---------- Entretien / onglets ---------- */
.care { background: #fff; }
.care-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.tab-list { display: inline-flex; gap: .3rem; padding: .35rem; background: var(--sky); border-radius: 999px; margin-bottom: 1.5rem; flex-wrap: wrap; }
.tab-list button {
  border: 0; background: transparent; font: 700 .95rem var(--font-body); color: var(--blue-900);
  padding: .75rem 1.2rem; border-radius: 999px; cursor: pointer; transition: background .3s, color .3s;
}
.tab-list button[aria-selected="true"] { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(11, 111, 214, .7); }
.tab-panel { background: var(--paper); border-radius: var(--radius); padding: 2rem; border: 1px solid rgba(6, 36, 74, .06); }
.checklist { list-style: none; display: grid; gap: 1rem; }
.checklist li { display: flex; gap: .9rem; align-items: flex-start; font-size: 1.08rem; font-weight: 500; }
.checklist li::before {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; margin-top: .05rem;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='m9.5 16.2-4-4 1.4-1.4 2.6 2.6 7-7 1.4 1.4z'/%3E%3C/svg%3E") center/18px no-repeat;
}

/* ---------- Réseau ---------- */
.network { background: linear-gradient(180deg, var(--paper), #e3f2fc); overflow: hidden; }
.network-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.city-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.city-list li {
  background: #fff; border: 1px solid rgba(11, 111, 214, .14); color: var(--blue-900);
  padding: .45rem .85rem; border-radius: 999px; font-weight: 600; font-size: .92rem;
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.city-list li:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.map-figure { margin: 0; }
.map-figure img { border-radius: var(--radius); filter: drop-shadow(0 30px 40px rgba(6, 36, 74, .2)); }
.map-figure figcaption { text-align: center; color: var(--muted); font-size: .85rem; margin-top: .8rem; }

/* ---------- Pannes ---------- */
.issues-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.issue-card { background: #fff; border-radius: var(--radius); padding: 2rem; border: 1px solid rgba(6, 36, 74, .07); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.issue-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.issue-card h3 { font-size: 1.6rem; color: var(--blue); margin-bottom: 1rem; }
.issue-card ul { list-style: none; display: grid; gap: .55rem; }
.issue-card li { padding-left: 1.4rem; position: relative; }
.issue-card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--yellow); transform: rotate(45deg); }

/* ---------- Groupe Laugil ---------- */
.laugil { background: radial-gradient(800px 300px at 80% 0%, rgba(212, 168, 75, .25), transparent 60%), var(--ink); color: #fff; padding: clamp(4rem, 8vw, 7rem) 0; }
.laugil-inner { display: grid; gap: 1.5rem; justify-items: start; max-width: 60rem; }
.laugil-since { color: var(--gold); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; margin: 0; }
.laugil h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 700; }
.laugil h2 strong { background: linear-gradient(120deg, #f3d488, var(--gold), #a47a22); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .8rem; }
.faq details { background: #fff; border-radius: var(--radius-sm); border: 1px solid rgba(6, 36, 74, .08); overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 1.3rem 3.5rem 1.3rem 1.5rem; font-weight: 700; font-size: 1.1rem; color: var(--blue-900); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.4rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--blue); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.5rem 1.4rem; margin: 0; color: var(--muted); }

/* ---------- CTA final ---------- */
.final-cta { background: var(--blue); color: #fff; padding: clamp(4rem, 9vw, 8rem) 0; text-align: center; overflow: hidden; position: relative; }
.final-cta::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(closest-side, rgba(255, 198, 26, .35), transparent); }
.final-inner { position: relative; display: grid; justify-items: center; gap: 1.4rem; }
.final-cta h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); }
.final-cta h2 span { color: var(--yellow); }
.cta-phone { font: 800 clamp(2.6rem, 8vw, 6.5rem)/1 var(--font-display); text-decoration: none; letter-spacing: -.02em; transition: color .3s; }
.cta-phone:hover { color: var(--yellow); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #b6c2d6; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.footer-logo { background: #fff; border-radius: 14px; padding: .5rem .8rem; width: 220px; margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: .4rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-phone { font: 800 1.8rem var(--font-display); color: #fff; margin: 0; }
.small { font-size: .85rem; }
.copyright { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3rem; padding-top: 1.5rem; font-size: .85rem; }

/* ---------- États d'animation initiaux (seulement si JS + GSAP actifs) ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); }
.js .reveal-zoom { opacity: 0; transform: scale(.85); }

/* =================== Responsive =================== */
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr minmax(300px, 380px); grid-template-areas: "copy form" "mascot form"; }
  .hero-mascot { display: none; }
}
@media (max-width: 900px) {
  .phone-pill span { display: none; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy"; }
  /* Sur mobile, le formulaire devient un tiroir accessible via « Être rappelé » */
  .form-card {
    position: fixed; z-index: 100; inset: auto 0 0 0; max-height: 92svh; overflow-y: auto;
    border-radius: var(--radius) var(--radius) 0 0; background: rgba(255, 255, 255, .96);
    transform: translateY(105%); transition: transform .5s var(--ease); visibility: hidden;
  }
  .form-card.is-open { transform: translateY(0); visibility: visible; }
  .form-close { display: grid; place-items: center; position: absolute; top: .8rem; right: .8rem; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--sky); font-size: 1.6rem; color: var(--blue-900); cursor: pointer; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "dep dep" "ent ent" "sel gar" "mar mar"; }
  .b-depannage { min-height: 380px; }
  .care-grid, .network-grid { grid-template-columns: 1fr; }
  .issues-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .van-story { height: 200vh; }
}
@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "dep" "ent" "sel" "gar" "mar"; }
  .btn-callback { padding: .7rem 1rem; font-size: .9rem; }
}

/* Respect des préférences d'accessibilité */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-zoom { opacity: 1; transform: none; }
  .van-word { opacity: 1; }
  .van-figure { transform: translateX(5vw); }
  .mask-text { background-position: 0 0; }
}

/* =================== Page Mentions légales =================== */
.legal-hero {
  padding: clamp(7rem, 12vh, 9rem) 0 3rem;
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(35, 181, 232, .22), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}
.legal-grid {
  width: min(var(--container), 100% - 2.5rem); margin-inline: auto;
  display: grid; grid-template-columns: 1fr minmax(320px, 400px); gap: 3rem; align-items: start;
}
.breadcrumb ol { list-style: none; display: flex; gap: .5rem; font-size: .9rem; color: var(--muted); margin: 0 0 1.5rem; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.breadcrumb a { color: var(--blue); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.legal-title { font-size: clamp(2.8rem, 6vw, 5.2rem); font-weight: 800; color: var(--blue-900); }
.legal-title .accent {
  background: linear-gradient(100deg, var(--blue), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.legal-updated { color: var(--muted); margin-top: 1rem; }
.legal-toc ol {
  list-style: none; counter-reset: toc; padding: 0; margin: 2rem 0 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem;
}
.legal-toc li { counter-increment: toc; }
.legal-toc a {
  display: flex; gap: .7rem; align-items: center; text-decoration: none; font-weight: 600; color: var(--blue-900);
  background: rgba(255, 255, 255, .75); border: 1px solid rgba(11, 111, 214, .12);
  padding: .75rem 1rem; border-radius: 14px; transition: background .3s, color .3s, transform .3s var(--ease);
}
.legal-toc a::before { content: counter(toc, decimal-leading-zero); font: 800 .85rem var(--font-display); color: var(--blue); }
.legal-toc a:hover { background: var(--blue); color: #fff; transform: translateX(4px); }
.legal-toc a:hover::before { color: var(--yellow); }

.legal-body { padding: 2rem 0 6rem; }
.legal-article { max-width: 820px; }
.legal-article section {
  background: #fff; border: 1px solid rgba(6, 36, 74, .07); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.4rem); margin-bottom: 1.1rem; scroll-margin-top: 100px;
}
.legal-article h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--blue-900); margin-bottom: 1rem; }
.legal-article p:last-child { margin-bottom: 0; }
.legal-article ul { list-style: none; display: grid; gap: .7rem; }
.legal-article li { padding-left: 1.4rem; position: relative; }
.legal-article li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--yellow); transform: rotate(45deg); }
.legal-article a { color: var(--blue); font-weight: 600; }
.legal-dl { display: grid; grid-template-columns: minmax(160px, 220px) 1fr; gap: .6rem 1.5rem; margin: 0 0 1rem; }
.legal-dl dt { font-weight: 700; color: var(--blue-900); }
.legal-dl dd { margin: 0; }
.legal-back { margin-top: 2rem; }
.legal-back .btn { color: #fff; }
.copyright a { color: #fff; }

@media (max-width: 900px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-toc ol { grid-template-columns: 1fr; }
  .legal-dl { grid-template-columns: 1fr; gap: .1rem; }
  .legal-dl dd { margin-bottom: .7rem; }
}
.legal-grid .form-card { grid-area: auto; }

/* CTA sans numéro de téléphone */
.final-lead { color: #dbe9fb; font-size: 1.15rem; margin: 0; }
.btn-xl { font-size: 1.15rem; padding: 1.2rem 2rem; }
.footer-cta-title { font: 800 1.4rem var(--font-display); color: #fff; margin: 0 0 1rem; }

/* =================== Page Merci =================== */
.thanks-hero {
  padding: clamp(7rem, 12vh, 9rem) 0 3rem; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(35, 181, 232, .25), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(255, 198, 26, .18), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}
.thanks-grid {
  width: min(var(--container), 100% - 2.5rem); margin-inline: auto;
  display: grid; grid-template-columns: 1.4fr .8fr; gap: 3rem; align-items: center;
}
.thanks-check { display: block; margin-bottom: 1.5rem; }
.thanks-check circle { fill: #18c37e; transform-origin: center; animation: pop .6s var(--ease) both; }
.thanks-check path {
  fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .5s .45s var(--ease) forwards;
}
@keyframes pop { from { transform: scale(0); } 70% { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.thanks-title { font-size: clamp(2.4rem, 5vw, 4.6rem); font-weight: 800; color: var(--blue-900); animation: rise .9s .2s var(--ease) both; }
.thanks-title span { display: block; color: var(--blue); }
.thanks-lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--muted); margin: 1.2rem 0 .8rem; max-width: 36rem; animation: rise .9s .35s var(--ease) both; }
.thanks-ref { font-size: .95rem; color: var(--muted); }
.thanks-ref strong { color: var(--blue-900); font-family: ui-monospace, Consolas, monospace; background: var(--sky); padding: .15rem .5rem; border-radius: 8px; }
.thanks-card {
  margin-top: 1.8rem; max-width: 40rem; background: #fff; border: 1px solid rgba(6, 36, 74, .07);
  border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); animation: rise .9s .5s var(--ease) both;
}
.thanks-card h2 { font-size: 1.35rem; color: var(--blue-900); margin-bottom: 1.1rem; }
.thanks-mascot img { width: 100%; max-width: 340px; margin-inline: auto; filter: drop-shadow(0 30px 30px rgba(6, 36, 74, .25)); animation: float 3s ease-in-out infinite, rise 1s .3s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes float { 50% { translate: 0 -14px; } }

.thanks-steps { padding-top: 3rem; }
.thanks-steps .section-title { margin-bottom: 2.5rem; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; counter-reset: none; }
.steps li { background: #fff; border-radius: var(--radius); padding: 2rem; border: 1px solid rgba(6, 36, 74, .07); position: relative; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.steps li:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--yellow); color: var(--ink); font: 800 1.4rem var(--font-display); margin-bottom: 1.2rem; }
.steps h3 { font-size: 1.35rem; color: var(--blue-900); margin-bottom: .6rem; }
.steps p { color: var(--muted); margin: 0; }
.thanks-back { margin-top: 2.5rem; text-align: center; }
.thanks-back .btn { color: #fff; }

@media (max-width: 900px) {
  .thanks-grid { grid-template-columns: 1fr; }
  .thanks-mascot { display: none; }
  .steps { grid-template-columns: 1fr; }
}

/* Astérisque tarif + note départements */
.star { font-size: .55em; vertical-align: super; margin-left: .1em; color: var(--yellow); font-weight: 800; }
.bento-price .star { font-size: .8em; }
.price-footnote {
  font-size: .72rem; line-height: 1.45; color: var(--muted); max-width: 30rem;
  margin: -.6rem 0 1.2rem;
}
.price-footnote.on-dark { color: #9fb8dc; margin: 1.1rem 0 0; max-width: none; }
.entretien-price { margin: 0 0 1rem; color: var(--blue-900); font-weight: 700; }
.entretien-price strong { font: 800 2rem var(--font-display); color: var(--blue); }
.entretien-price .star { color: var(--blue); }

/* Volet mobile du formulaire : titre dégagé de la croix + fond assombri derrière */
@media (max-width: 900px) {
  .form-card .form-title { padding-right: 3rem; }
  .form-card.is-open { box-shadow: 0 0 0 100vmax rgba(6, 36, 74, .45), 0 -20px 40px -10px rgba(6, 36, 74, .3); }
}
