/* Le recueil d'Alison Tartary : direction « magazine » de ses carrousels (blanc, Hanken très gras, rouge, surligneur jaune). Mode clair seulement. */
:root{
  --fond:#fff;--encre:#0e0e0e;--doux:#3d3d3d;--pale:#5f5f5f;--ligne:#e6e6e6;--carte:#f5f5f3;
  --rouge:#e5322b;--rouge-texte:#c11f19;--jaune:#ffe14d;--barre:#0e0e0e;--barre-fond:#ececec;
  color-scheme:light;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--fond);color:var(--encre);font:500 1.125rem/1.6 "Hanken Grotesk",system-ui,-apple-system,"Segoe UI",sans-serif}
a{color:inherit;text-decoration-color:var(--rouge);text-decoration-thickness:2px;text-underline-offset:3px}
a:hover{color:var(--rouge-texte)}
:focus-visible{outline:3px solid var(--rouge);outline-offset:3px}
img{max-width:100%;height:auto;display:block}
mark{background:linear-gradient(transparent 56%,var(--jaune) 56%,var(--jaune) 90%,transparent 90%);color:inherit;padding:0 .12em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.visuel-masque{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.evitement{position:absolute;left:-999px;top:0;background:var(--encre);color:var(--fond);padding:10px 16px;z-index:10}
.evitement:focus{left:16px;top:16px}
.cadre{max-width:1080px;margin:0 auto;padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
.etroit{max-width:760px;margin:0 auto}

/* En-tête commun */
.entete{border-bottom:5px solid var(--encre)}
.entete .cadre{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 24px;padding-top:18px;padding-bottom:16px}
.marque{text-decoration:none;display:flex;flex-direction:column;gap:2px}
.marque b{font-weight:900;font-size:1.5rem;letter-spacing:-.02em;line-height:1.1}
.marque span{font-weight:600;font-size:.95rem;color:var(--pale)}
.reseaux{display:flex;gap:16px;font-weight:800;font-size:.95rem;letter-spacing:.04em;text-transform:uppercase}
.reseaux a{text-decoration:none;display:inline-flex;align-items:center;gap:6px;min-height:44px}
.reseaux svg{width:18px;height:18px;fill:currentColor}
@media (max-width:560px){.entete .cadre{flex-direction:column;text-align:center}.marque{align-items:center}}

/* Titres */
.sur{margin:0;color:var(--rouge-texte);font-weight:800;font-size:.9rem;letter-spacing:.14em;text-transform:uppercase}
h1,h2,h3{font-weight:900;letter-spacing:-.03em;line-height:1.02;margin:0;text-wrap:balance}
h1{font-size:clamp(2.6rem,8.5vw,6.2rem)}
h2{font-size:clamp(2rem,6vw,3.6rem)}
h3{font-size:clamp(1.4rem,3.6vw,2rem);line-height:1.1}
.chapo{font-weight:700;font-size:clamp(1.2rem,3vw,1.6rem);line-height:1.3;color:var(--doux);margin:0;text-wrap:pretty}
.meta{margin:0;font-weight:700;font-size:.95rem;color:var(--pale)}

/* Accueil */
.accueil-tete{padding:clamp(40px,8vw,88px) 0 clamp(28px,5vw,48px);text-align:center;display:flex;flex-direction:column;gap:18px;align-items:center}
.accueil-tete h1{max-width:15ch}
.cartes{display:grid;gap:28px;grid-template-columns:1fr;padding-bottom:72px}
@media (min-width:760px){.cartes{grid-template-columns:1fr 1fr}.cartes .une{grid-column:1/-1}}
.carte{display:flex;flex-direction:column;gap:12px;text-decoration:none;min-width:0}
.carte img{border-radius:12px;border:1px solid var(--ligne);aspect-ratio:1200/630;object-fit:cover;width:100%}
.carte h2{font-size:clamp(1.6rem,4vw,2.2rem);line-height:1.06}
.carte.une h2{font-size:clamp(2rem,6vw,3.4rem)}
.carte p{margin:0}
.carte .chapo{font-size:1.1rem;font-weight:600}
.carte:hover h2{color:var(--rouge-texte)}
.carte .ligne-meta{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:baseline}

/* Article */
.article-tete{padding:clamp(40px,8vw,96px) 0 clamp(24px,4vw,40px);text-align:center;display:flex;flex-direction:column;gap:20px;align-items:center}
.article-tete .chapo{max-width:30ch}
.bloc{padding:clamp(40px,7vw,80px) 0;border-top:1px solid var(--ligne);display:flex;flex-direction:column;gap:20px}
.bloc.centre{text-align:center;align-items:center}
.bloc p{margin:0;max-width:62ch}
.bloc.centre p{margin-left:auto;margin-right:auto}
.enorme{font-weight:900;font-size:clamp(3.4rem,15vw,10rem);letter-spacing:-.045em;line-height:.95;margin:0}
.fort{font-weight:800;font-size:clamp(1.3rem,3.6vw,2rem);line-height:1.2}
.rouge{color:var(--rouge)}
.citation{margin:0;border-left:10px solid var(--rouge);padding:4px 0 4px 22px;font-weight:700;font-size:clamp(1.15rem,3vw,1.45rem);line-height:1.35;text-align:left}
.citation footer{font-weight:700;font-size:.95rem;color:var(--pale);margin-top:8px}
.note{font-size:1rem;color:var(--pale)}
.deux{display:grid;gap:18px;grid-template-columns:1fr}
@media (min-width:760px){.deux{grid-template-columns:1fr 1fr}}
.case{background:var(--carte);border-radius:14px;padding:20px 22px;display:flex;flex-direction:column;gap:10px;min-width:0}
.case b{font-weight:900;font-size:1.05rem;letter-spacing:.06em;text-transform:uppercase;color:var(--rouge-texte)}

/* Barres */
figure{margin:0}
.barres{display:flex;flex-direction:column;gap:14px;width:100%;text-align:left}
.barre .l{display:flex;justify-content:space-between;gap:12px;align-items:baseline;font-weight:700;font-size:1rem}
.barre .l span:last-child{font-weight:900;white-space:nowrap}
.barre .b{height:22px;background:var(--barre-fond);border-radius:6px;overflow:hidden;margin-top:6px}
.barre .b i{display:block;height:100%;background:var(--barre);border-radius:6px}
.barre.vif .b i{background:var(--rouge)}
figcaption{font-size:.95rem;color:var(--pale);margin-top:12px}
.annees{display:grid;grid-template-columns:repeat(10,1fr);gap:6px;align-items:end;height:200px;width:100%}
.annees div{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%;gap:6px;min-width:0}
.annees i{display:block;width:100%;background:var(--barre);border-radius:4px 4px 0 0}
.annees span{font-weight:800;font-size:.78rem;color:var(--pale)}

/* Listes complètes */
details{width:100%;text-align:left;border:1px solid var(--ligne);border-radius:14px;padding:4px 18px}
summary{cursor:pointer;font-weight:800;font-size:1.05rem;padding:12px 0;min-height:44px}
.filtre{display:flex;flex-direction:column;gap:6px;margin:8px 0 14px}
.filtre label{font-weight:700;font-size:.95rem}
.filtre input{font:inherit;font-size:1rem;padding:10px 14px;border-radius:10px;border:2px solid var(--ligne);background:var(--fond);color:var(--encre);width:100%}
.liste{list-style:none;margin:0;padding:0 0 12px;display:flex;flex-direction:column}
.liste li[hidden]{display:none}
.liste li{padding:12px 0;border-top:1px solid var(--ligne);display:flex;flex-direction:column;gap:4px;min-width:0}
.liste .q{font-weight:800}
.liste .x{font-size:.95rem;color:var(--doux);overflow-wrap:anywhere}
.compte{font-weight:700;font-size:.95rem;color:var(--pale);margin:0 0 6px}

/* Pied commun */
.pied{border-top:5px solid var(--encre);margin-top:24px}
.pied .cadre{display:grid;gap:24px;padding-top:32px;padding-bottom:48px;grid-template-columns:1fr}
@media (min-width:760px){.pied .cadre{grid-template-columns:2fr 1fr}}
.pied h2{font-size:1rem;letter-spacing:.14em;text-transform:uppercase;font-weight:900;color:var(--rouge-texte)}
.pied p{margin:8px 0 0;font-size:1.02rem;color:var(--doux);max-width:52ch}
.pied ul{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:4px;font-weight:700}
.pied ul a{display:inline-block;min-height:32px;padding:4px 0}
.pied small{display:block;margin-top:18px;color:var(--pale);font-size:.9rem}
/* Le CERFA : le défi de 15 jours (compteur, mur, Cerfa d'or) */
.cerfa-tete{padding:clamp(28px,6vw,64px) 0 clamp(20px,4vw,36px);text-align:center;display:flex;flex-direction:column;gap:18px;align-items:center}
.cerfa-tete .sceau{width:clamp(150px,30vw,240px);height:auto;transform:rotate(-6deg)}
.cerfa-tete h1{max-width:13ch}
.cerfa-tete .chapo{max-width:34ch}
.compteur{border:5px solid var(--encre);border-radius:18px;padding:clamp(20px,4vw,36px);display:flex;flex-direction:column;gap:16px;margin-bottom:clamp(24px,5vw,48px);text-align:center}
.trouve{margin:0;font-weight:900;letter-spacing:-.035em;line-height:1;font-size:clamp(2.6rem,10vw,5.4rem)}
.trouve .sur-x{display:block;font-size:clamp(1.2rem,3.6vw,2rem);letter-spacing:-.01em;color:var(--doux);margin-top:8px}
.jauge{height:clamp(38px,7vw,64px);background:var(--barre-fond);border-radius:12px;overflow:hidden;border:3px solid var(--encre)}
.jauge i{display:block;height:100%;width:0;min-width:6px;background:var(--rouge);transition:width .6s ease}
.etat{margin:0;display:flex;flex-wrap:wrap;justify-content:center;gap:4px 14px;font-weight:800;font-size:clamp(1.05rem,2.8vw,1.35rem)}
.etat b{font-weight:900;color:var(--rouge-texte)}
.mur{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;width:100%}
.mur li{display:grid;grid-template-columns:1fr auto;gap:4px 18px;padding:18px 0;border-top:2px solid var(--encre)}
.mur li:last-child{border-bottom:2px solid var(--encre)}
.mur p{margin:0;max-width:none}
.mur-jour{grid-column:1/-1;font-weight:900;font-size:.9rem;letter-spacing:.12em;text-transform:uppercase;color:var(--rouge-texte)}
.mur-quoi{font-weight:800;font-size:clamp(1.15rem,3vw,1.5rem);line-height:1.2}
.mur-montant{font-weight:900;font-size:clamp(1.3rem,3.4vw,1.8rem);white-space:nowrap;text-align:right}
.mur-montant span{display:block;font-size:.85rem;font-weight:700;color:var(--pale)}
.mur-source{grid-column:1/-1;font-size:.95rem;color:var(--doux)}
.mur-vide,.signataires-vide{font-weight:800;font-size:clamp(1.15rem,3vw,1.5rem);border:3px dashed var(--ligne);border-radius:14px;padding:22px;text-align:center;max-width:none!important;width:100%}
.broyeuse{align-items:center}
.broyeuse img{width:min(100%,520px);border-radius:16px}
.broyeuse figcaption{font-weight:800;font-size:1.1rem;color:var(--encre);text-align:center}
.or{display:grid!important;grid-template-columns:1fr;gap:24px;align-items:center}
@media (min-width:760px){.or{grid-template-columns:260px 1fr}}
.or img{width:min(100%,260px);margin:0 auto;border-radius:14px}
.or>div{display:flex;flex-direction:column;gap:14px}
.signataires{list-style:none;margin:0;padding:0;font-weight:800;font-size:1.2rem}
.signataires li{padding:10px 0;border-top:1px solid var(--ligne)}
.signataires span{font-weight:600;color:var(--pale);font-size:.95rem;margin-left:8px}
@media (max-width:560px){.mur li{grid-template-columns:1fr}.mur-montant{text-align:left}}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
