/* ==========================================================================
   Atlantique Génie Civil – feuille de style
   Mobile-first. Pour changer les couleurs à partir du logo : modifier les variables ci-dessous.
   ========================================================================== */

:root {
  /* Palette relevée sur le logo : anthracite #444C50, turquoise #38B8C8, orange #F08C18 */
  --dark-950: #0a1a1f;
  --dark-900: #10262d;
  --dark-800: #17343d;
  --dark-700: #1f4652;
  --teal: #38b8c8;
  --teal-700: #0f7a8a;
  --logo-gray: #444c50;
  --steel-300: #a9c3ca;
  --steel-100: #e4eef0;
  --accent: #f08a1a;
  --accent-600: #d97706;
  --paper: #f2f7f8;
  --white: #fff;
  --ink: #141f24;
  --muted: #4a5a60;
  --line: #d6e1e4;
  --ok: #0f7a4a;
  --err: #b42318;
  --wa: #0e7a3f;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1160px;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(10, 26, 31, .06), 0 10px 28px rgba(10, 26, 31, .09);
  --header-h: 68px;
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 46C220 6 420 6 700 44S1180 92 1440 28V90H0z' fill='%23fff'/%3E%3Cpath d='M0 46C220 6 420 6 700 44S1180 92 1440 28' fill='none' stroke='%23f4a050' stroke-width='5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font: 400 1rem/1.65 var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(60px + env(safe-area-inset-bottom));
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--teal-700); text-underline-offset: .15em; }
a:hover { color: var(--dark-900); }
h1, h2, h3 { margin: 0 0 .6em; line-height: 1.15; letter-spacing: -.015em; color: var(--dark-900); }
h1 { font-size: clamp(2rem, 5.2vw, 3.2rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent); color: var(--dark-950); }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: .5rem; z-index: 100; background: var(--accent); color: var(--dark-950); padding: .6rem 1rem; font-weight: 700; border-radius: var(--radius); }
.skip-link:focus { left: .5rem; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Contenus à compléter (jaune) : à supprimer avant la mise en ligne */
.todo { background: #fff1b8; color: #5a4200; padding: .05em .3em; border-radius: 3px; outline: 1px dashed #c99700; font-weight: 600; font-style: normal; }

/* --- Boutons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.35rem;
  font: 700 1rem/1.2 var(--font); text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 42px; padding: .5rem 1.05rem; font-size: .95rem; }
.btn--lg { min-height: 54px; padding: .85rem 1.7rem; font-size: 1.05rem; }
.btn--accent { background: var(--accent); color: var(--dark-950); }
.btn--accent:hover { background: var(--accent-600); color: var(--dark-950); }
.btn--dark { background: var(--dark-900); color: var(--white); }
.btn--dark:hover { background: var(--dark-700); color: var(--white); }
.btn--outline { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn--outline:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); color: var(--white); }
.btn--outline-dark { border-color: var(--dark-900); color: var(--dark-900); }
.btn--outline-dark:hover { background: var(--dark-900); color: var(--white); }
.btn--whatsapp { background: var(--wa); color: var(--white); width: 100%; margin-top: 1.25rem; }
.btn--whatsapp:hover { background: #0b6634; color: var(--white); }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--teal-700); text-decoration: none; }
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow--light { color: var(--white); }
.link-arrow--light:hover { color: var(--accent); }

/* --- En-tête ------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
@media (min-width: 980px) { .site-header .container { width: min(100% - 2rem, 1260px); } }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--dark-900); }
.brand__mark { width: auto; height: 38px; }
.brand__text { display: grid; line-height: 1.05; }
.brand__text strong { font-size: 1.12rem; font-weight: 800; letter-spacing: .07em; color: var(--logo-gray); }
.brand__text small { font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-700); margin-top: .12rem; }
.footer__logo { display: inline-block; padding: .8rem 1rem; background: var(--white); border-radius: var(--radius); }
.footer__logo img { width: 132px; height: auto; }

.nav-toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; background: none; border: 1px solid var(--line); border-radius: var(--radius); color: var(--dark-900); cursor: pointer; }
.nav-toggle .icon { width: 1.5rem; height: 1.5rem; }
.nav-toggle .icon--close, .nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 28px rgba(10, 26, 31, .12); padding: .5rem 1rem 1.25rem; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.nav.is-open { display: block; }
html:not(.js) .nav { display: block; position: static; box-shadow: none; }
html:not(.js) .nav-toggle { display: none; }
.nav__list > li + li { border-top: 1px solid var(--line); }
.nav__link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: .9rem .25rem; font: 700 1rem/1.3 var(--font); color: var(--dark-900); text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left; }
.nav__link[aria-current="page"], .nav__link.is-current { color: var(--teal-700); box-shadow: inset 0 -3px 0 var(--accent); }
.nav__sub-toggle .icon { transition: transform .15s; }
.has-sub.is-open .nav__sub-toggle .icon { transform: rotate(180deg); }
.nav__sub { display: none; padding: 0 0 .6rem .5rem; }
.has-sub.is-open .nav__sub { display: block; }
.nav__sub a { display: flex; align-items: center; gap: .65rem; padding: .7rem .5rem; font-weight: 600; color: var(--dark-900); text-decoration: none; border-radius: var(--radius); }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--paper); }
.nav__sub .icon { color: var(--teal-700); }
.nav__actions { display: grid; gap: .75rem; margin-top: 1rem; }
.nav__phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--dark-900); text-decoration: none; }
.nav__actions .btn { width: 100%; }

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .nav, .nav.is-open, html:not(.js) .nav { display: flex; align-items: center; gap: 1.6rem; position: static; padding: 0; border: 0; box-shadow: none; background: none; max-height: none; overflow: visible; }
  .nav__list { display: flex; align-items: center; gap: .15rem; }
  .nav__list > li + li { border: 0; }
  .nav__link { width: auto; padding: .5rem .8rem; font-size: .95rem; border-radius: var(--radius); gap: .35rem; white-space: nowrap; }
  .nav__link:hover { background: var(--paper); }
  .nav__link[aria-current="page"], .nav__link.is-current { box-shadow: inset 0 -3px 0 var(--accent); border-radius: 0; }
  .has-sub { position: relative; }
  .nav__sub { position: absolute; top: calc(100% + .4rem); left: 0; min-width: 330px; padding: .4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
  .nav__actions { display: flex; align-items: center; gap: 1.1rem; margin: 0; }
  .nav__actions .btn { width: auto; white-space: nowrap; }
  .nav__phone { white-space: nowrap; }
}
@media (min-width: 980px) and (max-width: 1239px) { .nav__phone span { display: none; } .nav__phone { padding: .5rem; } }

/* --- Titres de section --------------------------------------------------- */
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 .9rem; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--accent); }
.eyebrow .icon { width: 1.2em; height: 1.2em; }
.eyebrow:has(.icon)::before { display: none; }
.eyebrow--light { color: var(--teal); }

.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--dark-900); color: var(--steel-100); position: relative; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section__head { max-width: 46rem; margin-bottom: 2.25rem; }
.section__head p { color: var(--muted); font-size: 1.08rem; margin-bottom: 0; }
.section--dark .section__head p { color: var(--steel-300); }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; }
.section__more { margin: 2rem 0 0; }

.split { display: grid; gap: 2rem; }
.split--even { align-items: center; }
.split__action { margin: 0; }
@media (min-width: 900px) { .split { grid-template-columns: 1.3fr 1fr; gap: 3.5rem; } .split--even { grid-template-columns: 1fr 1fr; } .split__action { justify-self: end; } }
.section--dark p { color: var(--steel-300); }

/* --- Grilles & cartes ---------------------------------------------------- */
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }

/* --- Bandeau d'accueil --------------------------------------------------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: radial-gradient(70% 90% at 100% 0%, rgba(56, 184, 200, .30), transparent 62%), var(--dark-900); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(48px, 7vw, 90px); background: var(--wave) center bottom / 100% 100% no-repeat; }
.hero__grid { display: grid; gap: 2rem; padding-block: clamp(3rem, 8vw, 5.5rem) clamp(6rem, 11vw, 8.5rem); }
.hero h1 { color: var(--white); max-width: 18em; }
.hero__lead { max-width: 38rem; font-size: 1.12rem; color: var(--steel-100); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.75rem; }
.hero__art { display: none; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.25fr .75fr; align-items: center; }
  .hero__art { display: block; justify-self: end; width: min(100%, 340px); opacity: .95; }
}

/* --- Chiffres clés ------------------------------------------------------- */
.figures { position: relative; z-index: 2; margin-top: -2.75rem; }
.figures__list { display: grid; grid-template-columns: repeat(2, 1fr); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.figures__list li, .figures--inline li { display: grid; gap: .2rem; padding: 1.35rem 1rem; text-align: center; }
.figures__list li:nth-child(odd) { border-right: 1px solid var(--line); }
.figures__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
.figures__value { font-size: clamp(1.9rem, 5vw, 2.7rem); font-weight: 800; line-height: 1; color: var(--dark-900); letter-spacing: -.02em; }
.figures__label { font-size: .92rem; color: var(--muted); }
@media (min-width: 800px) {
  .figures__list { grid-template-columns: repeat(4, 1fr); }
  .figures__list li { border: 0 !important; }
  .figures__list li + li { border-left: 1px solid var(--line) !important; }
}
.figures--inline { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.figures--inline li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
@media (min-width: 800px) { .figures--inline { grid-template-columns: repeat(4, 1fr); } }

/* --- Métiers ------------------------------------------------------------- */
.metier { display: flex; flex-direction: column; align-items: flex-start; padding: 2rem 1.75rem; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); box-shadow: var(--shadow); }
.metier p { color: var(--muted); }
.metier__icon, .service__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.1rem; background: var(--dark-900); color: var(--accent); border-radius: var(--radius); }
.metier__icon .icon, .service__icon .icon { width: 1.6rem; height: 1.6rem; }
.metier .link-arrow { margin-top: auto; }

.ticks { display: grid; gap: .55rem; margin: 0 0 1.5rem; }
.ticks li, .checklist li { position: relative; padding-left: 1.85rem; }
.ticks li::before, .checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--dark-900) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f08a1a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5 10.5 17 18 8'/%3E%3C/svg%3E") center / 72% no-repeat; }
.ticks--light li::before { background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1a1f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5 10.5 17 18 8'/%3E%3C/svg%3E"); }
.ticks--lg { gap: .9rem; }
.ticks--lg li { color: var(--white); font-weight: 600; font-size: 1.05rem; }

/* --- Réalisations -------------------------------------------------------- */
.work { display: flex; }
.work__card { display: flex; flex-direction: column; width: 100%; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.work__card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.work__media { display: grid; place-items: center; position: relative; aspect-ratio: 4 / 3; width: 100%; padding: 0; border: 0; background: var(--dark-800); overflow: hidden; }
button.work__media { cursor: zoom-in; }
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
button.work__media:hover img { transform: scale(1.04); }
.work__media--empty {
  color: var(--steel-300); align-content: center; gap: .5rem; font-size: .85rem; font-weight: 600; letter-spacing: .04em;
  background-color: var(--dark-800);
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.work__media--empty .icon { width: 3rem; height: 3rem; stroke-width: 1.3; color: var(--accent); opacity: .9; }
.work__body { padding: 1.2rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.work__tag { align-self: flex-start; margin: 0 0 .6rem; padding: .2rem .6rem; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--steel-100); color: var(--dark-800); border-radius: 3px; }
.work__title { margin-bottom: .4rem; font-size: 1.08rem; }
.work__meta { display: flex; align-items: center; gap: .4rem; margin-bottom: .6rem; font-size: .92rem; font-weight: 600; color: var(--teal-700); }
.work__desc { margin-bottom: 0; font-size: .95rem; color: var(--muted); }
.work__client { margin: .75rem 0 0; font-size: .88rem; font-weight: 600; }

.filters { display: flex; gap: .5rem; margin: 0 -1rem 1.75rem; padding: 0 1rem .4rem; overflow-x: auto; scrollbar-width: thin; }
.chip { flex: none; min-height: 44px; padding: .5rem 1.05rem; font: 700 .92rem/1 var(--font); color: var(--dark-900); background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.chip:hover { border-color: var(--teal-700); }
.chip.is-active { background: var(--dark-900); border-color: var(--dark-900); color: var(--white); }
@media (min-width: 900px) { .filters { flex-wrap: wrap; overflow: visible; margin: 0 0 2rem; padding: 0; } }
.gallery__empty { padding: 2rem; text-align: center; color: var(--muted); background: var(--paper); border-radius: var(--radius); }
.works__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding: 1.5rem; background: var(--paper); border-left: 4px solid var(--accent); border-radius: var(--radius); }
.works__foot p { margin: 0; font-weight: 600; }

.lightbox { padding: 0; border: 0; background: transparent; max-width: min(96vw, 1100px); max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 26, 31, .88); }
.lightbox__img { max-height: 80vh; width: auto; margin-inline: auto; border-radius: var(--radius); }
.lightbox__caption { margin: .75rem 0 0; color: var(--white); text-align: center; font-weight: 600; }
.lightbox form { position: absolute; top: -3.25rem; right: 0; margin: 0; }
.lightbox__close { display: grid; place-items: center; width: 44px; height: 44px; background: var(--white); color: var(--dark-900); border: 0; border-radius: 50%; cursor: pointer; }

/* --- Publics, engagements, étapes ---------------------------------------- */
.audience { padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; }
.audience > .icon { width: 2rem; height: 2rem; margin-bottom: .9rem; color: var(--teal-700); }
.audience p { color: var(--muted); font-size: .95rem; }
.audience .link-arrow { margin-top: auto; }

.commit { padding: 1.6rem; background: var(--dark-800); border-radius: var(--radius); border-top: 3px solid var(--accent); }
.commit > .icon { width: 2rem; height: 2rem; margin-bottom: .9rem; color: var(--accent); }
.commit p { margin: 0; }

.steps { display: grid; gap: 1.25rem; counter-reset: step; }
.steps li { position: relative; padding: 0 0 0 4rem; }
.steps__num { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; font-size: 1.25rem; font-weight: 800; color: var(--dark-950); background: var(--accent); border-radius: var(--radius); }
.steps p { color: var(--muted); margin: 0; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .steps li { padding: 4rem 0 0; }
  .steps li:not(:last-child)::after { content: ""; position: absolute; top: 1.4rem; left: 3.5rem; right: -1.5rem; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
}

/* --- En-tête des pages intérieures --------------------------------------- */
.page-hero { position: relative; isolation: isolate; color: var(--white); padding-block: clamp(2.25rem, 6vw, 4rem) clamp(4rem, 8vw, 6rem); overflow: hidden; background: radial-gradient(60% 100% at 100% 0%, rgba(56, 184, 200, .26), transparent 62%), var(--dark-900); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 48px 48px; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(34px, 5vw, 60px); background: var(--wave) center bottom / 100% 100% no-repeat; }
.no-wave .page-hero::after { display: none; }
.page-hero h1 { color: var(--white); margin-bottom: .5em; }
.page-hero__lead { max-width: 42rem; margin-bottom: 0; font-size: 1.12rem; color: var(--steel-100); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; font-size: .88rem; color: var(--steel-300); }
.breadcrumb a { color: var(--steel-100); }
.breadcrumb a:hover { color: var(--accent); }

/* --- Pages « services » -------------------------------------------------- */
.services { display: grid; gap: 1.25rem; }
.service { display: grid; gap: 0; padding: 1.75rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); }
.service__body p { color: var(--muted); }
.service__body .ticks { margin-bottom: 1.25rem; }
.section--paper .service { box-shadow: 0 1px 2px rgba(10, 26, 31, .04); }
@media (min-width: 760px) {
  .service { grid-template-columns: auto 1fr; gap: 1.75rem; padding: 2rem; }
  .service__icon { margin-bottom: 0; }
  .service__body { max-width: 46rem; }
}
.glossary { display: grid; gap: 1rem; }
.glossary div { padding: 1.25rem 1.4rem; background: var(--paper); border-left: 4px solid var(--accent); border-radius: var(--radius); }
.glossary dt { font-size: 1.3rem; font-weight: 800; color: var(--dark-900); }
.glossary dd { margin: .2rem 0 0; color: var(--muted); }

/* --- Page entreprise ----------------------------------------------------- */
.factbox { padding: 1.5rem; background: var(--paper); border-top: 4px solid var(--accent); border-radius: var(--radius); align-self: start; }
.factbox dl { margin: 0; }
.factbox div { padding: .7rem 0; border-top: 1px solid var(--line); }
.factbox div:first-child { border-top: 0; padding-top: 0; }
.factbox dt { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.factbox dd { margin: .1rem 0 0; font-weight: 600; }
.value { padding: 1.5rem; }
.value > .icon { width: 2rem; height: 2rem; margin-bottom: .8rem; color: var(--teal-700); }
.value p { margin: 0; color: var(--muted); font-size: .95rem; }
.person { display: flex; gap: 1.1rem; padding: 1.25rem; }
.person__photo { display: grid; place-items: center; flex: none; width: 88px; height: 88px; background: var(--dark-800); color: var(--steel-300); border-radius: var(--radius); }
.person__photo .icon { width: 2.4rem; height: 2.4rem; }
.person__body h3 { margin-bottom: .1rem; }
.person__role { margin-bottom: .5rem; font-weight: 700; font-size: .9rem; color: var(--teal-700); }
.person__body p:last-child { margin: 0; color: var(--muted); font-size: .95rem; }

/* --- Moyens -------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; min-width: 34rem; }
.table th, .table td { padding: .9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--dark-900); color: var(--white); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.table tbody th { font-weight: 600; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody tr:nth-child(even) { background: var(--paper); }
.docs { padding: 1.75rem; }
.docs h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; }
.docs h3 .icon { color: var(--teal-700); width: 1.5rem; height: 1.5rem; }
.docs .ticks { margin: 0; }
.docs__note { display: flex; gap: .75rem; align-items: flex-start; margin: 1.5rem 0 0; padding: 1.1rem 1.25rem; background: var(--paper); border-left: 4px solid var(--accent); border-radius: var(--radius); }
.docs__note .icon { margin-top: .2rem; color: var(--teal-700); }

/* --- Contact ------------------------------------------------------------- */
.contact { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .contact { grid-template-columns: 1.4fr 1fr; gap: 3.5rem; align-items: start; } }
.contact__hint { color: var(--muted); font-size: .95rem; }
.contact__side { display: grid; gap: 1.25rem; }
.contact__card { padding: 1.75rem; }
.contact__card h2 { font-size: 1.35rem; margin-bottom: 1.1rem; }
.contact__list { display: grid; gap: 1rem; }
.contact__list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact__list > li > .icon { margin-top: .2rem; color: var(--teal-700); width: 1.4rem; height: 1.4rem; }
.contact__label { display: block; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact__list a { font-weight: 700; }
.contact__note { font-size: .88rem; color: var(--muted); }

.form { display: grid; gap: 1.15rem; margin-top: 1.25rem; }
.form__row { display: grid; gap: 1.15rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; align-content: start; }
.field label { display: flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .95rem; color: var(--dark-900); }
.req { color: var(--err); font-weight: 800; }
.opt { font-weight: 500; color: var(--muted); font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .7rem .9rem; font: inherit; color: var(--ink);
  background: var(--white); border: 1.5px solid #718096; border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #6b778a; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--teal-700); box-shadow: 0 0 0 4px rgba(56, 184, 200, .4); }
.field input[type="file"] { padding: .55rem; min-height: 0; background: var(--paper); }
.field :user-invalid { border-color: var(--err); }
.field__help { margin: 0; font-size: .85rem; color: var(--muted); }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.check input { flex: none; width: 1.3rem; height: 1.3rem; margin-top: .15rem; accent-color: var(--dark-900); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; padding: 1rem 1.2rem; font-weight: 600; border-radius: var(--radius); border-left: 4px solid; }
.form__status.is-ok { background: #e6f5ed; color: #0b5c37; border-color: var(--ok); }
.form__status.is-error { background: #fdecea; color: #8c1d13; border-color: var(--err); }
.form__status a { color: inherit; }
.form button[disabled] { opacity: .65; cursor: progress; }

.map { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--steel-100); border: 1px solid var(--line); border-radius: var(--radius); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .7rem; padding: 1.5rem; text-align: center; color: var(--dark-800); background-image: linear-gradient(rgba(16, 38, 45, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 38, 45, .07) 1px, transparent 1px); background-size: 28px 28px; }
.map__placeholder .icon { width: 2rem; height: 2rem; color: var(--teal-700); }
.map__placeholder p { margin: 0; max-width: 20rem; font-size: .92rem; }

/* --- Partage ------------------------------------------------------------- */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.share__label { display: inline-flex; align-items: center; gap: .45rem; margin-right: .3rem; font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.share__btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 42px; padding: .4rem .95rem; font-weight: 700; font-size: .92rem; color: var(--dark-900); text-decoration: none; background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; transition: border-color .15s, background-color .15s; }
.share__btn:hover { border-color: var(--dark-900); background: var(--white); }

/* --- Texte courant (mentions légales) ------------------------------------ */
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.25rem; font-size: 1.45rem; }
.prose h2:first-child { margin-top: 0; }

/* --- Bandeau d'appel à l'action ----------------------------------------- */
.cta-band :focus-visible { outline-color: var(--dark-900); }
.cta-band { background: var(--accent); color: var(--dark-950); padding-block: clamp(2.25rem, 5vw, 3.25rem); }
.cta-band__inner { display: grid; gap: 1.5rem; align-items: center; }
.cta-band h2 { color: var(--dark-950); margin-bottom: .3em; font-size: clamp(1.4rem, 3vw, 2rem); }
.cta-band p { margin: 0; font-weight: 600; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1fr auto; } }

/* --- Pied de page -------------------------------------------------------- */
.site-footer { background: var(--dark-950); color: var(--steel-300); }
.site-footer a { color: var(--steel-100); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer__grid { display: grid; gap: 2.25rem; padding-block: 3.25rem 2.5rem; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; } }
.footer__brand p { max-width: 20rem; margin: 1rem 0; }
.social { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-right: .4rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; }
.social:hover { border-color: var(--accent); }
.footer__title { margin-bottom: 1rem; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--white); }
.footer__list { display: grid; gap: .6rem; }
.footer__contact { display: grid; gap: .75rem; }
.footer__contact a, .footer__contact span { display: flex; gap: .6rem; align-items: flex-start; }
.footer__contact .icon { margin-top: .2rem; color: var(--accent); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 1.25rem; }
.footer__bottom p { margin: 0; }

/* --- Barre de contact rapide (mobile) ------------------------------------ */
.quickbar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 1.25fr; background: var(--dark-950); box-shadow: 0 -6px 20px rgba(10, 26, 31, .25); padding-bottom: env(safe-area-inset-bottom); }
.quickbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; min-height: 60px; font-size: .78rem; font-weight: 700; color: var(--white); text-decoration: none; }
.quickbar a + a { border-left: 1px solid rgba(255, 255, 255, .12); }
.quickbar .icon { width: 1.35rem; height: 1.35rem; }
.quickbar__main { background: var(--accent); color: var(--dark-950) !important; }
@media (min-width: 900px) { .quickbar { display: none; } body { padding-bottom: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


/* ==========================================================================
   Contenus enrichis : encarts, FAQ, QHSE, carrières, organisation
   ========================================================================== */

/* « Bon à savoir » sous chaque prestation */
.more { margin: 0 0 1.25rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.section--paper .more { background: var(--white); }
.more summary { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .8rem 1rem; font-weight: 700; color: var(--teal-700); cursor: pointer; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-size: 1.4rem; font-weight: 600; line-height: 1; }
.more[open] summary::after { content: "\2013"; }
.more p { margin: 0; padding: 0 1rem 1rem; font-size: .95rem; color: var(--muted); }

/* Listes de préparation, secteurs */
.checklist { display: grid; gap: .9rem; padding: 1.6rem 1.75rem; margin: 0; }
.checklist li strong { color: var(--dark-900); }
.sectors { display: flex; flex-wrap: wrap; gap: .75rem; }
.sectors li { display: inline-flex; align-items: center; gap: .6rem; padding: .75rem 1.15rem; font-weight: 600; background: var(--white); border: 1px solid var(--line); border-radius: 999px; }
.sectors .icon { color: var(--teal-700); }
.link-line { margin: 0; }
.work__scope { margin: .5rem 0 0; font-size: .88rem; font-weight: 700; color: var(--dark-700); }

/* FAQ */
.faq { display: grid; gap: .6rem; margin-bottom: 1.5rem; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s; }
.faq__item[open] { border-color: var(--teal); box-shadow: var(--shadow); }
.faq__item summary { position: relative; padding: 1rem 3rem 1rem 1.15rem; font-weight: 700; color: var(--dark-900); cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 1.2rem; top: 50%; width: .6rem; height: .6rem; border-right: 2.5px solid var(--teal-700); border-bottom: 2.5px solid var(--teal-700); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.faq__item[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq__a { padding: 0 1.15rem 1.1rem; color: var(--muted); }
.faq__a p { margin-bottom: .8em; }
.faq__a p:last-child { margin-bottom: 0; }
.faq__group { margin: 2.75rem 0 1rem; font-size: 1.5rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.faq-main > .faq__group:first-child { margin-top: 0; }
.faq-layout { display: grid; gap: 1.75rem; }
.faq-nav__title { display: none; margin: 0 0 .75rem; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.faq-nav ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.faq-nav a { display: inline-block; padding: .45rem .95rem; font-size: .92rem; font-weight: 700; color: var(--dark-900); text-decoration: none; background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; }
.faq-nav a:hover { border-color: var(--dark-700); }
@media (min-width: 960px) {
  .faq-layout { grid-template-columns: 250px 1fr; gap: 3.5rem; align-items: start; }
  .faq-nav { position: sticky; top: calc(var(--header-h) + 1.5rem); }
  .faq-nav__title { display: block; }
  .faq-nav ul { display: grid; gap: .15rem; }
  .faq-nav a { display: block; padding: .6rem .9rem; border: 0; border-left: 3px solid var(--line); border-radius: 0 var(--radius) var(--radius) 0; background: none; }
  .faq-nav a:hover { background: var(--paper); border-left-color: var(--accent); }
}
.lexique__intro { color: var(--muted); }
.lexique { display: grid; gap: .75rem; margin: 0; }
.lexique div { padding: 1rem 1.15rem; background: var(--paper); border-left: 3px solid var(--teal); border-radius: 0 var(--radius) var(--radius) 0; }
.lexique dt { font-weight: 800; color: var(--dark-900); }
.lexique dd { margin: .2rem 0 0; color: var(--muted); font-size: .95rem; }
@media (min-width: 700px) { .lexique { grid-template-columns: 1fr 1fr; } }
.faq-cta { margin-top: 3rem; padding: 1.75rem; background: var(--paper); border-left: 4px solid var(--accent); border-radius: var(--radius); }
.faq-cta h2 { font-size: 1.4rem; }
.faq-cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 0; }

/* Qualité, sécurité, environnement */
.pillar { padding: 1.6rem; }
.pillar__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1rem; color: var(--accent); background: var(--dark-900); border-radius: var(--radius); }
.pillar p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Carrières */
.job { padding: 1.5rem; }
.job > .icon { width: 2rem; height: 2rem; margin-bottom: .8rem; color: var(--teal-700); }
.job p { margin: 0; color: var(--muted); font-size: .95rem; }
.numbered { display: grid; gap: .9rem; counter-reset: n; margin: 0 0 1.25rem; }
.numbered li { position: relative; padding-left: 2.6rem; counter-increment: n; }
.numbered li::before { content: counter(n); position: absolute; left: 0; top: .05rem; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; font-size: .9rem; font-weight: 800; color: var(--dark-950); background: var(--accent); border-radius: 50%; }
.carrieres__note { font-size: .9rem; color: var(--muted); }
.offers { padding: 1.75rem; }
.offers p { color: var(--muted); }
.ticks--ink li { color: var(--ink); }

/* Accueil : zone d'intervention */
.zone { padding: 1.75rem; border-top: 4px solid var(--accent); }
.zone h3 { display: flex; align-items: center; gap: .6rem; }
.zone h3 .icon { color: var(--teal-700); }
.zone__note { margin: 0; color: var(--muted); }

/* Entreprise : mot du dirigeant */
.word { display: grid; gap: 1.75rem; align-items: center; }
.word__photo { display: grid; place-items: center; width: 100%; max-width: 220px; aspect-ratio: 1; color: var(--steel-300); background: var(--dark-800); border-radius: var(--radius); }
.word__photo .icon { width: 3.5rem; height: 3.5rem; }
@media (min-width: 800px) { .word { grid-template-columns: 220px 1fr; gap: 3rem; } }
.quote { margin: 0; padding-left: 1.25rem; border-left: 4px solid var(--accent); }
.quote p { font-size: 1.15rem; line-height: 1.6; }
.quote footer { font-weight: 700; color: var(--muted); }

/* Moyens : organisation, dossier administratif */
.orga { display: grid; gap: 1.25rem; }
.orga__top { position: relative; justify-self: center; min-width: min(100%, 18rem); padding: 1rem 2rem; text-align: center; font-weight: 800; color: var(--white); background: var(--dark-900); border-radius: var(--radius); }
.orga__top span { font-weight: 500; font-size: .9rem; color: var(--steel-300); }
.orga__row { display: grid; gap: .75rem; }
.orga__row li { padding: 1rem; text-align: center; font-weight: 700; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); }
.orga__row span { font-weight: 500; font-size: .9rem; color: var(--muted); }
@media (min-width: 800px) {
  .orga__row { grid-template-columns: repeat(4, 1fr); }
  .orga__top::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 1.25rem; background: var(--line); }
}
.idlist { margin: 0; }
.idlist div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding: .65rem 0; border-top: 1px solid var(--line); }
.idlist dt { font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); align-self: center; }
.idlist dd { margin: 0; font-weight: 600; }
.docs__todo { margin: 1rem 0 0; font-size: .92rem; }

/* Accueil : activité complémentaire ; entreprise : domaines */
.complement { background: var(--white); border-block: 1px solid var(--line); box-shadow: inset 4px 0 0 var(--accent); }
.complement__inner { display: grid; gap: 1rem; align-items: center; padding-block: 1.75rem; }
.complement__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; color: var(--accent); background: var(--dark-900); border-radius: var(--radius); }
.complement__icon .icon { width: 1.6rem; height: 1.6rem; }
.complement h2 { margin: 0 0 .2em; font-size: 1.3rem; }
.complement p { margin: 0; color: var(--muted); }
@media (min-width: 800px) { .complement__inner { grid-template-columns: auto 1fr auto; gap: 1.5rem; } }
.domain { display: flex; flex-direction: column; padding: 1.5rem; }
.domain__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1rem; color: var(--accent); background: var(--dark-900); border-radius: var(--radius); }
.domain p { color: var(--muted); font-size: .95rem; }
.domain .link-arrow { margin-top: auto; }

/* Pages juridiques */
.prose .bullets { display: grid; gap: .4rem; margin: 0 0 1em; padding-left: 1.3rem; list-style: disc; }
.footer__legal { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.map__placeholder a { color: var(--dark-900); font-weight: 700; }
