/* =====================================================================
   Cycled — brand refresh (charte graphique v2, décembre 2025)
   Chargé en DERNIER sur chaque page, après styles.css et les styles de page.
   - Figtree partout pour les titres (au moins 85 % du contenu typographique)
   - Aleo réservée aux accents : citations, chapeaux en italique, encadrés
   - Vrai dégradé de marque + léger grain + icône floutée sur les bandes de couleur
   - Fonds blancs et espace négatif ; gris très pâle (--mist) au lieu du crème
   ===================================================================== */
:root{
  --font-heading:'Figtree',sans-serif;
  --font-accent:'Aleo',Georgia,serif;
  --font-h:'Figtree',system-ui,sans-serif;
  --mist:#f7f5f3;
  --gradient:radial-gradient(circle at 18% 12%,rgba(246,195,204,.9) 0,transparent 55%),radial-gradient(circle at 88% 8%,rgba(177,25,63,.85) 0,transparent 52%),linear-gradient(150deg,#f59a5f 0%,#e8692e 55%,#c94e45 100%);
  --gradient-warm:var(--gradient);
  --grain:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Titres ---------- */
h1,h2,h3{font-family:var(--font-heading);font-weight:500;letter-spacing:-.025em;line-height:1.1;text-wrap:balance}
h3{font-weight:600;letter-spacing:-.01em;line-height:1.2}
.page-hero h1,.article-meta-inner h1,.err-inner h1{font-weight:500;letter-spacing:-.035em;line-height:1.04}
.article-body-inner h2,.article-cta h2,.blog-card h2,.coming-next h2,.final-cta h2,.cf-channels-title{font-weight:500;letter-spacing:-.02em}
.rcard-name,.map-fallback h3{font-weight:600}
.err-code,.how-n{font-weight:500;letter-spacing:-.04em}
.intro h1,.panel-h h2,.cta h2,.bar-name{font-weight:600;letter-spacing:-.02em}
.deal-n,.dish-r{font-weight:600}

/* ---------- Aleo : accents seulement ---------- */
.article-dek,.article-body-inner blockquote,.article-body-inner .pull,.article-body-inner em,.founder-quote-big{font-family:var(--font-accent)}

/* ---------- Bandes de couleur : vrai dégradé + grain + icône floutée ---------- */
.page-hero,.final-cta,.article-cta,.ty-hero,.err-wrap{position:relative;overflow:hidden;background:#e8692e url(assets/gradient-wide.webp) center/cover no-repeat}
.final-cta,.article-cta{background-color:#c94e45}
.page-hero::before,.final-cta::before,.article-cta::before,.ty-hero::before,.err-wrap::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;width:auto;height:auto;border-radius:0;background:var(--grain);opacity:.22;mix-blend-mode:overlay;pointer-events:none;z-index:0}
.page-hero::after,.final-cta::after,.article-cta::after,.ty-hero::after,.err-wrap::after{content:'';position:absolute;top:-10%;right:-8%;bottom:auto;left:auto;width:520px;height:520px;border-radius:0;background:url(assets/icon-gradient-600.webp) center/contain no-repeat;filter:blur(42px);opacity:.42;pointer-events:none;z-index:0}
.final-cta::after,.article-cta::after{top:auto;bottom:-30%;right:auto;left:-10%}
.page-hero>*,.final-cta>*,.article-cta>*,.ty-hero>*,.err-wrap>*{position:relative;z-index:1}
@media(max-width:768px){
  .page-hero,.final-cta,.article-cta,.ty-hero,.err-wrap{background-image:url(assets/gradient-tall.webp)}
  .page-hero::after,.ty-hero::after,.err-wrap::after{width:320px;height:320px;right:-30%}
}

/* ---------- Fonds : blanc + gris très pâle au lieu du crème ---------- */
.coming-next,.related{background:var(--mist)}
.credential-card,.topic-tag,.rcard-note,.article-body-inner .pull{background:var(--mist)}

/* ---------- Titres en couleurs de marque (au lieu du noir) ---------- */
h1,h2,.article-meta-inner h1{color:#b1193f;background:linear-gradient(100deg,#b1193f 0%,#c94e45 45%,#e8692e 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.article-body-inner h2,.blog-card h2,.coming-next h2,.cf-channels-title{background:none;-webkit-text-fill-color:currentColor;color:#b1193f}
.page-hero h1,.page-hero h2,.final-cta h2,.article-cta h2,.ty-hero h1,.ty-hero h2,.err-wrap h1,.apply h2,.hero h1,.hero h2{background:none;-webkit-text-fill-color:currentColor;color:#fff}
.intro h1,.panel-h h2,.cta h2{background:none;-webkit-text-fill-color:currentColor}
h3{color:#b1193f}
.page-hero h3,.final-cta h3,.article-cta h3,.apply h3{color:#fff}

/* ---------- Sources : bouton (i) + fenêtre ---------- */
.src{display:inline-block;vertical-align:super;line-height:0;margin-left:4px}
.src-btn{width:16px;height:16px;padding:0;border-radius:50%;border:1.5px solid #c94e45;background:transparent;color:#c94e45;font:italic 700 10px/1 Georgia,'Aleo',serif;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .2s,color .2s;vertical-align:middle}
.src-btn:hover,.src-btn[aria-expanded="true"]{background:#c94e45;color:#fff}
.src-btn:focus-visible{outline:2px solid #e8692e;outline-offset:2px}
.src-pop{position:fixed;z-index:1000;width:min(300px,calc(100vw - 32px));background:#fff;color:#2a2320;border-radius:14px;box-shadow:0 12px 36px rgba(42,35,32,.2);padding:14px 16px;font-family:'Figtree',sans-serif;font-size:13px;font-weight:400;font-style:normal;line-height:1.5;letter-spacing:0;text-transform:none;text-align:left;white-space:normal}
.src-pop[hidden]{display:none}
.src-head{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;color:#9a8d85;margin-bottom:8px}
.src-head img{width:16px;height:16px;border-radius:4px}
.src-cite{display:block;color:#4d4239}
.src-cite+.src-cite{margin-top:8px;padding-top:8px;border-top:1px solid rgba(42,35,32,.08)}
.src-cite a{color:#c94e45;font-weight:700;text-decoration:none;white-space:nowrap}
.src-cite a:hover{text-decoration:underline}

/* Questions de la FAQ en framboise */
.faq-question{color:#b1193f}

.nav-cta-beta{background:transparent;color:var(--orange);border:2px solid var(--orange);box-shadow:none}
.nav-cta-beta:hover{background:var(--orange);color:#fff;opacity:1}
