@charset "UTF-8";

/* ====================================================
   POLICES — Auto-hébergées (conformité Loi 25)
   Exécuter download-fonts.ps1 à la racine du projet
   pour télécharger les fichiers dans assets/fonts/
   ==================================================== */

@font-face {
  font-family: 'Tenor Sans';
  src: url('../assets/fonts/tenor-sans-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow Condensed';
  src: url('../assets/fonts/barlow-condensed-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow Condensed';
  src: url('../assets/fonts/barlow-condensed-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}


/* ====================================================
   ESSORS INC. — Système de design
   Version 1.0 | Juin 2025
   Standards : WCAG 2.1 AA, Core Web Vitals, HTML5 sémantique
   ====================================================

   TABLE DES MATIÈRES
   ──────────────────
   01. Variables CSS (design tokens)
   02. Reset moderne
   03. Typographie de base
   04. Mise en page — Conteneurs
   05. Composants — Boutons
   06. Composants — Liens et flèches
   07. Composants — Étiquettes de section
   08. Header et navigation principale
   09. Navigation mobile
   10. Bannière de consentement cookie
   11. Lien d'évitement (accessibilité)
   12. Hero
   13. Bande d'introduction
   14. Volets clientèles
   15. Services phares
   16. Section différenciateurs
   17. Bande CTA
   18. Contact rapide (pied de page accueil)
   19. Footer
   20. En-têtes de pages intérieures
   21. Page Contact — Formulaire
   22. Pages légales
   23. Messages d'état (succès / erreur)
   24. Focus visible et accessibilité
   25. Responsive — Tablette (≤ 1024px)
   26. Responsive — Mobile (≤ 768px)
   27. Responsive — Très petit (≤ 480px)
   28. prefers-reduced-motion
   29. Impression
   ==================================================== */


/* ====================================================
   01. VARIABLES CSS — DESIGN TOKENS
   ==================================================== */

:root {

  /* Couleurs principales */
  --c-marine:         #0D1540;   /* Bleu marine ESSORS — autorité, titres */
  --c-marine-dark:    #080E2A;   /* Marine très foncé — footer, sections sombres */
  --c-rouge:          #8B1A15;   /* Rouge cramoisi ESSORS — arbre logo, CTAs */
  --c-rouge-hover:    #6E1410;   /* Rouge foncé — état hover */
  --c-vert:           #4E7B26;   /* Vert ESSORS — icônes positifs, check marks */
  --c-brun:           #613010;   /* Brun ESSORS — accents chaleureux */

  /* Neutrals */
  --c-fond:           #F7F6F3;   /* Fond principal — blanc cassé chaud */
  --c-fond-section:   #EDECE9;   /* Fond section alternée */
  --c-blanc:          #FFFFFF;
  --c-texte:          #2A2A2A;   /* Corps de texte principal */
  --c-texte-sec:      #6B6B6B;   /* Texte secondaire */
  --c-separateur:     #DAD9D9;   /* Bordures et séparateurs */

  /* Typographies */
  --font-heading:     'Tenor Sans', Georgia, 'Times New Roman', serif;
  --font-ui:          'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body:        system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Échelle typographique fluide */
  --text-display:     clamp(2.625rem, 5.5vw, 4.75rem);
  --text-h1:          clamp(2.25rem, 4.5vw, 3.875rem);
  --text-h2:          clamp(1.75rem, 3vw, 2.75rem);
  --text-h3:          clamp(1.25rem, 2vw, 1.625rem);
  --text-h4:          clamp(1.0625rem, 1.5vw, 1.25rem);
  --text-label:       0.75rem;
  --text-body:        1rem;
  --text-body-lg:     1.125rem;
  --text-small:       0.875rem;

  /* Espacement — base 8px */
  --sp-1:   0.5rem;    /*  8px */
  --sp-2:   1rem;      /* 16px */
  --sp-3:   1.5rem;    /* 24px */
  --sp-4:   2rem;      /* 32px */
  --sp-5:   3rem;      /* 48px */
  --sp-6:   4rem;      /* 64px */
  --sp-7:   5rem;      /* 80px */
  --sp-8:   6rem;      /* 96px */
  --sp-9:   7.5rem;    /* 120px */
  --sp-10:  9rem;      /* 144px */

  /* Rayons */
  --r-sm:   3px;
  --r-md:   6px;
  --r-lg:   12px;

  /* Ombres */
  --shadow-sm: 0 1px 4px rgba(13, 21, 64, 0.07);
  --shadow-md: 0 4px 20px rgba(13, 21, 64, 0.11);
  --shadow-lg: 0 8px 40px rgba(13, 21, 64, 0.15);

  /* Transitions */
  --tr-base:  150ms ease;
  --tr-slow:  300ms ease;

  /* Dimensions */
  --header-h:     80px;
  --sidebar-w:    250px;
  --scroll-offset: 0px;
  --container-w:  1360px;
  --content-w:    900px;
}


/* ====================================================
   02. RESET MODERNE
   ==================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--c-texte);
  background-color: var(--c-fond);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

input, button, textarea, select {
  font: inherit;
}

ul[role="list"], ol[role="list"] {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

address {
  font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--c-marine);
}


/* ====================================================
   03. TYPOGRAPHIE DE BASE
   ==================================================== */

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); }

p { max-width: 68ch; }

p + p { margin-top: var(--sp-2); }

strong { font-weight: 600; }

small { font-size: var(--text-small); }


/* ====================================================
   04. MISE EN PAGE — CONTENEURS
   ==================================================== */

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

.container--narrow {
  max-width: var(--content-w);
}

.section-padding {
  padding-block: var(--sp-9);
}

.section-padding--sm {
  padding-block: var(--sp-6);
}


/* ====================================================
   05. COMPOSANTS — BOUTONS
   ==================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.875rem var(--sp-4);
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color var(--tr-base),
              color var(--tr-base),
              border-color var(--tr-base),
              transform var(--tr-base),
              box-shadow var(--tr-base);
  text-decoration: none;
  white-space: nowrap;
  min-height: 52px;
}

.btn:focus-visible {
  outline: 3px solid var(--c-rouge);
  outline-offset: 3px;
}

/* Primaire — Rouge plein */
.btn--primary {
  background-color: var(--c-rouge);
  color: var(--c-blanc);
  border-color: var(--c-rouge);
}
.btn--primary:hover {
  background-color: var(--c-rouge-hover);
  border-color: var(--c-rouge-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Secondaire — Marine plein */
.btn--secondary {
  background-color: var(--c-marine);
  color: var(--c-blanc);
  border-color: var(--c-marine);
}
.btn--secondary:hover {
  background-color: var(--c-marine-dark);
  border-color: var(--c-marine-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Outlined blanc (sur fond sombre) */
.btn--outline {
  background-color: transparent;
  color: var(--c-blanc);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--c-blanc);
  transform: translateY(-2px);
}

/* Blanc plein (sur fond rouge ou sombre) */
.btn--white {
  background-color: var(--c-blanc);
  color: var(--c-marine);
  border-color: var(--c-blanc);
}
.btn--white:hover {
  background-color: var(--c-fond);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Outlined marine (sur fond clair) */
.btn--outline-marine {
  background-color: transparent;
  color: var(--c-marine);
  border-color: var(--c-marine);
}
.btn--outline-marine:hover {
  background-color: var(--c-marine);
  color: var(--c-blanc);
  transform: translateY(-2px);
}


/* ====================================================
   06. COMPOSANTS — LIENS ET FLÈCHES
   ==================================================== */

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-family: var(--font-ui);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: inherit;
  transition: gap var(--tr-base);
}

.link-arrow::after {
  content: '→';
  font-family: var(--font-body);
  font-size: 1rem;
  transition: transform var(--tr-base);
}

.link-arrow:hover { gap: calc(var(--sp-1) + 4px); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.link-inline {
  color: var(--c-rouge);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--tr-base);
}
.link-inline:hover { color: var(--c-rouge-hover); }
.link-inline:focus-visible {
  outline: 3px solid var(--c-rouge);
  outline-offset: 2px;
  border-radius: 2px;
}


/* ====================================================
   07. COMPOSANTS — ÉTIQUETTES DE SECTION
   ==================================================== */

.eyebrow {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-rouge);
  margin-bottom: var(--sp-2);
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.55);
}

.section-header {
  margin-bottom: var(--sp-7);
}

.section-header h2 {
  max-width: 20ch;
}

.divider {
  width: 40px;
  height: 2px;
  background-color: var(--c-rouge);
  margin-top: var(--sp-3);
}

.divider--light {
  background-color: rgba(255, 255, 255, 0.35);
}


/* ====================================================
   08. HEADER ET NAVIGATION PRINCIPALE
   ==================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-w);
  height: 100vh;
  z-index: 900;
  background-color: var(--c-fond);
  border-right: 1px solid var(--c-separateur);
  overflow-y: auto;
  overflow-x: hidden;
  transition: box-shadow var(--tr-slow);
}

.site-header.is-scrolled {
  box-shadow: 2px 0 12px rgba(13, 21, 64, 0.08);
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-4);
  min-height: 100%;
  padding: var(--sp-5) var(--sp-3) var(--sp-4);
}

/* Logo */
.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 44px;
  width: auto;
}

/* Navigation principale */
.nav-primary {
  flex: 1;
  display: flex;
  width: 100%;
}

.nav-primary ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  list-style: none;
  width: 100%;
}

.nav-primary > ul > li {
  width: 100%;
}

.nav-primary a {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.55rem var(--sp-2);
  font-family: var(--font-ui);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-marine);
  border-radius: var(--r-sm);
  transition: color var(--tr-base), background-color var(--tr-base);
  position: relative;
}

.nav-primary a::after {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 2px;
  background-color: var(--c-rouge);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--tr-base);
  border-radius: 2px;
}

.nav-primary a:hover,
.nav-primary a[aria-current="page"] {
  color: var(--c-rouge);
  background-color: rgba(196, 68, 64, 0.06);
}

.nav-primary a:hover::after,
.nav-primary a[aria-current="page"]::after {
  transform: scaleY(1);
}

.nav-primary a:focus-visible {
  outline: 3px solid var(--c-rouge);
  outline-offset: 2px;
}

/* Actions header (téléphone + portail) */
.header-actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-top: auto;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-separateur);
  width: 100%;
}

.header-phone {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--c-marine);
  transition: color var(--tr-base);
}

.header-phone:hover { color: var(--c-rouge); }

.header-phone:focus-visible {
  outline: 3px solid var(--c-rouge);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* Bouton portail client */
.btn-portal {
  font-family: var(--font-ui);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-marine);
  border: 1.5px solid var(--c-marine);
  border-radius: var(--r-sm);
  padding: 0.5rem var(--sp-2);
  transition: background-color var(--tr-base), color var(--tr-base);
  white-space: nowrap;
  width: 100%;
  text-align: center;
}

.btn-portal:hover {
  background-color: var(--c-marine);
  color: var(--c-blanc);
}

.btn-portal:focus-visible {
  outline: 3px solid var(--c-rouge);
  outline-offset: 3px;
}

/* Sélecteur de langue FR | EN */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-right: 0.25rem;
}

.lang-link {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-texte-sec);
  text-decoration: none;
  padding: 0.125rem 0.25rem;
  border-radius: var(--r-sm);
  transition: color var(--tr-base);
  line-height: 1;
}

.lang-link:hover,
.lang-link--active {
  color: var(--c-marine);
}

.lang-link--active {
  pointer-events: none;
}

.lang-sep {
  color: var(--c-separateur);
  font-size: 0.75rem;
  line-height: 1;
  -webkit-user-select: none;
  user-select: none;
}

/* Bouton hamburger mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-1);
  border-radius: var(--r-sm);
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--c-marine);
  border-radius: 2px;
  transition: transform var(--tr-slow), opacity var(--tr-slow);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-toggle:focus-visible {
  outline: 3px solid var(--c-rouge);
  outline-offset: 2px;
}


/* ====================================================
   08b. NAVIGATION — MENU DÉROULANT
   ==================================================== */

.nav-has-dropdown {
  position: relative;
  width: 100%;
}

.nav-has-dropdown > a {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0.35em;
}

.nav-chevron {
  margin-left: auto;
  transition: transform var(--tr-slow);
  flex-shrink: 0;
  opacity: 0.7;
  transform: rotate(-90deg);
}

.nav-has-dropdown:hover .nav-chevron,
.nav-has-dropdown:focus-within .nav-chevron {
  transform: rotate(-90deg);
  opacity: 1;
}

.nav-dropdown {
  position: fixed;
  top: 0;
  left: calc(var(--sidebar-w) + 10px);
  transform: translateX(-8px);
  background: var(--c-blanc);
  border-radius: 12px;
  padding: var(--sp-3) 0;
  box-shadow: 0 12px 32px rgba(13, 21, 64, 0.18);
  min-width: 270px;
  max-height: calc(100vh - 24px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--tr-slow), visibility var(--tr-slow), transform var(--tr-slow);
  z-index: 800;
  list-style: none;
  margin: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.nav-dropdown li a {
  display: flex;
  align-items: center;
  padding: 0.8rem 1.6rem;
  color: var(--c-marine);
  font-size: var(--text-body);
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--tr-base), color var(--tr-base), padding-left var(--tr-base);
  position: relative;
}

.nav-dropdown li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 2px;
  background-color: var(--c-rouge);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--tr-base);
  border-radius: 2px;
}

.nav-dropdown li a:hover,
.nav-dropdown li a:focus-visible {
  background: var(--c-fond);
  color: var(--c-rouge);
  padding-left: 2rem;
}

.nav-dropdown li a:hover::before,
.nav-dropdown li a:focus-visible::before {
  transform: scaleY(1);
}

.nav-dropdown li a[aria-current="page"] {
  color: var(--c-rouge);
  background: var(--c-fond-section);
}

.nav-dropdown li a[aria-current="page"]::before {
  transform: scaleY(1);
}

.nav-dropdown li + li {
  border-top: 1px solid var(--c-separateur);
}

.is-current-section > a {
  color: var(--c-rouge) !important;
}

/* Sous-menu mobile */
.nav-mobile-submenu {
  list-style: none;
  margin: 0.4rem 0 0.6rem var(--sp-4);
  padding: 0;
}

.nav-mobile-submenu li a {
  display: block;
  padding: 0.4rem 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: var(--text-small);
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color var(--tr-base);
}

.nav-mobile-submenu li a:hover {
  color: var(--c-blanc);
}

.nav-mobile-submenu li a[aria-current="page"] {
  color: #E8726E;
}

/* ====================================================
   08c. DÉCALAGE CONTENU — SIDEBAR VERTICALE
   ==================================================== */

main,
.site-footer {
  margin-left: var(--sidebar-w);
}


/* ====================================================
   09. NAVIGATION MOBILE
   ==================================================== */

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background-color: var(--c-fond);
  z-index: 850;
  overflow-y: auto;
  padding: var(--sp-5) var(--sp-6) var(--sp-7);
  border-top: 1px solid var(--c-separateur);
  margin-left: 0;
}

.nav-mobile.is-open { display: block; }

.nav-mobile ul {
  list-style: none;
  margin-bottom: var(--sp-5);
}

.nav-mobile li + li {
  border-top: 1px solid var(--c-separateur);
}

.nav-mobile a {
  display: block;
  padding: var(--sp-3) 0;
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  color: var(--c-marine);
  transition: color var(--tr-base);
}

.nav-mobile a:hover,
.nav-mobile a[aria-current="page"] {
  color: var(--c-rouge);
}

.nav-mobile a:focus-visible {
  outline: 3px solid var(--c-rouge);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-separateur);
}

.nav-mobile-phone {
  font-family: var(--font-ui);
  font-size: var(--text-body-lg);
  font-weight: 600;
  color: var(--c-marine);
}


/* ====================================================
   10. BANNIÈRE DE CONSENTEMENT COOKIE
   ==================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: var(--sidebar-w);
  right: 0;
  z-index: 1000;
  background-color: var(--c-marine-dark);
  color: var(--c-blanc);
  padding: var(--sp-4) var(--sp-6);
  transform: translateY(100%);
  transition: transform var(--tr-slow);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  max-width: var(--container-w);
  margin-inline: auto;
  flex-wrap: wrap;
}

.cookie-banner p {
  flex: 1;
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.8);
  max-width: none;
}

.cookie-banner a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner a:hover { color: var(--c-blanc); }

.cookie-actions {
  display: flex;
  gap: var(--sp-2);
  flex-shrink: 0;
}

.btn-cookie {
  font-family: var(--font-ui);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5625rem var(--sp-3);
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color var(--tr-base), color var(--tr-base);
  min-height: 44px;
}

.btn-cookie--accept {
  background-color: var(--c-rouge);
  color: var(--c-blanc);
  border-color: var(--c-rouge);
}
.btn-cookie--accept:hover {
  background-color: var(--c-rouge-hover);
}

.btn-cookie--refuse {
  background-color: transparent;
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-cookie--refuse:hover {
  color: var(--c-blanc);
  border-color: var(--c-blanc);
}

.btn-cookie:focus-visible {
  outline: 3px solid var(--c-blanc);
  outline-offset: 3px;
}


/* ====================================================
   11. LIEN D'ÉVITEMENT — ACCESSIBILITÉ
   ==================================================== */

.skip-link {
  position: fixed;
  top: -100%;
  left: calc(var(--sidebar-w) + var(--sp-2));
  z-index: 9999;
  background-color: var(--c-rouge);
  color: var(--c-blanc);
  padding: var(--sp-2) var(--sp-4);
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: var(--text-small);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top var(--tr-base);
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--c-blanc);
  outline-offset: 2px;
}


/* ====================================================
   12. HERO
   ==================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  background-color: var(--c-marine);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
  padding-block: var(--sp-10);
  display: flex;
  align-items: center;
}

.hero-text {
  max-width: 640px;
}

.hero-eyebrow {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--sp-3);
}

.hero-accent {
  width: 40px;
  height: 2px;
  background-color: var(--c-rouge);
  margin-bottom: var(--sp-4);
}

.hero h1 {
  font-size: var(--text-display);
  color: var(--c-blanc);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--sp-4);
}

.hero h1 em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.62);
}

.hero-subtitle {
  font-size: var(--text-body-lg);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  max-width: 50ch;
  margin-bottom: var(--sp-6);
}

.hero-actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

/* Arbre SVG dans le hero — masqué depuis l'ajout de la photo de fond */
.hero-visual {
  display: none;
}

.hero-tree {
  width: min(420px, 90%);
  height: auto;
  color: var(--c-blanc);
}

/* Photo de fond du hero */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(13, 21, 64, 0.93) 0%,
    rgba(13, 21, 64, 0.82) 45%,
    rgba(13, 21, 64, 0.58) 100%
  );
}

/* Dégradé rouge subtil (par-dessus la photo) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 60% 80% at 85% 50%, rgba(139, 26, 21, 0.14) 0%, transparent 70%);
  pointer-events: none;
}


/* ====================================================
   13. BANDE D'INTRODUCTION
   ==================================================== */

.intro-strip {
  background-color: var(--c-fond);
  border-bottom: 1px solid var(--c-separateur);
  padding-block: var(--sp-6);
}

.intro-strip-inner {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

.intro-strip-line {
  flex: 1;
  height: 1px;
  background-color: var(--c-separateur);
}

.intro-strip p {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--c-texte-sec);
  text-align: center;
  max-width: 70ch;
  letter-spacing: -0.01em;
}


/* ====================================================
   14. VOLETS CLIENTÈLES
   ==================================================== */

.volets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 65vh;
}

.volet {
  position: relative;
  display: flex;
  flex-direction: column;
}

.volet--clair { background-color: var(--c-fond-section); }
.volet--marine { background-color: var(--c-marine); }

/* Photo dans chaque volet */
.volet-img {
  margin: 0;
  overflow: hidden;
  height: 240px;
  flex-shrink: 0;
  position: relative;
}
.volet-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform var(--tr-slow);
}
.volet:hover .volet-img img {
  transform: scale(1.04);
}
.volet--marine .volet-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 21, 64, 0.22);
  pointer-events: none;
}

.volet-inner {
  padding: var(--sp-9) var(--sp-8);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  flex: 1;
}

.volet-numero {
  font-family: var(--font-ui);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}

.volet--clair .volet-numero { color: var(--c-rouge); }
.volet--marine .volet-numero { color: rgba(255, 255, 255, 0.45); }

.volet h2,
.volet h3 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  margin-bottom: var(--sp-4);
  line-height: 1.1;
}

.volet--clair h2, .volet--clair h3 { color: var(--c-marine); }
.volet--marine h2, .volet--marine h3 { color: var(--c-blanc); }

.volet-desc {
  font-size: var(--text-body-lg);
  line-height: 1.65;
  margin-bottom: var(--sp-5);
  max-width: 48ch;
}

.volet--clair .volet-desc { color: var(--c-texte); }
.volet--marine .volet-desc { color: rgba(255, 255, 255, 0.65); }

.volet-liste {
  list-style: none;
  margin-bottom: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.volet-liste li {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
  font-size: var(--text-small);
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.volet-liste li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 2px;
  background-color: var(--c-rouge);
  position: relative;
  top: -2px;
}

.volet--clair .volet-liste li { color: var(--c-texte); }
.volet--marine .volet-liste li { color: rgba(255, 255, 255, 0.75); }
.volet--marine .volet-liste li::before { background-color: rgba(255, 255, 255, 0.35); }

.volet--clair .link-arrow { color: var(--c-marine); }
.volet--marine .link-arrow { color: rgba(255, 255, 255, 0.75); }

.volet--clair .link-arrow:hover { color: var(--c-rouge); }
.volet--marine .link-arrow:hover { color: var(--c-blanc); }


/* ====================================================
   15. SERVICES PHARES
   ==================================================== */

.services-phares {
  background-color: var(--c-fond);
  padding-block: var(--sp-10);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-1);
  list-style: none;
  counter-reset: service-counter;
  margin-bottom: var(--sp-7);
}

.service-item {
  padding: var(--sp-6) var(--sp-5);
  border-top: 2px solid var(--c-separateur);
  transition: border-color var(--tr-base);
}

.service-item:hover {
  border-color: var(--c-rouge);
}

.service-num {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--c-rouge);
  margin-bottom: var(--sp-3);
}

.service-item h3 {
  font-size: var(--text-h3);
  color: var(--c-marine);
  margin-bottom: var(--sp-2);
}

.service-item p {
  font-size: var(--text-small);
  color: var(--c-texte-sec);
  line-height: 1.65;
  max-width: 42ch;
}

.services-cta {
  text-align: center;
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-separateur);
}


/* ====================================================
   16. SECTION DIFFÉRENCIATEURS
   ==================================================== */

.differenciateurs {
  background-color: var(--c-marine);
  padding-block: var(--sp-10);
}

.differenciateurs .section-header h2 {
  color: var(--c-blanc);
}

.differenciateurs .diff-item {
  border-left-color: rgba(255, 255, 255, 0.1);
}

.differenciateurs .diff-item h3 {
  color: var(--c-blanc);
}

.differenciateurs .diff-item p {
  color: rgba(255, 255, 255, 0.6);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2);
}

.diff-item {
  padding: var(--sp-6) var(--sp-5);
  border-left: 2px solid rgba(13, 21, 64, 0.15);
  transition: border-color var(--tr-slow);
}

.diff-item:hover {
  border-color: var(--c-rouge);
}

.diff-num {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--c-rouge);
  margin-bottom: var(--sp-3);
}

.diff-item h3 {
  font-size: var(--text-h3);
  color: var(--c-marine);
  margin-bottom: var(--sp-2);
}

.diff-item p {
  font-size: var(--text-small);
  color: rgba(13, 21, 64, 0.7);
  line-height: 1.7;
  max-width: 48ch;
}


/* ====================================================
   16b. CARRIÈRES — INTRO IMAGE + TEXTE
   ==================================================== */

.carriere-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}

.carriere-intro-img {
  border-radius: 12px;
  overflow: hidden;
}

.carriere-intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .carriere-intro {
    grid-template-columns: 1fr;
  }
  .carriere-intro-img { order: -1; }
}


/* ====================================================
   17. BANDE CTA
   ==================================================== */

.cta-band {
  background-color: var(--c-rouge);
  padding-block: var(--sp-8);
  text-align: center;
}

.cta-band .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
}

.cta-band h2 {
  color: var(--c-blanc);
  font-size: var(--text-h2);
  max-width: 22ch;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--text-body-lg);
  max-width: 52ch;
  text-align: center;
}


/* ====================================================
   18. CONTACT RAPIDE
   ==================================================== */

.contact-rapide {
  background-color: var(--c-fond-section);
  padding-block: var(--sp-8);
  border-top: 1px solid var(--c-separateur);
}

.contact-rapide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.contact-item h3 {
  font-family: var(--font-ui);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-rouge);
}

.contact-item a,
.contact-item address {
  font-size: var(--text-body-lg);
  color: var(--c-marine);
  line-height: 1.5;
  font-family: var(--font-heading);
}

.contact-item a:hover {
  color: var(--c-rouge);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-item a:focus-visible {
  outline: 3px solid var(--c-rouge);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}


/* ====================================================
   19. FOOTER
   ==================================================== */

.site-footer {
  background-color: var(--c-marine-dark);
  color: rgba(255, 255, 255, 0.65);
}

.footer-top {
  padding-block: var(--sp-9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--sp-7);
}

.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: var(--sp-3);
  /* Filtre pour rendre le logo blanc sur fond sombre */
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-brand p {
  font-family: var(--font-ui);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  max-width: none;
  margin-bottom: var(--sp-4);
}

/* Icônes sociales */
.footer-social {
  display: flex;
  gap: var(--sp-2);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-sm);
  color: rgba(255, 255, 255, 0.5);
  transition: border-color var(--tr-base), color var(--tr-base);
}

.footer-social a:hover {
  border-color: var(--c-blanc);
  color: var(--c-blanc);
}

.footer-social a:focus-visible {
  outline: 3px solid var(--c-blanc);
  outline-offset: 3px;
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

/* Navigation footer */
.footer-nav h4 {
  font-family: var(--font-ui);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-blanc);
  margin-bottom: var(--sp-3);
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer-nav a {
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--tr-base);
}

.footer-nav a:hover { color: var(--c-blanc); }

.footer-nav a:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.6);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Contact footer */
.footer-contact h4 {
  font-family: var(--font-ui);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-blanc);
  margin-bottom: var(--sp-3);
}

.footer-contact address,
.footer-contact a {
  display: block;
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin-bottom: var(--sp-2);
  transition: color var(--tr-base);
}

.footer-contact a:hover { color: var(--c-blanc); }

.footer-contact a:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.6);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Bas du footer */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: var(--sp-4);
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.35);
  max-width: none;
}

.footer-bottom p a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--tr-base);
}

.footer-bottom p a:hover { color: var(--c-blanc); }

.footer-legal-nav {
  display: flex;
  gap: var(--sp-4);
}

.footer-legal-nav a {
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--tr-base);
}

.footer-legal-nav a:hover { color: rgba(255, 255, 255, 0.7); }

.footer-legal-nav a:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 3px;
  border-radius: 2px;
}

.cookie-prefs-link {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-ui);
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  text-decoration: underline;
  transition: color var(--tr-base);
  line-height: inherit;
}
.cookie-prefs-link:hover { color: rgba(255, 255, 255, 0.7); }
.cookie-prefs-link:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 3px;
  border-radius: 2px;
}


/* ====================================================
   20. EN-TÊTES DE PAGES INTÉRIEURES
   ==================================================== */

.page-header {
  background-color: var(--c-marine);
  padding-block: var(--sp-9);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-rouge) 0%, transparent 100%);
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header .eyebrow { color: rgba(255, 255, 255, 0.45); }

.page-header h1 {
  color: var(--c-blanc);
  font-size: var(--text-h1);
  max-width: 22ch;
  margin-bottom: var(--sp-3);
}

.page-header-desc {
  font-size: var(--text-body-lg);
  color: rgba(255, 255, 255, 0.62);
  max-width: 60ch;
}

.breadcrumb {
  display: flex;
  gap: var(--sp-2);
  align-items: center;
  margin-bottom: var(--sp-4);
  font-family: var(--font-ui);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--tr-base);
}

.breadcrumb a:hover { color: rgba(255, 255, 255, 0.8); }

.breadcrumb-sep { color: rgba(255, 255, 255, 0.2); }

.breadcrumb [aria-current="page"] { color: rgba(255, 255, 255, 0.65); }


/* ====================================================
   21. PAGES D'ERREUR (403 / 404 / 500)
   ==================================================== */

.error-section {
  background: var(--c-fond);
  padding-block: var(--sp-8);
  min-height: calc(100vh - var(--header-h) - 80px);
  display: flex;
  align-items: center;
}

.error-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  max-width: 580px;
  margin-inline: auto;
}

.error-code {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 400;
  color: var(--c-marine);
  line-height: 1;
  letter-spacing: -0.03em;
}

.error-img {
  width: 100%;
  max-width: 500px;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: 0;
  aspect-ratio: 3/2;
  box-shadow: var(--shadow-lg);
}

.error-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.error-inner h1 {
  color: var(--c-marine);
  margin: 0;
  font-size: var(--text-h2);
}

.error-inner p {
  color: var(--c-texte);
  max-width: 42ch;
  margin: 0;
  font-size: var(--text-body-lg);
}

.error-actions {
  display: flex;
  gap: var(--sp-2);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--sp-1);
}


/* ====================================================
   22. PAGE CONTACT — FORMULAIRE
   ==================================================== */

/* ====================================================
   CONTACT — HÉRO PHOTO AÉRIENNE
   ==================================================== */

.contact-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: var(--sp-8);
  padding-bottom: var(--sp-9);
  overflow: hidden;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
}

.contact-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 21, 64, 0.08) 0%,
    rgba(13, 21, 64, 0.30) 40%,
    rgba(13, 21, 64, 0.88) 75%,
    rgba(13, 21, 64, 0.96) 100%
  );
}

.contact-hero-top,
.contact-hero-bottom {
  position: relative;
  z-index: 1;
}

.contact-breadcrumb a,
.contact-breadcrumb .breadcrumb-sep,
.contact-breadcrumb [aria-current="page"] {
  color: rgba(255, 255, 255, 0.80);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.50);
}

.contact-breadcrumb a:hover {
  color: var(--c-blanc);
}

.contact-eyebrow {
  color: rgba(255, 255, 255, 0.95);
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  margin-bottom: var(--sp-4);
  letter-spacing: 0.18em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.65);
}

.contact-eyebrow::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 2px;
  background: var(--c-rouge);
  flex-shrink: 0;
}

.contact-hero-bottom h1 {
  color: var(--c-blanc);
  margin-bottom: var(--sp-5);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  line-height: 1.08;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.contact-hero-desc {
  color: rgba(255, 255, 255, 0.90);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  max-width: 52ch;
  line-height: 1.75;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.40);
}

/* ====================================================
   CONTACT — SECTION PRINCIPALE
   ==================================================== */

.contact-page {
  padding-block: var(--sp-10);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--sp-9);
  align-items: start;
}

.contact-info h2 {
  font-size: var(--text-h2);
  margin-bottom: var(--sp-4);
}

.contact-info p {
  color: var(--c-texte-sec);
  margin-bottom: var(--sp-5);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.contact-detail-item dt {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-rouge);
  margin-bottom: var(--sp-1);
}

.contact-detail-item dd,
.contact-detail-item dd a,
.contact-detail-item dd address {
  font-size: var(--text-body-lg);
  font-family: var(--font-heading);
  color: var(--c-marine);
  display: block;
  line-height: 1.5;
}

.contact-detail-item dd a:hover {
  color: var(--c-rouge);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Photo façade du bureau */
.bureau-photo {
  margin: var(--sp-7) 0 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  line-height: 0;
}

.bureau-photo img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.bureau-photo:hover img {
  transform: scale(1.03);
}

/* Formulaire */
.contact-form-card {
  background-color: var(--c-blanc);
  border: 1px solid var(--c-separateur);
  border-radius: var(--r-lg);
  padding: var(--sp-7);
  box-shadow: var(--shadow-sm);
}

.contact-form-card h2 {
  font-size: var(--text-h3);
  margin-bottom: var(--sp-5);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-family: var(--font-ui);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-marine);
}

.form-group label span[aria-hidden] {
  color: var(--c-rouge);
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8125rem var(--sp-3);
  border: 1.5px solid var(--c-separateur);
  border-radius: var(--r-md);
  font-size: var(--text-body);
  color: var(--c-texte);
  background-color: var(--c-fond);
  transition: border-color var(--tr-base), box-shadow var(--tr-base);
  min-height: 52px;
  width: 100%;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: #BEBEBE;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-marine);
  box-shadow: 0 0 0 3px rgba(13, 21, 64, 0.1);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: var(--c-rouge);
}

.form-group input:valid:not(:placeholder-shown) {
  border-color: var(--c-vert);
}

.field-error {
  font-size: var(--text-small);
  color: var(--c-rouge);
  display: none;
}

.field-error.is-visible { display: block; }

.form-note {
  font-size: var(--text-small);
  color: var(--c-texte-sec);
  margin-top: var(--sp-4);
}

.form-submit {
  margin-top: var(--sp-5);
  display: flex;
  justify-content: flex-end;
}


/* ====================================================
   22. PAGES LÉGALES
   ==================================================== */

.legal-page {
  padding-block: var(--sp-9);
}

.legal-content {
  max-width: var(--content-w);
}

.legal-content h2 {
  font-size: var(--text-h3);
  color: var(--c-marine);
  margin-top: var(--sp-7);
  margin-bottom: var(--sp-3);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-separateur);
}

.legal-content h2:first-of-type {
  margin-top: var(--sp-5);
  padding-top: 0;
  border-top: none;
}

.legal-content h3 {
  font-size: var(--text-h4);
  color: var(--c-marine);
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-2);
}

.legal-content p {
  color: var(--c-texte-sec);
  margin-bottom: var(--sp-3);
}

.legal-content ul {
  list-style: none;
  margin-bottom: var(--sp-3);
  padding-left: var(--sp-4);
}

.legal-content ul li {
  position: relative;
  padding-left: var(--sp-3);
  margin-bottom: var(--sp-1);
  color: var(--c-texte-sec);
  font-size: var(--text-body);
}

.legal-content ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--c-rouge);
}

.legal-content a {
  color: var(--c-rouge);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover { color: var(--c-rouge-hover); }

.legal-date {
  font-family: var(--font-ui);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-texte-sec);
  margin-bottom: var(--sp-6);
}


/* ====================================================
   23. MESSAGES D'ÉTAT
   ==================================================== */

.form-success {
  display: none;
  padding: var(--sp-5) var(--sp-6);
  background-color: rgba(78, 123, 38, 0.08);
  border: 1.5px solid var(--c-vert);
  border-radius: var(--r-md);
  text-align: center;
}

.form-success.is-visible { display: block; }

.form-success h3 {
  color: var(--c-vert);
  margin-bottom: var(--sp-2);
}

.form-success p {
  color: var(--c-texte-sec);
  max-width: none;
}

.alert-info {
  padding: var(--sp-4) var(--sp-5);
  background-color: rgba(13, 21, 64, 0.05);
  border-left: 3px solid var(--c-marine);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin-block: var(--sp-5);
}

.alert-info p {
  font-size: var(--text-small);
  color: var(--c-texte-sec);
  max-width: none;
}


/* ====================================================
   24. FOCUS VISIBLE ET ACCESSIBILITÉ
   ==================================================== */

:focus-visible {
  outline: 3px solid var(--c-rouge);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* Retirer le focus par défaut sur les éléments non interactifs */
*:focus:not(:focus-visible) {
  outline: none;
}


/* ====================================================
   24b. SECTEURS — Page d'atterrissage (secteurs.html)
   ==================================================== */

.secteurs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}

.secteur-card {
  background: var(--c-blanc);
  border: 1px solid var(--c-separateur);
  border-radius: var(--r-lg);
  padding: var(--sp-7);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: box-shadow var(--tr-slow), transform var(--tr-slow);
}

.secteur-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.secteur-card-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--c-rouge);
  opacity: 0.18;
  line-height: 1;
  margin-bottom: calc(-1 * var(--sp-2));
}

.secteur-card h3 {
  font-size: var(--text-xl);
  color: var(--c-marine);
  margin: 0;
}

.secteur-card p {
  color: rgba(13, 21, 64, 0.7);
  font-size: var(--text-body);
  flex-grow: 1;
}

.secteur-card-liste {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.secteur-card-liste li {
  font-size: var(--text-small);
  color: rgba(13, 21, 64, 0.6);
  padding-left: 1.1em;
  position: relative;
}

.secteur-card-liste li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--c-rouge);
  font-weight: 600;
}

.secteur-card .btn {
  align-self: flex-start;
  margin-top: auto;
}


/* ====================================================
   24c. CLIENTÈLES — Page complète (clienteles.html)
   ==================================================== */

.clienteles-section {
  background: var(--c-blanc);
}

.clienteles-section--alt {
  background: var(--c-fond-section);
}

.clienteles-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-6);
  margin-bottom: var(--sp-8);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--c-separateur);
}

.clienteles-header > div {
  max-width: 56ch;
}

.clienteles-header h2 {
  margin-top: var(--sp-2);
  margin-bottom: var(--sp-3);
}

.clienteles-header p {
  color: rgba(13, 21, 64, 0.7);
  margin: 0;
}

.clienteles-header .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.clienteles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.clientele-card {
  background: var(--c-blanc);
  border: 1px solid var(--c-separateur);
  border-radius: var(--r-md);
  padding: var(--sp-5) var(--sp-5) var(--sp-5) calc(var(--sp-5) + 2px);
  border-left: 3px solid var(--c-rouge);
  transition: box-shadow var(--tr-slow);
}

.clienteles-section--alt .clientele-card {
  background: var(--c-blanc);
}

.clientele-card:hover {
  box-shadow: var(--shadow-md);
}

.clientele-card h3 {
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--c-marine);
  margin: 0 0 var(--sp-2);
}

.clientele-card p {
  font-size: var(--text-small);
  color: rgba(13, 21, 64, 0.7);
  margin: 0;
  line-height: 1.6;
}


/* ====================================================
   28. ARTICLES — Page de liste et article individuel
   ==================================================== */

/* Grille de liste */
.articles-section {
  padding-block: var(--sp-8);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-5);
}

/* Carte d'article */
.article-card {
  background: var(--c-blanc);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--tr-base), box-shadow var(--tr-base);
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.article-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
}

.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.article-card:hover .article-card-img img {
  transform: scale(1.04);
}

.article-card-body {
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1;
}

.article-card-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.article-cat {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-blanc);
  background: var(--c-marine);
  padding: 0.2em 0.6em;
  border-radius: var(--r-sm);
}

.article-cat--rouge  { background: var(--c-rouge); }
.article-cat--vert   { background: var(--c-vert); }
.article-cat--brun   { background: var(--c-brun); }
.article-cat--muted  { background: var(--c-texte-sec); }

.article-date {
  font-size: 0.8rem;
  color: var(--c-texte-sec);
}

.article-card h3 {
  font-size: var(--text-h4);
  color: var(--c-marine);
  margin: 0;
  line-height: 1.3;
}

.article-card-excerpt {
  font-size: var(--text-body);
  color: var(--c-texte-sec);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  flex: 1;
}

.article-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-ui);
  font-size: var(--text-label);
  font-weight: 600;
  color: var(--c-rouge);
  text-decoration: none;
  margin-top: auto;
  padding-top: var(--sp-2);
  border-top: 1px solid var(--c-separateur);
  transition: gap var(--tr-base), color var(--tr-base);
}

.article-card-link:hover {
  gap: 0.625rem;
  color: var(--c-rouge-hover);
}

/* Page article individuel */
.article-page {
  padding-block: var(--sp-8);
}

.article-page-inner {
  max-width: 800px;
  margin-inline: auto;
}

.article-page-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
  flex-wrap: wrap;
}

.article-reading-time {
  font-size: 0.8rem;
  color: var(--c-texte-sec);
}

.article-page h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--c-marine);
  line-height: 1.2;
  margin: 0 0 var(--sp-3);
}

.article-lead {
  font-size: var(--text-body-lg);
  color: var(--c-texte-sec);
  line-height: 1.7;
  margin: 0 0 var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: 2px solid var(--c-separateur);
}

.article-hero-img {
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: var(--sp-5);
  aspect-ratio: 16/9;
  box-shadow: var(--shadow-lg);
}

.article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Contenu long format */
.article-content {
  font-size: var(--text-body-lg);
  color: var(--c-texte);
  line-height: 1.8;
}

.article-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  color: var(--c-marine);
  margin: var(--sp-6) 0 var(--sp-2);
  line-height: 1.3;
  padding-bottom: var(--sp-1);
  border-bottom: 2px solid var(--c-separateur);
}

.article-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-marine);
  margin: var(--sp-4) 0 var(--sp-1);
}

.article-content p { margin: 0 0 var(--sp-3); }

.article-content ul,
.article-content ol {
  margin: 0 0 var(--sp-3);
  padding-left: var(--sp-4);
}

.article-content li { margin-bottom: var(--sp-1); }

.article-content strong {
  font-weight: 600;
  color: var(--c-marine);
}

.article-disclaimer {
  background: var(--c-fond-section);
  border-left: 3px solid var(--c-separateur);
  padding: var(--sp-3) var(--sp-4);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin: var(--sp-5) 0;
  font-size: 0.875rem;
  color: var(--c-texte-sec);
  line-height: 1.6;
}

/* Lien retour vers liste */
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-ui);
  font-size: var(--text-label);
  font-weight: 600;
  color: var(--c-texte-sec);
  text-decoration: none;
  margin-bottom: var(--sp-4);
  transition: color var(--tr-base), gap var(--tr-base);
}

.article-back:hover {
  color: var(--c-marine);
  gap: 0.5rem;
}

/* CTA de fin d'article */
.article-cta {
  background: var(--c-marine);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  text-align: center;
  margin-top: var(--sp-7);
  color: var(--c-blanc);
}

.article-cta h2 {
  color: var(--c-blanc);
  margin: 0 0 var(--sp-2);
  font-size: var(--text-h3);
}

.article-cta p {
  color: rgba(255,255,255,0.8);
  margin: 0 0 var(--sp-4);
}


/* ====================================================
   25. RESPONSIVE — TABLETTE (≤ 1024px)
   ==================================================== */

@media (max-width: 1024px) {

  :root {
    --sp-9: 5rem;
    --sp-10: 7rem;
    --scroll-offset: var(--header-h);
  }

  .skip-link {
    left: var(--sp-4);
  }

  /* Sidebar → barre horizontale */
  .site-header {
    position: sticky;
    top: 0;
    left: auto;
    bottom: auto;
    width: auto;
    height: var(--header-h);
    border-right: none;
    border-bottom: 1px solid var(--c-separateur);
    overflow: visible;
  }

  .site-header.is-scrolled {
    box-shadow: var(--shadow-md);
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
    min-height: auto;
    height: 100%;
    max-width: var(--container-w);
    margin-inline: auto;
    padding: 0 var(--sp-4);
    gap: var(--sp-4);
  }

  .header-actions {
    flex-direction: row;
    align-items: center;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    width: auto;
  }

  .nav-primary,
  .header-phone {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  main,
  .site-footer {
    margin-left: 0;
  }

  .cookie-banner {
    left: 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-block: var(--sp-9);
    padding-inline: var(--sp-4);
  }

  .hero-visual { display: none; }

  .volet-img { height: 200px; }

  .volet-inner {
    padding: var(--sp-7) var(--sp-5);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .diff-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-5);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  .contact-hero {
    min-height: 480px;
    padding-top: calc(var(--header-h) + var(--sp-4));
    padding-bottom: var(--sp-8);
  }

  .hero {
    min-height: calc(100svh - var(--header-h));
  }

  .secteurs-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }

  .clienteles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clienteles-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .container {
    padding-inline: var(--sp-4);
  }
}


/* ====================================================
   26. RESPONSIVE — MOBILE (≤ 768px)
   ==================================================== */

@media (max-width: 768px) {

  :root {
    --sp-9: 4rem;
    --sp-10: 5rem;
    --header-h: 68px;
  }

  .volets {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .volet-img { height: 180px; }

  .volet-inner {
    padding: var(--sp-7) var(--sp-4);
  }

  .services-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .service-item {
    padding: var(--sp-4) var(--sp-3);
  }

  .contact-rapide-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }

  .footer-bottom .container {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-2);
  }

  .footer-legal-nav {
    flex-direction: column;
    gap: var(--sp-2);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    text-align: center;
    justify-content: center;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group--full {
    grid-column: 1;
  }

  .contact-form-card {
    padding: var(--sp-4);
  }

  .contact-hero {
    min-height: 400px;
    padding-top: calc(var(--header-h) + var(--sp-3));
    padding-bottom: var(--sp-7);
  }

  .contact-hero-bottom h1 {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-3);
  }

  .cookie-actions {
    width: 100%;
  }

  .btn-cookie {
    flex: 1;
    text-align: center;
  }

  .intro-strip-line { display: none; }

  .intro-strip p {
    text-align: left;
  }

  .footer-social a {
    width: 44px;
    height: 44px;
  }

  .clienteles-grid {
    grid-template-columns: 1fr;
  }
}


/* ====================================================
   27. RESPONSIVE — TRÈS PETIT (≤ 480px)
   ==================================================== */

@media (max-width: 480px) {

  :root { --sp-9: 3.5rem; }

  .container { padding-inline: var(--sp-3); }

  .header-inner { padding-inline: var(--sp-3); }

  .volet-inner { padding: var(--sp-5) var(--sp-3); }

  .footer-top { padding-block: var(--sp-6); }
}


/* ====================================================
   28. PREFERS-REDUCED-MOTION
   ==================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }

  .cookie-banner {
    transition: none;
    transform: none;
  }
}


/* ====================================================
   ACCESSIBILITÉ — UTILITAIRES
   ==================================================== */

/* Champ honeypot anti-spam — masqué visuellement et pour les AT */
.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ====================================================
   CARTE DE LOCALISATION — contact.html
   ==================================================== */

.bureau-map {
  background-color: var(--c-fond-section);
  padding-block: var(--sp-9);
}

.bureau-map-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-8);
  align-items: center;
}

.bureau-map-info h2 {
  font-size: var(--text-h2);
  margin-bottom: var(--sp-4);
}

.bureau-adresse {
  font-family: var(--font-heading);
  font-size: var(--text-body-lg);
  color: var(--c-marine);
  line-height: 1.6;
  margin-bottom: var(--sp-5);
  font-style: normal;
}

.bureau-map-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 7;
  min-height: 320px;
}

.bureau-map-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 1024px) {
  .bureau-map-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  .bureau-map-frame {
    aspect-ratio: 16 / 8;
  }
}

/* ====================================================
   29. IMPRESSION
   ==================================================== */

@media print {

  .site-header,
  .cookie-banner,
  .nav-mobile,
  .hero-visual,
  .cta-band,
  .site-footer,
  .btn,
  .skip-link {
    display: none !important;
  }

  body {
    font-size: 11pt;
    color: #000;
    background: #fff;
  }

  h1, h2, h3 { color: #000; page-break-after: avoid; }

  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 9pt;
    color: #555;
  }

  a[href^="tel"]::after,
  a[href^="mailto"]::after {
    display: none;
  }

  .container { max-width: 100%; padding: 0; }
}
