/* =========================================================
   R-SPACE — Feuille de styles principale
   Palette : rouge de marque #DF1F26 · bleu #176EBB
   Polices : Poppins (titres) · Inter (texte)
   ========================================================= */

/* ---------- Variables ---------- */
:root {
  --red: #df1f26;
  --red-dark: #b3161c;
  --blue: #176ebb;
  --ink: #17120f;          /* bandeau foncé (hero/footer) — reste foncé dans les 2 thèmes */
  --ink-2: #241d18;
  --text: #211c19;
  --muted: #6c645d;
  --heading: #17120f;
  --line: #e7e1db;
  --bg: #ffffff;
  --bg-soft: #faf7f4;
  --bg-warm: #f5efe9;
  --surface: #ffffff;      /* fond des cartes */
  --surface-2: #faf7f4;    /* fond champs / entêtes de tableau */
  --header-bg: rgba(255, 255, 255, .82);
  --hover: rgba(23, 18, 15, .06);
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -22px rgba(23, 18, 15, .35);
  --shadow-sm: 0 8px 24px -16px rgba(23, 18, 15, .4);
  --container: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  color-scheme: light;
}
/* ----- Thème sombre : suit le système (sauf choix explicite « clair ») ----- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #0d0a08;
    --text: #e8e2db;
    --muted: #a89f95;
    --heading: #ffffff;
    --line: #35302a;
    --bg: #141110;
    --bg-soft: #1a1613;
    --bg-warm: #1f1a16;
    --surface: #1e1a16;
    --surface-2: #26211c;
    --header-bg: rgba(18, 15, 13, .85);
    --hover: rgba(255, 255, 255, .08);
    --shadow: 0 18px 40px -22px rgba(0, 0, 0, .6);
    --shadow-sm: 0 8px 24px -16px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
/* ----- Thème sombre : choix explicite via le bouton ----- */
:root[data-theme="dark"] {
  --ink: #0d0a08;
  --text: #e8e2db;
  --muted: #a89f95;
  --heading: #ffffff;
  --line: #35302a;
  --bg: #141110;
  --bg-soft: #1a1613;
  --bg-warm: #1f1a16;
  --surface: #1e1a16;
  --surface-2: #26211c;
  --header-bg: rgba(18, 15, 13, .85);
  --hover: rgba(255, 255, 255, .08);
  --shadow: 0 18px 40px -22px rgba(0, 0, 0, .6);
  --shadow-sm: 0 8px 24px -16px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: "Poppins", sans-serif; line-height: 1.15; color: var(--heading); font-weight: 700; letter-spacing: -.01em; overflow-wrap: break-word; text-wrap: balance; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: 92px 0; }
.section--soft { background: var(--bg-soft); }
.section--warm { background: var(--bg-warm); }
.section--dark { background: var(--ink); color: #efe7e0; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; max-width: 100%;
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); border-radius: 2px; }
h1.title { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2.title { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.08rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-family: "Poppins", sans-serif;
  font-weight: 600; font-size: .98rem; transition: transform .25s var(--ease), box-shadow .25s, background .25s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 12px 26px -12px rgba(223, 31, 38, .7); }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 18px 32px -12px rgba(223, 31, 38, .75); }
.btn--ghost { border: 1.5px solid var(--line); color: var(--heading); background: var(--surface); }
.btn--ghost:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: var(--header-bg); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 8px 30px -20px rgba(0, 0, 0, .4); }
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo {
  width: 42px; height: 42px; border-radius: 11px; background: #111; object-fit: contain;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .5);
}
.brand__name { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.32rem; letter-spacing: .02em; color: var(--heading); white-space: nowrap; }
.brand__name span { color: var(--red); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  font-family: "Poppins", sans-serif; font-weight: 500; font-size: .93rem; color: var(--text);
  padding: 9px 11px; border-radius: 10px; transition: color .2s, background .2s; white-space: nowrap;
}
.nav a:hover, .nav a.active { color: var(--red); background: rgba(223, 31, 38, .07); }
.header .btn { padding: 10px 16px; white-space: nowrap; }
.brand { flex: none; margin-right: auto; }
.header-cta { display: inline-flex; }
.nav > .btn { display: none; }
/* Menu déroulant nav */
.nav__has-sub { position: relative; display: flex; align-items: center; }
.nav__sub-toggle {
  font-family: "Poppins", sans-serif; font-weight: 500; font-size: .93rem; color: var(--text);
  padding: 9px 11px; border-radius: 10px; transition: color .2s, background .2s; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; cursor: pointer;
}
.nav__has-sub:hover .nav__sub-toggle, .nav__has-sub.open .nav__sub-toggle, .nav__sub-toggle.active { color: var(--red); background: rgba(223, 31, 38, .07); }
.nav__chev { width: 15px; height: 15px; transition: transform .2s; }
.nav__has-sub:hover .nav__chev, .nav__has-sub.open .nav__chev { transform: rotate(180deg); }
.nav__has-sub::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 8px; }
.nav__sub {
  position: absolute; top: calc(100% + 7px); left: 0; min-width: 234px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 6px;
  box-shadow: 0 20px 44px -24px rgba(0, 0, 0, .45); display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s; z-index: 200;
}
.nav__has-sub:hover .nav__sub, .nav__has-sub:focus-within .nav__sub, .nav__has-sub.open .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a { padding: 9px 12px; border-radius: 8px; font-size: .9rem; white-space: nowrap; }
.nav__sub-label { display: block; padding: 8px 12px 3px; margin-top: 2px; border-top: 1px solid var(--line); font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.burger { display: none; width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--line); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--heading); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sélecteur de thème (clair / sombre) ---------- */
.theme-toggle { flex: none; width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--line); background: transparent; color: var(--heading); display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s; }
.theme-toggle:hover { background: var(--hover); color: var(--red); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .ico-sun { display: none; }
.theme-toggle .ico-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .ico-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .ico-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .ico-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .ico-moon { display: none; }
:root[data-theme="light"] .theme-toggle .ico-sun { display: none; }
:root[data-theme="light"] .theme-toggle .ico-moon { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(15, 11, 9, .93) 0%, rgba(15, 11, 9, .78) 42%, rgba(15, 11, 9, .35) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 118px 0 122px; max-width: 660px; }
.hero .badge {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; max-width: 100%;
  padding: 7px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  font-size: .82rem; font-weight: 500; margin-bottom: 24px; backdrop-filter: blur(6px);
}
.hero .badge b { color: #ffd27a; font-weight: 600; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 3.9rem); margin-bottom: 20px; }
.hero h1 span { color: var(--red); }
.hero p { font-size: 1.16rem; color: rgba(255, 255, 255, .85); max-width: 540px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { display: flex; gap: 38px; margin-top: 52px; flex-wrap: wrap; }
.hero__stats .stat b { display: block; font-family: "Poppins", sans-serif; font-size: 1.9rem; color: #fff; }
.hero__stats .stat span { font-size: .9rem; color: rgba(255, 255, 255, .7); }

/* ---------- Grille de cartes services ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-warm); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: 1.24rem; margin-bottom: 10px; }
.card__body p { color: var(--muted); font-size: .98rem; flex: 1; }
.card__link { margin-top: 16px; display: inline-flex; align-items: center; gap: 7px; color: var(--red); font-weight: 600; font-family: "Poppins", sans-serif; font-size: .95rem; }
.card__link svg { width: 16px; height: 16px; transition: transform .25s; }
.card:hover .card__link svg { transform: translateX(4px); }

/* ---------- Pourquoi nous choisir ---------- */
.feature { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform .3s var(--ease), box-shadow .3s; }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature__num {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--red), #ff5a4d); color: #fff;
  font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.2rem; margin-bottom: 18px;
  box-shadow: 0 10px 20px -10px rgba(223, 31, 38, .7);
}
.feature__num svg { width: 25px; height: 25px; }
.feature h3 { font-size: 1.14rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .96rem; }

/* ---------- Bloc média + texte ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: auto; }
.split__body h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 18px; }
.split__body p { color: var(--muted); margin-bottom: 16px; }
.split__body .btn { margin-top: 12px; }
.checklist { display: grid; gap: 12px; margin: 22px 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.checklist svg { flex: none; width: 22px; height: 22px; color: var(--red); margin-top: 2px; }

/* ---------- Partenaires / labels ---------- */
.badges-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.trust {
  display: flex; gap: 22px; align-items: center; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
}
.trust img { width: 120px; height: 90px; object-fit: contain; border-radius: 10px; flex: none; background: var(--bg-warm); padding: 6px; }
.trust h3 { font-size: 1.16rem; margin-bottom: 6px; }
.trust p { color: var(--muted); font-size: .95rem; }

/* ---------- Carrousel réalisations ---------- */
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 10px; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item {
  flex: 0 0 auto; width: 300px; aspect-ratio: 3 / 4; border-radius: var(--radius);
  overflow: hidden; scroll-snap-align: start; box-shadow: var(--shadow-sm); background: var(--bg-warm);
}
.carousel__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.carousel__item:hover img { transform: scale(1.05); }
.carousel__nav { display: flex; gap: 12px; justify-content: center; margin-top: 28px; }
.carousel__btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface);
  display: grid; place-items: center; color: var(--heading); transition: background .2s, color .2s, transform .2s;
}
.carousel__btn:hover { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-2px); }
.carousel__btn svg { width: 22px; height: 22px; }

/* ---------- Galerie (page réalisations) ---------- */
.gallery { columns: 3; column-gap: 20px; }
.gallery figure { break-inside: avoid; margin-bottom: 20px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: auto; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }

/* ---------- Fondateurs ---------- */
.founder { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.founder__media { aspect-ratio: 4 / 3; overflow: hidden; }
.founder__media img { width: 100%; height: 100%; object-fit: cover; }
.founder__body { padding: 26px; }
.founder__body h3 { font-size: 1.35rem; }
.founder__role { color: var(--red); font-weight: 600; font-family: "Poppins", sans-serif; font-size: .92rem; margin: 4px 0 14px; }
.founder__body p { color: var(--muted); font-size: .97rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq__item[open] { border-color: rgba(223, 31, 38, .35); box-shadow: var(--shadow-sm); }
.faq__q {
  list-style: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; font-family: "Poppins", sans-serif; font-weight: 600;
  font-size: 1.05rem; color: var(--heading);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q .icon { flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(223, 31, 38, .1); color: var(--red); display: grid; place-items: center; transition: transform .3s, background .3s; font-size: 1.3rem; line-height: 1; }
.faq__item[open] .faq__q .icon { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq__a { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Bandeau CTA ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--red), #ff5a4d); color: #fff; border-radius: 26px; padding: 60px; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% -20%, rgba(255,255,255,.25), transparent 55%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, .92); max-width: 560px; margin: 0 auto 28px; font-size: 1.08rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.info-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: none; }
.info-item .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(223, 31, 38, .09); color: var(--red); display: grid; place-items: center; }
.info-item .ic svg { width: 22px; height: 22px; }
.info-item h4 { font-family: "Poppins", sans-serif; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 3px; font-weight: 600; }
.info-item a, .info-item p { color: var(--heading); font-weight: 500; }
.info-item a:hover { color: var(--red); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: "Poppins", sans-serif; font-weight: 500; font-size: .9rem; margin-bottom: 7px; color: var(--heading); }
.field label .req { color: var(--red); }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 1rem; color: var(--text); background: var(--surface-2); transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); background: var(--surface); }
.form__note { font-size: .84rem; color: var(--muted); margin-top: 6px; }
.form__alert { padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; font-size: .95rem; display: none; }
.form__alert.show { display: block; }
.form__alert.ok { background: #eaf7ee; color: #1a7a3d; border: 1px solid #b6e4c4; }
.form__alert.err { background: #fdecec; color: #b3161c; border: 1px solid #f4c2c3; }

/* ---------- Page hero (pages internes) ---------- */
.page-hero { background: var(--ink); color: #fff; padding: 70px 0 60px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(223,31,38,.4), transparent 65%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.1rem); max-width: 780px; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 620px; margin-top: 16px; font-size: 1.1rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: .88rem; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: var(--red); }

/* ---------- Prose (mentions légales) ---------- */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.prose p, .prose li { color: var(--text); margin-bottom: 12px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose a { color: var(--red); text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 68px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .brand__name { color: #fff; }
.footer p { font-size: .95rem; margin-top: 16px; max-width: 300px; }
.footer h4 { color: #fff; font-family: "Poppins", sans-serif; font-size: .95rem; margin-bottom: 18px; letter-spacing: .04em; }
.footer ul { display: grid; gap: 11px; }
.footer ul a { font-size: .95rem; transition: color .2s; }
.footer ul a:hover { color: var(--red); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: .95rem; }
.footer__contact svg { width: 18px; height: 18px; color: var(--red); flex: none; margin-top: 3px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 50px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; color: rgba(255, 255, 255, .55); }
.footer__bottom a:hover { color: #fff; }

/* ---------- Animations d'apparition ---------- */
/* Effet d'apparition uniquement si le JS est actif (sinon contenu visible) */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal { opacity: 0; transform: translateY(24px); }
html.js .reveal.in { opacity: 1; transform: none; }

/* Arrivées depuis les côtés (esprit du site d'origine) */
html.js .grid-3 > .reveal:not(.in):nth-child(3n+1) { transform: translateX(-70px); }
html.js .grid-3 > .reveal:not(.in):nth-child(3n)   { transform: translateX(70px); }
html.js .grid-2 > .reveal:not(.in):nth-child(odd)  { transform: translateX(-70px); }
html.js .grid-2 > .reveal:not(.in):nth-child(even) { transform: translateX(70px); }
html.js .link-cards > .reveal:not(.in):nth-child(odd)  { transform: translateX(-70px); }
html.js .link-cards > .reveal:not(.in):nth-child(even) { transform: translateX(70px); }
html.js .split__media.reveal:not(.in) { transform: translateX(-70px); }
html.js .split__body.reveal:not(.in)  { transform: translateX(70px); }
html.js .split--reverse .split__media.reveal:not(.in) { transform: translateX(70px); }
html.js .split--reverse .split__body.reveal:not(.in)  { transform: translateX(-70px); }

/* Apparition en cascade dans les grilles (esprit Framer) */
html.js .grid > .reveal:nth-child(2), html.js .link-cards > .reveal:nth-child(2) { transition-delay: .08s; }
html.js .grid > .reveal:nth-child(3), html.js .link-cards > .reveal:nth-child(3) { transition-delay: .16s; }
html.js .grid > .reveal:nth-child(4), html.js .link-cards > .reveal:nth-child(4) { transition-delay: .24s; }
html.js .grid > .reveal:nth-child(5) { transition-delay: .32s; }
html.js .grid > .reveal:nth-child(6) { transition-delay: .40s; }

/* Accessibilité : focus clavier visible */
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 6px; }

/* Accessibilité : respect de « réduire les animations » */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html.js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Puces de communes / mots-clés ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.section-head.left .chips { justify-content: flex-start; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; font-weight: 500; color: var(--heading); }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

/* ---------- Encadré note ---------- */
.note { display: flex; gap: 14px; align-items: flex-start; background: rgba(23, 110, 187, .06); border: 1px solid rgba(23, 110, 187, .2); border-radius: var(--radius-sm); padding: 18px 20px; color: var(--text); }
.note svg { flex: none; width: 24px; height: 24px; color: var(--blue); margin-top: 2px; }
.note.red { background: rgba(223, 31, 38, .06); border-color: rgba(223, 31, 38, .2); }
.note.red svg { color: var(--red); }

/* ---------- Cartes de liens (maillage silo) ---------- */
.link-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.link-card { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.link-card__ic { flex: none; width: 52px; height: 52px; border-radius: 14px; background: rgba(223, 31, 38, .09); color: var(--red); display: grid; place-items: center; }
.link-card__ic svg { width: 26px; height: 26px; }
.link-card h3 { font-size: 1.1rem; margin-bottom: 3px; }
.link-card p { color: var(--muted); font-size: .92rem; }

/* ---------- Tableau tarifs / infos ---------- */
.tbl-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.tbl { width: 100%; border-collapse: collapse; background: var(--surface); min-width: 480px; }
.tbl th, .tbl td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.tbl th { font-family: "Poppins", sans-serif; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface-2); }
.tbl tr:last-child td { border-bottom: none; }
.tbl td strong { color: var(--red); font-family: "Poppins", sans-serif; }

/* ---------- Étapes numérotées (process vertical) ---------- */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step { display: flex; gap: 20px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.step__n { flex: none; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--red), #ff5a4d); color: #fff; display: grid; place-items: center; font-family: "Poppins", sans-serif; font-weight: 700; box-shadow: 0 10px 20px -10px rgba(223, 31, 38, .7); }
.step h3 { font-size: 1.12rem; margin-bottom: 5px; }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------- Carte zone d'intervention ---------- */
.zone-map { width: 100%; max-width: 520px; height: auto; display: block; margin-inline: auto; }

/* ---------- Lien d'évitement (accessibilité) ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; font-family: "Poppins", sans-serif; font-weight: 600; text-decoration: none; }
.skip-link:focus { left: 0; }

/* ---------- Avis clients (statique, style Google) ---------- */
.reviews-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; margin-bottom: 44px; }
.reviews-head .g { width: 26px; height: 26px; flex: none; }
.reviews-head .score { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.6rem; color: var(--heading); }
.reviews-head .count { color: var(--muted); font-size: .96rem; }
.stars { color: #f5b301; letter-spacing: 2px; line-height: 1; white-space: nowrap; }
.reviews-head .stars { font-size: 1.3rem; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; }
.review__top { display: flex; align-items: center; gap: 12px; }
.review__av { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: "Poppins", sans-serif; font-weight: 600; background: var(--c, var(--red)); }
.review__name { font-family: "Poppins", sans-serif; font-weight: 600; color: var(--heading); font-size: .98rem; }
.review__meta { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); }
.review__meta svg { width: 14px; height: 14px; }
.review__text { color: var(--text); font-size: .96rem; }

/* ---------- Bandeau cookies (RGPD) ---------- */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -12px 34px -20px rgba(0, 0, 0, .5); padding: 18px 20px; }
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner { max-width: var(--container); margin-inline: auto; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cookie-banner p { color: var(--text); font-size: .92rem; flex: 1 1 320px; margin: 0; }
.cookie-banner p a { color: var(--red); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner__actions .btn { padding: 10px 22px; }

/* ---------- Contenus tiers gérés par consentement ---------- */
.tp-embed { position: relative; }
.tp-embed iframe:not([src]) { display: none; }
.tp-placeholder { background: var(--surface-2); border: 1px dashed var(--line); border-radius: var(--radius); padding: 44px 24px; text-align: center; }
.tp-placeholder p { color: var(--muted); margin: 0 auto 16px; max-width: 460px; }

/* Bouton présenté comme un lien (footer « gérer les cookies ») */
.link-btn { background: none; border: none; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.link-btn:hover { color: #fff; }

@media (max-width: 620px) {
  .link-cards { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gallery { columns: 2; }
}
@media (max-width: 1120px) {
  .nav, .header-cta { display: none; }
  .burger { display: flex; }
  .nav.open {
    display: flex; position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column;
    align-items: stretch; background: var(--surface); padding: 16px 24px 24px; gap: 4px;
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -24px rgba(0,0,0,.4); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.open a { padding: 14px 12px; border-radius: 10px; font-size: 1.05rem; }
  .nav.open > .btn { display: inline-flex; margin-top: 10px; color: #fff; }
  .nav.open .nav__has-sub { flex-direction: column; align-items: stretch; }
  .nav.open .nav__sub-toggle { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.05rem; }
  .nav.open .nav__sub {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; background: transparent; padding: 0 0 4px 12px; margin: 0; min-width: 0; display: none;
  }
  .nav.open .nav__has-sub.open .nav__sub { display: flex; }
  .nav.open .nav__sub a { font-size: 1rem; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__media { order: 0; }
  .section { padding: 66px 0; }
  .cta-band { padding: 44px 26px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-3, .grid-2, .badges-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .hero__inner { padding: 84px 0 88px; }
  .hero__stats { gap: 26px; }
  .footer__grid { grid-template-columns: 1fr; }
  .trust { flex-direction: column; text-align: center; align-items: center; }
  .cta-band { padding: 38px 22px; }
}
