/* ==========================================================================
   Mickaël Services Accompagnement — feuille de style
   ========================================================================== */

:root {
  --green-950: #0f2c1a;
  --green-900: #163d24;
  --green-800: #1c4e2e;
  --green-700: #22603a;
  --green-600: #2e7d46;
  --green-500: #43a05a;
  --green-200: #cfe6d3;
  --green-100: #e7f3e9;
  --green-50: #f3f9f4;

  --sand-50: #fcfaf5;
  --sand-100: #f6f0e4;
  --sand-200: #ece2cf;

  --sun-600: #c9661c;
  --sun-500: #e0822f;
  --sun-100: #fbeadb;

  --ink: #1b2a21;
  --ink-soft: #3e4e44;
  --muted: #5d6b62;
  --line: #e3ddd0;
  --white: #ffffff;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(22, 61, 36, .06), 0 2px 8px rgba(22, 61, 36, .05);
  --shadow: 0 2px 4px rgba(22, 61, 36, .05), 0 12px 32px rgba(22, 61, 36, .09);
  --shadow-lg: 0 4px 8px rgba(22, 61, 36, .06), 0 24px 60px rgba(22, 61, 36, .14);

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 10vw, 120px);

  --fs-base: 18px;
}

html[data-size="lg"] { --fs-base: 20px; }
html[data-size="xl"] { --fs-base: 22px; }

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: var(--fs-base);
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
.ico { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--green-950);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }

:focus-visible {
  outline: 3px solid var(--sun-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--green-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--sand { background: var(--sand-100); }
.section--green { background: var(--green-900); color: #e5efe7; }
.section--green h2, .section--green h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--sun-500); border-radius: 2px;
}
.section--green .eyebrow { color: var(--green-200); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--green .section-head p { color: #bcd3c1; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px;
  font: inherit; font-weight: 650; font-size: .98rem; line-height: 1.2;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--green-700); color: #fff; box-shadow: 0 8px 20px rgba(34, 96, 58, .25); }
.btn--primary:hover { background: var(--green-800); color: #fff; }
.btn--sun { background: var(--sun-500); color: #fff; box-shadow: 0 8px 20px rgba(201, 102, 28, .28); }
.btn--sun:hover { background: var(--sun-600); color: #fff; }
.btn--ghost { background: transparent; color: var(--green-800); border-color: var(--green-200); }
.btn--ghost:hover { border-color: var(--green-600); color: var(--green-900); background: var(--white); }
.btn--light { background: #fff; color: var(--green-900); }
.btn--light:hover { background: var(--green-50); color: var(--green-950); }
.btn--block { width: 100%; }

/* ---------- Barre utilitaire ---------- */
.topbar {
  background: var(--green-950); color: #cfe0d3; font-size: .8rem;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 40px;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__info span { display: inline-flex; align-items: center; gap: 7px; }
.topbar__info span span { display: inline; }
.topbar__info svg { width: 15px; height: 15px; opacity: .8; }
.textsize { display: flex; align-items: center; gap: 6px; }
.textsize button {
  font: inherit; font-weight: 700; color: #fff; background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 6px;
  min-width: 32px; height: 28px; cursor: pointer;
}
.textsize button:hover { background: rgba(255, 255, 255, .18); }
.textsize button[aria-pressed="true"] { background: #fff; color: var(--green-950); }

/* ---------- En-tête ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252, 250, 245, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(22, 61, 36, .06); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; min-width: 0; }
.brand__name { overflow-wrap: anywhere; }
.brand img { width: auto; height: 48px; }
.brand__name { font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; color: var(--green-900); line-height: 1.05; font-style: italic; }
.brand__tag { display: block; font-family: var(--font-body); font-style: normal; font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--green-600); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__list a {
  display: block; padding: 10px 14px; border-radius: 999px;
  color: var(--ink-soft); text-decoration: none; font-weight: 550; font-size: .92rem;
}
.nav__list a:hover, .nav__list a.is-active { color: var(--green-900); background: var(--green-100); }
.nav .btn { margin-left: 10px; min-height: 46px; padding: 10px 20px; font-size: .92rem; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--green-900);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(48px, 7vw, 96px) clamp(72px, 9vw, 120px);
  background:
    radial-gradient(900px 500px at 88% 10%, rgba(224, 130, 47, .12), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(67, 160, 90, .12), transparent 60%),
    var(--sand-50);
}
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .85rem; font-weight: 600; color: var(--ink-soft);
  margin-bottom: 26px;
}
.hero__badge b {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-100); color: var(--green-800); padding: 4px 10px; border-radius: 999px; font-size: .78rem;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px rgba(67, 160, 90, .2); }

.hero h1 em { font-style: italic; color: var(--green-700); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); max-width: 580px; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero__proof { display: flex; flex-wrap: wrap; gap: 14px 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.proof { display: flex; align-items: center; gap: 12px; }
.proof__icon {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  display: grid; place-items: center; background: var(--green-100); color: var(--green-700);
}
.proof__icon svg { width: 22px; height: 22px; }
.proof strong { display: block; font-size: .98rem; color: var(--green-950); line-height: 1.25; }
.proof span { font-size: .82rem; color: var(--muted); }

.hero__visual { position: relative; }
.hero__art {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; max-height: 640px; margin-left: auto;
}
.hero__art img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 16px 18px;
  display: flex; align-items: center; gap: 14px;
}
.float-card--rating { left: -32px; bottom: -26px; }
.float-card--tax { right: -18px; top: 38px; }
.float-card__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.float-card__icon svg { width: 24px; height: 24px; }
.float-card strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--green-950); line-height: 1.1; }
.float-card span { font-size: .8rem; color: var(--muted); line-height: 1.3; display: block; }
.stars, .float-card .stars { display: flex; gap: 2px; color: var(--sun-500); margin-bottom: 2px; }
.stars svg { width: 15px; height: 15px; }

/* Les pastilles d'icônes restent centrées malgré les règles de texte des cartes */
.proof .proof__icon, .float-card .float-card__icon, .specific-item .specific-item__icon,
.value .value__icon, .contact-line .contact-line__icon { display: grid; place-items: center; margin: 0; }
.review footer .avatar { color: #fff; font-size: 1rem; }

/* ---------- Titre principal (H1 porteur des mots-clés) ---------- */
.hero__kicker {
  font-family: var(--font-body); font-size: .9rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--green-600); line-height: 1.45; margin: 0 0 14px; max-width: 560px;
}
.hero__title {
  font-family: var(--font-display); color: var(--green-950); line-height: 1.15; font-weight: 600;
  letter-spacing: -.01em; text-wrap: balance; font-size: clamp(2.1rem, 4.4vw, 3.2rem); margin: 0 0 .5em;
}
.hero__title em { font-style: italic; color: var(--green-700); }
picture { display: contents; }

.service__more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 650; font-size: .92rem;
  color: var(--green-700); text-decoration: none;
}
.service__more svg { width: 18px; height: 18px; transition: transform .2s; }
.service__more:hover svg { transform: translateX(3px); }

/* ---------- Bandeau citation ---------- */
.quote-band {
  color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(90deg, rgba(15, 44, 26, .96) 0%, rgba(22, 61, 36, .9) 55%, rgba(22, 61, 36, .72) 100%), url("../img/cote-aerienne.webp") center 40% / cover no-repeat, var(--green-900);
}
.quote-band::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 130, 47, .35), transparent 70%);
}
.quote-band .container { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 56px; }
.quote-band blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.35; max-width: 780px; }
.quote-band blockquote em { color: #f7c08e; }
.quote-band .btn { flex: none; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px 30px; transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-200); }
.service__icon {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-700); margin-bottom: 22px;
}
.service__icon svg { width: 30px; height: 30px; }
.service--sun .service__icon { background: var(--sun-100); color: var(--sun-600); }
.service h3 { margin-bottom: 10px; }
.service > p { color: var(--muted); font-size: .96rem; }
.service ul { margin-top: 8px; display: grid; gap: 8px; }
.service li { display: flex; gap: 10px; font-size: .92rem; color: var(--ink-soft); line-height: 1.45; }
.service li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e7d46' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 31px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .25) 0 8px, transparent 8px 16px);
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step__num {
  width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--green-800); border: 2px solid rgba(255, 255, 255, .22);
  font-family: var(--font-display); font-size: 1.5rem; color: #fff;
}
.step:first-child .step__num { background: var(--sun-500); border-color: var(--sun-500); }
.step h3 { font-size: 1.15rem; }
.step p { color: #bcd3c1; font-size: .93rem; margin: 0; }

/* ---------- Forfaits ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 26px; }
.plan {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px 26px; display: flex; flex-direction: column;
}
.plan--featured { border: 2px solid var(--green-600); box-shadow: var(--shadow); }
.plan__flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--green-700); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; white-space: nowrap;
}
.plan__name { min-height: 2.9em; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-600); margin-bottom: 12px; }
.plan__hours { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--green-950); margin-bottom: 4px; }
.plan__hours small { font-family: var(--font-body); font-size: .95rem; color: var(--muted); font-weight: 500; }
.plan__desc { color: var(--muted); font-size: .92rem; margin: 14px 0 22px; flex: 1; }
.plan .btn { min-height: 46px; font-size: .9rem; }

.specific { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; align-items: start; }
.specific h3 { font-size: 1.5rem; }
.specific > div > p { color: var(--muted); }
.specific-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.specific-item {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 14px;
  background: var(--sand-50); border: 1px solid var(--line);
}
.specific-item__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--green-100); color: var(--green-700); }
.specific-item__icon svg { width: 20px; height: 20px; }
.specific-item strong { display: block; color: var(--green-950); font-size: .98rem; line-height: 1.3; }
.specific-item span { font-size: .85rem; color: var(--muted); line-height: 1.4; display: block; margin-top: 2px; }

.tax-note {
  margin-top: 26px; display: flex; gap: 18px; align-items: center;
  background: var(--green-100); border-radius: var(--radius); padding: 22px 26px; color: var(--green-900);
}
.tax-note__big { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--green-700); flex: none; }
.tax-note p { margin: 0; font-size: .95rem; }

/* ---------- À propos ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.about__figure { position: relative; margin: 0; }
.portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, var(--green-700), var(--green-950));
  box-shadow: var(--shadow-lg);
}
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about__sign {
  position: absolute; right: -22px; bottom: 36px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 14px 20px 14px 14px; max-width: 300px;
  display: flex; align-items: center; gap: 14px;
}
.about__sign img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid var(--green-100); }
.about__sign strong { display: block; font-family: var(--font-display); color: var(--green-900); font-size: 1.1rem; }
.about__sign span span { display: block; font-size: .82rem; color: var(--muted); line-height: 1.35; }

.about__text .lead { font-size: 1.15rem; color: var(--ink-soft); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0 34px; }
.value { display: flex; gap: 14px; }
.value__icon { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--sun-100); color: var(--sun-600); }
.value__icon svg { width: 22px; height: 22px; }
.value strong { display: block; color: var(--green-950); }
.value span { font-size: .88rem; color: var(--muted); line-height: 1.45; display: block; }

.car {
  display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius);
  background: var(--sand-100); border: 1px solid var(--sand-200);
}
.car__photo { width: 120px; height: 90px; flex: none; border-radius: 12px; object-fit: cover; background: #fff; }
.car p { margin: 0; font-size: .93rem; color: var(--ink-soft); }

/* ---------- Presse ---------- */
.press { background: var(--sand-100); border-block: 1px solid var(--sand-200); }
.press__inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding-block: clamp(40px, 6vw, 64px); }
.press__source { display: flex; flex-direction: column; gap: 6px; padding-right: clamp(24px, 5vw, 64px); border-right: 1px solid var(--sand-200); }
.press__label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sun-600); }
.press__paper { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--green-950); white-space: nowrap; }
.press__body h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 12px; }
.press blockquote { margin: 0; }
.press blockquote p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--green-700); margin-bottom: 6px; }
.press blockquote footer { font-size: .85rem; color: var(--muted); }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: repeat(2, 240px); gap: 18px; }
.gallery__item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand-100); }
.gallery__item--big { grid-row: span 2; }
.gallery__item:nth-child(4) { grid-column: 2 / span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px;
  background: linear-gradient(transparent, rgba(15, 44, 26, .78)); color: #fff; font-size: .9rem; font-weight: 600;
}

/* ---------- Zone ---------- */
.zone { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.zone__card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--green-900);
  box-shadow: var(--shadow-lg); aspect-ratio: 1 / .9;
}
.zone__card svg { width: 100%; height: 100%; }
.communes { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 28px; }
.communes li {
  padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: .9rem; color: var(--ink-soft); font-weight: 550;
}
.communes li.is-home { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.zone__note { font-size: .9rem; color: var(--muted); display: flex; gap: 10px; }
.zone__note svg { width: 20px; height: 20px; flex: none; color: var(--sun-500); margin-top: 2px; }

/* ---------- Avis ---------- */
.reviews { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; }
.review {
  margin: 0; background: #fff; border-radius: var(--radius); padding: 30px 28px; border: 1px solid var(--line);
  display: flex; flex-direction: column; position: relative;
}
.review::before {
  content: "\201C"; position: absolute; top: 8px; right: 22px; font-family: var(--font-display);
  font-size: 5rem; line-height: 1; color: var(--green-100);
}
.review .stars svg { width: 18px; height: 18px; }
.review .stars .off { color: var(--sand-200); }
.review blockquote { margin: 16px 0 24px; max-width: 60ch; font-size: 1.02rem; color: var(--ink-soft); flex: 1; }
.review footer { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--green-600); flex: none; }
.review footer strong { display: block; color: var(--green-950); line-height: 1.2; }
.review footer span { font-size: .8rem; color: var(--muted); }
.review--featured { grid-row: span 2; justify-content: center; background: var(--green-900); border-color: var(--green-900); }
.review--featured::before { color: rgba(255, 255, 255, .08); }
.review--featured blockquote { flex: none; margin: auto 0; color: #e8f1ea; font-family: var(--font-display); font-size: 1.22rem; line-height: 1.5; }
.review--featured footer { border-color: rgba(255, 255, 255, .14); }
.review--featured footer strong { color: #fff; }
.review--featured footer span { color: #a9c4af; }
.review--featured .avatar { background: var(--sun-500); }

.reviews-summary { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); text-decoration: none;
}
.pill strong { color: var(--green-950); }
.pill svg { width: 18px; height: 18px; }
a.pill:hover { border-color: var(--green-600); color: var(--green-900); }

/* ---------- Paiements ---------- */
.payments { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.payment {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 12px;
  text-align: center; font-weight: 600; color: var(--green-950); font-size: .95rem;
}
.payment svg { width: 32px; height: 32px; margin: 0 auto 10px; color: var(--green-600); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-aside { position: sticky; top: 120px; }
.faq-aside p { color: var(--muted); }
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: var(--green-200); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; position: relative;
  font-weight: 650; color: var(--green-950); font-size: 1.02rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322603a' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 26px 22px; color: var(--ink-soft); font-size: .96rem; }
.faq details > div p:last-child { margin: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact__info h2 { color: #fff; }
.contact__info > p { color: #bcd3c1; font-size: 1.05rem; }
.contact-lines { display: grid; gap: 14px; margin: 32px 0; }
.contact-line {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; text-decoration: none;
  transition: background-color .2s;
}
a.contact-line:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.contact-line__icon { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #f7c08e; }
.contact-line__icon svg { width: 22px; height: 22px; }
.contact-line small { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: #a9c4af; }
.contact-line strong.is-email { font-size: .9rem; }
.contact-line strong { font-size: 1.08rem; font-weight: 600; word-break: break-word; }
.hours { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hours td { padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #d5e4d8; }
.hours td:last-child { text-align: right; color: #fff; font-weight: 600; }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .12);
}
.socials a:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.socials svg { width: 20px; height: 20px; }

.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); color: var(--ink); box-shadow: var(--shadow-lg); }
.form-card h3, .section--green .form-card h3 { font-size: 1.6rem; margin-bottom: 6px; color: var(--green-950); }
.form-card > p { color: var(--muted); font-size: .95rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .88rem; font-weight: 650; color: var(--green-950); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--sand-50);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-600); background: #fff; box-shadow: 0 0 0 4px rgba(46, 125, 70, .14);
}
.field fieldset { border: 0; padding: 0; margin: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 7px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--sand-50); font-size: .92rem; font-weight: 550; color: var(--ink-soft);
}
.choice input:checked + span { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--sun-500); outline-offset: 2px; }
.field .consent { font-weight: 400; }
.consent { display: flex; gap: 10px; font-size: .82rem; color: var(--muted); line-height: 1.45; }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--green-700); }
.form-status { margin: 14px 0 0; font-size: .9rem; color: var(--green-700); min-height: 1.4em; }
.form-status.is-error { color: #b4481a; font-weight: 600; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
button:disabled { opacity: .7; cursor: wait; }

/* ---------- Pied de page ---------- */
.footer { background: var(--green-950); color: #a9c4af; padding: 64px 0 28px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer .brand__name { color: #fff; }
.footer .brand__tag { color: #8fbf9a; }
.footer .brand img { background: #fff; border-radius: 12px; padding: 4px; }
.footer p { margin-top: 18px; max-width: 320px; }
.footer h4 { font-family: var(--font-body); color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer li { margin-bottom: 9px; }
.footer a { color: #d5e4d8; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: .8rem; }
.footer__credit { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__credit > span { opacity: .5; }

@media (min-width: 641px) { .nowrap-md { white-space: nowrap; } }

/* ---------- Bouton d'appel mobile ---------- */
.call-bar { display: none; }

/* ---------- Pages de services ---------- */
.page-hero {
  padding-block: clamp(32px, 5vw, 56px) clamp(56px, 8vw, 96px);
  background:
    radial-gradient(900px 500px at 88% 10%, rgba(224, 130, 47, .12), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(67, 160, 90, .12), transparent 60%),
    var(--sand-50);
}
.page-hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 640px; margin-bottom: 30px; }
.page-hero__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; max-height: 520px; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }

.breadcrumb { margin-bottom: 22px; font-size: .85rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--sun-500); }
.breadcrumb a { color: var(--green-700); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.page-body__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 6vw, 72px); align-items: start; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.8em; }
.prose > h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); }
.prose .faq { margin-top: 20px; }
.checklist { display: grid; gap: 12px; margin: 22px 0 8px; }
.checklist li { display: flex; gap: 12px; color: var(--ink-soft); line-height: 1.5; }
.checklist li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e7d46' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.note {
  margin: 28px 0 0; padding: 18px 22px; border-radius: var(--radius); background: var(--sun-100);
  border-left: 4px solid var(--sun-500); color: var(--ink-soft); font-size: .95rem;
}

.side-card {
  position: sticky; top: 110px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow); display: grid; gap: 12px;
}
.side-card .side-card__title { font-family: var(--font-display); font-size: 1.45rem; color: var(--green-950); margin: 0; line-height: 1.2; }
.side-card > p { color: var(--muted); font-size: .95rem; margin: 0 0 4px; }
.side-card__facts { margin: 10px 0 0; display: grid; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.side-card__facts dt { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-600); }
.side-card__facts dd { margin: 2px 0 0; font-size: .93rem; color: var(--ink-soft); }

.related h2 { text-align: center; margin-bottom: 32px; }
.related__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related__card {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none;
  font-family: var(--font-display); font-size: 1.2rem; color: var(--green-950); transition: border-color .2s, transform .2s, box-shadow .2s;
}
.related__card:hover { border-color: var(--green-200); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--green-900); }
.related__card svg { width: 22px; height: 22px; color: var(--sun-500); flex: none; }

@media (max-width: 960px) {
  .page-hero__grid, .page-body__grid { grid-template-columns: 1fr; }
  .page-hero__img { aspect-ratio: 16 / 10; max-height: none; }
  .side-card { position: static; }
  .related__list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page-hero .hero__cta .btn { width: 100%; }
}

/* ---------- Confirmation « Mail envoyé » ---------- */
.sent {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px;
  background: rgba(15, 44, 26, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .35s ease;
}
.sent[hidden] { display: none; }
.sent.is-visible { opacity: 1; }
.sent__card {
  background: #fff; border-radius: 28px; padding: clamp(36px, 6vw, 56px) clamp(28px, 6vw, 72px);
  text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
  transform: scale(.9); transition: transform .35s ease;
}
.sent.is-visible .sent__card { transform: scale(1); }
.sent__icon {
  width: 96px; height: 96px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green-600);
}
.sent__icon svg { width: 52px; height: 52px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sent__title { font-family: var(--font-display); font-size: clamp(2.4rem, 7vw, 4rem); font-weight: 700; color: var(--green-900); line-height: 1.05; margin: 0 0 10px; }
.sent__text { font-size: 1.1rem; color: var(--ink-soft); margin: 0; }
@media (prefers-reduced-motion: reduce) { .sent, .sent__card { transition: none; } }

/* ---------- Page merci ---------- */
.merci { text-align: center; }
.merci__icon { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); }
.merci__icon svg { width: 40px; height: 40px; }

/* ---------- Page légale ---------- */
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal p, .legal li { color: var(--ink-soft); overflow-wrap: anywhere; }
.legal ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service { transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .float-card--rating { left: 12px; }
  .float-card--tax { right: 12px; }
  .about__sign { right: 12px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 120px 0 auto 0; background: var(--sand-50);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 24px;
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(22, 61, 36, .12);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .25s, opacity .25s, visibility .25s;
  }
  .header.is-scrolled .nav, .nav { top: 80px; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__list a { padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; }
  .nav .btn { margin: 12px 0 0; min-height: 54px; }

  .hero .container, .about, .zone, .contact, .faq-wrap, .specific { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .services-grid, .reviews { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .payments { grid-template-columns: repeat(3, 1fr); }
  .faq-aside { position: static; }
  .hero__art { max-height: none; margin: 0; }
  .press__inner { grid-template-columns: 1fr; }
  .press__source { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--sand-200); padding-bottom: 18px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .gallery__item { aspect-ratio: 4 / 3; }
  .gallery__item--big { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  .gallery__item:nth-child(4) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .about__figure { max-width: 460px; margin-inline: auto; width: 100%; }
  .quote-band .container { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  :root { --fs-base: 17px; }
  html[data-size="lg"] { --fs-base: 19px; }
  html[data-size="xl"] { --fs-base: 21px; }

  .topbar__info span.hide-sm { display: none; }
  .header .container { min-height: 70px; }
  .nav, .header.is-scrolled .nav { top: 70px; }
  .brand img { width: 42px; height: 42px; }
  .brand__name { font-size: 1.1rem; }
  .brand__tag { font-size: .56rem; letter-spacing: .18em; }

  .hero__cta .btn { width: 100%; }
  .hero__proof { gap: 18px; }
  .float-card { padding: 12px 14px; gap: 10px; }
  .float-card__icon { width: 38px; height: 38px; border-radius: 11px; }
  .float-card strong { font-size: 1.1rem; }
  .float-card--rating { left: 10px; bottom: -20px; }
  .float-card--tax { right: 10px; top: 16px; }

  .services-grid, .reviews, .plans, .specific-list, .values, .form-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .payments { grid-template-columns: 1fr 1fr; }
  /* Cibles tactiles d'au moins 44 px de haut, recommandation Apple et Google */
  .service__more { padding: 10px 0; }
  .footer li a, .footer__credit a, .breadcrumb a { display: inline-block; padding: 9px 0; }
  .footer li { margin-bottom: 2px; }
  .plan__flag, .press__label { font-size: .8rem; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item, .gallery__item--big, .gallery__item:nth-child(4) { aspect-ratio: 4 / 3; }
  .car { align-items: flex-start; }
  .car__photo { width: 96px; height: 72px; }
  .tax-note { flex-direction: column; align-items: flex-start; }
  .about__sign { position: static; margin-top: -40px; margin-inline: 16px; max-width: none; position: relative; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }

  body { padding-bottom: 76px; }
  .call-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(252, 250, 245, .96); border-top: 1px solid var(--line);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .call-bar .btn { min-height: 50px; padding: 10px 12px; font-size: .92rem; }
}
