:root {
    --color-bg: #0B1220;
    --color-surface: #131a22;
    --color-surface-strong: #1c2631;
    --color-border: #2d3e50;
    --color-text: #f0ede8;
    --color-text-muted: #a8b8c8;
    --color-brand: #19A4B0;
    --color-brand-alt: #67b7ff;
    --color-warm: #f4a261;
    --color-bois: #c4a882;
    --color-neige: rgba(238,244,250,0.12);
    --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.3);
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shell-width: 1120px;
}

/* ================================================
   FONTS — self-hosted (woff2, font-display: swap)
   Inter (texte/UI) : 400/500/600/700
   Plus Jakarta Sans (titres) : 500/600/700/800
   latin + latin-ext splittés par unicode-range
   ================================================ */

/* Inter — latin */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/Inter-400-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/assets/fonts/Inter-500-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/assets/fonts/Inter-600-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/assets/fonts/Inter-700-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Inter — latin-ext */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/Inter-400-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/assets/fonts/Inter-500-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/assets/fonts/Inter-600-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/assets/fonts/Inter-700-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Plus Jakarta Sans — latin */
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/assets/fonts/PlusJakartaSans-500-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/assets/fonts/PlusJakartaSans-600-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/assets/fonts/PlusJakartaSans-700-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("/assets/fonts/PlusJakartaSans-800-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Plus Jakarta Sans — latin-ext */
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/assets/fonts/PlusJakartaSans-500-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/assets/fonts/PlusJakartaSans-600-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/assets/fonts/PlusJakartaSans-700-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("/assets/fonts/PlusJakartaSans-800-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

* {
    box-sizing: border-box;
}

html {
    font-family: Inter, system-ui, sans-serif;
    background: linear-gradient(180deg, #0d1520 0%, #0d1117 100%);
    color: var(--color-text);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        linear-gradient(175deg, #0e1a2b 0%, #0c1524 35%, #0B1220 65%, #080e18 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23g)' opacity='0.06'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: 9999;
}

a {
    color: inherit;
    text-decoration: none;
}

.shell {
    width: min(calc(100% - 2rem), var(--shell-width));
    margin: 0 auto;
}

.site-header,
.site-footer {
    border-bottom: 1px solid rgba(196, 168, 130, 0.08);
    background: rgba(13, 17, 23, 0.88);
    backdrop-filter: blur(12px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
}

.site-footer {
    border-top: 1px solid rgba(196, 168, 130, 0.06);
    border-bottom: none;
    background: #080d0a;
    position: relative;
    overflow: hidden;
}

.header-topo {
    line-height: 0;
    overflow: hidden;
    opacity: 0.9;
}

.footer-forest {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    line-height: 0;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.footer-forest svg {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

.header-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.footer-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 2.5rem 0 2rem;
    position: relative;
    z-index: 1;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    letter-spacing: 0.01em;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius-sm);
    background: rgba(13, 17, 23, 0.9);
    border: 1px solid rgba(196, 168, 130, 0.18);
    flex-shrink: 0;
}

.brand-mark svg {
    width: 2rem;
    height: 2rem;
}

.brand-text {
    display: grid;
}

.brand-text strong,
.footer-title {
    font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-weight: 700;
}

.brand-text small {
    color: var(--color-text-muted);
    font-size: 0.78rem;
}

.main-nav {
    display: flex;
    gap: 1rem;
    color: var(--color-text-muted);
}

.main-nav a,
.footer-nav a {
    transition: color 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.footer-nav a:hover,
.text-link:hover {
    color: var(--color-text);
}

.header-actions,
.footer-nav {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.text-link {
    color: var(--color-brand-alt);
}

.consent-banner {
    position: sticky;
    top: 5.6rem;
    z-index: 18;
    border-bottom: 1px solid rgba(196, 168, 130, 0.08);
    background: rgba(12, 19, 27, 0.96);
    backdrop-filter: blur(12px);
}

.consent-banner-shell,
.consent-banner-actions,
.consent-notice-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.consent-banner-shell {
    justify-content: space-between;
    padding: 0.9rem 0;
}

.consent-banner-title {
    margin: 0 0 0.35rem;
    color: var(--color-text);
    font-weight: 700;
}

.consent-banner p {
    margin: 0;
    max-width: 760px;
    font-size: 0.98rem;
}

.consent-banner-actions {
    flex-shrink: 0;
}

.consent-banner-actions form {
    margin: 0;
}

.consent-notice-wrap {
    justify-content: flex-end;
    padding-top: 0.75rem;
}

.consent-notice {
    max-width: 520px;
}

.nav-toggle {
    display: none;
    min-height: 42px;
    padding: 0 1rem;
    border: 1px solid rgba(196, 168, 130, 0.12);
    border-radius: 999px;
    background: transparent;
    color: var(--color-text);
}

.site-main {
    overflow: clip;
}

.hero {
    padding: 5rem 0;
}

.hero-home {
    position: relative;
    padding-top: 6rem;
    padding-bottom: 10rem;
    isolation: isolate;
}

.hero-media-surface {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

.hero-media-surface img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.95) contrast(1.02);
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(13, 21, 32, 0.2), rgba(13, 19, 24, 0.7) 70%, rgba(13, 17, 23, 0.95)),
        radial-gradient(ellipse at 30% 15%, rgba(244, 162, 97, 0.08), transparent 35%),
        radial-gradient(ellipse at 72% 8%, rgba(103, 183, 255, 0.06), transparent 30%);
    pointer-events: none;
    z-index: -1;
}

.hero-grid,
.admin-shell {
    display: grid;
    gap: 2rem;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    align-items: center;
    position: relative;
}

.eyebrow,
.panel-label {
    margin: 0 0 1rem;
    color: var(--color-brand-alt);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
}

h1 {
    font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.02;
    margin: 0 0 1rem;
}

h2,
h3 {
    font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    margin: 0;
}

.lead,
p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.2rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--color-text);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.button-compact {
    min-height: 42px;
    padding: 0 1rem;
}

.button-primary {
    background: linear-gradient(135deg, var(--color-brand), #148791);
    color: #06131a;
    box-shadow: 0 4px 20px rgba(25, 164, 176, 0.22);
    transition: box-shadow 180ms ease, background 180ms ease;
}

.button-primary:hover {
    background: linear-gradient(135deg, #1cb8c6, #2fb09e);
    box-shadow: 0 6px 28px rgba(25, 164, 176, 0.35);
}

.button-secondary {
    background: rgba(19, 26, 34, 0.85);
    border-color: rgba(103, 183, 255, 0.25);
    color: var(--color-text);
}

.button-secondary:hover {
    border-color: rgba(103, 183, 255, 0.45);
    background: rgba(28, 38, 52, 0.9);
}

.button-reset-link {
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--color-brand-alt);
    cursor: pointer;
    font: inherit;
    padding: 0;
}

.panel,
.admin-card,
.admin-sidebar,
.admin-main {
    background: rgba(19, 26, 34, 0.8);
    border: 1px solid rgba(196, 168, 130, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.panel,
.admin-card {
    padding: 1.5rem;
}

.hero-panel {
    background: rgba(19, 26, 34, 0.78);
    border: 1.5px solid rgba(196, 168, 130, 0.15);
}

.hero-panel h2 {
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
}

.feature-list {
    margin: 0;
    padding-left: 1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.compact-list {
    margin-top: 1rem;
}

.field-help {
    display: block;
    margin-top: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.92rem;
}

.taxonomy-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 0.85rem;
}

.taxonomy-selector-card {
    margin: 0;
    padding: 1rem;
    border: 1px solid rgba(196, 168, 130, 0.1);
    border-radius: 1rem;
    background: rgba(13, 17, 23, 0.55);
}

.taxonomy-selector-card legend {
    padding: 0 0.35rem;
    color: var(--color-text);
    font-weight: 600;
}

.admin-media-thumb,
.compose-media-thumb {
    width: 88px;
    height: 66px;
    object-fit: cover;
    border-radius: 0.9rem;
    border: 1px solid rgba(196, 168, 130, 0.12);
}

.admin-media-preview {
    width: min(100%, 440px);
    border-radius: 1.1rem;
    border: 1px solid rgba(196, 168, 130, 0.12);
}

.media-preview-card {
    gap: 1rem;
}

.page-hero-picker {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.85rem;
}

.usage-title {
    margin-top: 1.25rem;
}

.checkbox-field {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.material-selection-grid,
.material-product-grid,
.admin-inline-grid {
    display: grid;
    gap: 1rem;
}

.material-selection-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.material-selection-card,
.material-product-card {
    background: rgba(19, 26, 34, 0.72);
    border: 1.5px solid rgba(196, 168, 130, 0.12);
}

.material-selection-card {
    padding: 1.5rem;
}

.material-selection-head,
.material-family-group {
    margin-bottom: 1.25rem;
}

.material-selection-summary {
    color: var(--color-text);
    font-size: 0.98rem;
}

.material-family-group h4,
.material-product-card h5 {
    margin: 0 0 0.5rem;
    font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
}

.material-product-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.material-product-card {
    padding: 1rem;
}

.admin-inline-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    align-items: center;
    margin-bottom: 0.75rem;
}

.product-inline-grid {
    grid-template-columns: minmax(260px, 2fr) repeat(4, minmax(120px, 1fr)) auto;
}

.admin-inline-grid input,
.admin-inline-grid select {
    width: 100%;
}

.admin-inline-grid-new {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(196, 168, 130, 0.08);
}

.inline-form-danger {
    margin: -0.25rem 0 0.75rem;
}

@media (max-width: 900px) {
    .product-inline-grid {
        grid-template-columns: 1fr;
    }

    .consent-banner {
        top: 4.8rem;
    }

    .consent-banner-shell,
    .consent-banner-actions,
    .consent-notice-wrap {
        align-items: stretch;
        flex-direction: column;
    }

    .consent-banner-actions {
        width: 100%;
    }

    .consent-banner-actions form,
    .consent-banner-actions button {
        width: 100%;
    }
}

.inline-checkbox {
    margin-top: 0.65rem;
}

.admin-list-header.compact {
    margin-bottom: 1rem;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
}

.hero-metrics li,
.tool-card,
.guide-card,
.proof-item,
.final-cta {
    background: rgba(19, 26, 34, 0.6);
    border: 1.5px solid rgba(196, 168, 130, 0.12);
}

.hero-metrics li {
    padding: 1rem;
}

.hero-metrics strong {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--color-warm);
    font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 1.6rem;
}

.hero-metrics span {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.section {
    padding: 2rem 0 5rem;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2rem;
}

.section-heading h2,
.section-proof h2,
.final-cta h2 {
    font-size: clamp(1.85rem, 3vw, 3rem);
    line-height: 1.1;
    margin-bottom: 0.8rem;
}

.section-heading-split,
.proof-grid,
.final-cta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.tool-grid,
.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.section-directory-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.rubric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.main-nav .is-active {
    color: var(--color-text);
}

.hero-home-cms {
    padding-bottom: 3rem;
}

.home-hero-grid,
.guides-hub-grid,
.tool-shell-grid,
.guide-content-grid,
.guidance-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.hero-intro-card,
.decision-card,
.featured-guide-card,
.guide-list-card,
.app-zone-card,
.tool-shell-panel,
.hub-side-panel,
.guidance-panel,
.cta-box,
.related-guides-panel {
    background: rgba(19, 26, 34, 0.6);
    border: 1px solid rgba(196, 168, 130, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.hero-intro-card,
.featured-guide-card,
.guide-list-card,
.app-zone-card,
.tool-shell-panel,
.hub-side-panel,
.guidance-panel,
.cta-box,
.related-guides-panel {
    padding: 1.5rem;
}

.home-panel {
    min-height: 100%;
}

.home-hero-media {
    margin: -0.35rem -0.35rem 1.2rem;
    overflow: hidden;
    border-radius: calc(var(--radius-lg) - 8px);
    border: 1px solid rgba(196, 168, 130, 0.1);
    background: rgba(13, 17, 23, 0.75);
}

.home-hero-media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.decision-grid,
.guides-grid-list,
.tool-features-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.decision-grid,
.tool-features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-directory-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.2rem;
    background: rgba(19, 26, 34, 0.5);
    border: 1.5px solid rgba(196, 168, 130, 0.12);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.section-directory-card h3 {
    margin-bottom: 0.65rem;
    color: var(--color-text);
    font-size: 1.1rem;
}

.section-directory-card p {
    color: var(--color-text-muted);
}

.section-directory-card.is-active {
    background: rgba(25, 33, 44, 0.78);
    border-color: rgba(196, 168, 130, 0.22);
    border-width: 2px;
}

.section-directory-card:hover {
    background: rgba(28, 38, 52, 0.82);
    border-color: rgba(196, 168, 130, 0.22);
    transform: translate(-1px, -2px);
}

.section-directory-state {
    margin-top: auto;
    padding-top: 1rem;
    color: var(--color-brand-alt);
    font-weight: 600;
}

.glossary-section-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.glossary-alpha-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.glossary-alpha-link {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(196, 168, 130, 0.18);
    background: rgba(19, 26, 34, 0.7);
    color: var(--color-text);
    text-decoration: none;
    font-weight: 700;
}

.glossary-alpha-link:hover {
    border-color: rgba(25, 164, 176, 0.35);
    background: rgba(28, 38, 52, 0.82);
}

.glossary-alpha-link small {
    color: var(--color-text-muted);
    font-size: 0.78rem;
}

.glossary-entry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.glossary-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1rem;
}

.glossary-entry-card {
    min-height: 100%;
}

.glossary-section-copy {
    display: grid;
    gap: 1rem;
}

.glossary-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(196, 168, 130, 0.1);
    border-radius: var(--radius-lg);
    background: rgba(19, 26, 34, 0.55);
}

.glossary-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 780px;
}

.glossary-table th,
.glossary-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(196, 168, 130, 0.08);
    text-align: left;
    vertical-align: top;
}

.glossary-table th {
    color: var(--color-text);
    background: rgba(13, 17, 23, 0.75);
}

.glossary-table td {
    color: var(--color-text-muted);
}

.decision-card {
    padding: 1.25rem;
}

.decision-card h3 {
    font-size: 1.05rem;
    line-height: 1.5;
}

.section-guidance {
    padding-top: 0;
}

.feature-list-spacious li + li {
    margin-top: 0.65rem;
}

.guide-tag,
.reading-time,
.session-badge,
.context-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(196, 168, 130, 0.1);
    border: 1px solid rgba(196, 168, 130, 0.18);
    color: var(--color-bois);
    font-size: 0.85rem;
}

.guide-card,
.guide-list-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.guide-card-footer,
.app-zone-header,
.featured-guide-card,
.context-chip-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.featured-guide-card {
    margin-bottom: 1.5rem;
}

.home-orientation-strip {
    margin-top: 1.5rem;
}

.guides-grid-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ── Navigation thèmes guides ─────────────────────────────── */
.guide-theme-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.guide-theme-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
    background: var(--color-surface-strong);
    border: 1px solid var(--color-border);
    text-decoration: none;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.guide-theme-pill:hover {
    color: var(--color-text);
    border-color: rgba(196, 168, 130, 0.35);
}

.guide-theme-pill.is-active {
    color: var(--color-bg);
    background: var(--color-brand);
    border-color: var(--color-brand);
    font-weight: 600;
}

.guide-theme-count {
    font-size: 0.72rem;
    font-weight: 600;
    color: inherit;
    opacity: 0.65;
}

/* ── Liens photo dans les cards ─────────────────────────── */
.card-cover-link,
.guide-card-cover-link {
    display: block;
    overflow: hidden;
    border-radius: inherit;
}

.card-cover-link img,
.guide-card-cover-link img {
    transition: transform 0.3s ease;
}

.card-cover-link:hover img,
.guide-card-cover-link:hover img {
    transform: scale(1.03);
}

.card-title-link {
    color: inherit;
    text-decoration: none;
}

.card-title-link:hover {
    color: var(--color-brand);
}

/* ── Image dans les guide-card homepage ─────────────────── */
.guide-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.guide-article .page-shell,
.guide-article .guide-content-card {
    max-width: none;
}

.guide-content-grid {
    grid-template-columns: 1fr;
}

.guide-content-card {
    display: grid;
    gap: 1.5rem;
}

.guide-sidebar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.guide-sidebar > .panel {
    flex: 1 1 280px;
}

/* Largeur de lecture bornée pour le corps d'article (sans casser figures/hero) */
.guide-content-card > .page-excerpt,
.guide-content-card > .guide-richtext,
.guide-content-card > .cms-block > h2,
.guide-content-card > .cms-block > p,
.guide-content-card > .cms-block > ul,
.guide-content-card > .cms-block > dl {
    max-width: 70ch;
    margin-left: auto;
    margin-right: auto;
}

.guide-richtext,
.guide-content-card p,
.guide-meta {
    color: var(--color-text-muted);
}

.guide-meta {
    margin: 0;
}

.cms-block-guide {
    padding-top: 1rem;
    border-top: 1px solid rgba(196, 168, 130, 0.1);
}

.cms-block-guide h2 {
    margin-bottom: 0.8rem;
}

.related-guide-link {
    display: block;
    color: var(--color-text);
}

.related-guide-link + .related-guide-link {
    margin-top: 0.85rem;
}

.tool-shell-hero {
    padding-bottom: 1.5rem;
}

.app-placeholder {
    display: grid;
    gap: 1rem;
}

.embedded-app-frame-wrap {
    overflow: hidden;
    border-radius: calc(var(--radius-lg) - 6px);
    border: 1px solid rgba(196, 168, 130, 0.1);
    background: rgba(13, 17, 23, 0.9);
}

.embedded-app-frame {
    width: 100%;
    min-height: 720px;
    border: 0;
    background: #0d1117;
}

/* ── Illustration inline (SVG / dessin) ──────────────────────── */
.guide-inline-figure {
    margin: 0.5rem auto;
    max-width: 640px;
    width: fit-content;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}
.guide-inline-figure img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.guide-inline-figure figcaption {
    padding: 0.5rem 1rem;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    background: var(--color-surface);
    font-style: italic;
}

/* ── FAQ guide ────────────────────────────────────────────────── */
.guide-faq {
    display: flex;
    flex-direction: column;
    margin: 1.25rem 0 0;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    padding: 0.9rem 1.25rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-text);
    background: var(--color-surface-strong);
    border-bottom: 1px solid var(--color-border);
    margin: 0;
}

.faq-question::before {
    content: 'Q';
    flex-shrink: 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-brand);
    background: rgba(25, 164, 176, 0.15);
    padding: 0.15em 0.5em;
    border-radius: 4px;
}

.faq-answer {
    padding: 0.85rem 1.25rem 0.95rem 1.25rem;
    font-size: 0.88rem;
    color: var(--color-text-muted);
    background: var(--color-surface);
    margin: 0;
    line-height: 1.65;
    border-bottom: 1px solid var(--color-border);
}

.faq-answer:last-child {
    border-bottom: none;
}

/* ── Photo terrain personnelle ───────────────────────────────── */
.guide-photo-terrain {
    margin: 2rem 0 1rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.guide-photo-terrain img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.guide-photo-terrain figcaption {
    padding: 0.55rem 1rem;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    background: var(--color-surface);
    font-style: italic;
}

.session-badge-guest {
    background: rgba(242, 185, 75, 0.12);
    border-color: rgba(242, 185, 75, 0.24);
}

.session-badge-free {
    background: rgba(79, 179, 255, 0.12);
    border-color: rgba(79, 179, 255, 0.24);
}

.session-badge-premium {
    background: rgba(79, 175, 123, 0.12);
    border-color: rgba(79, 175, 123, 0.24);
}

.tool-access-note,
.app-inline-notice {
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(196, 168, 130, 0.12);
    background: rgba(19, 26, 34, 0.78);
    color: var(--color-text-muted);
}

.app-inline-notice strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--color-text);
}

.app-inline-notice p,
.tool-access-note {
    margin-bottom: 0;
}

.app-inline-notice-premium {
    border-color: rgba(79, 175, 123, 0.22);
    background: rgba(16, 43, 34, 0.45);
}

.app-zone-footer-actions {
    margin-top: 0.85rem;
}

@media (max-width: 920px) {
    .home-hero-grid,
    .guides-hub-grid,
    .tool-shell-grid,
    .guide-content-grid,
    .guidance-grid,
    .section-heading-split,
    .proof-grid,
    .final-cta,
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .decision-grid,
    .tool-features-grid,
    .guides-grid-list,
    .section-directory-grid,
    .glossary-entry-grid,
    .rubric-grid,
    .tool-grid,
    .guide-grid {
        grid-template-columns: 1fr;
    }
}

.tool-card,
.guide-card,
.proof-item {
    padding: 1.4rem;
    transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease, border-top-color 200ms ease, transform 150ms ease;
}

.tool-card,
.guide-card,
.section-directory-card {
    text-decoration: none;
}

.card-cover {
    display: block;
    width: calc(100% + 2.8rem);
    margin: -1.4rem -1.4rem 1rem;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-bottom: 1px solid rgba(196, 168, 130, 0.1);
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
    background: rgba(13, 17, 23, 0.7);
}

.tool-card:hover,
.guide-card:hover,
.proof-item:hover {
    background: rgba(28, 38, 52, 0.82);
    border-color: rgba(196, 168, 130, 0.22);
    box-shadow: 6px 8px 0px rgba(0,0,0,0.45), 0 0 0 1px rgba(196,168,130,0.08) inset;
    transform: translate(-1px, -2px);
}

.tool-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-sm);
    background: transparent;
    border: 1px solid rgba(196, 168, 130, 0.22);
    color: var(--color-brand-alt);
}

.tool-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tool-kicker,
.guide-tag {
    margin-bottom: 0.5rem;
    color: var(--color-brand-alt);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tool-card h3,
.guide-card h3,
.proof-item strong {
    margin-bottom: 0.65rem;
    color: var(--color-text);
    font-size: 1.25rem;
    line-height: 1.25;
}

.text-link {
    display: inline-flex;
    margin-top: 1rem;
    color: var(--color-brand-alt);
    font-weight: 600;
}

.text-link:focus-visible,
.button:focus-visible,
.main-nav a:focus-visible,
.footer-nav a:focus-visible,
.brand:focus-visible {
    outline: 2px solid rgba(244, 162, 97, 0.55);
    outline-offset: 3px;
}

.proof-list {
    display: grid;
    gap: 1rem;
}

.section-proof {
    position: relative;
}

.section-proof::before,
.section-guides::before {
    content: "";
    display: block;
    width: min(100%, 1120px);
    height: 1px;
    margin: 0 auto 2rem;
    background: linear-gradient(90deg, transparent, rgba(196, 168, 130, 0.22), rgba(244, 162, 97, 0.15), transparent);
}

.final-cta {
    padding: 2rem;
    align-items: center;
    background: rgba(26, 38, 56, 0.9);
    border: 1px solid rgba(25, 164, 176, 0.28);
}

.cta-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.admin-body {
    padding: 1.5rem;
}

.admin-shell {
    grid-template-columns: 280px minmax(0, 1fr);
}

.admin-sidebar,
.admin-main {
    padding: 1.5rem;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-user {
    margin: 0;
    color: var(--color-text);
    font-weight: 600;
}

.admin-nav {
    display: grid;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.admin-nav a {
    color: var(--color-text-muted);
}

.admin-auth-body {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 1.5rem;
}

.admin-auth-shell {
    width: min(100%, 520px);
}

.admin-login-card {
    padding: 2rem;
    background: rgba(13, 17, 23, 0.9);
    border: 1px solid rgba(196, 168, 130, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.admin-form {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.form-field {
    display: grid;
    gap: 0.45rem;
    color: var(--color-text);
    font-weight: 600;
}

.form-field input {
    min-height: 48px;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(196, 168, 130, 0.14);
    border-radius: var(--radius-sm);
    background: rgba(13, 17, 23, 0.75);
    color: var(--color-text);
}

.form-field select,
.form-field textarea {
    min-height: 48px;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(196, 168, 130, 0.14);
    border-radius: var(--radius-sm);
    background: rgba(13, 17, 23, 0.75);
    color: var(--color-text);
    font: inherit;
}

.form-field input:focus {
    outline: 2px solid rgba(244, 162, 97, 0.35);
    outline-offset: 1px;
}

.form-field select:focus,
.form-field textarea:focus {
    outline: 2px solid rgba(244, 162, 97, 0.35);
    outline-offset: 1px;
}

.form-alert {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(227, 93, 93, 0.25);
    border-radius: var(--radius-sm);
    background: rgba(227, 93, 93, 0.12);
    color: var(--color-text);
}

.form-alert-success {
    border-color: rgba(79, 175, 123, 0.22);
    background: rgba(79, 175, 123, 0.12);
}

.form-note {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.admin-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.admin-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 0.9rem 0.75rem;
    border-bottom: 1px solid rgba(196, 168, 130, 0.06);
    text-align: left;
    vertical-align: top;
}

.table-subtitle {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.status-pill {
    display: inline-flex;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-draft {
    background: rgba(242, 185, 75, 0.14);
    color: #f2b94b;
}

.status-published {
    background: rgba(79, 175, 123, 0.14);
    color: #4faf7b;
}

.admin-page-form {
    display: grid;
    gap: 1rem;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-field-full {
    grid-column: 1 / -1;
}

.page-shell {
    max-width: 760px;
}

.page-hero {
    padding-top: 5rem;
}

.page-hero-media,
.cms-block-media {
    margin-bottom: 1.25rem;
}

.page-hero-media img,
.cms-block-media img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 1.25rem;
    border: 1px solid rgba(196, 168, 130, 0.12);
}

.page-hero-credit {
    margin-top: 0.5rem;
    font-size: 0.92rem;
    color: var(--color-text-muted);
}

.page-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: var(--color-text-muted);
}

.page-content-card {
    padding: 2rem;
    background: rgba(19, 26, 34, 0.72);
    border: 1.5px solid rgba(196, 168, 130, 0.12);
}

.page-excerpt {
    color: var(--color-text);
    font-size: 1.15rem;
}

.page-richtext {
    color: var(--color-text-muted);
    line-height: 1.8;
}

.compose-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.compose-list {
    display: grid;
    gap: 0.75rem;
}

.compose-item {
    display: grid;
    gap: 0.25rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(196, 168, 130, 0.06);
    border-radius: var(--radius-sm);
    background: rgba(13, 17, 23, 0.45);
}

.cms-block {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(196, 168, 130, 0.06);
}

.page-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

@media (max-width: 800px) {
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .header-shell,
    .footer-shell,
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-actions {
        display: none;
    }

    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        padding-top: 0.5rem;
    }

    .main-nav.is-open {
        display: flex;
    }

    .hero-grid,
    .admin-shell,
    .rubric-grid,
    .tool-grid,
    .guide-grid,
    .proof-grid,
    .section-heading-split,
    .final-cta,
    .hero-metrics,
    .admin-metrics-grid {
        grid-template-columns: 1fr;
    }

    .admin-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .section {
        padding-bottom: 4rem;
    }

    .final-cta {
        padding: 1.5rem;
    }

    .cta-actions {
        justify-content: flex-start;
    }

    .admin-list-header,
    .admin-form-grid,
    .compose-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   TEXTURES & AMBIANCE TERRAIN — Hike & Fly
   ================================================ */

/* Eyebrow coordonnée GPS */
.eyebrow-coord {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    color: var(--color-brand-alt);
    text-transform: none;
    margin: 0 0 1rem;
}

.eyebrow-spot {
    color: var(--color-text-muted);
    font-weight: 400;
    letter-spacing: 0.03em;
}

.eyebrow-sep {
    opacity: 0.35;
}

/* Hero texture layers */
.hero-topo-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.hero-foret {
    position: absolute;
    bottom: 63px;
    left: 0;
    width: 100%;
    pointer-events: none;
    line-height: 0;
    z-index: 1;
}

.hero-ridge {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    pointer-events: none;
    line-height: 0;
    z-index: 2;
}

/* Contenu hero au-dessus des couches */
.hero-home .shell {
    position: relative;
    z-index: 3;
}

/* Sections avec texture absolue */
.section-proof,
.section-bois {
    position: relative;
    overflow: hidden;
}

.section-topo-bg,
.section-bois-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Tool cards : barre colorée en haut */
.tool-card {
    border-top-width: 3px;
    border-top-style: solid;
    border-top-color: transparent;
}

.tool-card--meteo  { border-top-color: rgba(103, 183, 255, 0.55); }
.tool-card--planif { border-top-color: rgba(106, 175, 122, 0.55); }
.tool-card--mat    { border-top-color: rgba(244, 162, 97,  0.55); }

.tool-card--meteo:hover  { border-top-color: rgba(103, 183, 255, 0.92); }
.tool-card--planif:hover { border-top-color: rgba(106, 175, 122, 0.92); }
.tool-card--mat:hover    { border-top-color: rgba(244, 162, 97,  0.92); }

/* Icône SVG variantes couleur */
.tool-icon--planif {
    border-color: rgba(106, 175, 122, 0.28);
    color: #6aaf7a;
}

.tool-icon--mat {
    border-color: rgba(244, 162, 97, 0.28);
    color: #f4a261;
}

/* ================================================
   CEL SHADING + CONTOUR FEUTRE
   Ombres dures offset (style graphique) +
   radius légèrement asymétriques (dessin rapide)
   ================================================ */

/* Ombre dure offset — toutes les cartes */
.panel,
.admin-card,
.hero-panel,
.hero-intro-card,
.decision-card,
.featured-guide-card,
.guide-list-card,
.app-zone-card,
.tool-shell-panel,
.hub-side-panel,
.guidance-panel,
.cta-box,
.related-guides-panel,
.section-directory-card,
.material-selection-card,
.material-product-card,
.page-content-card,
.admin-login-card,
.tool-card,
.guide-card,
.proof-item,
.final-cta,
.hero-metrics li {
    box-shadow: 4px 5px 0px rgba(0,0,0,0.4), 0 0 0 1px rgba(196,168,130,0.04) inset;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.section-directory-card:hover,
.tool-card:hover,
.guide-card:hover,
.proof-item:hover {
    transform: translate(-1px, -2px);
    box-shadow: 6px 8px 0px rgba(0,0,0,0.45), 0 0 0 1px rgba(196,168,130,0.06) inset;
}

/* Radius asymétriques — contour dessiné à la main, écarts larges */
.panel,
.admin-card,
.admin-sidebar,
.admin-main                       { border-radius: 10px 28px 8px 24px / 24px 10px 28px 12px; }
.hero-panel                       { border-radius: 26px 8px 32px 12px / 10px 30px 8px 26px; }
.hero-metrics li:nth-child(1)     { border-radius: 12px 28px 8px 24px / 26px 10px 28px 12px; }
.hero-metrics li:nth-child(2)     { border-radius: 28px 10px 24px 14px / 12px 26px 10px 30px; }
.hero-metrics li:nth-child(3)     { border-radius: 8px 24px 30px 10px / 28px 12px 8px 26px; }
.hero-metrics li:nth-child(4)     { border-radius: 26px 12px 10px 30px / 8px 28px 26px 10px; }
.tool-card:nth-child(odd)         { border-radius: 8px 30px 12px 32px / 32px 10px 26px 8px; }
.tool-card:nth-child(even)        { border-radius: 30px 8px 28px 12px / 10px 30px 8px 26px; }
.guide-card:nth-child(odd)        { border-radius: 12px 32px 8px 26px / 28px 8px 32px 12px; }
.guide-card:nth-child(even)       { border-radius: 30px 8px 24px 14px / 10px 28px 12px 30px; }
.proof-item:nth-child(1)          { border-radius: 26px 10px 30px 8px / 8px 28px 10px 26px; }
.proof-item:nth-child(2)          { border-radius: 8px 26px 10px 32px / 32px 8px 26px 10px; }
.proof-item:nth-child(3)          { border-radius: 28px 8px 26px 12px / 12px 26px 8px 28px; }
.guide-list-card,
.decision-card,
.featured-guide-card              { border-radius: 32px 8px 26px 14px / 10px 30px 8px 28px; }
.hero-intro-card,
.app-zone-card                    { border-radius: 10px 30px 32px 8px / 8px 26px 12px 32px; }
.material-selection-card,
.material-product-card            { border-radius: 8px 32px 8px 26px / 28px 8px 32px 8px; }
.page-content-card                { border-radius: 26px 8px 12px 32px / 10px 28px 32px 8px; }
.section-directory-card:nth-child(1) { border-radius: 8px 28px 12px 26px / 26px 8px 30px 10px; }
.section-directory-card:nth-child(2) { border-radius: 30px 10px 26px 12px / 12px 32px 8px 26px; }
.section-directory-card:nth-child(3) { border-radius: 12px 26px 32px 8px / 8px 12px 26px 32px; }
.section-directory-card:nth-child(4) { border-radius: 26px 8px 10px 32px / 32px 26px 12px 8px; }
.section-directory-card:nth-child(5) { border-radius: 10px 32px 8px 24px / 24px 8px 32px 12px; }
.section-directory-card:nth-child(n+6) { border-radius: 32px 12px 26px 8px / 8px 26px 10px 32px; }
.final-cta                        { border-radius: 10px 32px 8px 26px / 26px 8px 32px 10px; }

/* Boutons : ombre dure légère */
.button-primary  { box-shadow: 2px 3px 0px rgba(0,0,0,0.35); }
.button-secondary { box-shadow: 2px 3px 0px rgba(0,0,0,0.2); }

/* Tags : contour feutre */
.guide-tag,
.reading-time,
.session-badge,
.context-chip { box-shadow: 1px 2px 0px rgba(0,0,0,0.2); }

/* ------------------------------------------------------------------ */
/* Commerce Ridair — LOT 1/2/3 (catalogue admin, remises, pages SEO)  */
/* ------------------------------------------------------------------ */

.muted { color: var(--color-text-muted); }

.plain-link { color: inherit; text-decoration: none; }
.plain-link:hover { color: var(--color-brand); }

.rich-text p { margin: 0 0 0.9rem; }
.rich-text a { color: var(--color-brand-alt); }

/* Fil d'ariane */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--color-text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-brand); }
.breadcrumb [aria-current="page"] { color: var(--color-text); }
.breadcrumb-sep { opacity: 0.5; }

/* Petits badges / pills */
.tag-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    margin: 0 0.25rem 0.25rem 0;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: 0.72rem;
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.03);
}
.tag-badge.tag-warn { border-color: rgba(244, 162, 97, 0.4); color: var(--color-warm); }
.tier-badge { border-color: var(--color-brand); color: var(--color-brand); }
.form-alert-error { border-color: rgba(227, 93, 93, 0.35); background: rgba(227, 93, 93, 0.16); }

/* Admin — catalogue */
.admin-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: flex-end;
}
.admin-filter-bar label {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}
.admin-filter-bar select,
.admin-filter-bar input {
    background: var(--color-surface-strong);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    padding: 0.45rem 0.6rem;
}
.admin-table-scroll { overflow-x: auto; }
.catalog-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.catalog-table th,
.catalog-table td {
    padding: 0.55rem 0.6rem;
    border-bottom: 1px solid rgba(196, 168, 130, 0.08);
    text-align: left;
    vertical-align: middle;
}
.catalog-table tr.row-hidden { opacity: 0.5; }
.catalog-table input[type="text"],
.catalog-table select {
    background: var(--color-surface-strong);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    padding: 0.3rem 0.4rem;
    max-width: 12rem;
}
.catalog-product { display: flex; align-items: center; gap: 0.6rem; }
.catalog-product span.muted { display: block; font-size: 0.72rem; }
.catalog-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: var(--radius-sm); background: var(--color-surface-strong); }
.admin-log-tail {
    max-height: 12rem;
    overflow: auto;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.6rem;
    font-size: 0.72rem;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Pack pricing */
.pack-pricing {
    margin: 1rem 0;
    padding: 0.9rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
}
.pack-pricing-weight { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.6rem; flex-wrap: wrap; }
.pack-weight-total { color: var(--color-text-muted); font-size: 0.85rem; }
.pack-pricing-figures { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.pack-price-label { color: var(--color-text-muted); font-size: 0.8rem; }
.pack-price-strike { color: var(--color-text-muted); text-decoration: line-through; }
.pack-price-final { font-size: 1.5rem; font-weight: 700; color: var(--color-text); }
.pack-price-savings {
    color: var(--color-brand);
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid var(--color-brand);
    border-radius: 999px;
    padding: 0.1rem 0.5rem;
}
.pack-pricing-note { margin: 0.6rem 0 0; font-size: 0.78rem; }

/* Gamme par poids */
.weight-tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.weight-tier-card {
    padding: 1.2rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.weight-tier-card.is-empty { opacity: 0.55; }
.weight-tier-card.tier-ultra-light { border-top: 3px solid var(--color-brand); }
.weight-tier-card.tier-light { border-top: 3px solid var(--color-brand-alt); }
.weight-tier-card.tier-confort { border-top: 3px solid var(--color-warm); }
.weight-tier-figure { font-size: 2rem; line-height: 1; margin: 0.2rem 0; }
.weight-tier-figure strong { font-size: 2.4rem; }
.weight-tier-empty { color: var(--color-text-muted); }
.weight-tier-price { margin: 0.3rem 0; }

/* Pages détail sélection / pack */
.materiel-detail-intro {
    max-width: 60ch;
    color: var(--color-text);
    margin-top: 1rem;
}
.materiel-detail-count { color: var(--color-text-muted); max-width: 34ch; }
.materiel-detail-cta { margin-top: 2rem; }

/* ------------------------------------------------------------------ */
/* Shell météo / planifier antifragile (LOT 5)                        */
/* ------------------------------------------------------------------ */

.button-ghost {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
}
.button-ghost:hover { color: var(--color-text); border-color: var(--color-brand); }

.app-linkout {
    padding: 1.5rem;
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-md);
    background: rgba(25, 164, 176, 0.05);
}
.app-linkout p { margin: 0 0 1rem; color: var(--color-text-muted); max-width: 62ch; }

/* Widget volabilité */
.volability-widget {
    margin-bottom: 1.25rem;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface-strong);
}
.volability-widget .vol-score { display: flex; align-items: baseline; gap: 0.35rem; }
.volability-widget .vol-score strong { font-size: 2.2rem; line-height: 1; }
.volability-widget .vol-score span { color: var(--color-text-muted); font-size: 0.9rem; }
.volability-widget .vol-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin: 0.5rem 0;
}
.volability-widget .vol-bar span { display: block; height: 100%; border-radius: 999px; background: var(--color-brand); }
.volability-widget.vol-good .vol-bar span { background: #4faf7b; }
.volability-widget.vol-ok .vol-bar span { background: var(--color-brand); }
.volability-widget.vol-mid .vol-bar span { background: var(--color-warm); }
.volability-widget.vol-low .vol-bar span { background: #e35d5d; }
.volability-widget .vol-label { font-weight: 600; margin: 0.25rem 0; }
.volability-widget .vol-valid,
.volability-widget .vol-source { font-size: 0.75rem; margin: 0.2rem 0 0; }
.volability-widget .vol-source a { color: var(--color-brand-alt); }

/* Avertissement admin : produit forcé mais masqué au catalogue (LOT 1) */
.hidden-forced-warning {
    margin: 0.4rem 0 0;
    padding: 0.4rem 0.6rem;
    border: 1px solid rgba(244, 162, 97, 0.45);
    border-radius: var(--radius-sm);
    background: rgba(244, 162, 97, 0.12);
    color: var(--color-warm);
    font-size: 0.78rem;
}
.hidden-forced-warning a { color: var(--color-warm); text-decoration: underline; }
.material-product-card.is-hidden-forced { border-color: rgba(244, 162, 97, 0.5); }
