/* Citron Vert — feuille de style
   Mise en page : blocs pleine largeur qui alternent indigo et crème, une tranche
   de citron géante qui tourne dans le héros, une bordure de pelouse entre les
   blocs, et des « stickers » inclinés pour les infos qui comptent. */

:root {
  color-scheme: light;
  /* Couleurs de la charte (relevées sur les cartes et le flyer) */
  --indigo: #4956a2;
  --indigo-deep: #353f80;
  --indigo-night: #262d5e;
  --lime: #aac92c;
  --leaf: #1da638;
  --cream: #f5f0e8;
  --lime-soft: #e3e8b8;
  --paper: #fffdf8;
  --ink: #20244a;
  --ink-soft: #565b7f;
  --line: #d9d3c4;
  --ok: #1d7d33;
  --err: #b3261e;

  /* Typo : Montserrat Black = « citron » du logo, Ubuntu = cartes de visite */
  --f-display: "Montserrat", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Ubuntu", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  --f-script: "Kaushan Script", "Brush Script MT", "Segoe Script", cursive;

  --fs-0: 0.875rem;
  --fs-1: 1.0625rem;
  --fs-2: 1.25rem;
  --fs-3: clamp(1.45rem, 1.2rem + 1vw, 1.9rem);
  --fs-4: clamp(2rem, 1.4rem + 2.6vw, 3.3rem);
  --fs-5: clamp(2.6rem, 1.6rem + 4.8vw, 5.4rem);

  --r: 18px;
  --r-lg: 28px;
  --shadow-pop: 4px 4px 0 var(--ink);
  --gutter: clamp(16px, 4vw, 36px);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--fs-1);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--indigo); text-underline-offset: 3px; }
a:hover { color: var(--indigo-deep); }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 900; line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h2 { font-size: var(--fs-4); color: var(--indigo); }
h3 { font-size: var(--fs-3); font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
[hidden] { display: none !important; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.measure { max-width: 62ch; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 10px; z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }

.eyebrow {
  font-family: var(--f-body); font-weight: 700; font-size: var(--fs-0);
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--leaf);
  display: inline-flex; align-items: center; gap: .5em;
}
.eyebrow::before { content: ""; width: 1.1em; height: 1.1em; background: url("citron-tranche.svg") center/contain no-repeat; }
.on-indigo .eyebrow { color: var(--lime); }
.hl { background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%); padding-inline: .08em; }
.script { font-family: var(--f-script); font-weight: 400; letter-spacing: 0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--f-display); font-weight: 800; font-size: 1rem; line-height: 1.1;
  padding: .95em 1.45em; border-radius: 999px; text-decoration: none; cursor: pointer;
  background: var(--lime); color: var(--ink); border: 2px solid var(--ink);
  box-shadow: var(--shadow-pop); transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { color: var(--ink); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
.btn--cream { background: var(--cream); }
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--cream); box-shadow: 4px 4px 0 var(--indigo-night); }
.btn--ghost:hover { color: var(--cream); box-shadow: 6px 6px 0 var(--indigo-night); }
.btn--sm { font-size: .9rem; padding: .7em 1.1em; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.link-arrow { font-family: var(--f-display); font-weight: 800; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--indigo); color: var(--cream);
  border-bottom: 1px solid rgba(245, 240, 232, .12);
}
.head-in { display: flex; align-items: center; gap: 20px; min-height: 74px; }
.brand { display: block; flex: none; line-height: 0; }
.brand img { height: 46px; width: auto; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--cream); text-decoration: none; font-weight: 500; font-size: .98rem;
  padding: .5em .8em; border-radius: 999px;
}
.main-nav a:hover { background: rgba(245, 240, 232, .1); color: var(--cream); }
.main-nav a[aria-current="page"] { background: var(--indigo-deep); box-shadow: inset 0 0 0 1.5px var(--lime); }
.head-tel { font-family: var(--f-display); font-weight: 800; color: var(--lime); text-decoration: none; white-space: nowrap; font-size: .98rem; }
.head-tel:hover { color: var(--cream); }
.burger { display: none; margin-left: auto; background: none; border: 2px solid var(--cream); color: var(--cream); border-radius: 12px; width: 48px; height: 44px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px auto; transition: transform .2s, opacity .2s; }
.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1060px) {
  .head-tel { display: none; }
}
@media (max-width: 920px) {
  .burger { display: block; }
  .main-nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--indigo-deep); padding: 14px var(--gutter) 22px; margin: 0;
    border-bottom: 3px solid var(--lime); transform: translateY(-120%); visibility: hidden;
    transition: transform .25s ease, visibility .25s;
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .main-nav a { font-size: 1.15rem; padding: .7em .9em; }
  .main-nav .btn { margin-top: 10px; }
  .nav-open .main-nav { transform: none; visibility: visible; }
}

/* ---------- Héros ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--indigo); color: var(--cream);
  padding-block: clamp(48px, 7vw, 96px) clamp(70px, 9vw, 120px);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: var(--fs-5); color: var(--cream); letter-spacing: -0.02em; line-height: .98; }
.hero h1 .zest {
  font-family: var(--f-script); font-weight: 400; color: var(--lime); letter-spacing: 0;
  display: inline-block; transform: rotate(-6deg); padding-inline: .05em; font-size: 1.08em;
}
.hero .lead { font-size: var(--fs-2); max-width: 36ch; color: rgba(245, 240, 232, .92); margin-top: 22px; }
.hero .btn-row { margin-top: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: var(--fs-0); color: rgba(245, 240, 232, .85); list-style: none; }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }

.slice-giant {
  position: absolute; right: -14%; top: 50%; width: min(70vw, 760px); aspect-ratio: 1; max-width: none;
  translate: 0 -50%; opacity: .16; pointer-events: none;
  animation: spin 90s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }

/* Bordure de pelouse en bas des blocs indigo */
.grass {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 34px; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='34' viewBox='0 0 120 34'%3E%3Cpath fill='%231da638' d='M0 34V22c3-6 5-14 6-20 2 8 3 13 5 18 2-7 5-13 8-17-1 7-1 12 1 17 3-6 6-11 10-14-2 6-3 11-2 16 3-5 7-10 11-12-2 6-2 11-1 15 3-6 6-12 9-16 0 7 0 12 2 17 3-5 6-10 10-13-2 6-3 11-2 15 4-5 8-9 12-11-3 6-4 11-3 15 3-6 6-11 9-15 0 6 1 11 3 16 3-6 6-12 10-15-1 6-1 11 1 15 3-4 6-8 9-10V34z'/%3E%3C/svg%3E") repeat-x left bottom / 120px 34px;
}

/* Carte « mini-estimateur » */
.estim {
  position: relative; background: var(--paper); color: var(--ink); border: 2px solid var(--ink);
  border-radius: var(--r-lg); box-shadow: 8px 8px 0 var(--indigo-night); padding: clamp(22px, 3vw, 32px);
}
.estim h2 { font-size: var(--fs-3); color: var(--indigo); }
.estim .sub { color: var(--ink-soft); margin-top: 6px; font-size: .98rem; }
.estim-out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.estim-out div { background: var(--cream); border-radius: 14px; padding: 12px 14px; min-width: 0; }
.estim-out small { display: block; font-size: .8rem; color: var(--ink-soft); font-weight: 500; }
.estim-out strong { font-family: var(--f-display); font-weight: 900; font-size: 1.25rem; font-variant-numeric: tabular-nums; color: var(--indigo); }
.estim-out .after strong { color: var(--leaf); }
.estim .btn { margin-top: 18px; width: 100%; }
.estim .fine { font-size: .8rem; color: var(--ink-soft); margin-top: 10px; }
.sticker {
  position: absolute; top: -34px; right: -18px; width: 108px; height: 108px; border-radius: 50%;
  background: var(--lime); color: var(--ink); border: 2px solid var(--ink); box-shadow: var(--shadow-pop);
  display: grid; place-items: center; text-align: center; transform: rotate(12deg);
  font-family: var(--f-display); font-weight: 900; line-height: 1; font-size: .72rem; padding: 10px;
}
.sticker b { display: block; font-size: 1.6rem; letter-spacing: -.02em; white-space: nowrap; margin-bottom: 3px; }

/* Curseur maison */
.range-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 18px; }
.range-row label { font-weight: 700; }
.range-row output { font-family: var(--f-display); font-weight: 900; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 14px; border-radius: 999px; margin: 12px 0 4px;
  background: linear-gradient(90deg, var(--leaf) 0 var(--p, 30%), var(--lime-soft) var(--p, 30%) 100%);
  border: 2px solid var(--ink); cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ink);
  background: var(--lime) url("citron-tranche.svg") center/80% no-repeat; box-shadow: 2px 2px 0 var(--ink);
}
input[type=range]::-moz-range-thumb {
  width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ink);
  background: var(--lime) url("citron-tranche.svg") center/80% no-repeat; box-shadow: 2px 2px 0 var(--ink);
}

/* ---------- Bandeau défilant ---------- */
.marquee { background: var(--lime); border-block: 2px solid var(--ink); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: defile 38s linear infinite; }
.marquee-track ul { display: flex; list-style: none; gap: 0; }
.marquee li {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1rem, .9rem + .6vw, 1.4rem);
  padding: 14px 22px; display: flex; align-items: center; gap: 22px; white-space: nowrap; color: var(--ink);
}
.marquee li::after { content: ""; width: 26px; height: 26px; background: url("citron-tranche.svg") center/contain no-repeat; }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(60px, 8vw, 112px); position: relative; }
.section--paper { background: var(--paper); }
.section--indigo { background: var(--indigo); color: var(--cream); }
.section--indigo h2 { color: var(--cream); }
.section--lime { background: var(--lime); }
.section--lime h2 { color: var(--ink); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px 40px; margin-bottom: clamp(30px, 4vw, 52px); }
.sec-head > div { display: flex; flex-direction: column; gap: 14px; max-width: 760px; min-width: 0; }
.sec-head p { color: var(--ink-soft); max-width: 58ch; }
.section--indigo .sec-head p { color: rgba(245, 240, 232, .85); }

/* Prestations */
.offres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.offre {
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; min-width: 0;
}
.offre-illu { aspect-ratio: 16 / 10; background: var(--indigo); display: block; width: 100%; height: auto; border-bottom: 2px solid var(--ink); }
.offre-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.offre h3 { color: var(--indigo); }
.offre h3 .verb { font-family: var(--f-script); font-weight: 400; color: var(--leaf); font-size: 1.15em; margin-right: .15em; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='%2320244a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat; }
.section--indigo .ticks li::before { box-shadow: none; }
.offre .tag { align-self: flex-start; font-size: .8rem; font-weight: 700; background: var(--lime-soft); color: var(--ink); border-radius: 999px; padding: .3em .8em; }
.offre .link-arrow { margin-top: auto; }

/* Méthode */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-top: 74px; min-width: 0; }
.steps li::before {
  content: counter(s); position: absolute; top: 0; left: 0; font-family: var(--f-display); font-weight: 900; font-size: 4.6rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--lime);
}
.steps h3 { font-size: var(--fs-2); color: var(--cream); margin-bottom: 8px; }
.steps p { color: rgba(245, 240, 232, .85); }
.steps li::after { content: ""; position: absolute; top: 34px; left: 70px; right: 10px; border-top: 2px dashed rgba(170, 201, 44, .45); }
.steps li:last-child::after { display: none; }
.pepin { display: flex; gap: 18px; align-items: center; margin-top: 42px; background: var(--indigo-deep); border-radius: var(--r); padding: 18px 22px; }
.pepin img { width: 44px; height: 44px; flex: none; }
.pepin p { color: var(--cream); }
.pepin b { font-family: var(--f-display); font-weight: 900; color: var(--lime); }

/* Crédit d'impôt */
.credit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.credit-big { font-family: var(--f-display); font-weight: 900; font-size: clamp(5rem, 3rem + 9vw, 10rem); line-height: .85; color: var(--ink); letter-spacing: -.04em; }
.credit-big small { display: block; font-size: .2em; letter-spacing: 0; margin-top: 14px; font-weight: 800; line-height: 1.15; max-width: 18ch; }
.credit p { max-width: 52ch; }
.credit .stack > p:first-of-type { font-size: var(--fs-2); }
.mini-note { font-size: .88rem; color: var(--ink-soft); }
.section--lime .mini-note { color: var(--ink); opacity: .8; }

/* Ticket (simulateurs et exemples) */
.ticket {
  background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 14px 14px 0 0;
  padding: 24px 24px 30px; position: relative; font-variant-numeric: tabular-nums; box-shadow: 6px 6px 0 rgba(32, 36, 74, .18);
  --dent: radial-gradient(circle at 10px 0, transparent 9px, var(--paper) 9.5px);
}
.ticket::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: -12px; height: 12px;
  background: radial-gradient(circle at 12px 0, var(--paper) 10px, transparent 10.5px) repeat-x 0 0 / 24px 12px;
  filter: drop-shadow(0 2px 0 var(--ink));
}
.ticket-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 12px; border-bottom: 2px dashed var(--line); }
.ticket-head h3 { font-size: 1.15rem; color: var(--indigo); }
.ticket-head span { font-size: .8rem; color: var(--ink-soft); }
.ticket-lignes { list-style: none; display: flex; flex-direction: column; gap: 10px; padding-block: 16px; border-bottom: 2px dashed var(--line); }
.ticket-lignes li { display: flex; align-items: baseline; gap: 8px; font-size: .96rem; }
.ticket-lignes li span:first-child { min-width: 0; }
.ticket-lignes .dots { flex: 1; border-bottom: 2px dotted var(--line); min-width: 14px; transform: translateY(-4px); }
.ticket-lignes b { white-space: nowrap; }
.ticket-lignes .vide { color: var(--ink-soft); }
.ticket-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-top: 14px; flex-wrap: wrap; }
.ticket-total span { font-weight: 700; }
.ticket-total b { font-family: var(--f-display); font-weight: 900; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--indigo); white-space: nowrap; }
.ticket-notes { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.ticket-credit, .ticket-reste { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ticket-credit { color: var(--leaf); font-weight: 700; }
.ticket-reste { background: var(--lime); border-radius: 12px; padding: 10px 14px; font-weight: 700; }
.ticket-reste b { font-family: var(--f-display); font-weight: 900; font-size: 1.2rem; }
.ticket-mini { font-size: .82rem; color: var(--ink-soft); }
.ticket-alerte { font-size: .88rem; background: #fff1c9; border-radius: 10px; padding: 8px 12px; }
.ticket .btn { width: 100%; margin-top: 18px; }

/* Réalisations */
.galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.galerie--home { grid-template-columns: 1.3fr 1fr 1fr; }
.photo { position: relative; border-radius: var(--r); overflow: hidden; border: 2px solid var(--ink); background: var(--indigo); margin: 0; min-width: 0; }
.photo svg, .photo img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.galerie--home .photo:first-child svg { aspect-ratio: auto; }
.photo figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.photo figcaption b { background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: .25em .8em; font-size: .85rem; }
.photo figcaption i { font-style: normal; background: var(--ink); color: var(--cream); border-radius: 999px; padding: .25em .7em; font-size: .72rem; letter-spacing: .04em; }
.filtres { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip-btn { font: inherit; font-weight: 700; padding: .55em 1.1em; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; }
.chip-btn[aria-pressed="true"] { background: var(--indigo); color: var(--cream); }

/* Avant / après */
.ba { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 2px solid var(--ink); --pos: 50%; aspect-ratio: 16 / 9; max-width: 100%; background: var(--indigo); }
.ba svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ba .ba-apres { clip-path: inset(0 0 0 var(--pos)); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: var(--paper); transform: translateX(-1.5px); pointer-events: none; }
.ba-line::after { content: "↔"; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; translate: -50% -50%; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); display: grid; place-items: center; font-weight: 900; color: var(--ink); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; }
.ba-label { position: absolute; top: 14px; padding: .3em .9em; border-radius: 999px; font-weight: 700; font-size: .85rem; border: 2px solid var(--ink); pointer-events: none; }
.ba-label.l { left: 14px; background: var(--paper); }
.ba-label.r { right: 14px; background: var(--lime); }

/* Zones */
.zones { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.carte { background: var(--indigo); border-radius: var(--r-lg); border: 2px solid var(--ink); padding: 10px; }
.carte svg { display: block; width: 100%; height: auto; }
.villes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; }
.villes a {
  display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 16px; border-radius: 14px;
  background: var(--paper); border: 2px solid var(--ink); text-decoration: none; color: var(--ink); font-weight: 700;
  transition: transform .15s, box-shadow .15s;
}
.villes a:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-pop); color: var(--ink); }
.villes small { font-weight: 500; color: var(--ink-soft); font-size: .8rem; white-space: nowrap; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq details { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-family: var(--f-display); font-weight: 800; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); display: grid; place-items: center; font-size: 1.3rem; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 20px; color: var(--ink-soft); max-width: 70ch; }

/* Appel final */
.cta-final { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 30px; align-items: center; }
.cta-final h2 { font-size: var(--fs-4); }
.cta-final .tel-big { font-family: var(--f-display); font-weight: 900; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem); color: var(--ink); text-decoration: none; display: inline-block; letter-spacing: -.01em; }
.cta-card { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-pop); display: flex; flex-direction: column; gap: 12px; }
.cta-card p { color: var(--ink-soft); }
.copy-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.copy-btn { font: inherit; font-size: .8rem; font-weight: 700; border: 1.5px solid var(--ink); background: transparent; border-radius: 999px; padding: .3em .8em; cursor: pointer; color: var(--ink); }

/* Pages intérieures */
.page-hero { position: relative; overflow: hidden; background: var(--indigo); color: var(--cream); padding-block: clamp(46px, 6vw, 84px) clamp(70px, 8vw, 104px); }
.page-hero h1 { font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.3rem); color: var(--cream); max-width: 18ch; }
.page-hero .lead { font-size: var(--fs-2); max-width: 54ch; margin-top: 18px; color: rgba(245, 240, 232, .9); }
.page-hero .btn-row { margin-top: 26px; }
.page-hero .slice-giant { width: min(56vw, 560px); right: -12%; opacity: .14; }
.crumbs { font-size: .85rem; margin-bottom: 18px; color: rgba(245, 240, 232, .75); }
.crumbs a { color: var(--lime); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split .illu { border-radius: var(--r-lg); border: 2px solid var(--ink); overflow: hidden; background: var(--indigo); line-height: 0; }
.split .illu svg { width: 100%; height: auto; display: block; }
.prose { display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.7rem); }
.prose p { max-width: 62ch; }
.prose .ticks { margin-top: 4px; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card h3 { font-size: 1.2rem; color: var(--indigo); }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card .unit { font-family: var(--f-display); font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--leaf); }
.card-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--indigo); display: grid; place-items: center; }
.card-ico svg { width: 34px; height: 34px; }

/* Calendrier */
.calendrier { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; list-style: none; }
.calendrier li { background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; padding: 12px 12px 14px; min-width: 0; }
.calendrier b { font-family: var(--f-display); font-weight: 900; display: block; color: var(--indigo); font-size: 1rem; margin-bottom: 6px; }
.calendrier span { display: block; font-size: .86rem; color: var(--ink-soft); line-height: 1.4; }
.calendrier li.fort { background: var(--lime-soft); }

/* Simulateurs */
.sim-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.sim-tabs [role=tab] {
  font: inherit; font-family: var(--f-display); font-weight: 800; font-size: 1rem; cursor: pointer;
  padding: .8em 1.3em; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink);
  display: inline-flex; gap: .5em; align-items: center;
}
.sim-tabs [role=tab][aria-selected="true"] { background: var(--indigo); color: var(--cream); box-shadow: var(--shadow-pop); }
.sim-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(22px, 3vw, 40px); align-items: start; }
.sim-side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); display: flex; flex-direction: column; gap: 16px; }
.sim-form { display: flex; flex-direction: column; gap: 18px; }
.box { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r); padding: 22px; min-width: 0; }
.box legend, .box > h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; color: var(--indigo); padding: 0; margin-bottom: 14px; }
fieldset.box { margin: 0; }
fieldset.box legend { float: left; width: 100%; }
fieldset.box legend + * { clear: both; }
.opt-toggle { display: flex; gap: 14px; align-items: center; cursor: pointer; font-weight: 700; font-size: 1.05rem; }
.opt-toggle input { width: 24px; height: 24px; accent-color: var(--leaf); flex: none; }
.opt-toggle small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .88rem; }
.opt-detail { margin-top: 16px; padding-top: 16px; border-top: 2px dashed var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.opt-detail .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .field > .lab { font-weight: 700; font-size: .95rem; }
.field .hint { font-size: .82rem; color: var(--ink-soft); }
input[type=text], input[type=tel], input[type=email], input[type=number], select, textarea {
  font: inherit; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 12px;
  padding: .7em .85em; width: 100%; min-width: 0;
}
textarea { min-height: 130px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%2320244a' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.unit-input { display: flex; align-items: stretch; }
.unit-input input { border-radius: 12px 0 0 12px; }
.unit-input span { border: 2px solid var(--ink); border-left: 0; border-radius: 0 12px 12px 0; padding: .7em .8em; background: var(--lime-soft); font-weight: 700; white-space: nowrap; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: .96rem; }
.check input { width: 20px; height: 20px; accent-color: var(--leaf); flex: none; margin-top: 2px; }

/* Choix en pastilles (radio / case) */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills span { display: inline-flex; flex-direction: column; padding: .55em 1em; border-radius: 14px; border: 2px solid var(--ink); background: var(--paper); font-weight: 700; font-size: .95rem; line-height: 1.25; }
.pills span small { font-weight: 400; font-size: .78rem; color: var(--ink-soft); }
.pills input:checked + span { background: var(--indigo); color: var(--cream); }
.pills input:checked + span small { color: rgba(245, 240, 232, .8); }
.pills input:focus-visible + span { outline: 3px solid var(--leaf); outline-offset: 2px; }

/* Formulaire de contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(24px, 4vw, 50px); align-items: start; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.form .full { grid-column: 1 / -1; }
.form-statut { grid-column: 1 / -1; border-radius: 12px; padding: 12px 16px; font-weight: 500; }
.form-statut.ok { background: #dff3d8; color: var(--ok); border: 2px solid var(--ok); }
.form-statut.err { background: #fde3df; color: var(--err); border: 2px solid var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.estimation-jointe { background: var(--lime-soft); border: 2px dashed var(--ink); border-radius: 14px; padding: 14px 16px; }
.estimation-jointe pre { white-space: pre-wrap; font-family: var(--f-body); font-size: .88rem; margin: 8px 0 0; }
.estimation-jointe .row { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-weight: 700; }
.coord { display: flex; flex-direction: column; gap: 18px; }
.coord dl { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.coord dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--leaf); }
.coord dd { margin: 2px 0 0; font-weight: 700; font-size: 1.05rem; overflow-wrap: anywhere; }

/* Ville */
.communes { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.communes li { background: var(--paper); border: 1.5px solid var(--ink); border-radius: 999px; padding: .3em .9em; font-size: .92rem; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fact { background: var(--indigo-deep); border-radius: var(--r); padding: 18px 20px; color: var(--cream); min-width: 0; }
.fact b { display: block; font-family: var(--f-display); font-weight: 900; font-size: 1.8rem; color: var(--lime); line-height: 1.1; font-variant-numeric: tabular-nums; }
.fact span { font-size: .92rem; color: rgba(245, 240, 232, .85); }

/* Pied de page */
.site-foot { background: var(--indigo-night); color: rgba(245, 240, 232, .85); padding-block: 64px 36px; font-size: .96rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { font-family: var(--f-display); font-weight: 800; color: var(--cream); font-size: 1rem; margin-bottom: 12px; }
.foot-grid ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.site-foot a { color: rgba(245, 240, 232, .85); text-decoration: none; }
.site-foot a:hover { color: var(--lime); }
.foot-brand img { height: 52px; width: auto; }
.foot-brand p { margin-top: 14px; max-width: 34ch; }
.foot-slogan { font-family: var(--f-script); color: var(--lime); font-size: 1.35rem; margin-top: 10px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(245, 240, 232, .15); font-size: .85rem; }

/* Mentions légales */
.legal { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.legal h2 { font-size: 1.5rem; margin-top: 18px; }
.legal .todo { background: #fff1c9; border-radius: 6px; padding: 0 .3em; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .credit, .zones, .cta-final, .split, .sim-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .split--rev > :first-child { order: 0; }
  .offres, .cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .steps li::after { display: none; }
  .calendrier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .sim-side { position: static; }
  .slice-giant { right: -40%; opacity: .1; }
  .galerie, .galerie--home { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .galerie--home .photo:first-child { grid-column: 1 / -1; }
  .galerie--home .photo:first-child svg { aspect-ratio: 16 / 9; }
  .facts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .offres, .cards, .cards--4, .steps, .galerie, .galerie--home, .villes, .form, .opt-detail { grid-template-columns: minmax(0, 1fr); }
  .calendrier { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .estim-out { grid-template-columns: minmax(0, 1fr); }
  .sticker { width: 88px; height: 88px; right: -6px; top: -40px; font-size: .62rem; }
  .sticker b { font-size: 1.3rem; }
  .brand img { height: 38px; }
  .ba { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.section--lime .eyebrow { color: var(--ink); }
.section--lime .eyebrow::before { filter: none; }
.site-foot li { overflow-wrap: anywhere; }

/* ---------- Flèche retour en haut ---------- */
.to-top {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  width: 52px; height: 52px; border-radius: 50%; background: var(--indigo); color: var(--cream);
  border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--lime); display: grid; place-items: center; cursor: pointer;
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .2s ease, transform .2s ease, box-shadow .15s ease;
}
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top.is-on:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--lime); background: var(--indigo-deep); }
.to-top svg { width: 24px; height: 24px; }

/* ---------- Bandeau cookies ---------- */
.cookies { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: min(440px, calc(100vw - 32px)); }
.cookies-in {
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-lg); box-shadow: 6px 6px 0 var(--indigo-night);
  padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; max-height: calc(100vh - 40px); overflow-y: auto;
}
.cookies-titre { font-family: var(--f-display); font-weight: 900; font-size: 1.12rem; line-height: 1.2; color: var(--indigo); padding-left: 36px; background: url("citron-tranche.svg") left center / 26px no-repeat; }
.cookies-txt { font-size: .9rem; color: var(--ink-soft); line-height: 1.5; }
.cookies-choix { display: flex; flex-direction: column; gap: 10px; font-size: .88rem; background: var(--cream); border-radius: 14px; padding: 12px 14px; }
.cookies-btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cookies-btns .btn { box-shadow: 3px 3px 0 var(--ink); }
.cookies-perso { font: inherit; font-weight: 700; font-size: .92rem; background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: var(--indigo); padding: .4em .3em; }
.cookies-lien { font-size: .82rem; }

/* ---------- Export PDF dans le ticket ---------- */
.pdf-gate { margin-top: 18px; padding-top: 16px; border-top: 2px dashed var(--line); display: flex; flex-direction: column; gap: 10px; }
.pdf-titre { font-family: var(--f-display); font-weight: 800; color: var(--indigo); font-size: 1.02rem; line-height: 1.25; }
.pdf-gate input { padding: .6em .8em; }
.ticket .pdf-gate .btn { margin-top: 4px; }
.pdf-statut { border-radius: 12px; padding: 10px 12px; font-size: .88rem; }
.pdf-statut.ok { background: #dff3d8; color: var(--ok); border: 2px solid var(--ok); }
.pdf-statut.err { background: #fde3df; color: var(--err); border: 2px solid var(--err); }
.ticket .link-arrow { margin-top: 14px; font-size: .95rem; }

/* ---------- Coopjardinage ---------- */
.coop-chip {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: var(--indigo-deep); border: 2px solid var(--lime); color: var(--cream); text-decoration: none; font-size: .9rem; line-height: 1.3; max-width: 100%;
}
.coop-chip:hover { color: var(--cream); background: var(--indigo-night); }
.coop-chip b { color: var(--lime); font-family: var(--f-display); font-weight: 900; }
.coop-chip img { width: 30px; height: 30px; flex: none; }
.coop { display: flex; gap: 18px; align-items: center; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 16px 20px 16px 16px; box-shadow: var(--shadow-pop); }
.coop .seal { width: 118px; height: 118px; flex: none; }
.coop h3 { font-size: 1.15rem; color: var(--indigo); margin-bottom: 6px; }
.coop p { font-size: .94rem; color: var(--ink-soft); }
.coop a { font-weight: 700; }
.seal .ring { transform-box: view-box; transform-origin: 50% 50%; animation: spin 40s linear infinite; }
.credit-left { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.foot-coop { margin-top: 12px; font-size: .88rem; color: rgba(245, 240, 232, .75); }
.foot-coop b { color: var(--lime); }

@media (max-width: 640px) {
  .cookies { left: 12px; right: 12px; width: auto; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .cookies-btns .btn { flex: 1 1 auto; }
  .cookies-open .to-top { display: none; }
  .coop { flex-direction: column; align-items: flex-start; }
  .coop .seal { width: 96px; height: 96px; }
  .to-top { width: 46px; height: 46px; right: 12px; }
}

/* ---------- Ajouts : 4 repères, carte marque (À propos) ---------- */
.facts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.marque-card {
  position: relative; overflow: hidden; background: var(--indigo); border: 2px solid var(--ink); border-radius: var(--r-lg);
  aspect-ratio: 4 / 3; max-width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px 24px 54px;
}
.marque-card .slice-giant { width: 120%; right: -45%; opacity: .14; }
.marque-logo { position: relative; width: min(320px, 78%); height: auto; }
.marque-slogan { position: relative; font-family: var(--f-script); color: var(--lime); font-size: clamp(1.15rem, 1rem + 1vw, 1.6rem); text-align: center; transform: rotate(-3deg); }
@media (max-width: 1000px) { .facts--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .facts--4 { grid-template-columns: minmax(0, 1fr); } }
