/* =====================================================================
   DOCO SERVICES — Système de design partagé
   Léger, responsive, accessible. Une seule feuille pour tout le site.
   ===================================================================== */

:root {
  /* Couleurs */
  --teal:        #16a6a0;
  --teal-dark:   #0e8a85;
  --teal-soft:   #e4f4f3;
  --teal-line:   #bfe6e3;
  --navy:        #0a2e33;
  --navy-2:      #0d3a40;
  --ink:         #131a1e;
  --body:        #5b6970;
  --muted:       #8a969c;
  --bg:          #ffffff;
  --bg-soft:     #f5f8f9;
  --line:        #e6ecee;
  --line-soft:   #eef3f4;

  /* Typo */
  --font-display: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Rythme */
  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 12px rgba(10, 46, 51, .06);
  --shadow-md: 0 12px 40px rgba(10, 46, 51, .10);
  --shadow-teal: 0 10px 24px rgba(22, 166, 160, .28);
  --band-bg:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cpath d='M0 0L64 64M64 0L0 64' stroke='%2316a6a0' stroke-opacity='0.05'/%3E%3Ccircle cx='0' cy='0' r='1.6' fill='%2316a6a0' fill-opacity='0.22'/%3E%3Ccircle cx='64' cy='0' r='1.6' fill='%2316a6a0' fill-opacity='0.22'/%3E%3Ccircle cx='0' cy='64' r='1.6' fill='%2316a6a0' fill-opacity='0.22'/%3E%3Ccircle cx='64' cy='64' r='1.6' fill='%2316a6a0' fill-opacity='0.22'/%3E%3Ccircle cx='32' cy='32' r='1.6' fill='%2316a6a0' fill-opacity='0.22'/%3E%3C/svg%3E"),
    radial-gradient(620px 320px at 92% -12%, rgba(22,166,160,.20), transparent 70%),
    linear-gradient(120deg, var(--navy), var(--navy-2));
}

/* ---- Reset léger ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0;
  font-weight: 700;
  letter-spacing: -.01em;
}

/* ---- Utilitaires ---- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { margin-top: 60px; padding: 0; }
.section--tight { margin-top: 60px; padding: 0; }
.net-bg + section { margin-top: 36px; }
.trust-section { margin-top: 80px; }
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 14px;
}
.lead { font-size: 1.06rem; color: var(--body); max-width: 44ch; }
.text-teal { color: var(--teal); }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---- Boutons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: .92rem;
  padding: 13px 22px; border-radius: 10px; border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-teal); }
.btn--primary:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn--onnavy { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--onnavy:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn:focus-visible { outline: 3px solid var(--teal-line); outline-offset: 2px; }

/* =====================================================================
   EN-TÊTE
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }

/* Logo */
.logo { display: inline-flex; align-items: center; line-height: 1; }
.logo img { height: 52px; width: auto; display: block; }
.footer-about .logo img { height: 56px; }
.logo-row { display: flex; align-items: center; }
.logo-mark {
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: .01em;
  border: 2px solid var(--ink); padding: 4px 9px 5px; border-radius: 4px;
}
.logo-mark .doco { color: var(--ink); }
.logo-mark .serv { color: var(--teal); font-weight: 600; }
.logo-sub {
  font-size: .5rem; letter-spacing: .34em; color: var(--muted);
  text-transform: uppercase; text-align: center; margin-top: 5px; font-weight: 600;
}

/* Navigation */
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: #33424a; padding: 10px 13px; border-radius: 8px; position: relative;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-link:hover { color: var(--teal); }
.nav-link[aria-current="page"] { color: var(--teal); }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px;
  background: var(--teal); border-radius: 2px;
}
.nav-link .caret { width: 11px; height: 11px; transition: transform .2s ease; }

/* Menu déroulant Services */
.has-menu { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 10px; min-width: 265px;
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease .12s, transform .2s ease .12s, visibility 0s linear .32s;
  z-index: 70;
}
/* Pont invisible : comble l'espace entre "Services" et le menu pour garder le survol */
.dropdown::before {
  content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px;
}
.has-menu:hover .dropdown,
.has-menu:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
  transition: opacity .18s ease, transform .18s ease, visibility 0s;
}
.has-menu:hover .caret { transform: rotate(180deg); }
.dropdown a {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 9px;
  font-size: .9rem; font-weight: 500; color: #33424a; text-transform: none; letter-spacing: 0;
}
.dropdown a:hover { background: var(--teal-soft); color: var(--teal-dark); }
.dropdown a svg { width: 18px; height: 18px; color: var(--teal); flex: none; }

.phone-btn {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: .88rem;
  color: var(--teal); border: 1.5px solid var(--teal-line); padding: 10px 17px; border-radius: 999px;
  transition: background .2s, box-shadow .2s;
}
.header-actions { }
.assist-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .85rem; color: #fff; background: var(--teal); padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow-teal); transition: background .2s ease, transform .15s ease; white-space: nowrap; }
.assist-btn:hover { background: var(--teal-dark); transform: translateY(-1px); }
.assist-btn svg { width: 16px; height: 16px; }
.phone-btn:hover { background: var(--teal-soft); box-shadow: var(--shadow-sm); }
.phone-btn svg { width: 15px; height: 15px; }

/* Burger (mobile) */
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

/* =====================================================================
   FOND "RÉSEAU" (héros)
   ===================================================================== */
.net-bg { position: relative; overflow: hidden; }
.net-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(520px 380px at 82% 18%, rgba(22,166,160,.16), transparent 70%),
    radial-gradient(420px 320px at 96% 60%, rgba(22,166,160,.10), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Ccircle cx='1.5' cy='1.5' r='1.5' fill='%2316a6a0' fill-opacity='0.10'/%3E%3C/svg%3E");
}
.net-bg > * { position: relative; z-index: 1; }

/* =====================================================================
   HÉROS ACCUEIL
   ===================================================================== */
.hero { padding: 74px 0 40px; }
.hero-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 34px; align-items: center; }
.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4rem); line-height: 1.02; text-transform: uppercase;
  letter-spacing: -.02em; margin-bottom: 22px;
}
.hero h1 .accent { color: var(--teal); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* Visuel tech (placeholder élégant à remplacer par vos rendus) */
.hero-visual {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius);
  background:
    radial-gradient(60% 60% at 60% 40%, rgba(22,166,160,.20), transparent 70%),
    linear-gradient(160deg, #eef6f6, #dfeeed);
  display: grid; place-items: center; overflow: hidden;
}
.hero-orb {
  width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff, #d7eeec 60%, #b6e0dc);
  box-shadow: 0 0 0 14px rgba(255,255,255,.5), 0 20px 50px rgba(10,46,51,.18);
  position: relative;
}
.hero-orb::after {
  content: ""; position: absolute; inset: 18%; border-radius: 50%;
  border: 2px solid rgba(22,166,160,.5);
}
.ph-note {
  position: absolute; bottom: 12px; left: 12px; right: 12px;
  font-size: .72rem; color: var(--teal-dark); background: rgba(255,255,255,.72);
  border: 1px dashed var(--teal-line); border-radius: 8px; padding: 7px 10px; text-align: center;
}

/* =====================================================================
   CARTES SERVICES (grille d'aperçu)
   ===================================================================== */
.svc-strip {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; margin-top: 8px;
}
.svc-cell { padding: 30px 22px; text-align: center; border-right: 1px solid var(--line-soft); }
.svc-cell:last-child { border-right: 0; }
.icon-badge {
  width: 58px; height: 58px; border-radius: 50%; background: var(--teal-soft);
  display: grid; place-items: center; margin: 0 auto 16px; color: var(--teal);
}
.icon-badge svg { width: 26px; height: 26px; }
.svc-cell h3 { font-size: 1rem; margin-bottom: 8px; }
.svc-cell p { font-size: .86rem; margin: 0 0 14px; }
.svc-more { color: var(--teal); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; display: inline-flex; align-items: center; gap: 6px; }
.svc-more svg { width: 14px; height: 14px; }

/* =====================================================================
   BANDEAU STATISTIQUES (navy)
   ===================================================================== */
.stat-band {
  background: var(--band-bg);
  border-radius: var(--radius); color: #fff; padding: 42px 40px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; position: relative; overflow: hidden;
}
.stat { display: flex; align-items: flex-start; gap: 16px; position: relative; }
.stat-ico { width: 46px; height: 46px; border-radius: 50%; background: rgba(22,166,160,.16); display: grid; place-items: center; color: var(--teal); flex: none; }
.stat-ico svg { width: 22px; height: 22px; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; color: #fff; line-height: 1; }
.stat .lbl { font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: #d5e4e5; margin-top: 4px; }
.stat .sub { font-size: .78rem; color: #90a9ab; }

/* =====================================================================
   SECTION "EXPERTISE" (texte + visuel)
   ===================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 18px; }
.check-list { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: #384249; }
.check-list li svg { width: 20px; height: 20px; color: var(--teal); flex: none; margin-top: 2px; }
.media-card {
  aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; position: relative;
  background: linear-gradient(160deg, #14343a, #0b262b); box-shadow: var(--shadow-md);
  display: grid; place-items: center;
}
.media-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-card .badge-float {
  position: absolute; bottom: 16px; right: 16px; background: #fff; border-radius: 12px;
  padding: 14px 16px; box-shadow: var(--shadow-md); max-width: 62%; display: flex; gap: 12px; align-items: flex-start;
}
.media-card .badge-float svg { width: 26px; height: 26px; color: var(--teal); flex: none; }
.media-card .badge-float strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: .95rem; }
.media-card .badge-float span { font-size: .8rem; color: var(--body); }
.media-card .mc-grid {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Cpath d='M30 0 L0 0 0 30' fill='none' stroke='%2316a6a0' stroke-opacity='0.16'/%3E%3C/svg%3E");
}

/* =====================================================================
   BANDEAU LOGOS PARTENAIRES
   ===================================================================== */
.trust { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 30px 34px; }
.trust h4 { color: var(--muted); text-align: center; text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; margin: 0 0 20px; font-family: var(--font-body); }
.trust-row { display: flex; align-items: center; justify-content: center; gap: 26px 44px; flex-wrap: wrap; }
.trust-row span { color: var(--body); font-weight: 700; font-size: 1.05rem; letter-spacing: .02em; }
.trust-row img { height: 42px; width: auto; opacity: .8; transition: opacity .2s ease; }
.trust-row img:hover { opacity: 1; }

/* =====================================================================
   CARTE "NOS PRESTATIONS" (pages services)
   ===================================================================== */
.prestations { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 40px; }
.prestations > h2 { text-align: center; font-size: 1.5rem; margin-bottom: 34px; }
.prest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prest-item { text-align: center; padding: 0 10px; }
.prest-item h3 { font-size: .98rem; margin-bottom: 8px; }
.prest-item p { font-size: .84rem; margin: 0; }

/* Bandeau avantages (navy) */
.advantages { background: var(--band-bg); border-radius: var(--radius); padding: 34px 40px; color: #fff; }
.advantages h4 { text-align: center; text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; color: #cfe0e1; margin: 0 0 26px; font-family: var(--font-body); }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.adv-item { display: flex; align-items: center; gap: 12px; }
.adv-item svg { width: 22px; height: 22px; color: var(--teal); flex: none; }
.adv-item span { font-size: .9rem; font-weight: 500; color: #e7f0f0; }

/* =====================================================================
   BLOC VALEURS (4 colonnes texte)
   ===================================================================== */
.values { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.value h3 { font-size: 1rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.value .icon-badge { width: 44px; height: 44px; margin: 0 0 14px; }
.value .icon-badge svg { width: 22px; height: 22px; }
.value p { font-size: .86rem; margin: 0; }

/* =====================================================================
   CTA BAS DE PAGE
   ===================================================================== */
.cta-strip {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 34px; display: flex; align-items: center; gap: 24px; justify-content: space-between; flex-wrap: wrap;
}
.cta-strip .cta-txt { display: flex; align-items: center; gap: 18px; }
.cta-strip .cta-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--teal-soft); display: grid; place-items: center; color: var(--teal); flex: none; }
.cta-strip .cta-ico svg { width: 24px; height: 24px; }
.cta-strip strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 1.12rem; }
.cta-strip p { margin: 2px 0 0; font-size: .92rem; }

/* =====================================================================
   PIED DE PAGE
   ===================================================================== */
.site-footer { padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid var(--line); }
.footer-about p { font-size: .9rem; margin: 18px 0; max-width: 30ch; }
.footer-col h5 { font-family: var(--font-display); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); margin: 0 0 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { font-size: .9rem; color: var(--body); }
.footer-col a:hover { color: var(--teal); }
.footer-contact li { display: flex; gap: 10px; font-size: .9rem; margin-bottom: 12px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--teal); flex: none; margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 9px; display: grid; place-items: center; color: var(--body); }
.socials a:hover { border-color: var(--teal); color: var(--teal); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { text-align: center; padding: 22px 0; font-size: .82rem; color: var(--muted); }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--teal); }

/* Pages légales */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.2rem; margin: 34px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p { margin: 0 0 14px; }
.legal a { color: var(--teal); }
.legal strong { color: var(--ink); }

/* =====================================================================
   PAGE CONTACT
   ===================================================================== */
.info-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 24px; }
.info-card .icon-badge { width: 48px; height: 48px; margin: 0 0 16px; }
.info-card h4 { font-family: var(--font-display); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 8px; }
.info-card p { margin: 0; font-size: .92rem; color: var(--ink); font-weight: 500; }
.info-card p.sub { color: var(--body); font-weight: 400; font-size: .84rem; margin-top: 6px; }
.info-card::after { content: ""; display: block; width: 34px; height: 3px; background: var(--teal); border-radius: 3px; margin-top: 16px; }

.contact-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #47535a; }
.field label .req { color: var(--teal); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .92rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: 9px; padding: 12px 14px; background: #fbfdfd;
  transition: border .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.consent { display: flex; flex-direction: row; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--body); }
.consent input { flex: none; width: 16px; height: 16px; margin-top: 2px; accent-color: var(--teal); }
.map-card { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); min-height: 260px; display: grid; place-items: center; text-align: center; padding: 20px; }
.map-card .ph-note { position: static; margin-top: 10px; }

/* =====================================================================
   HÉROS INTERNE (pages secondaires)
   ===================================================================== */
.page-hero { padding: 66px 0 30px; }
.page-hero .breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 22px; }
.page-hero .breadcrumb a:hover { color: var(--teal); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 18px; }
.page-hero h1 .accent { color: var(--teal); }
.hero-service { display: grid; grid-template-columns: 1fr 1.18fr; gap: 40px; align-items: center; }
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }
.portrait { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; background: linear-gradient(160deg,#e9f3f2,#d6e9e7); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.map-embed { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); line-height: 0; position: relative; min-height: 340px; }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 20px; background: var(--bg-soft); line-height: 1.5; }
.map-consent p { margin: 0; font-size: .88rem; color: var(--body); max-width: 34ch; }
.cookie-banner[hidden] { display: none; }
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md); padding: 18px 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cookie-banner p { margin: 0; font-size: .9rem; color: var(--body); flex: 1 1 300px; }
.cookie-banner a { color: var(--teal); }
.cookie-actions { display: flex; gap: 10px; flex: none; }
.cookie-actions .btn { padding: 10px 18px; }
.about-copy p { margin: 0 0 16px; }

/* =====================================================================
   GRILLE DE CARTES SERVICES (accueil + page services)
   ===================================================================== */
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 30px; display: block;
  transition: transform .18s ease, box-shadow .2s ease;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.svc-card h3 { font-size: 1.1rem; margin: 16px 0 8px; }
.svc-card p { font-size: .9rem; margin: 0 0 16px; }

/* =====================================================================
   PAGE "NOTRE AGENCE"
   ===================================================================== */
.agency-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.agency-map {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--navy); box-shadow: var(--shadow-md); line-height: 0;
}
.agency-map img { display: block; width: 100%; height: auto; }
.map-inner { position: relative; text-align: center; color: #fff; }
.map-inner .big { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-top: 10px; }
.map-inner .small { font-size: .8rem; color: #9fbabb; text-transform: uppercase; letter-spacing: .1em; }
.pins { display: flex; flex-wrap: wrap; justify-content: center; margin-bottom: 8px; }
.pin { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #dfeeed; padding: 7px 12px; border-radius: 999px; font-size: .82rem; margin: 4px; }
.pin svg { width: 14px; height: 14px; color: var(--teal); }

.zone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.zone-grid h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chip { display: inline-flex; align-items: center; gap: 7px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px; font-size: .88rem; font-weight: 500; color: #33424a; }
.chip svg { width: 15px; height: 15px; color: var(--teal); }
.dept-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.dept-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; box-shadow: var(--shadow-sm); }
.dept-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.dept-num { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--teal); color: var(--teal); font-family: var(--font-display); font-weight: 700; display: grid; place-items: center; font-size: .92rem; flex: none; }
.dept-card h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); }
.dept-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.dept-list li { display: flex; gap: 9px; font-size: .85rem; align-items: flex-start; }
.dept-list svg { width: 16px; height: 16px; color: var(--teal); flex: none; margin-top: 3px; }

.engage-band { background: var(--band-bg); border-radius: var(--radius); padding: 44px 40px; color: #fff; display: grid; grid-template-columns: 1fr 1.6fr; gap: 36px; align-items: center; }
.engage-band h2 { color: #fff; font-size: 1.5rem; }
.engage-band .eyebrow { color: var(--teal); }
.engage-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.engage-item svg { width: 24px; height: 24px; color: var(--teal); margin-bottom: 10px; }
.engage-item strong { display: block; font-family: var(--font-display); font-size: .95rem; color: #fff; margin-bottom: 4px; }
.engage-item p { font-size: .83rem; color: #b9cccd; margin: 0; }

/* =====================================================================
   CARTES ARTICLES / RÉALISATIONS
   ===================================================================== */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-thumb { aspect-ratio: 16/10; background: linear-gradient(160deg, #14343a, #0b262b); position: relative; display: grid; place-items: center; }
.post-thumb .mc-grid { position: absolute; inset: 0; }
.post-thumb svg { width: 40px; height: 40px; color: rgba(255,255,255,.45); position: relative; }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: 12px; font-size: .74rem; color: var(--muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .05em; }
.post-meta .tag { color: var(--teal); font-weight: 700; }
.post-card h3 { font-size: 1.04rem; margin-bottom: 10px; }
.post-card p { font-size: .88rem; margin: 0 0 16px; }
.post-card .svc-more { margin-top: auto; }

/* Réalisations : cartes cas client (photo + texte) */
.cases { display: grid; gap: 28px; }
.case { display: grid; grid-template-columns: 1.05fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.case-img { position: relative; aspect-ratio: 4/3; align-self: stretch; }
.slider { position: absolute; inset: 0; overflow: hidden; }
.slides { display: flex; height: 100%; transition: transform .4s ease; }
.slide { position: relative; min-width: 100%; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-tag { position: absolute; top: 12px; left: 12px; background: rgba(10,46,51,.85); color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 5px 11px; border-radius: 999px; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.9); border: 0; display: grid; place-items: center; cursor: pointer; color: var(--ink); box-shadow: var(--shadow-sm); transition: background .2s ease; }
.slider-btn:hover { background: #fff; }
.slider-btn svg { width: 20px; height: 20px; }
.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }
.slider-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; }
.slider-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; transition: background .2s ease; }
.slider-dots .dot.active { background: #fff; }
.case-body { padding: 34px 38px; align-self: center; }
.case-body h3 { font-size: 1.25rem; margin: 6px 0 12px; }
.case-body p { margin: 0; font-size: .95rem; }
@media (max-width: 820px) {
  .case { grid-template-columns: 1fr; }
}

/* Responsive des nouveaux composants */
@media (max-width: 1024px) {
  .svc-cards, .card-grid { grid-template-columns: repeat(2, 1fr); }
  .agency-hero, .zone-grid, .engage-band { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .svc-cards, .card-grid, .dept-cards, .engage-items { grid-template-columns: 1fr; }
}

/* Bloc description détaillée (pages services) */
.svc-desc { max-width: 860px; }
.svc-desc h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 18px; }
.svc-desc p { margin: 0 0 16px; font-size: 1.02rem; color: var(--body); }

/* Frise verticale "parcours" (pages À propos) */
.timeline { list-style: none; margin: 26px 0 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 22px 30px; color: #384249; font-weight: 500; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.timeline li::after { content: ""; position: absolute; left: 6px; top: 18px; bottom: -7px; width: 2px; background: var(--teal); }
.timeline li:last-child::after { display: none; }

.hero-illus { display: flex; align-items: center; justify-content: center; padding: 6px; }
.hero-illus img { width: 100%; max-width: 620px; height: auto; filter: drop-shadow(0 18px 34px rgba(10,46,51,.16)); }
.hero-illus--home img { max-width: 780px; }

/* Pages services : héros resserré (fil d'Ariane retiré) et espace réduit avant les prestations */
.service-hero .page-hero { padding: 26px 0 6px; }
.service-prestations { padding-top: 34px; }
/* Rythme vertical resserré entre les blocs des pages services (marges non cumulées) */
.svc-block { margin-top: 60px; }
.svc-block--first { margin-top: 36px; }
.svc-block:last-child { margin-bottom: 8px; }

/* Article de blog */
.article { max-width: 820px; }
.article .lead { font-size: 1.12rem; color: var(--body); margin: 0 0 26px; max-width: none; }
.article h2 { font-size: 1.4rem; margin: 34px 0 12px; }
.article p { margin: 0 0 16px; font-size: 1.02rem; }
.article ul { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 10px; }
.article li { font-size: 1.02rem; }
.article strong { color: var(--ink); }
.article a { color: var(--teal); }

/* Simulateur de tarif (page /tarif) */
.calc { display: grid; grid-template-columns: 1.3fr .9fr; gap: 28px; align-items: start; }
.calc-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 26px 30px; }
.calc-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.calc-row:last-of-type { border-bottom: 0; }
.calc-label { display: flex; align-items: center; gap: 12px; font-weight: 500; color: #33424a; }
.calc-label svg { width: 22px; height: 22px; color: var(--teal); flex: none; }
.calc-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.calc-stepper button { width: 38px; height: 38px; border: 0; background: var(--bg-soft); color: var(--ink); font-size: 1.2rem; cursor: pointer; line-height: 1; transition: background .15s ease, color .15s ease; }
.calc-stepper button:hover { background: var(--teal-soft); color: var(--teal-dark); }
.calc-stepper input { width: 54px; height: 38px; border: 0; text-align: center; font-family: inherit; font-size: 1rem; color: var(--ink); -moz-appearance: textfield; }
.calc-stepper input::-webkit-outer-spin-button, .calc-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-result { background: var(--band-bg); color: #fff; border-radius: var(--radius); padding: 30px; position: sticky; top: 96px; overflow: hidden; }
.calc-result .eyebrow { color: var(--teal); }
.calc-amount { font-family: var(--font-display); font-weight: 700; font-size: 2rem; line-height: 1; }
.calc-amount small { font-size: .8rem; font-weight: 500; color: #c7d7d8; margin-left: 3px; }
.calc-recap { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 9px; }
.calc-recap li { display: flex; justify-content: space-between; gap: 12px; font-size: .88rem; color: #cfe0e1; }
.calc-recap li span:last-child { color: #fff; font-weight: 600; white-space: nowrap; }
.calc-recap-empty { color: #8fa7a9 !important; font-style: italic; }
.calc-total-line { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.16); padding-top: 14px; }
.calc-total-line > span:first-child { font-weight: 700; color: #cfe0e1; text-transform: uppercase; font-size: .74rem; letter-spacing: .06em; }
.calc-range { color: #b9cccd; font-size: .9rem; margin: 0 0 20px; }
.calc-range strong { color: #fff; }
.calc-result .btn { width: 100%; justify-content: center; }
.calc-disclaimer { color: #8fa7a9; font-size: .76rem; margin: 16px 0 0; line-height: 1.5; }
.calc-groups { display: grid; gap: 24px; }
.calc-label small { display: block; font-weight: 400; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.calc-check { display: flex; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.calc-check:last-of-type { border-bottom: 0; }
.calc-check .calc-label { cursor: pointer; }
.calc-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--teal); flex: none; }
.calc-selectrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0; }
.calc-select { font-family: inherit; font-size: .92rem; color: var(--ink); border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; background: #fbfdfd; max-width: 62%; }
.calc-hint { font-size: .78rem; color: var(--muted); margin: 14px 0 0; }
.calc-devis { font-size: 1.05rem; font-weight: 700; color: #fff; margin: 4px 0 18px; }
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } .calc-result { position: static; } }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .hero-grid, .split, .contact-panel, .hero-service { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 300px; }
  .svc-strip { grid-template-columns: repeat(2, 1fr); }
  .svc-cell { border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
  .stat-band, .adv-grid, .prest-grid, .values, .info-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 820px) {
  .main-nav, .header-actions .phone-btn span { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 78px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 12px 24px 20px; box-shadow: var(--shadow-md);
  }
  .main-nav.open .nav-link { padding: 12px 8px; }
  .main-nav.open .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; border-left: 2px solid var(--teal-soft); border-radius: 0; margin: 2px 0 6px 12px; padding: 0; min-width: 0; }
  .section, .section--tight, .svc-block { margin-top: 44px; }
  .svc-block--first, .net-bg + section { margin-top: 28px; }
  .trust-section { margin-top: 56px; }
}
@media (max-width: 560px) {
  .svc-strip, .stat-band, .adv-grid, .prest-grid, .values, .info-cards, .footer-grid { grid-template-columns: 1fr; }
  .prestations, .contact-panel, .values { padding: 24px; }
  .stat-band { padding: 30px 24px; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
  .container { padding: 0 18px; }
}

/* Accessibilité : mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
