/*!
 * E.S.T · Europe Service Trading — feuille de style du site europ-service.com
 * Charte : 03_Identite_visuelle/logo/brand.json (couleurs, Jost, IBM Plex Sans Arabic)
 * Mobile d'abord · propriétés logiques (prêt pour l'arabe, dir="rtl") · WCAG 2.2 AA
 * Polices auto-hébergées (SIL OFL 1.1) : aucun appel à un service tiers.
 */

/* ==========================================================================
   1. Polices
   ========================================================================== */
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost/jost-latin-wght.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-024F, U+0259, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304,
    U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2000-206F, U+2070-209F, U+20AC, U+2122, U+2150-215F,
    U+2190-2199, U+2212, U+2215, U+2219, U+2248, U+2260, U+2264-2265, U+25CA, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost/jost-italic-latin-wght.woff2") format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-024F, U+0259, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304,
    U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2000-206F, U+2070-209F, U+20AC, U+2122, U+2150-215F,
    U+2190-2199, U+2212, U+2215, U+2219, U+2248, U+2260, U+2264-2265, U+25CA, U+FEFF, U+FFFD;
}
/* IBM Plex Sans Arabic : chargée uniquement pour les caractères arabes (pages /ar/) */
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/ibm-plex-sans-arabic/IBMPlexSansArabic-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/ibm-plex-sans-arabic/IBMPlexSansArabic-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/ibm-plex-sans-arabic/IBMPlexSansArabic-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF;
}

/* ==========================================================================
   2. Jetons de la charte
   ========================================================================== */
:root {
  /* Couleurs (brand.json) */
  --bleu: #174a73;          /* Bleu Méditerranée : couleur principale, liens, boutons */
  --nuit: #0d2438;          /* Nuit marine : texte, fonds foncés */
  --terre: #c2603a;         /* Terre cuite : repères graphiques, textes ≥ 24 px */
  --terre-texte: #ae5634;   /* Terre cuite texte : petits textes en accent */
  --terre-claire: #e39a76;  /* Terre cuite claire : accents sur fond foncé */
  --acier: #5a6e79;         /* Acier : textes secondaires */
  --sable: #e8dcc6;         /* Sable : aplats discrets (jamais de texte) */
  --sable-clair: #f0e8da;   /* Sable mêlé de Blanc chaux */
  --chaux: #f8f5ef;         /* Blanc chaux : fond du site */
  --blanc: #ffffff;

  --texte: var(--nuit);
  --texte-2: var(--acier);
  --lien: var(--bleu);
  --ligne: #e2d8c6;
  --ligne-forte: #cdbfa6;
  --focus: var(--terre);

  /* Typographie */
  --police: "Jost", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --police-ar: "Jost", "IBM Plex Sans Arabic", Tahoma, "Segoe UI", sans-serif;
  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: clamp(1.0625rem, 1.02rem + 0.18vw, 1.15rem);
  --t-lead: clamp(1.15rem, 1.06rem + 0.42vw, 1.375rem);
  --t-h4: 1.125rem;
  --t-h3: clamp(1.25rem, 1.16rem + 0.4vw, 1.5rem);
  --t-h2: clamp(1.85rem, 1.45rem + 1.7vw, 2.85rem);
  --t-h1: clamp(2.35rem, 1.6rem + 3.3vw, 4.4rem);

  /* Espacements et mise en page */
  --gouttiere: clamp(1.25rem, 0.8rem + 2.2vw, 2.5rem);
  --conteneur: 76rem;
  --section: clamp(4rem, 2.8rem + 5vw, 7.5rem);
  --rayon: 1rem;
  --rayon-sm: 0.5rem;
  --ombre: 0 1px 2px rgb(13 36 56 / 0.05), 0 10px 30px -12px rgb(13 36 56 / 0.18);
  --ombre-forte: 0 2px 4px rgb(13 36 56 / 0.06), 0 22px 44px -18px rgb(13 36 56 / 0.3);
  --entete: 4.25rem;
  --transition: 180ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (min-width: 75em) {
  :root { --entete: 5rem; }
}

/* ==========================================================================
   3. Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--entete) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--chaux);
  color: var(--texte);
  font-family: var(--police);
  font-size: var(--t-base);
  font-weight: 400;
  line-height: 1.6;
  font-feature-settings: "kern" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}
main { flex: 1 0 auto; display: block; }

img, svg, video { display: block; max-width: 100%; height: auto; }
svg { overflow: visible; }
img { border-style: none; }

h1, h2, h3, h4, p, ul, ol, dl, figure, blockquote { margin: 0; }
:where(ul[class], ol[class]) { list-style: none; padding: 0; }
.nav-principale ul, .lang-switch ul, .fil-ariane ol { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--nuit);
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: var(--t-h2); line-height: 1.1; }
h3 { font-size: var(--t-h3); line-height: 1.25; }
h4 { font-size: var(--t-h4); line-height: 1.35; font-weight: 600; letter-spacing: 0; }
p { text-wrap: pretty; }
strong, b { font-weight: 600; }
small { font-size: var(--t-sm); }

a {
  color: var(--lien);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--transition), text-decoration-color var(--transition);
}
a:hover { color: var(--nuit); text-decoration-color: var(--terre); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}
::selection { background: var(--sable); color: var(--nuit); }

.tnum, table { font-feature-settings: "tnum" 1, "kern" 1; font-variant-numeric: tabular-nums; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -10rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--nuit);
  color: var(--blanc);
  font-weight: 500;
  border-radius: var(--rayon-sm);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--blanc); }

[hidden] { display: none !important; }

/* ==========================================================================
   4. Mise en page
   ========================================================================== */
.container {
  width: 100%;
  max-width: calc(var(--conteneur) + 2 * var(--gouttiere));
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}
.container--etroit { max-width: calc(50rem + 2 * var(--gouttiere)); }

.section { padding-block: var(--section); }
.section--blanc { background: var(--blanc); }
.section--sable { background: var(--sable-clair); }
.section--nuit { background: var(--nuit); color: var(--blanc); }
.section--serree { padding-block: calc(var(--section) * 0.6); }
.section + .section--chaux-suite { padding-top: 0; }

.grille { display: grid; gap: clamp(1rem, 0.6rem + 1.6vw, 2rem); }
@media (min-width: 40em) {
  .grille--2, .grille--3, .grille--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64em) {
  .grille--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grille--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.empile > * + * { margin-top: 1rem; }
.empile-l > * + * { margin-top: 1.5rem; }

.deux-colonnes { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
@media (min-width: 64em) {
  .deux-colonnes { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .deux-colonnes--egal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deux-colonnes--inverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .deux-colonnes--centre { align-items: center; }
  .colle { position: sticky; top: calc(var(--entete) + 2rem); }
}

/* ==========================================================================
   5. En-tête, navigation, langues
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(248 245 239 / 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background: rgb(248 245 239 / 0.82); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
}
.site-header.is-scrolled { border-bottom-color: var(--ligne); box-shadow: 0 6px 24px -18px rgb(13 36 56 / 0.35); }

.header-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--entete);
}
.brand { display: inline-flex; flex-shrink: 0; margin-inline-end: auto; padding-block: 0.5rem; border-radius: 4px; }
.brand img { width: auto; height: 2.125rem; }
@media (min-width: 75em) { .brand img { height: 2.5rem; } }

/* Bouton du menu (mobile) */
.menu-toggle,
.menu-link-nojs {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--ligne-forte);
  border-radius: 999px;
  background: var(--blanc);
  color: var(--nuit);
  font: inherit;
  font-size: var(--t-sm);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}
.menu-toggle:hover, .menu-link-nojs:hover { border-color: var(--bleu); color: var(--bleu); }
.js .menu-link-nojs { display: none; }
.menu-toggle__icone { position: relative; width: 1.125rem; height: 0.75rem; }
.menu-toggle__icone::before,
.menu-toggle__icone::after,
.menu-toggle__icone span {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition), top var(--transition);
}
.menu-toggle__icone::before { top: 0; }
.menu-toggle__icone span { top: 5px; }
.menu-toggle__icone::after { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icone::before { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icone::after { top: 5px; transform: rotate(-45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icone span { opacity: 0; }

/* Panneau du menu : liste empilée sous l'en-tête en mobile */
.site-menu {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  display: none;
  max-height: calc(100vh - var(--entete));
  max-height: calc(100dvh - var(--entete));
  overflow-y: auto;
  padding: 0.5rem var(--gouttiere) 1.75rem;
  background: var(--chaux);
  border-bottom: 1px solid var(--ligne);
  box-shadow: 0 24px 40px -24px rgb(13 36 56 / 0.35);
}
.site-menu.is-open { display: block; }
.nav-principale ul { display: flex; flex-direction: column; }
.nav-principale a {
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--ligne);
  color: var(--nuit);
  font-size: 1.1875rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-principale a[aria-current="page"] { color: var(--bleu); }
.nav-principale a[aria-current="page"]::after {
  content: "";
  width: 1.125rem; height: 0.6875rem;
  margin-inline-start: 0.6rem;
  background: var(--terre);
  -webkit-mask: url("../img/arche.svg") no-repeat center / contain;
  mask: url("../img/arche.svg") no-repeat center / contain;
}
.menu-actions { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.menu-actions .btn { width: 100%; }

.lang-switch ul { display: flex; align-items: center; gap: 0.25rem; }
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  color: var(--nuit);
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.lang-switch a:hover { background: var(--sable-clair); color: var(--bleu); }
.lang-switch a[aria-current="true"] { background: var(--nuit); color: var(--blanc); }
/* Libellé arabe : police système hors des pages arabes (évite de charger la police arabe) */
.lang-switch a[lang="ar"] { font-family: "Geeza Pro", "Segoe UI", Tahoma, "Noto Sans Arabic", Arial, sans-serif; letter-spacing: 0; font-size: 1rem; }
:root[lang="ar"] .lang-switch a[lang="ar"] { font-family: var(--police-ar); }

@media (min-width: 75em) {
  .menu-toggle, .menu-link-nojs { display: none !important; }
  .site-menu {
    position: static;
    display: flex !important;
    align-items: center;
    gap: clamp(1rem, 0.2rem + 1.2vw, 1.75rem);
    max-height: none;
    overflow: visible;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .nav-principale ul { flex-direction: row; gap: clamp(0.25rem, -0.4rem + 1vw, 0.9rem); }
  .nav-principale a {
    position: relative;
    min-height: 2.75rem;
    padding: 0.5rem 0.35rem;
    border: 0;
    font-size: 1rem;
  }
  .nav-principale a::before {
    content: "";
    position: absolute;
    inset-inline: 0.35rem;
    bottom: 0.35rem;
    height: 2px;
    background: var(--terre);
    transform: scaleX(0);
    transition: transform var(--transition);
  }
  .nav-principale a:hover { color: var(--bleu); }
  .nav-principale a:hover::before, .nav-principale a[aria-current="page"]::before { transform: scaleX(1); }
  .nav-principale a[aria-current="page"]::after { display: none; }
  .menu-actions { flex-direction: row; align-items: center; gap: clamp(0.75rem, 0.2rem + 0.8vw, 1.25rem); margin: 0; }
  .menu-actions .btn { width: auto; }
}

/* ==========================================================================
   6. Boutons et liens d'action
   ========================================================================== */
.btn {
  --btn-fond: var(--bleu);
  --btn-texte: var(--blanc);
  --btn-bord: var(--bleu);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.5rem;
  border: 1.5px solid var(--btn-bord);
  border-radius: 999px;
  background: var(--btn-fond);
  color: var(--btn-texte);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn:hover { --btn-fond: var(--nuit); --btn-bord: var(--nuit); color: var(--btn-texte); box-shadow: 0 10px 22px -14px rgb(13 36 56 / 0.6); }
.btn:active { transform: translateY(1px); }
.btn--secondaire { --btn-fond: transparent; --btn-texte: var(--bleu); --btn-bord: var(--bleu); }
.btn--secondaire:hover { --btn-fond: var(--bleu); --btn-texte: var(--blanc); --btn-bord: var(--bleu); }
.btn--clair { --btn-fond: var(--terre-claire); --btn-texte: var(--nuit); --btn-bord: var(--terre-claire); }
.btn--clair:hover { --btn-fond: var(--blanc); --btn-texte: var(--nuit); --btn-bord: var(--blanc); }
.btn--contour-clair { --btn-fond: transparent; --btn-texte: var(--blanc); --btn-bord: rgb(255 255 255 / 0.55); }
.btn--contour-clair:hover { --btn-fond: var(--blanc); --btn-texte: var(--nuit); --btn-bord: var(--blanc); }
.btn--petit { min-height: 2.75rem; padding: 0.55rem 1.1rem; font-size: 0.9375rem; }
.btn .icone { width: 1.125rem; height: 1.125rem; flex-shrink: 0; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.65; cursor: progress; }

.actions { display: flex; flex-wrap: wrap; gap: 0.875rem; }
.actions--centre { justify-content: center; }
@media (max-width: 29.99em) {
  .actions .btn { width: 100%; }
}

.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
  text-decoration: none;
}
.lien-fleche .icone { width: 1.1rem; height: 1.1rem; transition: transform var(--transition); }
.lien-fleche:hover .icone { transform: translateX(3px); }
[dir="rtl"] .lien-fleche:hover .icone { transform: scaleX(-1) translateX(3px); }

/* Icônes en ligne (SVG) */
.icone { width: 1.5rem; height: 1.5rem; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icone .ac { stroke: var(--terre); }
.icone .ac-plein { fill: var(--terre); stroke: none; }
.icone .plein { fill: currentColor; stroke: none; }
[dir="rtl"] .icone--dir { transform: scaleX(-1); }

/* ==========================================================================
   7. Repères graphiques (l'arche)
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: var(--terre-texte);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  flex-shrink: 0;
  width: 1.375rem;
  height: 0.84rem;
  background: var(--terre);
  -webkit-mask: url("../img/arche.svg") no-repeat center / contain;
  mask: url("../img/arche.svg") no-repeat center / contain;
}
.section--nuit .eyebrow, .bandeau .eyebrow { color: var(--terre-claire); }
.section--nuit .eyebrow::before, .bandeau .eyebrow::before { background: var(--terre-claire); }

.separateur {
  display: block;
  width: 3.375rem;
  height: 0.6875rem;
  margin-block: 1.25rem 0;
  background: var(--terre);
  -webkit-mask: url("../img/separateur.svg") no-repeat center / contain;
  mask: url("../img/separateur.svg") no-repeat center / contain;
}
.tete-section { max-width: 46rem; margin-bottom: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); }
.tete-section--centre { margin-inline: auto; text-align: center; }
.tete-section--centre .separateur { margin-inline: auto; }
.tete-section > p:not(.eyebrow) { margin-top: 1.1rem; color: var(--texte-2); font-size: var(--t-lead); line-height: 1.55; }
.section--nuit h2, .section--nuit h3 { color: var(--blanc); }
.section--nuit .tete-section > p:not(.eyebrow) { color: rgb(255 255 255 / 0.78); }

.lead { color: var(--texte-2); font-size: var(--t-lead); line-height: 1.55; }

.frise {
  height: 0.75rem;
  margin-top: clamp(1.5rem, 1rem + 2vw, 3rem);
  background: url("../img/frise.svg") repeat-x left bottom / auto 100%;
}

/* ==========================================================================
   8. Héros
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 1.4rem + 4.5vw, 5.5rem) clamp(3.5rem, 2rem + 5vw, 6.5rem); }
.hero__grille { display: grid; gap: clamp(2.5rem, 1rem + 4vw, 4rem); align-items: center; }
@media (min-width: 64em) {
  .hero__grille { grid-template-columns: minmax(0, 11fr) minmax(0, 12fr); }
}
.hero__titre { max-width: 11ch; }
.hero__titre span { display: block; color: var(--bleu); }
.hero__lead { max-width: 36rem; margin-top: 1.5rem; color: var(--nuit); font-size: var(--t-lead); line-height: 1.55; }
.hero .actions { margin-top: 2rem; }
.hero__points { display: grid; gap: 0.7rem; margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid var(--ligne); }
.hero__points li { display: flex; align-items: flex-start; gap: 0.75rem; color: var(--nuit); font-size: var(--t-sm); line-height: 1.45; }
.hero__points .icone { width: 1.375rem; height: 1.375rem; margin-top: -0.05rem; color: var(--bleu); }
@media (min-width: 40em) and (max-width: 63.99em) {
  .hero__points { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.hero__visuel { position: relative; }

/* Héros avec photo (accueil et pages intérieures) : photo plein cadre + voile Nuit marine / Bleu Méditerranée.
   Le voile (opacité ≥ 0,88 sous le texte) garantit, même sur un pixel blanc de la photo, un contraste ≥ 9:1
   pour le texte blanc et ≥ 4,5:1 pour la Terre cuite claire (petits libellés) ; sur grand écran, il s'éclaircit
   du côté opposé au texte (à droite en français et en anglais, à gauche en arabe). Sur mobile, voile uniforme.
   La photo de l'accueil est enregistrée en miroir (navire à droite) ; en arabe, elle est remise dans son sens
   d'origine (navire à gauche). Les photos des pages intérieures ne sont jamais retournées (lieux réels). */
.hero--photo {
  isolation: isolate;
  display: grid;
  align-content: center;
  min-height: clamp(34rem, 30rem + 18vw, 46rem);
  padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) clamp(4rem, 2.4rem + 6vw, 7.5rem);
  background: var(--nuit);
  color: var(--blanc);
}
.hero__fond { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__fond::after {
  content: "";
  position: absolute;
  inset: 0;
  /* mobile : voile dense derrière le texte, puis une bande sans texte en bas où la photo apparaît */
  background: linear-gradient(180deg, rgb(13 36 56 / 0.88) 0%, rgb(13 36 56 / 0.9) calc(100% - 7rem), rgb(13 36 56 / 0.35) 100%);
}
.hero__image { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero--photo .hero__image { object-position: 72% 55%; }
[dir="rtl"] .hero--photo .hero__image { transform: scaleX(-1); }
@media (min-width: 64em) {
  .hero__fond::after {
    background: linear-gradient(90deg, rgb(13 36 56 / 0.95) 0%, rgb(13 36 56 / 0.88) 50%, rgb(23 74 115 / 0.45) 76%, rgb(23 74 115 / 0.1) 100%);
  }
  [dir="rtl"] .hero__fond::after {
    background: linear-gradient(270deg, rgb(13 36 56 / 0.95) 0%, rgb(13 36 56 / 0.88) 50%, rgb(23 74 115 / 0.45) 76%, rgb(23 74 115 / 0.1) 100%);
  }
  .hero--photo .hero__grille { grid-template-columns: minmax(0, 40rem); }
}
.hero--photo .eyebrow { color: var(--terre-claire); }
.hero--photo .eyebrow::before { background: var(--terre-claire); }
.hero--photo .hero__titre { color: var(--blanc); }
.hero--photo .hero__titre span { color: var(--terre-claire); }
.hero--photo .hero__lead { color: rgb(255 255 255 / 0.92); }
.hero--photo .hero__lead strong { color: var(--blanc); }
.hero--photo .hero__points { border-top-color: rgb(255 255 255 / 0.24); }
.hero--photo .hero__points li { color: rgb(255 255 255 / 0.9); }
.hero--photo .hero__points .icone { color: var(--terre-claire); }

/* En-tête des pages intérieures */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2rem, 1rem + 3vw, 3.5rem) clamp(3rem, 1.6rem + 5vw, 6rem);
  border-bottom: 1px solid var(--ligne);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset-inline-end: max(-9rem, -12vw);
  bottom: -5.5rem;
  width: clamp(18rem, 10rem + 30vw, 38rem);
  aspect-ratio: 100 / 60;
  background: url("../img/arche-filigrane.svg") no-repeat center bottom / contain;
  opacity: 0.75;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 18ch; font-size: clamp(2.2rem, 1.55rem + 2.7vw, 3.75rem); }
.page-hero .lead { max-width: 44rem; margin-top: 1.25rem; color: var(--nuit); }

/* En-tête des pages intérieures avec photo (voile : voir « Héros avec photo ») */
.page-hero--photo {
  isolation: isolate;
  display: grid;
  align-content: end;
  min-height: clamp(26rem, 22rem + 14vw, 34rem);
  padding-block: clamp(2rem, 1rem + 3vw, 3.5rem) clamp(3rem, 1.8rem + 4.5vw, 5.5rem);
  border-bottom: 0;
  background: var(--nuit);
  color: var(--blanc);
}
.page-hero--photo::after { content: none; }
.page-hero--photo h1 { color: var(--blanc); }
.page-hero--photo .lead { color: rgb(255 255 255 / 0.92); }
.page-hero--photo .eyebrow { color: var(--terre-claire); }
.page-hero--photo .eyebrow::before { background: var(--terre-claire); }
.page-hero--photo .fil-ariane ol, .page-hero--photo .fil-ariane a { color: rgb(255 255 255 / 0.85); }
.page-hero--photo .fil-ariane a:hover { color: var(--blanc); }
.page-hero--photo .fil-ariane li + li::before { color: rgb(255 255 255 / 0.5); }
.page-hero--photo .fil-ariane [aria-current="page"] { color: var(--blanc); }
.page-hero--photo :focus-visible { outline-color: var(--terre-claire); }
.page-hero--photo .sommaire-categories a { border-color: transparent; background: rgb(255 255 255 / 0.94); }
/* Boutons sur photo : mêmes couleurs que dans le bandeau d'appel (fond Nuit marine) */
.page-hero--photo .btn { --btn-fond: var(--terre-claire); --btn-texte: var(--nuit); --btn-bord: var(--terre-claire); }
.page-hero--photo .btn:hover { --btn-fond: var(--blanc); --btn-texte: var(--nuit); --btn-bord: var(--blanc); }
.page-hero--photo .btn--secondaire { --btn-fond: transparent; --btn-texte: var(--blanc); --btn-bord: rgb(255 255 255 / 0.55); }
.page-hero--photo .btn--secondaire:hover { --btn-fond: var(--blanc); --btn-texte: var(--nuit); --btn-bord: var(--blanc); }
/* Mobile et tablette : bande sans texte en bas du héros, où la photo apparaît sous un voile plus léger */
@media (max-width: 63.99em) {
  .hero--photo, .page-hero--photo { padding-bottom: calc(clamp(3rem, 1.8rem + 4.5vw, 5.5rem) + 4.5rem); }
}

.fil-ariane ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; margin-bottom: clamp(1.75rem, 1.2rem + 2vw, 3rem); font-size: var(--t-sm); color: var(--texte-2); }
.fil-ariane li { display: inline-flex; align-items: center; gap: 0.35rem; }
.fil-ariane li + li::before { content: "/"; color: var(--ligne-forte); }
.fil-ariane a { color: var(--texte-2); text-decoration: none; }
.fil-ariane a:hover { color: var(--bleu); text-decoration: underline; }
.fil-ariane [aria-current="page"] { color: var(--nuit); }

/* ==========================================================================
   9. Carte de la Méditerranée
   ========================================================================== */
.map { position: relative; width: 100%; aspect-ratio: 1000 / 765; }
.map__terres, .map__calque { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__calque { overflow: visible; }
.map__arc { fill: none; stroke: var(--terre); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 0.1 9; }
.map__trace { fill: none; stroke: #fff; stroke-width: 12; }
.map__point { fill: var(--terre); stroke: var(--chaux); stroke-width: 3; }
.map__point--origine { fill: var(--bleu); }
.map__halo { fill: var(--terre); opacity: 0.16; }
.map__halo--origine { fill: var(--bleu); }
.section--blanc .map__point { stroke: var(--blanc); }

.map__label {
  position: absolute;
  z-index: 1;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  color: var(--nuit);
  font-size: clamp(0.6875rem, 0.6rem + 0.35vw, 0.875rem);
  font-weight: 500;
  line-height: 1.2;
  pointer-events: none;
}
.map__label--pays { color: var(--acier); font-size: clamp(0.625rem, 0.55rem + 0.3vw, 0.8125rem); letter-spacing: 0.18em; text-transform: uppercase; }
.map__label--pays.is-cible { color: var(--bleu); font-weight: 600; }
.map__label--mer { color: var(--acier); font-weight: 400; letter-spacing: 0.08em; }  /* pas d'italique : évite de charger la police italique */
.map__label--ville { color: var(--bleu); font-weight: 600; }
.map__label--e { transform: translate(0.7rem, -50%); }
.map__label--o { transform: translate(calc(-100% - 0.7rem), -50%); }
.map__label--n { transform: translate(-50%, calc(-100% - 0.55rem)); }
.map__label--s { transform: translate(-50%, 0.55rem); }
.map__label--ne { transform: translate(0.35rem, calc(-100% - 0.3rem)); }
.map__label--no { transform: translate(calc(-100% - 0.35rem), calc(-100% - 0.3rem)); }
.map__label--se { transform: translate(0.4rem, 0.3rem); }
.map__label--so { transform: translate(calc(-100% - 0.4rem), 0.3rem); }
.map__label--port { padding: 0.1rem 0.35rem; border-radius: 4px; background: rgb(248 245 239 / 0.86); font-size: clamp(0.6875rem, 0.62rem + 0.25vw, 0.8125rem); }
.section--blanc .map__label--port { background: rgb(255 255 255 / 0.88); }
@media (max-width: 47.99em) {
  .map__label--port, .map__label--mer { display: none; }
}
.map-legende { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1rem; color: var(--texte-2); font-size: var(--t-sm); }
.map-legende span { display: inline-flex; align-items: center; gap: 0.5rem; }
.map-legende i { display: inline-block; width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--terre); box-shadow: 0 0 0 2px var(--chaux); }
.map-legende i.origine { background: var(--bleu); }
.map-legende i.trajet { width: 1.75rem; height: 2px; border-radius: 0; background: none; border-top: 2.5px dotted var(--terre); box-shadow: none; }

@media (prefers-reduced-motion: no-preference) {
  .map__trace { stroke-dasharray: 1; stroke-dashoffset: 1; animation: trace 1.6s 0.35s cubic-bezier(0.45, 0.1, 0.25, 1) forwards; }
  .map__arc:nth-of-type(2) + * .map__trace { animation-delay: 0.55s; }
  .map__point--cible { opacity: 0; transform-box: fill-box; transform-origin: center; animation: apparition 0.5s 1.4s ease-out forwards; }
}
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes apparition { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: scale(1); } }

/* ==========================================================================
   10. Cartes (blocs) et listes
   ========================================================================== */
.carte {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  background: var(--blanc);
}
.section--blanc .carte { background: var(--chaux); border-color: transparent; }
.carte h3 { font-size: clamp(1.15rem, 1.08rem + 0.3vw, 1.3125rem); }
.carte p { color: var(--texte-2); font-size: var(--t-sm); line-height: 1.6; }
.carte__icone {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 0.5rem;
  border-radius: 0.875rem;
  background: var(--sable-clair);
  color: var(--bleu);
}
.section--blanc .carte__icone { background: var(--blanc); }
.carte__icone .icone { width: 2.125rem; height: 2.125rem; stroke-width: 1.6; }
.carte--lien { transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.carte--lien:hover { transform: translateY(-3px); box-shadow: var(--ombre); border-color: var(--ligne-forte); }
.carte--lien a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.carte--lien a { color: var(--nuit); text-decoration: none; }
.carte--lien a:hover { color: var(--bleu); }
.carte--lien:focus-within { box-shadow: 0 0 0 3px var(--focus); }
.carte--lien a:focus-visible { outline: none; }
.carte__suite { margin-top: auto; padding-top: 0.5rem; color: var(--bleu); font-size: var(--t-sm); font-weight: 500; display: inline-flex; align-items: center; gap: 0.4rem; }
.carte__suite .icone { width: 1rem; height: 1rem; }

/* Cartes avec vignette photo (univers produits) */
.carte--photo { gap: 0.6rem; padding: 0 0 clamp(1.25rem, 1rem + 0.8vw, 1.75rem); overflow: hidden; }
.carte--photo > :not(.carte__photo) { margin-inline: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); }
.carte--photo h3 { margin-top: 0.65rem; }
.carte__photo { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sable-clair); }
.carte__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Engagements (fond Nuit marine) */
.engagement { display: grid; gap: 0.85rem; align-content: start; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.18); }
.engagement .icone { width: 2.5rem; height: 2.5rem; color: var(--terre-claire); stroke-width: 1.5; }
.engagement .icone .ac { stroke: var(--blanc); }
.engagement h3 { color: var(--blanc); font-size: 1.3125rem; }
.engagement p { color: rgb(255 255 255 / 0.8); font-size: var(--t-sm); }

/* Liste à puces « arche » */
.liste-arche { display: grid; gap: 0.6rem; }
.liste-arche li { position: relative; padding-inline-start: 1.85rem; line-height: 1.5; }
.liste-arche li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.42em;
  width: 1.125rem;
  height: 0.6875rem;
  background: var(--terre);
  -webkit-mask: url("../img/arche.svg") no-repeat center / contain;
  mask: url("../img/arche.svg") no-repeat center / contain;
}
.liste-arche--serree { gap: 0.4rem; font-size: var(--t-sm); }
.section--nuit .liste-arche li::before { background: var(--terre-claire); }

.liste-coche { display: grid; gap: 0.7rem; }
.liste-coche li { display: flex; gap: 0.75rem; align-items: flex-start; line-height: 1.5; }
.liste-coche .icone { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; color: var(--bleu); stroke-width: 2.2; }

/* ==========================================================================
   11. Méthode en 5 étapes (repère « suivi des expéditions »)
   ========================================================================== */
.methode { display: grid; gap: clamp(2.5rem, 1rem + 4vw, 4.5rem); align-items: start; }
@media (min-width: 64em) { .methode { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.suivi { margin-top: 2.25rem; max-width: 30rem; }
.suivi svg { width: 100%; height: auto; }
.suivi__arche { fill: var(--bleu); }
.suivi__arche--fin { fill: var(--terre); }
.suivi__jalon { fill: var(--nuit); }
.suivi__jalon--fin { fill: var(--terre); }
.suivi__num { fill: var(--acier); font-family: var(--police); font-size: 5px; font-weight: 500; text-anchor: middle; }
[dir="rtl"] .suivi svg { transform: scaleX(-1); }
[dir="rtl"] .suivi__num { display: none; }

.etapes { counter-reset: etape; display: grid; gap: 0; }
.etape {
  position: relative;
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 0 1.25rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--ligne);
}
.etape:last-child { border-bottom: 1px solid var(--ligne); }
.etape__num {
  grid-row: span 2;
  color: var(--terre);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1;
  font-feature-settings: "tnum" 1;
}
.etape h3 { font-size: clamp(1.15rem, 1.08rem + 0.35vw, 1.375rem); }
.etape p { margin-top: 0.4rem; color: var(--texte-2); }

/* ==========================================================================
   12. Marchés
   ========================================================================== */
.pays-grille { display: grid; gap: 1.25rem; }
@media (min-width: 48em) { .pays-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pays {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  border: 1px solid var(--ligne);
  border-radius: var(--rayon);
  background: var(--blanc);
}
.section--blanc .pays { background: var(--chaux); border-color: transparent; }
.pays__tete { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.pays__code { color: var(--terre); font-size: 1.5rem; font-weight: 500; letter-spacing: 0.08em; }
.pays h3 { font-size: 1.5rem; }
.pays__label { color: var(--texte-2); font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.ports { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ports li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--sable-clair);
  color: var(--nuit);
  font-size: var(--t-sm);
  font-weight: 500;
}
.section--blanc .pays .ports li { background: var(--blanc); }
.ports li::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--terre); }
.pays p:not(.pays__label) { color: var(--texte-2); font-size: var(--t-sm); }

/* ==========================================================================
   13. Produits (catégories détaillées)
   ========================================================================== */
.sommaire-categories { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sommaire-categories a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.45rem 1rem 0.45rem 0.75rem;
  border: 1px solid var(--ligne);
  border-radius: 999px;
  background: var(--blanc);
  color: var(--nuit);
  font-size: var(--t-sm);
  font-weight: 500;
  text-decoration: none;
}
.sommaire-categories a:hover { border-color: var(--bleu); color: var(--bleu); }
.sommaire-categories .icone { width: 1.35rem; height: 1.35rem; color: var(--bleu); stroke-width: 1.6; }

.categorie {
  display: grid;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  padding-block: clamp(2.5rem, 1.8rem + 3vw, 4rem);
  border-top: 1px solid var(--ligne);
}
.categorie:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 64em) { .categorie { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.categorie__tete { display: flex; flex-direction: column; gap: 1rem; }
.categorie__tete .carte__icone { width: 4.25rem; height: 4.25rem; margin: 0; background: var(--sable-clair); }
.categorie__tete .carte__icone .icone { width: 2.5rem; height: 2.5rem; }
.categorie__tete p { color: var(--texte-2); }
.categorie__corps { display: grid; gap: 1.25rem; }
@media (min-width: 40em) { .categorie__corps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bloc-info { padding: 1.4rem 1.5rem; border-radius: var(--rayon); background: var(--blanc); border: 1px solid var(--ligne); }
.bloc-info h3, .bloc-info h4 { margin-bottom: 0.85rem; color: var(--bleu); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.bloc-info--attention { grid-column: 1 / -1; display: flex; gap: 1rem; align-items: flex-start; background: var(--sable-clair); border-color: transparent; }
.bloc-info--attention .icone { width: 1.6rem; height: 1.6rem; color: var(--terre-texte); margin-top: 0.1rem; }
.bloc-info--attention p { font-size: var(--t-sm); }

/* ==========================================================================
   14. Encadrés, notes, tableaux
   ========================================================================== */
.encadre {
  padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
  border-radius: var(--rayon);
  background: var(--blanc);
  border: 1px solid var(--ligne);
}
.encadre--sable { background: var(--sable-clair); border-color: transparent; }
.encadre--bleu { background: var(--bleu); border-color: transparent; color: var(--blanc); }
.encadre--bleu h2, .encadre--bleu h3 { color: var(--blanc); }
.encadre--nuit { background: var(--nuit); border-color: transparent; color: var(--blanc); }
.encadre--nuit h2, .encadre--nuit h3 { color: var(--blanc); }
.note { display: flex; gap: 0.9rem; align-items: flex-start; color: var(--texte-2); font-size: var(--t-sm); line-height: 1.55; }
.note .icone { width: 1.35rem; height: 1.35rem; margin-top: 0.1rem; color: var(--acier); }
.note--cadre { padding: 1.1rem 1.25rem; border: 1px solid var(--ligne); border-radius: var(--rayon-sm); background: var(--blanc); }

.tableau-defile { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--blanc); }
.tableau-defile:focus-visible { outline-offset: 2px; }
table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); line-height: 1.5; }
caption { padding: 1rem 1.25rem 0; text-align: start; color: var(--texte-2); font-size: var(--t-sm); caption-side: bottom; padding-bottom: 1rem; }
th, td { padding: 0.95rem 1.25rem; text-align: start; vertical-align: top; border-bottom: 1px solid var(--ligne); }
thead th { background: var(--nuit); color: var(--blanc); font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
tbody tr:nth-child(even) { background: var(--chaux); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 600; color: var(--nuit); white-space: nowrap; }
td .discret, .discret { color: var(--texte-2); }
.tableau-defile table { min-width: 44rem; }
/* Tableau en fiches sur petit écran (rôles ARIA explicites dans le HTML : la sémantique de tableau est conservée) */
.libelle-mobile { display: none; }
@media (max-width: 47.99em) {
  .tableau-cartes { overflow: visible; border: 0; border-radius: 0; background: none; }
  .tableau-cartes table { min-width: 0; }
  .tableau-cartes table, .tableau-cartes caption, .tableau-cartes tbody, .tableau-cartes tr, .tableau-cartes th, .tableau-cartes td { display: block; }
  .tableau-cartes thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .tableau-cartes caption { padding: 0 0 1rem; }
  .tableau-cartes tbody { display: grid; gap: 0.75rem; }
  .tableau-cartes tbody tr, .tableau-cartes tbody tr:nth-child(even) { padding: 1.15rem 1.25rem; border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--blanc); }
  .tableau-cartes tbody th, .tableau-cartes td { padding: 0; border: 0; white-space: normal; }
  .tableau-cartes tbody th { margin-bottom: 0.8rem; font-size: 1.125rem; }
  .tableau-cartes td + td { margin-top: 0.65rem; }
  .libelle-mobile { display: block; margin-bottom: 0.1rem; color: var(--texte-2); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
}

dl.fiche { display: grid; gap: 0; border-top: 1px solid var(--ligne); }
dl.fiche div { display: grid; gap: 0.15rem 1.5rem; padding-block: 0.85rem; border-bottom: 1px solid var(--ligne); }
@media (min-width: 40em) { dl.fiche div { grid-template-columns: minmax(10rem, 2fr) minmax(0, 5fr); } }
dl.fiche dt { color: var(--texte-2); font-size: var(--t-sm); }
dl.fiche dd { margin: 0; font-weight: 500; font-feature-settings: "tnum" 1; }

/* ==========================================================================
   15. Équipe, valeurs
   ========================================================================== */
.equipe { display: grid; gap: 1.25rem; }
@media (min-width: 40em) { .equipe { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.membre { display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem; border-radius: var(--rayon); background: var(--blanc); border: 1px solid var(--ligne); }
.membre__initiales {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: var(--nuit);
  color: var(--blanc);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.membre:nth-child(2) .membre__initiales { background: var(--bleu); }
.membre h3 { font-size: 1.3125rem; }
.membre p { color: var(--texte-2); font-size: var(--t-sm); }

.valeurs { display: grid; gap: 0; counter-reset: valeur; }
@media (min-width: 48em) { .valeurs { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 1rem + 3vw, 4rem); } }
.valeur { padding-block: 1.5rem; border-top: 1px solid var(--ligne); }
.valeur h3 { display: flex; align-items: baseline; gap: 0.85rem; font-size: 1.375rem; }
.valeur h3 span { color: var(--terre); font-size: 1.5rem; font-weight: 500; }
.valeur p { margin-top: 0.5rem; color: var(--texte-2); }

/* ==========================================================================
   16. Formulaires
   ========================================================================== */
.formulaire { display: grid; gap: 1.35rem; }
.formulaire__ligne { display: grid; gap: 1.35rem; }
@media (min-width: 40em) { .formulaire__ligne { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.champ { display: grid; gap: 0.45rem; align-content: start; }
.champ label, .champ legend, .champ .label { font-weight: 500; font-size: 1rem; line-height: 1.35; color: var(--nuit); }
.champ .requis { color: var(--terre-texte); font-weight: 500; }
.champ .aide { color: var(--texte-2); font-size: var(--t-xs); line-height: 1.45; }
.champ input[type="text"],
.champ input[type="email"],
.champ input[type="tel"],
.champ input[type="url"],
.champ select,
.champ textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.8rem 1rem;
  border: 1.5px solid #b9ab92;
  border-radius: 0.625rem;
  background: var(--blanc);
  color: var(--nuit);
  font: inherit;
  font-size: 1.0625rem;
  line-height: 1.4;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.champ textarea { min-height: 10rem; resize: vertical; }
.champ select {
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: 2.75rem;
  background-image: url("../img/chevron.svg");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}
[dir="rtl"] .champ select { background-position: left 1rem center; }
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: var(--acier); }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--bleu); box-shadow: 0 0 0 3px rgb(23 74 115 / 0.22); }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.champ [aria-invalid="true"] { border-color: #b3261e; }
.champ__erreur { display: flex; gap: 0.4rem; align-items: flex-start; color: #b3261e; font-size: var(--t-sm); font-weight: 500; line-height: 1.4; }
.champ__erreur:empty { display: none; }

fieldset.champ { margin: 0; padding: 0; border: 0; min-width: 0; }
fieldset.champ legend { padding: 0; margin-bottom: 0.65rem; }
.choix { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.choix label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.6rem 1.1rem;
  border: 1.5px solid #b9ab92;
  border-radius: 999px;
  background: var(--blanc);
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--transition), background-color var(--transition);
}
.choix label:hover { border-color: var(--bleu); }
.choix input { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--bleu); }
.choix label:has(input:checked) { border-color: var(--bleu); background: rgb(23 74 115 / 0.06); color: var(--bleu); }
.choix--cases label { border-radius: 0.625rem; font-size: var(--t-sm); }

.consentement { display: flex; gap: 0.8rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 0.625rem; background: var(--chaux); font-size: var(--t-sm); line-height: 1.5; }
.section--blanc .consentement, .encadre .consentement { background: var(--chaux); }
.consentement input { flex-shrink: 0; width: 1.35rem; height: 1.35rem; margin: 0.1rem 0 0; accent-color: var(--bleu); }
.consentement label { font-weight: 400; font-size: var(--t-sm); }

.pot-de-miel { display: none !important; }

.formulaire__pied { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.formulaire__pied p { color: var(--texte-2); font-size: var(--t-xs); }

.alerte {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  border-radius: 0.75rem;
  border: 1.5px solid #b3261e;
  background: #fdf1ef;
  color: #7a1c15;
  font-size: var(--t-sm);
  line-height: 1.5;
}
.alerte:focus { outline: 3px solid var(--focus); outline-offset: 3px; }
.alerte .icone { width: 1.35rem; height: 1.35rem; color: #b3261e; margin-top: 0.05rem; }
.alerte strong { display: block; margin-bottom: 0.2rem; color: #7a1c15; }
.alerte ul { display: grid; gap: 0.2rem; margin: 0.35rem 0 0; padding-inline-start: 1.1rem; }
.alerte li a { display: inline-flex; align-items: center; min-height: 1.75rem; }
.alerte a { color: #7a1c15; font-weight: 500; }

.carte-formulaire { padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); border-radius: calc(var(--rayon) * 1.25); background: var(--blanc); border: 1px solid var(--ligne); box-shadow: var(--ombre); }
.carte-formulaire > h2 { font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem); }
.carte-formulaire > p { margin-top: 0.6rem; margin-bottom: 1.75rem; color: var(--texte-2); }

/* Coordonnées */
.coordonnees { display: grid; gap: 1.25rem; }
.coordonnee { display: flex; gap: 1rem; align-items: flex-start; }
.coordonnee .icone { width: 1.5rem; height: 1.5rem; margin-top: 0.15rem; color: var(--bleu); }
.coordonnee h3 { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--texte-2); }
.coordonnee p, .coordonnee address { margin-top: 0.2rem; font-style: normal; font-size: 1.0625rem; line-height: 1.5; }
.coordonnee a { font-weight: 500; }

/* ==========================================================================
   17. Bandeau d'appel à l'action
   ========================================================================== */
.bandeau {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 2rem;
  padding: clamp(2rem, 1.2rem + 3.5vw, 4.5rem);
  border-radius: calc(var(--rayon) * 1.5);
  background: var(--nuit);
  color: var(--blanc);
  isolation: isolate;
}
.bandeau::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset-inline-end: -4rem;
  bottom: -4.5rem;
  width: clamp(16rem, 10rem + 22vw, 30rem);
  aspect-ratio: 100 / 60;
  background: url("../img/arche-filigrane-nuit.svg") no-repeat center bottom / contain;
}
@media (min-width: 64em) { .bandeau { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; } }
.bandeau h2 { color: var(--blanc); max-width: 20ch; }
.bandeau p:not(.eyebrow) { margin-top: 1rem; color: rgb(255 255 255 / 0.8); font-size: var(--t-lead); max-width: 38rem; }
.bandeau .actions { justify-content: flex-start; }
@media (min-width: 64em) { .bandeau .actions { justify-content: flex-end; } }

.accroche-fournisseur { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 64em) { .accroche-fournisseur { grid-template-columns: minmax(0, 1fr) auto; } }

/* ==========================================================================
   18. Pied de page
   ========================================================================== */
.site-footer { margin-top: auto; background: var(--nuit); color: rgb(255 255 255 / 0.82); font-size: var(--t-sm); }
.site-footer a { color: var(--blanc); text-decoration: none; }
.site-footer a:hover { color: var(--terre-claire); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--terre-claire); }
.footer-haut { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 2rem + 4vw, 5rem) 2.5rem; }
@media (min-width: 48em) { .footer-haut { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 75em) { .footer-haut { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); } }
.footer-marque img { width: 13.5rem; height: auto; }
.footer-marque p { max-width: 24rem; margin-top: 1.25rem; line-height: 1.6; }
.footer-signature { margin-top: 1rem; color: var(--terre-claire); font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.site-footer h2 { margin-bottom: 1rem; color: var(--blanc); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.footer-liens { display: grid; gap: 0.15rem; }
.footer-liens a { display: inline-flex; align-items: center; min-height: 2.25rem; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-bas { padding-block: 1.5rem 2rem; border-top: 1px solid rgb(255 255 255 / 0.14); color: rgb(255 255 255 / 0.72); font-size: var(--t-xs); line-height: 1.7; }
.footer-bas p + p { margin-top: 0.35rem; }
.footer-bas .sep { margin-inline: 0.4rem; opacity: 0.6; }

/* ==========================================================================
   19. Pages de texte (mentions légales, confidentialité)
   ========================================================================== */
.prose { max-width: 46rem; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--ligne); font-size: clamp(1.45rem, 1.3rem + 0.7vw, 1.85rem); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { margin-top: 1.75rem; font-size: 1.1875rem; font-weight: 600; }
.prose ul { padding-inline-start: 1.25rem; }
.prose li + li { margin-top: 0.4rem; }
.prose dl.fiche { margin-top: 1.25rem; }
.prose .a-completer { padding: 0.1rem 0.4rem; border-radius: 4px; background: #fff1c2; color: var(--nuit); font-weight: 500; }
.sommaire-page { padding: 1.5rem; border-radius: var(--rayon); background: var(--blanc); border: 1px solid var(--ligne); font-size: var(--t-sm); }
.sommaire-page h2 { margin-bottom: 0.75rem; font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--texte-2); }
.sommaire-page ol { display: grid; gap: 0.35rem; margin: 0; padding-inline-start: 1.2rem; }
.mise-a-jour { color: var(--texte-2); font-size: var(--t-sm); }

/* Pages courtes (merci, 404) */
.page-message { padding-block: clamp(4rem, 3rem + 6vw, 8rem); }
.page-message__code { color: var(--terre); font-size: clamp(3.5rem, 2.5rem + 5vw, 6rem); font-weight: 500; line-height: 1; }
.page-message h1 { max-width: 20ch; margin-top: 1rem; font-size: clamp(2rem, 1.5rem + 2.4vw, 3.25rem); }
.page-message .lead { max-width: 40rem; margin-top: 1.25rem; }
.page-message .actions { margin-top: 2.25rem; }
.page-message .liste-arche { margin-top: 2.5rem; }

/* ==========================================================================
   20. Apparition au défilement (désactivée si « réduire les animations »)
   ========================================================================== */
/* Glissement seul, sans fondu : le texte reste entièrement lisible pendant l'animation (contrastes WCAG) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { transform: translateY(22px); transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .js [data-reveal].is-visible { transform: none; }
  .js [data-reveal-delai="1"] { transition-delay: 0.08s; }
  .js [data-reveal-delai="2"] { transition-delay: 0.16s; }
  .js [data-reveal-delai="3"] { transition-delay: 0.24s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   21. Arabe (dir="rtl") : ajustements typographiques
   ========================================================================== */
:root[lang="ar"] body { font-family: var(--police-ar); line-height: 1.75; }
:root[lang="ar"] h1, :root[lang="ar"] h2, :root[lang="ar"] h3, :root[lang="ar"] h4 { letter-spacing: 0; line-height: 1.35; }
:root[lang="ar"] .eyebrow,
:root[lang="ar"] .map__label,
:root[lang="ar"] thead th,
:root[lang="ar"] .site-footer h2,
:root[lang="ar"] .footer-signature,
:root[lang="ar"] .bloc-info h3,
:root[lang="ar"] .coordonnee h3,
:root[lang="ar"] .pays__label,
:root[lang="ar"] .sommaire-page h2,
:root[lang="ar"] .libelle-mobile { letter-spacing: 0; text-transform: none; }
:root[lang="ar"] .hero__titre { max-width: 14ch; }
/* Numéros de téléphone, adresses e-mail, adresses postales et identifiants légaux : ordre des chiffres préservé
   dans les pages de droite à gauche (sans effet sur le français) */
a[href^="tel:"]:not(.btn), a[href^="mailto:"]:not(.btn), a[href^="tel:"] .tnum, .ltr { direction: ltr; unicode-bidi: isolate; }
address, dl.fiche dd { unicode-bidi: plaintext; }
[dir="rtl"] address, [dir="rtl"] dl.fiche dd { text-align: right; }

/* ==========================================================================
   22. Impression
   ========================================================================== */
@media print {
  .site-header, .site-footer .footer-haut, .skip-link, .menu-toggle, .bandeau .actions, .formulaire, .frise, .page-hero::after { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section, .page-hero { padding-block: 1.25rem; }
  a { color: #000; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
  .site-footer { background: #fff; color: #000; }
  .footer-bas { color: #000; border-color: #ccc; }
}

/* ==========================================================================
   23. Compléments : espacements, services, fournisseurs, contact, pages légales
   ========================================================================== */
.note--apres { margin-top: 1.75rem; }
h2 + .lead, .eyebrow + h2 + .lead { margin-top: 1.1rem; }
.lead + .actions { margin-top: 2rem; }
.note--large { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.note--large p { color: var(--nuit); }
.suite-section { margin-top: 2rem; }
.actions--hero { margin-top: 2rem; }
.texte-courant > p:not(.lead) { color: var(--nuit); }
.page-hero--court { padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.page-hero .sommaire-categories { margin-top: 2.25rem; }
.page-hero .sommaire-categories a { background: rgb(255 255 255 / 0.85); }

/* Bandeau d'appel : pas de double marge après une section de même fond */
.section:not(.section--blanc):not(.section--nuit):not(.section--sable) + .section--bandeau { padding-top: 0; }

/* Carte de la Méditerranée : bords fondus dans le fond de page */
.map__terres {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 6%, #000 90%, transparent);
  mask-composite: intersect;
}
.carte-marches { max-width: 62rem; margin-inline: auto; }
.notes-marches { margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.notes-marches .note { height: 100%; }
.pays .liste-arche { color: var(--nuit); }

/* Produits et services : fiches détaillées */
.categorie h2, .service h2 { font-size: clamp(1.45rem, 1.25rem + 0.9vw, 2rem); }
.services-liste { display: grid; }
.service {
  display: grid;
  gap: 1.25rem clamp(2rem, 1rem + 4vw, 5rem);
  padding-block: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);
  border-top: 1px solid var(--ligne);
}
.service:first-child { border-top: 0; padding-top: 0; }
.service:last-child { padding-bottom: 0; }
@media (min-width: 64em) { .service { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.service__tete { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; align-content: start; gap: 1rem 1.25rem; }
.service__num { grid-column: 1 / -1; color: var(--terre); font-size: 1.5rem; font-weight: 500; line-height: 1; font-feature-settings: "tnum" 1; }
.service__tete .carte__icone { margin: 0; background: var(--sable-clair); }
.service__corps > p { margin-bottom: 1.25rem; color: var(--nuit); font-size: var(--t-lead); line-height: 1.55; }

/* Fournisseurs */
.liste-coche--grande { gap: 0; }
.liste-coche--grande li { padding-block: 1rem; border-bottom: 1px solid var(--ligne); }
.liste-coche--grande li:first-child { border-top: 1px solid var(--ligne); }
.regle-dlc { display: flex; gap: 1.1rem; align-items: center; margin-top: clamp(1.25rem, 1rem + 1vw, 2rem); }
.regle-dlc .icone { width: 2.25rem; height: 2.25rem; color: var(--terre-claire); stroke-width: 1.6; }
.regle-dlc .icone .ac { stroke: var(--blanc); }
.regle-dlc p { font-size: var(--t-lead); line-height: 1.5; }
.regle-dlc strong { color: var(--terre-claire); font-weight: 500; }
.contact-achats { padding: 1.5rem; border-radius: var(--rayon); background: var(--blanc); border: 1px solid var(--ligne); }
.contact-achats h3 { margin-bottom: 0.6rem; color: var(--texte-2); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.coordonnees-lignes { display: grid; gap: 0.45rem; margin-top: 0.85rem; }
.coordonnees-lignes span { display: inline-flex; align-items: center; gap: 0.65rem; }
.coordonnees-lignes .icone { width: 1.25rem; height: 1.25rem; color: var(--bleu); }
.coordonnees-lignes a { font-weight: 500; }

/* Contact */
.titre-aside { font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.75rem); }
.titre-encadre { font-size: 1.1875rem; }
.encadre > * + * { margin-top: 0.75rem; }
.lien-externe .icone { width: 1rem; height: 1rem; }
.section--formulaire { padding-top: clamp(2.5rem, 1.5rem + 4vw, 5rem); }

/* Pages légales */
@media (min-width: 64em) { .deux-colonnes--prose { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); } }
.resume-rgpd { line-height: 1.6; }
.prose dl.fiche dd { overflow-wrap: anywhere; }

/* Page de remerciement et page 404 */
.page-message__pastille { display: grid; place-items: center; width: 4rem; height: 4rem; margin-bottom: 1.5rem; border-radius: 50%; background: var(--bleu); color: var(--blanc); }
.page-message__pastille .icone { width: 2rem; height: 2rem; stroke-width: 2.2; }
.page-message .suite-etapes { margin-top: 1.5rem; }
@media (min-width: 30em) { .liens-404 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Mobile : fiches « univers produits » compactes (pictogramme à gauche) */
@media (max-width: 39.99em) {
  .carte--lien { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 0.25rem 1rem; padding: 1.15rem 1.25rem; }
  .carte--lien .carte__icone { grid-row: 1 / span 2; width: 3rem; height: 3rem; margin: 0; }
  .carte--lien .carte__icone .icone { width: 1.75rem; height: 1.75rem; }
  .carte--lien .carte__suite { display: none; }
  /* avec photo : vignette carrée à gauche (à droite en arabe), texte à côté */
  .carte--photo { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); align-items: start; gap: 0.2rem 1rem; padding: 0; }
  .carte--photo .carte__photo { grid-row: 1 / span 2; height: 100%; min-height: 6.5rem; aspect-ratio: auto; }
  .carte--photo > :not(.carte__photo) { margin-inline: 0 1rem; }
  .carte--photo h3 { align-self: end; margin-top: 0.85rem; }
  .carte--photo p { align-self: start; margin-bottom: 0.85rem; }
}

/* ==========================================================================
   24. Carte : position des étiquettes
   ========================================================================== */
/* @carte:debut (bloc généré par _src/carte.py, ne pas modifier à la main) */
.map [data-pos="alger"] { left: 49.14%; top: 67.72%; }
.map [data-pos="oran"] { left: 38.24%; top: 72.27%; }
.map [data-pos="bejaia"] { left: 54.98%; top: 67.81%; }
.map [data-pos="annaba"] { left: 62.70%; top: 66.82%; }
.map [data-pos="rades"] { left: 69.91%; top: 66.76%; }
.map [data-pos="sfax"] { left: 71.86%; top: 76.33%; }
.map [data-pos="bizerte"] { left: 68.66%; top: 64.66%; }
.map [data-pos="casablanca"] { left: 17.16%; top: 79.63%; }
.map [data-pos="tanger-med"] { left: 24.17%; top: 69.95%; }
.map [data-pos="agadir"] { left: 9.77%; top: 93.27%; }
.map [data-pos="paris"] { left: 47.91%; top: 10.84%; }
.map [data-pos="france"] { left: 48.35%; top: 21.63%; }
.map [data-pos="espagne"] { left: 30.63%; top: 50.83%; }
.map [data-pos="italie"] { left: 74.33%; top: 37.19%; }
.map [data-pos="algerie"] { left: 47.55%; top: 89.15%; }
.map [data-pos="tunisie"] { left: 67.52%; top: 80.40%; }
.map [data-pos="maroc"] { left: 20.08%; top: 88.87%; }
.map [data-pos="mediterranee"] { left: 55.21%; top: 58.61%; }
.map [data-pos="atlantique"] { left: 9.44%; top: 68.69%; }
/* @carte:fin */
