/*
Theme Name: Soltek Époxy
Theme URI: https://soltekepoxy.ca
Author: Agence Rizz
Author URI: https://agencerizz.com
Description: Thème sur mesure pour Soltek Époxy : plancher d'époxy et revêtement polyaspartique, Rive-Nord de Montréal. Aucune dépendance externe, polices auto-hébergées.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: Propriétaire, usage réservé à Soltek Époxy
Text Domain: soltek
*/

/* ==========================================================================
   SOLTEK ÉPOXY : design system
   Palette tirée du logo : navy #2F313E / #313040 · lime #94C937 → #BBE350
   ========================================================================== */

/* --- Polices auto-hébergées (sous-ensemble latin, accents FR inclus) ------ */
@font-face {
  font-family: 'Archivo';
  src: url('assets/fonts/archivo-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  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+2074, U+20AC,
                 U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  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+2074, U+20AC,
                 U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Jetons ------------------------------------------------------------- */
:root {
  /* Fonds */
  --bg:            #101219;
  --bg-alt:        #171a23;
  --surface:       #1d212c;
  --surface-hi:    #262b38;
  --line:          #2f3543;
  --line-soft:     #232833;

  /* Marque */
  --navy:          #2f313e;
  --lime:          #a4d63f;
  --lime-bright:   #bbe350;
  --lime-deep:     #7fb02a;
  --lime-grad:     linear-gradient(135deg, #94c937 0%, #bbe350 100%);

  /* Texte */
  --text:          #f3f5f8;
  --text-soft:     #b9c0cd;
  --text-mute:     #838c9d;
  --on-lime:       #14180b;

  /* Typo */
  --font-display: 'Archivo', 'Arial Black', 'Helvetica Neue', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Échelle fluide */
  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg:   clamp(1.125rem, 0.4vw + 1.05rem, 1.3125rem);
  --fs-xl:   clamp(1.375rem, 1vw + 1.1rem, 1.75rem);
  --fs-2xl:  clamp(1.75rem, 2vw + 1.2rem, 2.5rem);
  --fs-3xl:  clamp(2.125rem, 3.4vw + 1.2rem, 3.5rem);
  --fs-4xl:  clamp(2.5rem, 5.6vw + 1rem, 5.25rem);

  /* Espacement */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;   --sp-6: 2rem;     --sp-7: 3rem;     --sp-8: 4rem;
  --sp-9: 6rem;     --sp-10: 8rem;

  --section-y: clamp(3.5rem, 7vw, 7rem);
  --header-h:  94px;
  --wrap:      1200px;
  --wrap-tight: 820px;
  --radius:    14px;
  --radius-sm: 8px;
  --radius-lg: 22px;

  --shadow:    0 18px 45px -22px rgba(0,0,0,.85);
  --shadow-lg: 0 34px 80px -32px rgba(0,0,0,.9);
  --ease:      cubic-bezier(.22,.61,.36,1);
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { list-style: none; padding: 0; }

a { color: var(--lime); text-decoration: none; }
a:hover { color: var(--lime-bright); }

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

/* --- Typographie -------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: var(--fs-4xl); text-transform: uppercase; letter-spacing: -0.03em; }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); letter-spacing: -0.01em; }
h4 { font-size: var(--fs-lg); letter-spacing: 0; }
p  { text-wrap: pretty; }

.lede { font-size: var(--fs-lg); color: var(--text-soft); line-height: 1.6; }
.muted { color: var(--text-mute); }
strong { color: #fff; font-weight: 650; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: ''; width: 28px; height: 2px;
  background: var(--lime-grad); border-radius: 2px;
}

.accent { color: var(--lime); }

/* --- Mise en page ------------------------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-tight { width: min(100% - 2.5rem, var(--wrap-tight)); margin-inline: auto; }
section { padding-block: var(--section-y); }
.section-alt { background: var(--bg-alt); }

.sec-head { max-width: 62ch; margin-bottom: var(--sp-7); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head p { margin-top: var(--sp-4); }

.skip-link {
  position: absolute; left: var(--sp-4); top: -100px; z-index: 999;
  background: var(--lime); color: var(--on-lime);
  padding: var(--sp-3) var(--sp-5); border-radius: var(--radius-sm);
  font-weight: 700; transition: top .2s var(--ease);
}
.skip-link:focus { top: var(--sp-4); color: var(--on-lime); }

/* --- Boutons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-3);
  padding: 0.95rem 1.75rem;
  border: 1px solid transparent;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), border-color .25s var(--ease),
              color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: var(--lime-grad);
  color: var(--on-lime);
  box-shadow: 0 12px 30px -12px rgba(164,214,63,.6);
}
.btn-primary:hover { color: var(--on-lime); box-shadow: 0 18px 40px -14px rgba(164,214,63,.75); }

.btn-ghost {
  background: rgba(255,255,255,.04);
  border-color: var(--line);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--lime); color: var(--text); background: rgba(164,214,63,.08); }

.btn-lg { padding: 1.1rem 2.25rem; font-size: var(--fs-base); }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

/* --- En-tête (blanc, pour que le logo ressorte) -------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e6e9ef;
  transition: box-shadow .3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 8px 28px -18px rgba(15,18,25,.45); }

/* Logo collé à gauche · menu au centre · téléphone collé à droite */
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-6);
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 60px; width: auto; }
.brand:hover { opacity: .85; }

.nav-main { display: flex; align-items: center; justify-content: center; gap: 2px; flex: 1 1 auto; }
.nav-main a {
  display: block;
  padding: var(--sp-2) var(--sp-4);
  color: var(--navy);
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: 100px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-main a:hover, .nav-main a[aria-current="page"] {
  color: var(--lime-deep); background: rgba(164,214,63,.14);
}

.header-cta { display: flex; align-items: center; gap: var(--sp-3); flex: none; }
.header-phone-btn { white-space: nowrap; font-size: var(--fs-sm); }
.header-phone-btn svg { width: 17px; height: 17px; }
.site-header .btn-primary { color: var(--on-lime); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  background: #f3f5f8;
  border: 1px solid #dfe3ea;
  border-radius: 12px;
  color: var(--navy);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1040px) {
  :root { --header-h: 78px; }
  .brand img { height: 48px; }
  .nav-main {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch;
    gap: 0;
    padding: var(--sp-4) 1.25rem var(--sp-6);
    background: #fff;
    border-bottom: 1px solid #e6e9ef;
    box-shadow: 0 20px 40px -26px rgba(15,18,25,.5);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav-main.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .nav-main a { padding: var(--sp-4) var(--sp-3); font-size: var(--fs-lg); border-radius: var(--radius-sm); }
  .nav-main li + li a { border-top: 1px solid #eef1f5; border-radius: 0; }
  .nav-toggle { display: flex; }
}
@media (max-width: 620px) {
  .header-phone-btn span { display: none; }
  .header-phone-btn { padding: .8rem .95rem; }
}

/* --- Héros -------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(96svh, 1000px);
  display: flex; align-items: center;
  padding-top: calc(var(--header-h) + var(--sp-6));
  padding-bottom: var(--sp-7);
  overflow: hidden;
}

/* Deux colonnes : texte collé à gauche, formulaire à droite */
.hero-inner {
  position: relative; z-index: 1;
  width: min(100% - 3rem, 1560px);
  margin-inline: auto;
  display: grid;
  gap: var(--sp-7);
  align-items: center;
}
@media (min-width: 1080px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 470px);
    gap: clamp(2.5rem, 5vw, 5rem);
  }
}
.hero-copy { max-width: 44rem; }

.hero-form {
  background: rgba(16,18,25,.72);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  box-shadow: var(--shadow-lg);
}
.hero-form-head { padding: var(--sp-3) var(--sp-3) var(--sp-4); }
.hero-form-head h2 { font-size: var(--fs-xl); margin-bottom: var(--sp-2); }
.hero-form-head p { font-size: var(--fs-sm); color: var(--text-soft); }
.hero-form .ghl-form { padding: 0; border: 0; box-shadow: none; border-radius: var(--radius); }
.hero-form .ghl-form iframe { min-height: 640px; }
@media (max-width: 1079px) {
  .hero { min-height: 0; align-items: stretch; }
  .hero-form { max-width: 560px; }
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
@media (max-width: 720px) { .hero-media img { object-position: 72% 50%; } }
/* Voile plus léger : la photo reste lisible, le texte reste contrasté */
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(16,18,25,.42) 0%, rgba(16,18,25,.18) 32%, rgba(16,18,25,.82) 100%),
    linear-gradient(95deg, rgba(16,18,25,.88) 0%, rgba(16,18,25,.55) 42%, rgba(16,18,25,.22) 72%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
  max-width: 15ch; margin-bottom: var(--sp-5);
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
}
.hero-lede, .hero-trust li { text-shadow: 0 1px 12px rgba(0,0,0,.55); }

/* --- Badge avis Google -------------------------------------------------- */
.greview {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  padding: .55rem .55rem .55rem 1rem;
  margin-bottom: var(--sp-5);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(12px);
  border-radius: 100px;
  color: #fff;
  font-size: var(--fs-sm);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.greview:hover { color: #fff; background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); }
.greview .g-logo { width: 20px; height: 20px; flex: none; }
.greview .g-stars { display: flex; gap: 2px; color: #fbbc04; }
.greview .g-stars svg { width: 16px; height: 16px; }
.greview .g-score { font-weight: 700; }
.greview .g-label { color: rgba(255,255,255,.82); }
.greview .g-cta {
  display: inline-flex; align-items: center; gap: 4px;
  padding: .3rem .8rem;
  background: rgba(255,255,255,.14);
  border-radius: 100px;
  font-size: var(--fs-xs); font-weight: 650;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .greview { padding-right: 1rem; }
  .greview .g-cta { display: none; }
  .greview .g-label { display: none; }
}

/* Badge avis, version sur fond de section */
.greview-inline {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  padding: .5rem .5rem .5rem 1rem;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--text);
  font-size: var(--fs-sm);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.greview-inline:hover { color: var(--text); border-color: var(--lime); background: rgba(164,214,63,.08); }
.greview-inline .g-logo { width: 19px; height: 19px; flex: none; }
.greview-inline .g-stars { display: flex; gap: 2px; color: #fbbc04; }
.greview-inline .g-stars svg { width: 16px; height: 16px; }
.greview-inline .g-score { font-weight: 700; }
.greview-inline .g-label { color: var(--text-soft); }
.greview-inline .g-cta {
  display: inline-flex; align-items: center; gap: 4px;
  padding: .3rem .8rem;
  background: rgba(255,255,255,.09);
  border-radius: 100px;
  font-size: var(--fs-xs); font-weight: 650;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .greview-inline { padding-right: 1rem; flex-wrap: wrap; }
  .greview-inline .g-cta { display: none; }
}
.hero h1 .accent { background: var(--lime-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lede { max-width: 56ch; font-size: var(--fs-lg); color: var(--text-soft); margin-bottom: var(--sp-6); }
.hero .btn-row { margin-bottom: var(--sp-5); }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-trust li {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-sm); color: var(--text-soft);
}
.hero-trust svg { width: 18px; height: 18px; color: var(--lime); flex: none; }

/* Héros interne (pages secondaires) */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + var(--sp-7));
  padding-bottom: var(--sp-8);
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.page-hero-media { position: absolute; inset: 0; z-index: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,18,25,.92) 0%, rgba(16,18,25,.72) 50%, rgba(16,18,25,.97) 100%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: var(--fs-3xl); max-width: 20ch; }
.page-hero .lede { max-width: 60ch; margin-top: var(--sp-5); }

/* --- Fil d'Ariane ------------------------------------------------------- */
.crumbs { display: flex; flex-wrap: wrap; gap: var(--sp-2); font-size: var(--fs-xs); margin-bottom: var(--sp-5); }
.crumbs li { display: flex; align-items: center; gap: var(--sp-2); color: var(--text-mute); }
.crumbs li + li::before { content: '/'; color: var(--line); }
.crumbs a { color: var(--text-mute); }
.crumbs a:hover { color: var(--lime); }

/* --- Grilles ------------------------------------------------------------ */
.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

/* --- Cartes services ---------------------------------------------------- */
.svc-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.svc-card:hover { transform: translateY(-5px); border-color: rgba(164,214,63,.45); box-shadow: var(--shadow); }
.svc-card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-alt); }
.svc-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.svc-card:hover .svc-card-media img { transform: scale(1.06); }
.svc-card-body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.svc-card h3 { font-size: var(--fs-lg); }
.svc-card p { font-size: var(--fs-sm); color: var(--text-soft); flex: 1; }
.svc-card-link {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xs);
  letter-spacing: .1em; text-transform: uppercase;
}
.svc-card-link svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.svc-card:hover .svc-card-link svg { transform: translateX(4px); }
.svc-card > a.stretch { position: absolute; inset: 0; z-index: 2; text-indent: -9999px; }

/* --- Cartes génériques -------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: var(--sp-5);
}
.card h3 { margin-bottom: var(--sp-3); }
.card p { font-size: var(--fs-sm); color: var(--text-soft); }

.icon-badge {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(164,214,63,.12);
  border: 1px solid rgba(164,214,63,.28);
  color: var(--lime);
  margin-bottom: var(--sp-4);
}
.icon-badge svg { width: 26px; height: 26px; }

/* --- Processus ---------------------------------------------------------- */
.steps { display: grid; gap: var(--sp-5); counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; top: -18px; left: var(--sp-5);
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 900;
  line-height: 1;
  background: var(--lime-grad); -webkit-background-clip: text; background-clip: text;
  color: transparent;
  opacity: .9;
}
.step h3 { margin-bottom: var(--sp-3); font-size: var(--fs-lg); }
.step p { color: var(--text-soft); font-size: var(--fs-sm); }
.step-meta {
  display: inline-block; margin-top: var(--sp-4);
  font-size: var(--fs-xs); font-weight: 650;
  color: var(--lime); letter-spacing: .04em;
}

/* --- Galerie ------------------------------------------------------------ */
.gallery { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.gallery-item {
  position: relative; display: block;
  aspect-ratio: 4/3; overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line-soft);
}
/* La règle par défaut du navigateur [hidden]{display:none} n'a aucune
   spécificité : sans cette ligne, le display:block ci-dessus l'emporte et les
   filtres de la galerie n'ont aucun effet visible. */
.gallery-item[hidden] { display: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: var(--sp-5) var(--sp-4) var(--sp-3);
  font-size: var(--fs-xs); font-weight: 600; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.85));
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.gallery-item:hover figcaption, .gallery-item:focus-within figcaption { opacity: 1; transform: none; }
.gallery-item.wide { grid-column: span 2; aspect-ratio: 16/9; }
@media (max-width: 640px) { .gallery-item.wide { grid-column: span 1; aspect-ratio: 4/3; } }

/* Filtres galerie */
.filters { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-6); }
.filter-btn {
  padding: .55rem 1.15rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--text-soft);
  font-size: var(--fs-sm); font-weight: 600;
  transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--lime); color: var(--text); }
.filter-btn[aria-pressed="true"] { background: var(--lime-grad); border-color: transparent; color: var(--on-lime); }

/* --- Bandeau chiffres --------------------------------------------------- */
.stats { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.stat { text-align: center; padding: var(--sp-5) var(--sp-3); }
.stat dt { order: 2; font-size: var(--fs-sm); color: var(--text-mute); margin-top: var(--sp-2); }
.stat dd {
  order: 1; margin: 0;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1;
  background: var(--lime-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat { display: flex; flex-direction: column; }

/* --- Split (texte + image) ---------------------------------------------- */
.split { display: grid; gap: var(--sp-7); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .split.reverse > :first-child { order: 2; }
}
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* --- Liste à puces cochées ---------------------------------------------- */
.checks { display: grid; gap: var(--sp-3); }
.checks li { display: flex; align-items: flex-start; gap: var(--sp-3); color: var(--text-soft); }
.checks svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--lime); }

/* --- Témoignages -------------------------------------------------------- */
.quote {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
  display: flex; flex-direction: column; gap: var(--sp-4);
}
.stars { display: flex; gap: 3px; color: var(--lime); }
.stars svg { width: 18px; height: 18px; }
.quote blockquote { font-size: var(--fs-base); color: var(--text-soft); flex: 1; }
.quote footer { font-size: var(--fs-sm); font-weight: 650; color: var(--text); }
.quote footer span { display: block; font-weight: 400; color: var(--text-mute); font-size: var(--fs-xs); }

/* --- FAQ ---------------------------------------------------------------- */
.faq { display: grid; gap: var(--sp-3); }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .25s var(--ease);
}
.faq details[open] { border-color: rgba(164,214,63,.35); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-5);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg);
  letter-spacing: -.01em;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none;
  width: 13px; height: 13px;
  border-right: 2px solid var(--lime); border-bottom: 2px solid var(--lime);
  transform: rotate(45deg) translate(-3px,-3px);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px,-3px); }
.faq .faq-body { padding: 0 var(--sp-5) var(--sp-5); color: var(--text-soft); }
.faq .faq-body p + p { margin-top: var(--sp-4); }

/* --- Appel à l'action --------------------------------------------------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  background: var(--surface);
  border: 1px solid var(--line-soft);
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(90% 130% at 12% 0%, rgba(164,214,63,.16), transparent 62%);
}
.cta-band > * { position: relative; }
.cta-band h2 { max-width: 18ch; margin-bottom: var(--sp-4); }
.cta-band p { max-width: 54ch; color: var(--text-soft); margin-bottom: var(--sp-6); }

/* --- Formulaire --------------------------------------------------------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
}
.form-grid { display: grid; gap: var(--sp-4); }
@media (min-width: 640px) { .form-grid .half { grid-column: span 1; } .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }

.field { display: flex; flex-direction: column; gap: var(--sp-2); }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--text-soft); }
.field .req { color: var(--lime); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .85rem 1rem;
  font-size: 16px; /* évite le zoom iOS */
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-mute); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(164,214,63,.16);
}
.field-hint { font-size: var(--fs-xs); color: var(--text-mute); }
.form-note { font-size: var(--fs-xs); color: var(--text-mute); margin-top: var(--sp-4); }

/* --- Formulaire GoHighLevel intégré ------------------------------------- */
.ghl-form {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: var(--sp-3);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ghl-form iframe {
  display: block;
  width: 100%;
  min-height: 700px;
  border: 0;
  border-radius: 10px;
}
@media (max-width: 640px) { .ghl-form iframe { min-height: 820px; } }

/* --- Zones desservies --------------------------------------------------- */
.zone-list { display: grid; gap: var(--sp-2); grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); }
.zone-list a {
  display: flex; align-items: center; gap: var(--sp-2);
  padding: .7rem .95rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  font-size: var(--fs-sm); font-weight: 550;
  transition: all .22s var(--ease);
}
.zone-list a:hover { border-color: var(--lime); color: var(--text); transform: translateX(3px); }
.zone-list svg { width: 15px; height: 15px; color: var(--lime); flex: none; }

/* --- Pied de page (blanc, pour que le logo ressorte) --------------------- */
.site-footer {
  --f-text:  #2f313e;
  --f-soft:  #5b6472;
  --f-mute:  #7a8494;
  --f-line:  #e6e9ef;
  background: #fff;
  color: var(--f-soft);
  border-top: 1px solid var(--f-line);
  padding-top: var(--sp-8);
}
.site-footer .greview-inline {
  background: #f5f7fa; border-color: var(--f-line); color: var(--f-text);
}
.site-footer .greview-inline:hover { border-color: var(--lime-deep); background: rgba(164,214,63,.12); color: var(--f-text); }
.site-footer .greview-inline .g-label { color: var(--f-soft); }
.site-footer .greview-inline .g-cta { background: #e9edf3; color: var(--f-text); }
.footer-grid {
  display: grid; gap: var(--sp-6);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  padding-bottom: var(--sp-7);
}
/* La colonne marque est plus large : le badge Google tient sur une ligne */
@media (min-width: 1000px) {
  .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1.15fr; }
}
.footer-greview { margin-top: var(--sp-5); }
.footer-greview .greview-inline { white-space: nowrap; }
.footer-brand img { height: 62px; margin-bottom: var(--sp-4); }
.footer-brand p { font-size: var(--fs-sm); color: var(--f-soft); max-width: 34ch; }
.footer-col h4 {
  font-size: var(--fs-xs); font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--f-text); margin-bottom: var(--sp-4);
}
.footer-col li + li { margin-top: var(--sp-3); }
.footer-col a { color: var(--f-soft); font-size: var(--fs-sm); }
.footer-col a:hover { color: var(--lime-deep); }
.footer-col strong { color: var(--f-text); }

.footer-contact li { display: flex; align-items: flex-start; gap: var(--sp-3); margin-bottom: var(--sp-3); font-size: var(--fs-sm); color: var(--f-soft); }
.footer-contact svg { width: 17px; height: 17px; color: var(--lime-deep); flex: none; margin-top: 3px; }
.footer-contact a { color: var(--f-text); font-weight: 600; }

.socials { display: flex; gap: var(--sp-3); margin-top: var(--sp-5); }
.socials a {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--f-line); border-radius: 12px;
  color: var(--f-soft);
  transition: all .25s var(--ease);
}
.socials a:hover { border-color: var(--lime-deep); color: var(--lime-deep); transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }

.footer-bottom {
  border-top: 1px solid var(--f-line);
  padding-block: var(--sp-5);
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5);
  align-items: center; justify-content: space-between;
  font-size: var(--fs-xs); color: var(--f-mute);
}
.footer-bottom a { color: var(--f-soft); }
.footer-bottom a:hover { color: var(--lime-deep); }
.rbq {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  flex: none;
  padding: .45rem 1.1rem;
  border: 1px solid var(--f-line); border-radius: 100px;
  font-weight: 650; color: var(--f-text);
  white-space: nowrap;
  font-size: var(--fs-xs);
}
.rbq svg { width: 16px; height: 16px; flex: none; color: var(--lime-deep); }

/* --- Barre d'action mobile ---------------------------------------------- */
.mobile-bar {
  position: fixed; inset: auto 0 0 0; z-index: 90;
  display: none;
  gap: var(--sp-3);
  padding: var(--sp-3) 1rem calc(var(--sp-3) + env(safe-area-inset-bottom));
  background: rgba(16,18,25,.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line-soft);
}
.mobile-bar .btn { flex: 1; padding: .85rem 1rem; font-size: var(--fs-xs); }
@media (max-width: 720px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 76px; }
}

/* --- Animations au défilement ------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* --- Contenu long (articles, pages villes) ------------------------------ */
.prose > * + * { margin-top: var(--sp-5); }
.prose h2 { margin-top: var(--sp-8); font-size: var(--fs-2xl); }
.prose h3 { margin-top: var(--sp-6); }
.prose p, .prose li { color: var(--text-soft); }
.prose ul { display: grid; gap: var(--sp-3); }
.prose ul li { display: flex; gap: var(--sp-3); }
.prose ul li::before { content: ''; flex: none; width: 6px; height: 6px; margin-top: .65em; border-radius: 50%; background: var(--lime); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* --- Utilitaires -------------------------------------------------------- */
.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;
}
.text-center { text-align: center; }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
