/* =====================================================================
   Carré Service — Dépannage, réparations et petits travaux à domicile
   Feuille de styles principale
   Palette issue du logo : orange #FE6E01 · anthracite #152129
   ===================================================================== */

/* ------------------------------------------------------------------
   1. Polices auto-hébergées (variables, sous-ensembles latin/latin-ext)
   ------------------------------------------------------------------ */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ------------------------------------------------------------------
   2. Variables de design
   ------------------------------------------------------------------ */
:root {
  /* Couleurs de marque */
  /* Orange du logo : réservé aux aplats, décors et accents graphiques. */
  --orange: #fe6e01;
  /* Fond survolé + très grands titres (contraste AA « grand texte »). */
  --orange-600: #e86100;
  /* Orange de TEXTE : conforme AA (>= 4.5:1) sur tous les fonds clairs. */
  --orange-700: #b85001;
  --orange-800: #8f3e00;
  /* Ce qui se pose SUR un aplat orange : l'anthracite du logo (5,8:1). */
  --on-orange: #152129;

  /* Boutons d'action, pastilles d'icône et encart « 1 seul appel » :
     centralisés pour changer toute la déclinaison d'un coup. */
  --btn-bg: var(--orange);
  --btn-bg-hover: var(--orange-600);
  --btn-fg: var(--on-orange);
  --btn-shadow: var(--sh-orange);
  --badge-fg: var(--on-orange);
  --stat-bg: var(--ink);             /* anthracite, accroche orange : 5,8:1 */
  --stat-fg: var(--white);
  --stat-fg-strong: var(--orange);
  --stat-border: transparent;
  --stat-shadow: 0 12px 28px rgba(21, 33, 41, .25);
  --orange-100: #fff1e4;
  --orange-050: #fff8f2;

  --ink: #152129;
  --ink-800: #1d2c37;
  --ink-700: #2a3b47;
  --ink-500: #55646f;
  --ink-400: #67747e;   /* 4,8:1 sur blanc, 4,55:1 sur --paper */

  --white: #ffffff;
  --paper: #f7f9fb;
  --cream: #fffaf5;
  --line: #e4e9ed;
  --line-soft: #eef2f5;

  --ok: #1c8a5a;
  --err: #c92a2a;

  /* Typographie */
  --font-title: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Rythme */
  --wrap: 1320px;
  --gutter: 1.25rem;
  --section-y: clamp(3.5rem, 8vw, 6.5rem);

  /* Formes */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Ombres */
  --sh-sm: 0 2px 8px rgba(21, 33, 41, .06);
  --sh-md: 0 10px 30px rgba(21, 33, 41, .09);
  --sh-lg: 0 22px 60px rgba(21, 33, 41, .14);
  --sh-orange: 0 12px 28px rgba(254, 110, 1, .32);

  /* Transitions */
  --t: .25s cubic-bezier(.4, 0, .2, 1);
}

/* ------------------------------------------------------------------
   3. Base
   ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

address { font-style: normal; }

a { color: var(--orange-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-800); }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 .6em;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 5.4vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p  { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .35em; }

strong { color: var(--ink); font-weight: 650; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Lien d'évitement */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: .9rem 1.4rem;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

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

/* ------------------------------------------------------------------
   4. Structure
   ------------------------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--paper { background: var(--paper); }
.section--cream { background: var(--cream); }

.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-500); font-size: 1.05rem; margin-bottom: 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-title);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-700);
  margin-bottom: .9rem;
}
.kicker::before {
  content: "";
  width: 26px; height: 3px;
  border-radius: 2px;
  background: var(--orange);
}
.section-head--center .kicker::after {
  content: "";
  width: 26px; height: 3px;
  border-radius: 2px;
  background: var(--orange);
}
.kicker--light { color: var(--orange); }

/* ------------------------------------------------------------------
   5. Boutons
   ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.6rem;
  font-family: var(--font-title);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background-color var(--t),
              color var(--t), border-color var(--t);
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: var(--btn-shadow);
}
.btn--primary:hover { background: var(--btn-bg-hover); color: var(--btn-fg); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-800); color: #fff; }

/* Format compact (en-tête) : ombre proportionnée à la taille du bouton. */
.btn--sm { padding: .62rem 1.15rem; font-size: .875rem; --btn-shadow: 0 8px 18px rgba(254, 110, 1, .28); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: #fff; }


/* WhatsApp : toujours vert, quel que soit le fond de la section. */
.btn--wa { background: #25d366; color: #0b3d21; }
.btn--wa:hover { background: #1fb857; color: #0b3d21; }

.btn--lg { padding: 1.1rem 2rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ------------------------------------------------------------------
   6. Barre utilitaire
   ------------------------------------------------------------------ */
.topbar {
  background: var(--ink);
  color: #c9d3da;
  font-size: .85rem;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 44px;
  flex-wrap: wrap;
}
.topbar-list {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}
.topbar-list li { display: flex; align-items: center; gap: .5rem; margin: 0; }
.topbar-list svg { width: 15px; height: 15px; color: var(--orange); flex: none; }
.topbar a { color: #e8eef2; text-decoration: none; font-weight: 500; }
.topbar a:hover { color: var(--orange); }
.topbar-social { display: flex; align-items: center; gap: .75rem; }
.topbar-social a {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  transition: background var(--t), color var(--t);
}
.topbar-social a:hover { background: var(--orange); color: var(--badge-fg); }
.topbar-social svg { width: 14px; height: 14px; }
/* Réseau pas encore en ligne : icône visible mais inerte. */
.topbar-social a.is-soon { cursor: default; }
.topbar-social a.is-soon:hover { background: rgba(255, 255, 255, .1); color: #e8eef2; }

/* ------------------------------------------------------------------
   7. En-tête
   ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow var(--t);
}
.site-header.is-stuck { box-shadow: var(--sh-md); }
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  margin-right: auto;
  flex: none;
}
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-title);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
  text-transform: uppercase;
}
.brand-name em { font-style: normal; color: var(--orange); }
.brand-tag {
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-top: .28rem;
  white-space: nowrap;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: .1rem;
  margin: 0; padding: 0;
  list-style: none;
}
.main-nav li { margin: 0; }
.main-nav a {
  display: block;
  padding: .55rem .55rem;
  font-family: var(--font-title);
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink-700);
  text-decoration: none;
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: color var(--t), background var(--t);
}
.main-nav a:hover { color: var(--orange-600); background: var(--orange-050); }
.main-nav a.is-active { color: var(--orange-600); }

.header-cta { display: flex; align-items: center; gap: .6rem; flex: none; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: .95rem;
}
.header-phone-icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--orange-100);
  color: var(--orange-700);
}
.header-phone-icon svg { width: 17px; height: 17px; }
.header-phone:hover { color: var(--orange-600); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--r-sm);
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; margin-inline: auto; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ------------------------------------------------------------------
   8. Hero
   ------------------------------------------------------------------ */
.hero {
  position: relative;
  background: linear-gradient(170deg, var(--cream) 0%, #fff 62%);
  padding-block: clamp(2.5rem, 6vw, 4.75rem) clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset-block-start: -30%;
  inset-inline-end: -12%;
  width: 46rem; height: 46rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 110, 1, .09) 0%, rgba(254, 110, 1, 0) 68%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  gap: clamp(2.25rem, 5vw, 3.5rem);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem 1rem .45rem .5rem;
  margin-bottom: 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-700);
  box-shadow: var(--sh-sm);
}
.hero-badge b {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .6rem;
  border-radius: var(--r-pill);
  background: var(--orange-100);
  color: var(--orange-700);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hero h1 { margin-bottom: .55rem; }
.hero h1 em { font-style: normal; color: var(--orange-600); }
.hero-lead {
  font-size: clamp(1.02rem, 1.9vw, 1.18rem);
  color: var(--ink-500);
  max-width: 34rem;
  margin-bottom: 1.9rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 1.9rem; }

.hero-points {
  display: grid;
  gap: .6rem;
  margin: 0; padding: 0;
  list-style: none;
}
.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin: 0;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-700);
}
.hero-points svg { width: 20px; height: 20px; flex: none; color: var(--orange); margin-top: .18rem; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
/* Carré décoratif : placé à droite pour ne pas croiser la carte « photos ». */
.hero-media::after {
  content: "";
  position: absolute;
  inset-block-end: -18px;
  inset-inline-end: -18px;
  width: 132px; height: 132px;
  border: 6px solid var(--orange);
  border-radius: var(--r-lg);
  z-index: -1;
}

.hero-card {
  position: absolute;
  inset-block-end: 1.1rem;
  inset-inline-start: 1.1rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .85rem 1.15rem;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  max-width: calc(100% - 2.2rem);
}
.hero-card-icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  flex: none;
  border-radius: 12px;
  background: var(--orange);
  color: var(--badge-fg);
}
.hero-card-icon svg { width: 21px; height: 21px; }
.hero-card b {
  display: block;
  font-family: var(--font-title);
  font-size: .95rem;
  color: var(--ink);
  line-height: 1.25;
}
.hero-card-sub { display: block; font-size: .82rem; color: var(--ink-500); }
/* La carte mène au formulaire, dont le champ photos est prêt à l'emploi. */
a.hero-card { color: inherit; text-decoration: none; transition: transform var(--t), box-shadow var(--t); }
a.hero-card:hover { color: inherit; transform: translateY(-3px); box-shadow: var(--sh-lg); }
.hero-card-arrow { width: 18px; height: 18px; flex: none; margin-left: auto; color: var(--orange-700); transition: transform var(--t); }
a.hero-card:hover .hero-card-arrow { transform: translateX(3px); }

/* ------------------------------------------------------------------
   9. Bandeau de réassurance
   ------------------------------------------------------------------ */
.trust { position: relative; z-index: 2; margin-top: calc(-1 * var(--section-y) / 2); }
.trust-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: .95rem;
  padding: 1.6rem 1.5rem;
  background: #fff;
  transition: background var(--t);
}
.trust-item:hover { background: var(--orange-050); }
.trust-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  flex: none;
  border-radius: 14px;
  background: var(--orange-100);
  color: var(--orange-700);
}
.trust-icon svg { width: 23px; height: 23px; }
.trust-item h3 { font-size: 1.02rem; margin-bottom: .25rem; }
.trust-item p { font-size: .9rem; color: var(--ink-500); margin: 0; line-height: 1.55; }

/* ------------------------------------------------------------------
   10. Services
   ------------------------------------------------------------------ */
.services-grid {
  display: grid;
  gap: 1.5rem;
}
.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
  border-color: transparent;
}
.service-media { position: relative; overflow: hidden; }
.service-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}
.service-card:hover .service-media img { transform: scale(1.05); }
.service-num {
  position: absolute;
  inset-block-start: .9rem;
  inset-inline-start: .9rem;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--orange);
  color: var(--badge-fg);
  box-shadow: var(--sh-orange);
}
.service-num svg { width: 21px; height: 21px; }
.service-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { margin-bottom: .55rem; }
.service-body > p { font-size: .93rem; color: var(--ink-500); margin-bottom: 1rem; }
.service-list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .42rem;
}
.service-list li {
  position: relative;
  margin: 0;
  padding-left: 1.4rem;
  font-size: .9rem;
  color: var(--ink-700);
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .58em;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--orange);
}
.service-foot { margin-top: auto; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-title);
  font-size: .88rem;
  font-weight: 700;
  color: var(--orange-700);
  text-decoration: none;
}
.service-link svg { width: 16px; height: 16px; transition: transform var(--t); }
.service-link:hover svg { transform: translateX(4px); }

.services-note {
  margin-top: 2.5rem;
  padding: 1.6rem 1.75rem;
  background: var(--ink);
  color: #d3dce2;
  border-radius: var(--r-lg);
  display: grid;
  gap: 1.1rem;
  align-items: center;
}
.services-note h3 { color: #fff; margin-bottom: .3rem; font-size: 1.2rem; }
.services-note p { margin: 0; font-size: .95rem; }
.services-note .btn { justify-self: start; }

/* ------------------------------------------------------------------
   11. Étapes
   ------------------------------------------------------------------ */
.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
  margin: 0; padding: 0;
  list-style: none;
}
.step {
  position: relative;
  margin: 0;
  padding: 1.75rem 1.5rem 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform var(--t), box-shadow var(--t);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.step-num {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 1.05rem;
  border-radius: 16px;
  background: var(--orange-100);
  color: var(--orange-700);
  font-family: var(--font-title);
  font-size: 1.28rem;
  font-weight: 800;
  transition: background var(--t), color var(--t);
}
.step:hover .step-num { background: var(--orange); color: var(--badge-fg); }
.step h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.step p { font-size: .9rem; color: var(--ink-500); margin: 0; }

/* ------------------------------------------------------------------
   12. Pourquoi nous
   ------------------------------------------------------------------ */
.why-grid { display: grid; gap: clamp(2.25rem, 5vw, 3.5rem); align-items: center; }
.why-media { position: relative; }
.why-media img {
  width: 100%;
  border-radius: var(--r-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--sh-md);
}
.why-stat {
  position: absolute;
  inset-block-end: -1.25rem;
  inset-inline-end: -.5rem;
  padding: 1.15rem 1.4rem;
  background: var(--stat-bg);
  color: var(--stat-fg);
  border: 1px solid var(--stat-border);
  border-radius: var(--r-md);
  box-shadow: var(--stat-shadow);
  text-align: center;
  max-width: 12rem;
}
.why-stat b {
  display: block;
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--stat-fg-strong);
}
.why-stat span { font-size: .8rem; line-height: 1.35; display: block; opacity: .95; }

.why-list { margin: 1.5rem 0 2rem; padding: 0; list-style: none; display: grid; gap: 1.1rem; }
.why-list li { display: flex; gap: .95rem; margin: 0; }
.why-list svg { width: 24px; height: 24px; flex: none; color: var(--orange-700); margin-top: .15rem; }
.why-list b { display: block; font-family: var(--font-title); color: var(--ink); font-size: 1rem; margin-bottom: .15rem; }
.why-list p { font-size: .92rem; color: var(--ink-500); margin: 0; }

/* ------------------------------------------------------------------
   13. Zone d'intervention
   ------------------------------------------------------------------ */
.zone-grid { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: center; }
.zone-list {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
.zone-list li { margin: 0; }
.zone-list span {
  display: inline-block;
  padding: .5rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink-700);
  transition: border-color var(--t), color var(--t), background var(--t);
}
.zone-list li:hover span { border-color: var(--orange); color: var(--orange-700); background: var(--orange-050); }
.zone-note {
  padding: 1.25rem 1.4rem;
  background: var(--orange-050);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: .93rem;
  color: var(--ink-700);
}

/* Carte du Brabant wallon */
.zone-map {
  margin: 0;
  padding: clamp(.85rem, 2.2vw, 1.4rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
}
.zone-map-canvas {
  position: relative;
  container-type: inline-size;
  overflow: hidden;
}
.zone-map-inner { position: relative; }
.zone-map-inner > img { width: 100%; height: auto; }
.zone-points { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.zone-point {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  width: 0;
  height: 0;
  margin: 0;
}
/* Le point est dessiné par ::after ; ::before sert à l'onde du bureau. */
.zone-point::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 13px; height: 13px;
  margin: -6.5px 0 0 -6.5px;
  border: 2.5px solid #fff;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 1px 4px rgba(21, 33, 41, .35);
}
.zone-label {
  position: absolute;
  top: 0;
  left: 11px;
  transform: translateY(-50%);
  font-size: clamp(10px, 1.9cqi, 12.5px);
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
  color: var(--ink);
  text-shadow: 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #fff, 0 0 6px #fff;
}
.zone-point[data-pos="l"] .zone-label { left: auto; right: 11px; }
.zone-point[data-pos="t"] .zone-label { left: 0; top: -10px; transform: translate(-50%, -100%); }
.zone-point[data-pos="b"] .zone-label { left: 0; top: 10px; transform: translateX(-50%); }

/* Le bureau : point anthracite cerclé d'orange, avec une onde */
.zone-point.is-base::after {
  width: 20px; height: 20px;
  margin: -10px 0 0 -10px;
  border: 4px solid var(--orange);
  background: var(--ink);
}
.zone-point.is-base::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  background: var(--orange);
  animation: zone-onde 2.4s cubic-bezier(.2, .6, .3, 1) infinite;
}
.zone-point.is-base .zone-label { font-weight: 700; }
.zone-point.is-base[data-pos="b"] .zone-label { top: 15px; }
@keyframes zone-onde {
  0%   { transform: scale(.9); opacity: .55; }
  80%  { opacity: 0; }
  100% { transform: scale(3.2); opacity: 0; }
}

/* Repères géographiques */
.zone-point.is-repere::after {
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  border-width: 1.5px;
  background: #8a969f;
  box-shadow: none;
}
.zone-point.is-repere .zone-label { left: 8px; font-weight: 500; color: var(--ink-500); }
.zone-point.is-repere[data-pos="l"] .zone-label { left: auto; right: 8px; }
.zone-point.is-repere[data-pos="b"] .zone-label { left: 0; top: 7px; }
.zone-point.is-repere[data-pos="t"] .zone-label { left: 0; top: -7px; }

.zone-dir {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: clamp(9.5px, 1.6cqi, 11.5px);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.zone-dir svg { width: 1.2em; height: 1.2em; flex: none; }
.zone-dir--nw { left: 1%; top: 3%; }
.zone-dir--nw svg { transform: rotate(-135deg); }
.zone-dir--se { right: 1%; bottom: 3%; }
.zone-dir--se svg { transform: rotate(45deg); }

.zone-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.25rem;
  margin-top: .9rem;
  padding-top: .85rem;
  border-top: 1px solid var(--line-soft);
  font-size: .82rem;
  color: var(--ink-700);
}
.zone-legend-item { display: inline-flex; align-items: center; gap: .5rem; }
.zone-legend-dot {
  flex: none;
  width: 13px; height: 13px;
  border: 2.5px solid #fff;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 1px rgba(21, 33, 41, .18);
}
.zone-legend-dot.is-base { width: 15px; height: 15px; border: 3.5px solid var(--orange); background: var(--ink); box-shadow: none; }

/* Carte étroite : on ne garde que les noms principaux, la liste complète
   des communes figurant juste à côté. */
@container (max-width: 600px) {
  .zone-point.is-minor .zone-label { display: none; }
}
/* Carte de téléphone : zoom sur le centre et l'est de la province, où se
   trouvent toutes les communes desservies. Les noms restent lisibles et
   ne recouvrent plus les points voisins. */
@container (max-width: 460px) {
  .zone-map-inner {
    width: 160%;
    margin-left: -55.2%;
    -webkit-mask-image: linear-gradient(90deg, transparent 34.5%, #000 38.5%);
    mask-image: linear-gradient(90deg, transparent 34.5%, #000 38.5%);
  }
  .zone-point.is-repere,
  .zone-dir { display: none; }
  .zone-point[data-pos-zoom="t"] .zone-label { left: 0; right: auto; top: -10px; transform: translate(-50%, -100%); }
}
@container (max-width: 300px) {
  .zone-point.is-medium .zone-label { display: none; }
  .zone-point[data-pos-etroit="l"] .zone-label { left: auto; right: 11px; top: 0; transform: translateY(-50%); }
}
/* Très petit écran : les points suffisent, la légende et la liste nomment les communes. */
@container (max-width: 260px) {
  .zone-label { display: none; }
}

/* Apparition : les points « éclosent » l'un après l'autre */
.js .zone-map .zone-point::after {
  transform: scale(0);
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1);
  transition-delay: calc(var(--i, 0) * 50ms + 200ms);
}
.js .zone-map .zone-label {
  opacity: 0;
  transition: opacity .45s ease;
  transition-delay: calc(var(--i, 0) * 50ms + 350ms);
}
.js .zone-map.is-in .zone-point::after { transform: none; }
.js .zone-map.is-in .zone-label { opacity: 1; }

/* ------------------------------------------------------------------
   14. Bandeau d'appel à l'action
   ------------------------------------------------------------------ */
.cta-band {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5rem);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  /* JPEG en repli d'abord, puis WebP pour les navigateurs qui le gèrent. */
  background-image: url('../img/outils-cta-1100.jpg');
  background-image: -webkit-image-set(
    url('../img/outils-cta-1100.webp') type('image/webp'),
    url('../img/outils-cta-1100.jpg') type('image/jpeg'));
  background-image: image-set(
    url('../img/outils-cta-1100.webp') type('image/webp'),
    url('../img/outils-cta-1100.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center;
  opacity: .16;
  z-index: -2;
}

/* Le bandeau occupe toute la largeur : version haute définition au-delà de 1200 px. */
@media (min-width: 1200px) {
  .cta-band::before {
    background-image: url('../img/outils-cta.jpg');
    background-image: -webkit-image-set(
      url('../img/outils-cta.webp') type('image/webp'),
      url('../img/outils-cta.jpg') type('image/jpeg'));
    background-image: image-set(
      url('../img/outils-cta.webp') type('image/webp'),
      url('../img/outils-cta.jpg') type('image/jpeg'));
  }
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, var(--ink) 22%, rgba(21, 33, 41, .82) 62%, rgba(21, 33, 41, .55) 100%);
  z-index: -1;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c2cdd5; font-size: 1.05rem; max-width: 40rem; }
.cta-inner { display: grid; gap: 2rem; align-items: center; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  text-decoration: none;
  color: #fff;
}
.cta-phone-icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  flex: none;
  border-radius: 50%;
  background: var(--orange);
  color: var(--badge-fg);
  box-shadow: var(--sh-orange);
}
.cta-phone-icon svg { width: 24px; height: 24px; }
.cta-phone small { display: block; font-size: .8rem; color: #a9b7c1; letter-spacing: .04em; text-transform: uppercase; }
.cta-phone b { font-family: var(--font-title); font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; }

/* ------------------------------------------------------------------
   15. FAQ
   ------------------------------------------------------------------ */
.faq { max-width: 52rem; margin-inline: auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: .8rem;
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.faq-item[open] { border-color: var(--orange); box-shadow: var(--sh-sm); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  border-right: 2.5px solid var(--orange-700);
  border-bottom: 2.5px solid var(--orange-700);
  transform: rotate(45deg) translateY(-3px);
  transition: transform var(--t);
}
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq-answer { padding: 0 1.35rem 1.3rem; color: var(--ink-500); font-size: .95rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-item[open] .faq-answer { animation: faq-ouverture .35s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes faq-ouverture {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------
   16. Contact
   ------------------------------------------------------------------ */
.contact-grid { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: start; }

.contact-info { display: grid; gap: 1rem; }
.contact-card {
  display: flex;
  gap: 1rem;
  padding: 1.35rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
a.contact-card:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: var(--sh-sm); }
.contact-card--wa .contact-card-icon { background: #dcf8e7; color: #128c4b; }
a.contact-card--wa:hover { border-color: #25d366; }
.contact-card-icon {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  flex: none;
  border-radius: 14px;
  background: var(--orange-100);
  color: var(--orange-700);
}
.contact-card-icon svg { width: 22px; height: 22px; }
.contact-card small {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: .2rem;
}
.contact-card b {
  font-family: var(--font-title);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  word-break: break-word;
}
.contact-card p { font-size: .88rem; color: var(--ink-500); margin: .15rem 0 0; }
/* Bureau non ouvert au public : visite uniquement sur rendez-vous (contraste 4,5:1). */
.contact-card .contact-card-note {
  display: inline-block;
  margin-top: .55rem;
  padding: .22rem .7rem;
  border-radius: var(--r-pill);
  background: var(--orange-100);
  color: var(--orange-700);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.4;
}

/* Formulaire */
.form-panel {
  padding: clamp(1.5rem, 3.5vw, 2.35rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
}
.form-panel h3 { margin-bottom: .35rem; }
.form-panel > p { font-size: .93rem; color: var(--ink-500); margin-bottom: 1.6rem; }

.form-grid { display: grid; gap: 1.05rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label {
  font-family: var(--font-title);
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink);
}
.field .req { color: var(--orange-700); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .82rem 1rem;
  font-family: inherit;
  font-size: .97rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.field textarea { min-height: 8.5rem; resize: vertical; line-height: 1.6; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355646f' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 17px;
  padding-right: 2.75rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(254, 110, 1, .13);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: var(--err); }
.field-hint { font-size: .82rem; color: var(--ink-400); }
/* Type d'intervention pré-rempli depuis une carte de service : bref halo orange,
   déclenché avec un léger retard pour être visible une fois la page arrivée. */
.field select.is-prefilled { animation: champ-prerempli 2s ease .6s both; }
@keyframes champ-prerempli {
  0%, 100% { box-shadow: 0 0 0 0 rgba(254, 110, 1, 0); }
  15%, 60% { box-shadow: 0 0 0 5px rgba(254, 110, 1, .28); border-color: var(--orange); background-color: var(--orange-050); }
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-400); opacity: 1; }

.field-label {
  font-family: var(--font-title);
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink);
}
.field-optional { font-family: var(--font-body); font-weight: 400; color: var(--ink-500); }

/* Photos jointes */
.upload { position: relative; }
.field .upload-input {
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  overflow: hidden;
  clip-path: inset(50%);
}
.upload-zone {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem 1.1rem;
  background: var(--paper);
  border: 2px dashed #c9d3db;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color var(--t), background var(--t);
}
.upload-zone:hover,
.upload.is-dragover .upload-zone { border-color: var(--orange); background: var(--orange-050); }
.upload-input:focus-visible + .upload-zone { outline: 3px solid var(--orange); outline-offset: 3px; }
.upload-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border-radius: 13px;
  background: var(--orange-100);
  color: var(--orange-700);
}
.upload-icon svg { width: 22px; height: 22px; }
.upload-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.upload-title { font-family: var(--font-title); font-size: .9rem; font-weight: 700; color: var(--ink); }
.upload-sub { font-size: .8rem; color: var(--ink-500); }
.upload-sub-touch { display: none; }
@media (hover: none), (pointer: coarse) {
  .upload-sub-desktop { display: none; }
  .upload-sub-touch { display: inline; }
}
.upload-count {
  flex: none;
  margin-left: auto;
  padding: .2rem .6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: .76rem;
  font-weight: 600;
  color: var(--ink-500);
  font-variant-numeric: tabular-nums;
}
.upload.is-full .upload-zone { cursor: not-allowed; border-style: solid; border-color: var(--line); background: var(--paper); }
.upload.is-full .upload-icon { background: var(--line-soft); color: var(--ink-400); }
.upload.is-full .upload-count { border-color: var(--orange); color: var(--orange-700); }
@media (max-width: 479px) {
  /* Écran étroit : icône et compteur sur la première ligne, texte en pleine largeur. */
  .upload-zone { flex-wrap: wrap; row-gap: .55rem; }
  .upload-count { order: 2; }
  .upload-text { order: 3; flex-basis: 100%; }
}

.upload-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .6rem;
  margin: .7rem 0 0;
  padding: 0;
  list-style: none;
}
.upload-list:empty { display: none; }
.upload-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.upload-thumb { display: block; aspect-ratio: 4 / 3; background: var(--paper); }
.upload-thumb img { width: 100%; height: 100%; object-fit: cover; }
.upload-thumb.is-generic {
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2367747e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.6'/%3E%3Cpath d='m21 16-5-5-8 8'/%3E%3C/svg%3E") center / 30px no-repeat;
}
.upload-item.is-loading .upload-thumb {
  background: linear-gradient(100deg, var(--paper) 30%, #fff 50%, var(--paper) 70%) 0 0 / 250% 100%;
  animation: upload-attente 1.1s linear infinite;
}
@keyframes upload-attente { to { background-position: -150% 0; } }
.upload-meta { display: flex; flex-direction: column; padding: .4rem .55rem .45rem; line-height: 1.3; }
.upload-name { overflow: hidden; font-size: .74rem; font-weight: 600; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.upload-size { font-size: .72rem; color: var(--ink-500); }
.upload-remove {
  position: absolute;
  top: .3rem; right: .3rem;
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(21, 33, 41, .8);
  color: #fff;
  cursor: pointer;
  transition: background var(--t), transform var(--t);
}
.upload-remove:hover { background: var(--ink); transform: scale(1.08); }
.upload-remove svg { width: 14px; height: 14px; }
.upload-msg { margin: .45rem 0 0; font-size: .8rem; color: var(--ink-500); }
.upload-msg:empty { display: none; }
.upload-msg.is-err { color: var(--err); }

.form-consent { display: flex; align-items: flex-start; gap: .7rem; font-size: .87rem; color: var(--ink-500); }
.form-consent input { width: 1.15rem; height: 1.15rem; margin-top: .18rem; flex: none; accent-color: var(--orange); }
.form-consent label { font-family: var(--font-body); font-weight: 400; }

/* Pot de miel — masqué aux humains, visible aux robots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-status {
  padding: .95rem 1.15rem;
  border-radius: var(--r-sm);
  font-size: .92rem;
  font-weight: 500;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-ok { background: #e7f6ee; color: #146945; border: 1px solid #b7e3cd; }
.form-status.is-err { background: #fdecec; color: #a11f1f; border: 1px solid #f5c6c6; }

.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ------------------------------------------------------------------
   17. Pied de page
   ------------------------------------------------------------------ */
.site-footer { background: var(--ink); color: #a9b8c2; font-size: .93rem; }
.footer-top { padding-block: clamp(3rem, 6vw, 4.25rem); }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-brand img { width: 46px; height: 46px; margin-bottom: 1rem; }
.footer-brand p { max-width: 26rem; line-height: 1.7; }
.footer-social { display: flex; gap: .65rem; margin-top: 1.25rem; }
.footer-social a {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  transition: background var(--t), transform var(--t);
}
.footer-social a:hover { background: var(--orange); color: var(--badge-fg); transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; }
.footer-social a.is-soon { cursor: default; }
.footer-social a.is-soon:hover { background: rgba(255, 255, 255, .08); color: #fff; transform: none; }
.footer-social a[href*="wa.me"]:hover { background: #25d366; color: #0b3d21; }

.site-footer h2, .site-footer h3 {
  color: #fff;
  font-size: 1.02rem;
  margin-bottom: 1.1rem;
  letter-spacing: 0;
}
.footer-links { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.footer-links li { margin: 0; }
.footer-links a { color: #a9b8c2; text-decoration: none; transition: color var(--t), padding-left var(--t); }
.footer-links a:hover { color: var(--orange); padding-left: .3rem; }

.footer-contact { margin: 0; padding: 0; list-style: none; display: grid; gap: .85rem; }
.footer-contact li { display: flex; gap: .7rem; margin: 0; }
.footer-contact svg { width: 17px; height: 17px; color: var(--orange); flex: none; margin-top: .3rem; }
.footer-contact a { color: #d7e0e6; text-decoration: none; }
.footer-contact a:hover { color: var(--orange); }
.footer-note { display: inline-block; margin-top: .3rem; font-size: .85rem; font-weight: 600; color: #d7e0e6; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 1.35rem;
  font-size: .85rem;
}
.footer-bottom .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom a { color: #c3cfd8; text-decoration: none; }
.footer-bottom a:hover { color: var(--orange); }
.footer-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.footer-credit strong { color: #fff; font-weight: 700; letter-spacing: .04em; }

/* ------------------------------------------------------------------
   18. Éléments flottants
   ------------------------------------------------------------------ */
.fab-wa {
  position: fixed;
  z-index: 80;
  inset-block-end: 5.5rem;
  inset-inline-end: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.15rem;
  background: #25d366;
  color: #0b3d21;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  border-radius: var(--r-pill);
  box-shadow: 0 10px 26px rgba(37, 211, 102, .4);
  transition: transform var(--t), box-shadow var(--t);
}
.fab-wa:hover { transform: translateY(-3px); color: #0b3d21; }
.fab-wa svg { width: 22px; height: 22px; flex: none; }

/* Retour en haut de page : à gauche, en miroir du bouton WhatsApp */
.back-top {
  position: fixed;
  z-index: 80;
  inset-block-end: 5.5rem;
  inset-inline-start: 1rem;
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  /* Liseré blanc : le bouton reste lisible sur les sections sombres. */
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 10px 26px rgba(21, 33, 41, .28);
  transition: opacity var(--t), visibility var(--t), transform var(--t), background var(--t), color var(--t);
}
.back-top svg { width: 22px; height: 22px; transform: rotate(-90deg); }
.back-top:hover { background: var(--orange); color: var(--on-orange); transform: translateY(-3px); }
/* Masqué tant qu'on n'a pas fait défiler la page (sans JavaScript, il reste visible). */
.js .back-top:not(.is-visible) { opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; }

.mobile-bar {
  position: fixed;
  z-index: 85;
  inset-inline: 0;
  inset-block-end: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 22px rgba(21, 33, 41, .1);
}
.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem .5rem;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-title);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.mobile-bar a.is-primary { background: var(--btn-bg); color: var(--btn-fg); }
.mobile-bar svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------------
   19. Page intérieure (mentions légales)
   ------------------------------------------------------------------ */
.page-hero {
  background: var(--ink);
  color: #fff;
  padding-block: clamp(2.75rem, 6vw, 4.25rem);
}
.page-hero h1 { color: #fff; margin-bottom: .4rem; }
.page-hero p { color: #b6c3cc; margin: 0; }
.breadcrumb { margin-bottom: 1rem; font-size: .87rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { display: flex; align-items: center; gap: .5rem; margin: 0; color: #93a3ae; }
.breadcrumb li + li::before { content: "/"; color: #5c6d79; }
.breadcrumb a { color: var(--orange); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.prose { max-width: 48rem; }
.prose h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.prose h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { margin-top: 1.75rem; font-size: 1.08rem; }
.prose dl { margin: 0 0 1.1em; }
.prose dt { font-family: var(--font-title); font-weight: 700; color: var(--ink); margin-top: .9rem; }
.prose dd { margin: .15rem 0 0; }
.prose address { font-style: normal; }
.prose .lead { font-size: 1.08rem; color: var(--ink-500); }

/* ------------------------------------------------------------------
   20. Animations d'apparition
   ------------------------------------------------------------------ */
/* Le masquage initial n'est appliqué que si JavaScript est disponible :
   sans JS (ou en cas d'erreur de script), tout le contenu reste visible. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------
   21. Points de rupture (mobile-first)
   ------------------------------------------------------------------ */
@media (max-width: 340px) {
  .brand-name { font-size: .98rem; }
  .brand-tag { font-size: .5rem; }
}

@media (min-width: 480px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-actions .btn { flex: none; }
}

@media (min-width: 600px) {
  :root { --gutter: 1.75rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-note { grid-template-columns: 1fr auto; column-gap: 1.75rem; }
  .services-note .btn { justify-self: end; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px) {
  .why-grid  { grid-template-columns: 1fr 1.1fr; }
  .cta-inner { grid-template-columns: 1.5fr auto; }
  .contact-grid { grid-template-columns: 1fr 1.25fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step:nth-child(4), .step:nth-child(5) { grid-column: span 1; }
}

/* Mise en page large : grilles à plusieurs colonnes. */
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
  .zone-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(5, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1.3fr; }
}

/* En-tête complet : le menu horizontal, le numéro et le bouton d'appel
   à l'action ne tiennent côte à côte qu'à partir de 1200 px. */
@media (min-width: 1200px) {
  html { scroll-padding-top: 128px; }
  .main-nav .nav-cta { display: none; }   /* doublon du bouton de l'en-tête */
  .fab-wa { inset-block-end: 1.5rem; inset-inline-end: 1.5rem; }
  .back-top { inset-block-end: 1.5rem; inset-inline-start: 1.5rem; }
  .header-cta { gap: 1.25rem; }
  .mobile-bar { display: none; }
  body { padding-bottom: 0 !important; }
}

/* Entre 1200 et 1320 px, le numéro cède la place au menu. */
@media (min-width: 1200px) and (max-width: 1359px) {
  .header-phone .header-phone-text { display: none; }
}

/* Navigation repliée sous 1200px */
@media (max-width: 1199px) {
  .nav-toggle { display: block; }
  .header-phone .header-phone-text { display: none; }
  .header-cta .btn { display: none; }
  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-md);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height .3s ease, visibility .3s;
  }
  .main-nav.is-open { max-height: 32rem; visibility: visible; overflow-y: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.25rem; }
  .main-nav li + li { border-top: 1px solid var(--line-soft); }
  .main-nav a { padding: .95rem .25rem; font-size: 1rem; }
  .main-nav .nav-cta {
    margin-top: 1rem;
    padding-block: 0;
    border-top: 0;
  }
  .main-nav .nav-cta a {
    text-align: center;
    background: var(--btn-bg);
    color: var(--btn-fg);
    border-radius: var(--r-pill);
    padding: .95rem 1.4rem;
  }
  .main-nav .nav-cta a:hover { background: var(--btn-bg-hover); color: var(--btn-fg); }
  .site-header .wrap { position: relative; }
  body { padding-bottom: 3.6rem; }
}

@media (max-width: 767px) {
  .topbar-list li.is-optional { display: none; }
  .hero-media::after { display: none; }
  .why-stat { position: static; margin-top: 1rem; max-width: none; }
  .fab-wa span { display: none; }
  .fab-wa { padding: .9rem; border-radius: 50%; inset-block-end: 4.75rem; }
  .back-top { inset-block-end: 4.75rem; }
}

@media (max-width: 599px) {
  .topbar .wrap { justify-content: center; min-height: 40px; padding-block: .45rem; }
  .topbar-social { display: none; }
  .hero-card { position: static; margin-top: 1rem; max-width: none; box-shadow: var(--sh-sm); }
  /* Boutons plus compacts sur téléphone, cible tactile de 44 px minimum conservée */
  .btn { padding: .78rem 1.3rem; font-size: .9rem; }
  .btn--lg { padding: .88rem 1.45rem; font-size: .95rem; }
}

/* ------------------------------------------------------------------
   22. Préférences utilisateur & impression
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    animation-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .fab-wa, .back-top, .mobile-bar, .cta-band, form { display: none !important; }
  body { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
