/* =========================================================================
   Waale — Feuille de style principale
   Direction : éditorial / artisanal / palette ambrée + crème + stout
   ========================================================================= */

/* ---------- Variables ----------------------------------------------------- */
:root {
    --c-cream:        #f4ead5;
    --c-cream-light:  #faf6ec;
    --c-cream-dark:   #e8dcc0;
    --c-paper:        #f1e6cb;

    --c-stout:        #1a0e0a;
    --c-stout-soft:   #2b1810;
    --c-roast:        #4a2e1f;

    --c-amber:        #c87533;
    --c-amber-deep:   #a55a22;
    --c-amber-light:  #e6a560;

    --c-hop:          #5e7d3e;
    --c-hop-deep:     #3f5727;

    --c-rule:         rgba(26, 14, 10, 0.18);
    --c-rule-soft:    rgba(26, 14, 10, 0.10);

    --ff-display:     'Fraunces', 'Times New Roman', serif;
    --ff-body:        'Manrope', system-ui, -apple-system, sans-serif;
    --ff-mono:        'JetBrains Mono', ui-monospace, monospace;

    --container:      1240px;
    --container-pad:  clamp(1.2rem, 4vw, 2.5rem);

    --ease:           cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Reset léger --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- Body et fond avec grain -------------------------------------- */
body {
    font-family: var(--ff-body);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.6;
    color: var(--c-stout);
    background-color: var(--c-cream);
    background-image:
        radial-gradient(ellipse at 12% 0%, rgba(200,117,51,0.10), transparent 55%),
        radial-gradient(ellipse at 110% 90%, rgba(94,125,62,0.08), transparent 50%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Grain SVG overlay sur tout le site */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.18;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='5'/><feColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.09 0 0 0 0 0.06 0 0 0 0.6 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}

::selection { background: var(--c-amber); color: var(--c-cream-light); }

/* ---------- Typographie --------------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--ff-display);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -0.01em;
    font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
    color: var(--c-stout);
}
h1 { font-size: clamp(2.8rem, 7.5vw, 6.5rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 5vw, 3.8rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }

.eyebrow {
    font-family: var(--ff-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--c-amber-deep);
    font-weight: 500;
}

.lede {
    font-family: var(--ff-display);
    font-weight: 300;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    line-height: 1.4;
    font-variation-settings: "opsz" 96;
    color: var(--c-roast);
}

p a {
    color: var(--c-amber-deep);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color .2s var(--ease);
}
p a:hover { color: var(--c-stout); }

/* ---------- Conteneur ----------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

/* ---------- Topbar (anniversaire) ---------------------------------------- */
.topbar {
    background: var(--c-stout);
    color: var(--c-cream-light);
    font-family: var(--ff-mono);
    font-size: 0.82rem;
    letter-spacing: 0.05em;
}
.topbar__inner {
    max-width: var(--container);
    margin-inline: auto;
    padding: 0.65rem var(--container-pad);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}
.topbar__pill {
    background: var(--c-amber);
    color: var(--c-stout);
    padding: 0.15rem 0.7rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.75rem;
}
.topbar__link { color: var(--c-amber-light); }
.topbar__link:hover { color: var(--c-cream-light); }

/* ---------- Header / navigation ------------------------------------------ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(244, 234, 213, 0.82);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid var(--c-rule-soft);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-block: 1.1rem;
}

.brand {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    color: var(--c-stout);
}
.brand__logo {
    width: 34px;
    height: 34px;
    color: var(--c-amber-deep);
    transform: translateY(7px);
}
.brand__word {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: 1.85rem;
    letter-spacing: -0.02em;
    font-variation-settings: "opsz" 144, "WONK" 1;
}
.brand__sub {
    font-family: var(--ff-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-roast);
    opacity: 0.7;
}

.site-nav {
    display: flex;
    gap: clamp(1rem, 2.5vw, 2.2rem);
    align-items: center;
}
.site-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--c-stout);
    position: relative;
    padding: 0.3rem 0;
    transition: color .2s var(--ease);
}
.site-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 2px;
    background: var(--c-amber);
    transition: right .35s var(--ease);
}
.site-nav a:hover,
.site-nav a.is-active { color: var(--c-amber-deep); }
.site-nav a:hover::after,
.site-nav a.is-active::after { right: 0; }

.nav-toggle {
    display: none;
    width: 38px; height: 38px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 100%; height: 2px;
    background: var(--c-stout);
    transition: transform .3s var(--ease), opacity .3s var(--ease);
    transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--c-cream);
        padding: 1rem var(--container-pad) 1.5rem;
        border-bottom: 1px solid var(--c-rule);
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s var(--ease);
    }
    .site-nav.is-open { max-height: 80vh; }
    .site-nav a { padding: 0.9rem 0; border-bottom: 1px solid var(--c-rule-soft); font-size: 1.05rem; }
}

/* =========================================================================
   HERO (accueil)
   ========================================================================= */
.hero {
    position: relative;
    padding-block: clamp(3rem, 8vw, 7rem);
    overflow: hidden;
}
.hero__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: end;
}
@media (max-width: 880px) {
    .hero__grid { grid-template-columns: 1fr; }
}
.hero__eyebrow { margin-bottom: 1.5rem; }
.hero__title {
    font-size: clamp(3rem, 9vw, 8rem);
    line-height: 0.92;
    letter-spacing: -0.035em;
    font-weight: 300;
    font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 1;
}
.hero__title em {
    font-style: italic;
    font-weight: 400;
    color: var(--c-amber-deep);
    font-variation-settings: "opsz" 144, "WONK" 1;
}
.hero__title-deco {
    display: inline-block;
    transform: translateY(-0.12em);
    color: var(--c-hop);
}
.hero__lede {
    margin-top: 1.8rem;
    max-width: 32ch;
}
.hero__cta {
    margin-top: 2.2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__side {
    position: relative;
    padding-bottom: 1rem;
}
.hero__stats {
    border-top: 1px solid var(--c-rule);
    padding-top: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.hero__stat-num {
    font-family: var(--ff-display);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1;
    font-weight: 400;
    font-variation-settings: "opsz" 144, "WONK" 1;
    color: var(--c-stout);
    display: block;
}
.hero__stat-num sup {
    font-size: 0.4em;
    color: var(--c-amber-deep);
    margin-left: 0.15em;
    vertical-align: top;
}
.hero__stat-label {
    font-family: var(--ff-mono);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-roast);
    margin-top: 0.4rem;
    display: block;
}

/* Marquee décoratif sous le hero */
.marquee {
    margin-top: 3rem;
    overflow: hidden;
    border-block: 1px solid var(--c-rule);
    padding-block: 1rem;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: marquee 38s linear infinite;
    font-family: var(--ff-display);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-style: italic;
    font-variation-settings: "opsz" 144, "WONK" 1;
    color: var(--c-roast);
    white-space: nowrap;
}
.marquee__track span { display: flex; align-items: center; gap: 3rem; }
.marquee__track span::after {
    content: '✦';
    color: var(--c-amber);
    font-size: 0.7em;
    font-style: normal;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Boutons ------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.95rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    border: 1.5px solid transparent;
    transition: all .3s var(--ease);
    cursor: pointer;
}
.btn--primary {
    background: var(--c-stout);
    color: var(--c-cream-light);
    border-color: var(--c-stout);
}
.btn--primary:hover {
    background: var(--c-amber-deep);
    border-color: var(--c-amber-deep);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(26,14,10,0.18);
}
.btn--ghost {
    background: transparent;
    color: var(--c-stout);
    border-color: var(--c-stout);
}
.btn--ghost:hover {
    background: var(--c-stout);
    color: var(--c-cream-light);
}
.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* =========================================================================
   Sections génériques
   ========================================================================= */
.section {
    padding-block: clamp(4rem, 9vw, 7rem);
    position: relative;
}
.section--alt {
    background: var(--c-cream-dark);
    border-block: 1px solid var(--c-rule);
}
.section--dark {
    background: var(--c-stout);
    color: var(--c-cream-light);
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--c-cream-light); }
.section--dark .eyebrow { color: var(--c-amber-light); }

.section__head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: end;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (max-width: 720px) {
    .section__head { grid-template-columns: 1fr; align-items: start; }
}
.section__head .lede { max-width: 38ch; }

/* =========================================================================
   Grille des bières
   ========================================================================= */
.bieres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.biere-card {
    position: relative;
    background: var(--c-cream-light);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--c-rule);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
    display: flex;
    flex-direction: column;
}
.biere-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px -12px rgba(26,14,10,0.25);
}
.biere-card__visual {
    aspect-ratio: 4 / 5;
    background: linear-gradient(180deg, var(--c-cream) 0%, var(--biere-color, var(--c-amber)) 100%);
    position: relative;
    display: flex;
    align-items: end;
    justify-content: center;
    padding-bottom: 2rem;
    overflow: hidden;
}
.biere-card__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' seed='3'/></filter><rect width='100' height='100' filter='url(%23g)' opacity='0.4'/></svg>");
    opacity: 0.5;
    mix-blend-mode: overlay;
}
.biere-card__bottle {
    width: 60px;
    height: auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 8px 18px rgba(26,14,10,0.35));
}
.biere-card__type {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(26,14,10,0.85);
    color: var(--c-cream-light);
    font-family: var(--ff-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    z-index: 2;
}
.biere-card__medal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    font-size: 1.6rem;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.25));
}
.biere-card__body {
    padding: 1.5rem 1.5rem 1.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.biere-card__name {
    font-family: var(--ff-display);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.05;
    font-variation-settings: "opsz" 96, "WONK" 1;
    margin-bottom: 0.5rem;
}
.biere-card__tagline {
    color: var(--c-roast);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
    flex: 1;
}
.biere-card__meta {
    display: flex;
    gap: 1rem;
    font-family: var(--ff-mono);
    font-size: 0.78rem;
    color: var(--c-roast);
    padding-top: 1rem;
    border-top: 1px solid var(--c-rule-soft);
}
.biere-card__meta strong {
    display: block;
    font-family: var(--ff-display);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--c-stout);
    margin-top: 0.15rem;
}
.biere-card__link::after {
    content: '';
    position: absolute;
    inset: 0;
}

/* =========================================================================
   Page détail bière
   ========================================================================= */
.biere-detail {
    padding-block: clamp(3rem, 6vw, 5rem);
}
.biere-detail__grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(2rem, 6vw, 5rem);
}
@media (max-width: 880px) {
    .biere-detail__grid { grid-template-columns: 1fr; }
}
.biere-detail__visual {
    aspect-ratio: 4 / 5;
    background: linear-gradient(180deg, var(--c-cream-light) 0%, var(--biere-color, var(--c-amber)) 100%);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.biere-detail__bottle {
    width: 40%;
    filter: drop-shadow(0 20px 40px rgba(26,14,10,0.4));
}
.biere-detail__type {
    font-family: var(--ff-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--c-amber-deep);
    margin-bottom: 1rem;
}
.biere-detail__title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 0.95;
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-variation-settings: "opsz" 144, "WONK" 1;
}
.biere-detail__lede { margin-bottom: 2rem; }

.biere-detail__specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.8rem 0;
    border-block: 1px solid var(--c-rule);
    margin-bottom: 2rem;
}
.biere-detail__spec-label {
    font-family: var(--ff-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--c-roast);
    margin-bottom: 0.5rem;
}
.biere-detail__spec-value {
    font-family: var(--ff-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
    line-height: 1;
}
.biere-detail__desc h3 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}
.biere-detail__desc p { margin-bottom: 1rem; color: var(--c-roast); }

.medailles-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.medailles-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.2rem;
    background: var(--c-cream-light);
    border-radius: 4px;
    border-left: 3px solid var(--c-amber);
}
.medailles-list__rank { font-size: 1.4rem; }
.medailles-list__txt strong { display: block; }
.medailles-list__txt small {
    font-family: var(--ff-mono);
    color: var(--c-roast);
    font-size: 0.78rem;
}

/* =========================================================================
   Histoire / timeline
   ========================================================================= */
.timeline {
    position: relative;
    max-width: 800px;
    margin-inline: auto;
    padding-left: 2rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--c-amber) 0%, var(--c-amber-deep) 50%, var(--c-stout) 100%);
}
.timeline__item {
    position: relative;
    padding-bottom: 3rem;
}
.timeline__item::before {
    content: '';
    position: absolute;
    left: -2.55rem;
    top: 0.2rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--c-cream);
    border: 3px solid var(--c-amber);
}
.timeline__year {
    font-family: var(--ff-display);
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1;
    font-variation-settings: "opsz" 144, "WONK" 1;
    color: var(--c-amber-deep);
    margin-bottom: 0.5rem;
}
.timeline__title {
    font-family: var(--ff-display);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.timeline__text { color: var(--c-roast); }

/* =========================================================================
   Taproom feature
   ========================================================================= */
.taproom-hero {
    background: var(--c-stout);
    color: var(--c-cream-light);
    padding-block: clamp(4rem, 8vw, 7rem);
    position: relative;
    overflow: hidden;
}
.taproom-hero::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--c-amber-deep), transparent 60%);
    opacity: 0.4;
}
.taproom-hero h1, .taproom-hero h2 { color: var(--c-cream-light); }
.taproom-hero .eyebrow { color: var(--c-amber-light); }

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    padding-block: clamp(3rem, 6vw, 5rem);
}
.feature-row + .feature-row { border-top: 1px solid var(--c-rule); }
.feature-row--reverse { direction: rtl; }
.feature-row--reverse > * { direction: ltr; }
@media (max-width: 720px) {
    .feature-row, .feature-row--reverse { grid-template-columns: 1fr; direction: ltr; }
}
.feature-row__visual {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--c-amber-light), var(--c-amber-deep));
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}
.feature-row__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' seed='8'/></filter><rect width='100' height='100' filter='url(%23g)' opacity='0.55'/></svg>");
    mix-blend-mode: multiply;
}

/* =========================================================================
   Points de vente
   ========================================================================= */
.poi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.poi-card {
    padding: 1.5rem;
    background: var(--c-cream-light);
    border-radius: 4px;
    border: 1px solid var(--c-rule);
    transition: transform .3s var(--ease);
}
.poi-card:hover { transform: translateY(-4px); }
.poi-card__type {
    font-family: var(--ff-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--c-amber-deep);
    margin-bottom: 0.6rem;
}
.poi-card__name {
    font-family: var(--ff-display);
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-variation-settings: "opsz" 96;
}
.poi-card__addr {
    color: var(--c-roast);
    font-size: 0.92rem;
    line-height: 1.5;
}
.poi-card__contact {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--c-rule-soft);
    font-family: var(--ff-mono);
    font-size: 0.8rem;
}

/* =========================================================================
   Contact / formulaires
   ========================================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-field { display: flex; flex-direction: column; gap: 0.45rem; }
.form-field label {
    font-family: var(--ff-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-roast);
}
.form-field input,
.form-field textarea {
    padding: 0.9rem 1rem;
    background: var(--c-cream-light);
    border: 1px solid var(--c-rule);
    border-radius: 4px;
    font-family: var(--ff-body);
    font-size: 1rem;
    color: var(--c-stout);
    transition: border-color .2s var(--ease), background .2s var(--ease);
}
.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--c-amber-deep);
    background: #fff;
}
.form-field textarea { resize: vertical; min-height: 140px; }

.alert {
    padding: 1rem 1.2rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    border-left: 3px solid;
}
.alert--ok    { background: rgba(94,125,62,0.12);  border-color: var(--c-hop); color: var(--c-hop-deep); }
.alert--error { background: rgba(200,80,40,0.12);  border-color: #c8501f;     color: #8b3211; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
    background: var(--c-stout);
    color: var(--c-cream-dark);
    padding-top: clamp(3rem, 6vw, 5rem);
    margin-top: clamp(3rem, 6vw, 5rem);
}
.site-footer .brand,
.site-footer h3 { color: var(--c-cream-light); }
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(244,234,213,0.12);
}
@media (max-width: 720px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .site-footer__col--brand { grid-column: 1 / -1; }
}
.site-footer__tagline {
    color: var(--c-cream-dark);
    margin-top: 1rem;
    max-width: 35ch;
    font-family: var(--ff-display);
    font-style: italic;
    font-size: 1.1rem;
    font-variation-settings: "opsz" 96;
}
.site-footer__title {
    font-family: var(--ff-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--c-amber-light);
    margin-bottom: 1rem;
    font-weight: 500;
}
.site-footer__list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.95rem;
}
.site-footer__list a { color: var(--c-cream-dark); transition: color .2s var(--ease); }
.site-footer__list a:hover { color: var(--c-amber-light); }

.site-footer__bottom {
    padding-block: 1.5rem;
    font-family: var(--ff-mono);
    font-size: 0.76rem;
    color: var(--c-cream-dark);
    opacity: 0.7;
}
.site-footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.site-footer__abus { font-style: italic; }

/* =========================================================================
   Apparition au scroll (utilitaire JS)
   ========================================================================= */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================================
   Page interne sobre (générique)
   ========================================================================= */
.page-header {
    padding-block: clamp(3rem, 7vw, 6rem) clamp(2rem, 5vw, 3rem);
}
.page-header__title {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    line-height: 0.95;
    margin-bottom: 1.2rem;
    font-weight: 300;
    font-variation-settings: "opsz" 144, "WONK" 1;
}
.page-header__title em {
    font-style: italic;
    color: var(--c-amber-deep);
}

/* =========================================================================
   Admin (minimal)
   ========================================================================= */
.admin-body {
    background: var(--c-cream);
    min-height: 100vh;
}
.admin-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}
.admin-sidebar {
    background: var(--c-stout);
    color: var(--c-cream-light);
    padding: 2rem 1.5rem;
}
.admin-sidebar .brand { color: var(--c-cream-light); margin-bottom: 2rem; }
.admin-sidebar nav { display: flex; flex-direction: column; gap: 0.3rem; }
.admin-sidebar nav a {
    padding: 0.7rem 0.9rem;
    border-radius: 4px;
    color: var(--c-cream-dark);
    transition: background .2s, color .2s;
}
.admin-sidebar nav a:hover,
.admin-sidebar nav a.is-active {
    background: rgba(244,234,213,0.08);
    color: var(--c-amber-light);
}
.admin-main {
    padding: 2.5rem clamp(1.5rem, 4vw, 3rem);
    max-width: 1200px;
}
.admin-main h1 { margin-bottom: 2rem; }
.admin-table {
    width: 100%;
    background: var(--c-cream-light);
    border-collapse: collapse;
    border-radius: 4px;
    overflow: hidden;
}
.admin-table th, .admin-table td {
    padding: 0.9rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--c-rule-soft);
    font-size: 0.92rem;
}
.admin-table th {
    background: var(--c-cream-dark);
    font-family: var(--ff-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table .row-actions { display: flex; gap: 0.5rem; }
.admin-table .row-actions a {
    font-size: 0.82rem;
    padding: 0.35rem 0.7rem;
    border-radius: 4px;
    background: var(--c-cream-dark);
    color: var(--c-stout);
}
.admin-table .row-actions a:hover { background: var(--c-amber); }

.login-card {
    max-width: 420px;
    margin: 10vh auto;
    padding: 2.5rem;
    background: var(--c-cream-light);
    border-radius: 6px;
    box-shadow: 0 30px 60px -20px rgba(26,14,10,0.3);
}
.login-card h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.login-card p { color: var(--c-roast); margin-bottom: 1.8rem; }

/* =========================================================================
   Helpers
   ========================================================================= */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }

/* =========================================================================
   Admin — Messages
   ========================================================================= */
.badge-non-lu {
    display: inline-block;
    padding: 0.25em 0.6em;
    background: var(--c-accent, #c87533);
    color: #fff;
    font-family: var(--ff-mono);
    font-weight: 500;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 999px;
    line-height: 1;
}

.dot-unread {
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    background: var(--c-accent, #c87533);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(200, 117, 51, 0.18);
}

.admin-table tr.is-unread td {
    background: rgba(200, 117, 51, 0.04);
    font-weight: 500;
}
.admin-table tr.is-unread td strong { color: var(--c-stout, #1a0e0a); }

.btn-icon {
    width: 1.85rem;
    height: 1.85rem;
    padding: 0;
    border: 1px solid rgba(26, 14, 10, 0.15);
    background: transparent;
    color: var(--c-stout, #1a0e0a);
    font-size: 1rem;
    line-height: 1;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-icon:hover {
    background: var(--c-stout, #1a0e0a);
    color: var(--c-cream, #f4ead5);
    border-color: var(--c-stout, #1a0e0a);
}
.btn-icon--danger:hover {
    background: #b3261e;
    border-color: #b3261e;
    color: #fff;
}

.admin-empty {
    padding: 4rem 2rem;
    text-align: center;
    border: 1px dashed rgba(26, 14, 10, 0.2);
    border-radius: 8px;
    background: rgba(244, 234, 213, 0.4);
}
.admin-empty p { margin: 0.4rem 0; }

.admin-link-back {
    display: inline-block;
    margin-bottom: 1.5rem;
    font-family: var(--ff-mono);
    font-size: 0.85rem;
    color: var(--c-stout, #1a0e0a);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.15s;
}
.admin-link-back:hover { opacity: 1; }

.admin-message-card {
    background: #fff;
    border: 1px solid rgba(26, 14, 10, 0.1);
    border-radius: 8px;
    overflow: hidden;
}
.admin-message-card__header {
    padding: 1.75rem 2rem 1.25rem;
    border-bottom: 1px solid rgba(26, 14, 10, 0.08);
    background: rgba(244, 234, 213, 0.4);
}
.admin-message-card__header h2 {
    margin: 0 0 0.5rem;
    font-family: var(--ff-serif, 'Fraunces', serif);
    font-size: 1.5rem;
    color: var(--c-stout, #1a0e0a);
}
.admin-message-card__meta {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}
.admin-message-card__meta a { color: var(--c-accent, #c87533); }
.admin-message-card__body {
    padding: 2rem;
    font-size: 1rem;
    line-height: 1.75;
    white-space: pre-wrap;
}
.admin-message-card__actions {
    padding: 1.25rem 2rem;
    border-top: 1px solid rgba(26, 14, 10, 0.08);
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn--danger {
    color: #b3261e;
    border-color: rgba(179, 38, 30, 0.3);
}
.btn--danger:hover {
    background: #b3261e;
    color: #fff;
    border-color: #b3261e;
}
