/* ==========================================================================
   Site public — gabarit commun aux sites (les couleurs d'accent sont injectées
   par site dans le <head>). Valeurs reprises du prototype de Claude Design.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
html.no-scroll { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-t); font-size: 16px; line-height: 1.5; min-height: 100vh; display: flex; flex-direction: column; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font-family: inherit; }
a { transition: color var(--ease), border-color var(--ease), background-color var(--ease); }
::placeholder { color: var(--ink-3); font-style: italic; }
[x-cloak] { display: none !important; }
svg { flex: none; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

/* Utilitaires ----------------------------------------------------------- */
.stack-16 { display: flex; flex-direction: column; gap: 16px; }
.stack-24 { display: flex; flex-direction: column; gap: 24px; }
.stack-32 { display: flex; flex-direction: column; gap: 32px; }
.stack-36 { display: flex; flex-direction: column; gap: 36px; }
.stack-56 { display: flex; flex-direction: column; gap: 56px; }
.accent { color: var(--accent); }
.meta-i { font-size: 14.5px; font-style: italic; font-weight: 400; color: var(--ink-2); }
.count { font-size: 13.5px; font-style: italic; color: var(--ink-2); white-space: nowrap; }
/* Listes nom + nombre d'articles (menus, tiroir, page des pays) : le nombre reste sur une ligne, le nom passe à la ligne si besoin. */
.submenu__item .count, .drawer__cats .count, .country-link .count, .pill .count { flex: none; }
.submenu__item > span:first-child, .drawer__cats a > span:first-child, .country-link__name { min-width: 0; }

.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.kicker--accent { color: var(--accent); letter-spacing: 0.14em; }
.kicker--square { color: var(--ink); letter-spacing: 0.14em; }
.kicker--square .sq { width: 9px; height: 9px; background: var(--accent); }
.col-head { margin: 0; font-family: var(--font-t); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.label { font-size: 12px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; text-decoration: none; color: var(--accent); }
.label--lg { font-size: 12.5px; letter-spacing: 0.14em; }

/* Titres */
.h-page { font-family: var(--font-d); font-weight: var(--fw-d); font-size: var(--t-page); line-height: 0.98; letter-spacing: -0.02em; }
.h-section { font-family: var(--font-d); font-weight: var(--fw-d); font-size: var(--t-section); line-height: 1.02; letter-spacing: -0.01em; }
.h-cat { font-family: var(--font-d); font-weight: var(--fw-d); font-size: var(--t-cat-head); line-height: 1.04; letter-spacing: -0.01em; }
.h-cat a { color: var(--ink); text-decoration: none; }
.h-cat a:hover { color: var(--accent); }
.h-ruled { padding-top: 16px; border-top: 1px solid var(--ink); }
.h-search { font-family: var(--font-d); font-weight: var(--fw-d); font-size: clamp(32px, 2.6vw + 12px, 56px); line-height: 1.02; letter-spacing: -0.015em; }
.h-article { max-width: 22ch; font-family: var(--font-d); font-weight: var(--fw-d); font-size: var(--t-article); line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
.intro { font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.intro--narrow { max-width: 56ch; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 24px; border: 0; border-radius: var(--radius-pill); font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color var(--ease), border-color var(--ease), color var(--ease); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); color: #fff; }
.btn--accent:active { transform: scale(0.98); }
.btn--ghost { border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 400; padding: 0 22px; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--50 { height: 50px; }
.btn--46 { height: 46px; }
.round-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: border-color var(--ease); padding: 0; }
.round-btn:hover { border-color: var(--ink); }
.round-btn--44 { width: 44px; height: 44px; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--ink); cursor: pointer; padding: 0; }
.vrule { width: 1px; height: 24px; background: var(--line); }

/* Pilules et étiquettes de mots-clés */
.pills, .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pills { padding-top: 4px; }
.pill { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 16px; border-radius: var(--radius-pill); border: 1px solid var(--line); font-size: 15.5px; text-decoration: none; color: var(--ink); }
.pill:hover { border-color: var(--accent); color: var(--accent); }
.chip { display: inline-flex; align-items: center; padding: 7px 16px; border-radius: var(--radius-pill); border: 1px solid var(--line); font-size: 15px; text-decoration: none; color: var(--ink); }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip__hash { margin-right: 3px; color: var(--accent); }

/* Logo ------------------------------------------------------------------ */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo__sq { flex: none; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: var(--accent); color: #fff; font-family: var(--font-d); font-size: 23px; line-height: 1; }
.logo__name { font-family: var(--font-d); font-weight: var(--fw-d); font-size: 31px; line-height: 0.95; letter-spacing: -0.01em; white-space: nowrap; }
.logo--sm { gap: 10px; }
.logo--sm .logo__sq { width: 30px; height: 30px; font-size: 20px; }
.logo--sm .logo__name { font-size: 26px; }
.logo__img { display: block; height: 34px; width: auto; max-width: 240px; object-fit: contain; object-position: left center; }
.logo--sm .logo__img { height: 30px; max-width: 200px; }

/* En-tête --------------------------------------------------------------- */
.hdr { position: sticky; top: 0; z-index: 40; background: var(--header-bg); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hdr__in { max-width: var(--container); margin: 0 auto; padding: 0 32px; height: 76px; display: flex; align-items: center; gap: 36px; }
.hdr__nav { display: flex; align-items: stretch; gap: 4px; height: 100%; }
.hdr__link { display: flex; align-items: center; gap: 6px; padding: 0 12px; font-size: var(--t-nav); font-weight: 500; text-decoration: none; color: var(--ink); }
.hdr__link:hover { color: var(--accent); }
.hdr__link.is-active { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.hdr__sub { position: relative; display: flex; }
.hdr__tools { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.hdr__compact { display: none; }

.submenu { position: absolute; top: 100%; left: 0; z-index: 50; width: 330px; padding: 10px 0; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-menu); }
.submenu__all { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; font-size: 16px; font-weight: 600; text-decoration: none; color: var(--accent); }
.submenu__all:hover { background: var(--fill); }
.submenu__sep { height: 1px; margin: 6px 20px; background: var(--line); }
.submenu__item { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 20px; font-size: 16px; text-decoration: none; color: var(--ink); }
.submenu__item:hover { background: var(--fill); color: var(--ink); }
.submenu__item.is-current { color: var(--accent); background: var(--accent-tint); }
/* Menu « Pays » : filtre et liste défilante */
.submenu--countries { width: 340px; }
.submenu__filter { display: flex; align-items: center; gap: 8px; margin: 4px 20px 2px; height: 40px; padding: 0 12px; border: 1px solid var(--input-border); border-radius: var(--radius-pill); color: var(--ink-2); }
.submenu__filter:focus-within { border-color: var(--ink); }
.submenu__filter input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--ink); } /* 16px : pas de zoom automatique sur iOS */
.submenu__filter input::-webkit-search-cancel-button { display: none; }
.submenu__filter--drawer { margin: 4px 0 8px; height: 44px; }
.submenu__scroll { max-height: min(56vh, 440px); overflow-y: auto; overscroll-behavior: contain; }
.submenu__none { padding: 9px 20px; font-size: 15px; font-style: italic; color: var(--ink-2); }
.drawer__cats .submenu__none { padding: 10px 12px; }

/* Réseaux sociaux */
.social { display: flex; align-items: center; }
.social--plain { gap: 14px; }
.social--plain a { display: flex; color: var(--ink-2); }
.social--plain a:hover { color: var(--accent); }
.social--button { flex-wrap: wrap; gap: 8px; }
.social--button a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); border: 1px solid var(--line); background: #fff; color: var(--ink); }
.social--button a:hover { color: var(--accent); border-color: var(--accent); }

/* Sélecteur de langue */
.lang { position: relative; display: inline-flex; }
.lang__btn { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 14.5px; font-weight: 600; letter-spacing: 0.02em; cursor: pointer; transition: border-color var(--ease); }
.lang__btn:hover { border-color: var(--ink); }
.lang__panel { position: absolute; z-index: 90; top: calc(100% + 8px); right: 0; width: 250px; padding: 6px 0; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(17, 17, 17, 0.10); }
.lang__panel--left { right: auto; left: 0; }
.lang__panel--up { top: auto; bottom: calc(100% + 8px); }
.lang__panel ul { list-style: none; margin: 0; padding: 0; max-height: min(470px, calc(100vh - 140px)); overflow-y: auto; }
.lang__opt { display: flex; align-items: center; gap: 10px; padding: 9px 16px; font-size: 15.5px; text-decoration: none; color: var(--ink); }
.lang__opt:hover { background: var(--fill); color: var(--ink); }
.lang__opt.is-active { color: var(--accent); font-weight: 600; }
.lang__opt.is-active svg { color: var(--accent); }
.lang__name { flex: 1; }
.lang__code { font-size: 12px; font-style: italic; font-weight: 400; color: var(--ink-2); text-transform: uppercase; }

/* Mise en page ---------------------------------------------------------- */
.main { flex: 1; width: 100%; max-width: var(--container); margin: 0 auto; padding: clamp(24px, 3.4vw, 48px) var(--gutter-x) clamp(40px, 5vw, 64px); }
.cols { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--layout-gap); }
.col-main { flex: 999 1 0; min-width: 60%; display: flex; flex-direction: column; gap: 32px; scroll-margin-top: 100px; }
.col-side { flex: 1 1 300px; display: flex; flex-direction: column; gap: 36px; }

/* Fil d'Ariane */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14.5px; font-style: italic; color: var(--ink-2); }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--accent); }
.crumbs__sep { color: var(--ink-3); }
.crumbs__current { max-width: 52ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }

/* Grilles de cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--grid-min)), 1fr)); gap: var(--grid-gap-y) var(--grid-gap-x); }
.grid--tight { gap: 44px 32px; }
.grid--duo { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 44px 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.rows { display: flex; flex-direction: column; gap: 24px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding-top: 16px; border-top: 1px solid var(--ink); }

/* Card article ---------------------------------------------------------- */
.card { display: flex; flex-direction: column; height: 100%; background: #fff; }
.card__media { display: block; flex: none; overflow: hidden; }
.card__media img, .card__media .ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 400ms ease; }
.card:hover .card__media img, .card:hover .card__media .ph { transform: scale(1.03); }
.card__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding-top: 16px; }
.card__meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.card__meta time { font-size: var(--t-meta); font-style: italic; color: var(--ink-2); }
.card__title { font-family: var(--font-d); font-weight: var(--fw-d); font-size: var(--t-card); line-height: 1.12; letter-spacing: -0.005em; text-wrap: pretty; }
.card__title a { color: var(--ink); text-decoration: none; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.card:hover .card__title a, .card__title a:focus-visible { text-decoration-line: underline; }
.card__excerpt { font-size: var(--t-excerpt); line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Aplat d'attente (article sans photo) */
.ph { position: relative; display: block; background-image: repeating-linear-gradient(135deg, rgba(17, 17, 17, 0.045) 0 1px, transparent 1px 12px); }
.ph__label { position: absolute; left: 12px; bottom: 9px; font-size: 12.5px; font-style: italic; color: rgba(17, 17, 17, 0.45); }
.ph--wide { aspect-ratio: 16 / 9; background-image: repeating-linear-gradient(135deg, rgba(17, 17, 17, 0.045) 0 1px, transparent 1px 14px); }
.ph--wide .ph__label { left: 16px; bottom: 13px; font-size: 13px; }

/* Card en ligne (recherche) */
.card--row { flex-direction: row; align-items: flex-start; gap: clamp(16px, 2.4vw, 28px); height: auto; }
.card--row .card__media { flex: 0 0 clamp(110px, 32%, 280px); }
.card--row .card__body { flex: 1 1 0; min-width: 0; gap: 8px; padding-top: 0; }
.card--row .card__title { font-size: var(--t-card-row); }
.card--row .card__excerpt { -webkit-line-clamp: 2; }
.card--row .ph__label { left: 10px; bottom: 7px; font-size: 12px; }

/* Card « À la une » */
/* À la une : toujours sur une colonne (image pleine largeur en 16:9, puis titre, chapô, catégorie et date). */
.card--feature { flex-direction: column; align-items: stretch; gap: 36px; height: auto; }
.card--feature .ph { background-image: repeating-linear-gradient(135deg, rgba(17, 17, 17, 0.045) 0 1px, transparent 1px 13px); }
.card--feature .ph__label { left: 14px; bottom: 11px; font-size: 13px; }
.card--feature .card__body { gap: 16px; padding-top: 0; }
.card--feature .card__title { font-size: var(--t-feature); line-height: 1.02; letter-spacing: -0.015em; text-wrap: balance; }
.card--feature .card__title a { text-decoration-thickness: 2px; text-underline-offset: 6px; }
.card--feature .card__excerpt { font-size: 18px; line-height: 1.55; display: block; overflow: visible; }

/* Pagination */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding-top: 8px; }
.pager__step { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 18px 0 12px; border-radius: var(--radius-pill); border: 1px solid var(--line); font-size: 15.5px; text-decoration: none; color: var(--ink); }
.pager__step--next { padding: 0 12px 0 18px; }
.pager__step:hover { border-color: var(--ink); color: var(--ink); }
.pager__step.is-disabled { opacity: 0.4; pointer-events: none; }
.pager__num { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); border: 1px solid var(--line); font-size: 16px; font-weight: 600; text-decoration: none; color: var(--ink); background: #fff; }
.pager__num:hover { border-color: var(--ink); color: var(--ink); }
.pager__num.is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager__gap { color: var(--ink-3); padding: 0 2px; }
.htmx-request .pager, .htmx-request.pager { opacity: 0.6; }

/* En-têtes de page (catégorie, mot-clé, recherche, contact) */
.page-head { display: flex; flex-direction: column; gap: 14px; padding-bottom: 28px; border-bottom: 1px solid var(--ink); }
.page-head--search { gap: 18px; }
.page-head__count { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 15px; font-weight: 600; }
.page-head__count .meta-i { font-size: 15px; }

/* Page Articles */
.cat-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; padding-top: 16px; border-top: 1px solid var(--ink); }
.cat-head__txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cat-head__desc { font-size: 15.5px; font-style: italic; color: var(--ink-2); }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: 15.5px; font-weight: 600; white-space: nowrap; text-decoration: none; color: var(--accent); }

/* Recherche */
.search-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 660px; }
.search-form__field { flex: 1 1 240px; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px; border: 1px solid var(--input-border); border-radius: var(--radius-pill); background: #fff; color: var(--ink-2); }
.search-form__field:focus-within { border-color: var(--ink); }
.search-form__field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--ink); }
.search-form__field input::-webkit-search-cancel-button { display: none; }
.empty { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.empty__hint { font-size: 19px; font-style: italic; color: var(--ink); }

/* Article --------------------------------------------------------------- */
.article { display: flex; flex-direction: column; gap: 30px; }
.article__head { display: flex; flex-direction: column; gap: 20px; }
.article__cats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.lede { max-width: 60ch; font-size: var(--t-lede); line-height: 1.5; color: var(--ink-2); }
.byline { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 20px; padding: 16px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.byline__who { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); background: var(--fill); font-family: var(--font-d); font-size: 18px; color: var(--ink); }
.byline__txt { display: flex; flex-direction: column; gap: 3px; }
.byline__name { font-size: 16px; font-weight: 600; }
.byline__date { font-size: 14.5px; font-style: italic; color: var(--ink-2); }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.copy { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: #fff; font-size: 15px; color: var(--ink); cursor: pointer; transition: border-color var(--ease), color var(--ease); }
.copy:hover { border-color: var(--accent); color: var(--accent); }
.copy span { display: inline-flex; }
.copy__ok { color: var(--success); }
.article__figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.article__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article__figure figcaption { font-size: 14.5px; font-style: italic; color: var(--ink-2); }

.prose { display: flex; flex-direction: column; gap: 22px; }
.prose p { font-size: var(--t-body); line-height: 1.7; color: var(--ink); }
.prose h2 { margin: 16px 0 0; font-family: var(--font-d); font-weight: var(--fw-d); font-size: var(--t-h2-article); line-height: 1.08; letter-spacing: -0.01em; }
.prose a { text-underline-offset: 3px; }
.prose h3 { margin: 8px 0 0; font-family: var(--font-d); font-weight: var(--fw-d); font-size: 24px; line-height: 1.15; letter-spacing: -0.005em; }
.prose ul, .prose ol { margin: 0; padding-left: 1.4em; display: flex; flex-direction: column; gap: 8px; font-size: var(--t-body); line-height: 1.7; }
.prose li::marker { color: var(--accent); }
.prose ol li::marker { font-weight: 600; }
.prose hr { width: 100%; margin: 6px 0; border: 0; border-top: 1px solid var(--line); }
.prose u { text-underline-offset: 3px; }
.prose > blockquote { margin: 14px 0; padding: 26px 0 24px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); font-family: var(--font-d); font-weight: var(--fw-d); font-style: italic; font-size: var(--t-quote); line-height: 1.18; letter-spacing: -0.01em; }
.prose > blockquote::before { content: '“'; display: block; height: 34px; margin-bottom: 14px; font-size: 80px; line-height: 0.9; font-style: normal; color: var(--accent); }
.ql-color-primary { color: var(--accent); }
.prose > blockquote cite { display: block; margin-top: 14px; font-family: var(--font-t); font-size: 15px; font-weight: 400; font-style: italic; letter-spacing: 0; line-height: 1.5; color: var(--ink-2); }
.quote { margin: 14px 0; padding: 26px 0 24px; display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.quote__mark { height: 34px; font-family: var(--font-d); font-size: 80px; line-height: 0.9; color: var(--accent); }
.quote blockquote { margin: 0; font-family: var(--font-d); font-weight: var(--fw-d); font-style: italic; font-size: var(--t-quote); line-height: 1.18; letter-spacing: -0.01em; color: var(--ink); }
.quote figcaption { font-size: 15px; font-style: italic; color: var(--ink-2); }

/* Page des pays */
.country-tools { display: flex; flex-direction: column; gap: 16px; }
.country-tools__filter { flex: none; width: 100%; max-width: 460px; }
.letters { display: flex; flex-wrap: wrap; gap: 4px; }
.letters a { min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; border: 1px solid var(--line); font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink); }
.letters a:hover { border-color: var(--accent); color: var(--accent); }
.country-index { display: flex; flex-direction: column; gap: 32px; }
.country-group { display: grid; grid-template-columns: 56px 1fr; gap: 0 20px; padding-top: 16px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.country-group__letter { font-family: var(--font-d); font-weight: var(--fw-d); font-size: 34px; line-height: 1; color: var(--accent); }
.country-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2px 24px; }
.country-link { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 17px; text-decoration: none; color: var(--ink); }
.country-link:hover .country-link__name { color: var(--accent); }
.country-none { font-size: 17px; font-style: italic; color: var(--ink-2); }

.article__foot { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.sources { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 15.5px; color: var(--ink-2); }
.related { padding-top: 8px; }

/* Contact --------------------------------------------------------------- */
.contact { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.contact__main { flex: 999 1 380px; min-width: min(100%, 55%); }
.contact__info { flex: 1 1 240px; display: flex; flex-direction: column; }
.info-block { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-top: 1px solid var(--line); }
.info-block--first { border-top-color: var(--ink); }
.info-block--last { gap: 12px; border-bottom: 1px solid var(--line); }
.info-block > a { font-size: 17px; text-decoration: none; color: var(--accent); overflow-wrap: anywhere; }

.form { display: flex; flex-direction: column; gap: 22px; }
.form__row { display: flex; flex-wrap: wrap; gap: 22px; }
.form__row .field { flex: 1 1 220px; }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__alert { padding: 12px 16px; border: 1px solid var(--danger); background: var(--danger-bg); color: var(--danger); font-size: 15px; }
.form__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.form__foot .meta-i { font-size: 14px; }
.btn--send { padding: 0 26px; font-size: 16.5px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 15px; font-weight: 600; }
.req { color: var(--danger); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--input-border); border-radius: 0; background: #fff; font-size: 16.5px; color: var(--ink); outline: none; transition: border-color var(--ease), box-shadow var(--ease); }
.field input, .field select { height: 50px; padding: 0 16px; }
.field textarea { padding: 14px 16px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field .is-error { border-color: var(--danger); background: var(--danger-bg); }
.field__error { font-size: 14px; font-style: italic; color: var(--danger); }
.select { position: relative; display: flex; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select svg { position: absolute; right: 16px; top: 50%; margin-top: -8px; pointer-events: none; }
.sent { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 8px 0 24px; }
.sent__icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); background: var(--success-bg); color: var(--success); }
.sent__title { font-family: var(--font-d); font-weight: var(--fw-d); font-size: 40px; line-height: 1.02; letter-spacing: -0.01em; }
.sent__hint { font-size: 18px; line-height: 1.55; color: var(--ink-2); }

/* Colonne de droite : publicité et partenaires -------------------------- */
.ad { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ad__label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-align: center; color: var(--ink-2); }
.ad__slot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: var(--fill); color: var(--ink-2); }
.ad__slot--code { background: transparent; }
.ad__size { font-family: var(--font-d); font-size: 32px; color: var(--ink); }
.ad__fmt { font-size: 15px; font-style: italic; }
.ad--half { align-self: center; width: 300px; max-width: 100%; }
.ad--half .ad__slot { width: 300px; max-width: 100%; height: 600px; }
.ad--half .ad__slot--code { height: auto; min-height: 600px; }
.ad-bottom { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter-x) 48px; display: flex; justify-content: center; }
.ad--bill { width: 970px; max-width: 100%; }
.ad--bill .ad__slot { width: 100%; aspect-ratio: 970 / 250; }
.ad--bill .ad__slot--code { aspect-ratio: auto; }
.ad--mobile { display: none; width: 320px; max-width: 100%; }
.ad--mobile .ad__slot { width: 320px; max-width: 100%; height: 100px; gap: 4px; }
.ad--mobile .ad__size { font-size: 24px; }
.ad--mobile .ad__fmt { font-size: 13.5px; }

.partners { display: flex; flex-direction: column; padding-top: 16px; border-top: 1px solid var(--ink); }
.partners__title { margin: 0 0 8px; font-family: var(--font-d); font-weight: var(--fw-d); font-size: 27px; line-height: 1.05; letter-spacing: -0.01em; }
.partners ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.partners li { border-bottom: 1px solid var(--line); }
.partners__item { display: flex; align-items: center; gap: 14px; padding: 13px 0; text-decoration: none; color: var(--ink); }
.partners__item:hover { color: var(--accent); }
.partners__logo { width: 32px; height: 32px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--fill); font-family: var(--font-d); font-weight: var(--fw-d); font-size: 15px; color: var(--ink-2); overflow: hidden; }
.partners__logo img { width: 100%; height: 100%; object-fit: contain; }
.partners__logo:has(img) { background: transparent; }
.partners__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.partners__name { font-size: 16px; font-weight: 600; }
.partners__domain { font-size: 14px; font-style: italic; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Bandeau des partenaires ----------------------------------------------- */
.strip { border-top: 1px solid var(--line); }
.strip__in { max-width: var(--container); margin: 0 auto; padding: 36px var(--gutter-x) 40px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.strip__logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 48px; }
.strip__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-2); }
.strip__logo:hover { color: var(--ink); }
.strip__logo img { height: 32px; width: auto; }
.strip__mark { width: 13px; height: 13px; background: currentColor; border-radius: 3px; }
.strip__name { font-family: var(--font-d); font-weight: var(--fw-d); font-size: 21px; line-height: 1; white-space: nowrap; }

/* Pied de page ---------------------------------------------------------- */
.ftr { border-top: 1px solid var(--ink); background: #fff; }
.ftr__in { max-width: var(--container); margin: 0 auto; padding: 56px var(--gutter-x) 28px; display: flex; flex-direction: column; gap: 44px; }
.ftr__cols { display: flex; flex-wrap: wrap; gap: 40px 56px; }
.ftr__brand { flex: 2 1 280px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.ftr__tagline { max-width: 34ch; font-size: 17px; font-style: italic; line-height: 1.5; color: var(--ink-2); }
.ftr__follow { display: flex; flex-direction: column; gap: 12px; }
.ftr__nav { flex: 1 1 140px; display: flex; flex-direction: column; gap: 12px; }
.ftr__nav .col-head, .ftr__cats .col-head, .ftr__lang .col-head { margin-bottom: 4px; }
.ftr__nav a, .ftr__cats a { font-size: 16.5px; text-decoration: none; color: var(--ink); }
.ftr__nav a:hover, .ftr__cats a:hover { color: var(--accent); }
.ftr__cats { flex: 2 1 280px; display: flex; flex-direction: column; gap: 12px; }
.ftr__cats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px 24px; }
.ftr__lang { flex: 1 1 160px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.ftr__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.ftr__legal { display: flex; gap: 22px; }
.ftr__legal a { text-decoration: none; color: var(--ink-2); }
.ftr__legal a:hover { color: var(--accent); }

/* Panneau de recherche -------------------------------------------------- */
.search-panel { position: fixed; inset: 0; z-index: 80; }
.search-panel__veil { position: absolute; inset: 0; background: rgba(17, 17, 17, 0.45); }
.search-panel__box { position: relative; padding: 26px var(--gutter-x) 34px; background: #fff; border-bottom: 1px solid var(--ink); }
.search-panel__in { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.search-panel__head { display: flex; align-items: center; justify-content: space-between; }
.search-panel__form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.search-panel__input { flex: 1 1 240px; min-width: 0; height: 60px; border: 0; outline: 0; background: transparent; font-family: var(--font-d); font-weight: var(--fw-d); font-size: clamp(26px, 2vw + 14px, 40px); color: var(--ink); }
.search-panel__input::-webkit-search-cancel-button { display: none; }
.search-panel__form .btn { padding: 0 26px; font-size: 16.5px; }
.search-panel__popular { display: flex; flex-direction: column; gap: 12px; }

/* Tiroir mobile --------------------------------------------------------- */
.drawer { position: fixed; inset: 0; z-index: 70; visibility: hidden; pointer-events: none; transition: visibility 200ms; }
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__veil { position: absolute; inset: 0; background: rgba(17, 17, 17, 0.45); opacity: 0; transition: opacity 200ms ease-out; }
.drawer.is-open .drawer__veil { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(100%, 390px); display: flex; flex-direction: column; background: #fff; transform: translateX(100%); transition: transform 200ms ease-out; }
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head { flex: none; height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px 0 16px; border-bottom: 1px solid var(--line); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px 32px; display: flex; flex-direction: column; gap: 32px; }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__link { flex: 1; display: flex; align-items: center; min-height: 60px; font-family: var(--font-d); font-weight: var(--fw-d); font-size: 30px; text-decoration: none; color: var(--ink); }
.drawer__nav > .drawer__link { border-bottom: 1px solid var(--line); }
.drawer__link.is-active { color: var(--accent); }
.drawer__group { border-bottom: 1px solid var(--line); }
.drawer__row { display: flex; align-items: center; }
.rot { display: inline-flex; transition: transform 150ms ease; }
.rot.is-rot { transform: rotate(180deg); }
.drawer__cats { display: flex; flex-direction: column; padding: 0 0 14px; }
.drawer__cats a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 12px; font-size: 17px; text-decoration: none; color: var(--ink); }
.drawer__cats a.is-current { color: var(--accent); background: var(--accent-tint); }
.drawer__cats .count { font-size: 14px; }
.drawer__block { display: flex; flex-direction: column; gap: 12px; }
.drawer__langs { display: flex; flex-wrap: wrap; gap: 8px; }
.lang-chip { height: 40px; display: inline-flex; align-items: center; padding: 0 15px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: #fff; font-size: 15px; text-decoration: none; color: var(--ink); }
.lang-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Réactif --------------------------------------------------------------- */
/* En-tête bureau étroit (4 onglets) : les réseaux sociaux (aussi dans le pied de page et le tiroir) cèdent la place. */
@media (min-width: 980px) and (max-width: 1139.98px) {
  .hdr__in { gap: 28px; }
  .hdr__tools .social, .hdr__tools .vrule { display: none; }
}
@media (max-width: 979.98px) {
  html { scroll-padding-top: 80px; }
  .hdr__in { display: none; }
  .hdr__compact { display: flex; align-items: center; gap: 6px; height: 62px; padding: 0 10px 0 16px; }
  .hdr__compact-tools { margin-left: auto; display: flex; align-items: center; gap: 4px; }
  .col-main { scroll-margin-top: 80px; }
  .social--button a { width: 44px; height: 44px; }
}
@media (max-width: 699.98px) {
  .country-group { grid-template-columns: 1fr; gap: 8px; }
  .ad--bill { display: none; }
  .ad--mobile { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
