/* =============================================================================
   FULL COUVERTURE — Feuille de style sur-mesure
   Identité dérivée du logo : ardoise (slate) + tuile terre cuite (terracotta),
   serif chaleureux Fraunces + sans-serif humaniste Mulish.
   ========================================================================== */

/* ---- Polices auto-hébergées (variables, sous-ensemble latin) -------------- */
@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/fraunces-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Mulish';
  src: url('/assets/fonts/mulish-latin.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

/* ---- Jetons de design ----------------------------------------------------- */
:root {
  /* Couleurs (tirées du logo) */
  --slate-900: #1e2b34;
  --slate-800: #243744;
  --slate-700: #283a47;
  --slate-600: #3a4750;
  --slate-400: #6c7a83;
  --terra-700: #a64a2c;
  --terra-600: #bd5a38;
  --terra-400: #d08a6b;
  --parchment: #f5f1ea;
  --surface:   #fbf9f5;
  --paper:     #ffffff;
  --ink:       #222a30;
  --muted:     #5a646b;
  --line:      #e3ddd1;
  --line-dark: rgba(255, 255, 255, .12);

  /* Typo */
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans:  'Mulish', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Échelle fluide */
  --step--1: clamp(.83rem, .8rem + .15vw, .9rem);
  --step-0:  clamp(1rem, .96rem + .2vw, 1.075rem);
  --step-1:  clamp(1.2rem, 1.12rem + .4vw, 1.4rem);
  --step-2:  clamp(1.45rem, 1.3rem + .75vw, 1.85rem);
  --step-3:  clamp(1.8rem, 1.55rem + 1.25vw, 2.6rem);
  --step-4:  clamp(2.2rem, 1.8rem + 2vw, 3.6rem);

  /* Structure */
  --container: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 40px -22px rgba(30, 43, 52, .45);
  --shadow-sm: 0 8px 22px -16px rgba(30, 43, 52, .5);
  --ring: 0 0 0 3px rgba(189, 90, 56, .35);
}

/* ---- Reset léger ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--parchment);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  color: var(--slate-800);
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); font-weight: 600; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p  { text-wrap: pretty; }

/* ---- Accessibilité -------------------------------------------------------- */
:focus-visible { outline: 3px solid var(--terra-600); outline-offset: 2px; border-radius: 3px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--slate-800); color: #fff; padding: .6rem 1rem;
  border-radius: 0 0 8px 8px; transition: top .2s;
}
.skip-link:focus { top: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- Utilitaires de mise en page ----------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 760px; }
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--tight { padding-block: clamp(2.2rem, 4vw, 3.5rem); }
.section--slate { background: var(--slate-800); color: #e9ecef; }
.section--surface { background: var(--surface); }
.center { text-align: center; }
.lead { font-size: var(--step-1); color: var(--muted); line-height: 1.55; }
.section--slate .lead { color: #b7c1c8; }

/* Filet/eyebrow décoratif (rappel de la baseline du logo) */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: var(--step--1); font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--terra-700); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--terra-600); }
.section--slate .eyebrow { color: #e6a98c; }

.section-head { max-width: 640px; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.section-head.center { margin-inline: auto; }

/* ---- Boutons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: var(--step-0); line-height: 1; text-align: center;
  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease, color .2s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--terra-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: #8f3d23; }
.btn--ghost { background: transparent; color: var(--slate-800); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--slate-700); }
.btn--light { background: #fff; color: var(--slate-800); }
.btn--on-slate { background: var(--terra-700); color: #fff; }
.btn--on-slate:hover { background: #8f3d23; }
.btn--block { display: flex; width: 100%; }
.btn svg { width: 1.05em; height: 1.05em; }

/* ---- Motif d'écailles (tuiles) -------------------------------------------- */
.scales {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='30' viewBox='0 0 44 30'%3E%3Cpath d='M0 30c0-11 9.85-20 22-20S44 19 44 30' fill='none' stroke='%23283a47' stroke-opacity='.06' stroke-width='2'/%3E%3Cpath d='M-22 30c0-11 9.85-20 22-20s22 9 22 20M22 30c0-11 9.85-20 22-20s22 9 22 20' fill='none' stroke='%23283a47' stroke-opacity='.06' stroke-width='2'/%3E%3C/svg%3E");
}

/* =============================================================================
   EN-TÊTE / NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 241, 234, .9);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; font-family: var(--font-serif); }
.brand img { height: 46px; width: auto; }
.brand-name { font-weight: 600; font-size: 1.25rem; color: var(--slate-800); line-height: 1; }
.brand-tag { display: block; font-family: var(--font-sans); font-size: .62rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--terra-700); font-weight: 700; margin-top: .25rem; }

.primary-nav { margin-left: auto; }
.primary-nav > ul { display: flex; align-items: center; gap: .35rem; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .8rem;
  border-radius: 8px; font-weight: 600; font-size: .98rem; color: var(--slate-700);
  transition: background-color .15s, color .15s;
}
.nav-link:hover { background: rgba(40, 58, 71, .07); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--terra-700); }

/* Sous-menu prestations */
.has-sub { position: relative; }
.has-sub > .nav-link svg { width: .7em; height: .7em; transition: transform .2s; }
.subnav {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 290px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: .5rem; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.has-sub:hover > .nav-link svg { transform: rotate(180deg); }
.subnav a { display: flex; gap: .7rem; padding: .6rem .7rem; border-radius: 9px; align-items: flex-start; }
.subnav a:hover { background: var(--surface); }
.subnav .ico { color: var(--terra-600); flex: none; margin-top: .1rem; }
.subnav b { display: block; font-size: .95rem; color: var(--slate-800); }
.subnav span { font-size: .8rem; color: var(--muted); line-height: 1.4; }

.header-cta { display: flex; align-items: center; gap: .9rem; }
.phone-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--slate-800); white-space: nowrap; }
.phone-link svg { width: 1.05em; height: 1.05em; color: var(--terra-600); }

/* Burger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; margin-left: auto; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--slate-800); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =============================================================================
   HÉRO
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--parchment); }
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .9; z-index: 0;
  background:
    radial-gradient(1200px 480px at 88% -8%, rgba(189, 90, 56, .10), transparent 60%),
    radial-gradient(900px 420px at -5% 110%, rgba(40, 58, 71, .08), transparent 55%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center; padding-block: clamp(3rem, 6vw, 5rem);
}
.hero h1 { margin-bottom: 1.1rem; }
.hero h1 .accent { color: var(--terra-600); }
.hero-lead { font-size: var(--step-1); color: var(--muted); margin-bottom: 1.8rem; max-width: 33ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.hero-points { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.9rem; }
.hero-points li { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .92rem; color: var(--slate-700); }
.hero-points svg { width: 1.15rem; height: 1.15rem; color: var(--terra-600); flex: none; }

/* Visuel héro : carte ardoise encadrée + écusson */
.hero-visual { position: relative; }
.hero-figure {
  position: relative; border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  aspect-ratio: 4 / 5; background: var(--slate-700);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -18px; bottom: 26px; z-index: 2;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow);
  padding: .9rem 1.1rem; display: flex; align-items: center; gap: .75rem;
  border: 1px solid var(--line);
}
.hero-badge svg { width: 2.1rem; height: 2.1rem; color: var(--terra-600); flex: none; }
.hero-badge b { display: block; font-family: var(--font-serif); font-size: 1.05rem; color: var(--slate-800); line-height: 1.1; }
.hero-badge span { font-size: .78rem; color: var(--muted); }

/* =============================================================================
   BANDEAU CONFIANCE
   ========================================================================== */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.trust-item { display: flex; flex-direction: column; gap: .55rem; }
.trust-item .ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(189, 90, 56, .14); color: var(--terra-400);
}
.trust-item .ico svg { width: 24px; height: 24px; }
.trust-item h3 { color: #fff; font-size: 1.1rem; }
.trust-item p { color: #b7c1c8; font-size: .92rem; }

/* =============================================================================
   GRILLE DE SERVICES
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.service-card {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  display: flex; flex-direction: column;
}
.service-thumb { aspect-ratio: 16 / 11; overflow: hidden; background: var(--slate-700); }
.service-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-thumb img { transform: scale(1.06); }
.service-body { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.service-figure { margin: 0 0 1.6rem; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--line); }
.service-figure img { width: 100%; height: 100%; object-fit: cover; }
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--terra-600), var(--terra-400));
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card .ico {
  width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center;
  background: var(--surface); color: var(--terra-600); margin-bottom: 1.1rem;
  border: 1px solid var(--line);
}
.service-card .ico svg { width: 28px; height: 28px; }
.service-card h3 { margin-bottom: .5rem; }
.service-card p { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.service-card .more {
  margin-top: auto; font-weight: 700; color: var(--terra-700); font-size: .92rem;
  display: inline-flex; align-items: center; gap: .4rem;
}
.service-card .more svg { width: 1em; height: 1em; transition: transform .2s; }
.service-card:hover .more svg { transform: translateX(4px); }
.stretched-link::after { content: ""; position: absolute; inset: 0; }

/* =============================================================================
   PROCESSUS (étapes)
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding-top: .5rem; }
.step .num {
  font-family: var(--font-serif); font-size: 2.6rem; font-weight: 600;
  color: var(--terra-700); line-height: 1; display: block; margin-bottom: .6rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .92rem; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 1.4rem; right: -.9rem; width: 1.8rem; height: 2px;
  background: var(--line);
}

/* =============================================================================
   SECTION ZONE
   ========================================================================== */
.zone-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.dept-list { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.dept-chip {
  display: inline-flex; align-items: baseline; gap: .4rem; padding: .5rem .9rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  font-size: .92rem; font-weight: 600; color: var(--slate-700);
}
.dept-chip b { font-family: var(--font-serif); color: var(--terra-700); }
.zone-map { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem, 3vw, 1.8rem); box-shadow: var(--shadow-sm); }
.zone-map img { width: 100%; height: auto; }
.commune-list { columns: 2; column-gap: 2rem; margin-top: 1rem; }
.commune-list li { break-inside: avoid; padding: .3rem 0; color: var(--muted); display: flex; gap: .5rem; }
.commune-list li::before { content: "›"; color: var(--terra-600); font-weight: 700; }

/* =============================================================================
   RÉALISATIONS
   ========================================================================== */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.work-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.work-media { aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.work-card:hover .work-media img { transform: scale(1.04); }
.work-tag {
  position: absolute; top: .8rem; left: .8rem; background: rgba(40, 58, 71, .92); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 999px;
}
.work-body { padding: 1.1rem 1.2rem 1.3rem; }
.work-body h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.work-place { font-size: .82rem; color: var(--terra-700); font-weight: 700; letter-spacing: .03em; }
.work-body p { color: var(--muted); font-size: .9rem; margin-top: .55rem; }

/* =============================================================================
   FAQ (accordéon natif <details>)
   ========================================================================== */
.faq { max-width: 800px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); margin-bottom: .8rem; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; font-family: var(--font-serif);
  font-weight: 600; font-size: 1.1rem; color: var(--slate-800);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--font-sans); font-size: 1.5rem; color: var(--terra-600);
  transition: transform .2s; flex: none; line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* =============================================================================
   BANDEAU CTA
   ========================================================================== */
.cta-band { position: relative; background: var(--slate-800); color: #fff; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(189,90,56,.35), transparent 70%);
}
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: #b7c1c8; margin-top: .5rem; }
.cta-actions { display: flex; gap: .9rem; flex-wrap: wrap; }

/* =============================================================================
   PAGES INTÉRIEURES
   ========================================================================== */
.page-hero { background: var(--slate-800); color: #fff; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; opacity: .5;
  background: radial-gradient(800px 300px at 90% -20%, rgba(189,90,56,.25), transparent 60%); }
.page-hero .container { position: relative; z-index: 1; padding-block: clamp(2.4rem, 5vw, 4rem); }
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero p { color: #c3ccd2; max-width: 60ch; margin-top: 1rem; font-size: var(--step-1); }
.page-hero .eyebrow { color: #e6a98c; }

.breadcrumb { font-size: .85rem; color: #aeb8bf; margin-bottom: 1.2rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.breadcrumb a { color: #c3ccd2; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: .4rem; color: #6c7a83; }
.breadcrumb [aria-current="page"] { color: #fff; }

/* Mise en page article (prestation, légal) */
.prose { max-width: 760px; }
.prose h2 { font-size: var(--step-2); margin-top: 2.4rem; margin-bottom: .9rem; }
.prose h3 { margin-top: 1.6rem; margin-bottom: .5rem; }
.prose p { margin-bottom: 1rem; color: #3c454c; }
.prose ul.ticks { margin: 1rem 0 1.4rem; display: grid; gap: .6rem; }
.prose ul.ticks li { display: flex; gap: .7rem; align-items: flex-start; color: #3c454c; }
.prose ul.ticks li svg { width: 1.3rem; height: 1.3rem; color: var(--terra-600); flex: none; margin-top: .15rem; }
.prose dl dt { font-weight: 700; color: var(--slate-800); margin-top: 1rem; }
.prose dl dd { color: var(--muted); }

.layout-split { display: grid; grid-template-columns: 1fr 320px; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.aside-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; position: sticky; top: 96px; box-shadow: var(--shadow-sm);
}
.aside-card h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.aside-card p { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }
.aside-related { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.aside-related h4 { font-family: var(--font-serif); font-size: 1rem; color: var(--slate-800); margin-bottom: .7rem; }
.aside-related a { display: flex; align-items: center; gap: .5rem; padding: .45rem 0; color: var(--slate-700); font-weight: 600; font-size: .92rem; }
.aside-related a svg { width: 1rem; height: 1rem; color: var(--terra-600); }
.aside-related a:hover { color: var(--terra-700); }

/* =============================================================================
   FORMULAIRE
   ========================================================================== */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--slate-800); margin-bottom: .4rem; }
.field .req { color: var(--terra-600); }
.field input, .field textarea {
  width: 100%; padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: var(--surface); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--terra-600); box-shadow: var(--ring); background: #fff; }
.field textarea { resize: vertical; min-height: 140px; }
.field.has-error input, .field.has-error textarea { border-color: #c0392b; }
.field .err { color: #c0392b; font-size: .82rem; margin-top: .35rem; font-weight: 600; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.consent input { width: auto; margin-top: .25rem; flex: none; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: .9rem 1.1rem; border-radius: 10px; margin-bottom: 1.4rem; font-weight: 600; display: flex; gap: .6rem; align-items: flex-start; }
.alert svg { width: 1.25rem; height: 1.25rem; flex: none; margin-top: .1rem; }
.alert--success { background: #e7f4ec; color: #1e6a3b; border: 1px solid #b6dfc4; }
.alert--error { background: #fbecea; color: #a5331f; border: 1px solid #f0c4bc; }

/* Voie de secours affichée quand le serveur d'e-mail est en panne */
.alert-incident { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--terra-600); border-radius: 10px; padding: 1.1rem 1.2rem; margin-bottom: 1.4rem; }
.alert-incident p { margin: 0 0 .6rem; color: var(--muted); }
.alert-incident b { color: var(--slate-800); }
.alert-incident__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: .9rem 0 .4rem; }
.alert-incident__note { font-size: .85rem; }
.aside-note { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }

.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 3rem); align-items: start; }
.contact-info { display: grid; gap: 1.1rem; }
.info-row { display: flex; gap: .9rem; align-items: flex-start; }
.info-row .ico { width: 42px; height: 42px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--terra-600); flex: none; }
.info-row .ico svg { width: 20px; height: 20px; }
.info-row b { display: block; color: var(--slate-800); font-family: var(--font-serif); }
.info-row a, .info-row span { color: var(--muted); }
.info-row a:hover { color: var(--terra-700); }

/* =============================================================================
   PIED DE PAGE
   ========================================================================== */
.site-footer { background: var(--slate-900); color: #aeb8bf; position: relative; }
.footer-top { border-top: 4px solid var(--terra-600); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding-block: clamp(2.8rem, 5vw, 4rem); }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-brand img { height: 40px; width: auto; background: var(--parchment); padding: 6px 9px; border-radius: 10px; }
.footer-brand b { font-family: var(--font-serif); font-size: 1.2rem; color: #fff; }
.site-footer h2 { font-family: var(--font-serif); color: #fff; font-size: 1.05rem; margin-bottom: 1rem; font-weight: 600; letter-spacing: 0; }
.footer-col a { display: block; padding: .3rem 0; color: #aeb8bf; font-size: .92rem; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .6rem; padding: .35rem 0; font-size: .92rem; }
.footer-contact svg { width: 1.05rem; height: 1.05rem; color: var(--terra-400); flex: none; margin-top: .2rem; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 1.3rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; }
.footer-bottom a:hover { color: #fff; }

/* 404 */
.notfound { text-align: center; padding-block: clamp(4rem, 10vw, 7rem); }
.notfound .code { font-family: var(--font-serif); font-size: clamp(5rem, 18vw, 10rem); color: var(--terra-400); line-height: .9; }

/* =============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
  .services-grid, .work-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .step:not(:last-child)::after { display: none; }
  .zone-split, .contact-grid { grid-template-columns: 1fr; }
  .layout-split { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed; inset: 76px 0 0 0; background: var(--parchment);
    transform: translateX(100%); transition: transform .28s ease; overflow-y: auto;
    margin: 0; padding: 1.2rem var(--gutter) 3rem; z-index: 99;
  }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav-link { padding: .9rem .6rem; font-size: 1.1rem; border-radius: 10px; }
  .subnav {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-left: 2px solid var(--line); border-radius: 0; margin: .2rem 0 .4rem .8rem;
    padding: 0 0 0 .4rem; min-width: 0;
  }
  .has-sub > .nav-link svg { display: none; }
  .header-cta .phone-link span { display: none; }
  .hero-points { gap: .8rem 1.2rem; }
}

@media (max-width: 560px) {
  .services-grid, .work-grid, .trust-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .hero-badge { left: 0; }
}
