/* ============================================================
   Sous-site v2 (prototype deepstash-style).
   Feuille autonome : aucune autre CSS n'est chargee.
   ============================================================ */

/* ---------- Reset minimal ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }

/* ---------- Tokens ---------- */
:root {
    --bg: #FAFAF9;
    --ink: #1A1A1A;
    --muted: #78716C;
    --line: rgba(26, 26, 26, 0.08);
    --coral: #FF6B6B;
    --teal: #4ECDC4;
    --brand: #3E2BF6;
    --cobalt: #3550AA;
    --navy: #17243A;
    --radius: 2rem;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --serif: 'Instrument Serif', Georgia, serif;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ---------- Typo ---------- */
.v2-display {
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.95;
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    margin-bottom: 2.5rem;
    text-wrap: balance;
}
.v2-display-xl {
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.95;
    font-size: clamp(3rem, 9vw, 6.5rem);
    margin-bottom: 1.5rem;
    text-wrap: balance;
}
.v2-serif-accent {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.02em;
}

/* ---------- Layout ---------- */
.v2-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.v2-container-narrow { max-width: 820px; }
.v2-section { padding: 6rem 0; }
.v2-center { text-align: center; }

/* ---------- Boutons ---------- */
.v2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.v2-btn:hover { transform: translateY(-2px); }
.v2-btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.v2-btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px rgba(62, 43, 246, 0.35); }
.v2-btn-primary:hover { box-shadow: 0 12px 32px rgba(62, 43, 246, 0.45); }
.v2-btn-dark { background: var(--ink); color: #fff; }
.v2-btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }

/* ---------- Nav ---------- */
.v2-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 250, 249, 0.75);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, backdrop-filter 0.3s ease, background 0.3s ease;
}
.v2-nav.is-scrolled {
    background: rgba(250, 250, 249, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: var(--line);
}
.v2-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.v2-nav-logo img { width: 120px; height: auto; }
.v2-nav-links { display: flex; gap: 1.75rem; font-weight: 600; font-size: 0.95rem; }
.v2-nav-links a { opacity: 0.75; transition: opacity 0.2s; }
.v2-nav-links a:hover { opacity: 1; }
.v2-nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.v2-lang { position: relative; }
.v2-lang summary { list-style: none; cursor: pointer; font-size: 1.15rem; padding: 0.25rem; }
.v2-lang summary::-webkit-details-marker { display: none; }
.v2-lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    box-shadow: 0 16px 40px rgba(26, 26, 26, 0.12);
    padding: 0.4rem;
    display: grid;
    gap: 0.1rem;
    min-width: 10rem;
    z-index: 60;
}
.v2-lang-menu a { padding: 0.5rem 0.75rem; border-radius: 0.6rem; font-size: 0.9rem; white-space: nowrap; }
.v2-lang-menu a:hover { background: rgba(26, 26, 26, 0.06); }

/* ---------- Topbar minimale (pages multilingues : blog, download) ---------- */
.v2-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
}
.v2-topbar > a img { width: 120px; height: auto; }
.v2-topbar-actions { display: flex; align-items: center; gap: 0.75rem; }

/* ---------- Hero ---------- */
.v2-hero {
    position: relative;
    padding: 7rem 0 5rem;
    text-align: center;
    overflow: hidden;
}
.v2-hero .v2-container { position: relative; }

/* Couvertures flottantes derriere le titre */
.v2-hero-books { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.v2-hero-book {
    position: absolute;
    left: var(--x, 0);
    top: var(--y, 0);
    width: var(--w, 150px);
    border-radius: 0.6rem;
    box-shadow: 0 20px 45px rgba(26, 26, 26, 0.18);
    filter: blur(var(--blur, 0px));
    transform: rotate(var(--r, 0deg));
    animation: v2-book-in 0.9s var(--d, 0s) cubic-bezier(0.22, 1, 0.36, 1) both,
               v2-book-float 7s calc(var(--d, 0s) + 1s) ease-in-out infinite;
}
@keyframes v2-book-in {
    from { opacity: 0; transform: rotate(var(--r, 0deg)) translateY(32px); }
    to   { opacity: 1; transform: rotate(var(--r, 0deg)) translateY(0); }
}
@keyframes v2-book-float {
    0%, 100% { transform: rotate(var(--r, 0deg)) translateY(0); }
    50%      { transform: rotate(calc(var(--r, 0deg) + 2deg)) translateY(-14px); }
}
.v2-hero .v2-container { z-index: 1; }
.v2-hero-logo {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.75rem;
    border-radius: 1.1rem;
    box-shadow: 0 12px 32px rgba(53, 80, 170, 0.25);
    animation: v2-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.v2-hero-title {
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 0.92;
    font-size: clamp(2.25rem, 10.5vw, 7.5rem);
    max-width: 15ch;
    margin: 0 auto 2rem;
    text-wrap: balance;
    animation: v2-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
/* Soulignement "trace a la main" du mot accent du hero */
.v2-hero-underline {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M3 9 Q 60 1 117 6' fill='none' stroke='%233550AA' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 0 96%;
    background-size: 100% 0.14em;
    padding-bottom: 0.1em;
    animation: v2-underline-draw 0.7s 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
@keyframes v2-underline-draw {
    from { background-size: 0% 0.14em; }
    to   { background-size: 100% 0.14em; }
}

.v2-hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: var(--muted);
    max-width: 34ch;
    margin: 0 auto 2.5rem;
    animation: v2-rise 0.9s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.v2-hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: v2-rise 0.9s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes v2-rise {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Cartes notifications flottantes */
.v2-hero-notif {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 0.85rem 1.1rem;
    box-shadow: 0 16px 40px rgba(26, 26, 26, 0.1);
    font-size: 0.8rem;
    text-align: left;
    max-width: 280px;
    z-index: 2;
}
.v2-hero-notif strong { display: block; font-size: 0.85rem; }
.v2-hero-notif p { color: var(--muted); }
.v2-hero-notif-1 { top: -3.5rem; left: 2%; animation: v2-rise 0.9s 0.5s both, v2-float 6s 1.4s ease-in-out infinite; }
.v2-hero-notif-2 { top: 58%; right: 0; animation: v2-rise 0.9s 0.7s both, v2-float 7s 1.6s ease-in-out infinite reverse; }
.v2-notif-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); flex-shrink: 0; }
.v2-notif-dot-teal { background: var(--teal); }
.v2-notif-time { color: var(--muted); font-size: 0.7rem; white-space: nowrap; align-self: flex-start; }
@keyframes v2-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-9px); }
}

.v2-scroll-hint {
    margin-top: 4rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: var(--muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    animation: v2-rise 0.9s 0.5s both;
}
.v2-scroll-arrow { animation: v2-bounce 1.6s ease-in-out infinite; font-size: 1.1rem; }
@keyframes v2-bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(6px); }
}

/* ---------- Section telephone epinglee ---------- */
.v2-pin { height: 760vh; position: relative; }
.v2-pin-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    display: grid;
    place-items: center;
    align-content: center;
    overflow: hidden;
}
/* width seule : ne surtout pas redefinir position ici,
   le sticky du bloc ci-dessus fait tout l'epinglage */
.v2-pin-stage { width: 100%; }

/* Legende fixe au-dessus du telephone (visible pendant tout le scroll).
   Le stage est une grille : legende puis telephone, groupe centre. */
.v2-pin-caption-static {
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
    font-size: clamp(1.5rem, 3.2vw, 2.5rem);
    text-align: center;
    max-width: min(760px, 92vw);
    margin-bottom: 2.2rem;
    position: relative;
    z-index: 3;
    pointer-events: none;
}
.v2-pin-caption-static em { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* Rangee de couvertures derriere le telephone */
.v2-pin-shelf {
    position: absolute;
    top: 56%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 3.5rem;
    z-index: 0;
    will-change: transform;
}
.v2-pin-shelf img {
    width: 170px;
    border-radius: 0.75rem;
    box-shadow: 0 18px 40px rgba(26, 26, 26, 0.16);
    flex-shrink: 0;
}

.v2-phone {
    width: 300px;
    height: 620px;
    border-radius: 3rem;
    background: var(--ink);
    padding: 12px;
    box-shadow: 0 40px 80px rgba(26, 26, 26, 0.35);
    position: relative;
    flex-shrink: 0;
    z-index: 2;
}
.v2-phone::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 26px;
    background: var(--ink);
    border-radius: 999px;
    z-index: 3;
}
.v2-phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 2.4rem;
    background: #fff;
    overflow: hidden;
}
.v2-phone-scene {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 2rem 1.4rem;
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.v2-phone-scene.is-active { opacity: 1; transform: scale(1); }

/* --- Ecran camera (scenes scan / detection) --- */
.v2-scene-cam {
    background: #0B0B0F;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 3.4rem 1.3rem 2.2rem;
}
.v2-cam-status {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.72rem;
    font-weight: 700;
}
.v2-cam-time { letter-spacing: 0.02em; }
.v2-cam-state { display: inline-flex; align-items: center; gap: 0.35rem; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.62rem; }
.v2-cam-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }
.v2-cam-state-scan { color: #FF9F5A; }
.v2-cam-state-scan .v2-cam-dot { animation: v2-blink 1.1s ease-in-out infinite; }
.v2-cam-state-found { color: #4ADE80; }
@keyframes v2-blink { 50% { opacity: 0.25; } }
.v2-cam-bars { display: inline-flex; align-items: flex-end; gap: 2px; }
.v2-cam-bars i { width: 3px; background: #fff; border-radius: 1px; display: inline-block; }
.v2-cam-bars i:nth-child(1) { height: 5px; opacity: 0.5; }
.v2-cam-bars i:nth-child(2) { height: 8px; opacity: 0.75; }
.v2-cam-bars i:nth-child(3) { height: 11px; }

/* Viseur : 4 coins */
.v2-finder {
    position: relative;
    width: 200px;
    height: 300px;
    display: grid;
    place-items: center;
}
.v2-finder > i {
    position: absolute;
    width: 34px;
    height: 34px;
    border: 3px solid #FFD9B8;
    border-radius: 6px;
}
.v2-finder > i:nth-child(1) { top: 0; left: 0; border-right: none; border-bottom: none; border-top-left-radius: 12px; }
.v2-finder > i:nth-child(2) { top: 0; right: 0; border-left: none; border-bottom: none; border-top-right-radius: 12px; }
.v2-finder > i:nth-child(3) { bottom: 0; left: 0; border-right: none; border-top: none; border-bottom-left-radius: 12px; }
.v2-finder > i:nth-child(4) { bottom: 0; right: 0; border-left: none; border-top: none; border-bottom-right-radius: 12px; }
.v2-finder-sweep {
    position: absolute;
    left: 10%;
    right: 10%;
    height: 90px;
    bottom: 8px;
    background: linear-gradient(180deg, transparent, rgba(255, 159, 90, 0.28));
    border-radius: 0 0 10px 10px;
    animation: v2-sweep 2.2s ease-in-out infinite;
}
@keyframes v2-sweep {
    0%, 100% { bottom: 8px; top: auto; }
    50%      { bottom: 60%; }
}
.v2-finder-found > i { border-color: #4ADE80; box-shadow: 0 0 18px rgba(74, 222, 128, 0.45); }
.v2-finder-cover {
    width: 150px;
    border-radius: 0.5rem;
    box-shadow: 0 0 44px rgba(74, 222, 128, 0.5);
    /* le livre "entre" dans le viseur quand la scene detection s'active */
    opacity: 0;
    transform: scale(0.45) translateY(30px);
    transition: opacity 0.5s 0.15s ease, transform 0.5s 0.15s cubic-bezier(0.22, 1, 0.36, 1);
}
.v2-phone-scene.is-active .v2-finder-cover { opacity: 1; transform: scale(1) translateY(0); }
.v2-finder-confirm {
    opacity: 0;
    transition: opacity 0.4s 0.5s ease;
}
.v2-phone-scene.is-active .v2-finder-confirm { opacity: 1; }
.v2-finder-confirm {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(11, 11, 15, 0.85);
    color: #4ADE80;
    font-size: 0.62rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    white-space: nowrap;
}
.v2-cam-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
}
.v2-cam-pill-found { background: #22C55E; border-color: #22C55E; color: #fff; box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4); }
.v2-phone-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    padding: 1.5rem 1.25rem;
    display: grid;
    gap: 0.75rem;
}
.v2-phone-card-book { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); font-weight: 700; }
.v2-phone-card h3 { font-size: 1.15rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; }
.v2-phone-card-text { font-size: 0.85rem; color: var(--muted); }
.v2-phone-card-tag {
    justify-self: start;
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(62, 43, 246, 0.1);
    color: var(--brand);
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
}

/* --- Ecran fiche livre (scene finale du telephone) --- */
.v2-scene-app {
    background: #EDEFF3;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    padding: 2.7rem 1rem 1.1rem;
    text-align: left;
}
.v2-app-status {
    position: absolute;
    top: 1.4rem;
    left: 1.1rem;
    right: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 700;
}
.v2-app-status .v2-cam-bars i { background: var(--ink); }
.v2-app-title {
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
    font-size: 1.08rem;
    text-align: center;
    margin: 0.3rem 0 0.7rem;
}
.v2-app-stats {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.7rem;
}
.v2-app-stat { display: flex; align-items: center; gap: 0.5rem; }
.v2-app-stat-ico {
    width: 30px;
    height: 30px;
    border-radius: 0.6rem;
    display: grid;
    place-items: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.v2-app-stat-ico-star { background: rgba(255, 200, 60, 0.22); color: #D99A06; }
.v2-app-stat-ico-clock { background: rgba(53, 80, 170, 0.14); color: var(--cobalt); }
.v2-app-stat small { display: block; font-size: 0.52rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; }
.v2-app-stat strong { font-size: 0.85rem; font-weight: 900; line-height: 1; }
.v2-app-label {
    font-size: 0.56rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted);
    margin: 0 0 0.35rem 0.2rem;
}
.v2-app-desc {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    padding: 0.6rem 0.75rem;
    font-size: 0.7rem;
    line-height: 1.5;
    color: #4A403A;
    margin-bottom: 0.7rem;
}
.v2-app-desc strong { color: var(--ink); }
.v2-app-ideas { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
.v2-app-idea {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: #fff;
    border: 1px solid transparent;
    border-radius: 0.85rem;
    padding: 0.4rem 0.6rem;
    opacity: 0.55;
    min-width: 0;
}
.v2-app-idea-open { opacity: 1; border-color: rgba(255, 107, 107, 0.35); box-shadow: 0 4px 12px rgba(26, 26, 26, 0.05); }
.v2-app-idea-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.6rem;
    font-weight: 900;
    background: #E7E5E4;
    color: #A8A29E;
    flex-shrink: 0;
}
.v2-app-idea-open .v2-app-idea-num { background: var(--coral); color: #fff; }
.v2-app-idea-name {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}
.v2-app-idea-ico { font-size: 0.7rem; flex-shrink: 0; }
.v2-app-idea-open .v2-app-idea-ico { color: var(--cobalt); font-weight: 900; }

/* --- Cartes concept (scenes 3-4) : une grande carte au fil de l'eau --- */
.v2-concept-scroll {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    will-change: transform;
}
.v2-concept-scroll .v2-app-label { margin-top: 0.3rem; }
.v2-concept-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: 0 6px 18px rgba(26, 26, 26, 0.05);
    padding: 1rem 0.9rem;
    font-size: 0.72rem;
    line-height: 1.62;
    color: #4A403A;
    flex-shrink: 0;
}
.v2-concept-card b { color: var(--ink); }

/* --- Scene graphique du 1 % --- */
.v2-scene-growth {
    background: #EDEFF3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.2rem;
    gap: 0.7rem;
}
.v2-growth { width: 200px; height: 120px; }
.v2-growth-line {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.4s 0.2s ease-out;
}
.v2-phone-scene.is-active .v2-growth-line { stroke-dashoffset: 0; }
.v2-growth-title { font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; font-size: 1.35rem; }
.v2-growth-sub { font-size: 0.75rem; color: var(--muted); line-height: 1.5; max-width: 22ch; }

/* --- Scene message Cobalt --- */
.v2-scene-msg {
    background: linear-gradient(165deg, var(--cobalt) 0%, var(--navy) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.3rem;
    gap: 0.8rem;
}
.v2-msg-title { font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; font-size: 1.35rem; }
.v2-msg-sub { font-size: 0.75rem; color: rgba(250, 250, 249, 0.7); line-height: 1.55; max-width: 24ch; }

/* --- Scene finale --- */
.v2-scene-win {
    background: #EDEFF3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.3rem;
    gap: 0.9rem;
}
.v2-win-badge {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--coral);
    color: #fff;
    font-weight: 900;
    font-size: 1.15rem;
    box-shadow: 0 14px 34px rgba(255, 107, 107, 0.45);
    transform: scale(0.4);
    opacity: 0;
    transition: transform 0.5s 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s 0.15s ease;
}
.v2-phone-scene.is-active .v2-win-badge { transform: scale(1); opacity: 1; }
.v2-win-title { font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; font-size: 1.3rem; }
.v2-win-sub { font-size: 0.75rem; color: var(--muted); line-height: 1.55; max-width: 24ch; }

/* ---------- Stats ---------- */
.v2-stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 4rem 0; }
.v2-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.v2-stat-num {
    display: block;
    font-weight: 900;
    letter-spacing: -0.04em;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1;
}
.v2-stat-label { color: var(--muted); font-size: 0.95rem; }

/* ---------- Manifesto ---------- */
.v2-manifesto { height: 200vh; position: relative; }
.v2-manifesto-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1.5rem;
    gap: 2rem;
}
.v2-manifesto-lead { font-size: clamp(1.25rem, 3vw, 2rem); color: var(--muted); }
.v2-manifesto-title {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    line-height: 0.9;
    font-size: clamp(2.75rem, 10vw, 8rem);
    max-width: 12ch;
}
.v2-word { color: #D6D3D1; transition: color 0.35s ease; }
.v2-word.on { color: var(--ink); }

/* ---------- Rails horizontaux ---------- */
.v2-rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.v2-rail-arrows { display: flex; gap: 0.5rem; }
.v2-rail-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--ink);
    font-size: 1.1rem;
    display: grid;
    place-items: center;
    transition: background 0.2s, color 0.2s;
}
.v2-rail-btn:hover { background: var(--ink); color: #fff; }
.v2-rail {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 1rem max(1.5rem, calc((100vw - 1200px) / 2 + 1.5rem)) 1.5rem;
    scrollbar-width: none;
}
.v2-rail::-webkit-scrollbar { display: none; }
.v2-card {
    flex: 0 0 min(420px, 85vw);
    scroll-snap-align: center;
    border-radius: var(--radius);
    padding: 2.5rem 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 380px;
}
.v2-card h3 {
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.v2-card p { font-size: 0.98rem; line-height: 1.6; }
.v2-card-coral { background: #FFE3E3; }
.v2-card-teal  { background: #DDF6F4; }
.v2-card-brand { background: #E6E2FE; }
.v2-card-mini {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    font-size: 0.9rem;
}
.v2-card-mini img {
    width: 72px;
    border-radius: 0.5rem;
    box-shadow: 0 10px 24px rgba(26, 26, 26, 0.18);
    transition: transform 0.25s ease;
}
.v2-card-mini:hover img { transform: rotate(-3deg) scale(1.04); }
/* ---------- Bento fonctionnalites ---------- */
.v2-bento-section { background: var(--ink); color: var(--bg); }
.v2-bento-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.v2-bento-head .v2-display { margin-bottom: 0; }
.v2-bento-sub { color: rgba(250, 250, 249, 0.55); max-width: 30ch; font-size: 0.95rem; }
.v2-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.v2-tile {
    background: #232327;
    border: 1px solid rgba(250, 250, 249, 0.08);
    border-radius: 1.5rem;
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    color: inherit;
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.v2-tile:hover { transform: translateY(-4px); border-color: rgba(250, 250, 249, 0.22); }
.v2-tile h3 { font-weight: 900; letter-spacing: -0.02em; font-size: 1.15rem; line-height: 1.1; }
.v2-tile-note { color: rgba(250, 250, 249, 0.55); font-size: 0.85rem; margin-top: auto; }
.v2-tile-highlight { grid-column: span 2; grid-row: span 2; }
.v2-tile-length, .v2-tile-reco, .v2-tile-catalog { grid-column: span 2; }

/* A. Surlignage anime (signature) : le marqueur balaie le texte */
.v2-demo-read {
    background: #1A1A1E;
    border-radius: 1rem;
    padding: 1.6rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.v2-demo-read-book {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(250, 250, 249, 0.45);
    font-weight: 700;
    margin-bottom: 0.8rem;
}
.v2-demo-read-text { font-size: 1.05rem; line-height: 1.8; color: rgba(250, 250, 249, 0.88); }
.v2-hl {
    color: inherit;
    background-color: transparent; /* neutralise le jaune UA de <mark> */
    padding: 0.08em 0.22em;
    margin: 0 -0.05em;
    border-radius: 0.3em;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: 0 0;
    transition: background-size 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
.v2-hl-1 { background-image: linear-gradient(rgba(255, 107, 107, 0.42), rgba(255, 107, 107, 0.42)); transition-delay: 0.4s; }
.v2-hl-2 { background-image: linear-gradient(rgba(78, 205, 196, 0.38), rgba(78, 205, 196, 0.38)); transition-delay: 1s; }
.v2-hl-3 { background-image: linear-gradient(rgba(133, 118, 255, 0.45), rgba(133, 118, 255, 0.45)); transition-delay: 1.6s; }
.js .v2-tile-highlight:not(.is-visible) .v2-hl { background-size: 0% 100%; }

/* B. Longueur ajustable */
.v2-demo-length-labels {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.75rem;
    color: rgba(250, 250, 249, 0.55);
    font-weight: 700;
}
.v2-demo-length-labels strong { font-size: 1.7rem; font-weight: 900; color: #fff; letter-spacing: -0.03em; }
.v2-demo-slider {
    position: relative;
    height: 6px;
    border-radius: 999px;
    background: rgba(250, 250, 249, 0.15);
    margin: 0.9rem 0 1.1rem;
}
.v2-demo-slider::before {
    content: '';
    position: absolute;
    inset: 0 55% 0 0;
    background: var(--coral);
    border-radius: 999px;
    transition: inset 0.9s 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.v2-demo-thumb {
    position: absolute;
    top: 50%;
    left: 45%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: left 0.9s 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.js .v2-tile-length:not(.is-visible) .v2-demo-slider::before { inset: 0 92% 0 0; }
.js .v2-tile-length:not(.is-visible) .v2-demo-thumb { left: 8%; }
.v2-demo-lines { display: grid; gap: 0.45rem; }
.v2-demo-lines i { height: 7px; border-radius: 999px; background: rgba(250, 250, 249, 0.22); display: block; transition: width 0.7s ease; }
.v2-demo-lines i:nth-child(1) { width: 92%; transition-delay: 0.7s; }
.v2-demo-lines i:nth-child(2) { width: 74%; transition-delay: 0.85s; }
.v2-demo-lines i:nth-child(3) { width: 48%; transition-delay: 1s; }
.js .v2-tile-length:not(.is-visible) .v2-demo-lines i { width: 12%; }

/* C. Hors ligne */
.v2-demo-toggle { display: flex; align-items: center; gap: 1rem; }
.v2-demo-plane { font-size: 1.6rem; opacity: 0.45; transition: opacity 0.4s 0.9s ease, transform 0.4s 0.9s ease; }
.v2-demo-switch {
    width: 58px;
    height: 32px;
    border-radius: 999px;
    background: var(--teal);
    position: relative;
    display: inline-block;
    transition: background 0.4s 0.7s ease;
}
.v2-demo-switch i {
    position: absolute;
    top: 3px;
    left: 29px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    transition: left 0.4s 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.js .v2-tile-offline:not(.is-visible) .v2-demo-switch { background: rgba(250, 250, 249, 0.2); }
.js .v2-tile-offline:not(.is-visible) .v2-demo-switch i { left: 3px; }
.v2-tile-offline.is-visible .v2-demo-plane, html:not(.js) .v2-demo-plane { opacity: 1; transform: translateY(-3px) rotate(-8deg); }

/* D. Pile de couvertures */
.v2-tile-stack { text-decoration: none; }
.v2-demo-stack { position: relative; height: 150px; }
.v2-demo-stack img {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 88px;
    border-radius: 0.4rem;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
    transform-origin: bottom center;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.v2-demo-stack img:nth-child(1) { transform: translateX(-50%) translateX(-30px) rotate(-11deg); z-index: 1; transition-delay: 0.5s; }
.v2-demo-stack img:nth-child(2) { transform: translateX(-50%) rotate(1deg); z-index: 2; transition-delay: 0.6s; }
.v2-demo-stack img:nth-child(3) { transform: translateX(-50%) translateX(30px) rotate(11deg); z-index: 3; transition-delay: 0.7s; }
.js .v2-tile-stack:not(.is-visible) .v2-demo-stack img { transform: translateX(-50%) rotate(0deg); }
.v2-tile-stack:hover .v2-demo-stack img:nth-child(1) { transform: translateX(-50%) translateX(-44px) rotate(-15deg); }
.v2-tile-stack:hover .v2-demo-stack img:nth-child(3) { transform: translateX(-50%) translateX(44px) rotate(15deg); }

/* E. Recommandations */
.v2-demo-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.v2-demo-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid rgba(250, 250, 249, 0.18);
    background: rgba(250, 250, 249, 0.06);
    color: rgba(250, 250, 249, 0.9);
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    font-size: 0.82rem;
    font-weight: 700;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s, color 0.2s, border-color 0.2s;
    transition-delay: calc(0.3s + 0.12s * var(--i, 0));
}
.v2-demo-chip:hover { background: var(--teal); border-color: var(--teal); color: var(--ink); transition-delay: 0s; }
.js .v2-tile-reco:not(.is-visible) .v2-demo-chip { opacity: 0; transform: translateY(10px) scale(0.92); }

/* F. Catalogue */
.v2-demo-strip { display: flex; gap: 0.5rem; align-items: center; }
.v2-demo-strip img {
    width: 54px;
    border-radius: 0.3rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    transition: opacity 0.45s ease, transform 0.45s ease;
}
.v2-demo-strip img:nth-child(1) { transition-delay: 0.35s; }
.v2-demo-strip img:nth-child(2) { transition-delay: 0.45s; }
.v2-demo-strip img:nth-child(3) { transition-delay: 0.55s; }
.v2-demo-strip img:nth-child(4) { transition-delay: 0.65s; }
.v2-demo-strip img:nth-child(5) { transition-delay: 0.75s; }
.v2-demo-strip img:nth-child(6) { transition-delay: 0.85s; }
.js .v2-tile-catalog:not(.is-visible) .v2-demo-strip img { opacity: 0; transform: translateX(16px); }
.v2-demo-strip-more {
    width: 54px;
    height: 80px;
    flex-shrink: 0;
    border: 1px dashed rgba(250, 250, 249, 0.3);
    border-radius: 0.3rem;
    display: grid;
    place-items: center;
    color: rgba(250, 250, 249, 0.5);
    font-weight: 900;
    font-size: 1.2rem;
}

/* ---------- Marquees ---------- */
.v2-marquee { overflow: hidden; padding: 2rem 0; }
.v2-marquee-track { display: flex; width: max-content; animation: v2-marquee 35s linear infinite; }
.v2-marquee-slow .v2-marquee-track { animation-duration: 50s; }
.v2-marquee-reverse .v2-marquee-track { animation-direction: reverse; }
.v2-marquee:hover .v2-marquee-track { animation-play-state: paused; }
.v2-marquee-group { display: flex; gap: 1rem; padding-right: 1rem; }
@keyframes v2-marquee { to { transform: translateX(-50%); } }

/* Slider de covers (repris de la home actuelle, liens vers /fr/resumes) */
.v2-books-hint { color: var(--muted); font-size: 0.95rem; margin-top: -1rem; margin-bottom: 2.5rem; }
.v2-books-hint strong { color: var(--cobalt); font-weight: 700; }
.v2-covers-marquee { padding: 1.25rem 0; }
.v2-covers-marquee .v2-marquee-track { animation-duration: 45s; }
.v2-cover-card {
    display: block;
    width: 170px;
    flex-shrink: 0;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(26, 26, 26, 0.16);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.v2-cover-card img { width: 100%; height: auto; }
.v2-cover-card:hover {
    transform: translateY(-8px) rotate(-1.5deg) scale(1.03);
    box-shadow: 0 24px 48px rgba(53, 80, 170, 0.3);
}
.v2-rail-subhead {
    font-weight: 900;
    letter-spacing: -0.02em;
    font-size: 1.3rem;
    margin-top: 5rem;
}

/* Bande sujets : fond teinte, deux pistes contrarotatives inclinees */
.v2-topics-band {
    background: linear-gradient(180deg, #F2F0FF 0%, #FAFAF9 100%);
    border-top: 1px solid var(--line);
    overflow: hidden;
}
.v2-band-kicker {
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--cobalt);
    margin-bottom: 0.85rem;
}
.v2-topics-strips {
    transform: rotate(-2deg) scale(1.04);
    margin: 1.5rem 0;
}
.v2-topics-strips .v2-marquee { padding: 0.6rem 0; }
.v2-topics-strips .v2-marquee-track { animation-duration: 40s; }
.v2-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    border: 2px solid var(--ink);
    border-radius: 999px;
    padding: 0.8rem 1.4rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    background: #fff;
    box-shadow: 0 6px 0 rgba(26, 26, 26, 0.9);
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.v2-pill:hover {
    background: var(--pill-color, var(--ink));
    border-color: var(--pill-color, var(--ink));
    color: #fff;
    transform: translateY(3px);
    box-shadow: 0 3px 0 rgba(26, 26, 26, 0.9);
}
.v2-pill-emoji { font-size: 1.15em; }
.v2-pill-hash { color: var(--pill-color, var(--muted)); margin-right: 0.05em; }
.v2-pill:hover .v2-pill-hash { color: rgba(255, 255, 255, 0.7); }
.v2-pill-count {
    font-size: 0.65em;
    font-weight: 700;
    background: rgba(26, 26, 26, 0.08);
    border-radius: 999px;
    padding: 0.2em 0.7em;
}
.v2-pill:hover .v2-pill-count { background: rgba(255, 255, 255, 0.25); }
.v2-topics-band .v2-container:first-child, .v2-ideas-band .v2-container:first-child { text-align: center; }
.v2-topics-band .v2-display, .v2-ideas-band .v2-display { margin-bottom: 0.5rem; }
.v2-topics-band .v2-center { margin-top: 2.5rem; }

.v2-idea-chip {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    white-space: normal;
    width: 320px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    padding: 1.4rem 1.5rem;
    box-shadow: 0 10px 30px rgba(26, 26, 26, 0.06);
    transition: transform 0.25s ease;
}
.v2-idea-chip:hover { transform: translateY(-4px); }
.v2-idea-chip strong { font-weight: 900; letter-spacing: -0.02em; line-height: 1.2; font-size: 1.05rem; }
.v2-idea-chip span { color: var(--muted); font-size: 0.8rem; }

/* ---------- Pricing ---------- */
.v2-pricing .v2-display { text-align: center; }
.v2-pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.v2-price-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.5rem 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.v2-price-card-pro { border: 3px solid var(--coral); box-shadow: 0 24px 60px rgba(255, 107, 107, 0.18); }
.v2-price-kicker { font-size: 0.8rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted); display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.v2-price-badge { background: var(--coral); color: #fff; border-radius: 999px; padding: 0.2rem 0.75rem; font-size: 0.7rem; letter-spacing: 0.05em; }
.v2-price-title { font-weight: 900; letter-spacing: -0.03em; font-size: 1.6rem; line-height: 1.1; }
.v2-price-list { display: grid; gap: 0.65rem; font-size: 0.95rem; }
.v2-price-list li { padding-left: 1.6rem; position: relative; }
.v2-price-list li::before { content: '✓'; position: absolute; left: 0; font-weight: 900; color: var(--teal); }
.v2-price-card .v2-btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.v2-faq .v2-display { text-align: center; }
.v2-faq-list { display: grid; gap: 0.85rem; }
.v2-faq-item { background: #fff; border: 1px solid var(--line); border-radius: 1.25rem; overflow: hidden; }
.v2-faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 1.75rem;
    font-weight: 700;
    font-size: 1.05rem;
}
.v2-faq-item summary::-webkit-details-marker { display: none; }
.v2-faq-marker { font-size: 1.4rem; font-weight: 400; transition: transform 0.3s ease; flex-shrink: 0; }
.v2-faq-item[open] .v2-faq-marker { transform: rotate(45deg); }
.v2-faq-answer { padding: 0 1.75rem 1.5rem; color: var(--muted); font-size: 0.95rem; }

/* ---------- Breadcrumb ---------- */
.v2-breadcrumb { padding-top: 2rem; display: flex; gap: 0.6rem; font-size: 0.85rem; color: var(--muted); flex-wrap: wrap; }
.v2-breadcrumb a:hover { color: var(--ink); }
.v2-breadcrumb [aria-current] { color: var(--ink); font-weight: 700; }

/* ---------- Pages topics ---------- */
.v2-topic-hero { padding: 4rem 0 5rem; }
.v2-topic-kicker { font-size: 0.8rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.25em; color: var(--muted); margin-bottom: 1rem; }
.v2-topic-title {
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.95;
    font-size: clamp(2.75rem, 9vw, 6.5rem);
    color: var(--topic-color, var(--ink));
    margin-bottom: 1rem;
    overflow-wrap: anywhere;
}
.v2-hash { opacity: 0.35; margin-right: 0.1em; }
.v2-topic-tagline { font-size: clamp(1.15rem, 2.5vw, 1.6rem); font-weight: 700; margin-bottom: 1rem; }
.v2-topic-desc { color: var(--muted); max-width: 60ch; margin-bottom: 1.5rem; }
.v2-topic-stats { font-size: 0.95rem; color: var(--muted); margin-bottom: 2rem; }
.v2-topic-stats strong { color: var(--ink); font-weight: 900; }

.v2-topic-ideas { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.v2-ideas-group { margin-bottom: 3.5rem; }
.v2-ideas-group:last-child { margin-bottom: 0; }
.v2-book-chip {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.v2-book-chip:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(26, 26, 26, 0.08); }
.v2-book-chip img { width: 44px; border-radius: 0.35rem; }
.v2-book-chip strong { display: block; font-size: 0.95rem; letter-spacing: -0.01em; }
.v2-book-chip em { display: block; font-style: normal; color: var(--muted); font-size: 0.8rem; }
.v2-book-chip-arrow { font-weight: 900; }
.v2-ideas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; }
.v2-idea-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 1.5rem;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.v2-idea-card h3 { font-weight: 900; letter-spacing: -0.02em; font-size: 1.25rem; line-height: 1.15; }
.v2-idea-body { font-size: 0.92rem; color: #44403C; }
.v2-idea-body mark {
    background: rgba(62, 43, 246, 0.15);
    background: color-mix(in srgb, var(--topic-color, var(--brand)) 18%, transparent);
    color: inherit;
    border-radius: 0.2em;
    padding: 0 0.15em;
    font-weight: 600;
}
.v2-idea-conclusion { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--ink); border-left: 3px solid var(--topic-color, var(--brand)); padding-left: 0.9rem; }
.v2-idea-link { margin-top: auto; font-weight: 700; font-size: 0.88rem; color: var(--brand); }
.v2-idea-link:hover { text-decoration: underline; }

.v2-covers-row { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.v2-cover { width: 150px; display: grid; gap: 0.6rem; font-size: 0.85rem; font-weight: 700; }
.v2-cover img { border-radius: 0.6rem; box-shadow: 0 16px 36px rgba(26, 26, 26, 0.18); transition: transform 0.25s ease; }
.v2-cover:hover img { transform: translateY(-6px) rotate(-2deg); }

.v2-topics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.v2-topics-grid-index { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.v2-topic-card {
    background: #fff;
    border: 1px solid var(--line);
    border-top: 6px solid var(--topic-color, var(--ink));
    border-radius: 1.5rem;
    padding: 1.9rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.v2-topic-card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(26, 26, 26, 0.1); }
.v2-topic-card-emoji { font-size: 1.75rem; }
.v2-topic-card h3 { font-weight: 900; letter-spacing: -0.03em; font-size: 1.45rem; line-height: 1.05; }
.v2-topic-card p { color: var(--muted); font-size: 0.9rem; }
.v2-topic-card-count { margin-top: auto; padding-top: 0.75rem; font-size: 0.8rem; font-weight: 700; color: var(--topic-color, var(--muted)); }
.v2-topic-empty { color: var(--muted); font-size: 1.1rem; }

.v2-topics-hero { padding: 4rem 0 1rem; }
.v2-topics-hero-sub { color: var(--muted); font-size: 1.15rem; max-width: 50ch; }

/* ---------- Mascotte (sort de derriere le footer au scroll) ---------- */
.v2-mascotte {
    overflow: hidden;
    margin-bottom: -1px; /* colle au bord superieur de la CTA */
    display: flex;
    justify-content: center;
    pointer-events: none;
}
.v2-mascotte img {
    display: block;
    width: min(500px, 65vw);
    height: auto;
    transform: translateY(103%);
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}
.v2-mascotte.is-up img, html:not(.js) .v2-mascotte img { transform: translateY(0); }

/* ---------- Page resume d'un livre ---------- */
.v2-book-hero { padding: 3rem 0 4rem; }
.v2-book-hero-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
}
.v2-book-hero-cover {
    width: 220px;
    border-radius: 0.9rem;
    box-shadow: 0 30px 60px rgba(26, 26, 26, 0.25);
}
.v2-book-hero-cat {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--topic-color, var(--cobalt));
    border: 1px solid currentColor;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    margin-bottom: 1.25rem;
}
.v2-book-hero-title {
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.95;
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    margin-bottom: 0.75rem;
    text-wrap: balance;
}
.v2-book-hero-author { color: var(--muted); font-size: 1.15rem; margin-bottom: 1rem; }
.v2-book-hero-ctas { justify-content: flex-start; animation: none; margin-top: 1.5rem; }
.v2-book-note { margin-top: 3rem; font-size: 0.8rem; color: var(--muted); font-style: italic; }
.v2-book-blog-link {
    display: block;
    margin-top: 2.5rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    padding: 1.4rem 1.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.v2-book-blog-link:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(26, 26, 26, 0.08); }
.v2-book-blog-link span { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); font-weight: 900; margin-bottom: 0.3rem; }
.v2-book-blog-link strong { font-weight: 900; letter-spacing: -0.02em; }
@media (max-width: 760px) {
    .v2-book-hero-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .v2-book-hero-ctas { justify-content: center; }
}

/* ---------- Galerie des resumes ---------- */
.v2-cat-filters { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 0.5rem auto 0; }
.v2-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 2px solid var(--ink);
    border-radius: 999px;
    padding: 0.55rem 1.2rem;
    font-weight: 700;
    font-size: 0.9rem;
    background: #fff;
    transition: background 0.2s, color 0.2s;
}
.v2-cat-chip small { font-size: 0.72rem; opacity: 0.55; font-weight: 900; }
.v2-cat-chip:hover { background: var(--ink); color: #fff; }
.v2-cat-chip.is-active { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.v2-books-section { padding-top: 3rem; }
.v2-books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 2.25rem 1.5rem;
}
.v2-book-card { display: grid; gap: 0.6rem; align-content: start; }
.v2-book-card img {
    width: 100%;
    border-radius: 0.7rem;
    box-shadow: 0 14px 32px rgba(26, 26, 26, 0.16);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.v2-book-card:hover img { transform: translateY(-6px) rotate(-1.5deg); box-shadow: 0 22px 44px rgba(53, 80, 170, 0.25); }
.v2-book-card strong { font-weight: 900; letter-spacing: -0.02em; line-height: 1.2; font-size: 0.98rem; }
.v2-book-card span { color: var(--muted); font-size: 0.82rem; }

/* ---------- A propos ---------- */
.v2-about { padding-top: 2rem; }
.v2-about-block { margin-bottom: 3.5rem; }
.v2-about-block h2 {
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1.25rem;
}
.v2-about-block p { margin-bottom: 1rem; color: #44403C; }
.v2-about-list { display: grid; gap: 0.75rem; margin-bottom: 1.25rem; }
.v2-about-list li {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    color: #44403C;
}
.v2-about-list strong, .v2-about-block p strong { color: var(--ink); }
.v2-about-mail { font-weight: 700; color: var(--cobalt); }
.v2-about-mail:hover { text-decoration: underline; }

/* ---------- CTA finale + footer ---------- */
.v2-final-cta {
    background: linear-gradient(160deg, var(--cobalt) 0%, var(--navy) 100%);
    color: var(--bg);
    text-align: center;
    padding: 7rem 0;
    border-radius: var(--radius) var(--radius) 0 0;
}
.v2-final-cta-title {
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.9;
    font-size: clamp(3rem, 10vw, 7rem);
    margin-bottom: 1.5rem;
}
.v2-final-cta-sub { color: rgba(250, 250, 249, 0.65); margin-bottom: 2.5rem; font-size: 1.1rem; }
.v2-store-badges { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.v2-store-badges img { height: 52px; width: auto; }

/* ---------- Explorez la bibliotheque (cartes au-dessus du footer) ---------- */
.v2-library { background: var(--bg); }
.v2-library-title {
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.9;
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    margin-bottom: 3rem;
}
.v2-library-title .v2-serif-accent { color: var(--cobalt); }
.v2-library-arrow { display: inline-block; font-style: normal; transition: transform 0.25s ease; }
.v2-library-title:hover .v2-library-arrow { transform: translate(4px, -4px); }
.v2-library-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.v2-library-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    box-shadow: 0 14px 36px rgba(26, 26, 26, 0.06);
    padding: 1.75rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.v2-library-card h3 {
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--muted);
    text-align: center;
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.9rem;
    margin-bottom: 0.6rem;
}
.v2-library-card a {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.01em;
    transition: color 0.15s ease, transform 0.15s ease;
}
.v2-library-card a:hover { color: var(--cobalt); transform: translateX(3px); }
@media (max-width: 900px) { .v2-library-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .v2-library-grid { grid-template-columns: 1fr; } }

/* ---------- Footer (barre legale) ---------- */
.v2-footer { background: var(--navy); color: var(--bg); padding: 2rem 0; }
.v2-footer-legal { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: 0.85rem; color: rgba(250, 250, 249, 0.6); }
.v2-footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.v2-footer-links a { color: rgba(250, 250, 249, 0.75); }
.v2-footer-links a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--cobalt); text-underline-offset: 4px; }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
    .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
    .js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
}

/* ---------- Motion reduit ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .v2-hero-title, .v2-hero-sub, .v2-hero-ctas, .v2-hero-notif, .v2-scroll-hint, .v2-hero-logo, .v2-hero-underline { animation: none; }
    .v2-topics-strips { transform: none; }
    .v2-marquee-track { animation: none; flex-wrap: wrap; width: auto; }
    .v2-marquee-group[aria-hidden] { display: none; }
    .v2-pin, .v2-manifesto { height: auto; }
    .v2-pin-stage, .v2-manifesto-stage { position: static; height: auto; padding: 4rem 0; }
    .v2-pin-stage { display: grid; justify-items: center; gap: 2rem; }
    .v2-pin-shelf { display: none; }
    .v2-growth-line { stroke-dashoffset: 0; transition: none; }
    .v2-win-badge { transform: none; opacity: 1; transition: none; }
    .v2-phone-scene { position: static; opacity: 1; transform: none; min-height: 500px; }
    .v2-finder-cover, .v2-finder-confirm { opacity: 1; transform: none; transition: none; }
    .v2-hl, .v2-demo-slider::before, .v2-demo-thumb, .v2-demo-lines i,
    .v2-demo-switch, .v2-demo-switch i, .v2-demo-stack img,
    .v2-demo-chip, .v2-demo-strip img { transition: none; }
    .v2-mascotte img { transform: none; transition: none; }
    .v2-phone { height: auto; padding-bottom: 2rem; }
    .v2-word { color: var(--ink); }
    .v2-hero-book { animation: none; }
    .v2-finder-sweep, .v2-cam-state-scan .v2-cam-dot { animation: none; }
    .v2-scroll-arrow { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .v2-phone { width: 240px; height: 500px; }
    .v2-pin-shelf img { width: 120px; }
    .v2-pin-shelf { gap: 2rem; }
    .v2-finder { width: 160px; height: 240px; }
    .v2-finder-cover { width: 118px; }
    .v2-hero-notif { display: none; }
    .v2-hero-book { width: calc(var(--w, 150px) * 0.55); opacity: 0.55; }
}
@media (max-width: 1000px) {
    .v2-bento { grid-template-columns: repeat(2, 1fr); }
    .v2-tile-offline, .v2-tile-stack { grid-column: span 1; }
}
@media (max-width: 620px) {
    .v2-bento { grid-template-columns: 1fr; }
    .v2-tile-highlight, .v2-tile-length, .v2-tile-reco, .v2-tile-catalog,
    .v2-tile-offline, .v2-tile-stack { grid-column: span 1; grid-row: span 1; }
}
@media (max-width: 768px) {
    .v2-section { padding: 4rem 0; }
    .v2-nav-links { display: none; }
    .v2-stats-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .v2-pricing-grid { grid-template-columns: 1fr; }
    .v2-rail-arrows { display: none; }
    .v2-footer-legal { flex-direction: column; }
}
