/* ============================================
   Alzaix Bruno — Artisan Plâtrier Peintre
   ============================================ */

:root {
  --cream: #FBF4E7;
  --cream-2: #F5EAD6;
  --ink: #22283A;
  --navy: #1B2A5B;
  --navy-2: #0F1D42;
  --orange: #E8792E;
  --teal: #2F8F6C;
  --purple: #5B4A9F;
  --blue: #2A6FB0;
  --pink: #C81A6B;
  --maroon: #8C2F39;
  --gold: #F0B429;

  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-script: 'Caveat', cursive;
  --font-body: 'Nunito Sans', system-ui, sans-serif;

  /* Échelle typographique — 5 tailles, pas une de plus.
     Toute nouvelle taille doit réutiliser un de ces tokens. */
  --fs-xs: .8rem;      /* labels/kickers en majuscules */
  --fs-sm: .85rem;     /* méta, légendes, petites notes */
  --fs-md: .95rem;     /* corps de texte des cartes */
  --fs-base: 1rem;     /* corps de texte courant */
  --fs-lead: 1.08rem;  /* paragraphes d'introduction */

  /* Hiérarchie de texte — 3 niveaux sur fond clair, 2 sur fond sombre. */
  --text-body: #3f4559;        /* prose lisible */
  --text-muted: #6b7086;       /* secondaire */
  --text-subtle: #8a90a6;      /* méta / légendes */
  --text-on-dark: #cdd3ea;     /* prose sur fond navy */
  --text-on-dark-subtle: #8890ad;

  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(27, 42, 91, 0.25);
  --container: 1180px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* L'en-tête est collant et mesure 75px à toutes les largeurs : sans cette
     marge, un clic dans le menu amène la section pile sous la barre et son
     titre reste masqué. 92px laissent en plus un peu d'air au-dessus. */
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

/* ---------- Scrollbars ---------- */
/* Barre de page et zones défilantes sur fond clair (modale, etc.) */
html, .modal-panel {
  scrollbar-color: var(--orange) var(--cream-2);
  scrollbar-width: auto;
}
html::-webkit-scrollbar, .modal-panel::-webkit-scrollbar { width: 18px; }
html::-webkit-scrollbar-track, .modal-panel::-webkit-scrollbar-track { background: var(--cream-2); }
html::-webkit-scrollbar-thumb, .modal-panel::-webkit-scrollbar-thumb {
  background: var(--orange);
  border-radius: 999px;
  border: 4px solid var(--cream-2);
}
html::-webkit-scrollbar-thumb:hover, .modal-panel::-webkit-scrollbar-thumb:hover { background: var(--navy); }

/* Bandeau de vignettes de la lightbox, sur fond sombre */
.lightbox-thumbs { scrollbar-color: var(--orange) rgba(255,255,255,.15); }
.lightbox-thumbs::-webkit-scrollbar { height: 12px; }
.lightbox-thumbs::-webkit-scrollbar-track { background: rgba(255,255,255,.12); border-radius: 999px; }
.lightbox-thumbs::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 999px; border: 3px solid transparent; background-clip: padding-box; }
.lightbox-thumbs::-webkit-scrollbar-thumb:hover { background: var(--gold); background-clip: padding-box; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 .5em;
  line-height: 1.15;
}

h1 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

.script {
  font-family: var(--font-script);
  font-weight: 700;
  color: var(--orange);
  font-size: 1.12em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 64px 0; }
.section.services { background: var(--cream-2); }

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 .6em;
}
.eyebrow.center, .center { text-align: center; }
.section-lead.center { max-width: 640px; margin-left: auto; margin-right: auto; }
.section-lead { color: var(--text-body); font-size: var(--fs-lead); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-base);
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(232, 121, 46, .55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -6px rgba(232, 121, 46, .6); }

.btn-ghost {
  background: #fff;
  color: var(--navy);
  border-color: rgba(27,42,91,.15);
}
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 244, 231, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(27,42,91,.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}

.brand { display: flex; align-items: center; }
.logo { height: 46px; width: auto; }
.logo-footer { height: 38px; }
.brand-tag {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gold);
  font-weight: 700;
}

.main-nav {
  display: flex;
  gap: 28px;
  font-weight: 600;
  font-size: var(--fs-md);
}
.main-nav a { position: relative; padding: 6px 0; color: var(--navy); }
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: var(--fs-md);
  white-space: nowrap;
}
.phone-pill:hover { background: var(--navy-2); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 60px;
}

/* Paint splatters — real photos of paint splashes (elements/tache1-4.png),
   background keyed out (site/scripts/keying_tache.py). Sized by height with
   width:auto so the original aspect ratio is always preserved (no stretching). */
.splat {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: auto;
}

/* Default to a modest corner accent — the full edge-to-edge bleed (below)
   only has room to breathe once the container's own side margins are wide
   enough to keep it clear of the hero text; otherwise it reads over the
   copy and hurts readability at in-between viewport widths. */
.hero-splat.edge-left { top: 50px; left: 0; height: 260px; opacity: .8; transform: scaleX(-1); }
.hero-splat.edge-right { top: 50px; right: 0; height: 260px; opacity: .75; transform: scaleX(-1); }

@media (min-width: 1400px) {
  .hero-splat.edge-left, .hero-splat.edge-right { height: calc(100% - 50px); opacity: .85; }
}

.about-splat { top: 50px; right: 0; height: 80px; opacity: .5; }

.certification-splat.s1 { top: 50px; left: 0; height: 130px; opacity: .25; }
.certification-splat.s2 { bottom: 0; right: 0; height: 80px; opacity: .18; }

.footer-splat { bottom: 0; right: 0; height: 100px; opacity: .12; transform: scaleX(-1); }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 40px;
}

.hero-lead { font-size: var(--fs-lead); max-width: 52ch; color: var(--text-body); }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 32px;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-badges img { width: 52px; height: auto; }
.hero-badge-text { font-size: var(--fs-sm); font-weight: 700; color: var(--navy); line-height: 1.3; }
.hero-badge-text span { font-weight: 500; color: var(--text-muted); }

.hero-media { display: flex; justify-content: center; position: relative; z-index: 1; }
.hero-media .mascotte {
  width: 100%;
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(27,42,91,.35));
}

/* ---------- About ---------- */
.about { position: relative; overflow: hidden; }
.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
  object-fit: cover;
}
.about-media-caption {
  position: absolute;
  bottom: -18px;
  left: 20px;
  background: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--navy);
  box-shadow: var(--shadow);
}

.about-text p { color: var(--text-body); }

.stat-row {
  display: flex;
  gap: 36px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(27,42,91,.12);
}
.stat { display: flex; flex-direction: column; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.stat-plus { font-size: .6em; }
.stat-label { font-size: var(--fs-sm); color: var(--text-muted); margin-top: 6px; max-width: 12ch; }

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px -10px rgba(27,42,91,.28); }

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
}
.service-icon img {
  width: 100%;
  height: 100%;
}

.service-card h3 { margin-bottom: .4em; }
.service-card p { color: var(--text-body); font-size: var(--fs-md); margin: 0; }

/* ---------- Certification ---------- */
.certification { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.certification-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .35fr 1fr;
  gap: 48px;
  align-items: center;
}
.certification-badge {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.certification h2 { color: #fff; }
.certification .eyebrow { color: var(--gold); }
.certification-text p { color: var(--text-on-dark); }
/* même spécificité que la règle ci-dessus, donc pas besoin d'!important */
.certification-text p.certification-number {
  font-weight: 700;
  color: #fff;
  margin-bottom: 22px;
}
.certification .btn-outline { border-color: #fff; color: #fff; }
.certification .btn-outline:hover { background: #fff; color: var(--navy); }

/* ---------- Realisations ---------- */
.real-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.real-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.real-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px -10px rgba(27,42,91,.28); }

.real-card-open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}
.real-card-open img { width: 100%; height: 100%; object-fit: cover; }
.real-card-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(27,42,91,.82);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

.real-card-body { padding: 22px 24px 26px; }
.real-card-loc {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 .4em;
}
.real-card-body h3 { margin-bottom: .4em; font-size: 1.15rem; }
.real-card-body p:last-child { color: var(--text-body); font-size: var(--fs-md); margin: 0; }

.realisations-cta { text-align: center; margin-top: 36px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 19, 36, .94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }

.lightbox-stage { max-width: min(90vw, 1100px); max-height: 84vh; display: flex; flex-direction: column; align-items: center; }
.lightbox-img { max-width: 100%; max-height: 65vh; border-radius: 12px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }

.lightbox-meta { display: flex; align-items: center; gap: 12px; margin-top: 16px; color: #fff; }

.lightbox-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  max-width: 100%;
  overflow-x: auto;
  padding: 2px 2px 6px;
  scrollbar-width: auto;
}
.lightbox-thumb {
  flex: 0 0 auto;
  width: 68px;
  height: 50px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  opacity: .5;
  transition: opacity .15s ease, border-color .15s ease;
}
.lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lightbox-thumb:hover { opacity: .8; }
.lightbox-thumb.is-active { opacity: 1; border-color: var(--orange); }
.lightbox-tag {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: var(--fs-xs);
  font-weight: 700;
  background: var(--orange);
  padding: 5px 14px;
  border-radius: 999px;
}
.lightbox-count { font-size: var(--fs-sm); color: var(--text-on-dark); }

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,.12);
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .15s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.25); }

.lightbox-close { top: 20px; right: 20px; width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2rem; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ---------- Zone d'intervention ---------- */
.zone-intervention {
  margin-top: 48px;
  padding: 28px 32px;
  background: #fff;
  border-radius: var(--radius);
  border-left: 4px solid var(--teal);
  box-shadow: var(--shadow);
  text-align: center;
}
.zone-intervention h3 { margin-bottom: .5em; }
.zone-intervention p { color: var(--text-body); font-size: var(--fs-md); margin: 0 auto; max-width: 70ch; }
.zone-intervention .zone-note { margin-top: 10px; font-size: var(--fs-sm); color: var(--text-subtle); }

/* ---------- Avis / témoignages ---------- */
.avis { background: var(--cream-2); }

.avis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.avis-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Stars are generated from data-note so the markup stays copy-paste simple:
   change data-note="4" and the row re-renders without touching characters. */
.avis-stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; }
.avis-card[data-note="5"] .avis-stars::before { content: "\2605\2605\2605\2605\2605"; }
.avis-card[data-note="4"] .avis-stars::before { content: "\2605\2605\2605\2605\2606"; }
.avis-card[data-note="3"] .avis-stars::before { content: "\2605\2605\2605\2606\2606"; }
.avis-card[data-note="2"] .avis-stars::before { content: "\2605\2605\2606\2606\2606"; }
.avis-card[data-note="1"] .avis-stars::before { content: "\2605\2606\2606\2606\2606"; }

.avis-card blockquote { margin: 0; flex-grow: 1; }
.avis-card blockquote p {
  margin: 0;
  color: var(--text-body);
  font-size: var(--fs-md);
  font-style: italic;
  line-height: 1.65;
}

.avis-author {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(27,42,91,.1);
  padding-top: 14px;
}
.avis-name { font-family: var(--font-display); font-weight: 700; color: var(--navy); }
.avis-city { font-size: var(--fs-sm); color: var(--text-subtle); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info p { color: var(--text-body); }

.contact-list {
  list-style: none;
  margin: 28px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}
.contact-label { display: block; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--text-subtle); font-weight: 700; }
.contact-list a:hover { color: var(--orange); }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-link {
  display: inline-block;
  margin-top: 10px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--orange);
}
.map-link:hover { text-decoration: underline; }

.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.contact-card h3 { margin-bottom: .6em; }
.contact-card-lead { margin-bottom: 24px; }
.contact-card .btn + .btn { margin-top: 12px; }
.contact-card-call { font-size: var(--fs-lead); letter-spacing: .01em; }

.contact-card-notes {
  list-style: none;
  margin: 26px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(27,42,91,.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.contact-card-notes li { display: flex; align-items: flex-start; gap: 10px; }
.contact-card-notes li::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: .55em;
  border-radius: 50%;
  background: var(--orange);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-2); color: var(--text-on-dark); padding: 44px 0; position: relative; overflow: hidden; }
.footer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer-brand .brand-tag { color: var(--gold); }
.footer-nav { display: flex; gap: 22px; font-size: var(--fs-md); font-weight: 600; }
.footer-nav a:hover { color: var(--gold); }
.footer-legal { text-align: right; font-size: var(--fs-xs); color: var(--text-on-dark-subtle); }
.footer-legal p { margin: 0 0 4px; }
.footer-legal-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.footer-legal-link:hover { color: var(--gold); }

/* ---------- Modal (mentions légales, etc.) ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 19, 36, .78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal[hidden] { display: none; }

.modal-panel {
  position: relative;
  background: var(--cream);
  color: var(--ink);
  width: min(920px, 100%);
  max-height: 84vh;
  overflow-y: auto;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
  padding: 40px 48px;
}
.modal-panel h2 { margin-bottom: .8em; }
.modal-panel h3 {
  font-size: var(--fs-md);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--teal);
  margin: 1.6em 0 .5em;
}
.modal-panel h3:first-of-type { margin-top: 0; }
.modal-panel p { color: var(--text-body); font-size: var(--fs-md); max-width: 68ch; }
.modal-panel a { color: var(--orange); text-decoration: underline; }
.modal-todo {
  background: rgba(232,121,46,.1);
  border-left: 3px solid var(--orange);
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  font-size: var(--fs-sm) !important;
  color: var(--text-muted) !important;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(27,42,91,.08);
  color: var(--navy);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover { background: rgba(27,42,91,.16); }

/* ---------- Mobile call FAB ---------- */
.mobile-call-fab {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -6px rgba(232,121,46,.6);
  z-index: 90;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-badges { justify-content: center; }
  .hero-media { order: -1; }
  .hero-media .mascotte { max-width: 240px; }

  .about-grid { grid-template-columns: 1fr; }
  .stat-row { justify-content: space-between; }

  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .avis-grid { grid-template-columns: repeat(2, 1fr); }
  .real-grid { grid-template-columns: repeat(2, 1fr); }

  .certification-grid { grid-template-columns: 1fr; text-align: center; }
  .certification-badge { justify-self: center; width: 160px; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-brand { align-items: center; }
  .footer-legal { text-align: center; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 18px;
    border-bottom: 1px solid rgba(27,42,91,.08);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }
  .main-nav.open { transform: scaleY(1); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid rgba(27,42,91,.06); }

  .hero-media .mascotte { max-width: 170px; }
  .hero { padding-top: 0; }

  .nav-toggle { display: flex; }
  .phone-pill span { display: none; }
  .phone-pill { padding: 10px; }

  .service-grid { grid-template-columns: 1fr; }
  .avis-grid { grid-template-columns: 1fr; }
  .real-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }

  .mobile-call-fab { display: flex; }

  .lightbox-stage { max-width: 92vw; }
  .lightbox-img { max-height: 54vh; }
  .lightbox-thumb { width: 52px; height: 40px; }
  .lightbox-prev, .lightbox-next { width: 42px; height: 42px; font-size: 1.5rem; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }

  .modal-panel { padding: 32px 20px; max-height: 88vh; }
  .lightbox-close { top: 10px; right: 10px; width: 38px; height: 38px; }

  /* full hero-height splatter strips are far too wide on narrow/tall
     mobile viewports — cap them to a corner accent instead */
  .hero-splat.edge-left, .hero-splat.edge-right {
    height: 230px;
    opacity: .55;
  }
}

@media (min-width: 721px) {
  .mobile-call-fab { display: none !important; }
}
