/* ==========================================================================
   KAIROS — Design System v2
   Palette : Marron #5B4F47 / Crème #F6F4F0
   Titres : Cormorant Garamond (proche de TAN Twinkle) · Texte : Montserrat
   ========================================================================== */

/* Polices hébergées directement sur le site (dossier /public/fonts) :
   fonctionnent chez 100% des visiteuses, même avec un bloqueur de pub
   ou un navigateur qui bloque les requêtes vers Google. */
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-400-italic-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: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-400-italic-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-500-italic-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: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-500-italic-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-400-normal-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: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-400-normal-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-500-normal-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: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-500-normal-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-600-normal-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: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-600-normal-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-700-normal-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: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-700-normal-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/montserrat-300-normal-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: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/montserrat-300-normal-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/montserrat-400-normal-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: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/montserrat-400-normal-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/montserrat-500-normal-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: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/montserrat-500-normal-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/montserrat-600-normal-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: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/montserrat-600-normal-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/montserrat-700-normal-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: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/montserrat-700-normal-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================ VARIABLES ================================== */
:root {
    /* Couleurs de marque */
    --brown:        #5B4F47;
    --brown-dark:   #40372F;
    --brown-light:  #7A6D63;
    --cream:        #F6F4F0;
    --cream-dark:   #ECE7DF;
    --bg:           #FCFBF9;
    --white:        #FFFFFF;
    --gold:         #E0A83E;
    --terracotta:   #A85C3E;

    /* Texte */
    --text:         #3A342F;
    --muted:        #8A8178;

    /* Lignes & ombres */
    --border:       #E7E2DB;
    --shadow-sm:    0 6px 18px rgba(70, 60, 50, .06);
    --shadow-md:    0 14px 40px rgba(70, 60, 50, .10);
    --shadow-lg:    0 30px 70px rgba(70, 60, 50, .16);

    /* Rayons */
    --radius-sm:    10px;
    --radius-md:    18px;
    --radius-lg:    28px;
    --radius-pill:  999px;

    /* Typo */
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans:  'Montserrat', system-ui, sans-serif;

    /* Divers */
    --container: 1240px;
    --header-h:  84px;
    --ease:      cubic-bezier(.22, .61, .36, 1);
}

/* ============================ RESET ===================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button, input, textarea { font-family: inherit; }

/* ============================ TYPOGRAPHIE =============================== */
h1, h2, h3, h4 {
    font-family: var(--serif);
    color: var(--brown-dark);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: .3px;
}

h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); font-weight: 500; }
h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight: 500; }
h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }

.lead   { font-size: 1.13rem; color: var(--muted); }
.script { font-style: italic; font-weight: 500; color: var(--brown-light); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    font-family: var(--sans);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--brown-light);
}
.eyebrow::before, .eyebrow::after {
    content: "";
    width: 26px; height: 2px;
    background: var(--brown-light);
    flex: none;
}

/* ============================ LAYOUT ==================================== */
.container { width: min(92%, var(--container)); margin-inline: auto; }

section { padding: clamp(4rem, 9vw, 7.5rem) 0; }

.section-head { max-width: 640px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head p { margin-top: 1rem; }

.bg-cream { background: var(--cream); }
.bg-brown { background: var(--brown); color: var(--cream); }
.bg-brown h1, .bg-brown h2, .bg-brown h3 { color: var(--white); }

/* ============================ BOUTONS =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: 16px 36px;
    border: 1.5px solid transparent;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
}
.btn-primary { background: var(--brown); color: var(--cream); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); background: var(--brown-dark); }

.btn-outline { border-color: var(--brown); color: var(--brown); background: transparent; }
.btn-outline:hover { background: var(--brown); color: var(--cream); transform: translateY(-3px); }

.btn-light { background: var(--cream); color: var(--brown-dark); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn-ghost { color: var(--brown); padding: 15px 8px; }
.btn-ghost:hover { color: var(--brown-dark); }

/* ============================ HEADER =================================== */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-h);
    display: flex;
    align-items: center;
    z-index: 1000;
    background: transparent;
    transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header.scrolled {
    background: rgba(252, 251, 249, .88);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--border);
    height: 72px;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; letter-spacing: 4px; color: var(--brown-dark); }
.brand-tag  { font-size: .58rem; letter-spacing: 5px; text-transform: uppercase; color: var(--brown-light); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 2.4rem; }
.nav-links { display: flex; align-items: center; gap: 2.2rem; }
.nav-links a {
    position: relative; font-size: .78rem; font-weight: 700; color: var(--text);
    text-transform: uppercase; letter-spacing: 1.4px;
}
.nav-links a::after {
    content: ""; position: absolute; left: 0; bottom: -6px;
    width: 0; height: 2px; background: var(--brown); transition: width .3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
/* Le bouton de connexion vit dans nav-links (pour rester accessible en
   mobile) : il ne doit ni hériter du soulignement au survol des liens,
   ni de leur couleur de texte sombre (qui écraserait sinon la couleur
   claire prévue par .btn-primary — texte sombre sur fond marron = illisible). */
.nav-links a.btn::after { display: none; }
.nav-links a.btn-primary { color: var(--cream); }
.nav-links a.btn-outline { color: var(--brown); }

/* Bouton menu mobile (hamburger) */
.nav-toggle {
    display: none; width: 44px; height: 44px; border: none; background: transparent;
    cursor: pointer; flex-direction: column; justify-content: center; gap: 6px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--brown-dark); transition: .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================ HERO ===================================== */
.hero {
    position: relative;
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(120% 90% at 85% 0%, var(--cream) 0%, rgba(246,244,240,0) 55%),
        var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy .eyebrow { margin-bottom: 1.4rem; }
.hero-copy h1 { margin-bottom: 1.4rem; }
.hero-copy h1 .script { display: block; }
.hero-copy .lead { max-width: 460px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3.2rem; }
.hero-stats .num { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: var(--brown-dark); }
.hero-stats .label { font-size: .8rem; color: var(--muted); letter-spacing: .5px; }

/* Visuel du hero (photo à insérer par ta fille) */
.hero-visual { position: relative; }
.hero-visual::before {
    content: "";
    position: absolute; top: -8%; right: -14%;
    width: 75%; aspect-ratio: 1;
    background: radial-gradient(circle, rgba(102, 162, 111, .35), rgba(102, 162, 111, 0) 70%);
    filter: blur(10px);
    z-index: -1;
}
.hero-visual::after {
    content: "";
    position: absolute; bottom: -10%; left: -12%;
    width: 55%; aspect-ratio: 1;
    background: radial-gradient(circle, rgba(224, 168, 62, .28), rgba(224, 168, 62, 0) 70%);
    filter: blur(10px);
    z-index: -1;
}
.hero-photo {
    aspect-ratio: 4 / 5;
    border-radius: 260px 260px var(--radius-lg) var(--radius-lg);
    background:
        linear-gradient(160deg, var(--brown-light), var(--brown-dark));
    box-shadow: var(--shadow-lg);
    outline: 8px solid var(--cream);
    outline-offset: -8px;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.hero-badge {
    position: absolute; bottom: 24px; left: -22px;
    background: var(--white); border-radius: var(--radius-md);
    padding: 1rem 1.3rem; box-shadow: var(--shadow-md);
    display: flex; align-items: center; gap: .8rem;
}
.hero-badge .dot { width: 12px; height: 12px; border-radius: 50%; background: #66A26F; box-shadow: 0 0 0 4px rgba(102,162,111,.18); }
.hero-badge strong { font-size: .9rem; color: var(--brown-dark); }
.hero-badge span { font-size: .76rem; color: var(--muted); }

/* Marqueur "photo ici" (placeholder à remplacer) */
.photo-ph { color: rgba(255,255,255,.75); font-size: .82rem; letter-spacing: 1px; text-align: center; padding: 1rem; }

/* ============================ BANDEAU CONFIANCE ======================== */
/* ============================ MARQUEE (bande défilante) =============== */
.marquee { background: var(--brown); overflow: hidden; padding: 1.5rem 0; }
.marquee-track {
    display: flex; align-items: center; gap: 3.5rem; width: max-content;
    animation: marquee-scroll 28s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }
.marquee-item {
    display: flex; align-items: center; gap: 3.5rem;
    font-family: var(--serif); font-style: italic; font-weight: 500;
    font-size: clamp(1.5rem, 3vw, 2.4rem); color: var(--cream); white-space: nowrap;
}
.marquee-item::after { content: "✦"; font-style: normal; font-size: 1rem; color: rgba(246,244,240,.4); }

@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
}

/* ============================ GRILLES / CARTES ======================== */
.grid { display: grid; gap: 1.8rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2.2rem;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .ic {
    width: 54px; height: 54px; border-radius: 14px;
    display: grid; place-items: center; margin-bottom: 1.3rem;
    background: var(--cream); font-size: 1.5rem;
}
.card h3 { margin-bottom: .6rem; }
.card p { font-size: .95rem; }

/* ============================ OFFRES =================================== */
.offer {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.4rem;
    display: flex; flex-direction: column;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.offer:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.offer.featured { background: var(--brown); color: var(--cream); border-color: var(--brown); }
.offer.featured h3, .offer.featured .price { color: var(--white); }
.offer.featured p, .offer.featured li { color: rgba(246,244,240,.82); }
.offer-tag {
    position: absolute;
    top: -14px; right: 1.6rem;
    z-index: 2;
    line-height: 1; white-space: nowrap;
    font-size: .68rem; letter-spacing: 1.5px; text-transform: uppercase;
    background: var(--terracotta); color: var(--cream);
    padding: .5rem .9rem; border-radius: var(--radius-pill); font-weight: 700;
    box-shadow: var(--shadow-md);
}
.offer h3 { margin-bottom: .5rem; }
.offer .price { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; color: var(--brown-dark); margin: .6rem 0 1.2rem; }
.offer .price small { font-family: var(--sans); font-size: .85rem; color: var(--muted); font-weight: 500; }
.offer ul { display: grid; gap: .7rem; margin: 1rem 0 1.8rem; }
.offer li { display: flex; gap: .6rem; font-size: .93rem; }
.offer li::before { content: "✓"; color: var(--brown-light); font-weight: 700; }
.offer.featured li::before { color: var(--cream); }
.offer .btn { margin-top: auto; }

/* ============================ IMAGE + TEXTE =========================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-photo {
    aspect-ratio: 5 / 4; border-radius: var(--radius-lg);
    background: linear-gradient(150deg, var(--cream-dark), var(--brown-light));
    box-shadow: var(--shadow-md);
    display: grid; place-items: center;
}
.split-photo .photo-ph { color: rgba(64,55,47,.55); }
.check-list { display: grid; gap: 1rem; margin-top: 1.8rem; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; }
.check-list li::before {
    content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%;
    background: var(--cream); color: var(--brown); display: grid; place-items: center;
    font-size: .8rem; font-weight: 700; margin-top: 2px;
}

/* ============================ VALEURS ================================= */
.value {
    text-align: center;
    padding: 1rem;
}
.value .ic {
    width: 60px; height: 60px; margin: 0 auto 1.2rem;
    border-radius: 50%; background: var(--cream);
    display: grid; place-items: center; font-size: 1.6rem;
}
.value h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.value p { font-size: .92rem; }

/* ============================ RESSOURCES (petites cartes) ============= */
.resource {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 1.8rem;
    display: flex; flex-direction: column; gap: .9rem;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.resource:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.resource .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--cream); display: grid; place-items: center; font-size: 1.25rem; }
.resource h3 { font-size: 1.15rem; }
.resource p { font-size: .9rem; flex: 1; }
.resource .btn-ghost { align-self: flex-start; padding-left: 0; font-size: .85rem; }

/* ============================ FORMULAIRE =============================== */
.form { display: grid; gap: 1.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.field { display: grid; gap: .5rem; }
.field label { font-size: .82rem; font-weight: 600; color: var(--brown-dark); letter-spacing: .3px; }
.field input, .field select, .field textarea {
    border: 1.5px solid var(--border); background: var(--white);
    border-radius: var(--radius-sm); padding: .85rem 1rem;
    font-size: .95rem; color: var(--text); transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--brown-light);
    box-shadow: 0 0 0 4px rgba(91, 79, 71, .1);
}
.field-note { font-size: .8rem; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info { background: var(--brown); color: var(--cream); border-radius: var(--radius-lg); padding: 2.4rem; display: grid; gap: 1.6rem; }
.contact-info h3 { color: var(--white); font-size: 1.4rem; }
.contact-info .item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info .item .ic {
    width: 42px; height: 42px; flex: none; border-radius: 12px;
    background: rgba(246,244,240,.12); display: grid; place-items: center; font-size: 1.1rem;
}
.contact-info .item strong { display: block; color: var(--white); font-size: .95rem; margin-bottom: .2rem; }
.contact-info .item span { font-size: .88rem; color: rgba(246,244,240,.78); }

/* ============================ AVIS (CARROUSEL) ======================== */
.reviews { overflow: hidden; }
.reviews-track {
    display: flex; gap: 1.6rem; width: max-content;
    animation: scroll-x 46s linear infinite;
}
.reviews:hover .reviews-track { animation-play-state: paused; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

.review {
    width: 380px; flex: none;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 2rem;
}
.review .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: .8rem; }
.review p { color: var(--text); font-size: .96rem; margin: 0 0 1.3rem; }
.review .who { display: flex; align-items: center; gap: .8rem; }
.review .avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(150deg, var(--brown-light), var(--brown-dark));
    display: grid; place-items: center; color: var(--cream); font-family: var(--serif); font-weight: 600;
}
.review .who strong { font-size: .9rem; color: var(--brown-dark); }
.review .who span { font-size: .78rem; color: var(--muted); }

/* ============================ CTA FINAL ============================== */
.cta-band { text-align: center; }
.cta-band .container { max-width: 720px; }
.cta-band h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band p { color: rgba(246,244,240,.85); margin-bottom: 2rem; }
.cta-band .hero-actions { justify-content: center; }

/* ============================ FOOTER ================================ */
.site-footer { background: var(--brown-dark); color: rgba(246,244,240,.75); padding: clamp(3.5rem, 6vw, 5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer .brand-name { color: var(--white); }
.site-footer h4 { color: var(--white); font-family: var(--sans); font-size: .82rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; margin-bottom: 1.2rem; }
.site-footer a { display: block; padding: .35rem 0; font-size: .9rem; transition: color .25s; }
.site-footer a:hover { color: var(--cream); }
.footer-about p { font-size: .92rem; margin-top: 1rem; max-width: 300px; }
.footer-bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(246,244,240,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .82rem; }

/* ============================ ANIMATIONS SCROLL ===================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .reviews-track { animation: none; }
    html { scroll-behavior: auto; }
}

/* ============================ CATALOGUE D'OFFRES ======================= */
.filters {
    display: flex; flex-wrap: wrap; gap: 2rem;
    padding: 1.6rem 1.8rem; margin-bottom: 2.2rem;
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
}
.filter-group { display: flex; flex-direction: column; gap: .7rem; }
.filter-group-label {
    font-size: .72rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
    color: var(--brown-light);
}
.filter-options { display: flex; flex-wrap: wrap; gap: .6rem; }
.filter-checkbox {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap;
}
.filter-chip {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .5rem 1.1rem; border: 1.5px solid var(--border); border-radius: var(--radius-pill);
    font-size: .82rem; font-weight: 600; color: var(--text); cursor: pointer;
    transition: background .2s, color .2s, border-color .2s; user-select: none;
}
.filter-checkbox:checked + .filter-chip { background: var(--brown); border-color: var(--brown); color: var(--cream); }
.filter-checkbox:focus-visible + .filter-chip { outline: 2px solid var(--brown-light); outline-offset: 2px; }

.offers-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.6rem; flex-wrap: wrap; gap: 1rem; }
.offers-count { font-size: .88rem; color: var(--muted); }
.offers-reset { font-size: .82rem; font-weight: 600; color: var(--brown); text-decoration: underline; cursor: pointer; }
.offers-empty { display: none; text-align: center; padding: 4rem 1rem; color: var(--muted); }
.offers-empty.visible { display: block; }

.offers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }

.offer-card {
    display: block; background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 1.9rem;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.offer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.offer-card-top { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.offer-card-tag, .offer-card-format {
    font-size: .66rem; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
    padding: .3rem .7rem; border-radius: var(--radius-pill);
}
.offer-card-tag { background: var(--cream); color: var(--brown-dark); }
.offer-card-format { border: 1px solid var(--border); color: var(--muted); }
.offer-card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.offer-card p { font-size: .88rem; margin-bottom: 1.2rem; }
.offer-card-price { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--brown-dark); }
.offer-card-price small { font-family: var(--sans); font-size: .78rem; color: var(--muted); font-weight: 500; }

/* ============================ FICHE OFFRE (détail) ===================== */
.offre-detail { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.offre-meta { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.offre-content h2 { margin-bottom: 1rem; }
.offre-content h3 { font-size: 1.2rem; margin: 2rem 0 .8rem; }

.offre-sidebar {
    position: sticky; top: calc(var(--header-h) + 2rem);
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 2.1rem; display: grid; gap: 1.3rem;
}
.offre-sidebar .price { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: var(--brown-dark); }
.offre-sidebar .price small { font-family: var(--sans); font-size: .84rem; color: var(--muted); font-weight: 500; }
.offre-sidebar .btn { width: 100%; }
.payment-note {
    background: var(--cream); border-radius: var(--radius-sm);
    padding: 1rem 1.2rem; font-size: .8rem; color: var(--brown-light); line-height: 1.6;
}
.payment-methods { display: flex; gap: .6rem; flex-wrap: wrap; }
.payment-methods span {
    font-size: .74rem; font-weight: 600; color: var(--muted);
    border: 1px solid var(--border); border-radius: var(--radius-pill); padding: .3rem .7rem;
}

/* ============================ CGV / LEGAL ============================= */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { margin: 2.2rem 0 .8rem; font-size: 1.4rem; }
.legal-content p, .legal-content li { color: var(--text); font-size: .95rem; }
.legal-content ul { list-style: disc; padding-left: 1.4rem; display: grid; gap: .4rem; margin-top: .6rem; }

/* ============================ ESPACE CLIENT ============================ */
.espace-shell {
    display: grid; grid-template-columns: 240px 1fr; gap: 2.5rem;
    padding-top: calc(var(--header-h) + 2.5rem); padding-bottom: 4rem;
}
.espace-nav {
    display: grid; gap: .3rem; align-content: start;
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
    padding: 1.2rem;
}
.espace-nav a {
    display: block; padding: .7rem .9rem; border-radius: var(--radius-sm);
    font-size: .88rem; font-weight: 600; color: var(--text); transition: .2s;
}
.espace-nav a:hover { background: var(--cream); }
.espace-nav a.active { background: var(--brown); color: var(--cream); }
.espace-nav a.deconnexion { color: #B5453D; margin-top: .6rem; border-top: 1px solid var(--border); padding-top: 1rem; }

.espace-main .eyebrow { margin-bottom: 1rem; }
.espace-main h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: .5rem; }
.espace-main .lead { margin-bottom: 2rem; }

.apercu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 1rem; }
.apercu-item { padding: 1.6rem; }
.apercu-valeur { font-family: var(--serif); font-size: 1.8rem; color: var(--brown-dark); line-height: 1.1; }
.apercu-detail { font-size: .82rem; color: var(--muted); margin-top: .3rem; }
.apercu-lien { display: inline-block; margin-top: 1rem; font-size: .82rem; font-weight: 600; text-decoration: underline; }

.espace-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.espace-table th, .espace-table td { text-align: left; padding: .9rem 1.1rem; font-size: .88rem; border-bottom: 1px solid var(--border); }
.espace-table th { font-size: .7rem; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); background: var(--cream); }
.espace-table tr:last-child td { border-bottom: none; }

.pill-statut { display: inline-block; padding: .25rem .7rem; border-radius: var(--radius-pill); font-size: .72rem; font-weight: 600; }
.pill-statut.planifiee, .pill-statut.en_attente { background: #EEF1F8; color: #4A5A8A; }
.pill-statut.honoree, .pill-statut.valide { background: #E7F3E8; color: #3F7A4A; }
.pill-statut.non_honoree, .pill-statut.refuse { background: #FBE9E7; color: #B5453D; }

.espace-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); background: var(--white); border: 1px dashed var(--border); border-radius: var(--radius-md); }

.progress-bar { height: 8px; border-radius: 99px; background: var(--cream-dark); overflow: hidden; }
.progress-bar > span { display: block; height: 100%; background: var(--brown); border-radius: 99px; }

.star-input { display: flex; gap: .4rem; font-size: 1.6rem; }
.star-input button { background: none; border: none; cursor: pointer; color: var(--border); padding: 0; line-height: 1; transition: color .15s; }
.star-input button.active { color: var(--gold); }

/* ============================ PROGRESSION (graphique simple) ========== */
.chart-bars { display: flex; align-items: flex-end; gap: .8rem; height: 160px; padding-top: 1rem; overflow-x: auto; }
.chart-bars .bar { flex: none; width: 34px; display: flex; flex-direction: column; align-items: center; gap: .5rem; height: 100%; justify-content: flex-end; }
.chart-bars .bar .valeur { font-size: .68rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.chart-bars .bar .fill { width: 100%; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--brown-light), var(--brown)); min-height: 4px; }
.chart-bars .bar .date { font-size: .64rem; color: var(--muted); white-space: nowrap; }
.chart-empty { color: var(--muted); font-size: .9rem; }

/* ============================ MEDIAS (galerie) ========================= */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.media-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); background: var(--white); }
.media-item img, .media-item video { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.media-item .legende { font-size: .74rem; color: var(--muted); padding: .5rem .6rem; }
.media-item form { position: absolute; top: .4rem; right: .4rem; }
.media-item .supprimer {
    background: rgba(58,52,47,.65); color: var(--white); border-radius: 50%;
    width: 26px; height: 26px; font-size: .8rem; line-height: 1; cursor: pointer;
}

/* ============================ DOCUMENTS ================================= */
.document-list { display: grid; gap: .7rem; margin-top: 1rem; }
.document-item {
    display: flex; align-items: center; gap: .8rem;
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: .8rem 1rem;
}
.document-item a { display: flex; align-items: center; gap: .8rem; flex: 1; min-width: 0; text-decoration: none; color: var(--text); }
.document-item .document-icone { font-size: 1.3rem; line-height: 1; }
.document-item .document-titre { font-weight: 500; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.document-item .document-date { font-size: .74rem; color: var(--muted); white-space: nowrap; }
.document-item .supprimer {
    background: rgba(58,52,47,.65); color: var(--white); border-radius: 50%;
    width: 26px; height: 26px; font-size: .8rem; line-height: 1; cursor: pointer; flex-shrink: 0;
}

/* ============================ NUTRITION ================================ */
.objectif-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1rem 0 0; }
.objectif-grid .item { background: var(--cream); border-radius: var(--radius-sm); padding: 1rem; text-align: center; }
.objectif-grid .item .val { font-family: var(--serif); font-size: 1.5rem; color: var(--brown-dark); }
.objectif-grid .item .lbl { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.journal-list { display: grid; gap: .8rem; margin-top: 1.5rem; }
.journal-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem 1.2rem; }
.journal-item .date { font-size: .74rem; color: var(--brown-light); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: .3rem; }

/* ============================ MODULES VERROUILLES ====================== */
.module-verrouille { text-align: center; padding: 3rem 1rem; color: var(--muted); background: var(--white); border: 1px dashed var(--border); border-radius: var(--radius-md); }

/* ============================ CALENDRIER SEMAINE (disponibilites) ===== */
.semaine-vue { display: flex; flex-direction: column; width: 100%; }
.semaine-entete { display: flex; border-bottom: 2px solid var(--border); position: sticky; top: 0; background: var(--white); z-index: 2; }
.semaine-gouttiere { width: 42px; flex-shrink: 0; }
.semaine-jour-entete { flex: 1; text-align: center; padding: .5rem .3rem; font-size: .74rem; border-left: 1px solid var(--border); line-height: 1.3; color: var(--muted); }
.semaine-jour-entete strong { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--brown-dark); margin-top: .1rem; }
.semaine-jour-entete.aujourdhui { color: var(--brown); }
.semaine-jour-entete.aujourdhui strong {
    background: var(--brown); color: var(--cream); border-radius: 50%;
    width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; font-size: .9rem;
}

.semaine-corps { overflow-y: auto; max-height: 560px; border: 1px solid var(--border); border-top: none; border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.semaine-interieur { display: flex; position: relative; }
.semaine-heures { width: 42px; flex-shrink: 0; position: relative; }
.heure-label { position: absolute; right: 6px; font-size: .62rem; color: var(--muted); transform: translateY(-50%); white-space: nowrap; }
.semaine-jours { flex: 1; display: flex; min-width: 0; }
.jour-colonne { flex: 1; position: relative; border-left: 1px solid var(--border); min-width: 0; cursor: crosshair; }
.jour-colonne.aujourdhui { background: rgba(91, 79, 71, .04); }
.heure-ligne { position: absolute; left: 0; right: 0; height: 1px; background: var(--border); pointer-events: none; }
.demi-heure-ligne { position: absolute; left: 0; right: 0; height: 1px; background: var(--border); opacity: .4; pointer-events: none; }
.maintenant-ligne { position: absolute; left: 0; right: 0; height: 2px; background: var(--brown); z-index: 3; pointer-events: none; }
.maintenant-ligne::before { content: ''; position: absolute; left: -4px; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--brown); }
.colonne-marqueur { position: absolute; left: 0; right: 0; height: 2px; background: var(--brown-dark); z-index: 4; pointer-events: none; }

.bloc-plage-form { position: absolute; left: 2px; right: 2px; margin: 0; z-index: 1; }
.bloc-plage { width: 100%; height: 100%; border: none; border-radius: 4px; cursor: pointer; padding: 0; display: block; }
.bloc-plage.disponible { background: #BFE0C4; }
.bloc-plage.disponible:hover { background: #A7D4AD; }
.bloc-plage.indisponible { background: #D9D9D9; }
.bloc-plage.indisponible:hover { background: #C7C7C7; }

.bloc-seance {
    position: absolute; left: 2px; right: 2px; z-index: 2;
    background: var(--brown); color: var(--cream); border-radius: 4px;
    border-left: 3px solid rgba(255, 255, 255, .5);
    padding: 3px 5px; font-size: .64rem; line-height: 1.25; text-decoration: none;
    overflow: hidden; text-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}
.bloc-seance:hover { background: var(--brown-dark); }
.bloc-seance .bs-heure { font-weight: 700; display: block; }
.bloc-seance .bs-nom { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.popup-plage {
    position: fixed; inset: 0; background: rgba(58, 52, 47, .5);
    display: flex; align-items: center; justify-content: center; padding: 1rem; z-index: 60;
}
.popup-plage[hidden] { display: none; }
.popup-plage form {
    background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
    padding: 1.6rem; max-width: 400px; width: 100%;
    display: flex; flex-direction: column; gap: 1.2rem;
}
.popup-plage-heures { display: flex; gap: 1rem; }
.popup-plage-heures label { display: flex; flex-direction: column; gap: .3rem; font-size: .82rem; font-weight: 500; flex: 1; }
.popup-plage-heures input { padding: .5rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: inherit; width: 100%; }
.popup-plage-jours { display: flex; flex-direction: column; gap: .5rem; }
.popup-plage-jours label { display: flex; align-items: center; gap: .5rem; font-size: .82rem; }
.popup-plage-jours label input { width: auto; }
.popup-plage-actions { display: flex; flex-direction: column; gap: .6rem; }

@media (max-width: 860px) {
    .espace-shell { grid-template-columns: 1fr; }
    .espace-nav { grid-auto-flow: column; overflow-x: auto; }
    .objectif-grid { grid-template-columns: repeat(2, 1fr); }
    .apercu-grid { grid-template-columns: 1fr; }
}

/* ============================ BACK-OFFICE (coach / admin) ============= */
/* Habillage volontairement différent du site public : pas de menu Offres/
   À propos, pas de footer marketing — pour que ça se voie immédiatement
   qu'on est dans un espace professionnel distinct, pas juste une page
   client de plus. */
.back-page { background: var(--bg); min-height: 100vh; }

.back-topbar {
    background: rgba(252, 251, 249, .92); backdrop-filter: blur(16px);
    padding: 1.3rem 0; border-bottom: 1px solid var(--border);
}
.back-topbar .wrap { width: min(94%, 1400px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.back-topbar .brand { display: flex; align-items: baseline; gap: .8rem; }
.back-topbar .brand strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: 3px; color: var(--brown-dark); }
.back-topbar .brand span { font-size: .6rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--brown-light); }
.back-topbar .who { display: flex; align-items: center; gap: 1.2rem; }
.back-topbar .who .role-badge { font-size: .92rem; font-weight: 700; color: var(--brown-dark); }
.back-topbar .who a { color: var(--brown-light); text-decoration: underline; font-size: .82rem; }

.back-shell {
    display: grid; grid-template-columns: 240px 1fr; gap: 2.5rem;
    width: min(94%, 1400px); margin-inline: auto;
    padding-top: 2.5rem; padding-bottom: 4rem;
}

@media (max-width: 860px) {
    .back-shell { grid-template-columns: 1fr; }
}

/* ============================ PAGE SIMPLE (placeholder) ============= */
.page-hero { padding-top: calc(var(--header-h) + 5rem); padding-bottom: 3rem; text-align: center; background: var(--cream); }
.page-hero .eyebrow { margin-bottom: 1rem; }
.soon { text-align: center; padding: 5rem 0; }
.soon .tag { display: inline-block; background: var(--cream); color: var(--brown); padding: .4rem 1rem; border-radius: var(--radius-pill); font-size: .8rem; font-weight: 600; letter-spacing: 1px; margin-bottom: 1.5rem; }

/* ============================ RESPONSIVE =========================== */
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-copy .lead { margin-inline: auto; }
    .hero-actions, .hero-stats { justify-content: center; }
    .hero-visual { max-width: 420px; margin: 1rem auto 0; }
    .split { grid-template-columns: 1fr; }
    .split-photo { order: -1; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .offers-grid { grid-template-columns: repeat(2, 1fr); }
    .offre-detail { grid-template-columns: 1fr; }
    .offre-sidebar { position: static; }
}

@media (max-width: 720px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed; inset: 0 0 0 auto; width: min(80%, 320px);
        flex-direction: column; align-items: stretch; gap: 1.5rem; padding: 6rem 2rem;
        background: var(--cream); box-shadow: var(--shadow-lg);
        transform: translateX(100%); transition: transform .4s var(--ease);
        overflow-y: auto;
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a { font-size: 1.1rem; }
    .nav-links-cta { margin-top: .8rem; padding-top: 1.3rem; border-top: 1px solid var(--border); }
    .nav-links-cta .btn { width: 100%; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .hero-stats { gap: 1.5rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { justify-content: center; text-align: center; }
    .offers-grid { grid-template-columns: 1fr; }
    .filters { flex-direction: column; gap: 1.3rem; }
}
