/* =========================================================================
   ACTU EXPATRIATION — actu-expatriation.com
   Feuille de style unique. Aucune dependance, aucun framework.
   1. Tokens        5. Accueil        9. Fiches pays
   2. Base & typo   6. Article       10. Encarts location
   3. En-tete       7. Rubriques     11. Pied de page
   4. Composants    8. Recherche     12. Petits ecrans
   ========================================================================= */

/* 1. TOKENS ============================================================== */
:root {
  /* Encres */
  --encre:     #0F1D2E;
  --encre-2:   #3A4C61;
  --encre-3:   #64748B;
  --encre-4:   #97A3B2;

  /* Fonds */
  --papier:    #FCFCFA;
  --surface:   #F3F2EC;
  --surface-2: #E9E8DF;
  --bord:      #DFDDD2;
  --bord-fin:  #ECEAE1;

  /* Couleurs de rubrique */
  --bleu:      #1B5A8E;
  --emeraude:  #0D6B54;
  --corail:    #C4462B;
  --safran:    #9C6510;
  --prune:     #7A3B62;
  --ardoise:   #3F5468;

  --accent:     var(--bleu);
  --accent-sur: #FFFFFF;
  --accent-pale: color-mix(in srgb, var(--accent) 10%, var(--papier));

  /* Bloc profond : reste sombre dans les deux themes */
  --nuit:      #0F1D2E;
  --nuit-2:    #1A2E44;
  --nuit-clair:#F3F5F8;
  --nuit-doux: #A9BACC;
  --nuit-bord: #294056;

  /* Typo */
  --titre: "Fraunces", "Iowan Old Style", Georgia, serif;
  --texte: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Mesures */
  --page:      1180px;
  --large:     1360px;
  --colonne:   660px;
  --marge:     clamp(1.15rem, 4vw, 2.75rem);
  --espace:    clamp(1.1rem, 2.2vw, 2rem);
  --souffle:   clamp(3.25rem, 6.5vw, 6rem);

  --r-s:  8px;
  --r-m:  14px;
  --r-l:  22px;
  --r-xl: 30px;

  --ombre-1: 0 1px 2px rgba(15, 29, 46, .06);
  --ombre-2: 0 2px 4px rgba(15, 29, 46, .05), 0 8px 20px -10px rgba(15, 29, 46, .16);
  --ombre-3: 0 4px 8px rgba(15, 29, 46, .06), 0 18px 40px -18px rgba(15, 29, 46, .28);

  --t: 200ms cubic-bezier(.22, .61, .36, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --encre:     #EDF1F5;
    --encre-2:   #BAC6D2;
    --encre-3:   #8C9AAA;
    --encre-4:   #647385;
    --papier:    #0C1521;
    --surface:   #131F2E;
    --surface-2: #1B2938;
    --bord:      #27374A;
    --bord-fin:  #1D2B3B;
    --bleu:      #6FAEDC;
    --emeraude:  #4FC0A0;
    --corail:    #F0836A;
    --safran:    #D9A33F;
    --prune:     #C98CB2;
    --ardoise:   #9BB0C4;
    --accent-sur: #0C1521;
    --nuit:      #162435;
    --nuit-2:    #1F3247;
    --nuit-bord: #32485F;
    --ombre-1: 0 1px 2px rgba(0, 0, 0, .3);
    --ombre-2: 0 2px 4px rgba(0, 0, 0, .25), 0 8px 20px -10px rgba(0, 0, 0, .5);
    --ombre-3: 0 4px 8px rgba(0, 0, 0, .3), 0 18px 40px -18px rgba(0, 0, 0, .6);
  }
}
[data-theme="dark"] {
  --encre:     #EDF1F5;
  --encre-2:   #BAC6D2;
  --encre-3:   #8C9AAA;
  --encre-4:   #647385;
  --papier:    #0C1521;
  --surface:   #131F2E;
  --surface-2: #1B2938;
  --bord:      #27374A;
  --bord-fin:  #1D2B3B;
  --bleu:      #6FAEDC;
  --emeraude:  #4FC0A0;
  --corail:    #F0836A;
  --safran:    #D9A33F;
  --prune:     #C98CB2;
  --ardoise:   #9BB0C4;
  --accent-sur: #0C1521;
  --nuit:      #162435;
  --nuit-2:    #1F3247;
  --nuit-bord: #32485F;
  --ombre-1: 0 1px 2px rgba(0, 0, 0, .3);
  --ombre-2: 0 2px 4px rgba(0, 0, 0, .25), 0 8px 20px -10px rgba(0, 0, 0, .5);
  --ombre-3: 0 4px 8px rgba(0, 0, 0, .3), 0 18px 40px -18px rgba(0, 0, 0, .6);
}

/* Couleur par rubrique */
.t-bleu     { --accent: var(--bleu); }
.t-emeraude { --accent: var(--emeraude); }
.t-corail   { --accent: var(--corail); }
.t-safran   { --accent: var(--safran); }
.t-prune    { --accent: var(--prune); }
.t-ardoise  { --accent: var(--ardoise); }

/* 2. BASE & TYPO ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 1.0625rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--titre);
  font-weight: 600;
  font-variation-settings: "SOFT" 20, "WONK" 1;
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

a { color: inherit; }
img, svg, video { max-width: 100%; height: auto; display: block; }
::selection { background: var(--accent); color: var(--accent-sur); }

:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-s);
}

hr { border: 0; border-top: 1px solid var(--bord); margin: var(--souffle) 0; }

/* Conteneurs */
.zone {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--marge);
}
.zone--large { max-width: var(--large); }
.zone--texte { max-width: calc(var(--colonne) + 2 * var(--marge)); }

/* Micro-typographie */
.surtitre {
  font-family: var(--texte);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.surtitre--point::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.infos {
  font-size: .8125rem;
  color: var(--encre-3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin: 0;
}
.infos > * + *::before { content: "•"; margin-right: .45rem; color: var(--encre-4); }

.chapo {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--encre-2);
}

.titre-section {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.85rem;
}
.titre-section h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
}
.titre-section p {
  margin: .5rem 0 0;
  color: var(--encre-3);
  font-size: .9375rem;
  max-width: 52ch;
}
.lien-suite {
  font-size: .875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: gap var(--t);
}
.lien-suite:hover { gap: .6rem; }
.lien-suite::after { content: "→"; }

/* 3. EN-TETE ============================================================= */
.evitement {
  position: absolute;
  left: -9999px;
  background: var(--nuit);
  color: var(--nuit-clair);
  padding: .8rem 1.15rem;
  border-radius: var(--r-s);
  z-index: 200;
  font-weight: 600;
}
.evitement:focus { left: .75rem; top: .75rem; }

.entete {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--papier) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--bord-fin);
}
.entete__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 4.5rem;
}

.marque {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: var(--encre);
  flex: none;
}
.marque__signe { flex: none; }
.marque__mots { display: flex; flex-direction: column; line-height: 1.05; }
.marque__nom {
  font-family: var(--titre);
  font-weight: 700;
  font-size: 1.3125rem;
  letter-spacing: -0.022em;
}
.marque__nom span { color: var(--bleu); }
.marque__note {
  font-size: .6875rem;
  color: var(--encre-3);
  letter-spacing: .03em;
  margin-top: .15rem;
}

.menu { display: flex; align-items: center; gap: .25rem; }
.menu a {
  font-size: .875rem;
  font-weight: 600;
  color: var(--encre-2);
  text-decoration: none;
  padding: .5rem .7rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: background var(--t), color var(--t);
}
.menu a:hover { background: var(--surface); color: var(--encre); }
.menu a[aria-current="page"] { color: var(--accent); background: var(--accent-pale); }

.menu a.appel {
  background: var(--nuit);
  color: var(--nuit-clair);
  padding: .6rem 1.05rem;
  margin-left: .4rem;
  box-shadow: var(--ombre-1);
}
.menu a.appel:hover { background: var(--corail); color: #fff; }

.outils { display: flex; align-items: center; gap: .35rem; flex: none; }

.bouton-icone {
  appearance: none;
  background: transparent;
  border: 1px solid var(--bord);
  color: var(--encre-2);
  width: 2.5rem; height: 2.5rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--t), border-color var(--t), color var(--t);
}
.bouton-icone:hover { background: var(--surface); color: var(--encre); border-color: var(--encre-4); }
.bouton-icone svg { width: 18px; height: 18px; }

.bascule-menu { display: none; }
@media (max-width: 1080px) {
  .menu { display: none; }
  .bascule-menu { display: inline-grid; }
}

.menu-mobile {
  display: none;
  border-top: 1px solid var(--bord-fin);
  background: var(--papier);
  max-height: calc(100vh - 4.5rem);
  overflow-y: auto;
}
.menu-mobile[data-ouvert="true"] { display: block; }
.menu-mobile ul { list-style: none; margin: 0; padding: .75rem 0 1.5rem; display: grid; gap: .3rem; }
.menu-mobile a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1rem;
  border-radius: var(--r-m);
  text-decoration: none;
  font-family: var(--titre);
  font-size: 1.125rem;
  font-weight: 600;
  background: var(--surface);
}
.menu-mobile a .no {
  font-family: var(--texte);
  font-size: .75rem;
  font-weight: 700;
  color: var(--encre-4);
}
.menu-mobile a.appel { background: var(--nuit); color: var(--nuit-clair); }
.menu-mobile a.appel .no { color: var(--nuit-doux); }

/* 4. COMPOSANTS ========================================================== */
.bouton {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--texte);
  font-size: .9375rem;
  font-weight: 700;
  text-decoration: none;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
}
.bouton svg { width: 17px; height: 17px; flex: none; }
.bouton:active { transform: translateY(1px); }
.bouton--plein { background: var(--nuit); color: var(--nuit-clair); box-shadow: var(--ombre-2); }
.bouton--plein:hover { background: var(--nuit-2); }
.bouton--accent { background: var(--corail); color: #fff; box-shadow: var(--ombre-2); }
.bouton--accent:hover { background: #A93A22; }
.bouton--contour { border-color: var(--bord); color: var(--encre); background: var(--papier); }
.bouton--contour:hover { border-color: var(--encre-3); background: var(--surface); }
.bouton--clair { background: var(--nuit-clair); color: var(--nuit); }
.bouton--clair:hover { background: #fff; }

.puce {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: var(--accent-pale);
  color: var(--accent);
  text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
a.puce:hover { background: var(--accent); color: var(--accent-sur); }

/* Fiche article ---------------------------------------------------------- */
.fiche {
  display: flex;
  flex-direction: column;
  background: var(--papier);
  border: 1px solid var(--bord);
  border-radius: var(--r-l);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.fiche:hover {
  transform: translateY(-3px);
  box-shadow: var(--ombre-3);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--bord));
}
.fiche__image {
  aspect-ratio: 16 / 10;
  background: var(--surface);
  border-bottom: 1px solid var(--bord-fin);
  overflow: hidden;
}
.fiche__image svg { width: 100%; height: 100%; object-fit: cover; }
.fiche__corps {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1;
}
.fiche__titre {
  font-size: 1.1875rem;
  line-height: 1.22;
}
.fiche:hover .fiche__titre { color: var(--accent); }
.fiche__extrait {
  font-size: .9375rem;
  color: var(--encre-2);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.fiche__pied { margin-top: .35rem; }
.fiche--compacte .fiche__titre { font-size: 1.0625rem; }
.fiche--compacte .fiche__corps { padding: 1rem 1.1rem 1.15rem; }

/* Rangee (listes de rubrique) -------------------------------------------- */
.rangees { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.15rem; }
.rangee {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: clamp(1.15rem, 2.6vw, 2rem);
  background: var(--papier);
  border: 1px solid var(--bord);
  border-radius: var(--r-l);
  padding: 1.15rem;
  text-decoration: none;
  color: inherit;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.rangee:hover {
  transform: translateY(-2px);
  box-shadow: var(--ombre-2);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--bord));
}
.rangee__image {
  border-radius: var(--r-m);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 16 / 10;
}
.rangee__image svg { width: 100%; height: 100%; object-fit: cover; }
.rangee__corps { display: flex; flex-direction: column; gap: .55rem; padding: .35rem .5rem .5rem 0; }
.rangee__corps h2 { font-size: clamp(1.1875rem, 2.2vw, 1.5rem); }
.rangee:hover h2 { color: var(--accent); }
.rangee__corps p { margin: 0; color: var(--encre-2); font-size: .9375rem; max-width: 66ch; }
@media (max-width: 720px) {
  .rangee { grid-template-columns: 1fr; }
}

/* Grilles ---------------------------------------------------------------- */
.grille { display: grid; gap: var(--espace); }
.grille--2 { grid-template-columns: repeat(2, 1fr); }
.grille--3 { grid-template-columns: repeat(3, 1fr); }
.grille--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .grille--4 { grid-template-columns: repeat(2, 1fr); }
  .grille--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grille--2, .grille--3, .grille--4 { grid-template-columns: 1fr; }
}

/* 5. ACCUEIL ============================================================= */
.accroche {
  position: relative;
  margin-top: clamp(1.25rem, 3vw, 2.25rem);
  background: var(--nuit);
  color: var(--nuit-clair);
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
}
/* Trame de coordonnees : le fond evoque une carte */
.accroche::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(169, 186, 204, .10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(169, 186, 204, .10) 1px, transparent 1px);
  background-size: 46px 46px;
  z-index: -1;
}
.accroche::after {
  content: "";
  position: absolute;
  right: -12%; top: -35%;
  width: min(58%, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 70, 43, .32), transparent 68%);
  z-index: -1;
}
.accroche__inner {
  padding: clamp(2.25rem, 5.5vw, 4.5rem) clamp(1.5rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) { .accroche__inner { grid-template-columns: 1fr; } }
.accroche h1 {
  font-size: clamp(2.125rem, 5.2vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.026em;
  margin: .9rem 0 1.1rem;
  color: var(--nuit-clair);
}
.accroche p {
  color: var(--nuit-doux);
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  max-width: 52ch;
  margin: 0 0 1.9rem;
}
.accroche .surtitre { color: #F0836A; }
.accroche__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Acces rapides dans l accroche */
.acces {
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--nuit-bord);
  border-radius: var(--r-l);
  padding: 1.35rem;
}
.acces h2 {
  font-family: var(--texte);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--nuit-doux);
  margin-bottom: 1rem;
}
.acces ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.acces a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem .9rem;
  border-radius: var(--r-m);
  text-decoration: none;
  color: var(--nuit-clair);
  font-size: .9375rem;
  font-weight: 600;
  background: rgba(255, 255, 255, .04);
  border: 1px solid transparent;
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.acces a:hover {
  background: rgba(255, 255, 255, .1);
  border-color: var(--nuit-bord);
  transform: translateX(3px);
}
.acces a span { color: var(--nuit-doux); font-size: .8125rem; font-weight: 500; }

/* Bandeau de rubriques --------------------------------------------------- */
.rubriques { display: grid; grid-template-columns: repeat(6, 1fr); gap: .85rem; }
@media (max-width: 1080px) { .rubriques { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .rubriques { grid-template-columns: repeat(2, 1fr); } }
.rubrique {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.15rem 1rem 1.25rem;
  border-radius: var(--r-l);
  background: var(--surface);
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.rubrique:hover {
  background: var(--accent-pale);
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
  transform: translateY(-2px);
}
.rubrique__icone {
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--r-m);
  background: var(--papier);
  display: grid;
  place-items: center;
  color: var(--accent);
  border: 1px solid var(--bord-fin);
}
.rubrique__icone svg { width: 20px; height: 20px; }
.rubrique__nom {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
}
.rubrique__no { font-size: .6875rem; font-weight: 700; color: var(--encre-4); letter-spacing: .08em; }

/* Chiffres --------------------------------------------------------------- */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--espace); }
@media (max-width: 900px) { .chiffres { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .chiffres { grid-template-columns: 1fr; } }
.chiffre {
  background: var(--surface);
  border: 1px solid var(--bord-fin);
  border-radius: var(--r-l);
  padding: 1.35rem;
}
.chiffre dt {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--encre-3);
  margin-bottom: .55rem;
}
.chiffre dd {
  margin: 0;
  font-family: var(--titre);
  font-size: clamp(1.75rem, 3.2vw, 2.375rem);
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}
.chiffre dd small { font-size: .45em; font-weight: 600; color: var(--encre-3); margin-left: .2em; }
.chiffre p { margin: .65rem 0 0; font-size: .8125rem; line-height: 1.5; color: var(--encre-3); }

/* 6. ARTICLE ============================================================= */
.article-tete { padding-block: clamp(1.75rem, 3.5vw, 3rem) clamp(1.25rem, 2.5vw, 2rem); }
.ariane {
  font-size: .8125rem;
  color: var(--encre-3);
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
  margin-bottom: 1.35rem;
}
.ariane a { color: var(--encre-3); text-decoration: none; }
.ariane a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.ariane span[aria-hidden] { color: var(--encre-4); }

.article-tete h1 {
  font-size: clamp(2rem, 4.6vw, 3.125rem);
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin: .9rem 0 1.15rem;
  max-width: 22ch;
}
.article-tete .chapo { max-width: 62ch; }
.article-tete__pied {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--bord);
}
.partage { display: flex; gap: .4rem; }

.article-visuel { margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.article-visuel figure { margin: 0; }
.article-visuel svg {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: var(--r-xl);
  border: 1px solid var(--bord-fin);
}
figcaption {
  font-size: .8125rem;
  color: var(--encre-3);
  margin-top: .75rem;
  line-height: 1.5;
}

.article-corps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  padding-bottom: var(--souffle);
}
@media (max-width: 1040px) { .article-corps { grid-template-columns: 1fr; } }

.texte { max-width: var(--colonne); font-size: 1.125rem; }
.texte > * + * { margin-top: 1.3em; }
.texte p { margin: 0; }
.texte h2 {
  font-size: clamp(1.4375rem, 2.6vw, 1.875rem);
  margin-top: 2.3em;
  margin-bottom: -.1em;
  scroll-margin-top: 6rem;
}
.texte h3 {
  font-size: 1.25rem;
  margin-top: 1.9em;
  margin-bottom: -.4em;
}
.texte h4 {
  font-family: var(--texte);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--encre-3);
  margin-top: 1.9em;
  margin-bottom: -.55em;
}
.texte ul, .texte ol { margin-left: 0; padding-left: 1.4rem; }
.texte li + li { margin-top: .5em; }
.texte li::marker { color: var(--accent); font-weight: 700; }
.texte a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.texte a:hover { text-decoration-thickness: 2.5px; }
.texte strong { font-weight: 700; }
.texte blockquote {
  margin: 2em 0;
  padding: 1.35rem 1.6rem;
  background: var(--surface);
  border-radius: var(--r-l);
  border-left: 4px solid var(--accent);
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--encre-2);
}
.texte blockquote p { margin: 0; }
.texte code {
  font-family: var(--mono);
  font-size: .875em;
  background: var(--surface-2);
  padding: .14em .38em;
  border-radius: 5px;
}
.texte hr { margin: 2.5em 0; }

/* Tableaux */
.tableau {
  overflow-x: auto;
  border: 1px solid var(--bord);
  border-radius: var(--r-l);
  margin-block: 2em;
  -webkit-overflow-scrolling: touch;
}
.texte table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
  min-width: 480px;
}
.texte th, .texte td {
  text-align: left;
  padding: .9rem 1.1rem;
  border-bottom: 1px solid var(--bord-fin);
  vertical-align: top;
}
.texte thead th {
  background: var(--surface);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--encre-2);
  white-space: nowrap;
}
.texte tbody tr:last-child td, .texte tbody tr:last-child th { border-bottom: 0; }
.texte tbody th { font-weight: 600; }
.texte tbody tr:hover { background: var(--surface); }

/* Encadres --------------------------------------------------------------- */
.encadre {
  border-radius: var(--r-l);
  padding: 1.35rem 1.5rem;
  margin-block: 2.25em;
  background: var(--accent-pale);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  font-size: 1rem;
}
.encadre > * + * { margin-top: .85em; }
.encadre p { margin: 0; }
.encadre__titre {
  font-family: var(--texte);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .7em;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.encadre__titre::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
}
.encadre ul, .encadre ol { margin: 0; padding-left: 1.25rem; }
.encadre--alerte { --accent: var(--corail); }
.encadre--verif {
  background: var(--surface);
  border-color: var(--bord);
  font-size: .9375rem;
  color: var(--encre-2);
}
.encadre--verif .encadre__titre { color: var(--encre-3); }

/* Liste a cocher */
.cocher { list-style: none; padding-left: 0; }
.cocher li { position: relative; padding-left: 2rem; }
.cocher li::before {
  content: "";
  position: absolute;
  left: 0; top: .35em;
  width: 1.2rem; height: 1.2rem;
  border-radius: 6px;
  background: var(--accent);
  opacity: .16;
}
.cocher li::after {
  content: "";
  position: absolute;
  left: .38rem; top: .55em;
  width: .36rem; height: .68rem;
  border: solid var(--accent);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(42deg);
}

/* Etapes en frise ---------------------------------------------------------- */
.frise { list-style: none; counter-reset: etape; margin: 2.25em 0; padding: 0; position: relative; }
.frise::before {
  content: "";
  position: absolute;
  left: 1.1rem; top: .9rem; bottom: .9rem;
  width: 2px;
  background: linear-gradient(var(--bord), var(--bord-fin));
}
.frise li {
  counter-increment: etape;
  position: relative;
  padding-left: 3.4rem;
  padding-bottom: 1.6rem;
}
.frise li:last-child { padding-bottom: 0; }
.frise li::before {
  content: counter(etape);
  position: absolute;
  left: 0; top: 0;
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-sur);
  display: grid;
  place-items: center;
  font-size: .875rem;
  font-weight: 700;
  font-family: var(--texte);
}
.frise h3 { font-size: 1.125rem; margin: .2rem 0 .35rem; }
.frise p { margin: 0; color: var(--encre-2); font-size: 1rem; }

/* Questions frequentes ----------------------------------------------------- */
.questions { margin-block: 2.25em; display: grid; gap: .6rem; }
.questions details {
  border: 1px solid var(--bord);
  border-radius: var(--r-l);
  background: var(--papier);
  overflow: hidden;
  transition: border-color var(--t);
}
.questions details[open] { border-color: color-mix(in srgb, var(--accent) 35%, var(--bord)); }
.questions summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 3rem 1.1rem 1.35rem;
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.0625rem;
  position: relative;
  transition: color var(--t);
}
.questions summary::-webkit-details-marker { display: none; }
.questions summary:hover { color: var(--accent); }
.questions summary::after {
  content: "";
  position: absolute;
  right: 1.35rem; top: 1.45rem;
  width: 11px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.questions summary::before {
  content: "";
  position: absolute;
  right: 1.85rem; top: 1rem;
  width: 2px; height: 11px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.questions details[open] summary::before { transform: rotate(90deg); opacity: 0; }
.questions details > div { padding: 0 1.35rem 1.3rem; color: var(--encre-2); max-width: 68ch; }
.questions details > div > * + * { margin-top: .9em; }
.questions details > div p { margin: 0; }

/* Colonne laterale --------------------------------------------------------- */
.laterale {
  position: sticky;
  top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (max-width: 1040px) { .laterale { position: static; } }

.sommaire {
  background: var(--surface);
  border-radius: var(--r-l);
  padding: 1.25rem 1.35rem;
}
.sommaire__titre {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--encre-3);
  margin-bottom: .9rem;
}
.sommaire ol { list-style: none; margin: 0; padding: 0; counter-reset: som; display: grid; gap: .15rem; }
.sommaire li { counter-increment: som; }
.sommaire a {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: .45rem;
  padding: .45rem .5rem;
  border-radius: var(--r-s);
  font-size: .875rem;
  line-height: 1.35;
  text-decoration: none;
  color: var(--encre-2);
  transition: background var(--t), color var(--t);
}
.sommaire a::before {
  content: counter(som, decimal-leading-zero);
  color: var(--encre-4);
  font-size: .75rem;
  font-weight: 700;
}
.sommaire a:hover { background: var(--papier); color: var(--accent); }
.sommaire a.actif { background: var(--papier); color: var(--accent); font-weight: 600; }
.sommaire a.actif::before { color: var(--accent); }

/* 7. PAGES RUBRIQUES ====================================================== */
.page-tete {
  padding-block: clamp(2rem, 4.5vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
}
.page-tete__grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
}
@media (max-width: 820px) { .page-tete__grille { grid-template-columns: 1fr; align-items: start; } }
.page-tete h1 {
  font-size: clamp(2.125rem, 5.5vw, 3.375rem);
  line-height: 1.03;
  letter-spacing: -0.024em;
  margin: .8rem 0 0;
}
.page-tete__insigne {
  width: 3.25rem; height: 3.25rem;
  border-radius: var(--r-m);
  background: var(--accent-pale);
  color: var(--accent);
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  margin-bottom: 1.15rem;
}
.page-tete__insigne svg { width: 26px; height: 26px; }
.page-tete .chapo { margin: 0; }
.page-tete__compte { font-size: .8125rem; color: var(--encre-3); margin-top: .9rem; }

/* 8. RECHERCHE ============================================================= */
.champ-recherche {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: var(--papier);
  border: 1.5px solid var(--bord);
  border-radius: 999px;
  padding: .3rem .35rem .3rem 1.15rem;
  max-width: 580px;
  transition: border-color var(--t), box-shadow var(--t);
}
.champ-recherche:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-pale);
}
.champ-recherche input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--texte);
  font-size: 1rem;
  color: var(--encre);
  padding: .7rem 0;
  min-width: 0;
}
.champ-recherche input:focus { outline: none; }
.champ-recherche input::placeholder { color: var(--encre-4); }
.champ-recherche > svg { width: 19px; height: 19px; color: var(--encre-3); flex: none; }

.voile-recherche {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--papier) 94%, transparent);
  backdrop-filter: blur(8px);
  z-index: 150;
  display: none;
  padding: clamp(3rem, 10vh, 7rem) var(--marge) 2rem;
  overflow-y: auto;
}
.voile-recherche[data-ouvert="true"] { display: block; }
.voile-recherche__inner { max-width: 720px; margin-inline: auto; }
.voile-recherche .champ-recherche { max-width: none; }
.fermer-recherche { position: absolute; top: 1.35rem; right: var(--marge); }

.resultats { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: .5rem; }
.resultats a {
  display: block;
  padding: 1rem 1.15rem;
  border-radius: var(--r-m);
  background: var(--surface);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.resultats a:hover {
  background: var(--papier);
  border-color: var(--bord);
  transform: translateX(3px);
}
.resultats h3 { font-size: 1.0625rem; margin-bottom: .3rem; }
.resultats a:hover h3 { color: var(--accent); }
.resultats p { margin: 0; font-size: .875rem; color: var(--encre-3); line-height: 1.5; }
.etat-recherche { color: var(--encre-3); font-size: .9375rem; padding: 1.5rem 0 0; }
mark { background: color-mix(in srgb, var(--safran) 28%, transparent); color: inherit; padding: 0 .12em; border-radius: 3px; }

/* 9. FICHES PAYS ========================================================== */
.pays { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--espace); }
@media (max-width: 900px) { .pays { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pays { grid-template-columns: 1fr; } }
.pays-carte {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--r-l);
  border: 1px solid var(--bord);
  background: var(--papier);
  text-decoration: none;
  color: inherit;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.pays-carte:hover {
  transform: translateY(-2px);
  box-shadow: var(--ombre-2);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--bord));
}
.pays-carte__code {
  font-family: var(--titre);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  width: 3.1rem; height: 3.1rem;
  border-radius: var(--r-m);
  background: var(--accent-pale);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
.pays-carte__nom { font-family: var(--titre); font-weight: 600; font-size: 1.0625rem; line-height: 1.2; }
.pays-carte__note { font-size: .8125rem; color: var(--encre-3); margin: .2rem 0 0; }

/* 10. ENCARTS LOCATION ===================================================== */
.encart-location {
  border-radius: var(--r-l);
  border: 1px solid var(--bord);
  background: var(--papier);
  overflow: hidden;
  box-shadow: var(--ombre-1);
}
.encart-location__haut {
  background: var(--nuit);
  color: var(--nuit-clair);
  padding: 1.15rem 1.35rem 1.25rem;
  position: relative;
  overflow: hidden;
}
.encart-location__haut::after {
  content: "";
  position: absolute;
  right: -30px; bottom: -46px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 70, 43, .38), transparent 70%);
}
.encart-location__label {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--nuit-doux);
  margin: 0 0 .5rem;
  position: relative;
}
.encart-location__nom {
  font-family: var(--titre);
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.018em;
  position: relative;
}
.encart-location__ville {
  font-size: .8125rem;
  color: var(--nuit-doux);
  margin: .25rem 0 0;
  position: relative;
}
.encart-location__bas { padding: 1.25rem 1.35rem 1.4rem; }
.encart-location__bas p { margin: 0 0 1.1rem; font-size: .9375rem; color: var(--encre-2); line-height: 1.55; }
.encart-location ul {
  list-style: none;
  margin: 0 0 1.3rem;
  padding: 0;
  display: grid;
  gap: .5rem;
  font-size: .875rem;
  color: var(--encre-2);
}
.encart-location li { display: flex; align-items: flex-start; gap: .6rem; }
.encart-location li svg { width: 15px; height: 15px; flex: none; margin-top: .28rem; color: var(--emeraude); }
.encart-location .bouton { width: 100%; justify-content: center; }
.encart-location__mention {
  font-size: .6875rem;
  color: var(--encre-4);
  text-align: center;
  margin: .8rem 0 0;
  line-height: 1.45;
}

/* Bandeau location large --------------------------------------------------- */
.bandeau-location {
  background: var(--nuit);
  color: var(--nuit-clair);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 4.5vw, 3.5rem);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.bandeau-location::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(169, 186, 204, .08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(169, 186, 204, .08) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
}
.bandeau-location::after {
  content: "";
  position: absolute;
  left: -8%; bottom: -60%;
  width: min(52%, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 70, 43, .3), transparent 68%);
  z-index: -1;
}
.bandeau-location__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}
@media (max-width: 880px) { .bandeau-location__grille { grid-template-columns: 1fr; } }
.bandeau-location .surtitre { color: #F0836A; }
.bandeau-location h2 {
  font-size: clamp(1.625rem, 3.4vw, 2.375rem);
  margin: .8rem 0 1rem;
  color: var(--nuit-clair);
  letter-spacing: -0.02em;
}
.bandeau-location p { color: var(--nuit-doux); max-width: 56ch; margin: 0 0 1.75rem; }
.bandeau-location__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.bandeau-location__mention { font-size: .78125rem; color: var(--nuit-doux); opacity: .8; margin-top: 1.25rem; }
.bandeau-location__carte {
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--nuit-bord);
  border-radius: var(--r-l);
  padding: 1.5rem;
}
.bandeau-location__carte dl { margin: 0; display: grid; gap: 1rem; }
.bandeau-location__carte .ligne {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .875rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--nuit-bord);
}
.bandeau-location__carte .ligne:last-child { border-bottom: 0; padding-bottom: 0; }
.bandeau-location__carte dt { margin: 0; color: var(--nuit-doux); }
.bandeau-location__carte dd { margin: 0; font-weight: 700; text-align: right; }

/* Navigation article precedent / suivant ----------------------------------- */
.precedent-suivant { display: grid; grid-template-columns: 1fr 1fr; gap: var(--espace); margin-top: var(--souffle); }
@media (max-width: 640px) { .precedent-suivant { grid-template-columns: 1fr; } }
.precedent-suivant a {
  padding: 1.35rem 1.5rem;
  border-radius: var(--r-l);
  border: 1px solid var(--bord);
  background: var(--papier);
  text-decoration: none;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.precedent-suivant a:hover {
  transform: translateY(-2px);
  box-shadow: var(--ombre-2);
  border-color: var(--encre-4);
}
.precedent-suivant .sens {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--encre-3);
  display: block;
  margin-bottom: .6rem;
}
.precedent-suivant h3 { font-size: 1.0625rem; line-height: 1.25; }
.precedent-suivant a:hover h3 { color: var(--accent); }
.precedent-suivant .suivant { text-align: right; }

/* 11. PIED DE PAGE ========================================================= */
.pied {
  background: var(--surface);
  border-top: 1px solid var(--bord-fin);
  padding-block: clamp(2.5rem, 5vw, 4rem) 2rem;
  margin-top: var(--souffle);
}
.pied__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--bord);
}
@media (max-width: 900px) { .pied__grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .pied__grille { grid-template-columns: 1fr; } }
.pied h3 {
  font-family: var(--texte);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--encre-3);
  margin-bottom: 1rem;
}
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.pied a { font-size: .9375rem; color: var(--encre-2); text-decoration: none; transition: color var(--t); }
.pied a:hover { color: var(--accent); }
.pied__presentation p {
  font-size: .9375rem;
  color: var(--encre-2);
  line-height: 1.6;
  max-width: 44ch;
  margin: 1rem 0 0;
}
.pied__bas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: .8125rem;
  color: var(--encre-3);
}
.pied__bas nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.pied__bas a { color: var(--encre-3); font-size: .8125rem; }

/* Page 404 ----------------------------------------------------------------- */
.erreur {
  min-height: 54vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: var(--souffle);
}
.erreur__code {
  font-family: var(--titre);
  font-size: clamp(4rem, 14vw, 8rem);
  font-weight: 700;
  color: var(--bord);
  line-height: .9;
}
.erreur h1 { font-size: clamp(1.375rem, 3vw, 1.875rem); margin: 1rem 0 .75rem; }
.erreur p { color: var(--encre-2); max-width: 46ch; margin: 0 auto 1.85rem; }
.erreur__actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* Utilitaires -------------------------------------------------------------- */
.hors-ecran {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.souffle { padding-block: var(--souffle); }
.souffle-haut { padding-top: var(--souffle); }
.centre { text-align: center; }

/* 12. PETITS ECRANS ======================================================== */
@media (max-width: 620px) {
  .marque__note { display: none; }
  .marque__nom { font-size: 1.1875rem; }
  .outils { gap: .25rem; }
  .bouton-icone { width: 2.3rem; height: 2.3rem; }
  .entete__inner { min-height: 4rem; }
  .article-visuel svg { aspect-ratio: 3 / 2; border-radius: var(--r-l); }
  .accroche { border-radius: var(--r-l); }
  .bandeau-location { border-radius: var(--r-l); }
}

/* Impression --------------------------------------------------------------- */
@media print {
  .entete, .menu-mobile, .laterale, .bandeau-location, .pied,
  .precedent-suivant, .voile-recherche, .bouton-icone { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .article-corps { display: block; }
  .texte { max-width: none; }
  a { color: #000; text-decoration: none; }
  .texte a::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
