/* ==========================================================================
   ELE Express & Conseils
   ========================================================================== */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('/assets/fonts/sora-latin.woff2') format('woff2');
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Couleurs */
  --navy-950: #061838;
  --navy-900: #071f4f;
  --navy-800: #0b2f73;
  --blue-600: #0d4db3;
  --blue-100: #dce8fb;
  --blue-50: #eef4ff;
  --bg: #ffffff;
  --bg-soft: #f4f7fd;
  --ink: #14203a;
  --muted: #4a5670;
  --line: #dbe4f3;
  --accent: #f25a2a;        /* fonds, éléments décoratifs */
  --accent-btn: #cf4416;    /* boutons avec texte blanc (contraste ≥ 4,5:1) */
  --accent-text: #b83a10;   /* petits textes orange sur fond clair */
  --accent-light: #ffb08a;  /* textes orange sur fond foncé */
  --success: #146c43;
  --danger: #b42318;

  /* Formes */
  --r-sm: 10px;
  --r-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(7, 31, 79, 0.06), 0 4px 14px rgba(7, 31, 79, 0.06);
  --shadow-lg: 0 18px 44px rgba(7, 31, 79, 0.14);

  /* Typo */
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-head: 'Sora', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --container: 1160px;
  --gutter: 20px;
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: var(--navy-800);
}
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.25rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }

a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }

ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--r-sm);
  font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

main:focus { outline: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  font: 700 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 0.9375rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: var(--navy-800); color: #fff; }

.btn-accent { background: var(--accent-btn); color: #fff; box-shadow: 0 8px 22px rgba(207, 68, 22, 0.28); }
.btn-accent:hover { background: var(--accent-text); color: #fff; transform: translateY(-1px); }

.btn-ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { background: #fff; color: var(--navy-800); border-color: #fff; }

.btn[disabled] { opacity: 0.7; cursor: progress; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand-link { text-decoration: none; display: inline-flex; border-radius: var(--r-sm); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand picture { flex: none; }
.brand img { width: 46px; height: 46px; max-width: none; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 700 1.75rem/1 var(--font-head); color: var(--blue-600); letter-spacing: 0.02em; }
.brand-sub { margin-top: 5px; font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-sub { color: var(--accent-light); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav ul a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
}
.site-nav ul a:hover { color: var(--blue-600); background: var(--blue-50); }

.menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--navy-800);
  font: 700 0.9375rem var(--font-body);
  cursor: pointer;
}
.menu-btn .menu-close { display: none; }
.menu-btn[aria-expanded='true'] .menu-open { display: none; }
.menu-btn[aria-expanded='true'] .menu-close { display: inline; }

@media (max-width: 959px) {
  .menu-btn { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px var(--gutter) 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { width: 100%; min-height: 48px; font-size: 1rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 5vw + 40px, 112px); }
.section-soft { background: var(--bg-soft); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; max-width: 760px; }
.section-head h2 { margin-bottom: 0.35em; }
.kicker {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.kicker-light { color: var(--accent-light); }
.lead { font-size: 1.0625rem; color: var(--muted); margin-bottom: 0; }
.note { font-size: 0.875rem; color: var(--muted); margin-top: 24px; margin-bottom: 0; max-width: 760px; }

.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: var(--blue-50);
  color: var(--blue-600);
  flex: none;
}
.icon-tile .icon { width: 24px; height: 24px; }
.icon-tile-accent { background: #fff0e9; color: var(--accent-text); }
.icon-tile-lg { width: 64px; height: 64px; }
.icon-tile-lg .icon { width: 32px; height: 32px; }
svg.icon-tile { padding: 12px; width: 44px; height: 44px; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; }
/* La photo reste derrière le contenu et ne capte jamais les clics */
.hero picture { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero-bg { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero-content { position: relative; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(6, 24, 56, 0.92) 0%, rgba(7, 31, 79, 0.78) 45%, rgba(7, 31, 79, 0.35) 100%);
}
.hero-content { padding-block: clamp(80px, 9vw, 136px) clamp(56px, 6vw, 88px); max-width: var(--container); }
.hero-kicker { font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 18px; }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: 20px; }
.hero h1 .hl {
  display: inline;
  padding: 0 0.18em;
  background: var(--accent);
  border-radius: 8px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero-text { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); max-width: 56ch; color: #e3ebfa; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.2); max-width: 640px; color: #cdd9f1; font-size: 0.9375rem; }
.hero-facts strong { display: block; font: 700 1.75rem/1.1 var(--font-head); color: #fff; }

/* ---------- Cartes secteurs ---------- */
.sector-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
@media (min-width: 900px) { .sector-grid { grid-template-columns: repeat(3, 1fr); } }
.sector-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.sector-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.sector-photo { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--blue-50); }
.sector-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.sector-card:hover .sector-photo img { transform: scale(1.04); }
.sector-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.sector-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.sector-icon { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--blue-50); color: var(--blue-600); flex: none; }
.sector-icon .icon { width: 18px; height: 18px; }
.sector-card p { color: var(--muted); font-size: 0.9375rem; margin-bottom: 16px; }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ''; position: absolute; inset: 0; border-radius: var(--r-lg); }
.card-link:focus-visible { outline: none; }
.card-link:focus-visible::after { outline: 3px solid var(--accent); outline-offset: 3px; }
.card-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.9375rem; color: var(--blue-600); }
.card-more .icon { width: 16px; height: 16px; transition: transform 0.2s; }
.sector-card:hover .card-more .icon { transform: translateX(3px); }
/* Carte seule sur la dernière ligne : pleine largeur, photo à gauche */
@media (min-width: 900px) {
  .sector-card:last-child:nth-child(3n + 1) { grid-column: 1 / -1; flex-direction: row; }
  .sector-card:last-child:nth-child(3n + 1) .sector-photo { flex: none; width: calc((100% - 40px) / 3); }
  .sector-card:last-child:nth-child(3n + 1) .sector-body { justify-content: center; padding: 28px 32px; }
  .sector-card:last-child:nth-child(3n + 1) .card-more { margin-top: 0; }
}

/* ---------- Méthode ---------- */
.method-layout { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .method-layout { grid-template-columns: 1fr 1fr; gap: 64px; } }
.method-photo { display: block; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.method-photo img { width: 100%; height: 100%; object-fit: cover; }
.steps-list { display: grid; gap: 4px; margin-top: 24px; }
.steps-list li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps-list li:last-child { border-bottom: 0; }
.steps-list h3 { margin: 4px 0 4px; }
.steps-list p { margin: 0; color: var(--muted); }
.step-badge { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--navy-800); color: #fff; font: 700 1rem var(--font-head); }

/* ---------- Marques ---------- */
.brand-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.brand-filter button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: 600 0.9375rem var(--font-body);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.brand-filter button:hover { border-color: var(--blue-600); color: var(--blue-600); }
.brand-filter button[aria-selected='true'] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.brand-filter .count { font-size: 0.8125rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--blue-50); color: var(--navy-800); }
.brand-filter button[aria-selected='true'] .count { background: rgba(255, 255, 255, 0.18); color: #fff; }

#brand-panel { border-radius: var(--r-lg); }
.brand-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.brand-grid li {
  display: grid;
  place-items: center;
  min-height: 64px;
  padding: 10px 12px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font: 600 0.9375rem/1.25 var(--font-head);
  color: var(--navy-800);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.brand-grid li:hover { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.brand-grid li[hidden] { display: none; }
@media (max-width: 599px) {
  .brand-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .brand-grid li { min-height: 56px; padding: 8px 6px; font-size: 0.8125rem; }
  .brand-filter { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .brand-filter::-webkit-scrollbar { display: none; }
  .brand-filter button { flex: none; }
}

/* ---------- À propos ---------- */
.about-layout { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .about-layout { grid-template-columns: 1.2fr 1fr; gap: 64px; } }
.about-layout p { color: var(--muted); font-size: 1.0625rem; }
.about-quote {
  margin: 0;
  padding: 40px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600));
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.about-quote blockquote { margin: 0; }
.about-quote blockquote p {
  margin: 0;
  font: 600 clamp(1.25rem, 1rem + 1vw, 1.625rem)/1.4 var(--font-head);
  color: #fff;
  text-wrap: balance;
}
.about-quote blockquote p::before { content: '« '; color: var(--accent-light); }
.about-quote blockquote p::after { content: ' »'; color: var(--accent-light); }
.about-quote figcaption { margin-top: 20px; font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-light); }

/* ---------- Bandeau d'appel ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--blue-600) 100%); color: #fff; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding-block: 56px; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; color: #d6e2f8; font-size: 1.0625rem; max-width: 52ch; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 1fr 1.25fr; gap: 64px; } }
.contact-copy .lead { margin-bottom: 32px; }
.contact-list { display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.contact-list strong { display: block; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list span { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.contact-list a { display: inline-block; padding-block: 4px; text-decoration: none; color: var(--blue-600); }
.contact-list a:hover { text-decoration: underline; }

.contact-form { padding: clamp(24px, 3vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 0.9375rem; color: var(--ink); }
.req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid #c5d2e8;
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  font: 400 1rem/1.4 var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2f73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 44px; }
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #6b7790; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(13, 77, 179, 0.15); }
.field [aria-invalid='true'] { border-color: var(--danger); }
.field-error { margin: 6px 0 0; font-size: 0.875rem; font-weight: 600; color: var(--danger); }
.form-legal { font-size: 0.8125rem; color: var(--muted); margin-bottom: 20px; }
.field-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-feedback { margin: 16px 0 0; font-weight: 600; border-radius: var(--r-sm); }
.form-feedback:empty { display: none; }
.form-feedback.is-success { padding: 14px 16px; background: #e8f5ee; color: var(--success); }
.form-feedback.is-error { padding: 14px 16px; background: #fdecea; color: var(--danger); }
.form-feedback:focus { outline: none; }

/* ---------- Pages intérieures ---------- */
.page-hero { background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--blue-600) 100%); color: #fff; padding-block: 48px 64px; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero .lead { color: #d6e2f8; max-width: 62ch; margin-bottom: 28px; }
.page-hero-compact { padding-block: 40px 48px; }
.page-hero-compact h1 { margin: 0; }
.page-hero .icon-tile { background: rgba(255, 255, 255, 0.12); color: #fff; margin-bottom: 16px; }
.sector-hero { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .sector-hero { grid-template-columns: 1fr 1fr; gap: 56px; } }
.sector-hero .lead strong { color: #fff; }
.sector-hero-photo { display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.sector-hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.breadcrumb { margin-bottom: 28px; font-size: 0.875rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li { display: inline-flex; align-items: center; color: #c3d2ee; }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; color: #8ea6d3; }
.breadcrumb a { display: inline-block; padding-block: 8px; color: #fff; }

.sector-layout { display: grid; gap: 40px; }
@media (min-width: 900px) { .sector-layout { grid-template-columns: 1.4fr 1fr; gap: 64px; } }
.check-list { display: grid; gap: 12px; margin-top: 8px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; font-weight: 600; }
.check-list .icon { color: var(--success); margin-top: 3px; }
.side-card { padding: 28px; border-radius: var(--r-lg); background: var(--bg-soft); border: 1px solid var(--line); align-self: start; }
.side-card p { color: var(--muted); }
.side-title { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0 0 14px; }
.side-card .side-title:not(:first-child) { margin-top: 28px; }
.brand-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-chips li { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 600 0.875rem var(--font-head); color: var(--navy-800); }
.mini-steps { counter-reset: s; display: grid; gap: 10px; }
.mini-steps li { counter-increment: s; display: flex; gap: 12px; align-items: center; font-weight: 600; }
.mini-steps li::before { content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy-800); color: #fff; font-size: 0.8125rem; flex: none; }

.sector-links { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.sector-links img { width: 72px; height: 48px; object-fit: cover; border-radius: 6px; flex: none; }
.sector-links a { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--navy-800); font-weight: 700; text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s; }
.sector-links a:hover { border-color: var(--blue-600); box-shadow: var(--shadow-sm); }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.375rem; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink); }
mark.todo { background: #fff3b0; color: #6b4e00; padding: 1px 6px; border-radius: 4px; font-weight: 700; }

.not-found { padding-block: 96px 120px; }
.not-found .lead { margin-bottom: 32px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-950); color: #c3d0ea; font-size: 0.9375rem; }
.footer-grid { display: grid; gap: 40px; padding-block: 64px 48px; }
@media (min-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1.1fr 0.8fr 1.5fr; } }
.footer-about p { margin-top: 18px; max-width: 34ch; }
.footer-title { font: 800 0.8125rem var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.site-footer a { color: #e2eafa; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer nav li a { display: inline-flex; align-items: center; min-height: 36px; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--accent-light); }
.footer-contact a { overflow-wrap: break-word; min-width: 0; }
.footer-social { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 16px; font-size: 0.875rem; }
.footer-meta p { margin: 0; padding-block: 12px; }
.footer-meta ul { display: flex; flex-wrap: wrap; gap: 0 24px; }
.footer-meta a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Animations ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
.reveal-group .reveal:nth-child(3n + 2) { transition-delay: 0.08s; }
.reveal-group .reveal:nth-child(3n + 3) { transition-delay: 0.16s; }

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

@media (max-width: 599px) {
  :root { --gutter: 16px; --header-h: 64px; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 1.5rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px; font-size: 0.8125rem; line-height: 1.35; }
  .hero-facts strong { font-size: 1.5rem; margin-bottom: 4px; }
  .sector-grid { gap: 12px; }
  .sector-card { flex-direction: row; }
  .sector-photo { flex: none; width: 112px; aspect-ratio: auto; }
  .sector-body { padding: 14px 16px; }
  .sector-icon { display: none; }
  .sector-card h3 { font-size: 1rem; margin-bottom: 4px; }
  .sector-card p { margin: 0; font-size: 0.875rem; }
  .sector-card .card-more { display: none; }
  .section-head { margin-bottom: 28px; }
  .about-quote { padding: 28px; }
  .cta-inner .btn { width: 100%; }
}

@media print {
  .site-header, .menu-btn, .hero picture, .cta-band, .contact-form { display: none !important; }
  .hero, .page-hero { color: #000; background: none; }
}
