/* ==========================================================
   AMANA ASSURANCES — Feuille de style principale
   Charte chaleureuse : crème, beige, caramel, marron
   ========================================================== */

/* Polices hébergées sur le site (aucun appel à Google Fonts) — licence SIL OFL, voir fonts/ */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter.woff2") format("woff2"); }

:root {
  --ink: #3a271c;
  --anthracite: #5b4334;
  --grey: #9b8572;
  --grey-light: #dccbb8;
  --lime: #c99560;
  --lime-deep: #a4683a;
  --lime-soft: #f2e2cd;
  --paper: #fbf6ef;
  --white: #fffcf7;
  --line: rgba(91, 67, 52, .14);

  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -24px rgba(58, 39, 28, .35);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--anthracite);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.05;
  margin: 0 0 .5em;
  letter-spacing: -.02em;
}
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--lime); color: var(--ink); }

/* ---------- Préchargeur ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--paper);
  transition: clip-path 1s var(--ease-io);
  clip-path: ellipse(150% 150% at 50% 0%);
}
.loader.is-done { clip-path: ellipse(150% 0% at 50% 0%); pointer-events: none; }
.loader__inner { width: min(320px, 70vw); text-align: center; }
.loader__word {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(48px, 12vw, 84px); color: var(--anthracite);
  letter-spacing: -.03em; line-height: 1; display: flex; justify-content: center; overflow: hidden;
}
.loader__word span { display: inline-block; transform: translateY(110%); animation: rise .8s var(--ease-out) forwards; }
.loader__word span:nth-child(2) { animation-delay: .06s; }
.loader__word span:nth-child(3) { animation-delay: .12s; }
.loader__word span:nth-child(4) { animation-delay: .18s; }
.loader__word span:nth-child(5) { animation-delay: .24s; }
.loader__sub { font-family: var(--font-display); color: var(--grey); letter-spacing: .32em; font-size: 14px; margin-top: 6px; opacity: 0; animation: fadeIn .6s .45s forwards; }
.loader__swoosh path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1s .5s var(--ease-out) forwards; }

@keyframes rise { to { transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Transition de page ---------- */
.page-wipe {
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  background: var(--lime);
  clip-path: ellipse(150% 0% at 50% 100%);
  transition: clip-path .7s var(--ease-io);
}
.page-wipe.is-active { clip-path: ellipse(150% 150% at 50% 100%); }

/* ---------- En-tête ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s, box-shadow .4s, transform .5s var(--ease-out);
}
.header.is-scrolled { background: rgba(251, 246, 239, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__bar { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.header__logo img { height: 46px; width: auto; transition: transform .4s var(--ease-out); }
.header__logo:hover img { transform: scale(1.04) rotate(-1deg); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; padding: 10px 14px; font-weight: 500; font-size: 15px; color: var(--anthracite);
  border-radius: 999px; transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px;
  border-radius: 3px; background: var(--lime);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 600; }

.btn {
  --bg: var(--ink); --fg: var(--white);
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: 15px;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .4s var(--ease-out), color .4s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lime);
  border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease-out);
}
.btn:hover { color: var(--ink); transform: translateY(-2px); }
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn--lime { --bg: var(--lime); --fg: var(--ink); }
.btn--lime::before { background: var(--ink); }
.btn--lime:hover { color: var(--white); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--sm { padding: 10px 18px; font-size: 14px; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); position: relative; z-index: 120; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .45s var(--ease-out), opacity .3s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 29px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Menu mobile */
.mobile-menu {
  position: fixed; inset: 0; z-index: 110; background: var(--ink); color: var(--white);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 40px) 42px); transition: clip-path .8s var(--ease-io);
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 42px); }
.mobile-menu a {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 10vw, 56px); letter-spacing: -.03em;
  display: block; padding: 6px 0; opacity: 0; transform: translateY(30px);
  transition: opacity .5s, transform .6s var(--ease-out), color .3s;
}
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { color: var(--lime); }
.menu-open .mobile-menu a { opacity: 1; transform: none; }
.menu-open .mobile-menu a:nth-child(1) { transition-delay: .25s; }
.menu-open .mobile-menu a:nth-child(2) { transition-delay: .3s; }
.menu-open .mobile-menu a:nth-child(3) { transition-delay: .35s; }
.menu-open .mobile-menu a:nth-child(4) { transition-delay: .4s; }
.menu-open .mobile-menu a:nth-child(5) { transition-delay: .45s; }
.mobile-menu__foot { margin-top: 40px; color: var(--grey-light); font-size: 15px; opacity: 0; transition: opacity .5s .55s; }
.menu-open .mobile-menu__foot { opacity: 1; }
.menu-open { overflow: hidden; }

/* ---------- Héros ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero--page { min-height: 72svh; padding-top: 150px; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--anthracite);
  padding: 8px 16px 8px 10px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line);
  margin-bottom: 28px;
}
.eyebrow .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(201, 149, 96, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(201, 149, 96, 0); } 100% { box-shadow: 0 0 0 0 rgba(201, 149, 96, 0); } }

.hero__title { font-size: clamp(42px, 6.2vw, 92px); font-weight: 800; letter-spacing: -.045em; margin-bottom: 28px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease-out); }
.is-loaded .hero__title .line > span { transform: none; }
.is-loaded .hero__title .line:nth-child(2) > span { transition-delay: .08s; }
.is-loaded .hero__title .line:nth-child(3) > span { transition-delay: .16s; }
.hero__title em { font-style: normal; color: var(--grey); }
.hl { position: relative; display: inline-block; z-index: 0; }
.hl svg { position: absolute; left: -2%; width: 104%; bottom: -.12em; height: .35em; z-index: -1; overflow: visible; }
.hl svg path { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.2s .9s var(--ease-out); }
.is-loaded .hl svg path, .hl.is-in svg path { stroke-dashoffset: 0; }

.hero__lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 540px; color: var(--anthracite); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.is-loaded .fade-up { opacity: 1; transform: none; }
.is-loaded .fade-up.d1 { transition-delay: .35s; }
.is-loaded .fade-up.d2 { transition-delay: .5s; }
.is-loaded .fade-up.d3 { transition-delay: .65s; }
.is-loaded .fade-up.d4 { transition-delay: .8s; }

/* Grand arc animé (reprise du sourire du logo) */
.hero__arc { position: absolute; left: -10%; width: 120%; max-width: none; bottom: -3vw; z-index: 1; pointer-events: none; }
.hero__arc path { stroke-dasharray: 2600; stroke-dashoffset: 2600; transition: stroke-dashoffset 2.2s .4s var(--ease-out); }
.is-loaded .hero__arc path { stroke-dashoffset: 0; }

.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: 0; pointer-events: none; will-change: transform; }
.blob--1 { width: 480px; height: 480px; background: var(--lime-soft); top: -120px; right: -120px; animation: float 14s ease-in-out infinite; }
.blob--2 { width: 340px; height: 340px; background: #ead7c0; bottom: 10%; left: -120px; animation: float 18s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -40px) scale(1.06); } 66% { transform: translate(-20px, 20px) scale(.96); } }

/* Visuel « bouclier » du héros */
.hero__visual { position: relative; aspect-ratio: 1; max-width: 480px; justify-self: center; width: 100%; }
.orbit { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed var(--grey-light); animation: spin 40s linear infinite; }
.orbit--2 { inset: 14%; border-style: solid; border-color: var(--line); animation-duration: 28s; animation-direction: reverse; }
.orbit__dot { position: absolute; top: -9px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 6px rgba(201, 149, 96, .25); }
.orbit--2 .orbit__dot { background: var(--anthracite); box-shadow: 0 0 0 6px rgba(91, 67, 52, .15); width: 12px; height: 12px; margin-left: -6px; top: -6px; }
@keyframes spin { to { transform: rotate(360deg); } }
.shield { position: absolute; inset: 24%; display: grid; place-items: center; }
.shield svg { width: 100%; height: 100%; filter: drop-shadow(0 30px 40px rgba(58, 39, 28, .25)); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-14px); } }
.shield .check { stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset 1s 1.4s var(--ease-out); }
.is-loaded .shield .check { stroke-dashoffset: 0; }

.chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--white); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow);
  font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap;
  opacity: 0; transform: scale(.6); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out);
}
.chip__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--lime-soft); color: var(--anthracite); }
.chip__icon svg { width: 20px; height: 20px; }
.chip small { display: block; font-weight: 500; color: var(--grey); font-size: 12px; }
.is-loaded .chip { opacity: 1; transform: none; }
.chip--a { top: 8%; left: -6%; transition-delay: 1.1s; animation: bob 7s 1s ease-in-out infinite; }
.chip--b { bottom: 18%; right: -8%; transition-delay: 1.3s; animation: bob 8s 2s ease-in-out infinite; }
.chip--c { bottom: 2%; left: 6%; transition-delay: 1.5s; animation: bob 9s ease-in-out infinite; }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); }
.scroll-hint i { width: 24px; height: 38px; border: 1.5px solid var(--grey); border-radius: 14px; position: relative; }
.scroll-hint i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--anthracite); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Fil d'Ariane (pages internes) */
.crumbs { font-size: 14px; color: var(--grey); margin-bottom: 18px; display: flex; gap: 8px; }
.crumbs a:hover { color: var(--ink); }

/* ---------- Bandeau défilant ---------- */
.marquee { background: var(--ink); color: var(--white); padding: 22px 0; overflow: hidden; position: relative; transform: rotate(-1.5deg); margin: -10px -2vw 0; z-index: 3; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; gap: 48px; font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3vw, 34px); letter-spacing: -.02em; white-space: nowrap; }
.marquee__item::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--lime); }
.marquee__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--grey-light); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section--tint { background: var(--white); }
.section--dark { background: var(--ink); color: var(--grey-light); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: clamp(40px, 6vw, 70px); flex-wrap: wrap; }
.section__head > div { max-width: 640px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--lime-deep); margin-bottom: 18px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--dark .kicker { color: var(--lime); }
.h2 { font-size: clamp(34px, 5vw, 64px); font-weight: 800; letter-spacing: -.035em; }
.h2 em { font-style: normal; color: var(--grey); }
.lead { font-size: 19px; max-width: 560px; }

/* Révélation au défilement */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="scale"] { transform: scale(.9); }
[data-reveal].is-in { opacity: 1; transform: none; }

.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease-out); transition-delay: calc(var(--i) * 45ms); }
.split-words.is-in .w > span { transform: none; }

/* ---------- Cartes univers (accueil) ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.universe {
  position: relative; border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); min-height: 460px;
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; isolation: isolate;
  background: var(--white); box-shadow: 0 0 0 1px var(--line);
  transition: transform .6s var(--ease-out), box-shadow .6s;
}
.universe--dark { background: var(--anthracite); color: var(--grey-light); }
.universe--dark h3 { color: var(--white); }
.universe:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.universe::before {
  content: ""; position: absolute; z-index: -1; width: 160%; aspect-ratio: 1; left: -30%; top: 100%;
  border-radius: 50%; background: var(--lime); transition: top .9s var(--ease-out);
}
.universe:hover::before { top: 55%; }
.universe__num { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--grey); }
.universe h3 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -.035em; }
.universe ul { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.universe li { padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); background: rgba(255, 255, 255, .5); transition: background .3s; }
.universe--dark li { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .05); }
.universe__cta { display: flex; align-items: center; justify-content: space-between; font-weight: 600; color: var(--ink); }
.universe--dark .universe__cta { color: var(--white); }
.universe:hover .universe__cta { color: var(--ink); }
.arrow-circle { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--white); transition: transform .6s var(--ease-out), background .4s; }
.universe--dark .arrow-circle { background: var(--lime); color: var(--ink); }
.universe:hover .arrow-circle { transform: rotate(-45deg) scale(1.08); background: var(--ink); color: var(--lime); }
.arrow-circle svg { width: 24px; height: 24px; }
.universe__icon { position: absolute; right: clamp(20px, 3vw, 40px); top: clamp(20px, 3vw, 40px); width: 90px; height: 90px; color: var(--lime-deep); opacity: .9; transition: transform .8s var(--ease-out); }
.universe--dark .universe__icon { color: var(--lime); }
.universe:hover .universe__icon { transform: rotate(-8deg) scale(1.1); }

/* ---------- Chiffres / atouts ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.stat { padding: 36px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .12); }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(48px, 6vw, 80px); color: var(--white); letter-spacing: -.04em; line-height: 1; }
.stat__num sup { color: var(--lime); font-size: .45em; vertical-align: top; margin-left: 4px; }
.stat p { margin-top: 12px; font-size: 15px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { padding: 36px 30px; border-radius: var(--radius); background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--ease-out), box-shadow .5s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature__icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--lime-soft); color: var(--anthracite); margin-bottom: 26px; transition: transform .6s var(--ease-out), background .4s; }
.feature:hover .feature__icon { transform: rotate(-10deg) scale(1.08); background: var(--lime); }
.feature__icon svg { width: 30px; height: 30px; }
.feature h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.feature p { margin: 0; font-size: 16px; }

/* Icônes au tracé animé */
.draw-icon path, .draw-icon circle, .draw-icon rect, .draw-icon polyline, .draw-icon line {
  stroke-dasharray: 160; stroke-dashoffset: 160; transition: stroke-dashoffset 1.4s var(--ease-out);
}
.is-in .draw-icon path, .is-in .draw-icon circle, .is-in .draw-icon rect, .is-in .draw-icon polyline, .is-in .draw-icon line,
.draw-icon.is-in path, .draw-icon.is-in circle, .draw-icon.is-in rect, .draw-icon.is-in polyline, .draw-icon.is-in line { stroke-dashoffset: 0; }

/* ---------- Grille d'offres (pages Particuliers / Pros) ---------- */
.offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.offer {
  --mx: 50%; --my: 50%;
  position: relative; padding: 34px 28px 30px; border-radius: var(--radius); background: var(--white);
  box-shadow: 0 0 0 1px var(--line); overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease-out), box-shadow .5s; transform-style: preserve-3d;
  display: flex; flex-direction: column;
}
.offer::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(201, 149, 96, .28), transparent 60%);
}
.offer:hover { box-shadow: var(--shadow); }
.offer:hover::after { opacity: 1; }
.offer__icon { width: 64px; height: 64px; color: var(--anthracite); margin-bottom: 26px; }
.offer__icon svg { width: 100%; height: 100%; }
.offer h3 { font-size: 24px; font-weight: 700; letter-spacing: -.025em; margin-bottom: 10px; }
.offer p { font-size: 15.5px; margin-bottom: 18px; }
.offer ul { list-style: none; padding: 0; margin: 0 0 22px; font-size: 14.5px; }
.offer li { display: flex; gap: 10px; padding: 5px 0; }
.offer li::before { content: ""; flex: 0 0 auto; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: var(--lime-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%235b4334' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.offer__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ink); }
.offer__link svg { width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.offer:hover .offer__link svg { transform: translateX(5px); }
.offer__tag { position: absolute; top: 22px; right: 22px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--lime); color: var(--ink); }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps__line { position: absolute; top: 31px; left: 32px; right: 32px; height: 2px; background: var(--line); }
.steps__line span { display: block; height: 100%; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease-out); }
.steps.is-in .steps__line span { transform: scaleX(1); }
.section--dark .steps__line { background: rgba(255, 255, 255, .12); }
.step { position: relative; }
.step__n { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--lime); font-family: var(--font-display); font-weight: 800; font-size: 22px; margin-bottom: 24px; position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--paper); }
.section--dark .step__n { background: var(--lime); color: var(--ink); box-shadow: 0 0 0 8px var(--ink); }
.section--tint .step__n { box-shadow: 0 0 0 8px var(--white); }
.step h3 { font-size: 21px; font-weight: 700; }
.step p { font-size: 15.5px; }

/* ---------- Bloc CTA ---------- */
.cta {
  position: relative; border-radius: calc(var(--radius) * 1.5); background: var(--lime); color: var(--ink);
  padding: clamp(40px, 7vw, 90px); overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center;
}
.cta h2 { font-size: clamp(32px, 4.6vw, 60px); font-weight: 800; letter-spacing: -.035em; }
.cta p { font-size: 18px; max-width: 520px; margin: 0; }
.cta__actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta__ring { position: absolute; z-index: -1; border-radius: 50%; border: 2px solid rgba(58, 39, 28, .12); animation: spin 30s linear infinite; }
.cta__ring--1 { width: 520px; height: 520px; right: -160px; top: -200px; border-style: dashed; }
.cta__ring--2 { width: 320px; height: 320px; right: -40px; bottom: -180px; }
.tel { white-space: nowrap; font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 12px; }
.tel svg { width: 30px; height: 30px; animation: ring 3s infinite; transform-origin: 50% 50%; }
@keyframes ring { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(-14deg); } 88% { transform: rotate(12deg); } 92% { transform: rotate(-8deg); } 96% { transform: rotate(5deg); } }

/* ---------- Horaires ---------- */
.hours { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; padding: 10px 16px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line); margin-bottom: 24px; font-size: 15px; }
.status i { width: 10px; height: 10px; border-radius: 50%; background: var(--grey); }
.status.is-open i { background: #5fb35a; box-shadow: 0 0 0 0 rgba(95, 179, 90, .6); animation: pulseGreen 2s infinite; }
.status.is-closed i { background: #d0675b; }
@keyframes pulseGreen { 70% { box-shadow: 0 0 0 9px rgba(95, 179, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 179, 90, 0); } }
.table-hours { width: 100%; border-collapse: collapse; font-size: 16px; }
.table-hours td { padding: 16px 0; border-bottom: 1px solid var(--line); }
.table-hours td:last-child { text-align: right; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.table-hours tr.is-today td { color: var(--ink); }
.table-hours tr.is-today td:first-child { font-weight: 700; }
.table-hours tr.is-today td:first-child::after { content: "Aujourd'hui"; margin-left: 10px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--lime); }
.table-hours .closed { color: var(--grey) !important; font-weight: 500 !important; }

.map { border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); aspect-ratio: 4 / 3; background: var(--grey-light); position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05); transition: filter .6s; }
.map:hover iframe { filter: none; }

/* ---------- Partenaires ---------- */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logo-slot {
  aspect-ratio: 3 / 2; border-radius: var(--radius-sm); background: var(--white); box-shadow: 0 0 0 1px var(--line);
  display: grid; place-items: center; padding: 20px; text-align: center;
  font-family: var(--font-display); font-weight: 700; color: var(--grey); font-size: 15px;
  transition: transform .5s var(--ease-out), box-shadow .5s, color .4s;
}
.logo-slot:hover { transform: translateY(-5px) scale(1.02); box-shadow: var(--shadow); color: var(--ink); }
.logo-slot img { max-height: 60px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .4s, opacity .4s; }
.logo-slot:hover img { filter: none; opacity: 1; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.pillar { padding: 40px 32px 0 0; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--line); }
.pillar__n { font-family: var(--font-display); font-weight: 800; font-size: 64px; letter-spacing: -.04em; color: var(--lime); line-height: 1; margin-bottom: 18px; }
.pillar h3 { font-size: 24px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 70px); align-items: start; }
.info-list { display: grid; gap: 14px; }
.info { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: var(--radius-sm); background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: transform .4s var(--ease-out), box-shadow .4s; }
.info:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.info__icon { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--lime-soft); color: var(--anthracite); }
.info__icon svg { width: 24px; height: 24px; }
.info h3 { font-size: 15px; font-family: var(--font-body); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); margin-bottom: 4px; }
.info p { margin: 0; color: var(--ink); font-weight: 500; }
.info small { color: var(--grey); }

.form { background: var(--white); border-radius: calc(var(--radius) * 1.2); padding: clamp(26px, 4vw, 48px); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.form h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; margin-bottom: 16px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
  border: 1.5px solid transparent; border-radius: var(--radius-sm); padding: 24px 16px 10px; outline: none;
  transition: border-color .3s, background .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%235b4334' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; padding-right: 44px; }
.field label { position: absolute; left: 17px; top: 17px; font-size: 16px; color: var(--grey); pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease-out), color .3s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--lime-deep); background: var(--white); box-shadow: 0 0 0 4px rgba(201, 149, 96, .25); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-10px) scale(.75); color: var(--anthracite); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #d0675b; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.segmented { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label { padding: 10px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 15px; font-weight: 500; cursor: pointer; transition: background .3s, box-shadow .3s, color .3s; }
.segmented input:checked + label { background: var(--ink); color: var(--white); box-shadow: none; }
.segmented input:focus-visible + label { outline: 2px solid var(--lime-deep); outline-offset: 2px; }
.consent { display: flex; gap: 12px; font-size: 14px; color: var(--grey); margin: 6px 0 22px; align-items: flex-start; }
.consent input { margin-top: 4px; accent-color: var(--anthracite); width: 18px; height: 18px; flex: 0 0 auto; }
.form__success { display: none; text-align: center; padding: 40px 10px; }
.form__success svg { width: 90px; height: 90px; margin: 0 auto 20px; }
.form__success circle, .form__success path { stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 1.2s var(--ease-out) forwards; }
.form__success path { animation-delay: .5s; }
.form.is-sent .form__body { display: none; }
.form.is-sent .form__success { display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 50px 26px 0; position: relative; font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2vw, 22px); color: var(--ink); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; background: var(--lime-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%233a271c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat; transition: transform .5s var(--ease-out), background-color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--lime); }
.faq .faq__body { overflow: hidden; }
.faq .faq__body p { padding-bottom: 24px; margin: 0; max-width: 720px; }

/* ---------- Pied de page ---------- */
.footer { background: var(--ink); color: var(--grey-light); padding: 100px 0 40px; position: relative; overflow: hidden; }
.footer__big { font-family: var(--font-display); font-weight: 800; font-size: clamp(60px, 15vw, 220px); letter-spacing: -.06em; line-height: .85; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .14); white-space: nowrap; margin-bottom: 60px; user-select: none; }
.footer__big span { color: var(--lime); -webkit-text-stroke: 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer h4 { color: var(--white); font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--lime); }
.footer__logo { background: var(--white); border-radius: 16px; padding: 14px 18px; display: inline-block; margin-bottom: 22px; }
.footer__logo img { height: 42px; width: auto; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 30px; font-size: 13px; color: var(--grey); }
.footer__legal { max-width: 760px; font-size: 13px; line-height: 1.6; color: var(--grey); margin-top: 30px; }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--ink); color: var(--lime); display: grid; place-items: center; opacity: 0; transform: translateY(20px) scale(.8); transition: opacity .4s, transform .5s var(--ease-out); box-shadow: var(--shadow); }
.to-top.is-visible { opacity: 1; transform: none; }
.to-top svg { width: 22px; height: 22px; position: relative; z-index: 1; }
.to-top .progress { position: absolute; inset: 0; transform: rotate(-90deg); width: 100%; height: 100%; }
.to-top .progress circle { stroke: var(--lime); stroke-width: 2.5; fill: none; stroke-dasharray: 157; stroke-dashoffset: 157; }

/* Curseur personnalisé (pointeur fin uniquement) */
.cursor { position: fixed; top: 0; left: 0; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1.5px solid var(--anthracite); pointer-events: none; z-index: 1001; transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background .3s, border-color .3s, opacity .3s; opacity: 0; mix-blend-mode: multiply; }
.cursor.is-visible { opacity: 1; }
.cursor.is-hover { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: var(--lime); border-color: var(--lime); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav, .header .btn--header { display: none; }
  .burger { display: block; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 380px; margin-top: 10px; }
  .features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps__line { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .duo, .hours, .contact-grid, .cta { grid-template-columns: 1fr; }
  .universe { min-height: 400px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar { padding-left: 0; border-left: 0; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .chip--a { left: 0; } .chip--b { right: 0; }
}
@media (max-width: 560px) {
  .header__bar { height: 72px; }
  .header__logo img { height: 38px; }
  .features, .steps, .form__row, .footer__grid { grid-template-columns: 1fr; }
  .form__row { gap: 0; }
  .hero__visual { max-width: 300px; }
  .chip { font-size: 12.5px; padding: 9px 12px; }
  .chip__icon { width: 28px; height: 28px; }
  .scroll-hint { display: none; }
  .stat { padding-right: 12px; }
  .stat + .stat { padding-left: 12px; }
}

/* Accessibilité : mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .cursor { display: none; }
}

/* ---------- Devis en ligne (questionnaire) ---------- */
.hero--compact { min-height: auto; padding-bottom: 90px; }
.wiz-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.wiz { background: var(--white); border-radius: calc(var(--radius) * 1.2); box-shadow: 0 0 0 1px var(--line), var(--shadow); overflow: hidden; }
.wiz__top { padding: 22px clamp(22px, 4vw, 44px) 0; }
.wiz__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-bottom: 12px; }
.wiz__product { color: var(--lime-deep); }
.wiz__bar { height: 6px; border-radius: 6px; background: var(--paper); overflow: hidden; }
.wiz__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--lime-deep), var(--lime)); transition: width .8s var(--ease-out); }
.wiz__panel { padding: clamp(24px, 4vw, 44px); }
.wiz__panel.is-fwd { animation: wizIn .6s var(--ease-out); }
.wiz__panel.is-back { animation: wizBack .6s var(--ease-out); }
@keyframes wizIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes wizBack { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
.wiz__title { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 6px; }
.wiz__sub { color: var(--grey); margin-bottom: 24px; }

.wseg { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); margin-top: 14px; }
.wseg__btn { border: 0; background: transparent; padding: 10px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--anthracite); transition: background .35s, color .35s; }
.wseg__btn.is-on { background: var(--ink); color: var(--white); }
.wprod { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.wprod__card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px 18px; border: 0; border-radius: var(--radius-sm); background: var(--paper); box-shadow: inset 0 0 0 1.5px transparent; text-align: left; font-weight: 600; font-size: 15.5px; color: var(--ink); transition: transform .4s var(--ease-out), box-shadow .3s, background .3s; animation: wizIn .6s var(--ease-out) backwards; animation-delay: calc(var(--i) * 40ms); }
.wprod__card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px var(--lime-deep); background: var(--white); }
.wprod__card.is-on { background: var(--lime); box-shadow: none; }
.wprod__icon { width: 44px; height: 44px; color: var(--anthracite); }
.wprod__icon svg { width: 100%; height: 100%; }

.wq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.wq { grid-column: 1 / -1; min-width: 0; border: 0; padding: 0; margin: 0; }
.wq--half { grid-column: span 1; }
.wq__label { display: block; font-weight: 600; color: var(--ink); font-size: 15.5px; margin-bottom: 10px; padding: 0; }
.wq__label em { font-style: normal; font-weight: 500; color: var(--grey); font-size: 13px; margin-left: 4px; }
.wq__help { display: block; font-size: 13.5px; color: var(--grey); margin: -6px 0 10px; }
.wq__ctrl { position: relative; }
.wq__ctrl input, .wq__ctrl select, .wq__ctrl textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
  border: 1.5px solid transparent; border-radius: var(--radius-sm); padding: 14px 16px; outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.wq__ctrl select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%235b4334' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; padding-right: 44px; }
.wq__ctrl input:focus, .wq__ctrl select:focus, .wq__ctrl textarea:focus { border-color: var(--lime-deep); background: var(--white); box-shadow: 0 0 0 4px rgba(201, 149, 96, .25); }
.wq__ctrl.has-unit input { padding-right: 56px; }
.wq__unit { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--grey); font-weight: 600; font-size: 14px; pointer-events: none; }
.wq__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.wopt { display: inline-flex; align-items: center; gap: 10px; border: 0; padding: 11px 18px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 15px; font-weight: 500; color: var(--anthracite); transition: background .3s, box-shadow .3s, color .3s, transform .3s var(--ease-out); }
.wopt:hover { box-shadow: inset 0 0 0 1.5px var(--anthracite); transform: translateY(-1px); }
.wopt.is-on { background: var(--ink); color: var(--white); box-shadow: none; }
.wopt__box { width: 16px; height: 16px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px currentColor; flex: 0 0 auto; position: relative; }
.wopt.is-on .wopt__box { background: var(--lime); box-shadow: none; }
.wopt.is-on .wopt__box::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.wq__opts--level { display: grid; grid-template-columns: repeat(4, 1fr); }
.wq__opts--level .wopt { justify-content: center; border-radius: 12px; position: relative; overflow: hidden; }
.wq__opts--level .wopt::before { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: calc(var(--lv) * 25%); background: var(--lime); }
.wq__err { display: none; color: #c0503f; font-size: 13.5px; font-weight: 500; margin-top: 8px; }
.wq.is-invalid .wq__err { display: block; }
.wq.is-invalid input, .wq.is-invalid select, .wq.is-invalid textarea { border-color: #d0675b; }
.wq.is-invalid .wq__opts, .wq.is-invalid .wq__ctrl { animation: shake .4s; }
.wq.is-invalid .wopt { box-shadow: inset 0 0 0 1.5px rgba(208, 103, 91, .6); }
.wq--consent { display: flex; flex-wrap: wrap; gap: 12px; font-size: 14px; color: var(--grey); align-items: flex-start; }
.wq--consent > span:first-of-type { flex: 1; }
.wq--consent input { margin-top: 3px; accent-color: var(--anthracite); width: 18px; height: 18px; flex: 0 0 auto; }
.wq--consent .wq__err { flex-basis: 100%; margin-top: 0; }

.wnav { display: flex; justify-content: space-between; gap: 12px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.wlink { border: 0; background: none; padding: 0; font-weight: 600; font-size: 14px; color: var(--lime-deep); text-decoration: underline; text-underline-offset: 3px; }
.wrecap { display: grid; gap: 14px; }
.wrecap__block { background: var(--paper); border-radius: var(--radius-sm); padding: 18px 20px; }
.wrecap__block header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.wrecap__block h4 { margin: 0; font-size: 17px; }
.wrecap dl { margin: 0; display: grid; gap: 6px; }
.wrecap dl div { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; font-size: 14.5px; padding: 6px 0; border-top: 1px solid var(--line); }
.wrecap dt { color: var(--grey); }
.wrecap dd { margin: 0; color: var(--ink); font-weight: 600; }
.wdone { text-align: center; padding: 20px 0; }
.wdone svg { width: 96px; height: 96px; margin: 0 auto 20px; }
.wdone circle, .wdone path { stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 1.2s var(--ease-out) forwards; }
.wdone path { animation-delay: .5s; }
.wdone h3 { font-size: 30px; }
.wdone p { max-width: 520px; margin: 0 auto 12px; }
.wdone__alt { font-size: 14.5px; color: var(--grey); }
.wdone__alt a { color: var(--ink); font-weight: 600; }

.wiz-aside { display: grid; gap: 16px; position: sticky; top: 100px; }
.wiz-card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: 0 0 0 1px var(--line); font-size: 15px; }
.wiz-card h4 { font-size: 18px; margin-bottom: 12px; }
.wiz-card ul { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.wiz-card li { display: flex; gap: 10px; }
.wiz-card li::before { content: ""; flex: 0 0 auto; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: var(--lime); }
.wiz-card p { margin: 0; color: var(--grey); font-size: 14px; }
.wiz-card--dark { background: var(--ink); color: var(--grey-light); box-shadow: none; }
.wiz-card--dark h4 { color: var(--white); }
.wiz-card--dark .tel { color: var(--white); font-size: 24px; margin: 6px 0 12px; }
.wiz-card--dark .status { background: rgba(255, 255, 255, .06); box-shadow: none; color: var(--white); margin: 0; }

@media (max-width: 980px) {
  .wiz-layout { grid-template-columns: 1fr; }
  .wiz-aside { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wq-grid { grid-template-columns: 1fr; }
  .wq--half { grid-column: 1 / -1; }
  .wq__opts--level { grid-template-columns: 1fr 1fr; }
  .wiz-aside { grid-template-columns: 1fr; }
  .wrecap dl div { grid-template-columns: 1fr; gap: 2px; }
  .wnav .btn { flex: 1; justify-content: center; }
}
.menu-open .mobile-menu a:nth-child(6) { transition-delay: .5s; }
.wiz__title + .wq-grid, .wiz__title + .wseg { margin-top: 18px; }

/* ==========================================================
   THÈME CHALEUREUX — dégradés crème, beige, caramel, marron
   ========================================================== */
:root {
  --grad-warm: linear-gradient(135deg, #f1dcc0 0%, #d9a978 45%, #a4683a 100%);
  --grad-caramel: linear-gradient(135deg, #d9a978 0%, #b97a46 100%);
  --grad-cream: linear-gradient(180deg, #fdf9f3 0%, #f5e9da 100%);
  --grad-dark: linear-gradient(140deg, #5b3c2a 0%, #3a271c 55%, #2a1b13 100%);
  --grad-text: linear-gradient(100deg, #b97a46 0%, #d9a978 50%, #8a5532 100%);
}
body { background: var(--paper); }

/* Titres : serif chaleureuse */
h1, h2, h3, h4, .hero__title, .h2, .universe h3, .cta h2, .wiz__title, .loader__word, .footer__big, .stat__num, .pillar__n, .tel, .step__n, .marquee__item {
  font-weight: 600; letter-spacing: -.02em;
}
.hero__title { letter-spacing: -.03em; font-weight: 600; }
.hero__title em, .h2 em {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic; padding-right: .06em;
}

/* Fonds dégradés */
.hero { background:
  radial-gradient(60% 70% at 85% 10%, rgba(217, 169, 120, .28), transparent 70%),
  radial-gradient(50% 60% at 0% 90%, rgba(164, 104, 58, .12), transparent 70%),
  var(--grad-cream); }
.blob--1 { background: #ecc9a0; }
.blob--2 { background: #e5cdb1; }
.section--tint { background: linear-gradient(180deg, #fffcf7 0%, #f8eee2 100%); }
.section--dark, .marquee, .footer, .wiz-card--dark { background: var(--grad-dark); }
.universe--dark { background: linear-gradient(150deg, #7a5440 0%, #4a3123 100%); }
.universe::before { background: var(--grad-warm); }
.cta { background: var(--grad-warm); }
.btn--lime { --bg: transparent; background: var(--grad-caramel); color: #fffcf7; }
.btn--lime::before { background: var(--ink); }
.btn--lime:hover { color: #fffcf7; }
.btn::before { background: var(--grad-caramel); }
.btn:hover { color: #fffcf7; }
.btn--ghost:hover { box-shadow: none; }
.page-wipe { background: var(--grad-warm); }
.loader { background: var(--grad-cream); }
.chip__icon, .feature__icon, .info__icon { background: linear-gradient(135deg, #f7ead9, #ecd2b2); }
.feature:hover .feature__icon { background: var(--grad-caramel); color: #fffcf7; }
.feature, .offer, .universe:not(.universe--dark), .info, .logo-slot, .wiz, .wiz-card:not(.wiz-card--dark), .form { background: linear-gradient(180deg, #fffdf9 0%, #fdf6ec 100%); }
.offer::after { background: radial-gradient(380px circle at var(--mx) var(--my), rgba(217, 169, 120, .30), transparent 60%); }
.offer__tag, .table-hours tr.is-today td:first-child::after { background: var(--grad-caramel); color: #fffcf7; }
.stat__num sup, .pillar__n { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__big span { color: #d9a978; }
.marquee__item::after { background: var(--grad-caramel); }
.steps__line span, .wiz__bar span { background: var(--grad-caramel); }
.step__n { background: var(--grad-dark); color: #ecc9a0; }
.section--dark .step__n { background: var(--grad-caramel); color: #fffcf7; }
.wopt.is-on, .wseg__btn.is-on, .segmented input:checked + label { background: var(--grad-dark); }
.wprod__card.is-on { background: var(--grad-caramel); color: #fffcf7; }
.wprod__card.is-on .wprod__icon { color: #fffcf7; }
.wopt.is-on .wopt__box { background: #ecc9a0; }
.to-top { background: var(--grad-dark); color: #ecc9a0; }
.cursor.is-hover { background: rgba(217, 169, 120, .55); border-color: transparent; }
.kicker { color: var(--lime-deep); }
.section--dark .kicker, .section--dark .h2 em { color: #ecc9a0; }
.section--dark .h2 em { background: linear-gradient(100deg, #f1dcc0, #d9a978); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Bloc « économies » animé ---------- */
.savings { padding: clamp(60px, 8vw, 110px) 0 0; }
.save {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: calc(var(--radius) * 1.6);
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(241, 220, 192, .55), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(58, 39, 28, .55), transparent 70%),
    linear-gradient(125deg, #8a5532 0%, #b97a46 40%, #d9a978 75%, #f1dcc0 100%);
  color: #fffcf7; padding: clamp(36px, 6vw, 80px);
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 70px); align-items: center;
  box-shadow: 0 40px 80px -40px rgba(58, 39, 28, .6);
}
.save::before { /* reflet qui balaie la carte */
  content: ""; position: absolute; inset: -50% auto -50% -60%; width: 40%; z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255, 252, 247, .35), transparent);
  transform: skewX(-18deg); opacity: 0;
}
.save.is-in::before { animation: shine 1.6s 2.6s var(--ease-io) forwards; }
@keyframes shine { 0% { left: -60%; opacity: 1; } 100% { left: 130%; opacity: 1; } }
.save .kicker { color: #fff3e2; }
.save h2 { color: #fffcf7; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; }
.save p { color: rgba(255, 252, 247, .88); font-size: 18px; max-width: 460px; }
.save__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.save .btn { --bg: #fffcf7; --fg: var(--ink); }
.save .btn::before { background: var(--ink); }
.save .btn:hover { color: #fffcf7; }
.save .btn--ghost { --bg: transparent; --fg: #fffcf7; box-shadow: inset 0 0 0 1.5px rgba(255, 252, 247, .7); }

.save__counter { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; }
.save__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.save__ring circle { fill: none; stroke-width: 6; }
.save__ring .track { stroke: rgba(255, 252, 247, .22); }
.save__ring .bar { stroke: #fffcf7; stroke-linecap: round; stroke-dasharray: 1131; stroke-dashoffset: 1131; transition: stroke-dashoffset 2.6s .2s var(--ease-out); }
.save.is-in .save__ring .bar { stroke-dashoffset: 170; }
.save__ring .ticks { stroke: rgba(255, 252, 247, .35); stroke-width: 10; stroke-dasharray: 2 18.6; }
.save__glow { position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 252, 247, .3), transparent 70%); animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .7; } }
.save__inner { position: relative; text-align: center; }
.save__upto { font-size: 15px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #fff3e2; }
.save__amount { display: flex; align-items: flex-start; justify-content: center; font-family: var(--font-display); font-weight: 600; line-height: 1; font-size: clamp(84px, 13vw, 156px); letter-spacing: -.03em; margin: 6px 0 4px; font-variant-numeric: lining-nums tabular-nums; }
.odo { display: inline-block; height: 1em; overflow: hidden; line-height: 1; }
.odo > span { display: flex; flex-direction: column; transform: translateY(0); transition: transform var(--t, 2s) var(--ease-out); transition-delay: .3s; }
.odo > span > span { height: 1em; display: block; }
.save.is-in .odo > span { transform: translateY(calc(-1em * (var(--n) - 1))); }
.save__euro { font-size: .45em; margin: .12em 0 0 .08em; opacity: 0; transform: translateY(20px) scale(.6); transition: opacity .6s 2.4s, transform .9s 2.4s cubic-bezier(.34, 1.56, .64, 1); }
.save.is-in .save__euro { opacity: 1; transform: none; }
.save__per { font-size: 18px; font-weight: 600; color: #fff3e2; }
.save__per b { display: block; font-family: var(--font-display); font-size: 26px; color: #fffcf7; font-weight: 600; margin-top: 2px; }
.save__note { margin-top: 14px; font-size: 13px !important; color: rgba(255, 252, 247, .75) !important; }
.save__badge {
  position: absolute; right: 4%; top: 8%; width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2;
  background: var(--grad-dark); color: #ecc9a0; box-shadow: 0 16px 30px -12px rgba(42, 27, 19, .6);
  opacity: 0; transform: scale(0) rotate(-30deg); transition: opacity .4s 2.8s, transform .9s 2.8s cubic-bezier(.34, 1.56, .64, 1);
}
.save.is-in .save__badge { opacity: 1; transform: rotate(-12deg); animation: wobble 5s 4s ease-in-out infinite; }
@keyframes wobble { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(-4deg) scale(1.05); } }
.coin { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3e2, #d9a978 55%, #8a5532); box-shadow: inset 0 0 0 2px rgba(255, 252, 247, .4); opacity: 0; }
.save.is-in .coin { animation: coin 3.2s var(--cd, 2.6s) ease-out infinite; }
.coin--1 { left: 12%; bottom: 18%; --cd: 2.6s; }
.coin--2 { left: 78%; bottom: 10%; --cd: 3.3s; width: 16px; height: 16px; }
.coin--3 { left: 30%; bottom: 4%; --cd: 4s; width: 14px; height: 14px; }
@keyframes coin { 0% { opacity: 0; transform: translateY(0) rotateY(0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateY(-180px) rotateY(720deg); } }
.hero-saving { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 16px 10px 10px; border-radius: 999px; background: rgba(255, 252, 247, .7); box-shadow: 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 600; color: var(--ink); }
.hero-saving b { background: var(--grad-caramel); color: #fffcf7; border-radius: 999px; padding: 4px 10px; font-weight: 700; }
@media (max-width: 820px) {
  .save { grid-template-columns: 1fr; text-align: left; }
  .save__counter { max-width: 340px; }
  .save__badge { width: 76px; height: 76px; font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .odo > span { transform: translateY(calc(-1em * (var(--n) - 1))) !important; }
  .save__ring .bar { stroke-dashoffset: 170 !important; }
  .save__euro, .save__badge { opacity: 1 !important; transform: none !important; }
}
.form .sent-mail, .form[data-via="mail"] .sent-api { display: none; }
.form[data-via="mail"] .sent-mail { display: block; }

/* ---------- Pages légales ---------- */
.hero--legal { padding-bottom: 60px; }
.hero--legal .hero__grid { grid-template-columns: 1fr; }
.hero--legal .hero__title { font-size: clamp(40px, 6vw, 80px); }
.legal-wrap { padding-top: clamp(30px, 5vw, 60px); }
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.legal__toc { position: sticky; top: 110px; background: linear-gradient(180deg, #fffdf9 0%, #fdf6ec 100%); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); padding: 22px 22px 18px; }
.legal__toc-title { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lime-deep); margin-bottom: 12px; }
.legal__toc ol { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 14.5px; }
.legal__toc a { color: var(--anthracite); transition: color .2s; }
.legal__toc a:hover { color: var(--lime-deep); }
.legal__body { max-width: 760px; }
.legal__updated { font-size: 14px; color: var(--grey); margin-bottom: 8px; }
.legal__intro { font-size: 19px; color: var(--ink); margin-bottom: 30px; }
.legal__body section { padding: 28px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.legal__body h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 14px; }
.legal__body h3 { font-size: 19px; margin: 20px 0 8px; }
.legal__body p, .legal__body li { font-size: 16.5px; }
.legal__body a { color: var(--lime-deep); text-decoration: underline; text-underline-offset: 3px; }
.legal__list { padding-left: 20px; margin: 0 0 1em; display: grid; gap: 8px; }
.legal__table { overflow-x: auto; margin-bottom: 1em; }
.legal__table table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.legal__table th { text-align: left; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal__table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal__table td:first-child { color: var(--ink); font-weight: 500; }
mark.todo { background: rgba(217, 169, 120, .28); color: var(--ink); border-bottom: 1.5px dashed var(--lime-deep); padding: 0 4px; border-radius: 3px; }
@media (max-width: 900px) {
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
}

/* ---------- Carte chargée au clic (pas de cookie Google sans action) ---------- */
.map--consent { display: grid; place-items: center; background:
  radial-gradient(circle at 30% 30%, rgba(217, 169, 120, .25), transparent 60%),
  repeating-linear-gradient(45deg, rgba(91, 67, 52, .05) 0 2px, transparent 2px 22px),
  linear-gradient(180deg, #f6ebdd, #ecdcc8); }
.map__ph { text-align: center; padding: 24px; max-width: 420px; }
.map__pin { width: 54px; height: 54px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--grad-caramel); color: #fffcf7; box-shadow: 0 14px 28px -12px rgba(58, 39, 28, .5); animation: bob 4s ease-in-out infinite; }
.map__pin svg { width: 26px; height: 26px; }
.map__addr { margin: 14px 0 16px; color: var(--ink); }
.map__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.map__note { font-size: 13px; color: var(--grey); margin: 14px 0 0; }
.map__note a { text-decoration: underline; }
.map--consent.is-loaded { display: block; }
.map--consent iframe { width: 100%; height: 100%; border: 0; }
.wq--consent a { color: var(--lime-deep); text-decoration: underline; }

/* Logos partenaires : en couleur, légère élévation au survol */
.logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.logo-slot { padding: 22px 26px; min-width: 0; }
.logo-slot img { width: auto; height: auto; max-width: 100%; max-height: 92px; filter: none; opacity: 1; transition: transform .5s var(--ease-out); }
.logo-slot:hover img { transform: scale(1.05); }
@media (max-width: 1080px) { .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-slot { padding: 16px; aspect-ratio: auto; height: 130px; }
  .logo-slot img { max-height: 84px; }
  .logo-slot:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Crédit du créateur du site */
.footer__credit a { color: #ecc9a0; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(236, 201, 160, .4); text-underline-offset: 3px; transition: color .3s, text-decoration-color .3s; }
.footer__credit a:hover { color: #fffcf7; text-decoration-color: currentColor; }

/* Samedi sur rendez-vous */
.status.is-rdv i { background: var(--lime); box-shadow: 0 0 0 0 rgba(201, 149, 96, .6); animation: pulse 2s infinite; }
.table-hours a { color: var(--lime-deep); text-decoration: underline; text-underline-offset: 3px; }
.table-hours .slot { white-space: nowrap; }
@media (max-width: 560px) {
  .table-hours .slot { display: block; }
  .table-hours .sep { display: none; }
}
