/* ============================================================
   DAMM Nature — Feuille de style
   Charte : noir #000000 · vert foncé #5e900a · vert tendre #97c53c
            ocre / doré #b59b3f (touche chaleureuse)
   Ambiance : épurée et chaleureuse, blancs cassés, verts naturels
   Typographies : Fraunces (titres) + Karla (texte) — repli système
   ============================================================ */

:root {
  --noir: #000000;
  --texte: #20241a;
  --texte-doux: rgba(32, 36, 26, 0.74);
  --texte-faible: rgba(32, 36, 26, 0.56);
  --vert: #5e900a;
  --vert-fonce: #46690c;
  --vert-tendre: #97c53c;
  --vert-tres-fonce: #2e4519;
  --vert-nuit: #1d2b13;
  --ocre: #b59b3f;
  --creme: #faf8f1;
  --blanc-casse: #f6f3e9;
  --tint: #eef2dd;
  --blanc: #ffffff;
  --liseret: #e9e4d3;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Karla", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 22px;
  --ombre: 0 26px 60px rgba(35, 55, 12, 0.12);
  --ombre-douce: 0 12px 32px rgba(35, 55, 12, 0.08);
  --header-nav: 76px;
  --header-topbar: 42px;
  --header-total: calc(var(--header-nav) + var(--header-topbar));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-nav) + 20px);
}

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--texte);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

/* Les adresses e-mail s'affichent toujours en un seul bloc, sans coupure */
a[href^="mailto:"] {
  white-space: nowrap;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

strong {
  font-weight: 700;
  color: var(--noir);
}

em {
  font-style: italic;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--vert);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 10px 0;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: min(1140px, 100% - 3rem);
  margin-inline: auto;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}

/* ---------- Typographie ---------- */
h1, h2, h3 {
  font-family: var(--serif);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--noir);
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}

h3 {
  font-size: 1.28rem;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vert);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: var(--ocre);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 1em 1.8em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--ocre);
  outline-offset: 3px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--vert-tendre) 0%, var(--vert) 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(94, 144, 10, 0.38);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(94, 144, 10, 0.45);
}

.btn--ghost {
  border: 2px solid rgba(0, 0, 0, 0.88);
  color: var(--noir);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--noir);
  color: #fff;
  transform: translateY(-2px);
}

.btn--light {
  background: var(--blanc);
  color: var(--vert);
}

.btn--light:hover {
  transform: translateY(-2px);
  background: var(--vert-tendre);
  color: #fff;
}

.btn--small {
  padding: 0.7em 1.3em;
  font-size: 0.92rem;
}

/* ---------- Bandeau contact (header) ---------- */
.topbar {
  background: var(--vert-tres-fonce);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.85rem;
  overflow: hidden;
  max-height: var(--header-topbar);
  transition: max-height 0.35s ease, opacity 0.35s ease;
}

.header.scrolled .topbar {
  max-height: 0;
  opacity: 0;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-topbar);
}

.topbar__zone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.72);
}

.topbar__zone::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vert-tendre);
  flex-shrink: 0;
}

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

.topbar__actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.topbar__actions a:hover {
  color: var(--vert-tendre);
}

.topbar__actions .icon {
  width: 1em;
  height: 1em;
  color: var(--vert-tendre);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background: rgba(250, 248, 241, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), 0 14px 40px rgba(35, 55, 12, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-nav);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Logo réel (logo.png) : masqué tant que le fichier n'est pas disponible,
   puis affiché à la place de l'icône feuille via la classe .logo--real */
.logo__img {
  display: none;
  height: 58px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo--real .logo__img {
  display: block;
}

.logo--real .logo__icon,
.logo--real .logo__text {
  display: none;
}

/* Dans le footer sombre, le logo (texte noir) est posé sur une pastille blanche */
.logo--footer.logo--real .logo__img {
  background: #fff;
  padding: 8px 22px;
  border-radius: 14px;
  /* box-sizing: border-box : la hauteur inclut le padding, le dessin garde 58 px */
  height: 74px;
}

.logo__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--vert-tendre), var(--vert));
  color: #fff;
  box-shadow: 0 6px 16px rgba(94, 144, 10, 0.35);
}

.logo__icon .icon {
  width: 24px;
  height: 24px;
}

.logo__text em {
  color: var(--vert);
  font-style: normal;
  font-weight: 700;
}

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

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav__list a {
  position: relative;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.3rem 0;
  white-space: nowrap;
}

.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--vert);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav__list a:hover::after {
  transform: scaleX(1);
}

/* Menu mobile : libellés raccourcis (masqués sur ordinateur) */
.nav__short {
  display: none;
}

/* Lien du menu « Moitié Prix » encadré en ocre, 3e couleur de la charte */
.nav__list a.nav__link--ocre {
  color: var(--ocre);
  border: 2px solid var(--ocre);
  border-radius: 999px;
  padding: 0.28em 0.95em;
}

.nav__list a.nav__link--ocre::after {
  display: none;
}

.nav__list a.nav__link--ocre:hover {
  background: var(--ocre);
  color: #fff;
}

.header__tools {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.header__call {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vert-tendre), var(--vert));
  color: #fff;
  box-shadow: 0 8px 18px rgba(94, 144, 10, 0.35);
}

.header__call .icon {
  width: 21px;
  height: 21px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 10px;
}

.nav-toggle span {
  display: block;
  height: 2.5px;
  border-radius: 3px;
  background: var(--noir);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(5rem, 10vw, 7.5rem) 0;
}

.section--white {
  background: var(--blanc-casse);
}

.section--tint {
  background: var(--tint);
}

.section-head {
  max-width: 740px;
  margin-bottom: clamp(2.8rem, 5vw, 4rem);
}

.section-head h2 {
  display: flex; /* feuille + titre sur la même ligne, même quand le titre se replie */
  align-items: center;
  gap: 0.55em;
  margin-bottom: 1.2rem;
}

/* La feuille du logo (détourée, teinte verte de la charte), en pastille à gauche du titre */
.section-head__leaves {
  flex-shrink: 0;
  width: 0.85em;
  height: 0.85em;
  object-fit: contain;
  margin: 0;
  opacity: 0.95;
}

.section-head p:last-child {
  color: var(--texte-doux);
  font-size: 1.06rem;
}

.section-head--light .eyebrow {
  color: var(--vert-tendre);
}

.section-head--light h2,
.section-head--light p:last-child {
  color: #fff;
}

/* ---------- Les coulisses : portrait & présentation ---------- */
.section-head h2 em {
  color: var(--vert);
}

.coulisses-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: clamp(2.8rem, 5vw, 4rem);
}

.coulisses-portrait {
  position: relative;
  margin: 0;
}

/* Cadre décalé aux couleurs de la charte, touche chaleureuse */
.coulisses-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(-0.9rem, 0.9rem);
  background: linear-gradient(135deg, var(--vert-tendre), var(--vert));
  border-radius: var(--radius);
}

.coulisses-portrait img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 4px solid #fff;
  border-radius: var(--radius);
  box-shadow: var(--ombre-douce);
  background: var(--tint);
}

.coulisses-portrait__tag {
  position: absolute;
  z-index: 2;
  left: 50%;
  transform: translateX(-50%);
  bottom: -1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  background: var(--creme);
  border: 1px solid rgba(94, 144, 10, 0.28);
  color: var(--vert-fonce);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55em 1.2em;
  border-radius: 999px;
  box-shadow: var(--ombre-douce);
}

.coulisses-portrait__tag .icon {
  color: var(--vert);
}

.coulisses-text__lead {
  font-size: 1.12rem;
  color: var(--texte);
  margin-bottom: 1.1rem;
}

.coulisses-text p:last-child {
  color: var(--texte-doux);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(151, 197, 60, 0.16), transparent 60%),
    radial-gradient(900px 460px at 0% 0%, rgba(181, 155, 63, 0.1), transparent 55%),
    var(--creme);
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: calc(var(--header-total) + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  max-width: 860px;
  margin-inline: auto;
}

/* Slogan : calligraphie cursive liée (Great Vibes) sur toute la phrase */
.hero__title {
  font-family: "Great Vibes", cursive;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  line-height: 1.3;
  /* Espacement nul : les lettres restent parfaitement reliées entre elles */
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

.hero__title em {
  color: var(--vert);
}

.hero__lead {
  max-width: 660px;
  margin: 1.5rem auto 0;
  font-size: clamp(1.08rem, 1.7vw, 1.24rem);
  color: var(--texte-doux);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.4rem;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2.6rem;
}

.hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--vert-fonce);
  background: rgba(238, 242, 221, 0.9);
  border: 1px solid rgba(94, 144, 10, 0.22);
  padding: 0.5em 1.1em;
  border-radius: 999px;
}

.hero__chips .icon {
  color: var(--vert);
}

/* Encadré photo de terrain : rectangle aux coins subtilement arrondis */
.hero__art-wrap {
  width: min(1180px, 100% - 3rem);
  margin-inline: auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(94, 144, 10, 0.25);
  box-shadow: 0 34px 80px rgba(35, 55, 12, 0.22);
  background: #efe9d5;
}

.hero__art {
  display: block;
  width: 100%;
  height: clamp(220px, 32vw, 350px);
  object-fit: cover;
  object-position: center 60%;
}

/* ---------- Cartes (confiance & prestations) ---------- */
.trust-grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.card {
  position: relative;
  background: var(--blanc);
  border: 1px solid var(--liseret);
  border-radius: var(--radius);
  padding: 2.3rem 2rem;
  box-shadow: var(--ombre-douce);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ombre);
  border-color: rgba(94, 144, 10, 0.35);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  margin-bottom: 1.4rem;
  background: linear-gradient(135deg, #f0f5dd, #deecbc);
  color: var(--vert-fonce);
  border: 1px solid rgba(94, 144, 10, 0.16);
}

.card__icon .icon {
  width: 28px;
  height: 28px;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--texte-doux);
  font-size: 0.99rem;
}

.card--service {
  display: flex;
  flex-direction: column;
}

.card--service h3 {
  min-height: calc(2 * 1.35em); /* réserve 2 lignes : textes alignés entre cartes voisines */
}

/* Photo en tête de carte prestation */
.card__media {
  position: relative;
  margin: -2.3rem -2rem 1.6rem;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  overflow: hidden;
  border-bottom: 1px solid var(--liseret);
  aspect-ratio: 16 / 10; /* hauteur verrouillée par le conteneur : identique sur toutes les cartes */
}

.card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1); /* zoom lent et feutré */
}

.card--service:hover .card__media img {
  transform: scale(1.06);
}

/* Liseré vert animé : fine barre dégradée qui se déploie au bas de la photo */
.card__media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--vert), var(--vert-tendre));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
}

.card--service:hover .card__media::after {
  transform: scaleX(1);
}

/* Survols spécifiques aux prestations : liseré vert franc + titre accentué */
.card--service:hover {
  border-color: var(--vert);
  box-shadow: var(--ombre), inset 0 0 0 1px var(--vert); /* double liseré net, sans décalage de mise en page */
}

.card--service h3 {
  transition: color 0.25s ease;
}

.card--service:hover h3 {
  color: var(--vert-fonce);
}

/* Bandeau CTA sous les prestations */
.services-cta {
  margin-top: 3.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  background: var(--blanc);
  border: 1px solid var(--liseret);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  box-shadow: var(--ombre-douce);
}

.services-cta p {
  font-style: italic;
  color: var(--texte-doux);
  max-width: 56ch;
}

/* ---------- Crédit d'impôt 50 % (avance immédiate) ---------- */
.section--credit {
  position: relative;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(151, 197, 60, 0.26), transparent 60%),
    radial-gradient(900px 460px at 0% 110%, rgba(181, 155, 63, 0.2), transparent 55%),
    linear-gradient(165deg, var(--vert-nuit) 0%, #3c5c0c 100%);
  color: #fff;
}

/* Mise en valeur des mots-clés dans les sections sombres */
.section-head--light strong {
  color: var(--vert-tendre);
}

.credit-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.8rem;
  align-items: stretch;
}

/* ============================================================
   Carte « Avance immédiate » — colonne gauche, section Moitié Prix
   Structure horizontale stricte : en-tête, sous-titre, texte, certification
   ============================================================ */
.credit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--blanc);
  border: 1.5px solid var(--ocre);
  border-radius: 12px;
  padding: 2.4rem 1.9rem 2.2rem; /* bas élargi : le pied respire */
  box-shadow: 0 18px 44px rgba(29, 43, 19, 0.28);
}

/* Titre commercial : -50 % IMMÉDIAT, entièrement en ocre */
.credit-card__value,
.credit-card__word {
  color: var(--ocre);
}

.credit-card__value {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 3.4rem);
  line-height: 1;
  white-space: nowrap;
}

.credit-card__word {
  font-family: var(--sans);
  font-size: clamp(0.82rem, 1.6vw, 0.98rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Sous-titre : l'avantage en clair */
.credit-card__subtitle {
  margin-top: 0.85rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--vert-tres-fonce);
  text-wrap: balance;
}

/* Corps : accroche courte, chaleureuse et percutante */
.credit-card__text {
  margin-top: 0.85rem;
  font-size: 0.99rem;
  line-height: 1.7;
  color: var(--texte-doux);
  text-wrap: pretty;
}

/* Pied : certification officielle, alignée proprement */
.credit-card__foot {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem; /* espace confortable entre les 3 éléments */
  width: 100%;
  flex-wrap: nowrap;
}

/* Les trois éléments du footer : logo DAMM, logo SAP, mention — sur une seule ligne */
.credit-card__brand {
  width: 120px;
  height: auto;
  flex-shrink: 0;
}

.credit-card__cert {
  width: 88px;
  height: auto;
  flex-shrink: 0;
}

.credit-card__foot p {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--texte-faible);
  line-height: 1.5;
  text-align: left;
  min-width: 0;
}

/* Compact : petits écrans */
@media (max-width: 520px) {
  .credit-card {
    padding: 1.9rem 1.3rem 1.6rem;
  }

  .credit-card__brand {
    width: 96px;
  }

  .credit-card__cert {
    width: 70px;
  }

  .credit-card__foot {
    gap: 0.95rem;
    padding-top: 1.3rem;
  }
}

.credit-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.credit-step {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.credit-step:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(151, 197, 60, 0.45);
}

.credit-step__num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--vert-tendre), var(--vert));
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.credit-step h3 {
  margin-bottom: 0.35rem;
  color: #fff;
}

.credit-step p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.97rem;
}

.credit-cta {
  margin-top: 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.3rem;
  text-align: center;
}

.credit-cta p {
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
}

/* ---------- Zone d'intervention ---------- */
.zone-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 820px;
  margin-inline: auto;
}

.zone-card {
  background: var(--blanc);
  border: 1px solid rgba(181, 155, 63, 0.55); /* fine bordure ocre/doré de la charte */
  border-radius: var(--radius);
  padding: 2.6rem 2.4rem;
  box-shadow: var(--ombre-douce);
}

.zone-card__head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.3rem;
}

.zone-card__head .card__icon {
  margin-bottom: 0;
}

.card .zone-card__head h3 {
  margin-bottom: 0; /* l'espacement est porté par l'en-tête flex, pas par le titre */
}

.zone-card__text {
  color: var(--texte);
  font-size: 1.06rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.zone-card__text strong {
  color: var(--vert-fonce);
}

.zone-card__note {
  margin-top: 1.6rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--liseret); /* fin filet de séparation */
  font-size: 0.92rem;
  font-style: italic;
  color: var(--texte-faible);
}

/* Carte stylisée du secteur, aux couleurs de la charte */
.zone-map {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 1.8rem;
  border-radius: 14px;
  border: 1px solid rgba(94, 144, 10, 0.18);
}

/* ---------- Chantiers avant / après ---------- */
.chantiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.chantier {
  background: var(--blanc);
  border: 1px solid var(--liseret);
  border-radius: var(--radius);
  padding: 1.1rem 1.1rem 1.8rem;
  box-shadow: var(--ombre-douce);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.chantier:hover {
  transform: translateY(-6px);
  box-shadow: var(--ombre);
}

.chantier h3 {
  font-size: 1.16rem;
  margin: 1.2rem 0.4rem 0.5rem;
}

.chantier > p {
  color: var(--texte-doux);
  font-size: 0.95rem;
  margin: 0 0.4rem;
}

/* Comparateur avant / après */
.ba-slider {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 15px;
  overflow: hidden;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

/* Curseur en format portrait (photos verticales, ex. élagage d'un arbre) */
.ba-slider--tall {
  aspect-ratio: 9 / 16;
}

.ba-slider:focus-visible {
  outline: 3px solid var(--ocre);
  outline-offset: 3px;
}

.ba-slider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-slider__img--top {
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
}

.ba-slider__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 3px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-slider__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blanc);
  color: var(--vert);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.ba-slider__handle .icon {
  width: 22px;
  height: 22px;
}

.ba-slider__tag {
  position: absolute;
  top: 12px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  padding: 0.35em 0.8em;
  border-radius: 999px;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}

.ba-slider__tag--before {
  left: 12px;
}

.ba-slider__tag--after {
  right: 12px;
}

/* Affichage dynamique : le badge du côté "écrasé" par le curseur s'efface,
   pour ne jamais nommer une photo qu'on ne voit (presque) plus */
.ba-slider--apres-full .ba-slider__tag--before,
.ba-slider--avant-full .ba-slider__tag--after {
  opacity: 0;
  visibility: hidden;
}

.chantiers-more {
  margin-top: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  text-align: center;
  color: var(--texte-doux);
  font-size: 0.98rem;
}

.chantiers-more .icon {
  color: var(--vert);
}

.chantiers-more a {
  font-weight: 700;
  color: var(--vert);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Contact ---------- */
.section--contact {
  position: relative;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(151, 197, 60, 0.3), transparent 60%),
    radial-gradient(900px 480px at 0% 110%, rgba(181, 155, 63, 0.24), transparent 55%),
    linear-gradient(160deg, var(--vert-tres-fonce) 0%, #41620c 100%);
  color: #fff;
}

.section--contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M30 90C30 70 38 56 48 40' fill='none' stroke='%23ffffff' stroke-opacity='0.07' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M60 100C60 78 66 62 74 48' fill='none' stroke='%23ffffff' stroke-opacity='0.07' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M88 96C88 74 94 60 102 48' fill='none' stroke='%23ffffff' stroke-opacity='0.07' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  pointer-events: none;
}

.section--contact .container {
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.98);
  color: var(--texte);
  border-radius: var(--radius);
  padding: 2.1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.3);
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin-bottom: 1.3rem;
  background: linear-gradient(135deg, var(--vert-tendre), var(--vert));
  color: #fff;
  box-shadow: 0 10px 22px rgba(94, 144, 10, 0.35);
}

.contact-card__icon .icon {
  width: 26px;
  height: 26px;
}

.contact-card__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vert);
}

.contact-card__value {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--noir);
  margin-top: 0.35rem;
  /* L'adresse e-mail reste toujours en un seul bloc, jamais coupée */
  white-space: nowrap;
}

/* Encart Facebook : le vrai logo, bien lisible */
.contact-card__value--logo {
  display: block;
  width: 100%;
  white-space: normal;
}

.contact-card__logo {
  display: block;
  width: min(230px, 100%);
  height: auto;
  margin: 0.35rem auto 0;
  object-fit: contain;
}

.contact-card__hint {
  margin-top: 0.6rem;
  font-size: 0.94rem;
  color: var(--texte-faible);
}

/* ---------- Formulaire de devis ---------- */
.devis-card {
  margin-top: 2.6rem;
  max-width: 780px;
  margin-inline: auto;
  background: var(--blanc);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
}

.devis-card__head {
  text-align: center;
  margin-bottom: 2.2rem;
}

.devis-card__head h3 {
  /* Titre entièrement en calligraphie cursive (Great Vibes), comme le slogan */
  font-family: "Great Vibes", cursive;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  line-height: 1.25;
  letter-spacing: 0;
  margin-bottom: 0.7rem;
}

.devis-card__head h3 em {
  /* « devis gratuit » en ocre (3e couleur de la charte) */
  font-family: inherit;
  font-style: normal;
  font-weight: 400;
  font-size: 1em;
  letter-spacing: 0;
  color: var(--ocre);
}

.devis-card__head > p {
  color: var(--texte-doux);
  font-size: 0.98rem;
  max-width: 52ch;
  margin-inline: auto;
}

/* Pastilles de réassurance sous le titre */
.devis-card__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.devis-card__chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--vert-fonce);
  background: var(--tint);
  border: 1px solid rgba(94, 144, 10, 0.2);
  padding: 0.42em 0.95em;
  border-radius: 999px;
}

.devis-card__chips .icon {
  color: var(--vert);
}

.devis-form {
  display: grid;
  gap: 1.15rem;
}

.devis-form[hidden] {
  display: none;
}

.devis-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--texte);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--texte);
  padding: 0.85em 1.05em;
  border-radius: 13px;
  border: 1.5px solid #ddd6c2;
  background: var(--blanc-casse);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

/* Liste déroulante : flèche personnalisée ocre (3e couleur de la charte) */
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.7em;
  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='none' stroke='%23b59b3f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  cursor: pointer;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--texte-faible);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ocre);
  background: var(--blanc);
  box-shadow: 0 0 0 3px rgba(181, 155, 63, 0.25);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.devis-submit {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  margin-top: 0.6rem;
}

.devis-submit .btn {
  padding: 1.05em 1.9em;
}

.devis-note {
  flex: 1;
  min-width: 240px;
  font-size: 0.88rem;
  color: var(--texte-faible);
}

.devis-note a {
  font-weight: 700;
  color: var(--vert);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.devis-ok {
  display: none;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  background: #eef4dd;
  border: 1px solid rgba(94, 144, 10, 0.35);
  color: var(--vert-fonce);
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1.5;
}

.devis-ok .icon {
  color: var(--vert);
  margin-top: 0.15em;
}

.devis-ok.show {
  display: flex;
}

.devis-err {
  display: none;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  background: #fdf0ea;
  border: 1px solid rgba(178, 84, 41, 0.35);
  color: #8a4a26;
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1.5;
}

.devis-err .icon {
  color: #b25429;
  margin-top: 0.15em;
}

.devis-err.show {
  display: flex;
}

.devis-err a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: inherit;
}

/* Erreurs de validation par champ */
.field-error {
  display: none;
  margin-top: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #b25429;
  line-height: 1.4;
}

.field-error.show {
  display: block;
}

.field input.invalid,
.field select.invalid,
.field textarea.invalid {
  border-color: #c96a3d;
  background: #fff7f2;
}

/* Panneau de confirmation après envoi */
.devis-done {
  text-align: center;
  padding: 0.8rem 0.4rem 0.4rem;
}

.devis-done[hidden] {
  display: none;
}

.devis-done:focus-visible {
  outline: none;
}

.devis-done__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vert-tendre), var(--vert));
  color: #fff;
  box-shadow: 0 12px 26px rgba(94, 144, 10, 0.35);
}

.devis-done__icon .icon {
  width: 32px;
  height: 32px;
}

.devis-done h3 {
  margin-bottom: 0.7rem;
}

.devis-done h3 em {
  /* « Merci » manuscrit : même typo que le slogan (Great Vibes), en ocre */
  font-family: "Great Vibes", cursive;
  font-style: normal;
  font-weight: 400;
  font-size: 1.4em;
  line-height: 1;
  letter-spacing: 0;
  color: var(--ocre);
  display: inline-block;
}

.devis-done > p {
  color: var(--texte-doux);
  max-width: 48ch;
  margin-inline: auto;
  margin-bottom: 0.6rem;
}

.devis-done__recap {
  display: inline-block;
  margin: 1rem auto 1.5rem !important;
  padding: 0.7rem 1.2rem;
  background: var(--tint);
  border: 1px solid rgba(94, 144, 10, 0.25);
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--vert-fonce) !important;
  max-width: none !important;
}

.devis-done__direct a {
  font-weight: 700;
  color: var(--vert);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.devis-done__again {
  margin-top: 1rem;
}

/* Aide : au moins un moyen de contact */
.devis-require {
  display: none;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #fdf0ea;
  border: 1px solid rgba(178, 84, 41, 0.35);
  color: #8a4a26;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.5;
}

.devis-require .icon {
  color: #b25429;
  margin-top: 0.15em;
}

.devis-require.show {
  display: flex;
}

/* Champ anti-spam invisible */
.devis-honey {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
  box-shadow: 0 14px 30px rgba(94, 144, 10, 0.3);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--vert-nuit);
  color: rgba(255, 255, 255, 0.85);
  padding: clamp(3.5rem, 7vw, 5rem) 0 1.6rem;
  font-size: 0.97rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer .logo__text em {
  color: var(--vert-tendre);
}

.footer__brand p {
  margin-top: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 32ch;
}

/* Badge agrément Services à la Personne (crédit d'impôt) */
.sap-badge {
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 240px;
}

.sap-badge__img {
  width: 150px;
  height: auto;
}

.sap-badge__text {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}

.sap-badge__text strong {
  color: var(--vert-tendre);
  font-weight: 700;
}

.footer h4 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vert-tendre);
  margin-bottom: 1.1rem;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__col a {
  transition: color 0.2s ease;
}

.footer__col a:hover {
  color: var(--vert-tendre);
}

.footer__col p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.1rem;
}

/* La feuille du logo (teinte vert tendre, lisible sur le fond sombre), en pastille à gauche du copyright */
.footer__leaves {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  object-fit: contain;
  margin: 0 0.45em 0 0;
  vertical-align: -0.18em; /* calage optique sur la ligne du texte */
  opacity: 0.92;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 2rem;
  padding-top: 1.6rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Liens légaux du pied de page */
.footer__legal {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.footer__legal a:hover,
.footer__legal a:focus-visible {
  color: var(--vert-tendre);
}

/* Verrouillage du défilement quand une modale est ouverte */
body.no-scroll {
  overflow: hidden;
}

/* ---------- Modale légale (mentions légales & confidentialité) ---------- */
.legal-modal[hidden] {
  display: none;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.legal-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 30, 12, 0.72);
  backdrop-filter: blur(3px);
}

.legal-modal__box {
  position: relative;
  width: min(760px, 100%);
  max-height: min(84vh, 820px);
  display: flex;
  flex-direction: column;
  background: var(--blanc);
  border-radius: 18px;
  box-shadow: 0 40px 90px rgba(10, 18, 5, 0.4);
  overflow: hidden;
}

.legal-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.7rem;
  border-bottom: 1px solid var(--liseret);
}

.legal-modal__title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--noir);
  line-height: 1.2;
}

.legal-modal__close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid var(--liseret);
  border-radius: 12px;
  background: var(--blanc-casse);
  color: var(--texte);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.legal-modal__close:hover {
  background: var(--tint);
  color: var(--vert-fonce);
}

.legal-modal__body {
  overflow-y: auto;
  padding: 1.6rem 1.7rem 2rem;
  font-size: 0.95rem;
  color: var(--texte);
}

.legal-modal__body h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
}

.legal-modal__body h3:first-child {
  margin-top: 0;
}

.legal-modal__body p,
.legal-modal__body li {
  color: var(--texte-doux);
  line-height: 1.65;
}

.legal-modal__body ul {
  padding-left: 1.2rem;
  margin: 0.4rem 0 0.9rem;
}

.legal-modal__body li {
  margin-bottom: 0.3rem;
}

.legal-modal__body strong {
  color: var(--noir);
}

.legal-modal__body a {
  color: var(--vert-fonce);
  font-weight: 600;
}

.legal-modal__body a:hover {
  text-decoration: underline;
}

/* ---------- Barre d'appel mobile ---------- */
.callbar {
  display: none;
}

/* ---------- Animations d'apparition ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--d, 0s);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive (priorité mobile) ---------- */
@media (max-width: 1560px) {
  /* 7 liens + CTA : resserrement des écarts pour tenir en ligne au-dessus du tiroir */
  .nav {
    gap: 1.1rem;
  }

  .nav__list {
    gap: 1.1rem;
  }

  .nav__list a {
    font-size: 0.93rem;
  }
}

@media (max-width: 1120px) {
  /* Navigation en tiroir dès 1120 px : 7 liens + CTA ne tiennent plus en ligne */
  .header__tools {
    display: flex;
  }

  .header__call {
    display: grid;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 86vw);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 2.2rem;
    padding: calc(var(--header-total) + 1.5rem) 2rem 2rem;
    background: var(--creme);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.16);
    transform: translateX(100%);
    /* Tiroir fermé : invisible au clavier/lecteur d'écran ; la visibilité
       ne bascule qu'après la sortie (0.3 s) pour garder l'animation visible */
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0s linear 0.3s;
    overflow-y: auto;
  }

  body.nav-open .nav {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.3s ease, visibility 0s;
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 1.3rem;
    width: 100%;
  }

  .nav__list a {
    font-size: 1.15rem;
  }

  /* Dans le tiroir mobile, on affiche les noms raccourcis */
  .nav__short {
    display: inline;
  }

  .nav__full {
    display: none;
  }

  .nav__cta {
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 1080px) {
  .trust-grid,
  .services-grid,
  .chantiers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .coulisses-grid {
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }

  .coulisses-portrait {
    max-width: 460px;
    margin-inline: auto;
  }

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

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

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

@media (max-width: 1020px) {
  /* Bandeau contact masqué sur tablette/mobile */
  .topbar {
    display: none;
  }

  :root {
    --header-total: var(--header-nav);
  }
}

@media (max-width: 760px) {
  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .contact-card {
    padding: 1.8rem;
  }

  .devis-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .devis-card {
    padding: 1.6rem 1.2rem;
  }

  .devis-submit .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .trust-grid,
  .services-grid,
  .chantiers-grid {
    grid-template-columns: 1fr;
  }

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__art-wrap {
    width: min(1180px, 100% - 1.5rem);
  }

  .hero__art {
    height: clamp(180px, 40vw, 240px);
  }

  .hero__content {
    padding-top: calc(var(--header-nav) + clamp(2.2rem, 8vw, 3rem));
  }

  .zone-card {
    padding: 2rem 1.4rem;
  }

  .services-cta {
    padding: 2rem 1.4rem;
  }

  /* Barre d'appel fixe en bas d'écran */
  .callbar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    background: linear-gradient(135deg, var(--vert-tendre), var(--vert));
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
  }

  .callbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: #fff;
    font-weight: 700;
    padding: 0.7rem;
    border: 2px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
  }

  body {
    padding-bottom: 68px;
  }
}

/* ---------- Accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

}
