/* =================================================================
   VRDTP SARL — Design System
   Charte graphique : Voirie, Réseaux Divers & Travaux Publics
   ================================================================= */

:root {
  /* --- Palette charte --- */
  --green: #2D5C3F;        /* Primaire — Vert forêt */
  --green-deep: #234a32;   /* variante foncée pour profondeur */
  --green-700: #1d3d29;
  --brown: #A67C52;        /* Secondaire — Brun terre */
  --brown-soft: #c4a17e;
  --orange: #FF6835;       /* Accent — Orange chantier */
  --orange-deep: #e8531f;

  --light: #F5F5F5;        /* Neutre clair / backgrounds */
  --dark: #333333;         /* Texte principal */
  --grey: #808080;         /* Texte secondaire */
  --white: #ffffff;

  --success: #27AE60;
  --error: #E74C3C;
  --info: #3498DB;

  /* --- Type --- */
  --serif: 'Playfair Display', Georgia, serif;
  --display: 'Poppins', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  /* --- Système --- */
  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 3px rgba(35,35,35,.08), 0 1px 2px rgba(35,35,35,.06);
  --shadow-md: 0 10px 30px -12px rgba(35,35,35,.22);
  --shadow-lg: 0 24px 60px -20px rgba(35,35,35,.30);
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(64px, 9vw, 120px);

  --accent: var(--orange);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

/* --- Typographic scale --- */
h1, h2 { font-family: var(--serif); font-weight: 800; line-height: 1.08; letter-spacing: -.01em; }
h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.2; }
.eyebrow {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brown);
  font-weight: 500;
}
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  color: var(--green);
  margin: 14px 0 0;
  text-wrap: balance;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 18px; color: var(--grey); font-size: 1.08rem; }

.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
section { padding-block: var(--section-y); position: relative; }

/* =================================================================
   Boutons
   ================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: .92rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 15px 28px; border-radius: var(--radius);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap; cursor: pointer; border: 2px solid transparent;
}
.btn:focus-visible { outline: 3px solid var(--info); outline-offset: 3px; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--orange-deep); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(255,104,53,.6); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: #fff; color: var(--green); border-color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn-ghost:hover { background: var(--green); color: #fff; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* =================================================================
   Motif nid d'abeille (hexagones)
   ================================================================= */
.hex-field {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='56' height='96' viewBox='0 0 56 96' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%232D5C3F' stroke-width='1.4'%3E%3Cpath d='M28 1 L54 16 L54 46 L28 61 L2 46 L2 16 Z'/%3E%3Cpath d='M28 49 L54 64 L54 94 L28 109 L2 94 L2 64 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 56px 96px;
  opacity: .07;
}
.hex-field.brown {
  background-image: url("data:image/svg+xml,%3Csvg width='56' height='96' viewBox='0 0 56 96' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.4'%3E%3Cpath d='M28 1 L54 16 L54 46 L28 61 L2 46 L2 16 Z'/%3E%3Cpath d='M28 49 L54 64 L54 94 L28 109 L2 94 L2 64 Z'/%3E%3C/g%3E%3C/svg%3E");
  opacity: .08;
}

/* Bande décorative diagonale vert / brun / orange */
.deco-band {
  height: 10px; width: 100%;
  background: repeating-linear-gradient(115deg,
    var(--green) 0 44px,
    var(--brown) 44px 88px,
    var(--accent) 88px 132px);
}

/* =================================================================
   Header / Navigation
   ================================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 18px 0;
}
.site-header .container { display: flex; align-items: center; gap: 24px; }
.site-header.scrolled { background: #fff; box-shadow: 0 2px 16px rgba(35,35,35,.10); padding: 12px 0; }

.logo {
  font-family: var(--serif); font-weight: 900; font-size: 1.7rem;
  letter-spacing: .01em; color: var(--green); line-height: 1; white-space: nowrap;
}
.logo .r { color: var(--brown); }
.logo .sarl { color: var(--green); font-weight: 700; }
/* on dark / hero backgrounds, before scroll */
.site-header:not(.scrolled) .logo,
.site-header:not(.scrolled) .nav a { color: #fff; }
.site-header:not(.scrolled) .logo .r { color: var(--brown-soft); }

.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a {
  font-family: var(--display); font-weight: 500; font-size: .95rem;
  color: var(--dark); position: relative; padding: 6px 0; transition: color .2s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--accent); transition: width .25s ease;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a:hover { color: var(--green); }
.site-header:not(.scrolled) .nav a:hover { color: #fff; }

.header-cta { margin-left: 8px; }
.site-header:not(.scrolled) .header-cta.btn-primary { background: var(--accent); }

.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 24px; height: 2px; background: currentColor; position: relative; transition: .25s;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.site-header:not(.scrolled) .nav-toggle { color: #fff; }
.site-header.scrolled .nav-toggle { color: var(--dark); }

/* =================================================================
   HERO
   ================================================================= */
.hero { min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; }
.hero .container { position: relative; z-index: 3; width: 100%; padding-top: 120px; padding-bottom: 64px; }

/* image placeholder (zone de dépôt) */
.img-ph {
  position: relative; overflow: hidden; background: #d9d6cf;
  background-image:
    repeating-linear-gradient(135deg, rgba(45,92,63,.10) 0 14px, rgba(45,92,63,.04) 14px 28px);
  display: flex; align-items: center; justify-content: center;
}
.img-ph::after {
  content: attr(data-label);
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(35,35,35,.55); text-align: center; padding: 10px 16px; line-height: 1.5;
  border: 1px dashed rgba(35,35,35,.3); border-radius: 4px; background: rgba(255,255,255,.45);
  max-width: 80%;
}
.hero-media.img-ph { background: #8c8579; }
.hero-media.img-ph::after { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.5); background: rgba(0,0,0,.18); }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  padding: 8px 16px; border-radius: 100px; backdrop-filter: blur(4px); margin-bottom: 26px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  font-size: clamp(2.6rem, 6.6vw, 5.2rem); max-width: 16ch; text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0,0,0,.25);
}
.hero .sub {
  font-family: var(--body); font-weight: 300; font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  max-width: 56ch; margin-top: 24px; color: rgba(255,255,255,.92); line-height: 1.55;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }

.trust-bar {
  display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 56px); margin-top: 56px;
  padding-top: 30px; border-top: 1px solid rgba(255,255,255,.2);
}
.trust-bar .item { display: flex; flex-direction: column; gap: 2px; }
.trust-bar .num { font-family: var(--mono); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff; }
.trust-bar .num .u { color: var(--accent); }
.trust-bar .lbl { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }

.hero-hex { position: absolute; z-index: 2; top: -60px; right: -60px; width: 420px; height: 420px; opacity: .5; }

/* Variant B : split */
.hero[data-variant="split"] .hero-media { left: 50%; }
.hero[data-variant="split"] .hero-overlay { right: 50%; }
.hero[data-variant="split"] { background: var(--green); }
.hero[data-variant="split"] .container { max-width: var(--maxw); }
.hero[data-variant="split"] .hero-inner { max-width: 620px; }

/* Variant C : bandes */
.hero[data-variant="bands"] .hero-overlay { background: linear-gradient(180deg, rgba(35,74,50,.55) 0%, rgba(35,74,50,.78) 100%) !important; }
.hero[data-variant="bands"] .hero-stripes {
  position: absolute; z-index: 2; left: 0; bottom: 0; width: 100%; height: 14px;
  background: repeating-linear-gradient(115deg, var(--green) 0 60px, var(--brown) 60px 120px, var(--accent) 120px 180px);
}
.hero-stripes { display: none; }
.hero[data-variant="bands"] .hero-stripes { display: block; }
.hero[data-variant="bands"] h1 { font-size: clamp(3rem, 8vw, 6rem); }

/* =================================================================
   Nos Métiers
   ================================================================= */
.metiers-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.metier-card {
  background: #fff; border: 1px solid #ececec; border-radius: var(--radius-lg);
  padding: 38px 32px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
.metier-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--brown); transform: scaleY(0); transform-origin: top; transition: transform .25s ease;
}
.metier-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--brown); }
.metier-card:hover::before { transform: scaleY(1); }
.metier-card .ico { width: 64px; height: 64px; color: var(--green); margin-bottom: 22px; transition: color .25s ease; }
.metier-card .ico .accent-stroke { stroke: var(--brown); transition: stroke .25s ease; }
.metier-card:hover .ico { color: var(--accent); }
.metier-card:hover .ico .accent-stroke { stroke: var(--accent); }
.metier-card h3 { font-size: 1.3rem; color: var(--dark); margin-bottom: 10px; }
.metier-card p { color: var(--grey); font-size: .98rem; }
.metier-card .num-tag { position: absolute; top: 26px; right: 30px; font-family: var(--mono); font-size: .8rem; color: #cfcfcf; font-weight: 500; }

/* =================================================================
   Pourquoi VRDTP
   ================================================================= */
.why { background: var(--light); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 2; }
.stat { padding: 8px 4px; border-top: 3px solid var(--green); }
.stat .big { font-family: var(--mono); font-weight: 700; font-size: clamp(2.4rem, 4.5vw, 3.4rem); color: var(--green); line-height: 1; letter-spacing: -.02em; }
.stat .big .u { color: var(--accent); }
.stat .label { font-family: var(--display); font-weight: 600; font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; color: var(--dark); margin: 14px 0 8px; }
.stat p { color: var(--grey); font-size: .92rem; }

/* =================================================================
   Réalisations
   ================================================================= */
.projets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.projet-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid #ececec; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.projet-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.projet-card .ph { height: 220px; }
.projet-card .body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.badge {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  font-family: var(--display); font-weight: 600; font-size: .75rem; letter-spacing: .05em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px; margin-bottom: 14px;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.livre { background: rgba(39,174,96,.12); color: #1e8c4c; }
.badge.encours { background: rgba(255,104,53,.12); color: var(--orange-deep); }
.projet-card h3 { font-size: 1.22rem; color: var(--dark); margin-bottom: 6px; }
.projet-card .loc { color: var(--grey); font-size: .92rem; display: flex; align-items: center; gap: 6px; margin-bottom: 18px; }
.projet-meta { display: flex; gap: 22px; margin-top: auto; padding-top: 18px; border-top: 1px solid #eee; }
.projet-meta .m .v { font-family: var(--mono); font-weight: 700; font-size: 1.05rem; color: var(--green); }
.projet-meta .m .k { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.projet-link { margin-top: 20px; font-family: var(--display); font-weight: 600; font-size: .9rem; color: var(--green); display: inline-flex; align-items: center; gap: 8px; }
.projet-link .arrow { transition: transform .2s ease; }
.projet-card:hover .projet-link .arrow { transform: translateX(5px); }

/* =================================================================
   Engagement local
   ================================================================= */
.engage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.engage .media { height: 100%; min-height: 460px; border-radius: var(--radius-lg); }
.engage h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--green); margin: 14px 0 22px; }
.engage p { color: var(--dark); opacity: .82; margin-bottom: 16px; }
.labels { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.label-chip {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--brown); color: var(--green); border-radius: var(--radius);
  padding: 12px 18px; font-family: var(--display); font-weight: 600; font-size: .9rem;
}
.label-chip svg { width: 22px; height: 22px; color: var(--brown); }

/* =================================================================
   Témoignages
   ================================================================= */
.temoignages { background: var(--green); color: #fff; overflow: hidden; }
.temoignages .section-head h2 { color: #fff; }
.t-slider { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; }
.t-track { overflow: hidden; }
.t-slides { display: flex; transition: transform .5s cubic-bezier(.5,.1,.2,1); }
.t-slide { min-width: 100%; padding: 8px clamp(0px, 3vw, 40px); text-align: center; }
.t-quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.4; text-wrap: balance; }
.t-quote::before { content: "“"; color: var(--brown-soft); font-size: 1.4em; line-height: 0; vertical-align: -.35em; margin-right: .04em; }
.t-author { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 34px; }
.t-author .avatar { width: 60px; height: 60px; border-radius: 50%; flex: none; }
.t-author .meta { text-align: left; }
.t-author .name { font-family: var(--display); font-weight: 700; color: var(--accent); font-size: 1.02rem; }
.t-author .role { font-size: .9rem; color: rgba(255,255,255,.78); }
.t-nav { display: flex; gap: 12px; justify-content: center; align-items: center; margin-top: 40px; }
.t-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); color: #fff; display: flex; align-items: center; justify-content: center; transition: .2s; }
.t-arrow:hover { background: #fff; color: var(--green); }
.t-dots { display: flex; gap: 9px; }
.t-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.3); transition: .2s; }
.t-dot.active { background: var(--accent); width: 26px; border-radius: 100px; }

/* =================================================================
   Devis (CTA finale + formulaire)
   ================================================================= */
.devis { background: var(--brown); color: #fff; overflow: hidden; }
.devis::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.10), transparent 40%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 7px);
}
.devis .container { position: relative; z-index: 2; }
.devis-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.devis h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); color: #fff; max-width: 14ch; text-wrap: balance; }
.devis .sub { font-size: 1.15rem; color: rgba(255,255,255,.9); margin-top: 20px; max-width: 44ch; }
.devis-contact { margin-top: 34px; display: flex; flex-direction: column; gap: 14px; }
.devis-contact a { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 1rem; color: #fff; }
.devis-contact svg { width: 20px; height: 20px; flex: none; }

/* form card */
.form-card { background: #fff; color: var(--dark); border-radius: var(--radius-lg); padding: clamp(28px, 3.5vw, 44px); box-shadow: var(--shadow-lg); }
.form-card h3 { color: var(--green); font-size: 1.4rem; margin-bottom: 4px; }
.form-card .fc-sub { color: var(--grey); font-size: .92rem; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--display); font-weight: 600; font-size: .85rem; margin-bottom: 7px; color: var(--dark); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--body); font-size: .98rem; color: var(--dark);
  padding: 13px 14px; border: 1.5px solid #d8d8d8; border-radius: var(--radius); background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(45,92,63,.12);
}
.field.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); box-shadow: 0 0 0 3px rgba(231,76,60,.12); }
.field .err { display: none; color: var(--error); font-size: .8rem; margin-top: 6px; font-family: var(--display); font-weight: 500; }
.field.invalid .err { display: block; }
.form-card .btn-accent { width: 100%; margin-top: 8px; }
.form-note { font-size: .78rem; color: var(--grey); text-align: center; margin-top: 14px; }
.form-success {
  display: none; text-align: center; padding: 30px 10px;
}
.form-success.show { display: block; }
.form-success .check { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: rgba(39,174,96,.12); color: var(--success); display: flex; align-items: center; justify-content: center; }
.form-success h3 { color: var(--green); }
.form-success p { color: var(--grey); margin-top: 8px; }
form.submitting .btn-accent { opacity: .7; pointer-events: none; }

/* =================================================================
   Footer
   ================================================================= */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); padding-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 72px; }
.site-footer .logo { color: #fff; margin-bottom: 18px; }
.site-footer .logo .r { color: var(--brown-soft); }
.site-footer .logo .sarl { color: #fff; }
.footer-grid p { font-size: .92rem; line-height: 1.7; }
.footer-grid h4 { font-family: var(--display); font-weight: 600; color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.footer-grid li { margin-bottom: 11px; }
.footer-grid a { font-size: .92rem; transition: color .2s; }
.footer-grid a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--brown-soft); }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: .2s; }
.socials a:hover { background: var(--green); border-color: var(--green); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; font-family: var(--mono); }

/* =================================================================
   Scroll reveal
   ================================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .t-slides { transition: none; }
}

/* =================================================================
   Responsive
   ================================================================= */
@media (max-width: 980px) {
  .metiers-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .projets-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .engage, .devis-grid { grid-template-columns: 1fr; }
  .engage .media { min-height: 320px; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero[data-variant="split"] .hero-media { left: 0; opacity: .35; }
  .hero[data-variant="split"] .hero-overlay { right: 0; }
}
@media (max-width: 720px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; box-shadow: var(--shadow-md); padding: 8px 0; margin: 0;
  }
  .nav.open a { color: var(--dark) !important; padding: 14px var(--gutter); }
  .nav.open a::after { display: none; }
  .metiers-grid { grid-template-columns: 1fr; }
  .field.row2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-bar { gap: 24px; }
  .hero .container { padding-top: 140px; }
}
