/* ============================================================
   SECAB — Générateur de succès
   Design sobre d'agence : marine + or, Poppins/Lato,
   cartes blanches, bandes marines, animations discrètes.
   ============================================================ */

:root {
  /* -- Couleurs -- */
  --navy: #1e2f55;      /* panneaux */
  --navy-dark: #0d1c3f; /* couleur du logo SECAB */
  --navy-deep: #0a1630;
  --gold: #e9b84c;
  --gold-dark: #cf9d2e;
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --text: #4a5468;
  --muted: #7b8494;
  --line: #e6e8ee;
  --line-ink: rgba(255, 255, 255, .14);
  --red: #e36a5e;
  --blue: #6fa8dc;

  /* -- Typographies -- */
  --f-title: 'Poppins', system-ui, sans-serif;
  --f-body: 'Lato', system-ui, sans-serif;

  /* -- Rythme -- */
  --max: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 8vw, 6.5rem);
  --radius: 10px;
  --shadow: 0 6px 24px rgba(29, 42, 73, .08);
  --shadow-lg: 0 18px 50px rgba(29, 42, 73, .14);
  --ease: cubic-bezier(.25, .6, .25, 1);
  --dur: .7s;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.03rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--f-title);
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.13rem; }
h1 em, h2 em { font-style: normal; color: var(--gold); }
p { margin: 0 0 1.1em; }
.muted { color: var(--muted); }
.container { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

::selection { background: var(--navy); color: #fff; }

/* ---------- Filet accent (barre dorée sous les titres) ---------- */
.total-rule {
  width: 54px; height: 4px; border: 0; border-radius: 2px;
  background: var(--gold); margin: 1.6rem auto 0;
  transform: scaleX(0); transform-origin: center;
  transition: transform .8s var(--ease);
}
.total-rule.is-in { transform: scaleX(1); }
.total-rule--ink { background: var(--gold); }

/* ---------- Étiquettes ---------- */
.eyebrow {
  display: block;
  font-family: var(--f-title); font-size: .78rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-dark); margin: 0 0 .9rem;
}
.section-dark .eyebrow, .section-navy .eyebrow { color: var(--gold); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-title); font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .95rem 1.7rem; border-radius: 5px;
  border: 2px solid var(--navy); color: var(--navy);
  background: transparent; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s, transform .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-solid { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-solid:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.btn-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn-brass { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); }
.btn-brass:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--navy-dark); }

/* ---------- Bandeau supérieur ---------- */
.topbar {
  background: var(--navy-dark); color: rgba(255,255,255,.78);
  font-family: var(--f-title); font-size: .72rem; letter-spacing: .06em;
}
.topbar-inner { display: flex; justify-content: space-between; gap: 1rem; padding-block: .5rem; }
.topbar a:hover { color: var(--gold); }
.topbar .sep { opacity: .4; margin-inline: .8rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 78px; }
.brand { flex: 0 0 auto; display: flex; align-items: center; }
.brand img { height: 44px; width: auto; }
.site-footer .brand img { height: 40px; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: .6rem .7rem;
  font-family: var(--f-title); font-size: .85rem; font-weight: 500;
  color: var(--navy); white-space: nowrap;
  transition: color .25s;
}
.main-nav a:hover, .main-nav li.current > a { color: var(--gold-dark); }
.nav-phone { display: none; }
.header-cta { flex: 0 0 auto; padding: .75rem 1.4rem; }

/* Sous-menu */
.has-sub { position: relative; }
.has-sub > a::after { content: " ▾"; font-size: .7em; opacity: .6; }
.sub-menu {
  position: absolute; top: calc(100% + 4px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--shadow-lg);
  list-style: none; margin: 0; padding: .5rem;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { font-weight: 500; font-size: .88rem; padding: .5rem .8rem; border-radius: 5px; }
.sub-menu a:hover { background: var(--bg-soft); color: var(--gold-dark); }

/* Burger */
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: .6rem; }
.nav-toggle span {
  display: block; width: 25px; height: 3px; margin: 5px 0; border-radius: 2px;
  background: var(--navy); transition: transform .3s var(--ease), opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Héros (panneau marine + photo à droite) ---------- */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: 560px; background: var(--navy);
  color: #fff; overflow: hidden;
}
.hero-media {
  position: absolute; top: 0; right: 0; bottom: 0; width: 44%;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(38,54,91,.18) 30%, rgba(38,54,91,0) 60%);
}
.hero .container { position: relative; z-index: 2; width: 100%; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.hero h1 { color: #fff; text-transform: uppercase; letter-spacing: .02em; max-width: 15ch; }
.hero .eyebrow { color: var(--gold); }
.hero .lead { max-width: 44ch; font-size: 1.06rem; color: rgba(255,255,255,.85); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* Révélation ligne à ligne du titre */
.line { display: block; overflow: hidden; }
.line-inner { display: block; transform: translateY(110%); transition: transform .85s var(--ease); }
body.loaded .line-inner { transform: none; }
.line:nth-child(2) .line-inner { transition-delay: .1s; }
.line:nth-child(3) .line-inner { transition-delay: .2s; }
.hero [data-hero-fade] {
  opacity: 0; transform: translateY(14px);
  transition: opacity .8s var(--ease) .4s, transform .8s var(--ease) .4s;
}
body.loaded .hero [data-hero-fade] { opacity: 1; transform: none; }

/* Carte de chiffres qui chevauche le héros */
.hero-figures {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 1.9rem 2rem;
  margin-top: clamp(2.4rem, 4vw, 3.6rem);
  margin-bottom: calc(-1 * clamp(2.4rem, 4vw, 3.6rem) - var(--section) * .25);
}
.hero-figures .fig { text-align: center; }
.hero-figures .fig strong {
  display: block; font-family: var(--f-title); font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--gold-dark);
  font-variant-numeric: tabular-nums;
}
.hero-figures .fig span {
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--navy);
}
main + * .hero-figures { margin-bottom: 0; }
.hero:has(.hero-figures) + .section { padding-top: calc(var(--section) * 1.35); }

/* Héros intérieur */
.page-hero { min-height: 380px; }
.page-hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-dark { background: var(--navy-dark); color: rgba(255,255,255,.85); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-navy { background: var(--navy); color: rgba(255,255,255,.85); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-white { background: var(--bg-soft); }
.section-head { max-width: 640px; margin: 0 auto clamp(2.2rem, 4.5vw, 3.4rem); text-align: center; }
.section-head p:not(.eyebrow) { color: var(--muted); }
.section-dark .section-head p:not(.eyebrow),
.section-navy .section-head p:not(.eyebrow) { color: rgba(255,255,255,.7) !important; }

/* ---------- Rangées éditoriales ---------- */
.edit-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding-block: clamp(2rem, 4vw, 3.2rem);
}
.edit-row.reverse .edit-media { order: 2; }
.edit-media { position: relative; }
.edit-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.edit-row h3, .edit-row h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.edit-row .eyebrow { margin-bottom: .5rem; }
.edit-row .lead { color: var(--muted); }
.edit-list { list-style: none; margin: 1.2rem 0 1.6rem; padding: 0; }
.edit-list li { position: relative; padding: .4rem 0 .4rem 1.8rem; font-size: .97rem; }
.edit-list li::before {
  content: ""; position: absolute; left: 0; top: .78rem;
  width: 9px; height: 9px; border-radius: 2px; background: var(--gold);
}
.section-dark .edit-list li::before, .section-navy .edit-list li::before { background: var(--gold); }
.text-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-title); font-size: .8rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark);
}
.text-link .arrow { transition: transform .3s var(--ease); }
.text-link:hover .arrow { transform: translateX(4px); }
.text-link:hover { color: var(--navy); }
.section-dark .text-link, .section-navy .text-link { color: var(--gold); }
.section-dark .text-link:hover, .section-navy .text-link:hover { color: #fff; }

/* ---------- Révélation des images ---------- */
.img-reveal { overflow: hidden; border-radius: var(--radius); }
.img-reveal img { transform: scale(1.06); transition: transform 1s var(--ease); }
.img-reveal.is-in img { transform: scale(1); }
.frame-brass::after { display: none; }

/* ---------- Index des métiers ---------- */
.metier-index {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.metier-list { list-style: none; margin: 0; padding: 0; counter-reset: metier; }
.metier-list a {
  display: flex; align-items: baseline; gap: 1.1rem;
  padding: .85rem .6rem; border-bottom: 1px solid var(--line-ink);
  border-radius: 6px;
  transition: background .3s, padding-left .3s var(--ease);
}
.metier-list li:first-child a { border-top: 1px solid var(--line-ink); }
.metier-list .name {
  font-family: var(--f-title); font-weight: 600;
  font-size: clamp(1.02rem, 1.7vw, 1.25rem); color: #fff;
  transition: color .25s;
}
.metier-list .tag {
  margin-left: auto; font-family: var(--f-title); font-size: .68rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45);
  white-space: nowrap;
}
.metier-list a::before {
  counter-increment: metier;
  content: counter(metier, decimal-leading-zero);
  font-family: var(--f-title); font-size: .72rem; font-weight: 700; color: var(--gold);
}
.metier-list a:hover { padding-left: 1.2rem; background: rgba(255,255,255,.05); }
.metier-list a:hover .name { color: var(--gold); }
.metier-visual { position: sticky; top: 120px; margin: 0; }
.metier-visual .visual-frame { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.metier-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transform: scale(1.04);
  transition: opacity .45s var(--ease), transform .7s var(--ease);
}
.metier-visual img.active { opacity: 1; transform: scale(1); }
.metier-visual figcaption {
  font-family: var(--f-title); font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-top: .9rem; text-align: center;
}

/* ---------- Chiffres ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.stat {
  background: rgba(255,255,255,.05); border: 1px solid var(--line-ink);
  border-radius: var(--radius); padding: 1.7rem 1.4rem; text-align: center;
}
.stat .num {
  font-family: var(--f-title); font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.1;
  color: var(--gold); font-variant-numeric: tabular-nums;
}
.stat .label { margin-top: .5rem; font-size: .82rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.65); }

/* ---------- Cycle / étapes ---------- */
.cycle { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.cycle .step {
  background: rgba(255,255,255,.05); border: 1px solid var(--line-ink);
  border-radius: var(--radius); padding: 1.8rem 1.6rem;
}
.cycle .n {
  display: inline-block;
  font-family: var(--f-title); font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--navy-dark);
  background: var(--gold); border-radius: 4px; padding: .25rem .6rem;
}
.cycle h3 { margin: .95rem 0 .45rem; }
.cycle p { color: rgba(255,255,255,.72); font-size: .95rem; margin: 0; }
.cycle-paper .step { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.cycle-paper p { color: var(--muted); }
@media (max-width: 720px) { .cycle { grid-template-columns: 1fr; } }

/* ---------- Cartes ---------- */
.panel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.9rem 1.7rem; display: flex; flex-direction: column; gap: .35rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.panel:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.panel h3 { margin-bottom: .3rem; }
.panel p { color: var(--muted); font-size: .94rem; margin: 0; }
.panel .text-link { margin-top: auto; padding-top: 1.2rem; }
.panel-num {
  display: inline-block; width: fit-content;
  font-family: var(--f-title); font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; color: var(--navy);
  background: rgba(233,184,76,.25); border-radius: 4px;
  padding: .22rem .55rem; margin-bottom: .9rem;
}

/* ---------- Manifeste ---------- */
.manifesto {
  font-family: var(--f-title); font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.4;
  color: var(--navy); max-width: 24ch; margin: 0;
}
.manifesto em { color: var(--gold-dark); font-style: normal; }

/* ---------- Chronologie ---------- */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; }
.timeline li {
  display: grid; grid-template-columns: 150px 1fr; gap: 1.4rem;
  padding: 1.15rem 0; border-bottom: 1px solid var(--line);
}
.timeline .year { font-family: var(--f-title); font-weight: 700; color: var(--gold-dark); font-size: .95rem; }
.timeline p { margin: 0; }
.section-dark .timeline li, .section-navy .timeline li { border-color: var(--line-ink); }
.section-dark .timeline .year, .section-navy .timeline .year { color: var(--gold); }
.section-dark .timeline p, .section-navy .timeline p { color: rgba(255,255,255,.78); }

/* ---------- Cabinets ---------- */
.cabinet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.cabinet {
  border: 1px solid var(--line); background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.4rem;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.cabinet:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cabinet h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.cabinet p { font-size: .86rem; color: var(--muted); margin: 0; }
.cabinet .dept {
  display: inline-block; font-family: var(--f-title); font-size: .64rem; font-weight: 700;
  letter-spacing: .14em; color: var(--navy);
  background: rgba(233,184,76,.25); border-radius: 4px;
  padding: .18rem .5rem; margin-bottom: .7rem;
}

/* ---------- Cabinets : fiche interactive ---------- */
.cabinet-grid--interactive .cabinet { cursor: pointer; user-select: none; }
.cabinet-grid--interactive .cabinet:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 3px; }
.cabinet.active { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold), var(--shadow-lg); transform: none; }
.cab-more {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: .9rem;
  font-family: var(--f-title); font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark);
}
.cab-plus {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold); color: var(--navy-dark); font-size: .95rem;
  transition: transform .3s var(--ease);
}
.cabinet.active .cab-plus { transform: rotate(45deg); }
.cabinet.active .cab-more::before { content: "Fermer la fiche"; }
.cabinet.active .cab-more { font-size: 0; }
.cabinet.active .cab-more::before { font-size: .72rem; }
.cabinet.active .cab-plus { font-size: .95rem; }

.cabinet-detail {
  grid-column: 1 / -1; position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .55s var(--ease), opacity .45s var(--ease), margin .45s;
  margin-block: 0;
}
.cabinet-detail.open { max-height: 1200px; opacity: 1; margin-block: .4rem .6rem; }
.cd-close {
  position: absolute; top: .9rem; right: .9rem; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-size: 1.3rem; line-height: 1; color: var(--navy);
  transition: background .25s, color .25s, transform .25s;
}
.cd-close:hover { background: var(--navy); color: #fff; transform: rotate(90deg); }
.cd-grid {
  display: grid; grid-template-columns: .9fr 1.1fr .9fr; gap: 0;
  min-height: 380px;
}
.cd-media { position: relative; overflow: hidden; border-radius: var(--radius) 0 0 var(--radius); }
.cd-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cd-info { padding: 2.2rem 2.2rem 2rem; }
.cd-info .dept {
  display: inline-block; font-family: var(--f-title); font-size: .64rem; font-weight: 700;
  letter-spacing: .14em; color: var(--navy);
  background: rgba(233,184,76,.25); border-radius: 4px;
  padding: .18rem .5rem; margin-bottom: .8rem;
}
.cd-info h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.cd-list { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.cd-list li {
  display: grid; grid-template-columns: 96px 1fr; gap: .9rem;
  padding: .6rem 0; border-bottom: 1px solid var(--line);
  font-size: .93rem;
}
.cd-list strong {
  font-family: var(--f-title); font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark);
  padding-top: .15rem;
}
.cd-list a { color: var(--navy); font-weight: 700; }
.cd-list a:hover { color: var(--gold-dark); }
.cd-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.cd-tags span {
  font-family: var(--f-title); font-size: .7rem; font-weight: 600;
  letter-spacing: .05em; color: var(--navy);
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 999px; padding: .32rem .85rem;
}
.cd-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.cd-actions .btn { padding: .8rem 1.3rem; font-size: .72rem; }
.cd-map { border-radius: 0 var(--radius) var(--radius) 0; overflow: hidden; }
.cd-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

@media (max-width: 1080px) {
  .cd-grid { grid-template-columns: 1fr 1fr; }
  .cd-media { display: none; }
}
@media (max-width: 720px) {
  .cd-grid { grid-template-columns: 1fr; min-height: 0; }
  .cd-map { border-radius: 0 0 var(--radius) var(--radius); }
  .cd-map iframe { min-height: 260px; }
  .cd-info { padding: 1.7rem 1.4rem 1.5rem; }
  .cabinet-detail.open { max-height: 1400px; }
}

/* ---------- Bande CTA ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 26ch; margin-inline: auto; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.2rem; }
.cta-band .sub { color: rgba(255,255,255,.7); max-width: 54ch; margin-inline: auto; }
.cta-band .eyebrow { text-align: center; }

/* ---------- Formulaires ---------- */
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block; font-family: var(--f-title); font-size: .74rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--navy);
  margin-bottom: .45rem;
}
.field input, .field select, .field textarea {
  width: 100%; padding: .9rem 1rem;
  border: 1px solid var(--line); border-radius: 6px;
  background: #fff; font: inherit; color: var(--text);
  transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(233,184,76,.2);
}
textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: .84rem; color: var(--muted); }
.form-success {
  border: 1px solid var(--gold); background: rgba(233,184,76,.12); border-radius: 6px;
  padding: 1.1rem 1.3rem; margin-top: 1rem; font-size: .95rem; color: var(--navy);
}

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); }
.contact-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.contact-list li { padding: .85rem 0; border-bottom: 1px solid var(--line); display: flex; gap: 1rem; }
.contact-list .k {
  font-family: var(--f-title); font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark);
  min-width: 92px; padding-top: .3rem;
}

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); margin-bottom: .85rem; overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.15rem 3.2rem 1.15rem 1.4rem;
  font-family: var(--f-title); font-weight: 600; font-size: 1rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.3rem; top: 50%;
  transform: translateY(-50%); color: var(--gold-dark);
  font-family: var(--f-title); font-weight: 600; font-size: 1.35rem;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq-a { padding: 0 1.4rem 1.3rem; color: var(--muted); }

/* ---------- Révélations au scroll ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: calc(var(--stagger, 0) * 80ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-parallax] { will-change: transform; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.7); }
.footer-sign { padding-block: clamp(2.8rem, 5vw, 4rem) 0; }
.footer-sign p {
  font-family: var(--f-title); font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #fff; line-height: 1.25; max-width: 20ch; margin: 0;
}
.footer-sign em { color: var(--gold); font-style: normal; }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2.2rem; padding-block: clamp(2.2rem, 4vw, 3.2rem);
  border-bottom: 1px solid var(--line-ink); margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line-ink);
}
.footer-grid .foot-title {
  font-family: var(--f-title); font-weight: 700; font-size: .74rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.1rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .5rem; font-size: .92rem; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-block: 1.3rem 1.6rem;
  font-size: .78rem; color: rgba(255,255,255,.45);
}
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Accessibilité ---------- */
:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .line-inner, .hero [data-hero-fade], [data-reveal], .img-reveal img, .total-rule { transition: none !important; transform: none !important; opacity: 1 !important; }
  [data-parallax] { transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cabinet-grid { grid-template-columns: repeat(3, 1fr); }
  .panel-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; z-index: 98;
    background: #fff;
    padding: 120px var(--gutter) 3rem; overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform .3s var(--ease), visibility .3s;
  }
  .site-header.nav-open .main-nav { transform: none; visibility: visible; }
  .main-nav > ul { flex-direction: column; gap: 0; }
  .main-nav a {
    font-size: 1.15rem; font-weight: 600; padding: .95rem .2rem;
    border-bottom: 1px solid var(--line); white-space: normal;
  }
  .main-nav a:hover, .main-nav li.current > a { color: var(--gold-dark); }
  .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 .5rem 1.1rem; background: transparent;
  }
  .sub-menu a { font-size: .98rem; font-weight: 500; padding: .5rem .2rem; border-bottom: 0; }
  .header-cta { display: none; }
  .nav-phone { display: block; margin-top: 1.5rem; }
  .nav-phone a {
    border: 0; background: var(--gold); color: var(--navy-dark);
    text-align: center; font-size: .85rem !important;
    letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
    border-radius: 6px; padding: 1rem !important;
  }
  body.nav-locked { overflow: hidden; }

  .hero { min-height: 0; }
  .hero-media { position: relative; width: 100%; height: 260px; order: -1; }
  .hero-media::after { background: linear-gradient(0deg, var(--navy) 0%, rgba(38,54,91,0) 45%); }
  .hero { flex-direction: column; align-items: stretch; }
  .hero .container { padding-block: 2.4rem 3rem; }
  .hero-figures { grid-template-columns: 1fr 1fr; padding: 1.4rem; margin-bottom: 0; }
  .hero:has(.hero-figures) + .section { padding-top: var(--section); }

  .edit-row { grid-template-columns: 1fr; gap: 1.6rem; }
  .edit-row.reverse .edit-media { order: 0; }
  .metier-index { grid-template-columns: 1fr; }
  .metier-visual { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .topbar-inner { justify-content: center; }
  .topbar .hide-mobile { display: none; }
  .panel-grid { grid-template-columns: 1fr; }
  .cabinet-grid { grid-template-columns: 1fr 1fr; }
  .timeline li { grid-template-columns: 92px 1fr; gap: 1rem; }
  form .row { grid-template-columns: 1fr; }
  .hero .actions .btn { width: 100%; justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  .stats { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .cabinet-grid { grid-template-columns: 1fr; }
  .hero-figures { grid-template-columns: 1fr 1fr; }
}
