/*
 * NichePro — Plumes SHARED shell (header + footer + base)
 * Extrait de plumes-homepage.css (v1.36.0) : uniquement ce dont les pages
 * NON-home ont besoin (variables, container, header/nav/burger, chips
 * d'archives, footer, et leur responsive). La home continue de charger
 * plumes-homepage.css complet — ce fichier n'y est PAS chargé.
 * Toute modif du header/footer doit être faite DANS LES DEUX fichiers.
 */
body.plumes-homepage {
    background: #ffffff;
    color: #0F3A47;
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    --plumes-teal: #0F3A47;
    --plumes-teal-deep: #08222a;
    --plumes-cyan: #1FB5C5;
    --plumes-cyan-bright: #00B4D8;
    --plumes-gray-ghost: #C8D2D8;
    --plumes-gray-soft: #6a7a82;
    --plumes-rule: rgba(15, 58, 71, 0.1);
    --plumes-card-blue: #DCEEF9;
    --plumes-card-blue-end: #B4DCEF;
    --plumes-warm: #E8C9A0;
    --plumes-vert: #4A7A5A;
    --plumes-mauve: #9B6A8C;
    --plumes-bg: #ffffff;
    --plumes-bg-soft: #F5F8F9;
}

body.plumes-homepage * { box-sizing: border-box; }

.plumes-container { max-width: 1480px; margin: 0 auto; padding: 0 68px; }

.plumes-mono {
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ========================== HEADER ========================== */
.plumes-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 36px;
    align-items: center;
    padding: 20px 68px;
    border-bottom: 1px solid var(--plumes-rule);
    max-width: 1480px;
    margin: 0 auto;
}
.plumes-header .plumes-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    max-width: 340px;
}
/* Hard constraints so a big custom-logo (uploaded or generated by OpenAI)
   never blows up the header — parent Bloguten CSS sometimes wins on .custom-logo
   so we use !important and constrain both the inline svg and the <img>.
   --plumes-logo-h is overridable via Customizer (Plumes · Marque → Hauteur du logo). */
.plumes-header .plumes-brand img,
.plumes-header .plumes-brand .custom-logo,
.plumes-header .plumes-brand svg {
    height: var(--plumes-logo-h, 60px) !important;
    max-height: var(--plumes-logo-h, 60px) !important;
    max-width: min(320px, calc(var(--plumes-logo-h, 60px) * 5)) !important;
    width: auto !important;
    object-fit: contain;
    display: block;
}
.plumes-header .plumes-brand .plumes-wm {
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.02em;
    white-space: nowrap;
}
.plumes-header .plumes-brand .plumes-wm .a { color: var(--plumes-gray-soft); }
.plumes-header .plumes-brand .plumes-wm .b { color: var(--plumes-teal); }

.plumes-nav {
    display: flex;
    gap: 36px;
    font-weight: 500;
    font-size: 16px;
    justify-content: center;
}
.plumes-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--plumes-teal);
    text-decoration: none;
}
.plumes-nav a:hover { color: var(--plumes-cyan); }
.plumes-nav a .dot {
    width: 6px; height: 6px; border-radius: 50%;
    display: inline-block;
}

/* ── Dropdown submenu (desktop: hover/focus) ───────────────────── */
.plumes-nav-item { position: relative; display: inline-flex; align-items: center; }
.plumes-nav-item .plumes-nav-top {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--plumes-teal);
    text-decoration: none;
}
.plumes-nav-item .plumes-nav-top:hover { color: var(--plumes-cyan); }
.plumes-nav .caret {
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 1px;
    opacity: 0.55;
    transition: transform 200ms ease, opacity 200ms ease;
}
.plumes-nav-item.has-sub:hover .caret,
.plumes-nav-item.has-sub:focus-within .caret { transform: rotate(180deg); opacity: 1; }

.plumes-subnav {
    position: absolute;
    top: 100%; left: 50%;
    transform: translateX(-50%) translateY(2px);
    min-width: 224px;
    background: #fff;
    border: 1px solid var(--plumes-rule);
    border-radius: 14px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 40px rgba(15, 58, 71, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, transform 200ms ease, visibility 180ms;
    z-index: 60;
}
/* Invisible bridge so the cursor can travel from the link to the panel. */
.plumes-subnav::before {
    content: '';
    position: absolute;
    top: -12px; left: 0; right: 0;
    height: 12px;
}
.plumes-nav-item.has-sub:hover .plumes-subnav,
.plumes-nav-item.has-sub:focus-within .plumes-subnav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(8px);
}
.plumes-subnav-link {
    display: block;
    padding: 9px 14px;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 500;
    color: var(--plumes-teal);
    text-decoration: none;
    white-space: nowrap;
    transition: background 150ms ease, color 150ms ease;
}
.plumes-subnav-link:hover { background: var(--plumes-bg-soft); color: var(--plumes-cyan); }

/* ── Category archive: child-category chips ────────────────────── */
.nichepro-subcats-wrap { padding-top: 28px; padding-bottom: 4px; }
.nichepro-subcats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.nichepro-subcats__lbl {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--plumes-gray-soft);
}
.nichepro-subcats__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.nichepro-subcat-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--plumes-rule);
    border-radius: 999px;
    background: #fff;
    color: var(--plumes-teal);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: border-color 150ms ease, color 150ms ease, background 150ms ease;
}
.nichepro-subcat-chip:hover {
    border-color: var(--plumes-cyan);
    color: var(--plumes-cyan);
    background: var(--plumes-bg-soft);
}
.nichepro-subcat-chip .ct {
    font-size: 11px;
    font-weight: 700;
    color: var(--plumes-gray-soft);
    background: var(--plumes-bg-soft);
    border-radius: 999px;
    padding: 2px 7px;
}
.nichepro-subcat-chip:hover .ct { color: var(--plumes-cyan); background: #fff; }

.plumes-header .plumes-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
}
.plumes-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px 10px 22px;
    border: 1px solid var(--plumes-teal);
    border-radius: 100px;
    color: var(--plumes-teal);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 200ms, color 200ms;
}
.plumes-pill:hover { background: var(--plumes-teal); color: #fff; }
.plumes-pill .arr {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--plumes-cyan);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
}

/* ── Mobile burger menu (pure CSS, checkbox hack) ───────────────── */
.plumes-burger-toggle { display: none; }
.plumes-burger {
    display: none;          /* hidden on desktop, revealed in <=860px MQ */
    cursor: pointer;
    width: 36px; height: 36px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: 0;
    z-index: 50;
}
.plumes-burger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--plumes-teal);
    border-radius: 2px;
    transition: transform 250ms ease, opacity 200ms ease;
    transform-origin: center;
}


/* ========================== FOOTER ========================== */
.plumes-foot-wrap {
    position: relative;
    background: var(--plumes-teal-deep);
    color: rgba(255,255,255,0.7);
    padding: 72px 68px 0;
    overflow: hidden;
}
.plumes-foot-wrap .row {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    position: relative;
    z-index: 2;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.plumes-foot-wrap .row--no-socials {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;  /* "Suivre" column removed */
}
.plumes-foot-wrap .brand .wm {
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -0.02em;
}
.plumes-foot-wrap .brand .wm .a { color: rgba(255,255,255,0.5); }
.plumes-foot-wrap .brand .wm .b { color: #fff; }
.plumes-foot-wrap .brand .tg {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
}
.plumes-foot-wrap .brand .tg .it {
    font-style: italic;
    color: var(--plumes-cyan);
}
.plumes-foot-wrap h5 {
    font-family: 'Manrope', sans-serif;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--plumes-cyan);
    margin: 0 0 18px;
    font-weight: 500;
}
.plumes-foot-wrap a {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}
.plumes-foot-wrap a:hover { color: #fff; }
.plumes-foot-wrap .bot {
    display: flex;
    justify-content: space-between;
    padding: 28px 0 32px;
    font-family: 'Manrope', sans-serif;
    font-size: 10px;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.5);
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    gap: 16px;
    font-weight: 500;
}
.plumes-foot-wrap .water {
    position: absolute;
    left: 0; right: 0;
    bottom: -32px;
    text-align: center;
    font-weight: 800;
    font-size: 280px;
    line-height: 0.78;
    letter-spacing: -0.04em;
    color: rgba(255,255,255,0.04);
    z-index: 1;
    text-transform: uppercase;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}
.plumes-foot-wrap .water .it {
    font-style: italic;
    font-weight: 500;
    color: rgba(31, 181, 197, 0.07);
}

/* ========================== RESPONSIVE (coquille seule) ========================== */
@media (max-width: 1024px) {
    .plumes-container,
    .plumes-header,
    .plumes-foot-wrap { padding-left: 40px; padding-right: 40px; }
    .plumes-foot-wrap .water { font-size: 180px; }
}

@media (max-width: 860px) {
    .plumes-container,
    .plumes-header,
    .plumes-foot-wrap { padding-left: 24px; padding-right: 24px; }

    /* Header collapses to: logo + burger. The pill is hidden — categories cover the need. */
    .plumes-header {
        grid-template-columns: 1fr auto;
        gap: 16px;
        position: relative;
    }
    .plumes-header .plumes-brand img,
    .plumes-header .plumes-brand .custom-logo,
    .plumes-header .plumes-brand svg {
        height: calc(var(--plumes-logo-h, 60px) * 0.8) !important;
        max-height: calc(var(--plumes-logo-h, 60px) * 0.8) !important;
        max-width: min(240px, calc(var(--plumes-logo-h, 60px) * 4)) !important;
    }
    .plumes-burger { display: inline-flex; }
    .plumes-header .plumes-right { display: none; }

    /* Nav becomes a slide-down panel under the header */
    .plumes-nav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #fff;
        padding: 12px 24px 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: max-height 350ms ease, opacity 200ms ease, transform 250ms ease, padding 200ms ease;
        z-index: 40;
        border-bottom: 1px solid transparent;
        box-shadow: 0 0 0 rgba(0,0,0,0);
    }
    .plumes-nav a {
        font-size: 17px;
        padding: 14px 0;
        border-bottom: 1px solid var(--plumes-rule);
    }
    .plumes-nav > a:last-child { border-bottom: 0; }

    /* Dropdowns flatten into the burger panel: top item + indented children. */
    .plumes-nav-item { display: block; }
    .plumes-nav-item .plumes-nav-top {
        display: flex;
        font-size: 17px;
        padding: 14px 0;
        border-bottom: 1px solid var(--plumes-rule);
    }
    .plumes-nav .caret { display: none; }
    .plumes-subnav {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        min-width: 0;
        padding: 4px 0 10px 18px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .plumes-subnav-link {
        padding: 10px 0;
        font-size: 15px;
        color: var(--plumes-gray-soft);
    }
    .plumes-subnav-link:hover { background: transparent; }

    /* Open state */
    .plumes-burger-toggle:checked ~ .plumes-nav {
        max-height: 80vh;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        border-bottom-color: var(--plumes-rule);
        box-shadow: 0 16px 32px rgba(15, 58, 71, 0.08);
    }

    /* Burger → X animation */
    .plumes-burger-toggle:checked ~ .plumes-burger span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .plumes-burger-toggle:checked ~ .plumes-burger span:nth-child(2) { opacity: 0; }
    .plumes-burger-toggle:checked ~ .plumes-burger span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .plumes-foot-wrap { padding-top: 56px; }
    .plumes-foot-wrap .row {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        padding-bottom: 48px;
    }
    .plumes-foot-wrap .brand { grid-column: 1 / -1; }
    .plumes-foot-wrap .water { font-size: 140px; }
    .plumes-foot-wrap .bot {
        flex-direction: column;
        gap: 8px;
        padding-bottom: 24px;
    }
}
