/* ==========================================================================
   SITE GAËLLE LAURIER : feuille de style unique (thème nuit)

   Sommaire
    1. Polices et variables         7. Listes, articles, recettes, commentaires
    2. Base et fond de page         8. Barre latérale
    3. Composants (boutons, cadres) 9. Livres et service presse
    4. En-tête et menu             10. Contact et pages fixes
    5. Accueil                     11. Pied de page
    6. Newsletter                  12. Recherche 

   Taille de tous les textes : la variable --t (section 1).
   Largeur du site : la variable --ph-largeur (section 1).
   ========================================================================== */


/* ===== 1. Polices et variables ===== */
@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/alegreya-latin-400-normal.woff2") format("woff2") }
@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/alegreya-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya SC"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/alegreya-sc-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya SC"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/alegreya-sc-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/alegreya-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/alegreya-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/alegreya-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya Sans SC"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/alegreya-sans-sc-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya Sans SC"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/alegreya-sans-sc-latin-700-normal.woff2") format("woff2"); }

:root {
    --font-titre-elegant: "Alegreya SC", Georgia, "Times New Roman", serif;
    --font-texte-elegant: "Alegreya", Georgia, "Times New Roman", serif;
    --font-titre: "Alegreya Sans SC", "Segoe UI", Arial, sans-serif;
    --font-texte: "Alegreya Sans", "Segoe UI", Arial, sans-serif;

    /* Couleurs du thème nuit */
    --ph-night: #060b1f;
    --ph-navy: #101d35;
    --ph-cyan: #55dfff;
    --ph-purple: #c77bff;
    --ph-champagne: #ffd2c8;
    --ph-text: #edf3ff;
    --ph-soft: #eef3f9;
    --ph-muted: #b9c6e0;
    --ph-dim: #d9e3ee;
    --ph-link: #c7ddf4;
    --ph-degrade: linear-gradient(110deg, var(--ph-cyan), var(--ph-purple), var(--ph-champagne), var(--ph-cyan));

    /* Panneaux et traits */
    --panel: rgba(20, 34, 52, .55);
    --panel-line: rgba(235, 244, 253, .6);
    --rule: rgba(231, 240, 250, .4);

    --ph-largeur: 1340px;
    --t: 1.18;
}


/* ===== 2. Base et fond de page ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ph-night); }
body { margin: 0; background: transparent; color: var(--ph-text); font-size: calc(17px * var(--t)); line-height: 1.45; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font-family: var(--font-texte); }
h1, h2, h3, h4 { font-family: var(--font-titre-elegant); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ph-cyan); outline-offset: 3px; }
.site-shell { max-width: var(--ph-largeur); min-height: 100vh; margin: 0 auto; overflow-x: clip; box-shadow: 0 0 50px rgba(0, 0, 0, .45); }

hr {
    width: 90%;
    height: 2px;
    margin: 40px auto;
    border: 0;
    background: var(--ph-degrade);
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 10%,
        black 90%,
        transparent
    );
    mask-image: linear-gradient(
        to right,
        transparent,
        black 10%,
        black 90%,
        transparent
    );
}

/* Brume bleutée qui dérive lentement, puis quelques étoiles immobiles */
body::before {
    content: ""; position: fixed; inset: -20%; z-index: -1; pointer-events: none; will-change: transform;
    background:
        radial-gradient(ellipse 45% 35% at 20% 25%, rgba(85, 223, 255, .14), transparent 70%),
        radial-gradient(ellipse 40% 40% at 80% 35%, rgba(199, 123, 255, .16), transparent 70%),
        radial-gradient(ellipse 50% 35% at 50% 80%, rgba(60, 90, 190, .24), transparent 70%),
        radial-gradient(ellipse 35% 30% at 10% 72%, rgba(110, 80, 200, .15), transparent 70%),
        linear-gradient(180deg, #060b1f 0%, #0b1534 45%, #070d24 100%);
    animation: ph-brume 70s ease-in-out infinite alternate;
}
body::after {
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .6;
    background:
        radial-gradient(circle at 6% 14%, #fff 0 1px, transparent 2px), radial-gradient(circle at 17% 62%, #cfe9ff 0 1px, transparent 2px),
        radial-gradient(circle at 29% 33%, #fff 0 1px, transparent 2px), radial-gradient(circle at 38% 81%, #e6dcff 0 1px, transparent 2px),
        radial-gradient(circle at 47% 9%, #fff 0 1px, transparent 2px), radial-gradient(circle at 56% 47%, #cfe9ff 0 1px, transparent 2px),
        radial-gradient(circle at 64% 90%, #fff 0 1px, transparent 2px), radial-gradient(circle at 73% 24%, #e6dcff 0 1px, transparent 2px),
        radial-gradient(circle at 82% 68%, #fff 0 1px, transparent 2px), radial-gradient(circle at 91% 38%, #cfe9ff 0 1px, transparent 2px),
        radial-gradient(circle at 96% 86%, #fff 0 1px, transparent 2px), radial-gradient(circle at 11% 91%, #fff 0 1px, transparent 2px);
}
@keyframes ph-brume {
    from { transform: translate3d(-2%, -1%, 0) scale(1); }
    to { transform: translate3d(2%, 1.5%, 0) scale(1.06); }
}


/* ===== 3. Composants ===== */

/* Bouton néon : pastille au contour dégradé */
.ph-button {
    display: inline-flex; align-items: center; gap: .5em; padding: .45em 1.1em;
    border: 1px solid transparent; border-radius: 999px; color: #fff; font-size: calc(16px * var(--t)); line-height: 1.2;
    background: linear-gradient(#0f2038, #0b1a30) padding-box, var(--ph-degrade) border-box;
    box-shadow: 0 0 8px rgba(85, 223, 255, .4), 0 0 18px rgba(199, 123, 255, .3);
    transition: box-shadow .3s ease, transform .3s ease;
}
.ph-button:hover { transform: translateY(-1px); box-shadow: 0 0 12px rgba(85, 223, 255, .65), 0 0 28px rgba(199, 123, 255, .5); }
.ph-button i, .ph-pill i { margin-right: .35em; }

/* Petite pastille (réseaux sociaux) */
.ph-pill:hover { color: #fff; text-shadow: 0 0 10px var(--ph-cyan), 0 1px 3px rgba(0, 0, 0, .8); }
.ph-pill i { filter: drop-shadow(0 0 5px rgba(85, 223, 255, .55)); }
.ph-pill-social {
    padding: .3em .9em; border: 1px solid rgba(85, 223, 255, .6); border-radius: 999px; color: var(--ph-text);
    font-size: 18px; line-height: 1.2; background: rgba(6, 12, 30, .55); transition: box-shadow .3s ease, border-color .3s ease;
}
.ph-pill-social:hover { color: #fff; text-shadow: 0 0 10px var(--ph-cyan), 0 1px 3px rgba(0, 0, 0, .8); }
.ph-pill-social i { filter: drop-shadow(0 0 5px rgba(85, 223, 255, .55)); }

/* Bouton à contour fin */
.outline-button {
    min-height: 34px; padding: 5px 20px; display: inline-flex; align-items: center; gap: 7px;
    border: 1px solid rgba(248, 250, 254, .9); border-radius: 22px; color: #f7f9fc;
    font-family: var(--font-titre); font-size: calc(16px * var(--t)); line-height: 1.15; transition: background .2s ease, transform .2s ease;
}
.outline-button:hover { background: rgba(255, 255, 255, .13); transform: translateY(-1px); }
.outline-button span { font-family: var(--font-titre); font-size: 17px; }
button.outline-button { background: transparent; cursor: pointer; }

/* Étiquettes (catégories, mots clés) */
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }

.tag {
    display: inline-block;
    padding: 2px 12px;
    border: 1px solid;
    border-radius: 20px;
    font-family: var(--font-texte);
    font-size: calc(14px * var(--t));
    color: var(--ph-champagne);
}

.tag-c0 { border-color: #55DFFF; }
.tag-c1 { border-color: #C77BFF; }
.tag-c2 { border-color: #FFD2C8; }

a.tag:hover { background: rgba(255, 255, 255, .13); }
.pill-label { padding: 5px 17px; display: inline-block; border: 1px solid rgba(242, 247, 253, .9); border-radius: 20px; font-family: var(--font-titre); font-size: 15px; line-height: 1.2; }

/* Cadres néon (variante champagne) */
.ph-neon { position: relative; isolation: isolate; border-radius: 14px; background: linear-gradient(125deg, rgba(19, 39, 65, .96), rgba(8, 20, 39, .96)); transition: box-shadow .4s ease; }
.ph-neon-gold {
    border: 1px solid #ffe0cf;
    box-shadow: 0 0 4px #fff, 0 0 10px var(--ph-champagne), 0 0 25px rgba(255, 185, 155, .5), inset 0 0 16px rgba(255, 210, 200, .18);
}
.ph-neon-gold:hover { box-shadow: 0 0 5px #fff, 0 0 15px var(--ph-champagne), 0 0 34px rgba(255, 185, 155, .7), inset 0 0 20px rgba(255, 210, 200, .25); }

/* Cadres néon (variante cyan) */
.ph-neon-cyan {
    border: 1px solid #78eaff;
    box-shadow: 0 0 4px #fff, 0 0 9px var(--ph-cyan), 0 0 24px rgba(85, 223, 255, .55), inset 0 0 17px rgba(85, 223, 255, .18);
}
.ph-neon-cyan:hover { box-shadow: 0 0 5px #fff, 0 0 14px var(--ph-cyan), 0 0 32px rgba(85, 223, 255, .75), inset 0 0 20px rgba(85, 223, 255, .25); }

/* Cadres néon (variante purple) */
.ph-neon-purple {
    border: 1px solid #d6a0ff;
    box-shadow: 0 0 4px #fff, 0 0 10px var(--ph-purple), 0 0 26px rgba(199, 123, 255, .55), inset 0 0 16px rgba(199, 123, 255, .18);
}
.ph-neon-purple:hover { box-shadow: 0 0 5px #fff, 0 0 15px var(--ph-purple), 0 0 34px rgba(199, 123, 255, .75), inset 0 0 20px rgba(199, 123, 255, .25); }


/* Cadres néon (variante degrade) */
.ph-neon-degrade {
    border: 1px solid transparent;
    background: linear-gradient(125deg, rgba(19, 39, 65, .96), rgba(8, 20, 39, .96)) padding-box, var(--ph-degrade) border-box;
    box-shadow: 0 0 8px rgba(85, 223, 255, .4), 0 0 18px rgba(199, 123, 255, .4), 0 0 28px rgba(255, 210, 200, .2), inset 0 0 18px rgba(154, 156, 255, .12);
}
.ph-neon-degrade:hover { box-shadow: 0 0 5px #fff, 0 0 15px rgba(85, 223, 255, .5), 0 0 34px rgba(199, 123, 255, .6), inset 0 0 20px rgba(154, 156, 255, .2); }


/* Titre de page encadré de deux traits */
.divider-title { display: flex; align-items: center; gap: 15px; margin: 0 0 10px; }
.divider-title > span { flex: 1; height: 1px; background: rgba(231, 240, 250, .56); }
.divider-title h2 { margin: 0; font-family: var(--font-titre-elegant); font-size: 22px; font-weight: 400; white-space: nowrap; }
.divider-wrap h1 { white-space: normal; text-align: center; }
.empty-note { text-align: center; color: var(--ph-dim); }
.empty-note-left { font-family: var(--font-texte); color: var(--ph-dim); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 500px) {
    .outline-button { min-height: 29px; padding: 4px 11px; }
    .divider-title { gap: 8px; }
    .divider-title h2 { font-size: 16px; }
}
@media (max-width: 760px) { .pill-label { padding: 4px 13px; font-size: 12px; } }


/* ===== 4. En-tête et menu ===== */
.ph-header { position: relative; container-type: inline-size; }
.ph-header-art { display: block; width: 100%; height: auto; }

/* Barre admin, dans la bande sombre en haut du bandeau */
.ph-topbar {
    position: absolute; z-index: 2; top: 0; left: 10.5cqw; right: 2cqw; height: 3.5cqw;
    display: flex; align-items: center; justify-content: space-between; gap: 2cqw;
    font-family: var(--font-texte); font-size: clamp(10px, 1.3cqw, 15px); color: var(--ph-muted); text-shadow: 0 0 6px rgba(6, 11, 31, .9);
}
.admin-updates { display: flex; align-items: center; height: 100%; }
.admin-updates > span { display: flex; align-items: center; gap: 8px; padding: 0 1.4cqw; border-right: 1px solid rgba(85, 223, 255, .25); white-space: nowrap; }
.admin-updates > span:first-child { padding-left: 0; }
.admin-updates > span:last-child { border: 0; }
.admin-updates b { color: var(--ph-cyan); font-weight: 400; }
.admin-updates a:hover { text-decoration: underline; }
.admin-tools { display: flex; align-items: center; gap: 18px; }
.admin-tools > a:first-child { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.ph-topbar a:hover { color: #fff; }

/* Titre, slogan et boutons posés sur le bandeau */
.ph-header-text { position: absolute; left: 14.5%; top: 0; bottom: 0; width: 31%; padding-top: 1.5cqw; display: flex; flex-direction: column; justify-content: center; gap: 1cqw; }
.ph-site-title {
    font-family: var(--font-titre-elegant); font-size: 3.5cqw; line-height: 1.08; color: #fff;
    text-shadow: 0 0 .5cqw rgba(255, 255, 255, .65), 0 0 1.6cqw rgba(85, 223, 255, .8), 0 0 3cqw rgba(85, 223, 255, .4);
}
.ph-site-slogan { margin: 0; font-family: var(--font-texte-elegant); font-size: 1.8cqw; font-style: italic; color: var(--ph-muted); text-shadow: 0 0 .6cqw rgba(6, 11, 31, .9); }
.ph-header-actions { margin-top: .6cqw; display: flex; flex-wrap: wrap; align-items: center; gap: .8cqw 1cqw; }
.ph-header .ph-button { font-family: var(--font-titre); font-size: clamp(12px, 1.45cqw, 17px); }
.ph-header .ph-pill { font-family: var(--font-texte); font-size: clamp(10px, 1.1cqw, 13px); }
.ph-social { display: flex; flex-wrap: wrap; gap: .6cqw; }

/* Menu principal, directement sur le bas du bandeau */
.ph-nav { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 4.6cqw; padding: 0 4%; display: flex; align-items: center; justify-content: center; gap: 0 clamp(7px, 1.1cqw, 16px); }
.ph-nav a { position: relative; padding: 6px 4px; font-family: var(--font-titre-elegant); font-size: clamp(13px, 1.5cqw, 19px); color: var(--ph-text); white-space: nowrap; text-shadow: 0 0 6px rgba(5, 10, 28, .95), 0 1px 3px rgba(0, 0, 0, .8); transition: color .25s ease, text-shadow .25s ease; }
.ph-nav a:hover, .ph-nav a.is-active { color: #fff; text-shadow: 0 0 10px var(--ph-cyan), 0 1px 3px rgba(0, 0, 0, .8); }
.ph-nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--ph-cyan), var(--ph-purple)); box-shadow: 0 0 8px var(--ph-cyan); }
.ph-nav a i { margin-right: .25em; filter: drop-shadow(0 0 5px rgba(85, 223, 255, .55)); }
.ph-nav .sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(85, 223, 255, .7); box-shadow: 0 0 6px var(--ph-cyan); }

@media (max-width: 760px) {
    .admin-updates > span { padding-inline: 9px; gap: 5px; }
    .admin-updates > span:last-child { display: none; }
    .admin-tools { gap: 8px; }
}
@media (max-width: 640px) {
    .ph-header-art { height: 150px; object-fit: cover; object-position: 78% 50%; }
    .ph-topbar { position: static; height: auto; min-height: 38px; padding: 6px 4%; flex-wrap: wrap; font-size: 12px; background: #040815; border-bottom: 1px solid rgba(85, 223, 255, .25); }
    .admin-updates { height: auto; flex-wrap: wrap; }
    .admin-updates > span { padding: 0 12px; }
    .ph-header-text { position: static; width: auto; padding: 14px 5% 16px; align-items: center; text-align: center; gap: 8px; background: linear-gradient(180deg, rgba(6, 11, 31, 0), rgba(6, 11, 31, .95)); }
    .ph-site-title { font-size: 28px; }
    .ph-site-slogan { font-size: 14px; }
    .ph-header-actions { font-family: var(--font-titre); margin-top: 4px; justify-content: center; gap: 8px; }
    .ph-social { justify-content: center; gap: 6px; }
    .ph-header .ph-button, .ph-header .ph-pill { font-size: 14px; }
    /* Sur téléphone, le menu passe sous l'image */
    .ph-nav { position: static; height: auto; padding: 4px 4%; flex-wrap: wrap; gap: 0 10px; background: rgba(5, 10, 26, .97); }
    .ph-nav .sep { display: none; }
    .ph-nav a { padding: 9px 6px; font-size: 14px; }
}
@media (max-width: 500px) { .admin-updates > span:nth-child(2) { display: none; } }


/* ===== 5. Accueil ===== */

/* Livre en vedette */
.feature-stage {
    position: relative; min-height: 300px; margin: 22px 2.5% 0; padding: 10px 2.5% 14px; border-radius: 18px;
    background: radial-gradient(ellipse 45% 80% at 22% 50%, rgba(120, 140, 255, .14), transparent 70%), linear-gradient(125deg, rgba(19, 39, 65, .38), rgba(8, 20, 39, .22));
}
.feature-book-art { width: 42%; height: 283px; position: absolute; left: 2%; top: 3px; display: flex; align-items: center; justify-content: center; }
.feature-book-art img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 9px 16px rgba(10, 20, 34, .3)); }
.feature-copy { width: 54%; min-height: 270px; margin-left: 41%; padding: 10px 0 0; position: relative; z-index: 1; }
.feature-copy h1 { margin: 9px 0 7px; color: #f2f4fa; font-size: clamp(22px, 3.6vw, 26px); font-weight: 400; line-height: 1.18; }
.feature-copy p { margin: 0 0 16px; color: #f0f3f9; font-family: var(--font-texte); font-size: calc(15px * var(--t)); line-height: 1.3; text-align: justify; white-space: pre-line; }

/* Les trois cercles lumineux */
.topic-circles { position: relative; z-index: 1; width: min(900px, 94%); margin: 70px auto; display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 70px; }
.ph-circle-link {
    --circle-color: #55dfff; --circle-glow: rgba(85, 223, 255, .65);
    position: relative; isolation: isolate; width: 210px; height: 210px; flex: 0 0 210px; padding: 20px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    border: 1px solid var(--circle-color); border-radius: 50%; text-align: center; color: #f2f5ff;
    background: radial-gradient(circle, rgba(40, 65, 100, .95), rgba(8, 23, 43, .98));
    box-shadow: 0 0 4px #fff, 0 0 9px var(--circle-color), 0 0 22px var(--circle-glow), inset 0 0 18px rgba(85, 223, 255, .15);
    transition: transform .35s ease, box-shadow .35s ease;
}
.ph-circle-link::before { content: ""; position: absolute; inset: -5px; z-index: -1; border-radius: 50%; background: var(--circle-color); filter: blur(13px); opacity: .3; transition: opacity .35s ease; }
.ph-circle-link:hover { transform: scale(1.06); box-shadow: 0 0 5px #fff, 0 0 14px var(--circle-color), 0 0 32px var(--circle-glow), inset 0 0 24px var(--circle-glow); }
.ph-circle-link:hover::before { opacity: .65; }
.ph-circle-icon { font-size: 44px; line-height: 1; color: var(--circle-color); filter: drop-shadow(0 0 6px var(--circle-glow)); }
.ph-circle-text { font-family: var(--font-titre-elegant); font-size: 33px; line-height: 1.2; color: #f5edff; text-shadow: 0 0 8px rgba(255, 255, 255, .3); }
.ph-circle-description { font-size: calc(13px * var(--t)); line-height: 1.3; color: #c5d4eb; }
.ph-circle-cyan { --circle-color: #75eaff; --circle-glow: rgba(85, 223, 255, .7); }
.ph-circle-purple { --circle-color: #d6a0ff; --circle-glow: rgba(199, 123, 255, .7); }
.ph-circle-gold { --circle-color: #ffe0cf; --circle-glow: rgba(255, 190, 160, .65); }

/* Thème du moment : cadre néon multicolore */
.season-card {
    position: relative; min-height: 170px; margin: 0 2.5%; display: grid; grid-template-columns: 39% 1fr; overflow: hidden; isolation: isolate;
    border: 1px solid transparent; border-radius: 14px;
    background: linear-gradient(125deg, rgba(19, 39, 65, .96), rgba(8, 20, 39, .96)) padding-box, var(--ph-degrade) border-box;
    box-shadow: 0 0 8px rgba(85, 223, 255, .4), 0 0 18px rgba(199, 123, 255, .4), 0 0 28px rgba(255, 210, 200, .2), inset 0 0 18px rgba(154, 156, 255, .12);
}
.season-image { min-height: 168px; overflow: hidden; }
.season-image img { width: 100%; height: 100%; min-height: 168px; object-fit: cover; object-position: left center; }
.season-copy { padding: 19px 14px 14px; position: relative; z-index: 1; }
.season-copy > p { font-family: var(--font-texte); margin: 0 0 1px; color: #f3f5f8; font-size: 16px; }
.season-copy h2 { font-family: var(--font-titre-elegant); margin: 0 0 3px; font-size: 27px; font-weight: 400; line-height: 1.2; border-bottom: 1px solid #FFF; margin-bottom: 10px; padding-bottom: 10px;}
.season-copy > span { display: block; font-family: var(--font-texte); font-size: 18px; line-height: 1.3; }
.season-copy .outline-button { position: absolute; right: 11%; bottom: 15px; min-width: 126px; justify-content: center; }

/* Décorations de saison ou de fête, réglées dans l'admin */
.snowflakes { position: absolute; top: 12px; right: 2%; width: 17%; height: 90%; color: var(--deco-color, rgba(219, 234, 250, .55)); pointer-events: none; }
.snowflakes span { position: absolute; line-height: 1; text-shadow: 0 0 10px var(--deco-color, rgba(219, 234, 250, .35)); animation: ph-flotte 8s ease-in-out infinite alternate; }
.snowflakes span:nth-child(1) { right: 18%; top: 6%; font-size: 33px; }
.snowflakes span:nth-child(2) { right: 49%; top: 47%; font-size: 45px; animation-duration: 10s; animation-delay: -3s; }
.snowflakes span:nth-child(3) { right: 4%; bottom: 5%; font-size: 54px; animation-duration: 9s; animation-delay: -5s; }
.snowflakes span:nth-child(4) { right: 63%; bottom: 1%; font-size: 27px; animation-duration: 11s; animation-delay: -2s; }
.snowflakes svg { display: block; width: 1em; height: 1em; filter: drop-shadow(0 0 6px var(--deco-color, rgba(219, 234, 250, .4))); }
@keyframes ph-flotte {
    from { transform: translateY(-5px) rotate(-6deg); }
    to { transform: translateY(6px) rotate(8deg); }
}

/* Témoignages de lecteurs */
.comments-section { padding: 60px 4%; }
.comment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.comment-card { min-height: 190px; padding: 24px 22px; display: flex; align-items: flex-start; gap: 16px; color: var(--ph-text); }
.comment-avatar {
    width: 52px; height: 52px; flex: 0 0 52px; display: flex; align-items: center; justify-content: center;
    border: 1px solid #ffe0cf; border-radius: 50%; background: rgba(255, 210, 200, .18); color: #ffe0cf;
    font-size: 22px; line-height: 1; box-shadow: 0 0 10px rgba(255, 190, 160, .4);
}
.comment-card h3 { margin: 0 0 6px; color: #fff; font-family: var(--font-titre-elegant);font-size: calc(16px * var(--t)); font-weight: 400; line-height: 1.2; }
.comment-card h3 small { display: block; color: var(--ph-muted); font-family: var(--font-titre); font-size: calc(14px * var(--t)); font-weight: 400; }
.comment-card p { margin: 6px 0 0; color: var(--ph-text); font-size: calc(14px * var(--t)); font-style: italic; line-height: 1.5; overflow-wrap: anywhere; }
.comment-card a { display: inline-block; margin-top: 8px; color: var(--ph-champagne); font-family: var(--font-titre); font-size: calc(14px * var(--t)); }

/* Derniers articles et dernières recettes */
.latest-grid { padding: 0 4.3% 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; position: relative; }
.latest-grid::after { content: ""; width: 1px; position: absolute; top: 2px; bottom: 20px; left: 50%; background: rgba(231, 240, 250, .6); }
.latest-column { min-width: 0; }
.latest-heading { min-height: 43px; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(231, 240, 250, .48); }
.heading-icon { width: 33px; flex: 0 0 33px; color: #e7eef8; font-size: 28px; line-height: 1; text-align: center; }
.chef-icon { font-family: Arial, sans-serif; font-size: 31px; }
.latest-heading h2 { margin: 0; color: #f5f7fb; font-family: var(--font-titre-elegant); font-size: 18px; font-weight: 400; white-space: nowrap; }
.latest-heading > a { margin-left: auto; color: #edf3fa; font-family: var(--font-texte); font-size: calc(13px * var(--t)); white-space: nowrap; }
.latest-heading > a:hover { color: var(--ph-cyan); }
.latest-heading > a span { margin-left: 4px; font-family: Arial, sans-serif; font-size: 15px; }
.latest-item { min-height: 66px; padding: 5px 0; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid rgba(231, 240, 250, .19); }
.latest-item:last-child { border-bottom: 0; }
.latest-item .thumb { position: relative; display: block; width: 114px; height: 58px; flex: 0 0 114px; overflow: hidden; border: 1px solid rgba(240, 246, 252, .8); border-radius: 5px; background: #506981; }
.latest-item .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.latest-item .thumb:hover img { transform: scale(1.06); }
.latest-item h3 { margin: 0 0 3px; color: #f5f7fb; font-family: var(--font-titre); font-size: calc(16px * var(--t)); font-weight: 400; line-height: 1.3; }
.latest-item h3 > a:hover { color: var(--ph-cyan); }
.latest-item time { color: var(--ph-dim); font-family: var(--font-texte); font-size: calc(12px * var(--t)); }

.latest-text { min-width: 0; }
.latest-text h3 { margin: 2px 0 4px; }
.latest-meta { margin: 0; color: var(--ph-dim); font-size: 12px; }
.latest-meta i { margin-right: .4em; }
.ph-circle-description:empty { display: none; }

@media (max-width: 900px) and (min-width: 641px) {
    .topic-circles { gap: 4vw; }
    .ph-circle-link { width: 24vw; height: 24vw; flex-basis: 24vw; padding: 12px; gap: 6px; }
    .ph-circle-icon { font-size: 4vw; }
    .ph-circle-text { font-size: 3.1vw; }
}

@media (max-width: 760px) {
    /* Livre en vedette et thème du moment : voir le bloc final du fichier */

    /* Témoignages */
    .comments-section { padding-block: 36px; }

    /* Derniers articles et recettes : une seule colonne */
    .latest-grid { grid-template-columns: 1fr; gap: 26px; padding: 0 5% 20px; }
    .latest-grid::after { display: none; }
    .latest-heading { flex-wrap: wrap; gap: 8px; }
    .latest-heading h2 { font-size: 20px; }
    .heading-icon { width: 30px; flex-basis: 30px; font-size: 24px; }
    .latest-item .thumb { width: 96px; height: 64px; flex-basis: 96px; }
}

@media (max-width: 700px) {
    .comment-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 640px) {
    .topic-circles { width: 96%; gap: 10px; margin: 44px auto; }
    .ph-circle-link { width: 29vw; height: 29vw; flex-basis: 29vw; padding: 6px; gap: 3px; }
    .ph-circle-icon { font-size: 6vw; }
    .ph-circle-text { font-size: 4.3vw; }
}

@media (max-width: 560px) {
    .snowflakes { display: none; }
}


/* ===== 6. Newsletter ===== */
.newsletter-band {
    position: relative; isolation: isolate; margin: 56px 2.5%; padding: 10px 5% 10px; text-align: center;
    border: 1px solid transparent; border-radius: 16px;
    background:
        radial-gradient(ellipse 60% 90% at 12% 0%, rgba(85, 223, 255, .12), transparent 70%) padding-box,
        radial-gradient(ellipse 60% 90% at 92% 100%, rgba(199, 123, 255, .14), transparent 70%) padding-box,
        linear-gradient(rgba(10, 20, 44, .8), rgba(8, 16, 36, .8)) padding-box,
        linear-gradient(110deg, rgba(85, 223, 255, .7), rgba(199, 123, 255, .7), rgba(255, 210, 200, .7)) border-box;
    box-shadow: 0 0 22px rgba(85, 223, 255, .12), 0 0 40px rgba(199, 123, 255, .12);
}
.newsletter-band h2 { margin: 0 0 6px; font-size: 24px; font-weight: 400; text-shadow: 0 0 14px rgba(85, 223, 255, .5); }
.newsletter-band h2::before { content: "✦ "; color: var(--ph-champagne); font-size: .7em; }
.newsletter-band h2::after { content: " ✦"; color: var(--ph-champagne); font-size: .7em; }
.newsletter-sous-titre { margin: 4px 0 24px; color: var(--ph-muted); font-size: 14px; }
.newsletter-colonnes { display: grid; grid-template-columns: 1fr 2fr; gap: 36px; align-items: start; text-align: left; }
.newsletter-texte p { margin: 0 0 14px; font-family: var(--font-texte); font-size: calc(14px * var(--t)); line-height: 1.55; color: var(--ph-text); text-align: justify; }
.newsletter-compteur strong { color: var(--ph-champagne); font-size: 1.2em; }
.newsletter-box { text-align: left; }
.newsletter-choice { margin: 0 0 14px; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px 26px; font-family: var(--font-texte); font-size: calc(14px * var(--t)); }
.newsletter-choice label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.newsletter-choice input { accent-color: #7895b5; }
.newsletter-form .form-row { grid-template-columns: 1fr; gap: 0; }
.newsletter-form .outline-button { display: block; margin: 0; }
.newsletter-form .form-note { text-align: left; }
.newsletter-band .form-field input { background: rgba(6, 12, 30, .72); border-color: rgba(85, 223, 255, .4); color: #fff; }
.newsletter-band .form-field input:focus { outline: 0; border-color: var(--ph-cyan); box-shadow: 0 0 10px rgba(85, 223, 255, .5); }
.newsletter-band .outline-button { border: 1px solid transparent; background: linear-gradient(#0f2038, #0b1a30) padding-box, var(--ph-degrade) border-box; box-shadow: 0 0 8px rgba(85, 223, 255, .4), 0 0 18px rgba(199, 123, 255, .3); }
.newsletter-back { margin: 20px 0 0; text-align: center; }
.newsletter-back .outline-button { display: inline-block; }
@media (max-width: 760px) { .newsletter-colonnes { grid-template-columns: 1fr; gap: 20px; } }


/* ===== 7. Listes, articles, recettes, commentaires ===== */
.page-section { padding: 22px 4.3% 34px; }
.page-section .divider-title { margin-bottom: 20px; }
.page-section .divider-title h1 { margin: 0; font-size: 24px; font-weight: 400; white-space: nowrap; }
.page-section .divider-wrap h1 { white-space: normal; }
.back-link { display: inline-block; margin-bottom: 14px; color: var(--ph-link); font-family: var(--font-titre); font-size: calc(14px * var(--t)); }
.back-link:hover, .read-more:hover { color: var(--ph-purple); }
.term-description { max-width: 860px; margin: 0 auto 30px; text-align: center; }
.term-description > :first-child { margin-top: 0; }
.term-description > :last-child { margin-bottom: 0; }

/* Liste de cartes : une carte par ligne */
.article-grid { display: flex; flex-direction: column; gap: 18px; }
.article-card { display: flex; flex-direction: row; overflow: hidden; border: 1px solid var(--panel-line); border-radius: 15px; background: var(--panel); box-shadow: 0 6px 20px rgba(16, 30, 47, .16); }
.article-card-image { position: relative; flex: 0 0 280px; min-height: 170px; display: block; overflow: hidden; background: #506981; }
.article-card-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.article-card-image:hover img { transform: scale(1.05); }
.article-card-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(231, 240, 250, .5); font-size: 38px; }
.latest-item .thumb .article-card-placeholder { font-size: 22px; }
.article-card-body { padding: 16px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.article-card-body h2 { margin: 0; font-family: var(--font-titre-elegant); font-size: 20px; font-weight: 400; line-height: 1.3; }
.article-card-body h2 a:hover { color: var(--ph-cyan); }
.article-card-body time { color: var(--ph-dim); font-family: var(--font-texte); font-size: calc(12px * var(--t)); }
.article-card-body p { margin: 0; color: #e6ecf4; font-family: var(--font-texte); font-size: calc(14px * var(--t)); line-height: 1.5; text-align: justify; }
.read-more { margin-top: auto; padding-top: 6px; color: var(--ph-link); font-family: var(--font-texte); font-size: calc(15px * var(--t)); }

/* Pagination */
.pagination { margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 18px; font-family: var(--font-titre); font-size: calc(16px * var(--t)); }
.pagination a { padding: 5px 16px; }
.pagination a:hover { color: var(--ph-purple); }
.pagination .disabled { opacity: .4; }
.pagination-info { color: var(--ph-dim); font-family: var(--font-titre); font-size: calc(16px * var(--t)); } 

/* Page d'un article ou d'une recette */
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.blog-main { min-width: 0; }
.article-page h1 { margin: 10px 0 6px; font-size: clamp(22px, 3.4vw, 24px); font-weight: 400; line-height: 1.2; }
.article-meta { margin: 0 0 18px; color: var(--ph-dim); font-size: calc(14px * var(--t)); }
.article-illustration { width: 100%; height: auto; margin: 0 0 20px; border: 1px solid rgba(240, 246, 252, .8); border-radius: 12px; }
.article-lead { margin: 0 0 20px; padding-left: 16px;  text-align: justify;
    border-left: 4px solid transparent;
    border-image: linear-gradient(
        180deg,
        var(--ph-cyan),
        var(--ph-purple),
        var(--ph-champagne),
        var(--ph-cyan)
    ) 1; 
    color: var(--ph-soft); font-family: var(--font-texte); font-size: calc(16px * var(--t)); line-height: 1.4; }
.article-lead > :first-child, .article-content > :first-child { margin-top: 0; }
.article-lead > :last-child { margin-bottom: 0; }
.article-content { display: flow-root; font-family: var(--font-texte); font-size: calc(16px * var(--t)); line-height: 1.2; color: var(--ph-soft); text-align: justify; }
.article-content h2 { font-family: var(--font-titre-elegant); font-size: 26px; font-weight: 400; color: var(--ph-cyan); margin-bottom: 20px; margin-top: 30px; background: linear-gradient(90deg, var(--ph-cyan) 50%, transparent 50%) bottom / 100% 1px no-repeat;}
.article-content h3 { margin: 20px 0 20px; font-family: var(--font-titre-elegant); font-size: 24px; font-weight: 400; color: var(--ph-cyan);}
.article-content p { margin: 0 0 14px; }
.article-content ul, .article-content ol { margin: 0 0 14px; padding-left: 24px; }
.article-content li { margin-bottom: 4px; }
.article-content a { color: var(--ph-link); text-decoration: underline; }
.article-content blockquote { margin: 18px 0; padding: 4px 0 4px 16px; border-left: 2px solid rgba(231, 240, 250, .6); font-style: italic; }
.article-content img { height: auto; margin: 12px 0; border-radius: 10px; }
.article-keywords { margin-top: 26px; padding-top: 14px; }

/* Articles et recettes similaires */
.related { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(231, 240, 250, .3); }
.related h2 { margin: 0 0 14px; font-family: var(--font-titre-elegant); font-size: 24px; font-weight: 400; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { display: flex; flex-direction: column; gap: 6px; }
.related-image { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid rgba(240, 246, 252, .8); border-radius: 8px; background: #506981; }
.related-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.related-card:hover .related-image img { transform: scale(1.06); }
.related-card strong { font-family: var(--font-titre); font-size: calc(14px * var(--t)); font-weight: 400; line-height: 1.3; }
.related-card:hover strong { color: var(--ph-link); }
.related-card time { font-family: var(--font-texte); color: var(--ph-dim); font-size: calc(13px * var(--t)); }

/* Boutons de partage */
.share { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share-label { margin-right: 4px; font-family: var(--font-titre); color: var(--ph-dim); font-size: calc(14px * var(--t)); }
.share a, .share button { padding: 4px 14px; border: 1px solid rgba(248, 250, 254, .9); border-radius: 20px; background: transparent; color: #f7f9fc; font-size: calc(14px * var(--t)); line-height: 1.4; cursor: pointer; transition: background .2s ease; }
.share a:hover, .share button:hover { background: rgba(255, 255, 255, .13); }
.share i { margin-right: .35em; }
.share a i { filter: drop-shadow(0 0 5px rgba(85, 223, 255, .55)); }


/* Boutons de partage aux couleurs officielles */
.share a.share-facebook {
    background-color: #1877F2;
    border: 1px solid #1877F2;
    color: #fff;
}

.share a.share-x {
    background-color: #000;
    border: 1px solid #444;
    color: #fff;
}

.share a.share-pinterest {
    background-color: #E60023;
    border: 1px solid #E60023;
    color: #fff;
}

.share a.share-email {
    background-color: var(--ph-champagne);
    border: 1px solid #6B7280;
    color: #000;
}

.share button.share-copy {
    background-color: #34343F;
    border: 1px solid var(--ph-cyan);
    color: #fff;
}

/* Commentaires et formulaires */
.comments-block { margin-top: 34px; }
.comments-block h2 { margin: 0 0 14px; font-family: var(--font-titre-elegant); font-size: 22px; font-weight: 400; }
.comments-block h2 small { color: var(--ph-dim); font-family: var(--font-texte); font-size: 14px; }
.comment-item { margin-bottom: 12px; padding: 12px 16px; border: 1px solid rgba(233, 242, 251, .87); border-radius: 15px; background: rgba(209, 225, 243, .66); color: #1d2938; }
.comment-item h3 { margin: 0 0 4px; color: #16283b; font-family: var(--font-titre-elegant); font-size: calc(16px * var(--t)); font-weight: 700; }
.comment-item h3 small { margin-left: 8px; color: #46586b; font-family: var(--font-texte-elegant); font-size: calc(13px * var(--t)); font-weight: 400; }
.comment-item p { margin: 0; font-family: var(--font-texte); font-size: calc(14px * var(--t)); line-height: 1.5; overflow-wrap: anywhere; }
.comment-form { margin-top: 22px; padding: 16px; border: 1px solid var(--panel-line); border-radius: 15px; background: var(--panel); }
.comment-form h3 { margin: 0 0 12px; font-size: 17px; font-weight: 400; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { margin-bottom: 12px; display: flex; flex-direction: column; gap: 4px; }
.form-field label { font-family: var(--font-texte); font-size: calc(15px * var(--t)); }
.form-field label small { color: var(--ph-dim); }
.form-field input, .form-field textarea { width: 100%; padding: 8px 10px; border: 1px solid rgba(231, 240, 250, .6); border-radius: 8px; background: rgba(243, 244, 245, .95); color: #1d2938; font-size: calc(14px * var(--t)); }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid #7895b5; }
.field-error { color: #ffc9c9; font-size: calc(14px * var(--t)); }
.form-success { margin: 16px 0 0; padding: 10px 14px; border: 1px solid rgba(200, 240, 210, .8); border-radius: 10px; background: rgba(60, 120, 80, .35); font-size: calc(14px * var(--t)); }
.form-note { margin: 10px 0 0; color: var(--ph-dim); font-family: var(--font-texte); font-size: calc(14px * var(--t)); }

/* Page d'une recette */
.recipe-section { margin-top: 28px; }
.recipe-section h2 { margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--ph-cyan); font-size: 22px; font-weight: 400; color: var(--ph-cyan); }
.recipe-columns { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 24px; align-items: start; }
.recipe-columns .recipe-section { margin-top: 0; }
.recipe-ingredients { padding: 14px 18px 8px; border: 1px solid var(--panel-line); border-radius: 15px; background: var(--panel); }
.recipe-notes { padding: 12px 16px 4px; border-left: 2px solid rgba(231, 240, 250, .6); border-radius: 0 12px 12px 0; background: rgba(20, 34, 52, .35); }
.recipe-notes h2 { margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--ph-cyan); font-size: 22px; font-weight: 400; color: var(--ph-cyan); }

/* Page d'un mot clé */
.keyword-heading { margin: 26px 0 14px; font-size: 22px; font-weight: 400; }
.keyword-heading small { color: var(--ph-dim); font-size: 14px; }

@media (max-width: 900px) { .blog-layout { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .recipe-columns { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
    .page-section { padding-inline: 4%; }
    .article-card { flex-direction: column; }
    .article-card-image { flex: none; min-height: 0; aspect-ratio: 16 / 9; }
    .article-card-body h2 { font-size: 18px; }
    .related-grid, .form-row { grid-template-columns: 1fr; }
}

/* En-tête d'un article ou d'une recette : image à gauche, informations à droite */
.fiche-entete { margin-bottom: 26px; padding: 18px; display: grid; grid-template-columns: minmax(200px, 340px) minmax(0, 1fr); gap: 28px; align-items: start; border: 1px solid var(--panel-line); border-radius: 15px; background: var(--panel); box-shadow: 0 6px 20px rgba(16, 30, 47, .16); }
.fiche-image { aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid rgba(240, 246, 252, .8); border-radius: 12px; background: #506981; box-shadow: 0 0 14px rgba(85, 223, 255, .25); }
.fiche-image img { width: 100%; height: 100%; object-fit: cover; }
.fiche-texte .tag-list { margin-bottom: 4px; }
.fiche-texte h1 { margin: 8px 0 10px; font-family: var(--font-titre-elegant); font-size: clamp(20px, 2.8vw, 28px); }
.fiche-infos { margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ph-dim); font-family: var(--font-texte); font-size: calc(12px * var(--t)); }
.fiche-infos i { margin-right: .4em; color: var(--ph-cyan); }
.fiche-infos a:hover { color: #fff; }
.fiche-texte .article-lead { margin: 0; }
@media (max-width: 760px) {
    .fiche-entete { grid-template-columns: 1fr; padding: 14px; gap: 18px; }
    .fiche-image { aspect-ratio: 16 / 9; }
}

/* ===== 8. Barre latérale ===== */
.sidebar { display: flex; flex-direction: column; gap: 18px; }
.side-box { padding: 14px 16px 16px; border: 0; border-radius: 15px; }
.side-box h2 { margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); font-size: calc(20px * var(--t)); font-weight: 400; }
.side-list { margin: 0; padding: 0; list-style: none; }
.side-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 6px 0; border-bottom: 1px solid rgba(231, 240, 250, .15); font-family: var(--font-texte); font-size: calc(14px * var(--t)); }
.side-list li:last-child { border-bottom: 0; }
.side-list a:hover { color: var(--ph-champagne); }
.side-list span { font-family: var(--font-texte); color: var(--ph-dim); font-size: calc(13px * var(--t)); white-space: nowrap; }

/* Cadre « Découvrez » : un livre au hasard */
.side-book {
    display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 16px 18px; text-align: center; color: var(--ph-text);
    border: 1px solid transparent; border-radius: 14px;
    background: linear-gradient(125deg, rgba(19, 39, 65, .96), rgba(8, 20, 39, .96)) padding-box, var(--ph-degrade) border-box;
    box-shadow: 0 0 8px rgba(85, 223, 255, .4), 0 0 18px rgba(199, 123, 255, .35), inset 0 0 18px rgba(154, 156, 255, .12);
    transition: box-shadow .35s ease;
}
.side-book:hover { box-shadow: 0 0 12px rgba(85, 223, 255, .6), 0 0 28px rgba(199, 123, 255, .5), inset 0 0 22px rgba(154, 156, 255, .18); }
.side-book-label { font-family: var(--font-titre); font-size: calc(21px * var(--t)); color: #fff; text-shadow: 0 0 10px rgba(85, 223, 255, .6); }
.side-book img { width: 64%; max-width: 180px; height: auto; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .55)); transition: transform .35s ease; }
.side-book:hover img { transform: translateY(-3px) scale(1.03); }
.side-book strong { font-family: var(--font-titre); font-weight: 400; font-size: calc(17px * var(--t)); line-height: 1.25; }

/* Derniers articles et dernières recettes : miniature, titre, date */
.side-news { margin: 0; padding: 0; list-style: none; display: grid; gap: 5px; }
.side-news li { display: flex; gap: 10px; align-items: center; }
.side-news-img { flex: 0 0 88px; height: 62px; overflow: hidden; border: 1px solid rgba(240, 246, 252, .7); border-radius: 8px; background: #506981; }
.side-news-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.side-news li:hover .side-news-img img { transform: scale(1.08); }
.side-news a:not(.side-news-img) { font-family: var(--font-texte); font-size: calc(14px * var(--t)); line-height: 1.3; }
.side-news a:not(.side-news-img):hover { color: var(--ph-cyan); }
.side-news time { display: block; margin-top: 3px; color: var(--ph-muted); font-family: var(--font-texte); font-size: calc(12.5px * var(--t)); }

/* Nuage de mots clés lumineux */
.tag-cloud { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 7px; }
.mot-c0 { --mot: 85, 223, 255; }
.mot-c1 { --mot: 199, 123, 255; }
.mot-c2 { --mot: 255, 210, 200; }
.mot { padding: .12em .8em; border: 1px solid rgba(var(--mot), .7); border-radius: 999px; color: var(--ph-text); line-height: 1.35; background: rgba(6, 12, 30, .55); box-shadow: 0 0 7px rgba(var(--mot), .3); transition: box-shadow .3s ease, transform .3s ease, color .3s ease; }
.mot:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 0 12px rgba(var(--mot), .75), 0 0 24px rgba(var(--mot), .35); }
.mot-1 { font-family: var(--font-texte); font-size: calc(13px * var(--t)); }
.mot-2 { font-family: var(--font-texte); font-size: calc(14.5px * var(--t)); }
.mot-3 { font-family: var(--font-texte); font-size: calc(16px * var(--t)); }
.mot-4 { font-family: var(--font-texte); font-size: calc(18px * var(--t)); }
.mot-5 { font-family: var(--font-texte); font-size: calc(20.5px * var(--t)); }


/* ===== 9. Livres et service presse ===== */

.book-filters {
    margin-bottom: 22px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.book-filters a {
    padding: 5px 18px;
    border: 1px solid rgba(248, 250, 254, .9);
    border-radius: 22px;
    font-size: calc(16px * var(--t));
    transition: background .2s ease;
}

.book-filters a:hover {
    background: rgba(255, 255, 255, .13);
}

.book-filters a.active {
    background: rgba(255, 255, 255, .22);
}

/* Grille */
.book-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* Carte */
.book-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 12px;
    min-width: 0;
    padding: 12px;
    text-decoration: none;

    background:
        radial-gradient(
            ellipse 65% 55% at 50% 40%,
            rgba(120, 140, 255, .14),
            transparent 75%
        ),
        linear-gradient(
            125deg,
            rgba(19, 39, 65, .38),
            rgba(8, 20, 39, .22)
        );

    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(85, 223, 255, .16);
    transition: border-color .25s ease, box-shadow .25s ease;
}

.book-card:hover { border-color: var(--ph-cyan); box-shadow: 0 0 14px rgba(85, 223, 255, .28); }

.book-tag {
    display: inline-block;
    padding: 2px 12px;
    border: 1px solid var(--ph-cyan);
    border-radius: 20px;
    font-family: var(--font-texte);
    font-size: calc(12px * var(--t));
    font-weight: 700;
    background: var(--ph-degrade);
    color: #000;
}

/* Zone de couverture */
.book-cover { display: flex; align-items: center; justify-content: center; width: 100%; overflow: hidden; border-radius: 8px; background: transparent; }
.book-cover img { display: block; position: static; width: auto; height: auto; max-width: 100%; max-height: 340px; object-fit: contain; object-position: center; transition: transform .25s ease; }

/* Informations */
.book-info { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; width: 100%; gap: 5px }
.book-info .tag { align-self: center; }
.book-info strong { font-family: var(--font-titre-elegant); font-size: calc(18px * var(--t)); font-weight: 400; line-height: 1.3; text-align: center; }
.book-card:hover .book-info strong { color: var(--ph-link); }
.book-info small,
.book-genre { margin: 0; color: var(--ph-dim); font-family: var(--font-texte); font-size: calc(14px * var(--t)); text-align: center; }

/* Image manquante */
.book-cover .article-card-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 40px; color: var(--ph-dim); }

/* Tablette */
@media (max-width: 900px) { .book-grid { gap: 18px; } }
@media (max-width: 768px) { .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }

/* Mobile */
@media (max-width: 420px) {
    .book-grid { gap: 12px;}
    .book-card { padding: 8px; gap: 9px; }
    .book-info strong { font-size: calc(16px * var(--t));}
}

/* Fiche d'un livre */
.book-banner { width: 100%; height: auto; margin-bottom: 22px; border: 1px solid rgba(240, 246, 252, .8); border-radius: 12px; }
.book-hero { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 34px; align-items: start; margin-top: 30px;}
.book-hero-cover img { width: 100%; height: auto; filter: drop-shadow(0 10px 22px rgba(10, 20, 33, .45)); }
.book-hero-info { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.book-hero-info h1 { margin: 6px 0 0; font-family: var(--font-titre-elegant); font-size: clamp(28px, 3.6vw, 40px); font-weight: 400; line-height: 1.15; }
.book-slogan { margin: 0; color: var(--ph-soft); font-size: calc(20px * var(--t)); font-style: italic; line-height: 1.45; }
.book-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 24px 0; list-style: none; width: 100%; }
.book-meta li { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 7px; min-width: 0; padding: 14px 6px;
    background: linear-gradient(
        135deg,
        rgba(19, 39, 65, .65),
        rgba(8, 20, 39, .45)
    );
    border: 1px solid rgba(85, 223, 255, .4); border-radius: 12px; box-shadow: 0 3px 12px rgba(85, 223, 255, .08); }

.book-meta li > i { font-size: 21px; color: var(--ph-cyan) }
.book-meta li span { color: var(--ph-dim); font-size: calc(12px * var(--t)); font-weight: 600; }
.book-meta li strong { color: var(--ph-text); font-size: calc(14px * var(--t)); font-weight: 500; overflow-wrap: anywhere; }

/* Sur petit écran */
@media (max-width: 600px) {
    .book-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.book-meta span { display: block; color: var(--ph-dim); font-size: calc(13px * var(--t)); text-transform: uppercase; letter-spacing: .05em; }
.buy-buttons { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.book-body { max-width: 860px; margin: 30px auto 0; }
.video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid rgba(240, 246, 252, .8);
    border-radius: 12px;
    background: #000;
    width: 80%;
    margin: 0 auto;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.book-quote { margin: 0 0 14px; padding: 12px 16px; 
    border-left: 4px solid transparent;
    border-image: linear-gradient(
        180deg,
        var(--ph-cyan),
        var(--ph-purple),
        var(--ph-champagne),
        var(--ph-cyan)
    ) 1; 

    border-radius: 0 12px 12px 0; 
    background: rgba(20, 34, 52, .45); 
    font-family: var(--font-texte-elegant); font-size: calc(16px * var(--t)); font-style: italic; line-height: 1.55; }
.quote-grid .book-quote { margin: 0; }
.book-quote cite { display: block; margin-top: 8px; color: var(--ph-dim); font-family: var(--font-titre-elegant); font-size: 14px; font-style: normal; }
.book-links { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.book-links a { color: var(--ph-link); }
.book-links a:hover { text-decoration: underline; }
.book-note-image { max-width: 220px; height: auto; margin: 0 0 12px; border-radius: 10px; }

/* Service presse */
.press-intro { max-width: 760px; margin: 0 auto 26px; text-align: justify; font-family: var(--font-texte); font-size: calc(17px * var(--t)); line-height: 1.65; color: var(--ph-soft); }
.press-intro p { margin: 0 0 10px; }
.press-intro a { color: var(--ph-link); text-decoration: underline; }
.press-list { max-width: 980px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.press-item { display: flex; gap: 20px; padding: 14px; border: 1px solid var(--panel-line); border-radius: 15px; background: var(--panel); }
.press-cover { position: relative; flex: 0 0 110px; aspect-ratio: 2 / 3; overflow: hidden; border: 1px solid rgba(240, 246, 252, .8); border-radius: 8px; background: #506981; }
.press-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.press-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.press-info h2 { margin: 0; font-size: calc(22px * var(--t)); font-weight: 400; line-height: 1.25; }
.press-info h2 a:hover { color: var(--ph-link); }
.press-info .buy-buttons { margin-top: auto; padding-top: 8px; }

@media (max-width: 800px) {
    .book-hero { grid-template-columns: 1fr; gap: 20px; }
    .book-hero-cover { max-width: 260px; margin: 0 auto; }
    .quote-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .press-item { flex-direction: column; } .press-cover { flex: none; width: 110px; } }


/* ===== 10. Contact et pages fixes ===== */
/* Page contact : deux colonnes */
.contact-page { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 50px;align-items: start; }
/* Colonne de gauche */
.contact-infos h2 { margin-top: 0; }
.contact-infos p { font-family: var(--font-texte); font-size:18px; line-height: 1.8; text-align: justify; }
.contact-presse { font-family: var(--font-texte); font-size:18px; margin-top: 35px;}
/* Colonne de droite */
.contact-form-column { min-width: 0; }
.contact-form-column .comment-form { margin-top: 0;}

/* Mobile */
@media (max-width: 768px) {
    .contact-page {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}
.contact-intro { margin: 0 0 18px; text-align: center; font-size: calc(17px * var(--t)); line-height: 1.6; color: var(--ph-soft); }
.contact-page .comment-form { margin-top: 0; }
.social-block { margin-top: 30px; text-align: center; }
.social-block h2 { margin: 0 0 12px; font-size: 18px; font-weight: 400; }
.social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.social-links a { padding: 5px 18px; border: 1px solid rgba(248, 250, 254, .9); border-radius: 22px; font-size: 14px; transition: background .2s ease; }
.social-links a:hover { background: rgba(255, 255, 255, .13); }
.static-page { max-width: 820px; margin: 0 auto; }

/* ===== Chronologie des livres (page de l'auteur) ===== */
.static-page.avec-chronologie { max-width: 1100px; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 36px; align-items: start; }
.static-main { min-width: 0; }
.chronologie { position: sticky; top: 16px; padding: 16px 18px 6px; border: 1px solid var(--panel-line); border-radius: 15px; background: var(--panel); }
.chronologie h2 { margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); font-size: calc(16px * var(--t)); font-weight: 400; }
.chronologie ol { margin: 0; padding: 0 0 0 16px; list-style: none; border-left: 2px solid rgba(85, 223, 255, .4); }
.chronologie li { position: relative; padding: 0 0 16px 14px; }
.chronologie li::before { content: ""; position: absolute; left: -23px; top: .45em; width: 10px; height: 10px; border-radius: 50%; background: var(--ph-cyan); box-shadow: 0 0 8px var(--ph-cyan); }
.chronologie time { display: block; color: var(--ph-champagne); font-family: var(--font-titre); font-size: calc(13px * var(--t)); }
.chronologie a { font-family: var(--font-titre); font-size: calc(14px * var(--t)); line-height: 1.25; }
.chronologie a:hover { color: var(--ph-cyan); }
@media (max-width: 800px) {
    .static-page.avec-chronologie { grid-template-columns: 1fr; }
    .chronologie { position: static; }
}

/* ===== 11. Pied de page ===== */
.ph-footer {
    margin-top: 28px; position: relative; isolation: isolate; overflow: hidden; background: rgba(2, 4, 11, .62);
    border-top: 1px solid transparent; border-image: linear-gradient(90deg, transparent, var(--ph-cyan), var(--ph-purple), var(--ph-champagne), transparent) 1;
    box-shadow: 0 -2px 16px rgba(85, 223, 255, .15);
}
/* Aurore lente, puis étoiles qui scintillent */
.ph-footer::after {
    content: ""; position: absolute; inset: -40% -15%; z-index: -1; pointer-events: none; will-change: transform;
    background:
        radial-gradient(ellipse 38% 55% at 18% 60%, rgba(85, 223, 255, .13), transparent 70%),
        radial-gradient(ellipse 34% 50% at 52% 35%, rgba(199, 123, 255, .14), transparent 70%),
        radial-gradient(ellipse 36% 55% at 85% 65%, rgba(60, 90, 190, .18), transparent 70%);
    animation: ph-aurore 40s ease-in-out infinite alternate;
}
.ph-footer::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(circle at 6% 32%, #fff 0 1px, transparent 2px), radial-gradient(circle at 19% 78%, #cfe9ff 0 1px, transparent 2px),
        radial-gradient(circle at 33% 22%, #fff 0 1px, transparent 2px), radial-gradient(circle at 47% 70%, #e6dcff 0 1px, transparent 2px),
        radial-gradient(circle at 61% 18%, #fff 0 1px, transparent 2px), radial-gradient(circle at 74% 82%, #cfe9ff 0 1px, transparent 2px),
        radial-gradient(circle at 88% 28%, #fff 0 1px, transparent 2px), radial-gradient(circle at 95% 72%, #e6dcff 0 1px, transparent 2px);
    animation: ph-scintille 7s ease-in-out infinite alternate;
}
@keyframes ph-aurore {
    from { transform: translate3d(-4%, 0, 0) scale(1); }
    to { transform: translate3d(4%, -3%, 0) scale(1.08); }
}
@keyframes ph-scintille {
    from { opacity: .25; }
    to { opacity: .85; }
}
.ph-footer-inner { max-width: 1400px; margin: 0 auto; padding: 38px 5% 22px; display: grid; grid-template-columns: .8fr 1fr 1.1fr 1.7fr; gap: 34px; align-items: start; }
.ph-footer h2 { margin: 0 0 10px; font-family: var(--font-titre-elegant); font-size: 18px; font-weight: 400; color: #fff; }
.ph-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.ph-footer p { margin: 0 0 10px; font-family: var(--font-texte); font-size: calc(12px * var(--t)); line-height: 1.55; color: var(--ph-muted); text-align: justify; }
.ph-footer p.center { text-align: center; }
.ph-footer li, .ph-footer a { font-family: var(--font-texte); font-size: calc(12px * var(--t)); color: var(--ph-muted); }
.ph-footer a:hover { color: var(--ph-cyan); }
.ph-footer-brand { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.ph-footer-brand p { margin: 0; }
.ph-footer-logo { display: block; width: 100%; max-width: 50px; height: auto; }
.ph-footer-legal a { color: var(--ph-champagne); text-decoration: underline; text-underline-offset: 2px; }
.ph-footer-copy { max-width: 1100px; margin: 0 auto; padding: 0 5% 18px; text-align: center; font-size: calc(14px * var(--t)); color: var(--ph-muted); }
@media (max-width: 900px) { .ph-footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ph-footer-inner { grid-template-columns: 1fr; } }


/* ===== Accessibilité : réduire les animations ===== */
@media (prefers-reduced-motion: reduce) {
    body::before, .ph-footer::before, .ph-footer::after, .snowflakes span { animation: none; }
    .ph-circle-link, .ph-button { transition: none; }
}


/* ===== 12. Recherche ===== */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ph-search {
    position: relative;
    width: clamp(170px, 17cqw, 260px);
    flex-shrink: 0;
    margin: 0 0 0 12px;
}
.ph-search input {
    width: 100%; min-width: 0; padding: .55em 3em .55em 1em; font-size: clamp(11px, 1.1cqw, 15px);
    border: 1px solid transparent; border-radius: 999px; color: #fff; 
    background: linear-gradient(rgba(10, 20, 44, .92), rgba(10, 20, 44, .92)) padding-box, var(--ph-degrade) border-box;
    box-shadow: 0 0 10px rgba(85, 223, 255, .35), 0 0 22px rgba(199, 123, 255, .25); transition: box-shadow .3s ease;
}
.ph-search input::placeholder { color: var(--ph-muted); }
.ph-search input:focus { outline: 0; box-shadow: 0 0 14px rgba(85, 223, 255, .65), 0 0 30px rgba(199, 123, 255, .45); }
.ph-search button { position: absolute; right: 7px; top: 50%; width: 2.5em; height: 2.5em; transform: translateY(-50%); border: 0; border-radius: 50%; background: transparent; color: var(--ph-cyan); font-size: clamp(12px, 1.1cqw, 15px); cursor: pointer; transition: background .2s ease; }
.ph-search button:hover { background: rgba(85, 223, 255, .15); }
.search-summary { margin: 0 0 18px; text-align: center; color: var(--ph-muted); }
.result-group { margin-top: 28px; }
.result-group h2 { margin: 0 0 12px; font-family: var(--font-texte); font-size: 24px; font-weight: 400; }
.result-group h2 small { color: var(--ph-dim); font-size: .65em; }
.result { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; padding: 12px; border: 1px solid var(--panel-line); border-radius: 12px; background: var(--panel); transition: box-shadow .3s ease; }
.result:hover { box-shadow: 0 0 14px rgba(85, 223, 255, .35); }
.result-img { flex: 0 0 110px; height: 76px; overflow: hidden; border-radius: 8px; background: #506981; }
.result-img img { width: 100%; height: 100%; object-fit: cover; }
.result-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.result-body strong { font-family: var(--font-titre); font-size: calc(18px * var(--t)); font-weight: 400; }
.result:hover strong { color: var(--ph-link); }
.result-body small { color: var(--ph-dim); font-size: calc(13px * var(--t)); }
.result-body > span { color: var(--ph-soft); font-size: calc(15px * var(--t)); line-height: 1.35; overflow-wrap: anywhere; }
@media (max-width: 560px) { .result { align-items: flex-start; } .result-img { flex-basis: 80px; height: 60px; } }

/* Pour lien Amazon */

/* Cadre principal */
.book-purchase {
    position: relative;
    isolation: isolate;
    max-width: 680px;
    margin: 40px auto;
    padding: 30px;

    background: linear-gradient(
        135deg,
        rgba(19, 39, 65, .85),
        rgba(8, 20, 39, .95)
    );

    border: 2px solid #ff9900;
    border-radius: 12px;

    box-shadow:
        0 0 0 1px rgba(255, 153, 0, .25),
        0 0 18px rgba(85, 223, 255, .15),
        0 12px 35px rgba(0, 0, 0, .25);

    transition: box-shadow .35s ease,
                border-color .35s ease;
}


.book-purchase::after {
    content: "";
    position: absolute;
    top: -2px;
    left: 15%;
    width: 70%;
    height: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        var(--ph-cyan),
        #ff9900,
        transparent
    );

    box-shadow: 0 0 10px rgba(85, 223, 255, .5);
    pointer-events: none;
}


/* Halo extérieur */
.book-purchase::before {
    content: "";
    position: absolute;
    inset: -12px;
    z-index: -1;
    border-radius: 20px;

    background: linear-gradient(
        135deg,
        rgba(85, 223, 255, .22),
        transparent 45%,
        rgba(255, 153, 0, .18)
    );

    filter: blur(18px);
    opacity: .75;
    pointer-events: none;
}

/* Accent lumineux au survol */
.book-purchase:hover {
    border-color: #ffb52e;

    box-shadow:
        0 0 0 1px rgba(255, 153, 0, .4),
        0 0 25px rgba(85, 223, 255, .25),
        0 15px 40px rgba(0, 0, 0, .3);
}

/* En-tête */
.purchase-header {
    text-align: center;
    margin-bottom: 25px;
}

.purchase-header h2 {
    font-family: var(--font-titre-elegant);
    font-size: 28px;
    font-weight: 700;
    color: #ff9900;
    margin-bottom: 8px;
}

.purchase-header p {
    font-family: var(--font-texte);
    font-size: 16px;
    color: var(--ph-muted);
    margin: 0;
}

/* Grille des boutons */
.purchase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

/* Boutons */
.amazon-btn {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    min-height: 76px;
}

.amazon-btn i {
    font-size: 25px;
    flex-shrink: 0;
}

.amazon-btn span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.amazon-btn strong {
    font-family: var(--font-titre-elegant);
    font-size: 18px;
    font-weight: 700;
}

.amazon-btn small {
    font-family: var(--font-titre);
    font-size: 14px;
    opacity: 0.85;
}

/* Style bleu Amazon */
.amazon-dark {
    background: #232f3e;
    color: #fff;
    border: 1px solid #232f3e;
}

.amazon-dark:hover {
    background: #37475a;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(35, 47, 62, 0.2);
}

/* Style orange Amazon */
.amazon-orange {
    background: #ff9900;
    color: #232f3e;
    border: 1px solid #ff9900;
}

.amazon-orange:hover {
    background: #f3a847;
    color: #232f3e;
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(255, 153, 0, 0.2);
}

/* Pied de cadre */
.purchase-footer {
    font-family: var(--font-texte);
    text-align: center;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(231, 240, 250, .25);
    font-size: 14px;
    color: var(--ph-muted);
}

/* Responsive mobile */
@media (max-width: 480px) {
    .book-purchase {
        padding: 20px 15px;
        margin: 20px 10px;
    }

    .purchase-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .purchase-header h2 {
        font-size: 24px;
    }
}


/* =====================================
   CADRE PRINCIPAL
===================================== */

.book-excerpt {
    position: relative;
    isolation: isolate;
    max-width: 90%;
    margin: 45px auto;
    padding: 30px;

    background: linear-gradient(
        135deg,
        rgba(19, 39, 65, .65),
        rgba(8, 20, 39, .45)
    );

    border: 1px solid rgba(85, 223, 255, .4);
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(85, 223, 255, .08);
}

/* =====================================
   EN-TÊTE
===================================== */

.excerpt-header {
    text-align: center;
    margin-bottom: 28px;
}

.excerpt-icon {
    font-size: 32px;
    color: var(--ph-cyan);
    margin-bottom: 12px;
    filter: drop-shadow(0 0 8px rgba(85, 223, 255, .4));
}

.excerpt-label {
    display: inline-block;
    color: var(--ph-champagne);
    font-family: var(--font-titre);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.excerpt-header h2 {
    font-family: var(--font-titre-elegant);
    font-size: 32px;
    font-weight: 700;
    color: var(--ph-champagne);
    margin: 0 0 8px;
}

.excerpt-header p {
    font-family: var(--font-texte);
    font-size: 18px;
    color: var(--ph-muted);
    margin: 0;
}

.excerpt-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    color: var(--ph-cyan);
    font-size: 12px;
}

.excerpt-separator span {
    width: 55px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--ph-cyan)
    );
}

.excerpt-separator span:last-child {
    transform: rotate(180deg);
}


/* =====================================
   FEUILLE DE LECTURE
===================================== */

.excerpt-paper {
    position: relative;
    background: #000;
    border-radius: 9px;
    padding: 35px 42px;

    box-shadow:
        inset 0 0 25px rgba(130, 100, 50, .07),
        0 5px 20px rgba(0, 0, 0, .2);
}

/* Petit repère de chapitre */

.excerpt-chapter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    color: var(--ph-cyan);
    font-family: var(--font-titre);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;

    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(85, 223, 255, .3);
}

.excerpt-chapter i { font-size: 13px; }


/* =====================================
   CONTENU DU CHAPITRE
===================================== */

.excerpt-content {
    position: relative;
    overflow: hidden;
    max-height: 450px;

    font-family: var(--font-texte);
    font-size: 16px;
    line-height: 1.9;
    color: var(--ph-champagne);

    transition: max-height .8s ease;
}

/* Paragraphes */

.excerpt-content p {
    font-family: var(--font-texte);
    color: var(--ph-champagne);
    font-size: 18px;
    margin: 0 0 20px;
    text-align: justify;
}

/* Titres éventuels dans le chapitre */

.excerpt-content h1,
.excerpt-content h2,
.excerpt-content h3 {
    font-family: var(--font-titre-elegant);
    color: var(--ph-cyan);
    margin: 28px 0 16px;
    line-height: 1.4;
}

/* Citation éventuelle */

.excerpt-content blockquote {
    border-left: 3px solid #ff9900;
    padding: 10px 20px;
    margin: 25px 0;
    color: var(--ph-muted);
    font-style: italic;
}


/* =====================================
   DÉGRADÉ DE MASQUAGE
===================================== */

.excerpt-content.is-collapsed::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 140px;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0),
        #000
    );

    pointer-events: none;
}


/* =====================================
   ACTIONS ET BOUTON
===================================== */

.excerpt-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 22px;
}

.excerpt-reading {
    font-family: var(--font-texte);
    font-size: 13px;
    color: var(--ph-muted);
}

.excerpt-reading i {
    color: var(--ph-cyan);
    margin-right: 5px;
}

.excerpt-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 13px 23px;

    background: var(--ph-cyan);
    border: 1px solid var(--ph-cyan);
    border-radius: 8px;

    color: #232f3e;
    font-family: var(--font-titre);
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition: all .3s ease;
}

.excerpt-toggle:hover {
    background: var(--ph-champagne);
    transform: translateY(-3px);
    box-shadow: 0 5px 18px rgba(255, 153, 0, .3);
}

.excerpt-toggle i {
    transition: transform .3s ease;
}

.excerpt-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}


/* =====================================
   RESPONSIVE MOBILE
===================================== */

@media (max-width: 600px) {

    .book-excerpt {
        margin: 30px 10px;
        padding: 20px 14px;
        border-width: 2px;
    }

    .excerpt-header h2 {
        font-size: 25px;
    }

    .excerpt-paper {
        padding: 25px 18px;
    }

    .excerpt-content {
        font-size: 15px;
        line-height: 1.85;
    }

    .excerpt-content p {
        text-align: left;
        margin-bottom: 17px;
    }

    .excerpt-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .excerpt-reading {
        text-align: center;
    }

    .excerpt-toggle {
        width: 100%;
        padding: 14px;
    }
}

/* Lecteur spotify */

.liste-musiques { display: flex; flex-wrap: wrap; gap: 15px; padding: 0; list-style: none; }
.liste-musiques li { flex: 1 1 300px; max-width: 400px; padding: 15px; box-sizing: border-box; }


/* ===== Blocs du texte : séparateur, image alignée, cadre, vidéo ===== */
.article-content hr { height: 1px; margin: 28px 0; border: 0; background: linear-gradient(90deg, transparent, var(--ph-cyan), var(--ph-purple), var(--ph-champagne), transparent); box-shadow: 0 0 8px rgba(85, 223, 255, .5); clear: both; }

.bloc-image { margin: 6px 0 14px; }
.bloc-image img { width: 100%; height: auto; margin: 0; border-radius: 10px; }
.bloc-image figcaption { margin-top: 6px; color: var(--ph-dim); font-size: calc(13px * var(--t)); font-style: italic; text-align: center; }
.bloc-taille-petite { width: 30%; }
.bloc-taille-moyenne { width: 45%; }
.bloc-taille-grande { width: 65%; }
.bloc-image-gauche { float: left; margin-right: 22px; }
.bloc-image-droite { float: right; margin-left: 22px; }
.bloc-image-centre { float: none; clear: both; margin-inline: auto; }
.bloc-taille-pleine { float: none; clear: both; width: 100%; margin-inline: 0; }
@media (max-width: 640px) {
    .bloc-image-gauche, .bloc-image-droite { float: none; width: 100%; margin: 14px 0; }
}

.bloc-cadre { --c: 85, 223, 255; clear: both; margin: 22px 0; padding: 14px 18px; border: 1px solid rgba(var(--c), .8); border-radius: 12px; background: rgba(var(--c), .07); box-shadow: 0 0 12px rgba(var(--c), .25); }
.bloc-cadre-astuce { --c: 255, 210, 200; }
.bloc-cadre-attention { --c: 255, 176, 102; }
.bloc-cadre-citation { --c: 199, 123, 255; }
.bloc-cadre-titre { display: block; margin-bottom: 6px; font-family: var(--font-titre); font-size: calc(18px * var(--t)); color: #fff; }
.bloc-cadre-titre i { margin-right: .5em; color: rgb(var(--c)); }
.bloc-cadre p { margin: 0 0 8px; }
.bloc-cadre p:last-child { margin-bottom: 0; }

.bloc-video { clear: both; margin: 22px 0; }
.bloc-video-lecture { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 10px; text-align: center; color: var(--ph-text); background: rgba(6, 11, 31, .6); cursor: pointer; transition: background .25s ease; }
.bloc-video-lecture:hover { background: rgba(6, 11, 31, .35); }
.bloc-video-lecture i { font-size: 56px; color: #fff; filter: drop-shadow(0 0 12px rgba(85, 223, 255, .9)); }
.bloc-video-lecture span { font-size: calc(18px * var(--t)); }
.bloc-video-lecture small { color: var(--ph-muted); font-size: calc(13px * var(--t)); }

/* ===== Page « Mes scripts et bots » ===== */
.scripts-intro { margin-bottom: 26px; text-align: justify; }
.script-item { margin-bottom: 24px; padding: 18px 22px; border: 1px solid var(--ph-cyan); border-radius: 15px; background: var(--panel); }
.script-item h2 { margin: 0 0 10px; font-family: var(--font-titre); font-size: calc(22px * var(--t)); font-weight: 400; }
.script-item .article-content { font-family: var(--font-texte); font-weight: 200;  font-size: calc(14px * var(--t)); margin-bottom: 14px; }
.script-fichier { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-top: 12px; border-top: 1px solid var(--ph-cyan); }
.script-fichier small { color: var(--ph-dim); font-family: var(--font-texte); font-size: calc(12px * var(--t)); overflow-wrap: anywhere; }

/* ===== Service presse : dossier complet ===== */
.press-complet { border-color: rgba(85, 223, 255, .55); box-shadow: 0 0 14px rgba(85, 223, 255, .25); }
.press-complet-icone { display: flex; align-items: center; justify-content: center; background: rgba(85, 223, 255, .08); font-size: 44px; color: var(--ph-cyan); }
.press-detail { color: var(--ph-dim); font-size: calc(14px * var(--t)); overflow-wrap: anywhere; }
.press-list .keyword-heading { margin: 22px 0 4px; }

/* ===== Bannière « Service presse » ===== */
.press-banner {
    display: flex; align-items: center; gap: 16px; max-width: 760px; margin: 0 auto 22px; padding: 12px 20px;
    border: 1px solid transparent; border-radius: 14px;
    background: linear-gradient(125deg, rgba(19, 39, 65, .96), rgba(8, 20, 39, .96)) padding-box, var(--ph-degrade) border-box;
    box-shadow: 0 0 8px rgba(85, 223, 255, .35), 0 0 18px rgba(199, 123, 255, .25);
    transition: box-shadow .3s ease, transform .3s ease;
}
.press-banner:hover { transform: translateY(-1px); box-shadow: 0 0 12px rgba(85, 223, 255, .6), 0 0 26px rgba(199, 123, 255, .45); }
.press-banner > i:first-child { font-size: 28px; color: var(--ph-cyan); filter: drop-shadow(0 0 6px rgba(85, 223, 255, .6)); }
.press-banner > i:last-child { margin-left: auto; color: var(--ph-champagne); }
.press-banner span { font-size: calc(16px * var(--t)); line-height: 1.3; }
.press-banner strong { display: block; font-family: var(--font-titre); font-size: calc(19px * var(--t)); font-weight: 400; color: #fff; }
@media (max-width: 560px) { .press-banner { gap: 12px; padding: 10px 14px; } }

/* ===== Service presse : dossiers par livre, sur deux colonnes ===== */
.mur { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }

.brique { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 18px; padding: 4px; }
.brique-img { display: block; }
.brique-img img { display: block; width: 100%; height: auto; border-radius: 4px; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .5)); transition: transform .25s ease; }
.brique:hover .brique-img img { transform: translateY(-2px); }
.brique-texte { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.brique h3 { margin: 0; font-size: calc(18px * var(--t)); font-weight: 400; line-height: 1.2; }
.brique h3 a:hover { color: var(--ph-link); }
.brique .outline-button { min-height: 30px; padding: 4px 12px; font-size: calc(14px * var(--t)); }
.brique-lien { color: var(--ph-link); font-size: calc(14px * var(--t)); }
.brique-lien:hover { text-decoration: underline; }

@media (max-width: 560px) {
    .mur { grid-template-columns: 1fr; }
    .brique { grid-template-columns: 110px minmax(0, 1fr); }
}
/* Dossier de presse complet : ton image à la place de l'icône, sans cadre */
.press-complet-image { flex: 0 0 250px; align-self: center; }
.press-complet-image img { display: block; width: 100%; height: auto; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .5)); }
@media (max-width: 560px) { .press-complet-image { flex-basis: 110px; } }

/* ===== Page d'erreur 404 ===== */
.page-404 { padding: 30px 4% 50px; text-align: center; }
.page-404 img { max-width: 100%; height: auto; margin: 0 auto; }

/* ===== Mise en page épurée : menu seul, sans bannière ===== */
.ph-nav-simple { position: relative; height: auto; padding: 16px 4%; flex-wrap: wrap; row-gap: 4px; border-bottom: 1px solid rgba(85, 223, 255, .3); background: linear-gradient(180deg, rgba(5, 10, 28, .92), rgba(5, 10, 28, .55)); }
.ph-nav-simple a { font-size: calc(17px * var(--t)); }

/* ===== Pages d'erreur ===== */
.page-erreur { max-width: 100%; margin: 0 auto; padding: 60px 4%; text-align: center; }
.page-erreur-code { margin: 0; font-family: var(--font-titre); font-size: 72px; line-height: 1; color: var(--ph-cyan); text-shadow: 0 0 20px rgba(85, 223, 255, .6); }
.page-erreur h1 { margin: 10px 0 14px; font-size: 32px; font-weight: 400; }
.page-erreur p { color: var(--ph-soft); }

/* ===== Livre en vedette et thème du moment : image au-dessus, texte dessous ===== */
@media (max-width: 900px) {
    .feature-stage { display: flex; flex-direction: column; align-items: center; min-height: 0; padding: 20px 5% 24px; }
    .feature-stage .feature-book-art { position: static; width: min(60%, 260px); height: auto; margin: 0 0 12px; }
    .feature-stage .feature-book-art img { height: auto; max-height: 340px; }
    .feature-stage .feature-copy { width: 100%; min-height: 0; margin: 0; padding: 0; text-align: center; }
    .feature-stage .feature-copy h1 { font-size: clamp(24px, 6vw, 32px); }

    .season-card { display: flex; flex-direction: column; min-height: 0; }
    .season-card .season-image { width: 100%; height: 190px; min-height: 0; }
    .season-card .season-image img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
    .season-card .season-copy { padding: 16px 18px 20px; text-align: center; }
    .season-card .season-copy > span { max-width: 100%; }
    .season-card .season-copy .outline-button { position: static; margin-top: 14px; min-width: 0; }
}