/* ==========================================================================
   Le Bon Sac - feuille de style unique
   Mobile-first, sans dependance, sans police externe (§20, §52).

   Palette : ardoise profonde pour la structure, sarcelle pour les liens et les
   accents editoriaux, jaune Amazon reserve exclusivement aux boutons d'achat.
   Cette separation est volontaire : le lecteur distingue immediatement ce qui
   releve du contenu et ce qui l'envoie chez le marchand.
   ========================================================================== */

:root {
  /* Structure */
  --ink: #0f2029;
  --ink-2: #2f4a58;
  --ink-3: #5d7683;
  --line: #dde5e9;
  --line-2: #eaf0f3;
  --paper: #ffffff;
  --paper-2: #f6f9fa;
  --paper-3: #edf3f5;

  /* Marque et accents */
  --brand: #12212e;
  --brand-2: #1d3a4d;
  --accent: #0d6b62;
  --accent-2: #0a5750;
  --accent-soft: #e6f2f0;
  --accent-line: #b8dcd7;

  /* Amazon, uniquement pour les boutons d'achat */
  --amz-bg: #ffd814;
  --amz-bg-hover: #f7ca00;
  --amz-border: #e8b800;
  --amz-text: #0f1111;

  /* Jugements editoriaux */
  --pro: #106b48;
  --pro-soft: #e7f4ee;
  --con: #a23a2a;
  --con-soft: #fbecea;

  --focus: #1f7ad4;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-pill: 999px;

  --sh-1: 0 1px 2px rgb(15 32 41 / 5%), 0 1px 3px rgb(15 32 41 / 4%);
  --sh-2: 0 2px 6px rgb(15 32 41 / 6%), 0 10px 26px rgb(15 32 41 / 8%);
  --sh-3: 0 12px 40px rgb(15 32 41 / 14%);

  --measure: 70ch;
  --wrap: 1180px;

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica,
    Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Empeche tout debordement lateral, quelle que soit la largeur d'ecran. */
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-locked { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

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

a { color: var(--accent-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.125rem;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: .8rem 1.1rem;
  border-radius: 0 0 var(--r) 0;
}
.skip-link:focus { left: 0; }

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

.muted { color: var(--ink-3); }
.dot { display: inline-block; width: 3px; height: 3px; border-radius: 50%;
  background: var(--ink-3); margin: 0 .5rem; vertical-align: middle; }

/* ============================================================ EN-TETE / NAV */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgb(255 255 255 / 92%);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 66px;
}

.brand { display: inline-flex; align-items: center; color: var(--brand);
  text-decoration: none; flex: 0 0 auto; }
.brand svg { height: 30px; width: auto; }

/* --- bouton hamburger --- */
.burger {
  appearance: none; border: 1px solid var(--line); background: var(--paper);
  color: var(--ink); font: inherit; font-size: .9375rem; font-weight: 550;
  padding: .5rem .85rem; border-radius: var(--r-sm); cursor: pointer;
  display: inline-flex; align-items: center; gap: .55rem;
}
.burger:hover { background: var(--paper-2); }
.burger__bars { display: block; width: 17px; height: 1.6px; background: currentColor;
  position: relative; }
.burger__bars::before, .burger__bars::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 1.6px; background: currentColor;
}
.burger__bars::before { top: -5.5px; }
.burger__bars::after { top: 5.5px; }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after { transform: translateY(-5.5px) rotate(-45deg); }

/* --- navigation, base mobile --- */

/*
 * Sur mobile, la navigation s'ouvre en panneau pleine largeur SOUS l'en-tete.
 * Elle est positionnee en absolu par rapport a .site-header, sinon elle reste
 * un element de la rangee flexible de l'en-tete et se retrouve ecrasee a droite,
 * avec des libelles tronques. C'est le defaut que corrige ce bloc.
 */
.site-nav {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--paper);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--sh-3);
  max-height: calc(100vh - 66px);
  max-height: calc(100dvh - 66px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.site-nav[data-open="true"] { display: block; }

.nav__list {
  list-style: none; margin: 0 auto;
  padding: .35rem 1.125rem 1.4rem;
  max-width: var(--wrap);
}

.nav__group + .nav__group { border-top: 1px solid var(--line-2); }

.nav__trigger {
  appearance: none; width: 100%; background: none; border: 0;
  font: inherit; font-size: 1.0625rem; font-weight: 620; color: var(--brand);
  padding: 1.05rem .1rem; text-align: left; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 56px;
}
.nav__trigger:active { color: var(--accent-2); }

/* Le chevron est enferme dans une pastille : cible tactile nette et lisible. */
.chev {
  width: 11px; height: 8px; flex: 0 0 auto; color: var(--ink-2);
  transition: transform .18s ease;
}
.nav__trigger > .chev {
  box-sizing: content-box;
  padding: .55rem; border-radius: 50%;
  background: var(--paper-3);
}
.nav__group.is-open > .nav__trigger .chev { transform: rotate(180deg); }
.nav__group.is-open > .nav__trigger > .chev {
  background: var(--accent-soft); color: var(--accent-2);
}
.nav__group.is-active > .nav__trigger { color: var(--accent-2); }

.nav__panel ul {
  list-style: none; margin: 0 0 .55rem;
  padding: 0 0 0 .1rem; display: grid; gap: .2rem;
}
.nav__panel a {
  display: flex; align-items: center; min-height: 46px;
  padding: .45rem .8rem; border-radius: var(--r-sm);
  color: var(--ink-2); text-decoration: none; font-size: .9375rem;
  background: var(--paper-2);
}
.nav__panel a:hover, .nav__panel a:active {
  color: var(--accent-2); background: var(--accent-soft);
}
.nav__panel a[aria-current="page"] {
  color: var(--accent-2); font-weight: 620;
  background: var(--accent-soft);
  box-shadow: inset 3px 0 0 var(--accent);
}

/* Sans JavaScript, les panneaux restent visibles : la nav reste utilisable. */
.nav-js .nav__panel { display: none; }
.nav-js .nav__group.is-open > .nav__panel { display: block; }

/* --- navigation, ordinateur --- */
@media (min-width: 64rem) {
  .burger { display: none; }

  .site-nav {
    display: block !important;
    position: static; max-height: none; overflow: visible;
    background: none; border: 0; box-shadow: none;
  }
  .nav__group + .nav__group { border-top: 0; }
  .nav__trigger > .chev { padding: 0; background: none; border-radius: 0; }
  .nav__group.is-open > .nav__trigger > .chev { background: none; }

  .nav__list { display: flex; gap: .15rem; padding: 0; }
  .nav__group { position: relative; }

  .nav__trigger {
    width: auto; border-bottom: 0; padding: .55rem .7rem;
    border-radius: var(--r-sm); font-size: .9375rem; font-weight: 550;
    gap: .35rem;
  }
  .nav__trigger:hover { background: var(--paper-3); }
  .nav__group.is-active > .nav__trigger { background: var(--accent-soft); }

  .nav-js .nav__panel {
    position: absolute; top: calc(100% + .4rem); left: 0; z-index: 70;
    min-width: 17rem; background: var(--paper);
    border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: var(--sh-3); padding: .4rem;
  }
  /* Zone tampon : evite que le menu se ferme entre le bouton et le panneau. */
  .nav-js .nav__panel::before {
    content: ""; position: absolute; top: -.5rem; left: 0; right: 0; height: .5rem;
  }
  .nav__panel ul { padding: 0; }
  .nav__panel ul { gap: 0; margin: 0; }
  .nav__panel a {
    min-height: 0; border-radius: var(--r-sm); background: none;
    padding: .55rem .7rem; font-size: .9375rem; box-shadow: none;
  }
  .nav__panel a:hover { background: var(--accent-soft); }
  .nav__panel a[aria-current="page"] { box-shadow: none; background: var(--accent-soft); }
}

/* ============================================================= FIL D'ARIANE */

.breadcrumb { padding: .95rem 0 0; font-size: .8125rem; color: var(--ink-3); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex;
  flex-wrap: wrap; gap: .3rem; }
.breadcrumb li + li::before { content: "›"; margin-right: .3rem; color: var(--line); }
.breadcrumb a { color: var(--ink-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-2); text-decoration: underline; }

/* ==================================================================== TITRES */

main { display: block; padding-bottom: 4rem; }

.page-head { padding: 1.75rem 0 1.35rem; margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--line-2); }

h1 {
  font-size: clamp(1.8rem, 1.2rem + 2.6vw, 2.7rem);
  line-height: 1.14; letter-spacing: -.024em; font-weight: 700;
  margin: 0 0 .7rem; max-width: 34ch; color: var(--brand);
}

.page-head__lead { font-size: 1.15rem; line-height: 1.55; color: var(--ink-2);
  margin: 0; max-width: 62ch; }

.byline { margin-top: 1.1rem; font-size: .8125rem; color: var(--ink-3);
  display: flex; flex-wrap: wrap; gap: .3rem .9rem; align-items: center; }
.byline strong { color: var(--ink-2); font-weight: 600; }

/* =================================================================== PROSE */

.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.05em; }

.prose h2 {
  font-size: clamp(1.4rem, 1.15rem + 1.1vw, 1.8rem);
  line-height: 1.22; letter-spacing: -.018em; font-weight: 680;
  margin-top: 2.6em; margin-bottom: .55em; scroll-margin-top: 5.5rem;
  color: var(--brand);
}
.prose h3 {
  font-size: 1.1875rem; font-weight: 650; margin-top: 2em; margin-bottom: .45em;
  scroll-margin-top: 5.5rem; color: var(--brand);
}
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--accent); }

.prose blockquote {
  margin: 1.6em 0; padding: .9rem 1.15rem;
  background: var(--accent-soft); border-left: 3px solid var(--accent);
  border-radius: 0 var(--r) var(--r) 0; color: var(--ink-2);
}
.prose blockquote p { margin: 0; }

.prose code { font-family: var(--mono); font-size: .875em;
  background: var(--paper-3); padding: .12em .38em; border-radius: 5px; }

.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.6em 0; }

.prose strong { color: var(--brand); font-weight: 650; }

/* ================================================================= TABLEAUX */

.table-wrap { margin: 1.8rem 0; }

table { border-collapse: collapse; width: 100%; font-size: .9375rem; }

thead th {
  background: var(--brand); color: #fff; text-align: left;
  font-size: .75rem; font-weight: 620; letter-spacing: .05em; text-transform: uppercase;
  padding: .7rem .85rem; white-space: nowrap;
}
thead th:first-child { border-radius: var(--r-sm) 0 0 0; }
thead th:last-child { border-radius: 0 var(--r-sm) 0 0; }

tbody th, tbody td { padding: .8rem .85rem; border-bottom: 1px solid var(--line-2);
  vertical-align: top; text-align: left; }
tbody th { font-weight: 620; color: var(--brand); }
tbody tr:nth-child(even) { background: var(--paper-2); }

.table-note { font-size: .8125rem; color: var(--ink-3); margin-top: -.9rem;
  max-width: var(--measure); }

/*
 * Sous 52rem, chaque ligne devient une carte et l'intitule de colonne, porte
 * par data-label, s'affiche devant la valeur. Aucun defilement horizontal,
 * donc aucun decalage de la page sur telephone.
 */
@media (max-width: 52rem) {
  table thead { display: none; }
  table, table tbody, table tr, table th, table td { display: block; width: 100%; }

  table tr {
    border: 1px solid var(--line); border-radius: var(--r);
    padding: .3rem .9rem .8rem; margin-bottom: .85rem; background: var(--paper);
    box-shadow: var(--sh-1);
  }
  table tbody tr:nth-child(even) { background: var(--paper); }

  table tbody th, table tbody td { border-bottom: 1px solid var(--line-2);
    padding: .65rem 0; }
  table tbody tr > *:last-child { border-bottom: 0; padding-bottom: .1rem; }

  table tbody th { font-size: 1.0625rem; padding-top: .8rem; }

  table td[data-label]::before {
    content: attr(data-label);
    display: block; font-size: .6875rem; font-weight: 650;
    letter-spacing: .06em; text-transform: uppercase;
    color: var(--ink-3); margin-bottom: .25rem;
  }
  table td[data-label=""]::before { display: none; }
}

/* ============================================================ FICHE PRODUIT */

.product {
  border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: var(--r-lg); padding: 1.35rem; margin: 1.9rem 0;
  background: var(--paper); box-shadow: var(--sh-1); max-width: none;
}

.product__head { display: flex; gap: .9rem; align-items: flex-start; }

.product__rank {
  flex: 0 0 auto; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 1rem;
}

.product__award {
  display: inline-block; font-size: .6875rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent-2); background: var(--accent-soft);
  border: 1px solid var(--accent-line); padding: .2rem .55rem;
  border-radius: var(--r-pill); margin: .15rem 0 .5rem;
}

.product__title { font-size: 1.24rem; line-height: 1.28; font-weight: 660;
  margin: 0 0 .3rem; color: var(--brand); }
.product__brand { font-size: .8125rem; color: var(--ink-3); margin: 0; }
.product__brand code { font-family: var(--mono); font-size: .95em;
  background: var(--paper-3); padding: .1em .35em; border-radius: 4px; }

.product__specs { list-style: none; padding: 0; margin: 1rem 0 0;
  display: flex; flex-wrap: wrap; gap: .4rem; }

.chip {
  display: inline-block; font-size: .78rem; font-weight: 520;
  background: var(--paper-3); color: var(--ink-2);
  padding: .22rem .6rem; border-radius: var(--r-pill);
}

.product__for { font-size: .9375rem; color: var(--ink-2); margin: 1rem 0 0; }
.product__for strong { color: var(--brand); }

.product__cols { display: grid; gap: .9rem; margin-top: 1.1rem; }
@media (min-width: 44rem) { .product__cols { grid-template-columns: 1fr 1fr; } }

.product__col { padding: .85rem 1rem; border-radius: var(--r); }
.product__col:has(.product__pros) { background: var(--pro-soft); }
.product__col:has(.product__cons) { background: var(--con-soft); }

.product__label { font-size: .6875rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-3); margin: 0 0 .5rem; }
.product__label--pro { color: var(--pro); }
.product__label--con { color: var(--con); }

.product__pros, .product__cons { margin: 0; padding: 0; list-style: none;
  font-size: .9375rem; }
.product__pros li, .product__cons li { padding-left: 1.35rem; position: relative;
  margin-bottom: .4rem; line-height: 1.5; }
.product__pros li:last-child, .product__cons li:last-child { margin-bottom: 0; }
.product__pros li::before { content: "+"; position: absolute; left: .2rem;
  color: var(--pro); font-weight: 800; }
.product__cons li::before { content: "!"; position: absolute; left: .35rem;
  color: var(--con); font-weight: 800; }

.product__verdict { margin-top: 1.15rem; padding-top: 1.05rem;
  border-top: 1px solid var(--line-2); font-size: .9375rem; color: var(--ink-2); }
.product__verdict p { margin: 0 0 .6rem; }
.product__verdict p:last-child { margin-bottom: 0; }

.product__cta { margin-top: 1.25rem; display: flex; flex-wrap: wrap;
  align-items: center; gap: .5rem .9rem; }

/* ========================================================= BOUTONS AMAZON */

/*
 * Le jaune Amazon est reserve a ces boutons, et a rien d'autre. C'est le code
 * couleur que le lecteur associe deja a l'action d'achat, ce qui rend le
 * parcours lisible. Aucun logo ni marque Amazon n'est reproduit (§14).
 */
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .7rem 1.25rem;
  background: var(--amz-bg); color: var(--amz-text);
  border: 1px solid var(--amz-border); border-radius: var(--r-pill);
  font-weight: 650; font-size: .9375rem; text-decoration: none;
  box-shadow: 0 1px 2px rgb(15 17 17 / 10%);
  transition: background .15s ease, transform .12s ease, box-shadow .15s ease;
}
.cta:hover { background: var(--amz-bg-hover); color: var(--amz-text);
  box-shadow: 0 3px 10px rgb(232 184 0 / 35%); }
.cta:active { transform: translateY(1px); }

.cta__arrow { width: 13px; height: 13px; flex: 0 0 auto; opacity: .75; }

.cta--sm { min-height: 38px; padding: .45rem .9rem; font-size: .8125rem; }

.cta__note { font-size: .78rem; color: var(--ink-3); }

/* Boutons de navigation interne, volontairement distincts du jaune Amazon. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .7rem 1.3rem; border-radius: var(--r-pill);
  font-weight: 620; font-size: .9375rem; text-decoration: none;
  border: 1px solid transparent; transition: background .15s ease;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: #1c3444; color: #fff; }
.btn--ghost { background: var(--paper); color: var(--brand); border-color: var(--line); }
.btn--ghost:hover { background: var(--paper-2); color: var(--brand); }

/* ================================================================ ENCADRES */

.callout {
  border: 1px solid var(--accent-line); border-left: 3px solid var(--accent);
  background: var(--accent-soft); border-radius: 0 var(--r) var(--r) 0;
  padding: 1.05rem 1.2rem; margin: 1.8rem 0; font-size: .9375rem;
}
.callout h2, .callout h3 { margin-top: 0; font-size: 1.0625rem; }
.callout p:last-child { margin-bottom: 0; }

.draft-banner {
  background: #fff8e3; border: 1px solid #ecd79c; color: #6a4e12;
  border-radius: var(--r); padding: .85rem 1.05rem; font-size: .9375rem;
  margin-bottom: 1.6rem;
}

/* ================================================================== CARTES */

.card-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr;
  list-style: none; padding: 0; margin: 1.6rem 0 0; }
@media (min-width: 38rem) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper);
  padding: 1.25rem 1.25rem 2.9rem; display: flex; flex-direction: column; gap: .45rem;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.card:hover { border-color: var(--accent-line); box-shadow: var(--sh-2);
  transform: translateY(-2px); }

/*
 * Toute la surface de la carte est cliquable, pas seulement le titre.
 * Le lien du titre porte une surcouche transparente qui recouvre la carte :
 * un seul lien reste dans le document, la semantique est preservee, et l'on
 * n'oblige plus le lecteur a viser precisement le texte du titre.
 */
.card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* Affordance : sur mobile il n'y a pas de survol, la fleche signale le lien. */
.card:has(.card__title a)::after {
  content: "›";
  position: absolute; right: 1.15rem; bottom: .85rem;
  width: 1.75rem; height: 1.75rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent-2);
  font-size: 1.15rem; line-height: 1; font-weight: 700;
  transition: background .18s ease, transform .18s ease;
}
.card:hover::after { background: var(--accent); color: #fff; transform: translateX(2px); }

/* Les cartes sans lien, comme les types de sacs, n'ont pas besoin de reserve. */
.card:not(:has(.card__title a)) { padding-bottom: 1.25rem; }

.card__kicker { font-size: .6875rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent-2); }
.card__title { font-size: 1.0625rem; line-height: 1.32; margin: 0; font-weight: 640; }
.card__title a { text-decoration: none; color: var(--brand); }
.card:hover .card__title a { color: var(--accent-2); text-decoration: underline;
  text-decoration-color: var(--accent-line); text-underline-offset: 3px; }
.card p { margin: 0; font-size: .9375rem; color: var(--ink-2); }

/* ======================================================== CLUSTERS DE LIENS */

.link-cluster { margin-top: 3.2rem; padding-top: 1.9rem; border-top: 1px solid var(--line); }
.link-cluster h2 { font-size: 1.125rem; margin: 0 0 1rem; font-weight: 650;
  color: var(--brand); }
.link-cluster__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
@media (min-width: 46rem) { .link-cluster__list { grid-template-columns: repeat(2, 1fr); } }

.link-cluster__list li { border: 1px solid var(--line-2); border-radius: var(--r);
  transition: border-color .15s ease, background .15s ease; }
.link-cluster__list li:hover { border-color: var(--accent-line); background: var(--paper-2); }
.link-cluster__list a { display: block; padding: .7rem .9rem; font-weight: 560;
  text-decoration: none; color: var(--brand); }
.link-cluster__list span { display: block; font-size: .8125rem; color: var(--ink-3);
  margin-top: .15rem; font-weight: 400; }

/* ===================================================================== FAQ */

.faq { margin-top: 3.2rem; }
.faq h2 { font-size: 1.5rem; margin: 0 0 1.1rem; color: var(--brand); font-weight: 680; }

.faq details {
  border: 1px solid var(--line); border-radius: var(--r); margin-bottom: .6rem;
  background: var(--paper); overflow: hidden;
}
.faq details[open] { border-color: var(--accent-line); }
.faq summary {
  cursor: pointer; padding: .95rem 1.05rem; font-weight: 600; font-size: 1rem;
  list-style: none; display: flex; justify-content: space-between; gap: 1rem;
  align-items: center; color: var(--brand);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: 0 0 auto; width: 1.5rem; height: 1.5rem;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-2);
  font-weight: 700; font-size: 1.05rem; line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { background: var(--paper-2); }
.faq details > div { padding: 0 1.05rem 1.05rem; font-size: .9375rem; color: var(--ink-2); }
.faq details > div > *:first-child { margin-top: 0; }

/* ================================================================= ACCUEIL */

.hero {
  position: relative;
  background:
    radial-gradient(90rem 30rem at 12% -20%, #1d3a4d 0%, transparent 60%),
    linear-gradient(165deg, #12212e 0%, #17303f 55%, #123a3a 100%);
  color: #fff; padding: 3.5rem 0 3.2rem; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -60% 55%;
  height: 26rem; border-radius: 50%;
  background: radial-gradient(circle, rgb(13 107 98 / 45%) 0%, transparent 70%);
  pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 24ch;
  font-size: clamp(2rem, 1.3rem + 3.4vw, 3.2rem); }
.hero__lead { font-size: 1.1875rem; line-height: 1.55; color: rgb(255 255 255 / 82%);
  max-width: 56ch; margin: 0 0 1.7rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero .btn--ghost { background: rgb(255 255 255 / 10%); color: #fff;
  border-color: rgb(255 255 255 / 28%); }
.hero .btn--ghost:hover { background: rgb(255 255 255 / 18%); color: #fff; }
.hero .btn--primary { background: #fff; color: var(--brand); }
.hero .btn--primary:hover { background: #eef4f6; color: var(--brand); }

.hero__meta { margin: 1.9rem 0 0; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: .5rem 1.75rem;
  font-size: .8125rem; color: rgb(255 255 255 / 70%); }
.hero__meta li { display: flex; align-items: center; gap: .45rem; }
.hero__meta strong { color: #fff; font-weight: 650; }

.section { padding-top: 3.2rem; }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: .4rem 1rem; margin-bottom: .3rem; }
.section__head h2 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.7rem); margin: 0;
  font-weight: 680; letter-spacing: -.018em; color: var(--brand); }
.section__head p { margin: 0; font-size: .875rem; color: var(--ink-3); }

.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none;
  padding: 0; margin: 1.3rem 0 0; }
.pill-row a {
  display: inline-block; padding: .5rem .95rem; border: 1px solid var(--line);
  border-radius: var(--r-pill); font-size: .9375rem; text-decoration: none;
  color: var(--brand); background: var(--paper); font-weight: 540;
}
.pill-row a:hover { border-color: var(--accent); background: var(--accent-soft);
  color: var(--accent-2); }

/* ============================================================== PIED DE PAGE */

.site-footer { border-top: 1px solid var(--line); background: var(--paper-2);
  padding: 3rem 0 2rem; font-size: .9375rem; margin-top: 2rem; }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 48rem) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; } }

.site-footer__brand { color: var(--brand); margin-bottom: .9rem; }
.site-footer__brand svg { height: 28px; width: auto; }
.site-footer h2 { font-size: .6875rem; text-transform: uppercase; letter-spacing: .07em;
  color: var(--ink-3); margin: 0 0 .8rem; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--accent-2); text-decoration: underline; }
.site-footer__about p { margin: 0 0 .7rem; color: var(--ink-2); max-width: 44ch; }
.site-footer__author { font-size: .875rem; }
.site-footer__legal { margin-top: 2.2rem; padding-top: 1.3rem;
  border-top: 1px solid var(--line); color: var(--ink-3); font-size: .78rem;
  display: grid; gap: .4rem; }

/* ===================================================================== 404 */

.notfound { padding: 3.5rem 0; }

@media print {
  .site-header, .site-footer, .cta, .burger, .breadcrumb { display: none; }
  body { font-size: 11pt; }
  .product { break-inside: avoid; }
}
