/* ==========================================================================
   Cat & Curious — feuille de style
   Pas de build : ce fichier est servi tel quel.
   ========================================================================== */

:root {
    --cream: #f7f2ea;
    --paper: #fffdf8;
    --sand: #efe6d8;
    --ink: #1d2330;
    --ink-soft: #444c5c;
    --muted: #6f7686;
    --slate: #56677f;        /* le gris-bleu du Bleu Russe */
    --slate-deep: #26324a;
    --amber: #b8692e;        /* les rosettes du Bengal */
    --amber-soft: #f3e1cc;
    --sage: #6f9a7e;         /* les yeux verts */
    --sage-soft: #e3ede4;
    --line: rgba(29, 35, 48, .1);
    --shadow-sm: 0 1px 2px rgba(29, 35, 48, .06), 0 2px 8px rgba(29, 35, 48, .05);
    --shadow: 0 2px 4px rgba(29, 35, 48, .04), 0 12px 32px -8px rgba(29, 35, 48, .16);
    --shadow-lg: 0 30px 60px -20px rgba(29, 35, 48, .3);

    --font-display: "Young Serif", Georgia, "Times New Roman", serif;
    --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --container: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-h: 88px;
    --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--ink-soft);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    font-synthesis: none; /* Young Serif n'a ni gras ni italique : pas de faux styles */
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--slate-deep); text-decoration-color: rgba(86, 103, 127, .35); text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--amber); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--ink);
    line-height: 1.12;
    letter-spacing: -.015em;
    margin: 0 0 .5em;
    text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); letter-spacing: -.025em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
h4 { font-size: 1.15rem; }
h1 em, h2 em { font-style: normal; color: var(--amber); }

p { margin: 0 0 1.1em; text-wrap: pretty; }
strong { color: var(--ink); font-weight: 650; }

::selection { background: var(--amber-soft); color: var(--ink); }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 200;
    background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }

/* ---------- Boutons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .9rem 1.5rem;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font: 650 .98rem/1.2 var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .25s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }

.btn--primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -10px rgba(29, 35, 48, .6); }
.btn--primary:hover { background: var(--slate-deep); color: #fff; }
.btn--accent { background: var(--amber); color: #fff; box-shadow: 0 10px 24px -10px rgba(184, 105, 46, .7); }
.btn--accent:hover { background: #a65b23; color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: rgba(255, 255, 255, .5); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--amber-soft); color: var(--ink); }
.btn--outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn--sm { padding: .6rem 1.1rem; font-size: .9rem; }

.link-arrow {
    display: inline-flex; align-items: center; gap: .4rem;
    font-weight: 650; color: var(--ink); text-decoration: none;
}
.link-arrow:hover { color: var(--amber); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .25s var(--ease); }

.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font: 700 .78rem/1 var(--font-body);
    text-transform: uppercase; letter-spacing: .14em;
    color: var(--amber);
    margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }

.pill {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .38rem .8rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: .85rem; font-weight: 600; color: var(--ink);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sage); flex: none; }
.dot--pulse { position: relative; }
.dot--pulse::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit;
    animation: pulse 2s infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.8); opacity: 0; } }

/* ---------- En-tête ---------- */

.site-header {
    position: sticky; top: 0; z-index: 100;
    height: var(--header-h);
    border-bottom: 1px solid transparent;
    transition: border-color .3s;
}
/* Le flou est sur un pseudo-élément : sur l'en-tête lui-même, il piégerait le menu mobile (position: fixed) */
.site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: rgba(247, 242, 234, .82);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    transition: background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-scrolled::before { background: rgba(255, 253, 248, .9); }
.nav-open .site-header::before { background: var(--paper); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand img { height: 64px; width: auto; transition: transform .3s var(--ease); }
.brand:hover img { transform: rotate(-3deg) scale(1.04); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font: 600 1.15rem/1 var(--font-display); letter-spacing: -.01em; }
.brand__tag { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-top: .25rem; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav__list { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
    display: block; padding: .5rem .8rem; border-radius: 999px;
    font-size: .93rem; font-weight: 600; color: var(--ink-soft); text-decoration: none;
    transition: background-color .2s, color .2s;
}
.nav__link:hover { color: var(--ink); background: rgba(29, 35, 48, .05); }
.nav__link[aria-current="page"] { color: var(--ink); background: #fff; box-shadow: var(--shadow-sm); }
.nav__cta { margin-left: .5rem; }

.nav-toggle {
    display: none;
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--line); background: #fff; color: var(--ink);
    align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon--close { display: none; }
.nav-open .nav-toggle .icon--menu { display: none; }
.nav-open .nav-toggle .icon--close { display: block; }

@media (max-width: 1080px) {
    .nav-toggle { display: inline-flex; }
    .nav {
        position: fixed; inset: var(--header-h) 0 0 0;
        flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 1.5rem;
        padding: 1.5rem var(--gutter) 2rem;
        background: var(--paper);
        overflow-y: auto;
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity .25s, transform .3s var(--ease), visibility .25s;
    }
    .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav__link { font: 500 1.6rem/1.2 var(--font-display); color: var(--ink); padding: .8rem 0; border-radius: 0; border-bottom: 1px solid var(--line); }
    .nav__link[aria-current="page"] { background: none; box-shadow: none; color: var(--amber); }
    .nav__cta { margin: 0; }
    .nav__cta .btn { width: 100%; }
    .nav-open { overflow: hidden; }
}
@media (max-width: 420px) { .brand__tag { display: none; } }
@media (max-width: 640px) { :root { --header-h: 76px; } .brand img { height: 54px; } }

/* ---------- Sections ---------- */

.section { padding-block: clamp(4.5rem, 10vw, 8rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: rgba(255, 255, 255, .78); }
.section--dark h2, .section--dark h3, .section--dark strong { color: #fff; }
.section--dark .eyebrow { color: #e7b88d; }

.section-head { max-width: 680px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.section-head p { font-size: 1.15rem; color: var(--muted); margin: 0; }
.section--dark .section-head p { color: rgba(255, 255, 255, .7); }
.section-head--split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.section-head--split > div { max-width: 640px; }

/* ---------- Hero accueil ---------- */

.hero {
    position: relative;
    padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem);
    overflow: hidden;
}
.hero::before {
    content: ""; position: absolute; z-index: -1;
    width: 900px; height: 900px; right: -320px; top: -360px;
    background: radial-gradient(closest-side, rgba(243, 225, 204, .95), rgba(243, 225, 204, 0));
}
.hero::after {
    content: ""; position: absolute; z-index: -1;
    width: 700px; height: 700px; left: -300px; bottom: -380px;
    background: radial-gradient(closest-side, rgba(227, 237, 228, .9), rgba(227, 237, 228, 0));
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { margin-bottom: 1.5rem; }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); max-width: 34ch; color: var(--ink-soft); margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; padding: 0; margin: 0; font-size: .92rem; font-weight: 600; color: var(--ink); }
.hero__trust li { display: flex; align-items: center; gap: .45rem; }
.hero__trust .icon { color: var(--sage); }

.collage { position: relative; aspect-ratio: 1 / 1.08; max-width: 560px; margin-left: auto; width: 100%; }
.collage__img { position: absolute; overflow: hidden; background: var(--sand); box-shadow: var(--shadow-lg); }
.collage__img img { width: 100%; height: 100%; object-fit: cover; }
.collage__img--main { inset: 0 18% 8% 6%; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); }
.collage__img--side {
    width: 40%; aspect-ratio: 3 / 4; right: 0; bottom: 0;
    border-radius: var(--radius-lg); border: 6px solid var(--cream);
}
.collage__img--top {
    width: 34%; aspect-ratio: 1; left: -4%; bottom: 4%;
    border-radius: 50%; border: 6px solid var(--cream);
}
.collage__badge {
    position: absolute; top: 9%; right: 2%;
    background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
    padding: .9rem 1.1rem; border-radius: var(--radius);
    box-shadow: var(--shadow); display: flex; gap: .8rem; align-items: center;
    text-decoration: none; color: var(--ink);
    animation: float 6s ease-in-out infinite;
}
.collage__badge:hover { color: var(--ink); }
.collage__badge small { display: block; font-size: .75rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.collage__badge strong { display: block; font: 600 1.05rem/1.25 var(--font-display); }
.collage__img--main img { object-position: center 30%; }
.collage__paw { position: absolute; left: 0; top: 6%; width: 46px; color: var(--amber); opacity: .35; transform: rotate(-18deg); }
@keyframes float { 50% { transform: translateY(-8px); } }

@media (max-width: 900px) {
    .hero__grid { grid-template-columns: 1fr; }
    .collage { margin: 1rem auto 0; max-width: 460px; }
}

/* ---------- Intro / famille ---------- */

.intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.intro__visual { position: relative; }
.intro__visual img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.intro__note {
    position: absolute; right: -6%; bottom: 8%;
    max-width: 230px;
    background: var(--ink); color: #fff;
    padding: 1.1rem 1.25rem; border-radius: var(--radius);
    font: italic 450 1.05rem/1.4 var(--font-display);
    box-shadow: var(--shadow-lg);
    transform: rotate(-2deg);
}
.intro__note span { display: block; font: 600 .75rem/1 var(--font-body); font-style: normal; text-transform: uppercase; letter-spacing: .12em; color: #e7b88d; margin-top: .6rem; }
.intro__text p { font-size: 1.1rem; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.25rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.stat__value { font: 500 clamp(2rem, 3.5vw, 2.6rem)/1 var(--font-display); color: var(--ink); }
.stat__label { font-size: .88rem; color: var(--muted); margin-top: .4rem; line-height: 1.4; }

@media (max-width: 860px) {
    .intro { grid-template-columns: 1fr; }
    .intro__visual { max-width: 440px; }
    .intro__note { right: -4%; }
}

/* ---------- Cartes races ---------- */

.breeds { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); }
.breed-card {
    position: relative; overflow: hidden;
    border-radius: var(--radius-lg);
    min-height: 560px;
    display: flex; flex-direction: column; justify-content: flex-end;
    color: #fff; text-decoration: none;
    isolation: isolate;
}
.breed-card img {
    object-position: center 25%;
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
    transition: transform 1.2s var(--ease);
}
.breed-card::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(20, 24, 34, 0) 30%, rgba(20, 24, 34, .55) 60%, rgba(20, 24, 34, .92));
}
.breed-card:hover img { transform: scale(1.05); }
.breed-card:hover { color: #fff; }
.breed-card__body { padding: clamp(1.5rem, 3vw, 2.5rem); }
.breed-card__kicker { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: #f0c9a3; }
.breed-card h3 { color: #fff; font-size: clamp(2rem, 3.5vw, 2.8rem); margin: .35rem 0 .75rem; }
.breed-card p { color: rgba(255, 255, 255, .82); max-width: 42ch; margin-bottom: 1.25rem; }
.breed-card__traits { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; }
.breed-card__traits span { padding: .3rem .75rem; border-radius: 999px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); font-size: .82rem; font-weight: 600; }
.breed-card__more { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; }
.breed-card:hover .breed-card__more .icon { transform: translateX(4px); }
.breed-card__more .icon { transition: transform .25s var(--ease); }

@media (max-width: 760px) {
    .breeds { grid-template-columns: 1fr; }
    .breed-card { min-height: 480px; }
}

/* ---------- Portée du moment / chatons ---------- */

.litter-banner {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 4vw, 3rem);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}
.litter-banner h2, .litter-banner h3 { margin-bottom: .6rem; }
.litter-banner__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.litter-banner__aside { display: flex; flex-direction: column; gap: .75rem; align-items: flex-start; }
@media (max-width: 760px) { .litter-banner { grid-template-columns: 1fr; } }

.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .55rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.check-list .icon { color: var(--sage); margin-top: .3em; stroke-width: 2.4; }
.check-list--cols { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); column-gap: 1.5rem; }
.section--dark .check-list .icon { color: #9ccaa9; }

.kittens { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: clamp(.75rem, 2vw, 1.25rem); }
.kitten {
    position: relative; overflow: hidden;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid var(--line);
    text-align: left; padding: 0; cursor: pointer;
    font: inherit; color: inherit;
    display: flex; flex-direction: column; width: 100%;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.kitten > span { display: block; }
.kitten .kitten__body { display: flex; }
.kitten:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.kitten__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.kitten__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.kitten:hover .kitten__img img { transform: scale(1.05); }
.kitten__body { padding: .9rem 1rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.kitten__name { display: flex; align-items: center; gap: .5rem; font: 560 1.2rem/1.2 var(--font-display); color: var(--ink); }
.kitten__count { display: inline-flex; align-items: center; gap: .3rem; font-size: .82rem; color: var(--muted); font-weight: 600; }
.kitten__count .icon { width: 1em; height: 1em; }
.collar { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7), 0 0 0 1px var(--line); flex: none; }
.kitten__tag {
    position: absolute; top: .75rem; left: .75rem;
    padding: .28rem .65rem; border-radius: 999px;
    background: rgba(255, 255, 255, .92); font-size: .75rem; font-weight: 700; color: var(--ink);
    z-index: 1;
}

/* Galerie d'une portée : une rangée par chaton */
.gallery-group { padding-block: 2rem; border-top: 1px solid var(--line); }
.gallery-group:first-child { border-top: 0; }
.gallery-group__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.gallery-group__head h3 { display: flex; align-items: center; gap: .6rem; margin: 0; }
.gallery-group__count { font-size: .88rem; color: var(--muted); font-weight: 600; }
.strip {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 23%);
    gap: .75rem;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding-bottom: .75rem;
    scrollbar-width: thin; scrollbar-color: rgba(29, 35, 48, .2) transparent;
}
.strip a { position: relative; scroll-snap-align: start; display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.strip a:hover img { transform: scale(1.04); }
@media (max-width: 640px) { .strip { grid-auto-columns: 62%; } }

.litter-nav { display: flex; flex-wrap: wrap; gap: .5rem; }
.litter-chip {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .55rem 1rem; border-radius: 999px;
    background: var(--paper); border: 1px solid var(--line);
    text-decoration: none; color: var(--ink); font-size: .92rem; font-weight: 600;
    transition: border-color .2s, transform .2s var(--ease);
}
.litter-chip:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.litter-chip[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.litter-chip .dot--br { background: var(--slate); }
.litter-chip .dot--bengal { background: var(--amber); }

.archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.archive-card {
    display: flex; gap: 1rem; align-items: center;
    padding: .75rem; border-radius: var(--radius);
    background: var(--paper); border: 1px solid var(--line);
    text-decoration: none; color: var(--ink);
    transition: transform .3s var(--ease), box-shadow .3s;
}
.archive-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.archive-card img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; flex: none; background: var(--sand); }
.archive-card strong { display: block; font: 560 1.1rem/1.25 var(--font-display); }
.archive-card span { font-size: .85rem; color: var(--muted); }

/* ---------- Étapes ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; list-style: none; padding: 0; margin: 0; position: relative; }
.step { position: relative; padding-top: 4.25rem; }
.step::before {
    counter-increment: step; content: counter(step, decimal-leading-zero);
    position: absolute; top: 0; left: 0;
    width: 52px; height: 52px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--paper); border: 1px solid var(--line);
    font: 500 1.1rem/1 var(--font-display); color: var(--amber);
}
.step::after { content: ""; position: absolute; top: 26px; left: 64px; right: 12px; height: 1px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.step p { font-size: .97rem; color: var(--muted); margin: 0; }
.section--dark .step::before { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .15); color: #e7b88d; }
.section--dark .step::after { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .2) 0 6px, transparent 6px 12px); }
.section--dark .step p { color: rgba(255, 255, 255, .7); }
@media (max-width: 900px) {
    .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
    .step::after { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Engagements / cartes ---------- */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.4rem, 3vw, 2rem);
}
.card__icon {
    width: 50px; height: 50px; border-radius: 14px;
    display: grid; place-items: center;
    background: var(--amber-soft); color: var(--amber);
    margin-bottom: 1.25rem;
}
.card__icon .icon { width: 24px; height: 24px; }
.card:nth-child(3n+2) .card__icon { background: var(--sage-soft); color: var(--sage); }
.card:nth-child(3n) .card__icon { background: #e4e9f0; color: var(--slate); }
.card h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.card p { font-size: .98rem; color: var(--muted); margin: 0; }
.card p + p { margin-top: .75rem; }
@media (max-width: 860px) { .cards, .cards--2 { grid-template-columns: 1fr; } }

/* ---------- Galerie « bento » ---------- */

.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 18vw, 240px); gap: .75rem; }
.bento a { border-radius: var(--radius); overflow: hidden; background: var(--sand); position: relative; }
.bento a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.bento a:nth-child(4) { grid-row: span 2; }
.bento a:nth-child(6) { grid-column: span 2; }
.bento img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .8s var(--ease); }
.bento a:hover img { transform: scale(1.05); }
@media (max-width: 760px) {
    .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
    .bento a:nth-child(6) { grid-column: auto; }
}

/* ---------- Pages intérieures ---------- */

.page-hero { padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.5rem, 6vw, 5rem); position: relative; overflow: hidden; }
.page-hero::before {
    content: ""; position: absolute; z-index: -1; width: 800px; height: 800px; right: -300px; top: -420px;
    background: radial-gradient(closest-side, rgba(243, 225, 204, .9), rgba(243, 225, 204, 0));
}
.page-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); margin-bottom: 1.25rem; }
.page-hero__lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); max-width: 56ch; margin-bottom: 1.75rem; }
.page-hero__media { position: relative; }
.page-hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-lg); }
.page-hero__actions { display: flex; gap: .75rem; flex-wrap: wrap; }
@media (max-width: 860px) {
    .page-hero__grid { grid-template-columns: 1fr; }
    .page-hero__media { max-width: 360px; }
}

.breadcrumbs { margin-bottom: 1.5rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; list-style: none; padding: 0; margin: 0; font-size: .86rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0; }
.facts > div { background: var(--paper); padding: 1.25rem 1.4rem; }
.facts dt { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: .35rem; }
.facts dd { margin: 0; font: 500 1.15rem/1.35 var(--font-display); color: var(--ink); }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } }

/* Article long avec sommaire */
.article { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: .92rem; }
.toc p { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: .75rem; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: .35rem 0 .35rem 1rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.4; }
.toc a:hover, .toc a.is-active { color: var(--ink); border-left-color: var(--amber); }
@media (max-width: 960px) {
    .article { grid-template-columns: 1fr; }
    .toc { position: static; }
    .toc ol { display: flex; flex-wrap: wrap; gap: .4rem; border: 0; }
    .toc a { border: 1px solid var(--line); border-radius: 999px; padding: .35rem .85rem; margin: 0; background: var(--paper); }
}

.prose { max-width: 720px; }
.prose > section { padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.prose > section + section { padding-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
.prose h2 { font-size: clamp(1.75rem, 3vw, 2.3rem); }
.prose h3 { margin-top: 1.75rem; }
.prose ul:not(.check-list), .prose ol:not(.check-list) { padding-left: 1.2rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4rem; }
.prose li::marker { color: var(--amber); }
.prose figure { margin: 2rem 0; }
.prose figure img { border-radius: var(--radius); width: 100%; }
.prose figcaption { font-size: .88rem; color: var(--muted); margin-top: .6rem; }

.callout {
    display: flex; gap: 1rem; align-items: flex-start;
    background: var(--amber-soft); border-radius: var(--radius);
    padding: 1.25rem 1.4rem; margin: 1.5rem 0; color: var(--ink);
}
.callout .icon { color: var(--amber); width: 24px; height: 24px; margin-top: .1rem; }
.callout p { margin: 0; font-size: .98rem; }
.callout--sage { background: var(--sage-soft); }
.callout--sage .icon { color: var(--sage); }

.table-wrap { overflow-x: auto; margin: 1.25rem 0 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
th, td { text-align: left; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 700; color: var(--ink); background: rgba(239, 230, 216, .5); }
tr:last-child td { border-bottom: 0; }

/* ---------- Vidéo ---------- */

.video {
    position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
    background: var(--ink); box-shadow: var(--shadow);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__facade { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: none; }
.video__facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .3s; opacity: .92; }
.video__facade:hover img { transform: scale(1.04); opacity: 1; }
.video__play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 72px; height: 72px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .95); color: var(--ink);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
    transition: transform .3s var(--ease);
}
.video__play svg { width: 26px; height: 26px; margin-left: 4px; fill: currentColor; stroke: none; }
.video__facade:hover .video__play { transform: translate(-50%, -50%) scale(1.08); }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.video-card h2 { font: 560 1.1rem/1.35 var(--font-display); margin: .9rem 0 .25rem; letter-spacing: 0; }
.video-card time { font-size: .85rem; color: var(--muted); }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: .75rem; }
.faq details {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    transition: box-shadow .3s, border-color .3s;
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: rgba(29, 35, 48, .16); }
.faq summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.2rem 1.4rem;
    font: 560 1.12rem/1.35 var(--font-display); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--sand); transition: transform .3s var(--ease), background-color .3s; }
.faq details[open] summary .icon { transform: rotate(45deg); background: var(--amber-soft); color: var(--amber); }
.faq__answer { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); }
.faq__answer p:last-child { margin: 0; }

/* ---------- Contact ---------- */

.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.contact h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.contact__lead { font-size: 1.15rem; max-width: 46ch; }
.contact__list { display: grid; gap: .75rem; }
.contact__item {
    display: flex; align-items: center; gap: 1rem;
    padding: 1.1rem 1.25rem; border-radius: var(--radius);
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
    color: #fff; text-decoration: none;
    transition: background-color .25s, transform .25s var(--ease);
}
a.contact__item:hover { background: rgba(255, 255, 255, .12); color: #fff; transform: translateX(4px); }
.contact__item .icon { width: 22px; height: 22px; color: #e7b88d; }
.contact__item small { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .55); font-weight: 600; }
.contact__item span { font: 500 1.2rem/1.3 var(--font-display); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */

.site-footer { background: #151a24; color: rgba(255, 255, 255, .6); padding: 4rem 0 2rem; font-size: .94rem; }
.site-footer a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer__brand img { height: 72px; width: auto; margin-bottom: 1rem; }
.footer__brand p { max-width: 32ch; }
.footer__title { font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: #fff; font-weight: 700; margin-bottom: 1rem; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.socials { display: flex; gap: .5rem; margin-top: 1.25rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .15); transition: background-color .2s, border-color .2s; }
.socials a:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer__bottom button { background: none; border: 0; padding: 0; color: rgba(255, 255, 255, .6); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Bandeau cookies ---------- */

.cookie-banner {
    position: fixed; z-index: 150; left: 16px; right: 16px; bottom: 16px;
    max-width: 520px;
    background: var(--paper); color: var(--ink-soft);
    border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 1.25rem 1.4rem;
    font-size: .92rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { font-family: var(--font-display); font-size: 1.1rem; font-weight: 560; }
.cookie-banner p { margin: .4rem 0 1rem; line-height: 1.55; }
.cookie-banner__actions { display: flex; gap: .5rem; justify-content: flex-end; }

/* ---------- Visionneuse ---------- */

.lightbox {
    position: fixed; inset: 0; z-index: 300;
    width: 100%; height: 100%; max-width: none; max-height: none;
    margin: 0; padding: 0; border: 0;
    background: rgba(14, 17, 24, .97);
    color: #fff;
}
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100vh; height: 100dvh; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; } }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; font-size: .92rem; color: rgba(255, 255, 255, .75); }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 4.5rem; }
/* L'image est contenue dans la zone centrale : jamais plus grande que l'écran visible */
.lightbox__media { position: absolute; inset: 0 4.5rem; display: flex; align-items: center; justify-content: center; }
.lightbox__stage img, .lightbox__stage iframe { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lightbox__stage img { width: auto; height: auto; }
.lightbox__stage iframe { width: min(1100px, 100%); aspect-ratio: 16 / 9; height: auto; border: 0; }
.lightbox__btn {
    width: 48px; height: 48px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .1); color: #fff; border: 0; cursor: pointer;
    transition: background-color .2s;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox__btn .icon { width: 22px; height: 22px; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }
.lightbox__caption { text-align: center; padding: 1rem; font: italic 450 1.15rem/1.3 var(--font-display); }
@media (max-width: 640px) {
    .lightbox__stage { padding: 0 .5rem; }
    .lightbox__media { inset: 0 .5rem; }
    .lightbox__caption { padding: 1rem 4.25rem; font-size: 1rem; }
    .lightbox__prev, .lightbox__next { top: auto; bottom: -64px; transform: none; }
}

/* ---------- Animations d'apparition ---------- */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
.js .reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Utilitaires ---------- */

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.actions--center { justify-content: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.icon--tiktok, .icon--play { fill: currentColor; stroke: none; }

.h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }

/* ---------- Annonce des prochaines portées ---------- */

.news { padding-block: clamp(1rem, 3vw, 2rem) clamp(3rem, 6vw, 4.5rem); }
.news__box {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    background: var(--line);
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow);
}
.news__box > * { background: var(--paper); padding: clamp(1.4rem, 3vw, 2.25rem); }
.news__head { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1.5rem; background: var(--ink); color: rgba(255, 255, 255, .75); }
.news__head .eyebrow { color: #e7b88d; width: 100%; margin-bottom: .5rem; }
.news__head h2 { color: #fff; margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.news__date { margin: 0; font-size: .9rem; }
.news__item h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: .75rem 0 .35rem; }
.news__item p { margin: 0 0 .6rem; color: var(--ink-soft); }
.news__item p:last-child { margin-bottom: 0; }
.news__when { font-size: 1.1rem; color: var(--ink) !important; }
.news__item--soon { background: linear-gradient(180deg, #fbf1e6, var(--paper)); }
.news__status {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .4rem .85rem; border-radius: 999px;
    background: var(--amber); color: #fff;
    font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
.news__status .dot { background: #fff; }
.news__status--off { background: var(--sand); color: var(--ink-soft); }
.news__status--off .dot { background: var(--muted); }
.news__cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
@media (max-width: 760px) { .news__box { grid-template-columns: 1fr; } }

.page-hero__media--rect img { border-radius: var(--radius-lg); }

/* ---------- Témoignages ---------- */

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); align-items: stretch; }
@media (max-width: 980px) { .testimonials { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }
.testimonial {
    margin: 0; display: flex; flex-direction: column;
    background: var(--paper); border-radius: var(--radius-lg);
    padding: clamp(2rem, 3.5vw, 2.75rem) clamp(1.6rem, 3vw, 2.25rem) clamp(1.6rem, 3vw, 2rem);
    box-shadow: var(--shadow);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial__mark { width: 34px; height: 26px; color: var(--amber); opacity: .85; margin-bottom: 1.25rem; }
.testimonial h3 { font-size: 1.35rem; margin: 0 0 .9rem; }
.testimonial__text { margin: 0; }
.testimonial__text p {
    margin: 0; font-size: 1.02rem; line-height: 1.75; color: var(--ink-soft);
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden;
}
.testimonial.is-open .testimonial__text p { -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
.testimonial__more {
    align-self: flex-start; margin-top: .75rem; padding: 0; border: 0; background: none; cursor: pointer;
    font: 650 .92rem/1.4 var(--font-body); color: var(--amber);
    text-decoration: underline; text-underline-offset: 3px;
}
.testimonial__more:hover { color: var(--ink); }
.testimonial figcaption {
    margin-top: auto; padding-top: 1.5rem;
    display: flex; align-items: center; gap: .9rem;
}
.testimonial figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--amber-soft); }
.testimonial figcaption strong { display: block; font: 400 1.1rem/1.2 var(--font-display); color: var(--ink); }
.testimonial figcaption small { display: block; margin-top: .2rem; font-size: .85rem; color: var(--muted); }
