/* ==========================================================================
   Saint-Cyr Services — feuille de style unique

   Les couleurs ne sont pas inventées : elles sont relevées au compte-gouttes
   sur le logo officiel (le lime des deux feuilles, le vert forêt du « S »)
   et sur le fond du favicon.
   ========================================================================== */

/* --- 1. Réglages de base ------------------------------------------------ */

:root {
  /* couleurs relevées sur le logo */
  --ink:        #10241a;  /* texte */
  --ink-2:      #06301d;  /* fonds sombres — le fond du favicon */
  --ink-3:      #14432a;
  --stone:      #f7f5ee;  /* crème */
  --stone-2:    #ece8da;
  --white:      #ffffff;
  --vert:       #8fbf1a;  /* le lime de la feuille haute */
  --vert-2:     #77a013;
  --vert-clair: #b4dc3c;
  --vert-deep:  #084020;  /* le vert forêt de la feuille basse */
  --line:       rgba(16, 36, 26, .16);
  --line-dark:  rgba(255, 255, 255, .18);
  --muted:      #5a6a5c;
  --muted-dark: #9db3a2;

  /* typographie fluide */
  --f-display: clamp(2.6rem, 1.4rem + 5.2vw, 5.6rem);
  --f-h2:      clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem);
  --f-h3:      clamp(1.15rem, 1rem + .6vw, 1.45rem);
  --f-lead:    clamp(1.05rem, .98rem + .4vw, 1.25rem);

  /* rythme */
  --gap:       clamp(1.2rem, .8rem + 1.4vw, 2rem);
  --section-y: clamp(4rem, 2.5rem + 6vw, 8.5rem);

  /* arrondis : rien d'anguleux sur ce site */
  --radius:      16px;
  --radius-sm:   10px;
  --radius-lg:   30px;
  --radius-pill: 999px;

  /* ui-rounded = SF Pro Rounded sur iPhone et Mac, où sont la plupart des
     visiteurs. Ailleurs, on retombe proprement sur la pile habituelle. */
  --sans: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont,
          "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: -.025em;
  font-weight: 800;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--vert); color: var(--ink); }

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

.wrap {
  width: min(100% - 2.4rem, 1240px);
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: .7rem 1.1rem;
  background: var(--vert);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* --- 2. Éléments de texte partagés -------------------------------------- */

/* pastille arrondie plutôt qu'un simple libellé */
.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: .4rem .9rem;
  border-radius: var(--radius-pill);
  background: rgba(143, 191, 26, .16);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--vert-deep);
}
.section--dark .eyebrow,
.hero .eyebrow {
  color: var(--vert-clair);
  background: rgba(180, 220, 60, .16);
}

.h2 { font-size: var(--f-h2); }

.lead {
  font-size: var(--f-lead);
  color: var(--muted);
  max-width: 62ch;
}
.section--dark .lead { color: var(--muted-dark); }

.section {
  padding-block: var(--section-y);
}

.section--dark {
  background: var(--ink);
  color: var(--stone);
}

.section--stone { background: var(--stone-2); }

.section__head {
  max-width: 70ch;
  margin-bottom: clamp(2.2rem, 1.4rem + 2vw, 3.6rem);
}

/* --- 3. Boutons --------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.8rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 750;
  font-size: .95rem;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--vert);
  color: var(--ink);
  border-color: var(--vert);
}
.btn--primary:hover { background: var(--vert-2); border-color: var(--vert-2); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .55);
}
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .1); }

.btn--dark {
  background: var(--ink);
  color: var(--stone);
  border-color: var(--ink);
}
.btn--dark:hover { background: var(--ink-3); border-color: var(--ink-3); }

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

.btn svg { width: 1.05em; height: 1.05em; flex: none; }

/* --- 4. En-tête --------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 245, 238, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  margin-right: auto;
}

/* la marque officielle est plus haute que large : on cale sur la hauteur */
.brand__mark {
  width: auto;
  height: 42px;
  flex: none;
}

.brand__name {
  display: block;
  font-size: 1.12rem;
  font-weight: 850;
  letter-spacing: -.035em;
  line-height: 1.05;
  text-transform: uppercase;
  font-stretch: condensed;
}

.brand__tag {
  display: block;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--vert-deep);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav a {
  font-size: .92rem;
  font-weight: 650;
  text-decoration: none;
  color: var(--ink);
  padding-block: .4rem;
  border-bottom: 2px solid transparent;
  transition: border-color .18s, color .18s;
}
.nav a:hover,
.nav a[aria-current="page"] { border-color: var(--vert); }

.header-cta { display: inline-flex; }

/* le bouton d'appel du menu déroulant ne sert qu'en mobile */
.nav > .btn { display: none; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
/* une classe dédiée : sinon le <span> du libellé « Menu », masqué aux
   voyants, se retrouve lui aussi transformé en barre */
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .22s, opacity .22s;
}
.nav-toggle__bar { position: relative; }
.nav-toggle__bar::before { position: absolute; top: -6px; }
.nav-toggle__bar::after  { position: absolute; top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }

  .nav {
    position: fixed;
    inset: 72px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 1.2rem 1.6rem;
    background: var(--stone);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform .28s ease;
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
  }
  .nav[data-open="true"] { transform: translateY(0); }

  .nav a {
    padding: .95rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav a:hover,
  .nav a[aria-current="page"] { border-color: var(--vert); }

  .nav > .btn { display: inline-flex; margin-top: 1rem; }
}

/* --- 5. Hero ------------------------------------------------------------ */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(88vh, 780px);
  padding-block: clamp(5rem, 3rem + 10vw, 8rem) clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

/* deux voiles : un vertical pour asseoir le texte, un horizontal pour qu'il ne
   se batte pas avec le marquage du fourgon */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Voile teinté du vert de la marque plutôt que d'un gris : la photo reste
     chaude. Il est fort en bas à gauche, là où se pose le texte, et se dissipe
     complètement en haut à droite pour laisser voir le ciel et les collines. */
  background:
    radial-gradient(120% 90% at 12% 100%, rgba(4, 26, 14, .92) 0%, rgba(4, 26, 14, .55) 42%, rgba(4, 26, 14, 0) 78%),
    linear-gradient(to top, rgba(4, 26, 14, .82) 0%, rgba(4, 26, 14, .3) 34%, rgba(4, 26, 14, 0) 62%),
    linear-gradient(to bottom, rgba(4, 26, 14, .34) 0%, rgba(4, 26, 14, 0) 26%);
}

.hero__inner { position: relative; }

.hero__title {
  /* volontairement un cran sous --f-display : au-delà, la troisième ligne
     vient couvrir le marquage du fourgon */
  font-size: clamp(2.4rem, 1.4rem + 4.2vw, 4.7rem);
  max-width: 16ch;
  margin-bottom: 1.2rem;
  /* le titre passe devant une photo chargée : on l'assoit sans noircir l'image */
  text-shadow: 0 2px 18px rgba(8, 14, 4, .5), 0 1px 3px rgba(8, 14, 4, .45);
}

.hero__lead,
.hero__situe { text-shadow: 0 1px 10px rgba(8, 14, 4, .55); }
.hero__title em {
  font-style: normal;
  color: var(--vert-clair);
}

/* le repère géographique, mis en avant : c'est la première question du client */
.hero__lieu {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1.1rem;
  padding: .5rem 1.05rem .5rem .85rem;
  border-radius: var(--radius-pill);
  background: var(--vert);
  color: var(--ink);
  font-size: clamp(.9rem, .85rem + .2vw, 1rem);
  font-weight: 800;
  letter-spacing: -.005em;
}
.hero__lieu svg { width: 18px; height: 18px; flex: none; }
.hero__lieu span { font-weight: 650; opacity: .78; }

.hero__sous {
  margin: .9rem 0 0;
  font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem);
  font-weight: 700;
  color: var(--vert-clair);
}

/* la ligne de réassurance, sous les boutons */
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .9rem;
  max-width: 46rem;
  margin: 1.6rem 0 0;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, .2);
  font-size: .9rem;
  color: rgba(255, 255, 255, .85);
}
.hero__meta i { font-style: normal; opacity: .4; }

.hero__meta i { font-style: normal; opacity: .4; }

.hero__lead {
  font-size: var(--f-lead);
  max-width: 52ch;
  color: rgba(255, 255, 255, .88);
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}

/* la ligne « qui / quoi / où » sous le titre : on doit comprendre en 2 secondes */
.hero__situe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .9rem;
  margin-bottom: 1.6rem;
  font-size: .95rem;
  font-weight: 700;
  color: var(--vert-clair);
}
.hero__situe span { display: inline-flex; align-items: center; gap: .45rem; }
.hero__situe svg { width: 17px; height: 17px; flex: none; }
.hero__situe i { font-style: normal; opacity: .45; }

/* En écran étroit, le texte occupe toute la largeur : le dégradé radial du bas
   à gauche ne suffit plus, il faut un voile qui couvre toute la partie basse. */
@media (max-width: 760px) {
  .hero__media::after {
    background:
      linear-gradient(to top,
        rgba(4, 26, 14, .94) 0%,
        rgba(4, 26, 14, .82) 40%,
        rgba(4, 26, 14, .5) 66%,
        rgba(4, 26, 14, .12) 88%);
  }
}

/* Hero réduit pour les pages intérieures */
.hero--page {
  min-height: min(58vh, 520px);
  padding-block: clamp(4rem, 2.5rem + 8vw, 7rem) clamp(2.5rem, 1.5rem + 3vw, 3.5rem);
}
.hero--page .hero__title { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4rem); max-width: 20ch; }

.crumbs {
  font-size: .84rem;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 1rem;
}
.crumbs a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.crumbs a:hover { border-color: var(--vert); color: var(--vert); }
.crumbs span { padding-inline: .45rem; }

/* --- 6. Prestations ----------------------------------------------------- */

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: var(--gap);
}

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.service:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 0 18px 40px -24px rgba(20, 23, 15, .5);
}

.service__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--stone-2);
}
.service__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.service:hover .service__media img { transform: scale(1.05); }

.service__body {
  padding: 1.4rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service__title {
  font-size: var(--f-h3);
  margin-bottom: .55rem;
}

.service__title a {
  text-decoration: none;
}
.service__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.service__text {
  font-size: .95rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* --- 7. Galerie --------------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap);
}

.shot {
  position: relative;
  align-self: start;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
  cursor: zoom-in;
  border: 0;
  padding: 0;
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
}

.shot img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .55s ease, filter .3s;
}
.shot:hover img { transform: scale(1.04); }

.shot--tall img { aspect-ratio: 3 / 4; }

@media (min-width: 900px) {
  .shot--wide { grid-column: span 2; }
  .shot--wide img { aspect-ratio: 16 / 9; }
}

.shot__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.4rem .95rem .85rem;
  font-size: .85rem;
  font-weight: 650;
  color: var(--white);
  background: linear-gradient(to top, rgba(10, 12, 8, .85), transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s, transform .25s;
}
.shot:hover .shot__caption,
.shot:focus-visible .shot__caption { opacity: 1; transform: translateY(0); }

@media (hover: none) {
  .shot__caption { opacity: 1; transform: none; }
}

/* --- 8. Étapes ---------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--gap);
  counter-reset: step;
}

.step {
  padding-top: 1.4rem;
  border-top: 2px solid var(--line-dark);
  counter-increment: step;
}

/* pas de « 01 / 02 / 03 » : un simple repère vert, ça suffit */
.step::before {
  content: "";
  display: block;
  width: 26px;
  height: 4px;
  background: var(--vert-clair);
  margin-bottom: 1rem;
}

.step h3 {
  font-size: var(--f-h3);
  margin-bottom: .5rem;
}

.step p {
  font-size: .95rem;
  color: var(--muted-dark);
}

/* --- 9. Blocs de contenu ------------------------------------------------ */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}

.split__media img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ticks {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: .75rem;
}

.ticks li {
  position: relative;
  padding-left: 1.9rem;
  font-size: .97rem;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .48em;
  width: 11px;
  height: 6px;
  border-left: 2.5px solid var(--vert);
  border-bottom: 2.5px solid var(--vert);
  transform: rotate(-45deg);
}

/* --- 10. Bandeau d'appel ------------------------------------------------ */

/* Le bandeau téléphone : repris tel quel du flanc du fourgon.
   Même dégradé, même numéro en gros, même logique — on appelle, c'est tout. */
.phone-band {
  width: min(100% - 2.4rem, 1240px);
  margin: clamp(2rem, 1rem + 3vw, 3.5rem) auto;
  border-radius: var(--radius-lg);
  background: linear-gradient(105deg, var(--vert-clair) 0%, var(--vert) 68%, var(--vert-2) 100%);
  color: var(--ink);
  padding-block: clamp(2.4rem, 1.6rem + 3vw, 3.6rem);
  text-align: center;
}

.phone-band__label {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: .7rem;
  color: var(--ink);
}

.phone-band__num {
  display: inline-block;
  font-size: clamp(2.1rem, 1.1rem + 4.6vw, 4.2rem);
  font-weight: 850;
  letter-spacing: -.02em;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 4px solid rgba(16, 36, 26, .25);
  padding-bottom: .1em;
  transition: border-color .2s;
}
.phone-band__num:hover { border-color: var(--ink); }

.phone-band__note {
  margin: 1.1rem 0 0;
  font-weight: 600;
  color: var(--ink);
}

.cta-band {
  background: var(--vert);
  color: var(--ink);
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2 {
  font-size: var(--f-h2);
  max-width: 18ch;
}

.cta-band p {
  max-width: 42ch;
  margin-top: .8rem;
  font-weight: 500;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

/* --- 11. Contact -------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--gap);
  margin-top: clamp(2rem, 1.4rem + 2vw, 3rem);
}

.contact-card {
  display: block;
  padding: 1.6rem 1.5rem;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .2s, transform .2s, background-color .2s;
}
a.contact-card:hover {
  border-color: var(--vert);
  background: var(--ink-3);
  transform: translateY(-3px);
}

.contact-card__label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--vert);
  margin-bottom: .7rem;
}
.contact-card__label svg { width: 15px; height: 15px; }

.contact-card__value {
  display: block;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--white);
  line-height: 1.25;
}

.contact-card__note {
  display: block;
  font-size: .88rem;
  color: var(--muted-dark);
  margin-top: .4rem;
}

/* --- 10 bis. Le matériel (fourgon détouré sur fond vert doux) ------------ */

.materiel {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem);
  background: linear-gradient(168deg, #fbfaf4 0%, #eff5da 34%, #cfe486 100%);
}

/* halo diffus, pour que le véhicule ne flotte pas dans le vide */
.materiel::before {
  content: "";
  position: absolute;
  right: -10%;
  top: 2%;
  width: 66%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 191, 26, .34) 0%, rgba(143, 191, 26, 0) 66%);
  pointer-events: none;
}

.materiel__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(1.6rem, 1rem + 2.6vw, 3rem);
}

.materiel__media img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 26px rgba(16, 36, 26, .26));
}

@media (max-width: 860px) {
  .materiel__inner { grid-template-columns: 1fr; }
  .materiel::before { right: -30%; top: auto; bottom: -10%; width: 120%; }
}

/* --- 11 bis. Avis clients ----------------------------------------------- */

.avis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--gap);
}

.avis__carte {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.avis__etoiles {
  display: flex;
  gap: .18rem;
  margin-bottom: 1rem;
  color: #e2a02c;
}
.avis__etoiles svg { width: 19px; height: 19px; }

.avis__texte {
  font-size: 1.08rem;
  line-height: 1.55;
  margin: 0 0 1.4rem;
}
.avis__texte::before { content: "« "; }
.avis__texte::after  { content: " »"; }

.avis__auteur {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: auto;
}

.avis__initiale {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--vert-clair);
  color: var(--ink);
  font-weight: 850;
  font-size: 1.05rem;
}

.avis__nom {
  display: block;
  font-weight: 800;
  letter-spacing: -.01em;
}

.avis__lieu {
  display: block;
  font-size: .88rem;
  color: var(--muted);
}

/* emplacement libre, en attendant les avis suivants */
.avis__vide {
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem);
  border: 2px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--muted);
  font-size: .95rem;
}

/* --- 12. Pied de page --------------------------------------------------- */

.footer {
  background: var(--ink-2);
  color: var(--muted-dark);
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem;
  font-size: .92rem;
}

.footer ul a {
  display: inline-block;
  padding: .2rem .7rem;
  margin-left: -.7rem;
  border-radius: var(--radius-pill);
  transition: background-color .18s, color .18s;
}
.footer ul a:hover { background: rgba(180, 220, 60, .16); }

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.4rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--line-dark);
}

/* En mobile, une seule colonne donnait un pied de page interminable et vide
   sur la droite. Les listes passent en deux colonnes, le bloc marque garde
   toute la largeur. */
@media (max-width: 700px) {
  .footer { padding-block: clamp(2rem, 1.7rem + 1.6vw, 2.6rem) 1.4rem; }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem 1.4rem;
    padding-bottom: 1.6rem;
  }

  /* la marque et la liste des prestations prennent toute la largeur ;
     « Le site » et « Appeler » se partagent la dernière rangée */
  .footer__grid > :nth-child(1),
  .footer__grid > :nth-child(2) { grid-column: 1 / -1; }

  .footer__grid > :nth-child(2) ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .1rem 1.4rem;
  }

  .footer h3 { margin-bottom: .55rem; }
  .footer ul { gap: 0; }
  .footer li { line-height: 1.4; }
  .footer ul a { padding-block: .32rem; }
}

.footer h3 {
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1rem;
}

.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--vert); }

.footer .brand__name { color: var(--stone); }
.footer .brand__tag { color: var(--muted-dark); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.6rem;
  font-size: .84rem;
}

/* --- 13. Barre d'appel mobile ------------------------------------------ */

.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  display: none;
  gap: 1px;
  background: var(--line-dark);
  box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .45);
  padding-bottom: env(safe-area-inset-bottom);
}

.callbar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1rem .5rem;
  font-size: .95rem;
  font-weight: 800;
  text-decoration: none;
}

.callbar__tel { background: var(--vert); color: var(--ink); }
.callbar__wa  { background: var(--ink); color: var(--white); }
.callbar svg { width: 18px; height: 18px; }

@media (max-width: 760px) {
  .callbar { display: flex; }
  /* la réserve de place pour la barre d'appel est portée par le pied de page :
     sur le body, elle laissait une bande crème sous le vert */
  .footer { padding-bottom: calc(1.4rem + 62px); }
  /* le hero doit finir au-dessus de la barre d'appel, pas dessous */
  .hero { padding-bottom: calc(clamp(2.5rem, 1.5rem + 4vw, 4.5rem) + 62px); }
}

/* --- 14. Visionneuse (lightbox) ---------------------------------------- */

.lightbox:not([open]) { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 3rem);
  background: rgba(8, 10, 6, .95);
  border: 0;
}

.lightbox::backdrop { background: rgba(8, 10, 6, .95); }

.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox__caption {
  margin-top: 1rem;
  text-align: center;
  color: var(--stone);
  font-size: .95rem;
  min-height: 1.4em;
}

.lightbox__count {
  display: block;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-top: .3rem;
}

.lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  transition: background-color .2s;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox__prev { left: clamp(.6rem, 2vw, 2rem); }
.lightbox__next { right: clamp(.6rem, 2vw, 2rem); }

.lightbox__close {
  position: absolute;
  top: clamp(.8rem, 2vw, 1.6rem);
  right: clamp(.8rem, 2vw, 1.6rem);
  transform: none;
}

.lightbox__btn svg { width: 22px; height: 22px; }

@media (max-width: 640px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; transform: none; }
  .lightbox__prev { left: 25%; }
  .lightbox__next { right: 25%; }
}

/* --- 15. Divers --------------------------------------------------------- */

.note {
  font-size: .88rem;
  color: var(--muted);
  border-left: 2px solid var(--vert);
  padding-left: 1rem;
}

.prose { max-width: 68ch; }
.prose h2 { font-size: var(--f-h2); margin: 2.6rem 0 1rem; }
.prose h3 { font-size: var(--f-h3); margin: 2rem 0 .8rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose a { color: var(--vert-deep); }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --- 16. Crédit d'impôt ------------------------------------------------- */

/* les deux pastilles du hero : le lieu, et l'avantage fiscal */
.hero__pastilles {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 0 0 1.1rem;
}

.hero__lieu { margin: 0; }

.hero__fiscal {
  display: inline-flex;
  align-items: baseline;
  gap: .4rem;
  padding: .5rem 1.05rem;
  border-radius: var(--radius-pill);
  background: var(--stone);
  color: var(--vert-deep);
  font-size: clamp(.9rem, .85rem + .2vw, 1rem);
  font-weight: 700;
  text-decoration: none;
  transition: background-color .18s, transform .18s;
}
.hero__fiscal:hover { background: var(--white); transform: translateY(-1px); }
.hero__fiscal b { font-weight: 850; letter-spacing: -.02em; }
.hero__fiscal span { font-weight: 600; opacity: .72; }

/* la pastille posée sur la carte « Entretien de jardin » */
.service__fiscal {
  display: inline-block;
  margin: 0 0 .6rem;
  padding: .28rem .7rem;
  border-radius: var(--radius-pill);
  background: rgba(143, 191, 26, .18);
  color: var(--vert-deep);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.fiscal { background: var(--stone-2); }

.fiscal__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
}

/* le « 50 % », traité comme un chiffre d'affiche */
.fiscal__chiffre {
  display: flex;
  align-items: flex-start;
  margin: 0;
  font-size: clamp(4.5rem, 2.5rem + 9vw, 11rem);
  font-weight: 850;
  line-height: .82;
  letter-spacing: -.055em;
  color: var(--vert-deep);
}
.fiscal__chiffre span {
  font-size: .42em;
  line-height: 1;
  margin-left: .06em;
  color: var(--vert);
}

.fiscal .ticks { margin-top: 1.4rem; }

.fiscal .note { margin-top: 1.6rem; }

@media (max-width: 720px) {
  .fiscal__inner { grid-template-columns: 1fr; gap: .8rem; }
  .fiscal__chiffre { font-size: clamp(4rem, 2rem + 14vw, 6rem); }
}
