/* ==========================================================
   Sanaga Bâtir — Feuille de style principale
   ========================================================== */

:root {
  --ink: #16181d;
  --ink-2: #23262d;
  --ink-3: #3a3e47;
  --paper: #fbf8f3;
  --sand: #f1ebe0;
  --line: #e3dbcc;
  --muted: #646872;

  --brand: #c2410c;
  --brand-dark: #9a3412;
  --brand-soft: #fbe4d6;
  --accent: #eab308;
  --green: #166534;

  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(22, 24, 29, .35);
  --container: 1200px;

  --ff-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 .5em;
  letter-spacing: .2px;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); text-transform: uppercase; }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: #e9e6e0; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--accent); }

.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.section-head--row > div { max-width: 640px; }

.lead { font-size: 1.125rem; color: var(--muted); }
.section--dark .lead { color: #b9b5ad; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-2px); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  color: var(--brand);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Barre supérieure ---------- */
.topbar { background: var(--ink); color: #cfcac2; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; }
.topbar-info { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.topbar-info > * { display: inline-flex; align-items: center; gap: .45rem; }
.topbar svg { width: 14px; height: 14px; color: var(--accent); }
.topbar a:hover { color: #fff; }

/* ---------- En-tête & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 243, .94);
  backdrop-filter: blur(10px);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 8px 24px -14px rgba(0, 0, 0, .3); }

.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }

.brand { display: flex; align-items: center; gap: .7rem; }
.brand svg { width: 44px; height: 44px; flex: none; }
.brand-name {
  display: block;
  font-family: var(--ff-head);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.brand-name span { color: var(--brand); }
.brand-tag {
  display: block;
  margin-top: 3px;
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links { display: flex; align-items: center; gap: 2rem; margin: 0; padding: 0; list-style: none; }
.nav-links a:not(.btn) { position: relative; padding: .4rem 0; font-size: .95rem; font-weight: 500; }
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.nav-links a:not(.btn):hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--brand); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero accueil ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: calc(100vh - 110px);
  color: #fff;
  background: #111 url("../assets/img/photos/echafaudage.jpg") 70% center / cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(14, 15, 19, .95) 0%, rgba(14, 15, 19, .8) 45%, rgba(14, 15, 19, .3) 100%);
}
.hero-content { max-width: 680px; padding: 5rem 0 7rem; }
.hero h1 span { color: var(--accent); }
.hero p { max-width: 560px; font-size: 1.2rem; color: #d6d2ca; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 2rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
  font-size: .9rem;
  color: #bdb8af;
}
.hero-badges li { display: flex; align-items: center; gap: .5rem; }
.hero-badges li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316181d' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* ---------- Hero pages internes ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(3.5rem, 7vw, 5rem);
  color: #fff;
  background: var(--ink) url("../assets/img/photos/ville-aerienne.jpg") center / cover no-repeat;
}
.page-hero--apropos { background-image: url("../assets/img/photos/equipe.jpg"); background-position: center 30%; }
.page-hero--services { background-image: url("../assets/img/photos/route-travaux.jpg"); }
.page-hero--realisations { background-image: url("../assets/img/photos/pont.jpg"); }
.page-hero--contact { background-image: url("../assets/img/photos/ville-aerienne.jpg"); background-position: center 40%; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(14, 15, 19, .93), rgba(14, 15, 19, .6));
}
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.page-hero p { max-width: 620px; font-size: 1.1rem; color: #d6d2ca; }
.breadcrumb { display: flex; gap: .5rem; margin-bottom: 1.25rem; font-size: .85rem; color: #bdb8af; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Chiffres clés ---------- */
.stats { position: relative; z-index: 2; margin-top: -4.5rem; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #2f333b;
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.stat { padding: 2rem; background: var(--ink); color: #b9b5ad; }
.stat strong {
  display: block;
  margin-bottom: .35rem;
  font-family: var(--ff-head);
  font-size: 3.2rem;
  line-height: 1;
  color: #fff;
}
.stat em { margin-left: .15em; font-size: .55em; font-style: normal; color: var(--accent); }

/* ---------- Mise en page deux colonnes ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-badge {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  background: var(--accent);
  color: var(--ink);
  line-height: 1.1;
}
.media-badge strong { display: block; font-family: var(--ff-head); font-size: 2.4rem; }
.media-badge span { font-size: .85rem; font-weight: 600; }

.checklist { display: grid; gap: .75rem; margin: 1.5rem 0 2rem; padding: 0; list-style: none; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; }
.checklist li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2410c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checklist--compact { margin: 1.25rem 0 0; gap: .5rem; font-size: .95rem; }

/* ---------- Grilles ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cartes services ---------- */
.card {
  position: relative;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s, box-shadow .35s, border-color .35s;
  scroll-margin-top: 110px;
}
.card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card p { color: var(--muted); }
.card-media { margin: -2rem -2rem 0; aspect-ratio: 16 / 9; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-media + .icon {
  position: relative;
  margin-top: -28px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 0 0 5px #fff;
}
.split-media img.pos-low { object-position: center 70%; }
.card h3 { margin-bottom: .6rem; }

.icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}
.icon svg { width: 28px; height: 28px; }

/* ---------- Atouts (fond sombre) ---------- */
.feature {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  transition: background .3s, border-color .3s;
}
.feature:hover { background: rgba(255, 255, 255, .04); border-color: rgba(234, 179, 8, .5); }
.feature .num { display: block; margin-bottom: 1rem; font-family: var(--ff-head); font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--accent); }
.feature p { margin: 0; color: #b9b5ad; }

/* ---------- Projets ---------- */
.project-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.project-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s; }
.project-card:hover img { transform: scale(1.06); }
.project-info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 3rem 1.5rem 1.4rem;
  background: linear-gradient(0deg, rgba(14, 15, 19, .95) 0%, rgba(14, 15, 19, .75) 55%, rgba(14, 15, 19, 0) 100%);
}
.project-info h3 { margin: 0 0 .25rem; font-size: 1.45rem; }
.project-meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .85rem; color: #d0cbc2; }
.tag {
  display: inline-block;
  margin-bottom: .6rem;
  padding: .25rem .6rem;
  border-radius: 4px;
  background: var(--accent);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2.5rem; }
.filter-btn {
  padding: .6rem 1.2rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.filter-btn:hover, .filter-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Témoignages ---------- */
.testimonial {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.testimonial svg { width: 36px; height: 36px; margin-bottom: 1rem; color: var(--brand); }
.testimonial blockquote { flex: 1; margin: 0; font-size: 1.02rem; }
.author { display: flex; align-items: center; gap: .9rem; margin-top: 1.5rem; }
.author strong { display: block; line-height: 1.2; }
.author span { font-size: .85rem; color: var(--muted); }
.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
  font-family: var(--ff-head);
  font-size: 1.15rem;
  font-weight: 700;
}

/* ---------- Bandeau d'appel à l'action ---------- */
.cta {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  color: #fff;
  background:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .05) 0 22px, transparent 22px 44px),
    var(--brand);
}
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.cta h2 { margin-bottom: .3rem; }
.cta p { margin: 0; font-size: 1.1rem; color: #fde6d8; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- À propos ---------- */
.timeline { position: relative; display: grid; gap: 2rem; padding-left: 2rem; border-left: 2px solid var(--line); }
.tl-item { position: relative; }
.tl-item::before {
  content: "";
  position: absolute;
  left: calc(-2rem - 8px);
  top: .45rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.tl-year { font-family: var(--ff-head); font-size: 1.6rem; font-weight: 700; line-height: 1.2; color: var(--brand); }
.tl-item h3 { margin: .1rem 0 .3rem; font-size: 1.25rem; font-family: var(--ff-body); font-weight: 600; }
.tl-item p { margin: 0; color: var(--muted); }

.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: center; }
.team-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--ink), var(--ink-3));
  color: var(--accent);
  font-family: var(--ff-head);
  font-size: 3.5rem;
  font-weight: 700;
}
.team-body { padding: 1.25rem; }
.team-body h3 { margin-bottom: .2rem; font-size: 1.3rem; }
.team-body p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- Services ---------- */
.step { position: relative; }
.step-num {
  display: block;
  margin-bottom: .75rem;
  font-family: var(--ff-head);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
}
.step p { color: #b9b5ad; margin: 0; }

.resource { padding: 1.75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.resource strong { display: block; font-family: var(--ff-head); font-size: 2.8rem; line-height: 1; color: var(--brand); }
.resource span { display: block; margin-top: .4rem; font-weight: 600; }
.resource p { margin: .3rem 0 0; font-size: .9rem; color: var(--muted); }

.faq { max-width: 820px; margin-inline: auto; }
.faq details { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.08rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--brand); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .8rem 0 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.info-list { display: grid; gap: 1rem; margin-top: 2rem; }
.info-item { display: flex; gap: 1rem; padding: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.info-item .icon { width: 48px; height: 48px; margin: 0; flex: none; }
.info-item .icon svg { width: 22px; height: 22px; }
.info-item h3 { margin: 0 0 .2rem; font-size: 1.2rem; }
.info-item p { margin: 0; color: var(--muted); font-size: .95rem; }
.info-item a:hover { color: var(--brand); }

.form { padding: clamp(1.5rem, 4vw, 2.5rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-size: .88rem; font-weight: 600; }
.field label .req { color: var(--brand); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font: inherit;
  color: inherit;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.field.error input, .field.error select, .field.error textarea { border-color: #dc2626; }
.error-msg { display: none; font-size: .8rem; color: #dc2626; }
.field.error .error-msg { display: block; }

.field--check { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .3rem .7rem; }
.field--check input { width: 18px; height: 18px; margin-top: 3px; padding: 0; accent-color: var(--brand); }
.field--check label { font-weight: 400; color: var(--muted); }
.field--check .error-msg { grid-column: 1 / -1; }

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  background: #dcfce7;
  color: #14532d;
  font-weight: 500;
}
.form-success.show { display: block; }

.map { margin-top: clamp(3rem, 6vw, 4.5rem); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map iframe { display: block; width: 100%; height: 400px; border: 0; }

/* ---------- Pied de page ---------- */
.hazard { height: 10px; background: repeating-linear-gradient(-45deg, var(--accent) 0 16px, var(--ink) 16px 32px); }
.site-footer { background: var(--ink); color: #b9b5ad; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; padding: 4.5rem 0 3rem; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-tag { color: #8f8b84; }
.footer-about { margin: 1.25rem 0; }
.site-footer h4 { margin-bottom: 1.2rem; font-size: 1.2rem; letter-spacing: .05em; text-transform: uppercase; color: #fff; }
.site-footer ul { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.site-footer a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: .6rem; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--accent); }
.socials { display: flex; gap: .6rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
  transition: background .25s, color .25s;
}
.socials a:hover { background: var(--brand); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .82rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom .credit a { font-weight: 600; color: var(--accent); }
.footer-bottom .credit a:hover { color: #fff; }

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, .45);
  transition: transform .25s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ---------- Animations d'apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 1.25rem 1.5rem;
    background: var(--paper);
    border-top: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3);
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { justify-content: center; width: 100%; margin-top: 1rem; }
}

@media (max-width: 860px) {
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .topbar-info:last-child { display: none; }
}

@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .topbar { display: none; }
  .stat { padding: 1.25rem; }
  .stat strong { font-size: 2.4rem; }
  .hero-content { padding: 4rem 0 6.5rem; }
  .brand-name { font-size: 1.4rem; }
}
