/* theme.css — direction artistique importée. NE PAS ÉDITER À LA MAIN.
 * Source : build.zip (format php)
 * Généré le 2026-09-24 par common/infra/importer_theme.py
 *
 * Le style vient du générateur ; la STRUCTURE reste celle du Worker.
 * Architecture, squelette, blocs exclusifs et placement du bloc de
 * conversion sont des décisions de profil : elles ne s'importent pas.
 */

/* Fontes auto-hébergées. Aucun appel à un tiers. */
@font-face{font-family:'DM Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url('fonts/dm-sans-variable-normal.woff2') format('woff2')}
@font-face{font-family:'Newsreader';font-style:normal;font-weight:400 700;font-display:swap;src:url('fonts/newsreader-variable-normal.woff2') format('woff2')}

:root{
  --color-accent: #f2c14e;
  --color-accent-soft: #fff1bd;   /* non employé par le thème */
  --color-border: #c9d1cc;
  --color-danger: #8a2f26;   /* non employé par le thème */
  --color-focus: #17302f;   /* non employé par le thème */
  --color-ink: #17302f;
  --color-muted: #516664;
  --color-overlay: #102d2dcc;   /* non employé par le thème */
  --color-paper: #fffdf7;
  --color-primary: #0f5b5d;   /* non employé par le thème */
  --color-primary-dark: #083f41;
  --color-shadow: #17302f1f;   /* non employé par le thème */
  --color-surface: #f4f0e6;
  --color-white: #ffffff;
  --container-main: 1180px;   /* non employé par le thème */
  --container-reading: 760px;   /* non employé par le thème */
  --container-wide: 1360px;   /* non employé par le thème */
  --font-body: 'DM Sans',sans-serif;
  --font-display: 'Newsreader',serif;
  --radius-lg: 28px;   /* non employé par le thème */
  --radius-md: 16px;
  --radius-sm: 8px;
  --shadow: 0 16px 42px var(--color-shadow);   /* non employé par le thème */
  --transition: 220ms ease;   /* non employé par le thème */
}

/* Normalisation : les tokens du Worker sont rebranchés sur la
 * palette importée. Le CSS de structure du Worker n'a pas à
 * être réécrit à chaque import — donc à chaque site. */
:root{
  --lien: var(--color-primary-dark);   /* mesuré à la source */
  --fond: var(--color-paper);
  --encre: var(--color-ink);
  --gris: var(--color-muted);
  --trait: var(--color-border);
  --accent: var(--color-primary);
  --famille-titres: var(--font-display);
  --famille-corps: var(--font-body);
  --ombre: var(--shadow);
}

/* Classes NON importées — leur rendu dépend de JavaScript :
 *   .main-nav — masquée par CSS (.main-nav), révélée par une classe d'état posée en JavaScript
 *   .menu-toggle — masquée par CSS (.menu-toggle) et manipulée dans un <script>
 *   .reveal-on-scroll — masquée par CSS (.reveal-on-scroll), révélée par une classe d'état posée en JavaScript
 * Le Worker rend ces composants en HTML statique. */

/* page */
body{background:var(--color-paper);color:var(--color-ink);font-family:var(--font-body);font-size:1.125rem;line-height:1.7;margin:0;}
/* bandeau */
.bandeau{background:var(--color-paper);border-bottom:1px solid var(--color-border);}
/* marque */
.marque{border-radius:20px 20px 4px 4px;color:var(--color-ink);font-family:var(--font-display);font-size:1.38rem;line-height:1;padding:5px;text-decoration:none;}
/* fil_ariane */
.ariane{color:var(--color-muted);font-size:.85rem;}
/* titre_page */
h1{font-family:var(--font-display);font-size:clamp(2.8rem,5.5vw,5rem);font-weight:650;letter-spacing:-.035em;line-height:.95;margin:18px 0 24px;}
/* titre_section */
h2{font-family:var(--font-display);font-size:2.6rem;line-height:1.05;margin:8px 0;margin-top:58px;}
/* sous_titre */
h3{font-family:var(--font-display);font-size:1.35rem;line-height:1.15;margin:0 0 5px;margin-top:30px;}
/* surtitre */
.surtitre{color:var(--color-primary-dark);font-size:.78rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;}
/* chapo */
.chapo, .intro{color:var(--color-muted);font-size:1.15rem;}
/* encadre_limites */
.limites{background:var(--color-surface);border-left:6px solid var(--color-accent);border-radius:0 var(--radius-md) var(--radius-md) 0;padding:22px 24px;}
/* tableau */
table{font-size:.9rem;margin:24px 0;}
/* tableau_legende */
table caption{background:var(--color-accent);border-radius:var(--radius-md);color:var(--color-ink);font-size:.86rem;font-weight:700;margin-bottom:10px;padding:18px;}
/* bouton */
.bouton{background:var(--color-primary-dark);border:2px solid var(--color-primary-dark);border-radius:999px;color:var(--color-white);font-weight:700;padding:12px 20px;text-decoration:none;}
/* lien_texte */
.maillage a{font-weight:600;}
/* pied */
.pied{background:var(--color-ink);color:var(--color-white);}
/* faq_question */
.faq dt{background:transparent;border:0;color:var(--color-ink);font-weight:700;padding:20px 0;}
/* faq_reponse */
.faq dd{color:var(--color-muted);padding:0 0 20px;}
/* formulaire_champ */
input, select, textarea{background:var(--color-white);border:2px solid var(--color-border);border-radius:var(--radius-sm);color:var(--color-ink);margin-bottom:18px;padding:12px;}
