/* =====================================================================
   SOCAGEC Sarl — Feuille de style principale / Main stylesheet
   ---------------------------------------------------------------------
   Les couleurs et polices se règlent dans le bloc :root ci-dessous.
   Colours and fonts are set in the :root block below.
   ===================================================================== */

/* ---------- Polices auto-hébergées / Self-hosted fonts ---------- */
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-400.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/poppins-500.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-700.woff") format("woff"); }

/* ---------- Jetons de design / Design tokens ---------- */
:root {
  --navy:        #1A0D63;   /* Couleur principale (charte) / Primary brand colour */
  --navy-deep:   #110841;   /* Pied de page, dégradés / Footer, gradients */
  --cyan:        #00A9CE;   /* Accent (charte) / Accent colour */
  --cyan-dark:   #0088A8;   /* Accent au survol / Accent hover */
  --cyan-soft:   #E4F5FA;   /* Fond d'étiquette / Tag background */
  --laterite:    #B4532B;   /* Terre latéritique des chantiers — utilisé avec parcimonie / Laterite red, used sparingly */

  --bg:          #FFFFFF;
  --surface:     #F3F5F8;   /* Sections claires / Light sections */
  --line:        #DCE1E9;   /* Bordures / Borders */
  --text:        #1D2437;
  --muted:       #5B6478;
  --on-dark:     rgba(255,255,255,.82);

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 6px;
  --header-h: 84px;
  --shadow: 0 10px 30px rgba(26, 13, 99, .10);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.05; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--surface { background: var(--surface); }
.section--navy { background: var(--navy); color: var(--on-dark); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { margin-bottom: .35em; }
.section-head p { color: var(--muted); margin: 0; }
.section--navy .section-head p { color: var(--on-dark); }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; flex-wrap: wrap; }
.section-head--row > div { max-width: 62ch; }

/* ---------- Boutons / Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em; padding: .8em 1.5em;
  border-radius: var(--radius); font-weight: 500; font-size: .98rem; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s;
  font-family: inherit; text-decoration: none !important; white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--primary { background: var(--cyan); color: #fff; border-color: var(--cyan); }
.btn--primary:hover { background: var(--cyan-dark); border-color: var(--cyan-dark); }
.btn--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn--outline { background: transparent; color: var(--navy); border-color: currentColor; }
.btn--outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--small { padding: .55em 1.1em; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 14px; }

.text-link { font-weight: 500; color: var(--cyan-dark); display: inline-flex; align-items: center; gap: .35em; }
.text-link svg { width: 1em; height: 1em; transition: transform .18s; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- En-tête / Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 4px 24px rgba(26,13,99,.08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 64px; width: auto; }
.brand:hover { text-decoration: none; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__links { display: flex; gap: 26px; }
.nav__links a { color: var(--navy); font-weight: 500; font-size: .98rem; padding: 6px 0; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav__links a:hover { text-decoration: none; }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__tools { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-size: .82rem; font-weight: 500; }
.lang a, .lang span { padding: 3px 10px; border-radius: 999px; color: var(--muted); }
.lang [aria-current="true"] { background: var(--navy); color: #fff; }
.lang a:hover { text-decoration: none; color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 28px; height: 28px; display: block; }

@media (max-width: 1000px) {
  .nav__links { gap: 18px; }
  .nav__links a { font-size: .92rem; }
  .nav__tools .btn { display: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px;
    display: none; box-shadow: 0 16px 30px rgba(26,13,99,.12);
  }
  .nav.is-open { display: flex; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__links a::after { display: none; }
  .nav__tools { justify-content: space-between; padding-top: 16px; }
  .nav__tools .btn { display: inline-flex; }
  .brand img { height: 54px; }
  :root { --header-h: 72px; }
}

/* ---------- Bandeau d'accueil / Home hero ---------- */
.hero {
  position: relative; color: #fff; min-height: min(86vh, 720px); display: flex; align-items: center;
  background: var(--navy) url("../img/hero/home.jpg") center/cover no-repeat; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(95deg, rgba(20,10,80,.96) 0%, rgba(20,10,80,.88) 38%, rgba(20,10,80,.55) 62%, rgba(26,13,99,.18) 100%);
}
.hero .container { padding-top: clamp(52px, 8vw, 96px); padding-bottom: clamp(40px, 6vw, 64px); }
.hero__inner { max-width: 690px; border-left: 6px solid var(--cyan); padding-left: clamp(18px, 3vw, 32px); }
.hero__kicker { font-size: .95rem; font-weight: 500; color: var(--cyan); margin: 0 0 14px; letter-spacing: .01em; }
.hero h1 { color: #fff; margin-bottom: .5em; font-size: clamp(2rem, 4vw, 3.15rem); text-wrap: balance; }
.hero p { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--on-dark); max-width: 56ch; margin-bottom: 1.6em; }
.hero p.hero__kicker { margin-bottom: 14px; }
.hero__proof {
  margin-top: clamp(36px, 6vw, 64px); padding-top: 24px; border-top: 1px solid rgba(255,255,255,.22);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 32px; max-width: 980px;
}
.hero__proof li { display: grid; gap: 2px; padding-left: 14px; border-left: 2px solid var(--cyan); font-size: .92rem; line-height: 1.35; }
.hero__proof strong { color: #fff; font-weight: 700; font-size: 1.02rem; }
.hero__proof span { color: rgba(255,255,255,.78); }
@media (max-width: 760px) {
  .hero::before { background: linear-gradient(180deg, rgba(20,10,80,.90) 0%, rgba(20,10,80,.86) 70%, rgba(26,13,99,.70) 100%); }
  .hero__proof { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- Bandeau de page intérieure / Inner page banner ---------- */
.page-hero { position: relative; color: #fff; background: var(--navy) center/cover no-repeat; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(26,13,99,.95) 0%, rgba(26,13,99,.84) 55%, rgba(26,13,99,.55) 100%); }
.page-hero .container { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .3em; }
.page-hero p { color: var(--on-dark); max-width: 60ch; margin: 0; font-size: 1.08rem; }
.page-hero--services { background-image: url("../img/hero/services.jpg"); }
.page-hero--projects { background-image: url("../img/hero/projects.jpg"); }
.page-hero--about { background-image: url("../img/hero/about.jpg"); }
.page-hero--contact { background-image: url("../img/hero/contact.jpg"); }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.65); margin-bottom: 14px; display: flex; gap: 8px; }
.breadcrumb a { color: rgba(255,255,255,.85); }

/* ---------- Chiffres clés / Key figures ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.stats li { border-left: 3px solid var(--cyan); padding-left: 18px; }
.stats strong { display: block; font-size: 2.2rem; line-height: 1; color: var(--navy); font-weight: 700; margin-bottom: 6px; }
.stats span { color: var(--muted); font-size: .95rem; }

/* ---------- Domaines (tuiles photo) / Areas (photo tiles) ---------- */
.domains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.domain {
  position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: var(--navy); color: #fff; isolation: isolate;
}
.domain img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.domain::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(17,8,65,.95) 0%, rgba(17,8,65,.55) 45%, rgba(17,8,65,.05) 100%); }
.domain:hover { text-decoration: none; }
.domain:hover img { transform: scale(1.05); }
.domain__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 22px 24px; }
.domain__icon { width: 40px; height: 40px; color: var(--cyan); margin-bottom: 12px; }
.domain__icon svg { width: 100%; height: 100%; }
.domain h3 { color: #fff; font-size: 1.25rem; margin-bottom: .3em; }
.domain p { color: var(--on-dark); font-size: .92rem; margin: 0 0 12px; }
.domain__more { font-size: .9rem; font-weight: 500; color: var(--cyan); display: inline-flex; align-items: center; gap: .35em; }
.domain__more svg { width: 1em; height: 1em; }
@media (max-width: 960px) { .domains { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .domains { grid-template-columns: 1fr; } .domain { aspect-ratio: 16 / 11; } }

/* ---------- Bloc présentation / About block ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; isolation: isolate; }
.split__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__media--framed::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 3px solid var(--cyan); border-radius: var(--radius); z-index: 0; }
.split__media--framed { margin-bottom: 18px; margin-right: 18px; }
.split__media--framed img { position: relative; z-index: 1; }
.split__caption { position: absolute; left: 18px; bottom: 18px; z-index: 2; background: var(--navy); color: #fff; font-size: .82rem; padding: 8px 14px; border-radius: 4px; }
.split h2 { margin-bottom: .6em; }
.split p + p { margin-top: .2em; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* ---------- Liste à coches / Check list ---------- */
.checks { display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--cyan); margin-top: 2px; }

/* ---------- Engagements / Commitments ---------- */
.why { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.why .section-head { margin-bottom: 24px; }
.commitments { display: grid; gap: 22px; }
.commitments li { border-left: 3px solid var(--cyan); padding: 2px 0 2px 22px; }
.commitments h3 { font-size: 1.08rem; margin-bottom: .25em; }
.commitments p { margin: 0; color: var(--muted); font-size: .97rem; }
.section--navy .commitments p { color: var(--on-dark); }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }

/* ---------- Fiches réalisations / Project record cards ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-align: left; padding: 0; font: inherit; color: inherit; cursor: pointer; width: 100%;
  transition: border-color .18s, transform .18s;
}
.project:hover, .project:focus-visible { border-color: var(--cyan); transform: translateY(-3px); }
.project__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.project__media img { width: 100%; height: 100%; object-fit: cover; }
.project__tag { position: absolute; left: 14px; top: 14px; background: #fff; color: var(--navy); font-size: .78rem; font-weight: 500; padding: 5px 10px; border-radius: 4px; }
.project__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.project h3 { font-size: 1.12rem; margin: 0; line-height: 1.3; }
.project p { margin: 0; color: var(--muted); font-size: .95rem; }
.spec { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 4px 0 0; font-size: .88rem; border-top: 1px solid var(--line); padding-top: 12px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; color: var(--text); font-weight: 500; }
.project__more { margin-top: auto; padding-top: 6px; font-weight: 500; color: var(--cyan-dark); display: inline-flex; align-items: center; gap: .35em; font-size: .95rem; }
.project__more svg { width: 1em; height: 1em; }
@media (max-width: 960px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .projects { grid-template-columns: 1fr; } }

/* Filtre / Filter */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filters button {
  font: inherit; font-size: .92rem; font-weight: 500; padding: .5em 1.1em; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--navy); transition: background .15s, color .15s, border-color .15s;
}
.filters button:hover { border-color: var(--cyan); }
.filters button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.empty-note { color: var(--muted); padding: 24px 0; }

/* ---------- Fenêtre de détail / Detail dialog ---------- */
.dialog { border: 0; padding: 0; max-width: min(1040px, calc(100vw - 32px)); width: 100%; max-height: calc(100vh - 32px); overflow: auto; border-radius: 8px; background: #fff; color: var(--text); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.dialog::backdrop { background: rgba(17,8,65,.72); }
.dialog__close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); cursor: pointer; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.dialog__close svg { width: 22px; height: 22px; }
.dialog__grid { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 420px; }
.gallery__main { aspect-ratio: 4 / 3; background: #0F0A33; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumbs { display: flex; gap: 8px; padding: 10px; flex-wrap: wrap; background: var(--surface); }
.gallery__thumbs button { width: 72px; height: 54px; border: 2px solid transparent; border-radius: 4px; padding: 0; overflow: hidden; cursor: pointer; background: none; }
.gallery__thumbs button[aria-pressed="true"] { border-color: var(--cyan); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.dialog__body { padding: clamp(22px, 3vw, 36px); overflow: auto; }
.dialog__body h2 { font-size: 1.5rem; margin-bottom: .5em; padding-right: 40px; }
.dialog__body .spec { margin: 0 0 18px; font-size: .92rem; border-top: 0; padding-top: 0; }
.dialog__body p { font-size: .98rem; }
.reference { border-left: 3px solid var(--cyan); background: var(--surface); padding: 12px 16px; border-radius: 0 var(--radius) var(--radius) 0; margin: 0 0 20px; }
.reference h3 { font-size: .95rem; margin-bottom: .3em; }
.reference p { margin: 0; font-size: .92rem; }
.reference span { color: var(--muted); }
.reference em { color: var(--muted); font-style: normal; font-size: .86rem; }
@media (max-width: 800px) { .dialog__grid { grid-template-columns: 1fr; } }

/* ---------- Clients / Partners (grille de logos) ---------- */
.clients { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.client {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px 18px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; min-height: 168px;
  flex: 0 0 258px; width: 258px; transition: border-color .18s;
}
.section--clients .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.client:hover { border-color: var(--cyan); }
.client__logo { height: 64px; width: 100%; display: flex; align-items: center; justify-content: center; }
.client__logo img { max-height: 64px; max-width: 170px; width: auto; height: auto; object-fit: contain; }
.client__wordmark { font-weight: 700; color: var(--navy); font-size: 1.08rem; line-height: 1.2; letter-spacing: .01em; max-width: 16ch; }
.client__caption { display: grid; gap: 2px; font-size: .84rem; line-height: 1.35; }
.client__caption strong { color: var(--navy); font-weight: 500; }
.client__caption span { color: var(--muted); font-size: .8rem; }
.section--clients { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
@media (max-width: 480px) { .clients { gap: 10px; } .client { flex-basis: calc(50% - 5px); width: calc(50% - 5px); padding: 16px 10px 14px; min-height: 150px; } .client__logo img { max-width: 130px; max-height: 54px; } .client__wordmark { font-size: .95rem; } }

/* ---------- Pages Services : blocs détaillés / Services page: detailed blocks ---------- */
.service-block { padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.service-block:first-of-type { border-top: 0; }
.service-block .split__media img { aspect-ratio: 3 / 2; }
.service-block__icon { width: 52px; height: 52px; color: var(--cyan); margin-bottom: 14px; }
.service-block__icon svg { width: 100%; height: 100%; }
.service-block h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.service-block .checks { margin: 18px 0 24px; }
.service-block__related { font-size: .92rem; color: var(--muted); }
.service-block__related a { font-weight: 500; }

/* ---------- Bande d'appel / CTA band ---------- */
.cta { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border: 28px solid rgba(0,169,206,.18); border-radius: 50%; pointer-events: none; }
.cta .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding-top: clamp(44px, 6vw, 72px); padding-bottom: clamp(44px, 6vw, 72px); position: relative; z-index: 1; }
.cta h2 { color: #fff; margin-bottom: .25em; }
.cta p { color: var(--on-dark); margin: 0; max-width: 52ch; }

/* ---------- Page Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-list { display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list svg { width: 26px; height: 26px; color: var(--cyan); flex: none; margin-top: 2px; }
.contact-list strong { display: block; color: var(--navy); font-size: .92rem; margin-bottom: 2px; }
.contact-list a { color: var(--text); font-weight: 500; }
.contact-list a:hover { color: var(--cyan-dark); }
.contact-list__map { display: inline-flex; align-items: center; gap: .35em; margin-top: 6px; font-size: .92rem; color: var(--cyan-dark) !important; }
.contact-list__map svg { width: 1em; height: 1em; margin: 0; color: inherit; transition: transform .18s; }
.contact-list__map:hover svg { transform: translateX(3px); }
.form { background: var(--surface); border-radius: 8px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); }
.form h2 { font-size: 1.4rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .9rem; font-weight: 500; color: var(--navy); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--text); width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,169,206,.2); }
.field textarea { min-height: 140px; resize: vertical; }
.form__note { font-size: .85rem; color: var(--muted); margin: 10px 0 0; }
.form__status { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius); font-size: .95rem; display: none; }
.form__status.is-ok { display: block; background: #E3F6EC; color: #145A32; }
.form__status.is-error { display: block; background: #FDE9E7; color: #8A1C12; }
.map { margin-top: clamp(40px, 6vw, 72px); border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 420px; border: 0; display: block; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Page À propos ---------- */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.values li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.values svg { width: 34px; height: 34px; color: var(--cyan); margin-bottom: 12px; }
.values h3 { font-size: 1.05rem; }
.values p { margin: 0; color: var(--muted); font-size: .95rem; }
.person { display: flex; gap: 20px; align-items: center; background: var(--surface); border-radius: var(--radius); padding: 22px 26px; max-width: 520px; }
.person__initials { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.3rem; flex: none; }
.person strong { display: block; color: var(--navy); }
.person span { color: var(--muted); font-size: .95rem; }
.person a { display: block; font-size: .92rem; margin-top: 4px; }
.legal-list { display: flex; flex-wrap: wrap; gap: 8px 32px; color: var(--muted); font-size: .95rem; margin-top: 12px; }

/* ---------- Pied de page / Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark); font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: clamp(48px, 6vw, 72px) 0 40px; }
.footer__brand img { height: 84px; width: auto; margin-bottom: 16px; }
.footer__brand p { max-width: 36ch; margin: 0; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 20px; height: 20px; color: var(--cyan); flex: none; margin-top: 3px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .85rem; color: rgba(255,255,255,.6); }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Bouton WhatsApp flottant / Floating WhatsApp button ---------- */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: transform .18s;
}
.whatsapp-float:hover { transform: scale(1.06); text-decoration: none; }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ---------- Barre « cookies » (Google Analytics, accord préalable) / Cookie consent bar ---------- */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 45; max-width: 560px;
  background: var(--navy); color: #fff; border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.28);
  border-left: 5px solid var(--cyan); padding: 16px 18px; font-size: .9rem; line-height: 1.5;
}
.consent p { margin: 0 0 12px; color: rgba(255,255,255,.88); }
.consent strong { color: #fff; }
.consent__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.footer__cookies { margin-left: auto; }
/* Le bouton WhatsApp remonte au-dessus de la barre sur petit écran / WhatsApp button moves above the bar on small screens */
@media (max-width: 640px) { body.has-consent-bar .whatsapp-float { bottom: 190px; } .consent { padding-right: 16px; } }
@media (min-width: 641px) { .consent { right: auto; } }

/* ---------- Page 404 ---------- */
.notfound { text-align: center; padding: clamp(80px, 14vw, 160px) 0; }
.notfound h1 { font-size: clamp(3rem, 8vw, 6rem); color: var(--cyan); margin-bottom: .1em; }

/* ---------- Utilitaires / Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.is-hidden { display: none !important; }
@media print { .site-header, .whatsapp-float, .cta, .form { display: none !important; } body { font-size: 12pt; } }
