/* =========================================================================
   JOCCOLLE TP — Thème « Vallée de l'Arve »
   Fond blanc + vert de marque #43BC72 (accents/fondus) + orange #FF8700 (action).
   Pied de page vert profond. HTML/CSS natif, sans build. Mobile-first.
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Neutres (~60 %) — le design respire */
  --c-ink:        #ffffff;   /* fond — blanc */
  --c-surface:    #ffffff;   /* sections claires — blanc */
  --c-elevated:   #ffffff;   /* cartes — blanc pur */
  --c-line:       rgba(20, 40, 26, 0.12);
  --c-line-strong:rgba(20, 40, 26, 0.22);

  /* Texte (foncé sur clair) */
  --c-sand:       #16231a;   /* texte principal — charbon vert */
  --c-muted:      #53625a;   /* texte secondaire */
  --c-stone:      #7f8a80;   /* neutre */

  /* Vert de marque #43BC72 (~30 %) — identité / structure */
  --c-green:      #43bc72;   /* vert vif — filets, icônes, puces */
  --c-green-700:  #16793f;   /* vert foncé — textes/kicker sur clair (contraste OK) */
  --c-green-050:  rgba(67, 188, 114, 0.12);
  --c-dark:       #10301f;   /* pied de page — vert profond */
  --c-light:      #f2f7f1;   /* texte clair sur fonds sombres/photos */

  /* Orange #FF8700 (~10 %) — ACTION / CTA — texte foncé dessus (accessibilité) */
  --c-orange:     #FF8700;
  --c-orange-600: #e67800;   /* orange foncé — état hover / profondeur des dégradés */
  --c-orange-050: rgba(255, 135, 0, 0.14);
  --c-on-orange:  #16231a;   /* texte sur aplats orange */

  /* Succès (formulaire) */
  --c-success:    #7cbb5a;
  --c-error:      #e2683f;

  /* Typo */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Rayons & ombres */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --shadow: 0 20px 45px -26px rgba(28, 40, 24, 0.35);
  --shadow-card: 0 6px 20px -14px rgba(28, 40, 24, 0.28);

  /* Rythme */
  --container: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);

  --header-h: 76px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Décale les ancres juste sous l'en-tête fixe (le padding de section fait le reste) */
  scroll-padding-top: var(--header-h);
}

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

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; }

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

::selection { background: var(--c-orange); color: #fff; }

/* ---------- 3. Utilitaires ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 1000;
  background: var(--c-orange); color: var(--c-on-orange); padding: .7rem 1.1rem; border-radius: var(--r-sm);
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- 4. Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.5rem; border-radius: 999px; font-weight: 600;
  font-family: var(--font-display); letter-spacing: -0.01em;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s;
  will-change: transform;
}
.btn--primary { background: var(--c-orange); color: var(--c-on-orange); box-shadow: 0 10px 24px -10px var(--c-orange); }
.btn--primary:hover { background: var(--c-orange-600); transform: translateY(-2px); }
.btn--ghost { border: 1.5px solid var(--c-line-strong); color: var(--c-sand); }
.btn--ghost:hover { border-color: var(--c-orange); color: var(--c-orange); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ---------- 5. Sections génériques ---------- */
/* Padding haut réduit : à l'arrivée sur une ancre, le kicker reste proche du header.
   Padding bas généreux : conserve l'espacement entre les sections. */
.section { padding-top: clamp(1.75rem, 4vw, 3rem); padding-bottom: var(--section-y); }
/* Fondus verts uniquement en HAUT (sous le bandeau « Intervention d'urgence »,
   au-dessus des Métiers) et en BAS (dernière section, vers le pied de page).
   Aucun séparateur entre les sections intermédiaires. */
.section--services {
  background: linear-gradient(180deg, var(--c-green) 0%, transparent 7rem);
}
.section--contact {
  background: linear-gradient(to top, var(--c-green) 0%, transparent 7rem);
}

.section__head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section__kicker,
.section__intro { color: var(--c-muted); }
.section__kicker {
  text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 600;
  color: var(--c-green-700); margin-bottom: .8rem;
  display: inline-flex; align-items: center; gap: .6rem;
}
.section__kicker::before { content: ""; width: 26px; height: 2px; background: var(--c-green); }
.section__title { font-size: clamp(1.8rem, 4.5vw, 2.9rem); margin-bottom: 1rem; }
.section__intro { font-size: 1.075rem; }

/* ---------- 6. En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: height .3s ease;
}
/* Fond « verre dépoli » porté par un pseudo-élément : évite que le backdrop-filter
   ne piège le tiroir du menu mobile (position: fixed) dans l'en-tête. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  box-shadow: none;
  opacity: 1;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.site-header.is-scrolled::before {
  border-bottom-color: var(--c-line);
  box-shadow: 0 8px 24px -20px rgba(28, 40, 24, .5);
}
.header__inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 1.5rem; width: 100%; }

.brand { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--font-display); font-weight: 700; }
.brand__logo { width: 44px; height: 44px; border-radius: 10px; background: #fff; padding: 3px; object-fit: contain; }
.brand__name { font-size: 1.2rem; letter-spacing: -0.02em; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: .3rem; }
.nav__list a {
  display: inline-block; padding: .55rem .9rem; border-radius: 999px;
  font-weight: 500; color: var(--c-sand); font-size: .96rem;
  transition: color .18s, background-color .18s;
}
.nav__list a:hover { color: var(--c-orange); }
.nav__cta { background: var(--c-orange); color: var(--c-on-orange) !important; margin-left: .5rem; }
.nav__cta:hover { background: var(--c-orange-600); }
.nav__close, .nav__toggle, .nav__phone { display: none; }

.header__phone {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 600;
  font-family: var(--font-display); color: var(--c-sand); white-space: nowrap;
}
.header__phone svg { color: var(--c-orange); }
.header__phone:hover { color: var(--c-orange); }

/* Hamburger */
.nav__toggle { display: none; width: 46px; height: 46px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 10px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--c-sand); border-radius: 2px; transition: transform .25s, opacity .2s; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: var(--header-h); overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,30,17,.45) 0%, rgba(20,30,17,.30) 40%, rgba(20,30,17,.90) 100%),
    linear-gradient(90deg, rgba(20,30,17,.80) 0%, rgba(20,30,17,.20) 70%);
}
.hero__content { position: relative; z-index: 1; padding-block: 4rem; max-width: 760px; color: var(--c-light); }
.hero__eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: .8rem; font-weight: 600;
  color: var(--c-orange); margin-bottom: 1.1rem;
}
.hero__title { font-size: clamp(2.4rem, 7vw, 4.6rem); font-weight: 700; margin-bottom: 1.3rem; }
.hero__title span { color: var(--c-orange); }
.hero__lead { font-size: clamp(1.05rem, 2.3vw, 1.35rem); color: #e7ded2; max-width: 60ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.5rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.hero__badges li {
  position: relative; padding-left: 1.6rem; color: #e7ded2; font-weight: 500; font-size: .95rem;
}
.hero__badges li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--c-orange-050);
  box-shadow: inset 0 0 0 2px var(--c-orange);
}
.hero__badges li::after {
  content: ""; position: absolute; left: 6px; top: 47%; transform: translateY(-50%) rotate(45deg);
  width: 5px; height: 9px; border: solid var(--c-orange); border-width: 0 2px 2px 0;
}
/* Bouton fantôme sur la photo du hero : contour clair */
.hero .btn--ghost { color: var(--c-light); border-color: rgba(243, 246, 238, .45); }
.hero .btn--ghost:hover { color: var(--c-orange); border-color: var(--c-orange); background: rgba(243, 246, 238, .08); }

.hero__scroll {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 1;
  width: 26px; height: 42px; border: 2px solid rgba(243, 246, 238, .4); border-radius: 14px;
  display: none;
}
.hero__scroll span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--c-orange); border-radius: 2px;
  animation: scrollcue 1.6s infinite;
}
@keyframes scrollcue { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,12px)} }
@media (min-width: 720px) { .hero__scroll { display: block; } }

/* ---------- 8. Services ---------- */
.services-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  background: var(--c-elevated); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: 1.8rem 1.6rem;
  display: flex; flex-direction: column; gap: 1rem;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--c-orange); box-shadow: var(--shadow); }
.service-card__icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--c-green-050); color: var(--c-green-700);
  display: grid; place-items: center;
}
.service-card__icon svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 1.25rem; }
.service-card__desc { color: var(--c-muted); font-size: .96rem; }
.service-card__points { display: flex; flex-direction: column; gap: .45rem; margin-top: auto; }
.service-card__points li {
  position: relative; padding-left: 1.4rem; font-size: .9rem; color: var(--c-muted);
}
.service-card__points li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--c-green-700);
}

/* ---------- 8bis. Intervention d'urgence ---------- */
.urgence { background: linear-gradient(135deg, var(--c-orange-600), var(--c-orange)); }
.urgence__inner {
  display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.8rem;
  padding-block: clamp(1.5rem, 4vw, 2.1rem);
}
.urgence__icon {
  flex: none; width: 54px; height: 54px; border-radius: 14px;
  background: rgba(27, 35, 24, 0.16); color: #1b2318;
  display: grid; place-items: center;
}
.urgence__icon svg { width: 30px; height: 30px; }
.urgence__text { flex: 1 1 280px; color: #1b2318; }
.urgence__text h2 { font-size: clamp(1.25rem, 3vw, 1.7rem); color: #1b2318; margin-bottom: .15rem; }
.urgence__text p { color: rgba(27, 35, 24, .82); font-weight: 500; }
.urgence__cta {
  display: inline-flex; align-items: center; gap: .6rem; flex: none;
  padding: .85rem 1.5rem; border-radius: 999px;
  background: var(--c-dark); color: #fff; font-weight: 600; font-family: var(--font-display);
  box-shadow: 0 10px 24px -12px rgba(27, 35, 24, .6);
  transition: transform .18s ease, background-color .18s ease;
}
.urgence__cta svg { color: var(--c-orange); }
.urgence__cta:hover { transform: translateY(-2px); background: #11170e; }
@media (max-width: 620px) {
  .urgence__cta { width: 100%; justify-content: center; }
}

/* ---------- 9. Réalisations / galerie ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.filter-chip {
  padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--c-line-strong);
  font-size: .9rem; font-weight: 500; color: var(--c-muted);
  transition: color .18s, border-color .18s, background-color .18s;
}
.filter-chip:hover { color: var(--c-sand); border-color: var(--c-sand); }
.filter-chip.is-active { background: var(--c-orange); border-color: var(--c-orange); color: var(--c-on-orange); }

.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1050px) { .gallery { grid-template-columns: repeat(4, 1fr); } }

.gallery__item {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  aspect-ratio: 4 / 5; background: var(--c-elevated); cursor: pointer;
  border: 1px solid var(--c-line);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__cap {
  position: absolute; inset: auto 0 0 0; padding: 1.4rem .9rem .9rem;
  background: linear-gradient(180deg, transparent, rgba(20,16,13,.9));
  transform: translateY(8px); opacity: 0; transition: .25s ease;
}
.gallery__item:hover .gallery__cap,
.gallery__item:focus-visible .gallery__cap { transform: none; opacity: 1; }
.gallery__cap b { display: block; font-family: var(--font-display); font-size: .95rem; color: var(--c-light); }
.gallery__cap span { font-size: .8rem; color: rgba(243, 246, 238, .74); }
.gallery__tag {
  position: absolute; top: .7rem; left: .7rem; z-index: 1;
  padding: .25rem .6rem; border-radius: 6px; font-size: .68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
  background: rgba(20,16,13,.75); color: var(--c-orange); backdrop-filter: blur(4px);
}
.gallery__item.is-hidden { display: none; }

/* ---------- 10. Actualités ---------- */
.news-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }

.news-card {
  background: var(--c-elevated); border: 1px solid var(--c-line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, border-color .2s;
}
.news-card:hover { transform: translateY(-5px); border-color: var(--c-line-strong); }
.news-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; }
.news-card__date { font-size: .8rem; color: var(--c-orange); font-weight: 600; text-transform: capitalize; }
.news-card__body h3 { font-size: 1.2rem; }
.news-card__body p { color: var(--c-muted); font-size: .95rem; }

/* ---------- 11. À propos ---------- */
.about__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 5fr 6fr; } }
.about__media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.about__media::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--c-line-strong);
}
.about__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about__text p { color: var(--c-muted); margin-bottom: 1rem; }
.about__list { display: grid; gap: .7rem; margin: 1.5rem 0 2rem; }
.about__list li { position: relative; padding-left: 1.9rem; color: var(--c-muted); }
.about__list li strong { color: var(--c-sand); }
.about__list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px;
  border-radius: 50%; background: var(--c-green-050);
}
.about__list li::after {
  content: ""; position: absolute; left: 6px; top: .55em;
  width: 5px; height: 9px; border: solid var(--c-green-700); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- 12. Zone d'intervention ---------- */
.zone__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 800px) { .zone__grid { grid-template-columns: 3fr 2fr; } }
.zone__text p { color: var(--c-muted); margin-bottom: .8rem; }
.zone__contactline a { color: var(--c-orange); font-weight: 600; }
.zone__maplink {
  display: flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 160px; border-radius: var(--r-lg); border: 1px dashed var(--c-line-strong);
  background: var(--c-green-050); color: var(--c-sand); font-weight: 600; font-family: var(--font-display);
  transition: border-color .2s, color .2s, background-color .2s;
}
.zone__maplink svg { color: var(--c-green-700); }
.zone__maplink:hover { border-color: var(--c-orange); color: var(--c-orange); }

/* ---------- 13. Contact ---------- */
.contact__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 5fr 6fr; } }
.contact__intro > p { color: var(--c-muted); margin-bottom: 2rem; }
.contact__details { display: grid; gap: 1.2rem; }
.contact__details li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__ico {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--c-orange-050); color: var(--c-orange); display: grid; place-items: center;
}
.contact__label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--c-muted); }
.contact__details a:hover { color: var(--c-orange); }

.contact-form {
  background: var(--c-elevated); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-card);
}
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: .4rem; }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 540px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-size: .9rem; font-weight: 500; }
.field label span { color: var(--c-orange); }
.field input, .field textarea, .field select {
  width: 100%; padding: .8rem .9rem; border-radius: var(--r-sm);
  background: #f4f7ee; border: 1px solid var(--c-line-strong); color: var(--c-sand);
  transition: border-color .18s, background-color .18s, box-shadow .18s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--c-stone); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--c-orange); background: #fff;
  box-shadow: 0 0 0 3px var(--c-orange-050);
}
.field textarea { resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='%23ff8700'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.4rem; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--c-muted); margin: .3rem 0 1.3rem; }
.consent input { margin-top: .25rem; accent-color: var(--c-orange); flex: none; }
.form-status { margin-top: 1rem; font-weight: 500; min-height: 1.2em; }
.form-status.is-success { color: var(--c-success); }
.form-status.is-error { color: var(--c-error); }

/* ---------- 14. Pied de page ---------- */
.site-footer { background: var(--c-dark); color: var(--c-light); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer__grid { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer__tag { color: rgba(243, 246, 238, .72); margin-top: 1rem; }
.footer__assur { color: rgba(243, 246, 238, .45); font-size: .9rem; margin-top: .4rem; }
.footer__nav h3, .footer__contact h3 {
  font-family: var(--font-display); font-size: .95rem; margin-bottom: 1rem;
  text-transform: uppercase; letter-spacing: .08em; color: rgba(243, 246, 238, .6);
}
.footer__nav a:hover, .footer__contact a:hover { color: var(--c-orange); }
.footer__nav li, .footer__contact li { margin-bottom: .6rem; color: rgba(243, 246, 238, .78); }
.footer__bottom {
  border-top: 1px solid rgba(243, 246, 238, .12); padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .85rem; color: rgba(243, 246, 238, .5);
}
.footer__bottom a:hover { color: var(--c-orange); }

/* ---------- 15. Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 500; display: none;
  align-items: center; justify-content: center;
  background: rgba(10, 8, 6, 0.94); backdrop-filter: blur(6px); padding: 1.5rem;
}
.lightbox.is-open { display: flex; }
.lightbox__figure { max-width: min(1000px, 92vw); margin: 0; text-align: center; }
.lightbox__figure img { max-height: 78vh; width: auto; margin-inline: auto; border-radius: var(--r-md); box-shadow: var(--shadow); }
.lightbox__figure figcaption { margin-top: 1rem; color: var(--c-light); font-family: var(--font-display); }
.lightbox__close { position: absolute; top: 1rem; right: 1.4rem; font-size: 2.4rem; line-height: 1; color: var(--c-light); width: 48px; height: 48px; }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%; font-size: 2rem; line-height: 1;
  background: rgba(255,255,255,.12); color: var(--c-light);
  display: grid; place-items: center; transition: background-color .18s;
}
.lightbox__nav:hover { background: var(--c-orange); }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }
.lightbox__close:hover, .lightbox__nav:hover { color: #fff; }

/* ---------- 16. Animations de révélation ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 16bis. Bouton d'appel flottant (mobile) ---------- */
.call-fab { display: none; }
@media (max-width: 940px) {
  .call-fab {
    position: fixed; z-index: 90; right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .8rem 1.25rem; border-radius: 999px;
    background: var(--c-orange); color: var(--c-on-orange); font-weight: 700; font-family: var(--font-display);
    box-shadow: 0 12px 26px -8px rgba(255, 135, 0, .6), 0 3px 8px rgba(0, 0, 0, .18);
  }
  .call-fab svg, .call-fab span { position: relative; z-index: 1; }
  .call-fab::before {
    content: ""; position: absolute; inset: 0; border-radius: 999px;
    animation: fabpulse 2.4s infinite;
  }
  .call-fab:active { transform: scale(.97); }
  body.nav-open .call-fab { display: none; }
}
@keyframes fabpulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 135, 0, .45); }
  70%  { box-shadow: 0 0 0 14px rgba(255, 135, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 135, 0, 0); }
}

/* ---------- 17. Responsive : nav mobile ---------- */
@media (max-width: 940px) {
  .header__phone { display: none; }
  .nav__toggle { display: flex; margin-left: auto; }

  /* Menu plein écran (overlay) */
  .nav {
    position: fixed; inset: 0; margin: 0; width: 100%; height: 100dvh;
    background:
      radial-gradient(120% 80% at 75% 12%, rgba(255, 135, 0, 0.12), transparent 55%),
      var(--c-ink);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 1.5rem; padding: 5.5rem 1.5rem 2.5rem;
    opacity: 0; visibility: hidden; transform: scale(1.04);
    transition: opacity .3s ease, transform .35s cubic-bezier(.2,.8,.2,1), visibility .3s;
    z-index: 200; overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }

  .nav__list { flex-direction: column; align-items: center; gap: .2rem; width: 100%; max-width: 360px; }
  .nav__list li { width: 100%; }
  .nav__list a {
    display: block; text-align: center; padding: .8rem 1rem; border-radius: var(--r-sm);
    font-family: var(--font-display); font-size: 1.6rem; font-weight: 600;
  }
  .nav__cta {
    margin: 1rem 0 0; font-size: 1.15rem !important; padding: .9rem 2.2rem;
    border-radius: 999px; align-self: center; width: auto;
  }
  .nav__close {
    display: block; position: absolute; top: 1.1rem; right: 1.3rem;
    font-size: 2.6rem; line-height: 1; width: 48px; height: 48px; color: var(--c-sand);
  }
  .nav__phone {
    display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.4rem;
    color: var(--c-muted); font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  }
  .nav__phone svg { color: var(--c-orange); }
  .nav__phone:hover { color: var(--c-orange); }

  body.nav-open { overflow: hidden; }
}

/* ---------- 18. Préférences de mouvement ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
