*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Segoe UI',Roboto,Oxygen,Ubuntu,sans-serif;line-height:1.75;color:#333;background:#f0f2f5}
.page-feb6fe{max-width:860px;margin:0 auto;padding:0 20px}
.module-7e4bfa{background:#fff;padding:28px 0;margin-bottom:32px;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.module-7e4bfa h1{font-size:22px;font-weight:700;margin-bottom:2px}
.module-7e4bfa p{font-size:14px;color:#666}
.module-7e4bfa a{color:#333;text-decoration:none;font-size:18px;font-weight:700}
.footer-015f3f{display:flex;flex-direction:column;gap:20px}
.outer-4c9f5a{background:#fff;border-radius:12px;box-shadow:0 1px 6px rgba(0,0,0,.06);padding:24px 28px;transition:transform .15s,box-shadow .15s}
.outer-4c9f5a:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,.1)}
.outer-4c9f5a h2{font-size:19px;margin-bottom:6px}
.outer-4c9f5a h2 a{color:#1a1a1a;text-decoration:none}
.outer-4c9f5a .frame-20ecf2{font-size:12px;color:#999;margin-bottom:8px}
.outer-4c9f5a p{font-size:14px;color:#555;margin-bottom:12px}
.footer-a1b197{display:inline-block;background:#5865f2;color:#fff;padding:6px 16px;border-radius:20px;font-size:13px;font-weight:600;text-decoration:none}
.footer-a1b197:hover{background:#4752c4}
.module-7e11f5{padding-bottom:60px}
.module-7e11f5 h1{font-size:30px;font-weight:700;margin-bottom:8px}
.module-7e11f5 time{font-size:12px;color:#999;display:block;margin-bottom:24px}
.module-7e11f5 h2{font-size:22px;margin:32px 0 12px}
.module-7e11f5 h3{font-size:18px;margin:24px 0 8px}
.module-7e11f5 p{margin-bottom:16px}
.module-7e11f5 ul,.module-7e11f5 ol{margin:0 0 16px 24px}
.module-7e11f5 a{color:#5865f2}
.module-7e11f5 img{max-width:100%;height:auto;border-radius:12px;margin:16px 0}
.content-3eef3e{padding:24px 0;margin-top:40px;text-align:center;font-size:12px;color:#999}
.content-3eef3e a{color:#999;text-decoration:none}
.footer-294fa3{background:#e8eaf0;border-radius:8px;padding:12px 16px;margin-bottom:20px;font-size:13px;color:#888;font-style:italic}
.section-911283{background:#fff8e1;border-radius:8px;padding:12px 16px;margin-top:24px;font-size:12px;color:#9e8600}
.shell-d50eba{display:inline-block;background:#f0f2f7;border-radius:12px;padding:4px 12px;margin:-18px 0 24px;font-size:12px;color:#777}
.inner-37ee9a{text-align:center;margin:0 0 24px}
.content-8ee633{max-width:100%;height:auto;border-radius:12px}
.region-1fefc1{margin-top:32px;padding-top:20px;border-top:1px solid #e0e0e0}
.region-1fefc1 h3{font-size:16px;font-weight:700;margin-bottom:12px}
.crd-related-list{display:flex;flex-direction:column;gap:8px}
.crd-related-link{display:block;background:#fff;border-radius:8px;padding:10px 14px;color:#333;text-decoration:none;box-shadow:0 1px 3px rgba(0,0,0,.06);font-size:14px}
.crd-related-link:hover{box-shadow:0 2px 8px rgba(0,0,0,.1)}
.main-394062{display:flex;flex-direction:column;gap:8px;margin-top:20px}
.header-c8746d{display:block;background:#fff;border-radius:8px;padding:10px 16px;color:#1a1a1a;text-decoration:none;box-shadow:0 1px 3px rgba(0,0,0,.05);font-size:15px}
.header-c8746d:hover{box-shadow:0 2px 8px rgba(0,0,0,.1)}
/* === Theme === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Cormorant+Garamond:wght@400;700&display=swap');
body{font-family:'Montserrat',sans-serif;color:#2A2A2A;background:#F9FBF7}
.module-7e4bfa{background:#2D4739;color:#fff}
.module-7e4bfa h1{font-family:'Cormorant Garamond',serif;color:#fff}
.module-7e4bfa p{color:rgba(255,255,255,.75)}
.module-7e4bfa a{color:#fff;text-decoration:none}
.card h2{font-family:'Cormorant Garamond',serif}
.card h2 a{color:#2D4739}
.card h2 a:hover{color:#D48166}
.read-more{color:#D48166}
.article-content h1{font-family:'Cormorant Garamond',serif}
.article-content h2{font-family:'Cormorant Garamond',serif}
.article-content a{color:#D48166}
.article-content img{border-radius:8px}
.affiliate-disclosure{border-radius:8px}
.ymyl-disclaimer{border-radius:8px}
/* === Custom === */
/* he-essent-fr — custom.css
   Niche : huiles essentielles usage quotidien maison (fr)
   Auteure : Margaux Rey, 33 ans, Annecy — carnet intime d'une utilisation
             ordinaire, pas un guide d'aromathérapie ni un comparatif de
             formations. Ton : café avec une amie, scènes du quotidien.
   Palette : lavande-ambre — les flacons d'ambre sur la tablette, le champ
             de lavande en Haute-Savoie, les linges de lin de la maison.
   DIFFÉRENCE du site jumelé ah-aroma-fr : vert forêt + terracotta +
             Playfair Display + gabarit magazine → ici violet lavande +
             ambre miel + Newsreader + gabarit card. Zéro collision. */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,600;0,6..72,700;1,6..72,400&family=Lato:ital,wght@0,300;0,400;0,700;1,400&display=swap');

/* ─── Tokens ──────────────────────────────────────────────────────────────── */
:root {
  --primary:      #7B5FA0;   /* lavande ambre — titres, en-tête, liens */
  --primary-dark: #5E4580;   /* lavande profonde — survol, pied */
  --accent:       #C4813A;   /* ambre miel — accents, soulignements */
  --bg:           #FAF8F4;   /* lin chaud */
  --bg-alt:       #F2ECE8;   /* lin légèrement plus foncé — blocs */
  --fg:           #2D2820;   /* brun-charbon chaud — texte courant */
  --border:       #DED4C6;   /* beige sable — filets */
  --muted:        #7D7267;   /* gris-brun chaud — méta, secondaire */
  --card-bg:      #FFFFFF;   /* surface carte */
  --shadow:       rgba(123, 95, 160, 0.08);
  --r:            12px;
  --fh:           'Newsreader';
  --fb:           'Lato';
  --lh-body:      1.78;
  --lh-h:         1.22;
}

/* ─── Reset léger ─────────────────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  font-size: 17px;
  scroll-behavior: smooth;
}

/* ─── Base globale ────────────────────────────────────────────────────────── */
:root body {
  font-family: var(--fb), system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--fg);
  background-color: var(--bg);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

::selection { background-color: rgba(196, 129, 58, 0.22); color: var(--fg); }

/* ─── Typographie générale ────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--fh), Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: var(--lh-h);
  color: var(--primary-dark);
  margin-top: 1.6em;
  margin-bottom: 0.45em;
}

h1 { font-size: 2.1rem; letter-spacing: -0.01em; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; font-weight: 600; font-style: italic; }
h5 { font-size: 0.93rem; text-transform: uppercase; letter-spacing: 0.07em; }
h6 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }

p {
  margin-top: 0;
  margin-bottom: 1.35em;
  max-width: 68ch;
}

a, a:visited {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

a:hover { color: var(--accent); text-decoration-color: var(--accent); }

strong, b { font-weight: 700; }
em, i     { font-style: italic; }

ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.35em;
  max-width: 68ch;
}

li { margin-bottom: 0.4em; line-height: 1.72; }
ul li::marker { color: var(--accent); }
ol li::marker { color: var(--primary); font-weight: 600; }

blockquote {
  margin: 1.75em 0;
  padding: 0.95em 1.4em;
  border-left: 3px solid var(--accent);
  background-color: var(--bg-alt);
  font-family: var(--fh), Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--primary-dark);
  border-radius: 0 var(--r) var(--r) 0;
}

blockquote p { margin-bottom: 0; max-width: none; }

hr { border: none; border-top: 1px solid var(--border); margin: 2.2em auto; }

/* En-tête : masthead photographique restylé dans la révision v.a7e735
   (body > header). Ancien bloc .module-7e4bfa retiré — superflu. */

/* ─── Navigation ──────────────────────────────────────────────────────────── */
:root nav {
  background-color: var(--primary-dark);
  padding: 0.6rem 1.5rem;
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  align-items: center;
}

:root nav a,
:root nav a:visited {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-family: var(--fb), sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.15s ease;
}

:root nav a:hover { color: var(--accent); }

/* ─── Zone principale ─────────────────────────────────────────────────────── */
:root main {
  padding-bottom: 3.5rem;
}

/* Cartes de listing accueil : entièrement restylées dans la révision v.a7e735
   (sélecteurs structurels). Ancien bloc .card/.read-more retiré — superflu. */

/* ─── Contenu article (.article-content) ─────────────────────────────────── */
.article-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.25rem 1.5rem;
}

.article-content h1 {
  font-family: var(--fh), Georgia, serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.22;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.article-content h2 {
  font-family: var(--fh), Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 2.2em;
  margin-bottom: 0.5rem;
  padding-bottom: 0.3em;
  border-bottom: 1px solid var(--border);
}

.article-content h3 {
  font-family: var(--fh), Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 1.8em;
  margin-bottom: 0.4rem;
}

.article-content h4 {
  font-size: 1.05rem;
  font-weight: 600;
  font-style: italic;
  color: var(--primary);
  margin-top: 1.5em;
}

.article-content p {
  font-size: 1rem;
  line-height: 1.84;
  max-width: 68ch;
}

.article-content a,
.article-content a:visited {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.article-content a:hover { color: var(--accent); }

.article-content ul,
.article-content ol {
  font-size: 1rem;
  line-height: 1.84;
  max-width: 68ch;
}

.article-content blockquote {
  margin: 1.9em 0;
  padding: 1em 1.5em;
  border-left: 3px solid var(--accent);
  background-color: var(--bg-alt);
  font-family: var(--fh), Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--primary-dark);
  border-radius: 0 var(--r) var(--r) 0;
}

.article-content blockquote p { margin-bottom: 0; max-width: none; }

.article-content img {
  border-radius: var(--r);
  border: 1px solid var(--border);
  margin: 1.75em 0;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  margin: 1.75em 0;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}

.article-content table th {
  background-color: var(--primary);
  color: #FFFFFF;
  font-family: var(--fb), sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: left;
  padding: 0.55em 0.9em;
}

.article-content table td {
  padding: 0.55em 0.9em;
  border-top: 1px solid var(--border);
  vertical-align: top;
}

.article-content table tr:nth-child(even) {
  background-color: rgba(222, 212, 198, 0.22);
}

/* ─── Méta article ─────────────────────────────────────────────────────────── */
.post-meta,
.entry-meta {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

/* ─── Pied de page ────────────────────────────────────────────────────────── */
:root footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.76);
  padding: 2rem 1.5rem;
  text-align: center;
  font-family: var(--fb), sans-serif;
  font-size: 0.82rem;
  line-height: 1.65;
  border-top: 4px solid var(--accent);
}

:root footer p { max-width: none; margin: 0 auto 0.5em; }

:root footer a,
:root footer a:visited { color: rgba(255, 255, 255, 0.9); text-decoration: underline; }
:root footer a:hover   { color: var(--accent); }

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  html { font-size: 16px; }

  .module-7e4bfa { padding: 2rem 1rem 1.75rem; }
  .module-7e4bfa h1 { font-size: 1.9rem; }

  .card { padding: 1.2rem 1.1rem; }
  .card h2 { font-size: 1.15rem; }

  .article-content { padding: 1.5rem 1rem; }
  .article-content h1 { font-size: 1.75rem; }
  .article-content h2 { font-size: 1.3rem; }
  .article-content h3 { font-size: 1.1rem; }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.12rem; }
}

/* === R2 fixes (2026-06-26T11:20:23.368703+00:00) === */

/* Bouton footer — aligne sur la palette lavande plutôt que bleu navigateur */
.footer-a1b197 {
  background-color: #7B5FA0;
  color: #ffffff;
  border-radius: 12px;
  padding: 0.45em 1.1em;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

/* Séparation entre cards homepage — respiration entre résumés */
.outer-4c9f5a {
  border-bottom: 1px solid #e8dff4;
  padding-bottom: 1.75em;
  margin-bottom: 1.75em;
}

/* Disclaimer — ton chaleureux du site, pas juridique */
.section-911283 {
  background-color: #f4f0f8;
  border-left: 3px solid #C4813A;
  padding: 0.9em 1.2em;
  font-size: 0.82rem;
  color: #666;
  border-radius: 0 6px 6px 0;
  margin-top: 2em;
}

/* Tagline header — lisible et ancre l'identité en 3 secondes */
.module-7e4bfa p {
  font-size: 1rem;
  line-height: 1.55;
  opacity: 0.92;
  max-width: 56ch;
  margin: 0.4em auto 0;
}

/* Liens articles connexes — visibles et dans la palette */
.region-1fefc1 .crd-related-link {
  display: block;
  padding: 0.4em 0;
  color: #7B5FA0;
  text-decoration: none;
  border-bottom: 1px dotted #d4c8e8;
  font-size: 0.9rem;
}

/* === R3 fixes (2026-06-26T12:00:22.866277+00:00) === */

/* Filet de section sous les H2 d'article — guide visuel naturel entre sections */
article h2 {
  margin-top: 2.2em;
  margin-bottom: 0.5em;
  padding-bottom: 0.3em;
  border-bottom: 1px solid #DED4C6;
}

/* Date article — note temporelle douce en petite italique gris-brun */
main.module-7e11f5 time {
  display: block;
  font-size: 0.82rem;
  color: #7D7267;
  font-style: italic;
  letter-spacing: 0.02em;
  margin-bottom: 1.2rem;
}

/* Panneaux image inline — pauses narratives avec respiration verticale */
.panel-809994 {
  margin: 1.8em 0;
}

.panel-809994 img {
  border-radius: 12px;
  width: 100%;
}

/* Titre 'Articles connexes' — ambre discret + petites capitales */
.region-1fefc1 h3 {
  color: #C4813A;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  margin-bottom: 0.7em;
}

/* Date homepage card — indication temporelle légère, pas attribut de BDD */
.frame-20ecf2 {
  font-size: 0.8rem;
  color: #7D7267;
  font-style: italic;
  margin-bottom: 0.35em;
  letter-spacing: 0.02em;
}

/* === R4 fixes (2026-06-26T12:40:22.497379+00:00) === */

/* Image hero — bords arrondis uniformes comme les photos inline (cohérence journal) */
.inner-37ee9a img {
  border-radius: 12px;
  width: 100%;
  margin-bottom: 1.75em;
}

/* Zone articles connexes — séparation visuelle nette après le disclaimer */
.region-1fefc1 {
  margin-top: 2.5em;
  padding-top: 1.5em;
  border-top: 1px solid #DED4C6;
}

/* Liste articles page auteur — entrées de carnet, pas un index administratif */
main.module-7e11f5 article section ul {
  list-style: none;
  padding-left: 0;
}

main.module-7e11f5 article section ul li {
  border-bottom: 1px solid #DED4C6;
  padding: 0.6em 0;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Résumés homepage — hiérarchie visuelle : titre H2 en premier, résumé en retrait */
div.outer-4c9f5a p {
  color: #7D7267;
  font-size: 0.94rem;
  line-height: 1.68;
}

/* H3 sous-sections article — repérables d'un coup d'œil lors du scan */
article h3 {
  margin-top: 1.9em;
  margin-bottom: 0.35em;
}

/* v.a7e735 — layout revision */
/* Signature éditoriale — le carnet de Margaux (Annecy). Sélecteurs STRUCTURELS
   uniquement (:root + :not(:has())/:has() + nth-child) → indépendants des noms
   de classe (que le pipeline remappe/obfusque). Home : masthead photographique,
   UNE voix hero, bande « à lire en premier », ouverture de journal, index compact.
   Couleur-moment #5E3A5C employée 2× exactement : lettrine hero + lettrine du
   premier paragraphe d'article. Asset chapter-cover.jpg absent (404) → les deux
   respirations « strip » sont des bandes dégradées lavande, pas des photos. */

:root {
  --moment:  #5E3A5C;   /* prune — lettrines uniquement, 2 emplois */
  --card-bg: #FAF6EE;   /* papier chaud — plus AUCUN blanc pur (règle A) */
  --paper-2: #F3ECDE;   /* papier légèrement plus profond */
}

/* ── MASTHEAD : photo + voile lavande + monogramme goutte + manifeste ──────── */
:root body > header {
  background-image:
    linear-gradient(152deg, rgba(94,69,128,.92) 0%, rgba(123,95,160,.72) 55%, rgba(94,69,128,.90) 100%),
    url("/theme-assets/hero-masthead.jpg");
  background-size: cover;
  background-position: center;
  border-bottom: 4px solid var(--accent);
  box-shadow: none;
}
:root body > header > div { max-width: 720px; }

/* Accueil (contient h1) — version haute : monogramme + wordmark + manifeste */
:root body > header:has(> div > h1) {
  padding: 3.7rem 1.5rem 3.2rem;
  text-align: center;
}
:root body > header:has(> div > h1) > div::before {
  content: "";
  display: block;
  width: 44px; height: 50px;
  margin: 0 auto 1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 44'%3E%3Cpath d='M20 3C20 3 33 21 33 30A13 13 0 0 1 7 30C7 21 20 3 20 3Z' fill='none' stroke='%23ffffff' stroke-width='1.4'/%3E%3Cpath d='M20 17C20 17 27 25 27 30A7 7 0 0 1 13 30C13 25 20 17 20 17Z' fill='%23C4813A'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: .96;
}
:root body > header:has(> div > h1) h1 {
  font-family: var(--fh), Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 2.9rem;
  line-height: 1.08;
  color: #FFFFFF;
  letter-spacing: .005em;
  margin: 0 0 .6rem;
  text-shadow: 0 2px 16px rgba(40,26,60,.42);
}
:root body > header:has(> div > h1) h1 a,
:root body > header:has(> div > h1) h1 a:visited { color: #FFFFFF; text-decoration: none; }
:root body > header:has(> div > h1) p {
  font-family: var(--fh), Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.06rem;
  line-height: 1.6;
  color: rgba(255,255,255,.9);
  max-width: 52ch;
  margin: 0 auto;
}

/* Article (wordmark seul dans un span) — barre compacte, même photo */
:root body > header:has(> div > span) {
  padding: 1.4rem 1.5rem;
  text-align: center;
}
:root body > header:has(> div > span) a,
:root body > header:has(> div > span) a:visited {
  font-family: var(--fh), Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.4rem;
  color: #FFFFFF;
  text-decoration: none;
  letter-spacing: .01em;
  text-shadow: 0 1px 8px rgba(40,26,60,.42);
}

/* ── ACCUEIL : conteneur large + grille magazine 6 colonnes ────────────────── */
:root main:not(:has(> article)) {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}
:root main:not(:has(> article)) > div:first-of-type {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2.2rem 1.9rem;
  align-items: stretch;
}

/* Carte générique (toutes) — surface papier chaud, cadre doux, ombre légère */
:root main:not(:has(> article)) > div:first-of-type > div {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid #E7DDCF;
  border-radius: 9px;
  padding: 26px 30px;
  margin: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
:root main:not(:has(> article)) > div:first-of-type > div:hover {
  box-shadow: 0 9px 24px rgba(123,95,160,.14);
  border-color: rgba(196,129,58,.42);
  transform: translateY(-2px);
}

/* Date (1er <p>) — note temporelle discrète, capitales espacées */
:root main:not(:has(> article)) > div:first-of-type > div > p:first-of-type {
  font-family: var(--fb), sans-serif;
  font-size: .72rem;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--muted);
  margin: 0 0 .55rem;
}
/* Titre */
:root main:not(:has(> article)) > div:first-of-type > div > h2 {
  font-family: var(--fh), Georgia, serif;
  font-weight: 600;
  font-size: 1.28rem;
  line-height: 1.28;
  color: var(--primary-dark);
  margin: 0 0 .5rem;
}
:root main:not(:has(> article)) > div:first-of-type > div > h2 a,
:root main:not(:has(> article)) > div:first-of-type > div > h2 a:visited {
  color: var(--primary-dark);
  text-decoration: none;
}
:root main:not(:has(> article)) > div:first-of-type > div > h2 a:hover { color: var(--accent); }
/* Extrait — 3 lignes clampées pour hauteurs régulières (règle D) */
:root main:not(:has(> article)) > div:first-of-type > div > p:nth-of-type(2) {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg);
  margin: 0 0 1.2rem;
  max-width: 62ch;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* CTA — repensé en lien de lecture sobre (fin le bouton violet répété) */
:root main:not(:has(> article)) > div:first-of-type > div > a {
  margin-top: auto;
  align-self: flex-start;
  background: transparent;
  padding: 0;
  border-radius: 0;
  color: var(--accent);
  font-family: var(--fb), sans-serif;
  font-weight: 700;
  font-size: 0;               /* masque « Read Article » (texte figé du gabarit) */
  letter-spacing: 0;
  text-decoration: none;
}
:root main:not(:has(> article)) > div:first-of-type > div > a::after {
  content: "Lire \002192";
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: color .15s ease, border-color .15s ease;
}
:root main:not(:has(> article)) > div:first-of-type > div > a:hover::after {
  color: var(--primary);
  border-color: var(--primary);
}

/* ── HERO : la carte 1, voix forte pleine largeur ──────────────────────────── */
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) {
  grid-column: 1 / -1;
  align-items: center;
  text-align: center;
  padding: 44px 44px 40px;
  background:
    radial-gradient(120% 140% at 50% 0%, #FCF9F2 0%, var(--card-bg) 60%);
  border-color: #E4D8C6;
}
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1)::before {
  content: "Dernier carnet";
  font-family: var(--fb), sans-serif;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--accent);
  border: 1px solid rgba(196,129,58,.5);
  border-radius: 40px;
  padding: .35rem 1rem;
  margin-bottom: 1.1rem;
}
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > p:first-of-type {
  margin-bottom: .7rem;
}
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > h2 {
  font-style: italic;
  font-weight: 600;
  font-size: 2.5rem;
  line-height: 1.1;
  max-width: 20ch;
  margin: 0 auto .8rem;
}
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > p:nth-of-type(2) {
  -webkit-line-clamp: 4;
  font-family: var(--fh), Georgia, serif;
  font-size: 1.18rem;
  line-height: 1.55;
  color: #4A4034;
  max-width: 58ch;
  margin: 0 auto 1.5rem;
  text-align: left;
}
/* Lettrine hero — emploi 1/2 de la couleur-moment */
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > p:nth-of-type(2)::first-letter {
  font-family: var(--fh), Georgia, serif;
  font-weight: 700;
  font-size: 3.1rem;
  line-height: .8;
  float: left;
  margin: .08em .12em 0 0;
  color: var(--moment);
}
/* CTA hero — pilule contournée, seul bouton « fort » de la page */
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > a {
  align-self: center;
  border: 1.5px solid var(--primary);
  border-radius: 40px;
  padding: .6rem 1.5rem;
  color: var(--primary);
}
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > a::after {
  content: "Lire le carnet \002192";
  border-bottom: none;
  padding-bottom: 0;
  color: var(--primary);
}
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > a:hover {
  background: var(--primary);
}
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > a:hover::after {
  color: #FFFFFF;
  border-color: transparent;
}
/* Libellé de section « à lire en premier » — plein rang sous le hero (règle B) */
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1)::after {
  content: "À lire en premier — mes trois à ne pas rater";
  display: block;
  width: 100%;
  margin: 2.4rem 0 -.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  font-family: var(--fb), sans-serif;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--muted);
}

/* ── EDITOR'S PICKS : cartes 2-4, bande de 3 avec numéros romains ──────────── */
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+2):nth-child(-n+4) {
  grid-column: span 2;
  position: relative;
  min-height: 232px;
  border-top: 3px solid var(--primary);
}
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(2)::before { content: "I"; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(3)::before { content: "II"; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(4)::before { content: "III"; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+2):nth-child(-n+4)::before {
  position: absolute;
  top: 16px; right: 22px;
  font-family: var(--fh), Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(123,95,160,.4);
}

/* ── OUVERTURE DU JOURNAL : carte 5 pleine largeur + bande « strip 1 » ──────── */
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(5) {
  grid-column: 1 / -1;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  align-items: center;
  text-align: center;
  margin-top: 1.4rem;
}
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(5):hover {
  box-shadow: none;
  transform: none;
}
/* Strip 1 — bande dégradée lavande (chapter-cover.jpg 404), libellé imposé */
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(5)::before {
  content: "PAR ORDRE D'ÉCRITURE";
  display: grid;
  place-items: center;
  width: 100%;
  height: 200px;
  margin-bottom: 2.2rem;
  border-radius: 10px;
  background: linear-gradient(152deg, #5E4580 0%, #7B5FA0 58%, #574178 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  color: #FFFFFF;
  font-family: var(--fb), sans-serif;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .32em;
  text-shadow: 0 1px 6px rgba(30,20,44,.5);
}
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(5) > h2 {
  font-style: italic;
  font-size: 1.65rem;
  max-width: 22ch;
  margin: 0 auto .6rem;
}
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(5) > p:nth-of-type(2) {
  max-width: 60ch;
  margin: 0 auto 1.1rem;
  font-size: 1.04rem;
}
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(5) > a { align-self: center; }

/* ── JOURNAL : cartes 6-15, grille 2 colonnes régulière ────────────────────── */
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+6) {
  grid-column: span 3;
  min-height: 210px;
}

/* ── STRIP 2 + INDEX COMPACT : le 2e <div> de main, pleine largeur (règle G) ── */
:root main:not(:has(> article)) > div:last-of-type {
  margin-top: 3.6rem;
  display: block;
  columns: 2;
  column-gap: 3rem;
}
:root main:not(:has(> article)) > div:last-of-type::before {
  content: "ARTICLES PRÉCÉDENTS";
  column-span: all;
  display: grid;
  place-items: center;
  height: 210px;
  margin-bottom: 1.8rem;
  border-radius: 10px;
  background: linear-gradient(305deg, #7B5FA0 0%, #5E4580 62%, #4E386A 100%);
  border-bottom: 3px solid var(--accent);
  color: #FFFFFF;
  font-family: var(--fb), sans-serif;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .32em;
  text-shadow: 0 1px 6px rgba(30,20,44,.5);
}
:root main:not(:has(> article)) > div:last-of-type > a,
:root main:not(:has(> article)) > div:last-of-type > a:visited {
  display: block;
  break-inside: avoid;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: .6rem 0;
  border-bottom: 1px dotted rgba(45,40,32,.22);
  color: var(--primary-dark);
  font-family: var(--fh), Georgia, serif;
  font-size: 1rem;
  line-height: 1.4;
  text-decoration: none;
}
:root main:not(:has(> article)) > div:last-of-type > a:hover {
  color: var(--accent);
  box-shadow: none;
}

/* ── PAGE ARTICLE : titre ample, lettrine, dinkus, liens de recommandation ──── */
:root main:has(> article) > h1 {
  font-size: 2.6rem;
  line-height: 1.14;
  letter-spacing: -.01em;
  margin-bottom: .35rem;
}
/* Lettrine 1er paragraphe — emploi 2/2 de la couleur-moment */
:root main:has(> article) article > p:first-of-type::first-letter {
  font-family: var(--fh), Georgia, serif;
  font-weight: 700;
  font-size: 3.2rem;
  line-height: .82;
  float: left;
  margin: .06em .1em 0 0;
  color: var(--moment);
}
/* H2 d'article — dinkus centré en guise de séparateur, sans filet lourd */
:root main:has(> article) article > h2 {
  border-bottom: none;
  padding-bottom: 0;
  text-align: left;
}
:root main:has(> article) article > h2::before {
  content: "\002733\002733\002733";
  display: block;
  text-align: center;
  letter-spacing: .5em;
  font-size: .72rem;
  color: rgba(196,129,58,.7);
  margin: .2em 0 1em;
}
/* Liens de recommandation /suggest/ — liens chaleureux affirmés, jamais en pilule
   (inline en pleine phrase) ; chemin complet pour battre les règles de lien du corps */
:root main:has(> article) article a[href^="/suggest/"],
:root main:has(> article) article a[href^="/suggest/"]:visited {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(196,129,58,.55);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
:root main:has(> article) article a[href^="/suggest/"]:hover {
  color: var(--primary-dark);
  text-decoration-color: var(--primary-dark);
}
/* Articles connexes — index sobre, plus aucun encadré blanc (règle A) */
:root main:has(> article) > div > div > a,
:root main:has(> article) > div > div > a:visited {
  display: block;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: .6rem 0;
  border-bottom: 1px dotted rgba(45,40,32,.22);
  color: var(--primary-dark);
  font-family: var(--fh), Georgia, serif;
  font-size: 1rem;
  text-decoration: none;
}
:root main:has(> article) > div > div > a:hover {
  color: var(--accent);
  box-shadow: none;
}

/* ── RESPONSIVE : effondrement en une colonne (reset des spans, cf. gotcha #4) ─ */
@media (max-width: 820px) {
  :root main:not(:has(> article)) { padding: 2rem 1.1rem 3rem; }
  :root main:not(:has(> article)) > div:first-of-type { grid-template-columns: 1fr; gap: 1.6rem; }
  :root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+2):nth-child(-n+4) {
    grid-column: 1 / -1;
    min-height: 0;
  }
  :root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+6) {
    grid-column: 1 / -1;
    min-height: 0;
  }
  :root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > h2 { font-size: 2rem; }
  :root main:not(:has(> article)) > div:last-of-type { columns: 1; }
  :root body > header:has(> div > h1) h1 { font-size: 2.2rem; }
  :root main:has(> article) > h1 { font-size: 2rem; }
}


/* related-articles-nav-fix v1 */
:root main > nav p,
:root main > section p {
  line-height: 1.85;
  margin: 0;
}
:root main > nav a,
:root main > section a {
  display: inline-block;
  margin: 0 4px;
  padding: 0 2px;
}


/* mobile-overflow-fix v1 */
:root html, :root body { overflow-x: hidden; max-width: 100%; }
@media (max-width: 920px) {
  :root main > * { max-width: 100%; }
  :root main { overflow-x: hidden; }
}


/* mobile-overflow-fix v2 */
@media (max-width: 640px) {
  :root main,
  :root main > article,
  :root main > div,
  :root main > section,
  :root main > nav {
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
  }
  :root main > article > *,
  :root main > div > *,
  :root main > section > *,
  :root main > nav > * {
    max-width: 100%;
  }
  :root main h1,
  :root main h2,
  :root main h3,
  :root main h4 {
    overflow-wrap: break-word;
    word-break: normal;
  }
  /* Any 3+ col grid inside main → 1 col on mobile */
  :root main :is(ul, ol, section, div, nav)[style*="grid-template-columns"],
  :root main > section > ul,
  :root main > nav > ul,
  :root main > div > ul {
    grid-template-columns: 1fr !important;
  }
  /* Any CSS multi-column layout → 1 col on mobile */
  :root main :is(ul, ol, section, div, p) {
    columns: 1;
  }
  /* Article body images stay inside viewport */
  :root main img,
  :root main figure {
    max-width: 100%;
    height: auto;
  }
}


/* mobile-padding-fix v1 */
@media (max-width: 640px) {
  :root main {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* refix iter1: M2/M6/M7/S6 surgical overrides */
:root main:not(:has(> article)) > div:first-of-type {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2.2rem 1.9rem;
  align-items: stretch;
  columns: initial;
  column-gap: normal;
  margin-top: 0;
}

:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) {
  order: 1;
}

:root main:not(:has(> article)) > div:first-of-type::before {
  content: "À LIRE EN PREMIER — MES TROIS À NE PAS RATER";
  order: 2;
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  height: auto;
  margin: .2rem 0 -.7rem;
  padding: 0 0 .8rem;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--muted);
  font-family: var(--fb), sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.45;
  text-shadow: none;
  text-transform: uppercase;
}

:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1)::after {
  content: none;
  display: none;
}

:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+2):nth-child(-n+4) {
  order: 3;
}

:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+5) {
  order: 4;
}

:root main:not(:has(> article)) > div:first-of-type > div:nth-child(5)::before,
:root main:not(:has(> article)) > div:last-of-type:not(:first-of-type)::before {
  background-image:
    linear-gradient(152deg, rgba(45, 34, 61, .58) 0%, rgba(94, 69, 128, .46) 52%, rgba(45, 34, 61, .64) 100%),
    url("/theme-assets/hero-masthead.jpg");
  background-size: cover;
  background-position: center 45%;
  box-shadow: inset 0 0 0 1px rgba(250, 246, 238, .16), 0 10px 28px rgba(45, 34, 61, .12);
}

:root main:not(:has(> article)) > div:last-of-type:not(:first-of-type) {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 16px;
  width: 100%;
  margin-top: 3.6rem;
  columns: initial;
  column-gap: normal;
  align-items: stretch;
}

:root main:not(:has(> article)) > div:last-of-type:not(:first-of-type)::before {
  grid-column: 1 / -1;
  column-span: none;
}

:root main:not(:has(> article)) > div:last-of-type:not(:first-of-type) > hr {
  display: none;
}

:root main:not(:has(> article)) > div:last-of-type:not(:first-of-type) > a,
:root main:not(:has(> article)) > div:last-of-type:not(:first-of-type) > a:visited {
  display: flex;
  align-items: flex-start;
  min-height: 100%;
  padding: 20px 22px;
  break-inside: avoid;
  background: var(--card-bg);
  border: 1px solid #E7DDCF;
  border-radius: 9px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  color: var(--primary-dark);
  font-family: var(--fh), Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.38;
  text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease, color .15s ease;
}

:root main:not(:has(> article)) > div:last-of-type:not(:first-of-type) > a:hover {
  color: var(--accent);
  border-color: rgba(196,129,58,.42);
  box-shadow: 0 9px 24px rgba(123,95,160,.14);
  transform: translateY(-2px);
}

:root main:has(> article) > time::after {
  content: " · Margaux Rey, Annecy · 6 min de lecture";
  font-style: normal;
}

@media (max-width: 640px) {
  :root main:not(:has(> article)) > div:first-of-type {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  :root main:not(:has(> article)) > div:first-of-type::before {
    margin: 0 0 -.4rem;
    font-size: .72rem;
    letter-spacing: .15em;
  }

  :root main:not(:has(> article)) > div:last-of-type:not(:first-of-type) {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  :root main:not(:has(> article)) > div:last-of-type:not(:first-of-type) > a,
  :root main:not(:has(> article)) > div:last-of-type:not(:first-of-type) > a:visited {
    padding: 18px 20px;
  }
}


/* premium-upgrade v1 */
/* premium editorial upgrade — style=The-Sill-botanical overlay=25% grid=equal scale=dramatic family=astro-grid */

/* ── HERO STRIPS: site-level atmospheric photos (overlay 25%) ── */
:root main:not(:has(> h1)) > div:has(> div)::before {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.25) 100%),
    url("/theme-assets/premium-hero-strip-1.webp") center 40% / cover no-repeat;
  min-height: 340px; padding-bottom: 26px; align-items: flex-end;
  text-shadow: 0 1px 12px rgba(0,0,0,0.55); color: #fff;
}
:root main:not(:has(> h1)) > div:has(> div)::after {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.25) 100%),
    url("/theme-assets/premium-hero-strip-2.webp") center 45% / cover no-repeat;
  min-height: 340px; padding-bottom: 26px; align-items: flex-end;
  text-shadow: 0 1px 12px rgba(0,0,0,0.55); color: #fff;
}


/* ── CARD 1: featured full-row with 300px photo header (via card-own background, NOT ::before —
    leaves ::before free for existing site's M2 label / meta content). ── */
:root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(1) {
  grid-column: 1 / -1;
  position: relative;      /* anchor for existing site's ::before label if it uses absolute */
  overflow: visible;       /* let above-card labels render without clipping */
  padding: 320px 44px 40px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-card-1.webp") no-repeat center top / 100% 300px,
    var(--bg) !important;
  margin-top: 60px !important;  /* room for above-card M2 label (existing site convention) */
}

/* ── CARDS 2-4: medium with 180px photo header (background technique, ::before untouched) ── */
:root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(2) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-card-2.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}
:root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(3) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-card-3.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}
:root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(4) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-card-4.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}

/* ── Article page: drop cap + dinkus dividers ── */
:root main:has(> h1) > article > p:first-of-type::first-letter {
  font-family: var(--fh), Georgia, serif;
  font-size: 76px; line-height: 0.9; color: var(--primary);
  float: left; margin: 6px 12px 0 0; padding: 0; font-weight: 400;
}
:root main:has(> h1) > article > h2 + p ~ h2::before {
  content: "✦ ✦ ✦";
  display: block; text-align: center; color: var(--accent);
  font-size: 12px; letter-spacing: 0.3em; margin-bottom: 24px;
  font-weight: 400;
}

/* ── Mobile responsive: adjust photo heights via background-size on the card itself ── */
@media (max-width: 720px) {
  :root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(1) {
    padding: 240px 22px 28px !important;
    background:
      url("/theme-assets/premium-hero-card-1.webp") no-repeat center top / 100% 220px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(2) {
    padding: 180px 22px 26px !important;
    background:
      url("/theme-assets/premium-hero-card-2.webp") no-repeat center top / 100% 160px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(3) {
    padding: 180px 22px 26px !important;
    background:
      url("/theme-assets/premium-hero-card-3.webp") no-repeat center top / 100% 160px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(4) {
    padding: 180px 22px 26px !important;
    background:
      url("/theme-assets/premium-hero-card-4.webp") no-repeat center top / 100% 160px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1)) > div:has(> div)::before,
  :root main:not(:has(> h1)) > div:has(> div)::after { min-height: 240px; }
  :root main:has(> h1) > article > p:first-of-type::first-letter { font-size: 60px; }
}

