/* ============================================================================
   ARTICLE TEMPLATE — V4
   ============================================================================
   Version livrée le 23 avril 2026.

   Changements vs V3 :
   - Largeurs Solution B (texte 800px, modules 880px — écart réduit 40px/côté)
   - Ajout hero-e (texte gauche / image droite, inverse du hero-b)
   - Steps en 2 variantes : par défaut (compact, 720px) et --grid (3 colonnes)
   - Alternance pipeline B/D/E par index % 3

   Préfixe : .art-*
   Architecture : BEM (.art-block__element--modifier)
   Dépendances : aucune (vanilla CSS)
   Responsive : mobile first, breakpoint 768px

   Deux couches à combiner :
   1. Ce fichier (structure + modules) → identique sur tous les sites
   2. article-variables-{site}.css (couleurs + typos) → spécifique par site
   ============================================================================ */


/* ============================================================================
   1. FONDATIONS : reset léger, variables par défaut, typographie
   ============================================================================ */

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

.art-article {
  /* ---- Variables par défaut (surchargées par article-variables-{site}.css) ---- */

  /* Couleurs */
  --art-ink: #1a1a1a;
  --art-muted: #6b6b6b;
  --art-surface: #ffffff;
  --art-subtle: #f7f4ef;
  --art-border: rgba(26, 26, 26, 0.08);
  --art-primary: #c2613e;
  --art-primary-soft: #f4e8e0;
  --art-accent: #1d3b5c;
  --art-accent-soft: #e8edf3;

  /* Typographies */
  --art-font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --art-font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Taille de base */
  --art-font-size-base: 1.0625rem;
  --art-line-height-base: 1.75;

  /* ---- Largeurs (anti-zigzag) ---- */
  --art-content-width: 800px;    /* texte courant — Solution B */
  --art-module-width: 880px;     /* modules visuels — Solution B (écart 40px de chaque côté) */
  --art-wide-width: 1000px;      /* container global */

  /* Formes */
  --art-radius-sm: 6px;
  --art-radius-md: 12px;
  --art-radius-lg: 20px;

  /* Application */
  max-width: var(--art-wide-width);
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
  font-family: var(--art-font-body);
  font-size: var(--art-font-size-base);
  line-height: var(--art-line-height-base);
  color: var(--art-ink);
  background: var(--art-surface);
}


/* ============================================================================
   2. ÉLÉMENTS DE BASE : paragraphes, titres, liens, emphase
   ============================================================================ */

.art-article p {
  margin: 0 0 1.25em;
  max-width: var(--art-content-width);
}

.art-article p:first-child {
  margin-top: 0;
}

.art-article strong {
  font-weight: 600;
  color: var(--art-ink);
}

.art-article em {
  font-style: italic;
}

.art-article a {
  color: var(--art-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.art-article a:hover {
  color: var(--art-primary);
}

.art-article h2 {
  font-family: var(--art-font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.2vw + 1rem, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--art-ink);
  margin: 3rem 0 1.2rem;
  max-width: var(--art-content-width);
  text-wrap: balance;
}

.art-article h3 {
  font-family: var(--art-font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--art-ink);
  margin: 2rem 0 0.8rem;
  max-width: var(--art-content-width);
}

.art-article ul,
.art-article ol {
  margin: 0 0 1.25em;
  padding-left: 1.5em;
  max-width: var(--art-content-width);
}

.art-article ul li,
.art-article ol li {
  margin-bottom: 0.5em;
  line-height: 1.7;
}


/* ============================================================================
   3. HERO : VARIANTE B — Split image + texte (60/40)
   ============================================================================
   Image à gauche (60%), bloc texte à droite (40%). Sur mobile : image
   au-dessus du texte, 100% largeur chacun.
   */

.art-hero--b {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 440px;
  margin: 0 calc(50% - 50vw) 3rem;
  max-width: 100vw;
  background: var(--art-surface);
  overflow: hidden;
}

@media (min-width: 900px) {
  .art-hero--b {
    grid-template-columns: 3fr 2fr;
    max-height: 620px;
    margin: 0 -1.5rem 3rem;
    max-width: none;
    border-radius: var(--art-radius-md);
  }
}

.art-hero--b__image-wrap {
  position: relative;
  background: var(--art-subtle);
  min-height: 280px;
  aspect-ratio: 4 / 3;
}

@media (min-width: 900px) {
  .art-hero--b__image-wrap {
    aspect-ratio: auto;
    min-height: 540px;
  }
}

.art-hero--b__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-hero--b__body {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--art-surface);
}

@media (min-width: 900px) {
  .art-hero--b__body {
    padding: 3rem 3.5rem;
  }
}

.art-hero--b__category {
  font-family: var(--art-font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--art-primary);
  margin-bottom: 1rem;
}

.art-hero--b__title {
  font-family: var(--art-font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 2.5vw + 0.8rem, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--art-ink);
  margin: 0 0 0.85rem;
  text-wrap: balance;
}

.art-hero--b__subtitle {
  font-family: var(--art-font-display);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.45;
  color: var(--art-muted);
  margin: 0 0 1.5rem;
}

.art-hero--b__byline {
  display: flex;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--art-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--art-border);
  flex-wrap: wrap;
  margin: 0;
}


/* ============================================================================
   4. HERO : VARIANTE D — Texte au-dessus, image en-dessous
   ============================================================================
   Catégorie + titre + sous-titre + byline en haut sur fond clair,
   puis image panoramique en-dessous. Style éditorial sobre.
   */

.art-hero--d {
  margin: 0 calc(50% - 50vw) 3rem;
  max-width: 100vw;
  background: var(--art-surface);
  overflow: hidden;
}

@media (min-width: 960px) {
  .art-hero--d {
    margin: 0 -1.5rem 3rem;
    max-width: none;
  }
}

.art-hero--d__body {
  max-width: var(--art-module-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 2rem;
}

@media (min-width: 768px) {
  .art-hero--d__body {
    padding: 3rem 2rem 2.5rem;
  }
}

.art-hero--d__category {
  font-family: var(--art-font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--art-primary);
  margin-bottom: 1rem;
  display: inline-block;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--art-primary);
}

.art-hero--d__title {
  font-family: var(--art-font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.5vw + 0.8rem, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--art-ink);
  margin: 0 0 1rem;
  text-wrap: balance;
  max-width: 720px;
}

.art-hero--d__subtitle {
  font-family: var(--art-font-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--art-muted);
  margin: 0 0 1.5rem;
  max-width: 640px;
}

.art-hero--d__byline {
  display: flex;
  gap: 1.25rem;
  font-size: 0.78rem;
  color: var(--art-muted);
  padding-top: 1.25rem;
  border-top: 1px solid var(--art-border);
  flex-wrap: wrap;
  margin: 0;
}

.art-hero--d__image-wrap {
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 320px;
  max-height: 540px;
  overflow: hidden;
  background: var(--art-subtle);
}

@media (min-width: 960px) {
  .art-hero--d__image-wrap {
    max-width: var(--art-wide-width);
    margin: 0 auto;
    border-radius: var(--art-radius-md);
  }
}

.art-hero--d__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}




/* ============================================================================
   4bis. HERO : VARIANTE E — Split inversé (texte à gauche, image à droite)
   ============================================================================
   Variante du hero B avec inversion. Ajoute une 3e structure pour l'alternance
   automatique B/D/E dans le pipeline (index % 3).
   */

.art-hero--e {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 440px;
  margin: 0 calc(50% - 50vw) 3rem;
  max-width: 100vw;
  background: var(--art-surface);
  overflow: hidden;
}

@media (min-width: 900px) {
  .art-hero--e {
    grid-template-columns: 2fr 3fr;
    max-height: 620px;
    margin: 0 -1.5rem 3rem;
    max-width: none;
    border-radius: var(--art-radius-md);
  }
}

.art-hero--e__body {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--art-surface);
  order: 2;
}

@media (min-width: 900px) {
  .art-hero--e__body {
    padding: 3rem 3.5rem;
    order: 1;
  }
}

.art-hero--e__category {
  font-family: var(--art-font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--art-primary);
  margin-bottom: 1rem;
}

.art-hero--e__title {
  font-family: var(--art-font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 2.5vw + 0.8rem, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--art-ink);
  margin: 0 0 0.85rem;
  text-wrap: balance;
}

.art-hero--e__subtitle {
  font-family: var(--art-font-display);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.45;
  color: var(--art-muted);
  margin: 0 0 1.5rem;
}

.art-hero--e__byline {
  display: flex;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--art-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--art-border);
  flex-wrap: wrap;
  margin: 0;
}

.art-hero--e__image-wrap {
  position: relative;
  background: var(--art-subtle);
  min-height: 280px;
  aspect-ratio: 4 / 3;
  order: 1;
}

@media (min-width: 900px) {
  .art-hero--e__image-wrap {
    aspect-ratio: auto;
    min-height: 540px;
    order: 2;
  }
}

.art-hero--e__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ============================================================================
   5. QUICK ANSWER : module "Réponse rapide" — OBLIGATOIRE après le hero
   ============================================================================ */

.art-quick-answer {
  max-width: var(--art-module-width);
  margin: 0 auto 3rem;
  padding: 0 1.25rem;
}

@media (min-width: 960px) {
  .art-quick-answer {
    padding: 0;
  }
}

.art-quick-answer__inner {
  background: var(--art-primary-soft);
  border-radius: var(--art-radius-md);
  padding: 1.75rem 2rem;
  position: relative;
  border: 1px solid var(--art-border);
}

@media (max-width: 640px) {
  .art-quick-answer__inner {
    padding: 1.5rem 1.5rem;
  }
}

.art-quick-answer__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--art-font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--art-primary);
  margin-bottom: 0.9rem;
}

.art-quick-answer__label::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--art-primary);
  display: inline-block;
}

.art-quick-answer__summary {
  font-family: var(--art-font-display);
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--art-ink);
  margin: 0 0 1.25rem;
  letter-spacing: -0.005em;
  max-width: none;
}

.art-quick-answer__points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: none;
}

.art-quick-answer__points li {
  position: relative;
  padding-left: 1.8rem;
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--art-ink);
  margin: 0;
}

.art-quick-answer__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 1.1rem;
  height: 1px;
  background: var(--art-primary);
}

.art-quick-answer__points li strong {
  color: var(--art-primary);
  font-weight: 600;
}


/* ============================================================================
   6. CORPS D'ARTICLE : wrapper pour paragraphes et sections
   ============================================================================ */

.art-body {
  max-width: var(--art-content-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 960px) {
  .art-body {
    padding: 0;
  }
}


/* ============================================================================
   7. CALLOUT : note en avant (info / attention / astuce)
   ============================================================================ */

.art-callout {
  border-left: 3px solid var(--art-primary);
  background: var(--art-primary-soft);
  padding: 1.25rem 1.5rem;
  margin: 2rem auto;
  border-radius: 0 var(--art-radius-sm) var(--art-radius-sm) 0;
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: var(--art-content-width);
}

.art-callout p {
  margin: 0;
  max-width: none;
}

.art-callout p + p {
  margin-top: 0.6em;
}

.art-callout__label {
  display: block;
  font-family: var(--art-font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--art-primary);
  margin-bottom: 0.5rem;
}

.art-callout--info {
  border-left-color: var(--art-accent);
  background: var(--art-accent-soft);
}

.art-callout--info .art-callout__label {
  color: var(--art-accent);
}

.art-callout--warning {
  border-left-color: #b4531a;
  background: #fbefe3;
}

.art-callout--warning .art-callout__label {
  color: #b4531a;
}


/* ============================================================================
   8. PULLQUOTE : citation mise en avant
   ============================================================================ */

.art-pullquote {
  margin: 3rem auto;
  padding: 0;
  border: none;
  max-width: var(--art-content-width);
}

.art-pullquote p {
  font-family: var(--art-font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.35rem, 1.5vw + 1rem, 1.65rem);
  line-height: 1.35;
  color: var(--art-ink);
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
  text-wrap: balance;
  max-width: none;
}

.art-pullquote p::before {
  content: "« ";
  color: var(--art-primary);
}

.art-pullquote p::after {
  content: " »";
  color: var(--art-primary);
}

.art-pullquote cite {
  display: block;
  font-family: var(--art-font-body);
  font-style: normal;
  font-size: 0.85rem;
  color: var(--art-muted);
  letter-spacing: 0.02em;
}

.art-pullquote cite::before {
  content: "— ";
}


/* ============================================================================
   9. CARDS : grille 2 ou 3 colonnes
   ============================================================================ */

.art-cards {
  display: grid;
  gap: 1.25rem;
  margin: 2rem auto;
  max-width: var(--art-module-width);
}

.art-cards--2 {
  grid-template-columns: 1fr;
}

.art-cards--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .art-cards--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .art-cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.art-card {
  background: var(--art-surface);
  border: 1px solid var(--art-border);
  border-radius: var(--art-radius-md);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.art-card__label {
  font-family: var(--art-font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--art-primary);
}

.art-card__title {
  font-family: var(--art-font-display);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--art-ink);
  margin: 0;
}

.art-card__body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--art-ink);
  margin: 0;
  max-width: none;
}


/* ============================================================================
   10. TABLE : tableau simple 2-4 colonnes
   ============================================================================ */

.art-table {
  width: 100%;
  max-width: var(--art-module-width);
  margin: 2rem auto;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--art-surface);
  border: 1px solid var(--art-border);
  border-radius: var(--art-radius-sm);
  overflow: hidden;
}

.art-table thead {
  background: var(--art-subtle);
}

.art-table th {
  font-family: var(--art-font-body);
  font-weight: 600;
  text-align: left;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  color: var(--art-ink);
  border-bottom: 1px solid var(--art-border);
  letter-spacing: 0.01em;
}

.art-table td {
  padding: 0.85rem 1rem;
  vertical-align: top;
  border-bottom: 1px solid var(--art-border);
  line-height: 1.55;
}

.art-table tr:last-child td {
  border-bottom: none;
}

.art-table td:first-child {
  font-weight: 500;
  color: var(--art-ink);
}


/* ============================================================================
   11. STEPS : liste numérotée — DEUX variantes
   ============================================================================
   Variante par défaut (--compact) : rectangles adaptatifs, contenu serré
   Variante --grid : grille 3 colonnes (pour étapes courtes en parallèle)
   */

.art-steps {
  list-style: none;
  counter-reset: art-step;
  padding: 0;
  margin: 2rem auto;
  max-width: var(--art-module-width);
}


/* --- Variante par défaut = compact (rectangles adaptatifs) --- */

.art-steps:not(.art-steps--grid) {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  max-width: 720px;          /* Rectangles plus resserrés */
  margin-left: auto;          /* Centrage forcé dans la page */
  margin-right: auto;
}

.art-steps:not(.art-steps--grid) .art-steps__item {
  position: relative;
  padding: 1rem 1.5rem 1rem 3.75rem;
  background: var(--art-subtle);
  border-radius: var(--art-radius-sm);
  counter-increment: art-step;
}

.art-steps:not(.art-steps--grid) .art-steps__item::before {
  content: counter(art-step, decimal-leading-zero);
  position: absolute;
  left: 1.3rem;
  top: 1rem;
  font-family: var(--art-font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--art-primary);
  line-height: 1;
}


/* --- Variante --grid : grille 3 colonnes (cards numérotées) --- */

.art-steps--grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

@media (min-width: 768px) {
  .art-steps--grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.art-steps--grid .art-steps__item {
  padding: 1.5rem 1.25rem 1.35rem;
  background: var(--art-subtle);
  border-radius: var(--art-radius-md);
  counter-increment: art-step;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
}

.art-steps--grid .art-steps__item::before {
  content: counter(art-step, decimal-leading-zero);
  font-family: var(--art-font-display);
  font-weight: 500;
  font-size: 1.75rem;
  color: var(--art-primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}


/* --- Titre et body communs aux deux variantes --- */

.art-steps__title {
  font-family: var(--art-font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--art-ink);
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.art-steps__body {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  color: var(--art-ink);
  max-width: none;
}


/* ============================================================================
   12. FIGURE : image dans le corps avec légende (taille standard)
   ============================================================================ */

.art-figure {
  margin: 2.5rem auto;
  max-width: var(--art-module-width);
}

.art-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--art-radius-sm);
  background: var(--art-subtle);
}

.art-figure figcaption {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--art-muted);
  font-style: italic;
  line-height: 1.45;
}


/* ============================================================================
   13. FIGURE FULL-WIDTH : image pleine largeur (usage parcimonieux)
   ============================================================================ */

.art-figure--full {
  margin: 3rem calc(50% - 50vw);
  max-width: 100vw;
  padding: 0;
}

@media (min-width: 960px) {
  .art-figure--full {
    margin: 3.5rem -1.5rem;
    max-width: none;
  }
}

.art-figure--full img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: cover;
  display: block;
  border-radius: 0;
  background: var(--art-subtle);
}

@media (min-width: 960px) {
  .art-figure--full img {
    border-radius: var(--art-radius-md);
  }
}

.art-figure--full figcaption {
  max-width: var(--art-content-width);
  margin: 0.75rem auto 0;
  padding: 0 1.25rem;
  font-size: 0.85rem;
  color: var(--art-muted);
  font-style: italic;
  line-height: 1.45;
  text-align: center;
}

@media (min-width: 960px) {
  .art-figure--full figcaption {
    padding: 0;
  }
}


/* ============================================================================
   14. SPLIT : image + texte côte à côte (dans le corps, pas en hero)
   ============================================================================ */

.art-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 3rem auto;
  max-width: var(--art-module-width);
  align-items: center;
}

@media (min-width: 768px) {
  .art-split {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
  }
}

@media (min-width: 768px) {
  .art-split--reverse .art-split__media {
    order: 2;
  }
}

.art-split__media {
  border-radius: var(--art-radius-sm);
  overflow: hidden;
  background: var(--art-subtle);
}

.art-split__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.art-split__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.art-split__label {
  font-family: var(--art-font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--art-primary);
}

.art-split__title {
  font-family: var(--art-font-display);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--art-ink);
  margin: 0 0 0.3rem;
  letter-spacing: -0.01em;
}

.art-split__text {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--art-ink);
  margin: 0;
  max-width: none;
}


/* ============================================================================
   15. FAQ : questions/réponses avec accordéon natif (<details>)
   ============================================================================ */

.art-faq {
  margin: 3rem auto;
  max-width: var(--art-module-width);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.art-faq__item {
  background: var(--art-surface);
  border: 1px solid var(--art-border);
  border-radius: var(--art-radius-sm);
  overflow: hidden;
}

.art-faq__item[open] {
  border-color: var(--art-primary);
  background: var(--art-subtle);
}

.art-faq__question {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-family: var(--art-font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--art-ink);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  line-height: 1.4;
}

.art-faq__question::-webkit-details-marker {
  display: none;
}

.art-faq__question::after {
  content: "+";
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--art-primary-soft);
  color: var(--art-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.art-faq__item[open] .art-faq__question::after {
  transform: rotate(45deg);
  background: var(--art-primary);
  color: var(--art-surface);
}

.art-faq__answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--art-ink);
  margin: 0;
  max-width: none;
}


/* ============================================================================
   16. DIVIDER : séparateur subtil entre sections majeures
   ============================================================================ */

.art-divider {
  border: none;
  border-top: 1px solid var(--art-border);
  margin: 3rem auto;
  max-width: var(--art-content-width);
}

.art-divider--center {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  margin: 3.5rem auto;
  max-width: var(--art-content-width);
}

.art-divider--center::before {
  content: "◆ ◆ ◆";
  color: var(--art-primary);
  font-size: 0.7rem;
  letter-spacing: 1em;
  opacity: 0.5;
}


/* ============================================================================
   17. OUTRO : fermeture naturelle
   ============================================================================ */

.art-outro {
  margin: 3rem auto 1rem;
  max-width: var(--art-content-width);
}

.art-outro p {
  font-family: var(--art-font-display);
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--art-ink);
  margin: 0;
  letter-spacing: -0.005em;
  max-width: none;
}


/* ============================================================================
   18. RESPONSIVE FINAL : ajustements mobile
   ============================================================================ */

@media (max-width: 640px) {
  .art-article {
    font-size: 1rem;
  }

  .art-hero--b__title,
  .art-hero--d__title,
  .art-hero--e__title {
    font-size: 2rem;
    line-height: 1.08;
  }

  .art-hero--b__subtitle,
  .art-hero--d__subtitle,
  .art-hero--e__subtitle {
    font-size: 1.05rem;
  }

  .art-hero--b__byline,
  .art-hero--d__byline,
  .art-hero--e__byline {
    font-size: 0.75rem;
    gap: 0.75rem;
  }

  .art-quick-answer__summary {
    font-size: 1.05rem;
  }

  .art-pullquote p {
    font-size: 1.2rem;
  }

  .art-callout,
  .art-faq__question,
  .art-faq__answer {
    font-size: 0.95rem;
  }

  .art-steps__item {
    padding: 0.9rem 1rem 0.9rem 3rem;
  }

  .art-steps__item::before {
    left: 1rem;
  }

  .art-table {
    font-size: 0.88rem;
  }

  .art-table th,
  .art-table td {
    padding: 0.7rem 0.8rem;
  }
}

/* Print */
@media print {
  .art-article {
    max-width: none;
    padding: 0;
  }
  .art-faq__item,
  .art-callout,
  .art-pullquote,
  .art-hero--b,
  .art-hero--d,
  .art-hero--e,
  .art-figure--full {
    break-inside: avoid;
  }
  .art-faq__item {
    border: 1px solid #ccc;
  }
}
