/* ===================================================================
   VOYANCEGRAPINNAWEL.FR — TERRACOTTA & INDIGO BERBÈRE
   Direction : tradition kabyle matriarcale, terre & lin
   ================================================================= */

/* ============ TOKENS ============ */
:root {
    /* Palette Terracotta & Indigo Berbère */
    --c-paper: #F4EDE2;
    --c-paper-2: #EDE3D2;
    --c-paper-3: #E0D3BD;
    --c-ink: #1A2752;
    --c-ink-2: #2D3F6B;
    --c-ink-soft: #4A5675;
    --c-heart: #B5532A;
    --c-heart-2: #A0421F;
    --c-heart-soft: #D38560;
    --c-gold: #A18554;
    --c-gold-soft: #C4A57A;
    --c-gold-deep: #7A6342;
    --c-sage: #B8B0A4;
    --c-sage-soft: #CFC8BC;
    --c-chocolate: #2A1F18;
    --c-cream-warm: #FAF5EB;

    --c-line: rgba(26, 39, 82, 0.12);
    --c-line-strong: rgba(26, 39, 82, 0.25);
    --c-line-heart: rgba(181, 83, 42, 0.22);

    /* Typo */
    --f-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --f-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --f-script: 'Caveat', 'Brush Script MT', cursive;

    /* Échelle fluide */
    --fs-xs: clamp(0.75rem, 0.74rem + 0.05vw, 0.78rem);
    --fs-sm: clamp(0.875rem, 0.86rem + 0.07vw, 0.92rem);
    --fs-base: clamp(1rem, 0.98rem + 0.1vw, 1.06rem);
    --fs-lg: clamp(1.125rem, 1.09rem + 0.18vw, 1.25rem);
    --fs-xl: clamp(1.35rem, 1.27rem + 0.4vw, 1.6rem);
    --fs-2xl: clamp(1.7rem, 1.55rem + 0.75vw, 2.2rem);
    --fs-3xl: clamp(2.2rem, 1.9rem + 1.5vw, 3.2rem);
    --fs-4xl: clamp(2.7rem, 2.2rem + 2.5vw, 4.4rem);

    /* Espaces */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.5rem;
    --sp-6: 2rem;
    --sp-7: 3rem;
    --sp-8: 4rem;
    --sp-9: 6rem;
    --sp-10: 8rem;

    /* Layout */
    --container: 1240px;
    --radius-sm: 4px;
    --radius: 10px;
    --radius-lg: 18px;
    --radius-xl: 28px;

    /* Effets */
    --shadow-paper: 0 1px 0 rgba(26, 39, 82, 0.04), 0 4px 16px rgba(26, 39, 82, 0.05);
    --shadow-soft: 0 6px 24px rgba(26, 39, 82, 0.08);
    --shadow-mid: 0 14px 40px rgba(26, 39, 82, 0.10), 0 4px 12px rgba(26, 39, 82, 0.06);
    --shadow-strong: 0 28px 70px rgba(26, 39, 82, 0.15), 0 8px 20px rgba(26, 39, 82, 0.08);
    --shadow-polaroid: 0 1px 1px rgba(0,0,0,0.10), 0 4px 6px rgba(0,0,0,0.05), 0 12px 20px rgba(0,0,0,0.07);
    --shadow-heart: 0 14px 40px rgba(181, 83, 42, 0.18);

    /* Transitions */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
}

/* ============ SKIP LINK A11Y ============ */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: var(--c-heart);
    color: var(--c-paper);
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    z-index: 1000;
    text-decoration: none;
    font-weight: 500;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 1rem;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--f-body);
    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--c-ink);
    background: var(--c-paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    /* trame papier subtile */
    background-image:
        radial-gradient(circle at 20% 30%, rgba(181, 83, 42, 0.015), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(161, 133, 84, 0.02), transparent 50%);
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; cursor: pointer; font: inherit; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--c-heart); outline-offset: 3px; border-radius: 3px; }

::selection { background: var(--c-heart); color: var(--c-paper); }

/* ============ PAPER GRAIN OVERLAY (subtil) ============ */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.35;
    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.85' numOctaves='2' /><feColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.18 0 0 0 0 0.22 0 0 0 0.04 0' /></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    background-size: 200px 200px;
}

/* ============ UTIL ============ */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2.5rem);
    position: relative;
    z-index: 2;
}

.section {
    padding: clamp(4rem, 9vw, 8rem) 0;
    position: relative;
    z-index: 2;
}

.section-head {
    max-width: 920px;
    margin-bottom: var(--sp-8);
    position: relative;
}
.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.section-head .section-lead { max-width: 65ch; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--f-script);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--c-heart);
    margin-bottom: var(--sp-4);
    letter-spacing: 0.01em;
    line-height: 1;
}
.section-tag::before {
    content: '~';
    color: var(--c-heart);
    margin-right: 0.3rem;
    opacity: 0.6;
}
.section-tag::after {
    content: '~';
    color: var(--c-heart);
    margin-left: 0.3rem;
    opacity: 0.6;
}

.section-title {
    font-family: var(--f-display);
    font-size: clamp(1.85rem, 1.55rem + 1.15vw, 2.55rem);
    line-height: 1.12;
    font-weight: 400;
    color: var(--c-ink);
    letter-spacing: -0.01em;
    margin-bottom: var(--sp-5);
}
.section-title em, .section-title i {
    font-style: italic;
    color: var(--c-heart);
}
/* Titres dans colonnes contraintes (story-content) : un cran plus petit */
.story-content .section-title {
    font-size: clamp(1.65rem, 1.35rem + 1vw, 2.2rem);
    line-height: 1.15;
}

.section-lead {
    font-size: var(--fs-lg);
    line-height: 1.65;
    color: var(--c-ink-soft);
    max-width: 65ch;
}
.center .section-lead { margin-left: auto; margin-right: auto; }

/* eyebrow style "manuscrit" */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--f-script);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--c-heart);
    margin-bottom: var(--sp-5);
    line-height: 1;
}
.eyebrow::before {
    content: '';
    width: 24px; height: 1px;
    background: var(--c-heart);
    opacity: 0.5;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.6rem;
    font-family: var(--f-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-radius: 999px;
    transition: all 0.45s var(--ease);
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-heart {
    background: var(--c-heart);
    color: var(--c-paper);
    border: 1px solid var(--c-heart);
}
.btn-heart:hover {
    background: var(--c-heart-2);
    border-color: var(--c-heart-2);
    box-shadow: var(--shadow-heart);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--c-ink);
    border: 1px solid var(--c-line-strong);
}
.btn-ghost:hover {
    background: var(--c-ink);
    color: var(--c-paper);
    border-color: var(--c-ink);
    transform: translateY(-2px);
}

.btn-ghost-light {
    background: transparent;
    color: var(--c-paper);
    border: 1px solid rgba(248, 243, 234, 0.3);
}
.btn-ghost-light:hover {
    background: var(--c-paper);
    color: var(--c-ink);
    border-color: var(--c-paper);
}

.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.85rem; min-height: 44px; min-width: 44px; }
.btn-lg { padding: 1.15rem 2rem; font-size: 1rem; }

/* ============ HEADER / NAV ============ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(248, 243, 234, 0.78);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid transparent;
    transition: all 0.4s var(--ease);
}
.site-header.scrolled {
    background: rgba(248, 243, 234, 0.94);
    border-bottom-color: var(--c-line);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem clamp(1rem, 4vw, 2.5rem);
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.logo-mark {
    display: inline-grid;
    place-items: center;
    width: 40px; height: 40px;
    background: var(--c-heart);
    color: var(--c-paper);
    font-family: var(--f-display);
    font-style: italic;
    font-size: 1.4rem;
    font-weight: 400;
    border-radius: 50%;
    letter-spacing: -0.02em;
    transition: transform 0.6s var(--ease);
    position: relative;
}
.logo-mark::after {
    content: '♥';
    position: absolute;
    bottom: 4px; right: 4px;
    font-size: 0.45rem;
    color: var(--c-gold-soft);
    line-height: 1;
}
.logo:hover .logo-mark { transform: rotate(-12deg); }
.logo-name {
    font-family: var(--f-display);
    font-style: italic;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--c-ink);
    letter-spacing: -0.01em;
}
.logo-light .logo-name { color: var(--c-paper); }

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: clamp(0.85rem, 2vw, 1.75rem);
}
.nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--c-ink-soft);
    position: relative;
    transition: color 0.3s var(--ease);
    padding: 0.4rem 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    width: 0; height: 1px;
    background: var(--c-heart);
    transition: width 0.4s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--c-ink); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.btn { color: var(--c-paper); }
.nav-link.btn::after { display: none; }

.nav-toggle {
    display: none;
    width: 38px; height: 38px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 22px; height: 1.5px;
    background: var(--c-ink);
    transition: all 0.4s var(--ease);
}

@media (max-width: 920px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 70px; left: 0; right: 0;
        background: var(--c-paper);
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s var(--ease);
        border-bottom: 1px solid var(--c-line);
    }
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-menu ul {
        flex-direction: column;
        gap: 1.25rem;
        align-items: stretch;
    }
    .nav-menu li { width: 100%; }
    .nav-link.btn { justify-content: center; }
    .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* ============ HERO ============ */
.hero {
    position: relative;
    padding: calc(110px + clamp(2rem, 5vw, 4rem)) 0 clamp(4rem, 8vw, 7rem);
    overflow: hidden;
    z-index: 2;
}
.hero::before {
    content: '';
    position: absolute;
    top: 10%; right: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(161, 133, 84, 0.18), transparent 60%);
    pointer-events: none;
    z-index: -1;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -150px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(181, 83, 42, 0.10), transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}

.hero-content { position: relative; z-index: 2; }

.hero-title {
    font-family: var(--f-display);
    font-size: var(--fs-4xl);
    line-height: 1.02;
    font-weight: 400;
    color: var(--c-ink);
    letter-spacing: -0.025em;
    margin-bottom: var(--sp-6);
}
.hero-title em, .hero-title i {
    font-style: italic;
    color: var(--c-heart);
    position: relative;
}

.hero-lead {
    font-size: var(--fs-lg);
    line-height: 1.6;
    color: var(--c-ink-soft);
    max-width: 50ch;
    margin-bottom: var(--sp-7);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: var(--sp-7);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding-top: var(--sp-6);
    border-top: 1px solid var(--c-line);
    position: relative;
}
.hero-stats::before {
    content: '✦';
    position: absolute;
    top: -10px; left: 50%;
    transform: translateX(-50%);
    background: var(--c-paper);
    color: var(--c-heart);
    padding: 0 0.6rem;
    font-size: 0.85rem;
}
.hero-stats li {
    padding-right: 1rem;
    border-right: 1px solid var(--c-line);
}
.hero-stats li:last-child { border-right: 0; padding-right: 0; }
.hero-stats li:not(:first-child) { padding-left: 1rem; }
.stat-num {
    display: block;
    font-family: var(--f-display);
    font-style: italic;
    font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
    font-weight: 400;
    color: var(--c-heart);
    line-height: 1.05;
    margin-bottom: 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.stat-label {
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--c-ink-soft);
    letter-spacing: 0.02em;
}

/* HERO MEDIA — frame style polaroid */
.hero-media {
    position: relative;
}
.hero-image-frame {
    position: relative;
    background: var(--c-cream-warm);
    padding: 14px 14px 60px;
    border-radius: 4px;
    box-shadow: var(--shadow-strong);
    transform: rotate(-1.5deg);
    transition: transform 1s var(--ease);
}
.hero-image-frame::before {
    /* tape (scotch) en haut */
    content: '';
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: 90px; height: 24px;
    background: rgba(161, 133, 84, 0.45);
    border-radius: 1px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.hero-image-frame::after {
    /* signature manuscrite en bas */
    content: 'Nawel ✦';
    position: absolute;
    bottom: 18px; left: 50%;
    transform: translateX(-50%);
    font-family: var(--f-script);
    font-size: 1.4rem;
    color: var(--c-heart);
    letter-spacing: 0.02em;
    line-height: 1;
}
.hero-media:hover .hero-image-frame { transform: rotate(0deg); }

.hero-image {
    border-radius: 2px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}
.hero-image img {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* hero accents (cards flottantes) */
.hero-card {
    position: absolute;
    background: var(--c-cream-warm);
    border-radius: var(--radius);
    box-shadow: var(--shadow-mid);
    padding: 0.9rem 1.1rem;
    border: 1px solid var(--c-line);
    animation: float 6s ease-in-out infinite;
    z-index: 3;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-card-quote {
    bottom: 0;
    left: -30px;
    max-width: 250px;
    background: var(--c-ink);
    color: var(--c-paper);
    border-color: var(--c-ink-2);
    transform: rotate(-2deg);
    animation-delay: -3s;
}
.hero-card-quote .quote-mark {
    display: block;
    font-family: var(--f-display);
    font-style: italic;
    font-size: 2.2rem;
    line-height: 0.5;
    color: var(--c-heart-soft);
    margin-bottom: 0.5rem;
}
.hero-card-quote p {
    font-family: var(--f-display);
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.4rem;
}
.hero-card-quote .quote-author {
    font-family: var(--f-script);
    font-size: 1.1rem;
    color: var(--c-gold-soft);
    line-height: 1;
}

.hero-card-trust {
    top: 24px;
    right: -25px;
    text-align: center;
    transform: rotate(3deg);
}
.trust-stars {
    color: var(--c-heart);
    letter-spacing: 0.1em;
    font-size: 0.95rem;
}
.trust-label {
    display: block;
    font-size: 0.75rem;
    color: var(--c-ink-soft);
    margin-top: 0.2rem;
}
.trust-label strong { color: var(--c-ink); font-weight: 600; }

@media (max-width: 920px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-media { order: -1; max-width: 420px; margin: 0 auto; }
    .hero-card-quote { left: -10px; max-width: 220px; }
    .hero-card-trust { right: -10px; }
}
@media (max-width: 540px) {
    .hero-stats { grid-template-columns: 1fr 1fr; gap: 1.25rem 0; }
    .hero-stats li { border-right: 0; padding: 0; }
    .hero-stats li:nth-child(odd) { border-right: 1px solid var(--c-line); padding-right: 1rem; }
    .hero-stats li:nth-child(even) { padding-left: 1rem; }
    .hero-stats li:nth-child(3) { grid-column: 1 / -1; padding: 1rem 0 0; border-right: 0; border-top: 1px solid var(--c-line); }
}

/* ============ MARQUEE ============ */
.marquee-section {
    background: var(--c-ink);
    color: var(--c-paper);
    padding: 1.4rem 0;
    overflow: hidden;
    position: relative;
    z-index: 3;
}
.marquee {
    overflow: hidden;
    -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 40s linear infinite;
}
.marquee-item {
    font-family: var(--f-display);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--c-gold-soft);
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.marquee-item .heart-accent {
    color: var(--c-heart-soft);
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============ JOURNAL PAGE — section style "page de carnet" ============ */
.journal-page {
    background: var(--c-cream-warm);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 5vw, 4rem);
    box-shadow: var(--shadow-paper);
    position: relative;
    /* lignes manuscrites subtiles */
    background-image:
        linear-gradient(0deg, rgba(26, 39, 82, 0.04) 1px, transparent 1px);
    background-size: 100% 2.4em;
    background-position: 0 4em;
}
.journal-page::before {
    /* marge rouge à gauche (carnet à spirales) */
    content: '';
    position: absolute;
    left: 36px; top: 0; bottom: 0;
    width: 1px;
    background: var(--c-heart-soft);
    opacity: 0.3;
}

/* ============ SECTION : PHILOSOPHIE / WHY-PAID / etc avec polaroids ============ */
.philosophy {
    background: var(--c-paper);
    position: relative;
}

.flip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.flip-card {
    perspective: 1400px;
    aspect-ratio: 3 / 4;
    cursor: pointer;
    isolation: isolate;
}
.flip-inner {
    position: relative;
    width: 100%; height: 100%;
    transition: transform 0.95s var(--ease);
    transform-style: preserve-3d;
    will-change: transform;
}
.flip-card:hover .flip-inner,
.flip-card:focus-within .flip-inner,
.flip-card.is-flipped .flip-inner {
    transform: rotateY(180deg);
}
.flip-front, .flip-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.4rem 1.4rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateZ(0.01px);
    -webkit-transform: translateZ(0.01px);
}
.flip-front {
    background: var(--c-cream-warm);
    color: var(--c-ink);
    border: 1px solid var(--c-line);
    box-shadow: var(--shadow-soft);
    transition: border-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.flip-front::before {
    /* coin corné de papier */
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 32px; height: 32px;
    background: linear-gradient(225deg, transparent 50%, rgba(26, 39, 82, 0.06) 50%);
    border-bottom-right-radius: var(--radius-lg);
}
.flip-front::after {
    /* halo discret */
    content: '';
    position: absolute;
    top: -20px; right: -20px;
    width: 80px; height: 80px;
    background: radial-gradient(circle, rgba(181, 83, 42, 0.10), transparent 65%);
    pointer-events: none;
}
.flip-card:hover .flip-front {
    border-color: var(--c-heart-soft);
    box-shadow: 0 25px 50px rgba(181, 83, 42, 0.12);
}

.flip-front-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    z-index: 2;
}
.flip-num {
    font-family: var(--f-script);
    font-size: 1.5rem;
    color: var(--c-heart);
    line-height: 1;
}
.flip-icon {
    width: 48px; height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(181, 83, 42, 0.08);
    color: var(--c-heart);
    border: 1px solid rgba(181, 83, 42, 0.2);
    transition: transform 0.6s var(--ease), background 0.6s var(--ease);
}
.flip-icon svg {
    width: 24px; height: 24px;
}
.flip-card:hover .flip-icon {
    transform: rotate(-8deg) scale(1.06);
    background: rgba(181, 83, 42, 0.18);
}

.flip-divider {
    position: relative;
    margin: 1.2rem 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-line-strong), transparent);
    z-index: 2;
}
.flip-divider span {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: var(--c-heart);
    background: var(--c-cream-warm);
    padding: 0 0.4rem;
    font-size: 0.8rem;
    line-height: 1;
}

.flip-front-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.5rem 0;
    position: relative;
    z-index: 2;
}
.flip-front h3 {
    font-family: var(--f-display);
    font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.55rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--c-ink);
    letter-spacing: -0.01em;
    margin-bottom: 0.6rem;
}
.flip-teaser {
    font-family: var(--f-display);
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--c-ink-soft);
    font-weight: 400;
}

.flip-hint {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-heart);
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px dashed rgba(181, 83, 42, 0.25);
    position: relative;
    z-index: 2;
    transition: color 0.4s var(--ease);
}
.flip-hint::before {
    content: '↻';
    flex-shrink: 0;
    font-size: 1rem;
    transition: transform 0.6s var(--ease);
}
.flip-card:hover .flip-hint::before {
    transform: rotate(180deg);
}

.flip-back {
    background: var(--c-ink);
    color: var(--c-paper);
    transform: rotateY(180deg) translateZ(0.01px);
    -webkit-transform: rotateY(180deg) translateZ(0.01px);
    justify-content: center;
    align-items: flex-start;
    border: 1px solid var(--c-ink-2);
    box-shadow: var(--shadow-strong);
}
.flip-back-glyph {
    font-family: var(--f-script);
    font-size: 2rem;
    color: var(--c-heart-soft);
    margin-bottom: 0.8rem;
    line-height: 1;
}
.flip-back p {
    font-family: var(--f-display);
    font-size: 1rem;
    line-height: 1.55;
    font-weight: 400;
}

/* ============ STORY ============ */
.story {
    background: var(--c-paper-2);
    position: relative;
}

.story-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}

.story-media {
    position: relative;
}
.story-image-polaroid {
    background: var(--c-cream-warm);
    padding: 12px 12px 56px;
    border-radius: 4px;
    box-shadow: var(--shadow-strong);
    transform: rotate(-2deg);
    transition: transform 1s var(--ease);
    position: relative;
}
.story-image-polaroid::after {
    content: '';
    position: absolute;
    top: -10px; left: 60%;
    transform: rotate(-3deg);
    width: 80px; height: 22px;
    background: rgba(181, 83, 42, 0.45);
    border-radius: 1px;
}
.story-image-polaroid-caption {
    position: absolute;
    bottom: 14px; left: 50%;
    transform: translateX(-50%);
    font-family: var(--f-script);
    font-size: 1.3rem;
    color: var(--c-heart);
    text-align: center;
    line-height: 1;
    white-space: nowrap;
}
.story-media:hover .story-image-polaroid { transform: rotate(0); }
.story-image-polaroid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 2px;
}

.story-content .section-tag { color: var(--c-heart); }

.story-intro {
    font-family: var(--f-display);
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.5;
    color: var(--c-ink);
    margin-bottom: var(--sp-6);
    max-width: 50ch;
    padding-left: 1.25rem;
    border-left: 2px solid var(--c-heart);
}

.story-block {
    margin-top: var(--sp-6);
    padding-top: var(--sp-6);
    border-top: 1px dashed var(--c-line-strong);
}
.story-block:first-of-type {
    border-top: 0;
    padding-top: 0;
    margin-top: var(--sp-7);
}
.story-block h3 {
    font-family: var(--f-display);
    font-size: 1.55rem;
    font-weight: 400;
    color: var(--c-ink);
    margin-bottom: var(--sp-3);
    line-height: 1.2;
}
.story-block h3 em { font-style: italic; color: var(--c-heart); }
.story-block p {
    color: var(--c-ink-soft);
    line-height: 1.7;
}

.truncate {
    display: -webkit-box;
    -webkit-line-clamp: var(--lines, 3);
    line-clamp: var(--lines, 3);
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.5s var(--ease);
}
.truncate.expanded {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    display: block;
}

.read-more {
    margin-top: var(--sp-3);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-heart);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0;
    transition: color 0.3s var(--ease);
}
.read-more::after {
    content: '↓';
    transition: transform 0.4s var(--ease);
}
.read-more.expanded::after { transform: rotate(180deg); }
.read-more:hover { color: var(--c-heart-2); }

@media (max-width: 920px) {
    .story-grid { grid-template-columns: 1fr; }
}

/* ============ COMPARE GRID ============ */
.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}
/* Quand 3 cartes : layout 3 colonnes, pas de badge "vs" */
.compare-grid:has(> article:nth-child(3):last-child) {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1240px;
    gap: 1.25rem;
}
.compare-grid:has(> article:nth-child(3):last-child)::before {
    display: none;
}
@media (max-width: 900px) {
    .compare-grid:has(> article:nth-child(3):last-child) {
        grid-template-columns: 1fr;
    }
}
.compare-grid::before {
    content: 'vs';
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--f-display);
    font-style: italic;
    font-size: 1.6rem;
    color: var(--c-heart);
    background: var(--c-paper);
    width: 60px; height: 60px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--c-line-strong);
    z-index: 2;
}

.compare-card {
    padding: 2.2rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--c-line);
    background: var(--c-cream-warm);
    transition: all 0.5s var(--ease);
}
.compare-card header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--c-line);
}
.compare-icon {
    display: grid;
    place-items: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
}
.compare-card h3 {
    font-family: var(--f-display);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--c-ink);
}
.compare-card ul li {
    padding: 0.7rem 0;
    border-bottom: 1px dashed var(--c-line);
    line-height: 1.5;
    color: var(--c-ink-soft);
    position: relative;
    padding-left: 1.5rem;
}
.compare-card ul li:last-child { border-bottom: 0; }
.compare-card ul li::before {
    position: absolute;
    left: 0; top: 0.7rem;
}

.compare-bad {
    opacity: 0.85;
}
.compare-bad .compare-icon {
    background: rgba(176, 58, 72, 0.08);
    color: var(--c-heart-2);
}
.compare-bad ul li::before { content: '✕'; color: var(--c-heart-2); }

.compare-good {
    background: var(--c-ink);
    color: var(--c-paper);
    border-color: var(--c-ink-2);
    box-shadow: var(--shadow-strong);
    transform: scale(1.02);
}
.compare-good h3 { color: var(--c-paper); }
.compare-good header { border-bottom-color: rgba(248, 243, 234, 0.18); }
.compare-good .compare-icon {
    background: rgba(181, 83, 42, 0.18);
    color: var(--c-heart-soft);
}
.compare-good ul li {
    color: rgba(248, 243, 234, 0.85);
    border-bottom-color: rgba(248, 243, 234, 0.12);
}
.compare-good ul li::before { content: '♥'; color: var(--c-heart-soft); font-size: 0.8rem; }

@media (max-width: 760px) {
    .compare-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .compare-good { transform: none; }
}

/* ============ TOOL PLACEHOLDER (bloc spécifique pages-outils) ============ */
.tool-placeholder {
    margin: clamp(2rem, 5vw, 4rem) auto;
    max-width: 880px;
    background: linear-gradient(180deg, var(--c-cream-warm) 0%, var(--c-paper-2) 100%);
    border: 2px dashed var(--c-line-heart);
    border-radius: var(--radius-xl);
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.tool-placeholder::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(181, 83, 42, 0.15), transparent 65%);
    pointer-events: none;
}
.tool-placeholder::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -100px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(161, 133, 84, 0.15), transparent 65%);
    pointer-events: none;
}
.tool-placeholder > * { position: relative; z-index: 2; }

.tool-placeholder-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--c-heart);
    color: var(--c-paper);
    font-family: var(--f-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}
.tool-placeholder-tag::before { content: '✦'; font-size: 0.6rem; }

.tool-placeholder-visual {
    margin: 1rem auto 1.5rem;
    max-width: 220px;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    transform: rotate(-2deg);
    transition: transform 0.8s var(--ease);
    background: var(--c-cream-warm);
    padding: 10px 10px 32px;
    position: relative;
}
.tool-placeholder-visual::after {
    content: 'aperçu de l\'outil';
    position: absolute;
    bottom: 8px; left: 50%;
    transform: translateX(-50%);
    font-family: var(--f-script);
    font-size: 0.95rem;
    color: var(--c-heart);
    line-height: 1;
}
.tool-placeholder-visual:hover { transform: rotate(0); }
.tool-placeholder-visual img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.tool-placeholder h3 {
    font-family: var(--f-display);
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--c-ink);
    margin-bottom: 1rem;
}
.tool-placeholder h3 em { font-style: italic; color: var(--c-heart); }
.tool-placeholder p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--c-ink-soft);
    max-width: 520px;
    margin: 0 auto 2rem;
}

.tool-email-form {
    display: flex;
    gap: 0.6rem;
    max-width: 480px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}
.tool-email-form input {
    flex: 1 1 240px;
    padding: 0.85rem 1.1rem;
    border: 1px solid var(--c-line-strong);
    border-radius: 999px;
    font-family: var(--f-body);
    font-size: 0.95rem;
    background: var(--c-cream-warm);
    color: var(--c-ink);
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.tool-email-form input:focus {
    outline: none;
    border-color: var(--c-heart);
    box-shadow: 0 0 0 3px rgba(181, 83, 42, 0.12);
}
.tool-email-form input::placeholder { color: var(--c-ink-soft); }

.tool-placeholder-foot {
    margin-top: 1.5rem;
    font-family: var(--f-script);
    font-size: 1.1rem;
    color: var(--c-ink-soft);
}

/* ============ BENTO PAIN POINTS ============ */
.pain-points {
    background: var(--c-paper);
    position: relative;
}

.bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, minmax(220px, auto));
    gap: 1rem;
    margin-bottom: var(--sp-7);
}
.bento-card {
    background: var(--c-cream-warm);
    padding: 1.6rem 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--c-line);
    transition: all 0.5s var(--ease);
    position: relative;
    overflow: hidden;
}
.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-mid);
    border-color: var(--c-line-heart);
}
.bento-icon {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    background: rgba(181, 83, 42, 0.08);
    color: var(--c-heart);
    border-radius: 50%;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(181, 83, 42, 0.18);
}
.bento-card h3 {
    font-family: var(--f-display);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--c-ink);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}
.bento-card p {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--c-ink-soft);
}

.bento-1 { grid-column: 1 / 2; grid-row: 1 / 2; }
.bento-2 { grid-column: 2 / 3; grid-row: 1 / 2; }
.bento-3 {
    grid-column: 3 / 5;
    grid-row: 1 / 3;
    padding: 0;
    background: var(--c-ink);
    color: var(--c-paper);
    border: 0;
    overflow: hidden;
    position: relative;
}
.bento-3 img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.55;
}
.bento-3::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(26, 39, 82, 0.92));
}
.bento-feature-text {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.8rem 1.6rem;
    z-index: 2;
}
.bento-feature-text h3 {
    font-family: var(--f-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--c-heart-soft);
    margin-bottom: 0.5rem;
}
.bento-feature-text p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(248, 243, 234, 0.85);
}
.bento-4 { grid-column: 1 / 2; grid-row: 2 / 3; }
.bento-5 { grid-column: 2 / 3; grid-row: 2 / 3; }
.bento-6 { grid-column: 1 / 3; grid-row: 3 / 4; }
.bento-7 { grid-column: 3 / 5; grid-row: 3 / 4; }

.cta-inline {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px dashed var(--c-line);
}
.cta-inline p {
    font-family: var(--f-display);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--c-ink);
    margin-bottom: 1rem;
}

@media (max-width: 920px) {
    .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .bento-1, .bento-2, .bento-4, .bento-5 { grid-column: span 1; grid-row: auto; }
    .bento-3 { grid-column: 1 / -1; grid-row: auto; min-height: 280px; }
    .bento-6, .bento-7 { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 540px) {
    .bento { grid-template-columns: 1fr; }
    .bento > * { grid-column: 1; }
}

/* ============ FAQ / ACCORDION ============ */
.faq { background: var(--c-paper); }

.accordion {
    max-width: 820px;
    margin: 0 auto;
    border-top: 1px solid var(--c-line);
}
.accordion-item {
    border-bottom: 1px solid var(--c-line);
    transition: background 0.4s var(--ease);
}
.accordion-item summary {
    padding: 1.5rem 1rem 1.5rem 0;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    font-family: var(--f-display);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--c-ink);
    transition: color 0.3s var(--ease);
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::marker { content: ''; }
.accordion-item summary:hover { color: var(--c-heart); }

.acc-icon {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid var(--c-line-strong);
    display: grid;
    place-items: center;
    position: relative;
    transition: all 0.4s var(--ease);
}
.acc-icon::before, .acc-icon::after {
    content: '';
    position: absolute;
    background: var(--c-heart);
    border-radius: 1px;
    transition: transform 0.4s var(--ease);
}
.acc-icon::before { width: 12px; height: 1.5px; }
.acc-icon::after { width: 1.5px; height: 12px; }

.accordion-item[open] .acc-icon {
    background: var(--c-heart);
    border-color: var(--c-heart);
}
.accordion-item[open] .acc-icon::before,
.accordion-item[open] .acc-icon::after { background: var(--c-paper); }
.accordion-item[open] .acc-icon::after { transform: rotate(90deg); }

.acc-content {
    padding: 0 0 1.75rem 0;
    color: var(--c-ink-soft);
    line-height: 1.7;
    max-width: 65ch;
    animation: acc-in 0.5s var(--ease-out);
}
@keyframes acc-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============ CTA FINAL ============ */
.cta-final { padding-bottom: 4rem; }

.cta-final-box {
    background:
        linear-gradient(165deg, var(--c-ink) 0%, #131D40 70%, #0F1830 100%);
    color: var(--c-paper);
    padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(161, 133, 84, 0.18);
}
/* Yaz berbère en filigrane (ⵣ symbole amazigh) */
.cta-final-box::before {
    content: 'ⵣ';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--f-display);
    font-size: 32rem;
    line-height: 1;
    color: rgba(161, 133, 84, 0.06);
    pointer-events: none;
    user-select: none;
    z-index: 1;
}
/* Glow gold oxydé très doux (un seul, en haut) */
.cta-final-box::after {
    content: '';
    position: absolute;
    top: -200px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 400px;
    background: radial-gradient(ellipse, rgba(161, 133, 84, 0.12), transparent 70%);
    pointer-events: none;
    z-index: 1;
}
.cta-final-box > * { position: relative; z-index: 2; }
.cta-final-box .section-tag { color: var(--c-heart-soft); margin-bottom: 1rem; }
.cta-final-box .section-title {
    color: var(--c-paper);
    max-width: 18ch;
    margin-left: auto;
    margin-right: auto;
}
.cta-final-lead {
    font-size: var(--fs-lg);
    line-height: 1.6;
    color: rgba(248, 243, 234, 0.82);
    max-width: 56ch;
    margin: 0 auto var(--sp-7);
}
.cta-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
    margin-bottom: var(--sp-5);
}
.cta-final-foot {
    font-family: var(--f-script);
    font-size: 1.2rem;
    color: var(--c-heart-soft);
}

/* ============ FOOTER ============ */
.site-footer {
    background: var(--c-ink);
    color: rgba(248, 243, 234, 0.7);
    padding: clamp(3rem, 6vw, 5rem) 0 1.5rem;
    border-top: 1px solid var(--c-ink-2);
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 3rem 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(181, 83, 42, 0.18);
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.65;
    max-width: 36ch;
}

.footer-trust {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    font-size: 0.85rem;
}
.footer-trust .trust-stars { color: var(--c-heart-soft); }
.footer-trust strong { color: var(--c-heart-soft); font-weight: 500; }

.footer-col h4 {
    font-family: var(--f-display);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--c-heart-soft);
    margin-bottom: 1.2rem;
    font-weight: 400;
}
.footer-col ul li {
    margin-bottom: 0.6rem;
}
.footer-col a {
    font-size: 0.9rem;
    color: rgba(248, 243, 234, 0.65);
    transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: var(--c-heart-soft); }

.footer-cta-text {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    font-size: 0.78rem;
    color: rgba(248, 243, 234, 0.45);
}
.footer-disclaimer { font-style: italic; }

@media (max-width: 920px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============ LEGAL PAGE ============ */
.legal { background: var(--c-paper); }

.legal-content {
    max-width: 820px;
    margin: 0 auto;
    color: var(--c-ink);
    line-height: 1.75;
}
.legal-content h2 {
    font-family: var(--f-display);
    font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.7rem);
    font-weight: 400;
    color: var(--c-ink);
    margin: 2.5rem 0 1rem;
    padding-left: 1rem;
    border-left: 2px solid var(--c-heart);
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p {
    margin-bottom: 1rem;
    color: var(--c-ink-soft);
}
.legal-list {
    margin: 0 0 1.25rem;
    padding-left: 0;
}
.legal-list li {
    list-style: none;
    padding: 0.4rem 0 0.4rem 1.5rem;
    border-bottom: 1px dashed var(--c-line);
    color: var(--c-ink-soft);
    position: relative;
}
.legal-list li:last-child { border-bottom: 0; }
.legal-list li::before {
    content: '♥';
    position: absolute;
    left: 0;
    color: var(--c-heart);
    font-size: 0.85rem;
}
.legal-list li strong {
    color: var(--c-ink);
    font-weight: 500;
    margin-right: 0.4rem;
}
.legal-content a {
    color: var(--c-heart);
    text-decoration: underline;
    text-decoration-color: var(--c-line-heart);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.3s var(--ease);
}
.legal-content a:hover { text-decoration-color: var(--c-heart); }
.legal-update {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--c-line);
    font-family: var(--f-script);
    font-size: 1.15rem;
    color: var(--c-ink-soft);
    text-align: right;
}

.hero-sub {
    padding: calc(110px + clamp(1.5rem, 4vw, 3rem)) 0 clamp(3rem, 6vw, 5rem);
}

/* ============ STICKY CTA FLOTTANT ============ */
.sticky-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    background: var(--c-heart);
    color: var(--c-paper);
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    box-shadow: 0 14px 40px rgba(181, 83, 42, 0.30), 0 4px 12px rgba(181, 83, 42, 0.18);
    font-family: var(--f-body);
    font-size: 0.92rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), background 0.4s var(--ease);
    border: 2px solid var(--c-cream-warm);
}
.sticky-cta.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    animation: heartbeat 2.5s ease-in-out 1s 3;
}
@keyframes heartbeat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(0) scale(1.05); }
}
.sticky-cta:hover {
    background: var(--c-heart-2);
    transform: translateY(-3px);
    animation: none;
}
.sticky-cta-heart {
    font-size: 1rem;
    color: var(--c-cream-warm);
}
@media (max-width: 540px) {
    .sticky-cta { bottom: 16px; right: 16px; padding: 0.75rem 1.1rem; font-size: 0.85rem; }
    .sticky-cta-text { display: none; }
    .sticky-cta-heart { font-size: 1.2rem; }
}

/* ============ BANNIÈRE CTA INTER-SECTION ============ */
.cta-banner {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    background:
        linear-gradient(180deg, var(--c-paper) 0%, var(--c-paper-2) 100%);
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '✦';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28rem;
    color: var(--c-heart);
    opacity: 0.04;
    line-height: 1;
    pointer-events: none;
    font-family: var(--f-display);
}
.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem clamp(1.5rem, 4vw, 3rem);
    background: var(--c-cream-warm);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-paper);
    border: 1px solid var(--c-line-heart);
    position: relative;
    z-index: 2;
    max-width: 980px;
    margin: 0 auto;
}
.cta-banner-inner::after {
    content: '';
    position: absolute;
    top: -1px; left: -1px;
    width: 90px; height: 24px;
    background: rgba(181, 83, 42, 0.5);
    border-radius: 1px;
    transform: rotate(-2deg) translate(0, -50%);
}
.cta-banner-text {
    flex: 1;
}
.cta-banner-text p:first-child {
    font-family: var(--f-script);
    font-size: 1.5rem;
    color: var(--c-heart);
    line-height: 1.1;
    margin-bottom: 0.4rem;
}
.cta-banner-text p:last-child {
    font-family: var(--f-display);
    font-size: 1.4rem;
    line-height: 1.25;
    color: var(--c-ink);
    margin: 0;
}
.cta-banner-text p:last-child em { font-style: italic; color: var(--c-heart); }

@media (max-width: 760px) {
    .cta-banner-inner { flex-direction: column; text-align: center; gap: 1.5rem; }
    .cta-banner-inner::after { left: 50%; transform: rotate(-2deg) translate(-50%, -50%); }
    .cta-banner-text p:first-child { text-align: center; }
}

/* ============ INLINE CTA dans copy ============ */
.inline-cta {
    color: var(--c-heart);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--c-line-heart);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: text-decoration-color 0.3s var(--ease), color 0.3s var(--ease);
    white-space: nowrap;
}
.inline-cta::after {
    content: ' →';
    transition: margin-left 0.3s var(--ease);
}
.inline-cta:hover {
    color: var(--c-heart-2);
    text-decoration-color: var(--c-heart);
}
.inline-cta:hover::after {
    margin-left: 0.2rem;
}

/* ============ CTA POST-HERO (mini secondaire sous hero) ============ */
.hero-aside-cta {
    margin-top: 1rem;
    font-family: var(--f-script);
    font-size: 1.15rem;
    color: var(--c-ink-soft);
    line-height: 1.4;
}
.hero-aside-cta a {
    color: var(--c-heart);
    border-bottom: 1px solid var(--c-line-heart);
    transition: border-color 0.3s var(--ease);
}
.hero-aside-cta a:hover { border-bottom-color: var(--c-heart); }

/* ============ REVEAL ON SCROLL ============ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

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

/* === Réduction des effets coûteux sous 600px === */
@media (max-width: 600px) {
    body::before { display: none !important; }
    .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(244, 237, 226, 0.96); }
    .marquee-track { animation: none !important; }
    .marquee-track .marquee-item:nth-child(n+9) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none !important; }
    .tcard-inner { transition: transform 0.2s ease !important; }
    .tcard:not(.is-flipped) .tcard-inner { animation: none !important; }
}
