/* Feuille de style commune (lot G) — www.republique-dominicaine.com, agence THERD à Las Terrenas.
   Mobile d'abord, sans framework, servie depuis le site (CSP style-src 'self' : aucun style en ligne).

   Charte (DECISIONS §3, relevée sur le site actuel) : bleu nuit #0b1c2d (textes, titres, logo, élément de menu
   actif, boutons), fond #f4f6f8, sections alternées #f0f0f0, cartes blanches ; accent sable #a8875a réservé aux
   détails décoratifs (filets) car il n'atteint pas 4,5:1 pour du texte. Titres et logo : Playfair Display ;
   texte : Montserrat ; menu, boutons et étiquettes : Open Sans Condensed 700 en majuscules.
   Contrastes (WCAG AA, vérifiés par apps/core/tests/test_layout.py) : texte #0b1c2d sur #f4f6f8 15,9:1 ;
   texte secondaire #4a5866 sur #f0f0f0 6,4:1 ; blanc sur #0b1c2d 17,2:1 ; blanc sur le vert WhatsApp #075e54 7,7:1.

   Composants offerts aux autres lots (à réutiliser plutôt que redéfinir) :
   .container .narrow .section .section--alt .page-head .kicker .lead .title-light .prose .card .panel .badge .notice
   .btn (.btn-primary .btn-outline .btn-light .btn-wa .btn-small .btn-block) .btn-row .text-list .table-wrap
   .error-box .visually-hidden .muted .small .center ; icônes {% icon "nom" %} (static/img/icons.svg).
   Variables : --brand --brand-2 --brand-tint --accent --bg --section --card --ink --muted --line --line-strong
   --on-brand --on-brand-muted --wa --wa-hover --focus --radius --shadow --font-title --font-text --font-label
   --gutter --maxw --header-h. */

/* ---------------------------------------------------------------------------------------------------------------
   Polices auto-hébergées (static/fonts, licences OFL et Apache 2.0 à côté des fichiers)
   --------------------------------------------------------------------------------------------------------------- */
@font-face {
  font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/playfair-display-latin-400-normal.8a53e5ecdbff.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/playfair-display-latin-ext-400-normal.cac109a776f0.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Playfair Display"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/playfair-display-latin-700-normal.9401d0214a93.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/playfair-display-latin-ext-700-normal.c0d76cfbf5db.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/montserrat-latin-400-normal.e7198b2dcb57.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/montserrat-latin-ext-400-normal.17898728c63b.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/montserrat-latin-400-italic.fd7db0d8b1bb.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/montserrat-latin-600-normal.9e606da1cbeb.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/montserrat-latin-ext-600-normal.e2a7d38baea7.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/montserrat-latin-700-normal.1c0792ac34ef.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/montserrat-latin-ext-700-normal.7b0c49b295bd.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/open-sans-condensed-latin-700-normal.91a3cb82f1e4.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/open-sans-condensed-latin-ext-700-normal.8c93dd004cfe.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------------------------------------------------------------------------------------------------------------
   Variables
   --------------------------------------------------------------------------------------------------------------- */
:root {
  --brand: #0b1c2d;
  --brand-2: #1b3550;        /* survol des boutons pleins */
  --brand-tint: #e3e8ee;     /* survol léger (menu) */
  --accent: #a8875a;         /* sable doré : filets et détails décoratifs uniquement */
  --accent-strong: #9a7a4c;  /* contour de focus sur fond bleu nuit ou clair (3:1 minimum des deux côtés) */
  --bg: #f4f6f8;
  --section: #f0f0f0;
  --card: #ffffff;
  --ink: #0b1c2d;
  --muted: #4a5866;
  --line: #d8dee4;
  --line-strong: #6b7785;    /* bords des champs de formulaire (3:1 minimum) */
  --on-brand: #d5dde5;       /* texte courant sur fond bleu nuit (pied de page) */
  --on-brand-muted: #aab6c2; /* texte secondaire sur fond bleu nuit */
  --wa: #075e54;
  --wa-hover: #054c44;
  --focus: #0b1c2d;
  --danger: #a51d1d;
  --danger-bg: #fbeaea;
  --ok: #1e6b3a;
  --ok-bg: #e8f3ec;
  --warn: #7a4b00;
  --warn-bg: #fdf3e1;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(11, 28, 45, .08), 0 6px 18px rgba(11, 28, 45, .08);
  --shadow-lg: 0 10px 34px rgba(11, 28, 45, .22);
  --font-title: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-text: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-label: "Open Sans Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --gutter: 16px;
  --maxw: 1180px;
  --header-h: 64px;
  color-scheme: light;
}

/* ---------------------------------------------------------------------------------------------------------------
   Base
   --------------------------------------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* ancres et éléments mis au point au clavier jamais cachés sous l'en-tête ni sous les éléments fixes du bas */
  scroll-padding-top: calc(var(--header-h) + 12px);
  scroll-padding-bottom: 96px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.65 var(--font-text);
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--font-title); font-weight: 700; line-height: 1.2; color: var(--brand); margin: 0 0 .5em; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.6vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); }
h3 { font-size: 1.2rem; }
h4, h5, h6 { font-family: var(--font-text); font-weight: 600; font-size: 1rem; line-height: 1.35; color: var(--brand); margin: 0 0 .5em; }
p, ul, ol, dl { margin: 0 0 1em; }
strong, b { font-weight: 700; }
small { font-size: .875rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
#main:focus { outline: none; }
.icon { display: inline-block; flex: none; vertical-align: -.2em; }
.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; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: var(--radius);
  background: var(--brand); color: #fff; font: 700 1rem/1.2 var(--font-label); letter-spacing: .05em;
  text-transform: uppercase; text-decoration: none;
}
.skip-link:focus { top: 8px; color: #fff; outline-color: var(--accent-strong); }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.m0 { margin: 0; }
.kicker {
  margin: 0 0 .6em; font: 600 .8rem/1.3 var(--font-text); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.lead { font-size: 1.125rem; }
.title-light { font-weight: 400; }  /* grands titres fins en Playfair Display 400 */

/* ---------------------------------------------------------------------------------------------------------------
   Boutons : pleins bleu nuit (action principale) ou contour bleu nuit 2 px (« EN SAVOIR PLUS »)
   --------------------------------------------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .6em 1.4em;
  border: 2px solid var(--brand); border-radius: var(--radius);
  background: transparent; color: var(--brand);
  font: 700 1.05rem/1.15 var(--font-label); letter-spacing: .06em; text-transform: uppercase;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--brand); color: #fff; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); border-color: var(--brand-2); color: #fff; }
.btn-outline { background: transparent; color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-light { border-color: #fff; color: #fff; background: transparent; }
.btn-light:hover { background: #fff; color: var(--brand); }
.btn-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); border-color: var(--wa-hover); color: #fff; }
.btn-small { min-height: 40px; padding: .4em 1em; font-size: .95rem; }
.btn-block { width: 100%; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-row--center { justify-content: center; }

/* ---------------------------------------------------------------------------------------------------------------
   En-tête : fond #f4f6f8, logo texte sur 4 lignes, menu en Open Sans Condensed majuscules
   --------------------------------------------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand {
  display: inline-flex; flex-direction: column; align-items: center; flex: none;
  color: var(--brand); text-decoration: none; text-transform: uppercase; font-family: var(--font-title);
  line-height: 1;
}
.brand:hover { color: var(--brand); }
.brand > span { display: block; }
.brand__top { font-weight: 400; font-size: .55rem; letter-spacing: .45em; margin-right: -.45em; margin-bottom: 2px; }
.brand__main { font-weight: 700; font-size: .92rem; letter-spacing: .1em; margin-right: -.1em; }
.brand > .brand__tag {
  display: flex; align-items: center; gap: .55em; margin-top: 3px;
  font-weight: 400; font-size: .5rem; letter-spacing: .32em; margin-right: -.32em;
}
.brand__tag::before, .brand__tag::after { content: ""; width: 1.8em; border-top: 1px solid currentColor; }

/* Menu principal (ordinateur, à partir de 1200 px ; en dessous : menu mobile plein écran) */
.main-nav { display: none; margin-left: auto; }
.main-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav__item { position: relative; display: flex; align-items: center; }
.main-nav__link {
  display: block; padding: 8px; border-radius: var(--radius); white-space: nowrap;
  color: var(--brand); text-decoration: none;
  font: 700 .98rem/1.2 var(--font-label); letter-spacing: .05em; text-transform: uppercase;
}
.main-nav__link:hover { background: var(--brand-tint); color: var(--brand); }
.main-nav__link.is-active, .main-nav__link[aria-current] { background: var(--brand); color: #fff; }
.main-nav__toggle {
  display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 32px;
  margin-left: 1px; padding: 0 3px; border: 0; border-radius: var(--radius); background: none;
  color: var(--brand); cursor: pointer;
}
.main-nav__toggle:hover { background: var(--brand-tint); }
.main-nav__toggle .icon { transition: transform .15s; }
.main-nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.main-nav__sub {
  position: absolute; top: 100%; left: 0; z-index: 60; display: none; min-width: 250px;
  margin: 0; padding: 6px 0; list-style: none;
  background: var(--card); border: 1px solid var(--line); border-top: 2px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow);
}
.main-nav__sub a {
  display: block; padding: 9px 16px; color: var(--brand); text-decoration: none;
  font: 600 .95rem/1.3 var(--font-text);
}
.main-nav__sub a:hover { background: var(--brand-tint); }
.main-nav__sub a[aria-current] { background: var(--brand); color: #fff; }
.main-nav__sub a:focus-visible { outline-offset: -3px; outline-color: var(--accent-strong); }
.main-nav__sub.is-open { display: block; }
@media (hover: hover) {
  .main-nav__item:hover > .main-nav__sub { display: block; }
}
/* Sans JavaScript, le sous-menu s'ouvre aussi au clavier (focus) ; avec, le bouton gère l'état (aria-expanded). */
html:not(.js) .main-nav__item:focus-within > .main-nav__sub { display: block; }

/* Choix de la langue */
.lang-switch { margin-left: auto; }
.lang-switch ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 32px;
  padding: 0 4px; border-radius: var(--radius); color: var(--muted); text-decoration: none;
  font: 700 .9rem/1 var(--font-label); letter-spacing: .06em;
}
.lang-switch a:hover { background: var(--brand-tint); color: var(--brand); }
.lang-switch a[aria-current] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); }

/* Menu mobile plein écran (<details> : fonctionne sans JavaScript) */
.mnav { flex: none; }
.mnav__toggle {
  display: inline-flex; align-items: center; min-height: 44px; padding: 6px 10px; list-style: none;
  border: 2px solid var(--brand); border-radius: var(--radius); background: transparent; color: var(--brand);
  font: 700 .95rem/1 var(--font-label); letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
  user-select: none;
}
.mnav__toggle::-webkit-details-marker { display: none; }
.mnav__toggle > span { display: inline-flex; align-items: center; gap: 6px; }
.mnav__when-open, .mnav[open] .mnav__when-closed { display: none !important; }
.mnav[open] .mnav__when-open { display: inline-flex !important; }
.mnav[open] .mnav__toggle { background: var(--brand); color: #fff; }
.mnav__panel {
  position: fixed; left: 0; right: 0; top: calc(var(--header-h) + 1px); bottom: 0; z-index: 45;
  overflow-y: auto; overscroll-behavior: contain;
  padding: 12px var(--gutter) calc(110px + env(safe-area-inset-bottom));
  background: var(--bg);
}
html:has(.mnav[open]) { overflow: hidden; }
.mnav__list { list-style: none; margin: 0 auto; padding: 0; max-width: 520px; border-top: 1px solid var(--line); }
.mnav__list > li { border-bottom: 1px solid var(--line); }
.mnav__link {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 54px;
  padding: 10px 16px; list-style: none; cursor: pointer;
  color: var(--brand); text-decoration: none; text-align: center;
  font: 700 1.2rem/1.2 var(--font-label); letter-spacing: .08em; text-transform: uppercase;
}
.mnav__link::-webkit-details-marker { display: none; }
.mnav__link:hover { background: var(--brand-tint); }
.mnav__link.is-active, .mnav__link[aria-current] { background: var(--brand); color: #fff; }
.mnav__link:focus-visible, .mnav__sublink:focus-visible { outline-color: var(--accent-strong); outline-offset: -4px; }
.mnav__group > summary .icon { transition: transform .15s; }
.mnav__group[open] > summary .icon { transform: rotate(180deg); }
.mnav__sub { list-style: none; margin: 0; padding: 6px 0 10px; background: var(--card); }
.mnav__sublink {
  display: block; min-height: 44px; padding: 10px 16px; text-align: center; color: var(--brand);
  text-decoration: none; font: 600 1rem/1.4 var(--font-text);
}
.mnav__sublink:hover { background: var(--brand-tint); }
.mnav__sublink[aria-current] { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; }
.mnav__langs ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; }
.mnav__langs a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--brand); text-decoration: none; font: 600 .95rem/1 var(--font-text);
}
.mnav__langs a[aria-current] { background: var(--brand); border-color: var(--brand); color: #fff; }
.mnav__cta { max-width: 520px; margin: 22px auto 0; }

/* ---------------------------------------------------------------------------------------------------------------
   Mise en page commune
   --------------------------------------------------------------------------------------------------------------- */
.breadcrumbs { padding-top: 14px; font-size: .85rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 8px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs [aria-current] { color: var(--ink); }
.section { padding-block: 48px; }
.section--alt { background: var(--section); }
.page-head { padding-block: 28px 12px; }
.page-head p { max-width: 70ch; color: var(--muted); }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.2em 0; padding: 12px 16px; background: var(--card); border-left: 3px solid var(--accent); }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; }
.prose th, .prose td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--section); }
.table-wrap { overflow-x: auto; }
.card { display: flex; flex-direction: column; gap: 8px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.panel { padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.panel h2 { font-size: 1.2rem; }
.text-list { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px;
  background: var(--brand-tint); color: var(--brand); font: 700 .8rem/1.2 var(--font-label); letter-spacing: .06em;
  text-transform: uppercase;
}
.notice { margin: 0 0 16px; padding: 12px 16px; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius); background: var(--card); }
.notice--error { border-left-color: var(--danger); background: var(--danger-bg); color: var(--danger); }
.notice--ok { border-left-color: var(--ok); background: var(--ok-bg); color: var(--ok); }
.notice--warn { border-left-color: var(--warn); background: var(--warn-bg); color: var(--warn); }

/* Champs de formulaire (base ; les formulaires du lot D ont leurs propres styles dans forms.css) */
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea {
  max-width: 100%; min-height: 44px; padding: 10px 12px; border: 1.5px solid var(--line-strong);
  border-radius: var(--radius); background: #fff; color: var(--ink); font: 400 1rem/1.3 var(--font-text);
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }

/* Pages d'erreur */
.error-box {
  max-width: 680px; margin: 48px auto; padding: 32px 22px; text-align: center;
  background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius);
}
.error-box h1 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.3rem); }
.error-box p { color: var(--muted); }
.error-box .btn-row { margin-top: 20px; }
.page-error--500 .error-box h1 { font-size: clamp(1.3rem, 1rem + 1.6vw, 1.9rem); }

/* ---------------------------------------------------------------------------------------------------------------
   Pied de page (bleu nuit)
   --------------------------------------------------------------------------------------------------------------- */
.site-footer {
  --focus: #ffffff;
  margin-top: 56px; padding: 44px 0 calc(104px + env(safe-area-inset-bottom));
  background: var(--brand); color: var(--on-brand); font-size: .92rem;
}
.site-footer a { color: #fff; }
.site-footer h2 {
  margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(168, 135, 90, .7);
  color: #fff; font: 700 .95rem/1.2 var(--font-label); letter-spacing: .1em; text-transform: uppercase;
}
.site-footer .footer-brand { border: 0; padding: 0; font: 700 1.35rem/1.2 var(--font-title); letter-spacing: 0; text-transform: none; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); }
.footer-col ul, .footer-contact ul { display: grid; gap: 7px; list-style: none; margin: 0; padding: 0; }
.footer-contact { font-style: normal; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: 3px; color: var(--accent); }
.footer-follow a { margin-left: 6px; }
.footer-network { margin-top: 34px; }
.footer-network ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.footer-network span { color: var(--on-brand-muted); }
.footer-bottom { margin-top: 30px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .16); color: var(--on-brand-muted); font-size: .85rem; }
.footer-bottom p { margin: 0 0 4px; }

/* ---------------------------------------------------------------------------------------------------------------
   Bouton WhatsApp flottant (toutes les pages) et barre d'actions mobile
   --------------------------------------------------------------------------------------------------------------- */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 55;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 56px; height: 56px; padding: 0 14px; border-radius: 999px;
  background: var(--wa); color: #fff; text-decoration: none;
  box-shadow: 0 0 0 2px #fff, 0 6px 20px rgba(11, 28, 45, .28);
  transform: translateY(var(--wa-dodge, 0px));
  transition: transform .2s ease, background-color .15s;
}
.wa-float:hover { background: var(--wa-hover); color: #fff; }
.wa-float:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
.wa-float__label { display: none; font: 700 1.05rem/1 var(--font-label); letter-spacing: .06em; text-transform: uppercase; }
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; gap: 12px; min-height: 72px;
  padding: 8px 88px calc(8px + env(safe-area-inset-bottom)) var(--gutter);
  background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(11, 28, 45, .08);
}
.sticky-bar { transition: transform .2s ease, visibility 0s; }
.sticky-bar.is-away { transform: translateY(110%); visibility: hidden; transition: transform .2s ease, visibility 0s .2s; }
.sticky-bar__text { display: none; flex: 1; min-width: 0; margin: 0; color: var(--brand); font: 600 .9rem/1.25 var(--font-text); }
.sticky-bar .btn { flex: 1; }
/* Avec la barre (mobile) : le bouton WhatsApp se place dans la barre, à droite. La barre s'efface quand un bouton
   d'envoi de formulaire passe dans sa zone (site.js). */
body:has(.sticky-bar) .wa-float { bottom: calc(8px + env(safe-area-inset-bottom)); }
@media (min-width: 480px) {
  .sticky-bar__text { display: block; }
  .sticky-bar .btn { flex: none; }
}
@media (max-height: 500px) {
  .sticky-bar { display: none; }  /* téléphone à l'horizontale : la hauteur est réservée au contenu */
}

/* ---------------------------------------------------------------------------------------------------------------
   Bandeau de consentement (cookies)
   --------------------------------------------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  max-width: 640px; margin: 0 auto; padding: 16px;
  background: var(--card); color: var(--ink); border: 1px solid var(--line); border-top: 3px solid var(--brand);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.cookie-banner__text { margin: 0 0 12px; font-size: .9rem; line-height: 1.5; }
.cookie-banner__text strong { display: block; margin-bottom: 4px; color: var(--brand); }
.cookie-banner .btn { flex: 1 1 140px; }

/* ---------------------------------------------------------------------------------------------------------------
   Points de rupture
   --------------------------------------------------------------------------------------------------------------- */
@media (max-width: 419.98px) {
  /* le mot « Menu » reste lu par les lecteurs d'écran */
  .mnav__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .mnav__toggle { min-width: 44px; justify-content: center; }
}
@media (max-width: 339.98px) {
  .lang-switch { display: none; }  /* reste accessible dans le menu mobile */
}
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand__main { font-size: 1rem; }
}
@media (min-width: 900px) {
  :root { --header-h: 80px; }
  .brand__top { font-size: .6rem; }
  .brand__main { font-size: 1.12rem; }
  .brand > .brand__tag { font-size: .55rem; }
  .sticky-bar { display: none; }
  body:has(.sticky-bar) .wa-float, .wa-float { right: 24px; bottom: 24px; padding: 0 22px 0 16px; }
  .wa-float__label { display: inline; }
  .footer-grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); }
  .section { padding-block: 64px; }
}
@media (min-width: 1200px) {
  .main-nav { display: block; }
  .mnav { display: none; }
  .lang-switch { margin-left: 4px; }
}
@media (min-width: 1360px) {
  :root { --maxw: 1280px; }
  .main-nav__link { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .wa-float, .sticky-bar, .cookie-banner, .skip-link { display: none !important; }
  body { background: #fff; }
  a { color: inherit; }
}
