/* ==========================================================================
   IA RENOV — Styles principaux (mobile-first)
   Ordre : reset → base → utilitaires → header → boutons → sections →
   composants → footer → animations
   ========================================================================== */

/* --- Reset léger --------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: var(--lh-tight);
  color: var(--forest);
  letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-md); }

p { color: var(--color-text-muted); }

/* --- Accessibilité : lien d'évitement + focus --------------------------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--forest);
  color: var(--white);
  padding: var(--space-1) var(--space-2);
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 1200;
}
.skip-link:focus { left: 0; }

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

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

/* --- Conteneur & rythme -------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

.section { padding-block: var(--space-6); }
.section--alt { background: var(--color-bg-alt); }
.section--forest { background: var(--forest); color: var(--cream); }
.section--forest h2,
.section--forest h3 { color: var(--white); }
.section--forest p { color: rgba(245, 239, 228, 0.82); }

.section-head {
  max-width: 720px;
  margin: 0 auto var(--space-5);
  text-align: center;
}
.section-head--left { margin-inline: 0; text-align: left; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--space-1);
}
.section--forest .eyebrow { color: var(--honey); }

.section-head p { font-size: var(--fs-md); margin-top: var(--space-1); }

/* ========================================================================
   Header / navigation
   ======================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: var(--fs-md);
  color: var(--forest);
  flex-shrink: 0;
}
.brand__mark { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-3);
}
.nav__links a {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.nav__links a:hover { color: var(--terracotta); }
.nav__links a[aria-current="page"] {
  color: var(--forest);
  border-bottom-color: var(--terracotta);
}

.nav__actions { display: none; align-items: center; gap: var(--space-2); }

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--forest);
  white-space: nowrap;
}
.nav__phone svg { width: 20px; height: 20px; }

/* Bouton menu mobile */
.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 0 11px;
  background: var(--cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav__toggle span {
  display: block; height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Panneau mobile */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--color-border);
  background: var(--white);
  padding: var(--space-2) var(--space-3) var(--space-3);
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  font-weight: 600;
  padding: 14px 4px;
  border-bottom: 1px solid var(--color-border);
}
.mobile-menu a[aria-current="page"] { color: var(--terracotta); }
.mobile-menu .btn { margin-top: var(--space-2); width: 100%; justify-content: center; }

/* ========================================================================
   Boutons
   ======================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-sm);
  line-height: 1;
  padding: 15px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--terracotta); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--terracotta-dark); box-shadow: var(--shadow); }

.btn--ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: var(--white); }

.btn--light { background: var(--white); color: var(--forest); }
.btn--light:hover { background: var(--cream); }

.btn--honey { background: var(--honey); color: #4A3306; }
.btn--honey:hover { background: #c9962f; }

.btn--lg { padding: 18px 34px; font-size: var(--fs-base); }
.btn--block { display: flex; width: 100%; }

/* ========================================================================
   Hero
   ======================================================================== */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(36,56,45,0.90) 0%, rgba(36,56,45,0.78) 100%),
    var(--forest);
  color: var(--cream);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  gap: var(--space-4);
  padding-block: var(--space-6);
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--honey);
}
.hero h1 {
  color: var(--white);
  font-size: var(--fs-2xl);
  margin: var(--space-2) 0 var(--space-2);
}
.hero h1 em { color: var(--honey); font-style: normal; }
.hero__lead {
  font-size: var(--fs-md);
  color: rgba(245, 239, 228, 0.9);
  max-width: 52ch;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 320px;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

.hero__badge {
  position: absolute;
  left: var(--space-3); bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.95);
  color: var(--forest);
  padding: 12px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-weight: 700;
  font-size: var(--fs-sm);
}
.hero__badge svg { width: 30px; height: 30px; color: var(--terracotta); }

/* ========================================================================
   Bandeau de réassurance
   ======================================================================== */
.trust {
  background: var(--cream);
  border-block: 1px solid var(--color-border);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  padding-block: var(--space-4);
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--forest);
}
.trust__item svg { width: 34px; height: 34px; color: var(--terracotta); flex-shrink: 0; }
.trust__item span { display: block; }
.trust__item small { display: block; font-weight: 500; color: var(--ink-soft); }

/* ========================================================================
   Cartes services
   ======================================================================== */
.grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
}
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

.card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--terracotta);
  margin-bottom: var(--space-2);
}
.card__icon svg { width: 32px; height: 32px; }
.card h3 { margin-bottom: var(--space-1); }
.card p { font-size: var(--fs-sm); }

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-2);
  font-weight: 700;
  color: var(--terracotta);
}
.card__link svg { width: 18px; height: 18px; transition: transform var(--transition); }
.card:hover .card__link svg { transform: translateX(4px); }

/* Carte « spécialité » mise en avant */
.card--feature {
  border: 2px solid var(--terracotta);
  position: relative;
}
.card--feature::before {
  content: "Notre spécialité";
  position: absolute;
  top: -13px; left: var(--space-4);
  background: var(--terracotta);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

/* ========================================================================
   « Pourquoi nous choisir »
   ======================================================================== */
.feature {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
}
.feature__num {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--forest);
  color: var(--honey);
  font-family: var(--font-title);
  font-weight: 600;
  border-radius: 50%;
}
.feature h3 { font-size: var(--fs-md); margin-bottom: 4px; }
.feature p { font-size: var(--fs-sm); }

/* ========================================================================
   Galerie / réalisations
   ======================================================================== */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: var(--space-4);
}
.filter-btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-sm);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--terracotta); color: var(--terracotta); }
.filter-btn.is-active { background: var(--forest); color: var(--white); border-color: var(--forest); }

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--white);
  border: 1px solid var(--color-border);
}
.gallery__item.is-hidden { display: none; }
.gallery__item figcaption {
  padding: var(--space-2);
  font-weight: 700;
  color: var(--forest);
}
.gallery__item figcaption span {
  display: block;
  font-weight: 500;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--terracotta);
  background: var(--cream);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 6px;
}

/* Slider avant / après */
.ba {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 50%); }
.ba__label {
  position: absolute;
  top: 12px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--white);
  background: rgba(35,33,28,0.7);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  pointer-events: none;
}
.ba__label--before { left: 12px; }
.ba__label--after  { right: 12px; }
.ba__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  pointer-events: none;
}
.ba__handle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 44px; height: 44px;
  transform: translate(-50%, -50%);
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23C0703C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 6 3 12 9 18'/%3E%3Cpolyline points='15 6 21 12 15 18'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ========================================================================
   Témoignages
   ======================================================================== */
.testimonial {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}
.testimonial__stars { color: var(--honey); margin-bottom: var(--space-1); letter-spacing: 2px; }
.testimonial blockquote {
  font-family: var(--font-title);
  font-size: var(--fs-md);
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: var(--space-2);
}
.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--honey);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.testimonial__author strong { color: var(--forest); }
.testimonial__author small { display: block; color: var(--ink-soft); }

/* ========================================================================
   Contenu long (pages services / bois / blog)
   ======================================================================== */
.prose { max-width: 760px; }
.prose h2 { margin: var(--space-5) 0 var(--space-2); }
.prose h3 { margin: var(--space-4) 0 var(--space-1); color: var(--terracotta-dark); }
.prose p { margin-bottom: var(--space-2); }
.prose ul { margin: 0 0 var(--space-2); }
.prose ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--ink-soft);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 16px; height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23C0703C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
}

.split {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

/* Encadré / callout */
.callout {
  background: var(--cream);
  border-left: 4px solid var(--terracotta);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--space-3);
  margin: var(--space-3) 0;
}
.callout h3 { color: var(--forest); margin-bottom: 6px; }
.callout p { margin: 0; }

/* Liste des nuisibles (page bois) */
.pest-grid { display: grid; gap: var(--space-2); grid-template-columns: 1fr; margin-top: var(--space-3); }
.pest {
  display: flex; gap: 14px;
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-3);
}
.pest__icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream); color: var(--terracotta);
  border-radius: var(--radius-sm);
}
.pest__icon svg { width: 28px; height: 28px; }
.pest h3 { font-size: var(--fs-base); margin-bottom: 2px; }
.pest p { font-size: var(--fs-sm); margin: 0; }

/* Étapes numérotées */
.steps { counter-reset: step; display: grid; gap: var(--space-3); }
.step { display: flex; gap: var(--space-2); align-items: flex-start; }
.step::before {
  counter-increment: step;
  content: counter(step);
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--terracotta); color: var(--white);
  font-family: var(--font-title); font-weight: 600;
  border-radius: 50%;
}
.step h3 { font-size: var(--fs-base); margin-bottom: 2px; }
.step p { font-size: var(--fs-sm); margin: 0; }

/* ========================================================================
   CTA de bas de page
   ======================================================================== */
.cta-band { text-align: center; }
.cta-band h2 { color: var(--white); font-size: var(--fs-xl); }
.cta-band p { font-size: var(--fs-md); max-width: 60ch; margin: var(--space-2) auto var(--space-3); }
.cta-band .btn-row { display: inline-flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; }

/* ========================================================================
   Formulaire
   ======================================================================== */
.form-card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow);
}
.field { margin-bottom: var(--space-3); }
.field label {
  display: block;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--forest);
  margin-bottom: 6px;
}
.field .req { color: var(--terracotta); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--ink);
  padding: 13px 15px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(192, 112, 60, 0.18);
}
.field input:invalid:not(:placeholder-shown) { border-color: #c0392b; }

.field .error-msg {
  display: none;
  color: #c0392b;
  font-size: var(--fs-xs);
  font-weight: 600;
  margin-top: 5px;
}
.field.has-error .error-msg { display: block; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #c0392b; }

.field-file {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  text-align: center;
  color: var(--ink-soft);
  cursor: pointer;
}
.field-file:hover { border-color: var(--terracotta); }

.form-note { font-size: var(--fs-xs); color: var(--ink-soft); }

.form-success {
  display: none;
  background: #eef5ee;
  border: 1px solid #bcd8bd;
  color: #2a5a2f;
  border-radius: var(--radius);
  padding: var(--space-3);
  font-weight: 600;
}
.form-success.is-visible { display: block; }
.form-error { background: #fbeeea; border-color: #e6b9ad; color: #8a2f1c; }
.form-error a { color: inherit; text-decoration: underline; }
.form-success + .form-error.is-visible,
.form-success.is-visible + .form-error { margin-top: var(--space-2); }

/* Bloc coordonnées */
.info-list { display: grid; gap: var(--space-3); }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item svg { width: 26px; height: 26px; color: var(--terracotta); flex-shrink: 0; margin-top: 3px; }
.info-item strong { display: block; color: var(--forest); }
.info-item a, .info-item span { color: var(--ink-soft); }

.map-embed {
  border: 0;
  width: 100%;
  height: 320px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  filter: saturate(0.9);
}

/* ========================================================================
   Blog
   ======================================================================== */
.post-card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__body { padding: var(--space-3); flex: 1; display: flex; flex-direction: column; }
.post-card__meta { font-size: var(--fs-xs); color: var(--ink-soft); margin-bottom: 6px; }
.post-card h3 { margin-bottom: 8px; }
.post-card p { font-size: var(--fs-sm); flex: 1; }
.post-card .card__link { margin-top: var(--space-2); }

.article-header {
  background: var(--forest);
  color: var(--cream);
  padding-block: var(--space-6);
}
.article-header h1 { color: var(--white); max-width: 20ch; }
.article-header .meta { color: var(--honey); font-weight: 700; font-size: var(--fs-sm); margin-bottom: var(--space-2); }

.breadcrumb { font-size: var(--fs-xs); color: var(--ink-soft); margin-bottom: var(--space-2); }
.breadcrumb a { color: var(--terracotta); font-weight: 600; }
.breadcrumb--light { color: rgba(245,239,228,0.7); }
.breadcrumb--light a { color: var(--honey); }

/* ========================================================================
   À propos
   ======================================================================== */
.stat-band { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--space-3); }
.stat { text-align: center; }
.stat strong {
  display: block;
  font-family: var(--font-title);
  font-size: var(--fs-2xl);
  color: var(--honey);
}
.stat span { font-size: var(--fs-sm); color: rgba(245,239,228,0.85); }

.badge-list { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-weight: 700;
  color: var(--forest);
  box-shadow: var(--shadow-sm);
}
.badge svg { width: 24px; height: 24px; color: var(--terracotta); }

.team-member { text-align: center; }
.team-member img {
  width: 130px; height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-2);
  box-shadow: var(--shadow-sm);
}
.team-member strong { color: var(--forest); display: block; }
.team-member span { font-size: var(--fs-sm); color: var(--ink-soft); }

/* ========================================================================
   Footer
   ======================================================================== */
.site-footer {
  background: var(--forest-dark);
  color: rgba(245,239,228,0.82);
  padding-block: var(--space-5) var(--space-3);
}
.site-footer a { color: rgba(245,239,228,0.82); transition: color var(--transition); }
.site-footer a:hover { color: var(--honey); }

.footer-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(245,239,228,0.15);
}
.footer-brand .brand { color: var(--white); margin-bottom: var(--space-2); }
.footer-brand p { color: rgba(245,239,228,0.7); font-size: var(--fs-sm); }
.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--honey);
  margin-bottom: var(--space-2);
}
.footer-col li { margin-bottom: 10px; font-size: var(--fs-sm); }

.socials { display: flex; gap: 12px; margin-top: var(--space-2); }
.socials a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(245,239,228,0.25);
  border-radius: 50%;
}
.socials a:hover { background: var(--honey); border-color: var(--honey); color: var(--forest-dark); }
.socials svg { width: 20px; height: 20px; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: var(--space-3);
  font-size: var(--fs-xs);
  color: rgba(245,239,228,0.6);
}
.footer-bottom a { text-decoration: underline; }

/* ========================================================================
   Boutons flottants (WhatsApp + appel)
   ======================================================================== */
.floating {
  position: fixed;
  right: 16px; bottom: 76px; /* au-dessus du badge « Powered by Netlify » (64 px) */
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.floating a {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  box-shadow: var(--shadow);
  color: var(--white);
  transition: transform var(--transition);
}
.floating a:hover { transform: scale(1.08); }
.floating svg { width: 28px; height: 28px; }
.floating .fab-wa { background: #25D366; }
.floating .fab-call { background: var(--terracotta); }

/* ========================================================================
   Animations au scroll (respecte prefers-reduced-motion)
   ======================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .post-card:hover { transform: none; }
}

/* ========================================================================
   Galerie photo (réalisations béton ciré)
   Grille de photos portrait, légende en surimpression au survol.
   ======================================================================== */
.showcase {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--cream-dark);
}
.showcase img { width: 100%; display: block; aspect-ratio: 3 / 4; object-fit: cover; }

.photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

.photo {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--cream-dark);
}
.photo img {
  width: 100%;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.photo:hover img { transform: scale(1.05); }

.photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--space-4) var(--space-2) var(--space-2);
  color: var(--white);
  font-weight: 700;
  font-size: var(--fs-sm);
  background: linear-gradient(180deg, rgba(35,33,28,0) 0%, rgba(35,33,28,0.82) 60%);
}
.photo figcaption span {
  display: block;
  font-weight: 500;
  font-size: var(--fs-xs);
  color: rgba(245, 239, 228, 0.85);
}

@media (min-width: 600px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }

/* Grille de 2 photos : centrée, sans case vide */
.photo-grid--duo { max-width: 760px; margin-inline: auto; }
@media (min-width: 900px) { .photo-grid--duo { grid-template-columns: repeat(2, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  .photo:hover img { transform: none; }
}

/* ========================================================================
   Visionneuse plein écran (lightbox)
   S'ouvre au clic sur une photo, navigation flèches / clavier / tactile.
   ======================================================================== */
.photo__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  font: inherit;
}
.photo__btn:focus-visible { outline: 3px solid var(--honey); outline-offset: -3px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-2);
  background: rgba(23, 21, 18, 0.94);
}
.lightbox.is-open { display: flex; }

.lightbox__figure {
  margin: 0;
  max-width: min(92vw, 760px);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.lightbox__figure img {
  max-width: 100%;
  max-height: 66vh;
  width: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox__figure figcaption {
  text-align: center;
  color: var(--cream);
  max-width: 58ch;
}
.lightbox__figure figcaption strong {
  display: block;
  font-family: var(--font-title);
  font-size: var(--fs-md);
  color: var(--white);
  margin-bottom: 4px;
}
.lightbox__figure figcaption span {
  font-size: var(--fs-sm);
  color: rgba(245, 239, 228, 0.8);
  line-height: 1.6;
}

.lightbox__nav,
.lightbox__close {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border: 1px solid rgba(245, 239, 228, 0.3);
  border-radius: 50%;
  background: rgba(35, 33, 28, 0.6);
  color: var(--cream);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.lightbox__nav:hover,
.lightbox__close:hover { background: var(--terracotta); border-color: var(--terracotta); }
.lightbox__nav svg { width: 26px; height: 26px; }
.lightbox__close svg { width: 22px; height: 22px; }

.lightbox__prev  { left: var(--space-2); }
.lightbox__next  { right: var(--space-2); }
.lightbox__close { top: var(--space-2); right: var(--space-2); }

.lightbox__counter {
  position: absolute;
  bottom: var(--space-2);
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(245, 239, 228, 0.7);
  margin: 0;
}

body.is-locked { overflow: hidden; }

@media (min-width: 900px) {
  .lightbox__prev  { left: var(--space-5); }
  .lightbox__next  { right: var(--space-5); }
  .lightbox__close { top: var(--space-4); right: var(--space-4); }
  .lightbox__figure img { max-height: 72vh; }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox__nav, .lightbox__close { transition: none; }
}

/* ----- Galerie Réalisations : photos réelles mêlées aux visuels ---------- */
/* Les photos de chantier sont en portrait (3:4), les avant/après en 4:3.
   align-items:start évite que les vignettes courtes soient étirées.        */
.gallery { align-items: start; }

.gallery__item--photo .photo__btn { cursor: zoom-in; }
.gallery__item--photo img { transition: transform 0.6s ease; }
.gallery__item--photo:hover img { transform: scale(1.04); }

@media (prefers-reduced-motion: reduce) {
  .gallery__item--photo:hover img { transform: none; }
}

/* Les libellés du menu ne doivent jamais se couper sur deux lignes */
.nav__links a { white-space: nowrap; }
