/* Mine, site v7 : esprit lyynk.com (titres en serif doux, aplats lavande, tuiles pastel) adapté à Mine (violet du film, interface noire de l'app). */

/* Polices servies par le site (pas d'appel à Google Fonts) */
@font-face {
    font-family: "DM Serif Display";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("assets/fonts/dm-serif-display-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "DM Serif Display";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("assets/fonts/dm-serif-display-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("assets/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("assets/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("assets/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("assets/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@property --p {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}

:root {
    --white: #ffffff;
    --lav: #efe9fd;
    --lav-soft: #f6f3fe;
    --lav-deep: #e8e0fa;
    --ink: #19132b;
    --muted: #625b74;
    --line: #e6e0f2;

    --t-lavender: #e7dffd;
    --t-pink: #fce4f0;
    --t-mint: #dff3e8;
    --t-sky: #e1ebfd;
    --t-peach: #ffead8;
    --t-lilac: #f1e6fb;

    --violet: #8a00ff;
    --app: #050505;
    --app-surface: #1a1520;
    --app-line: rgba(255, 255, 255, 0.08);
    --app-bubble: #a91cf0;
    --app-neon: #d500f9;
    --amber: #f5a524;

    --serif: "DM Serif Display", Georgia, serif;
    --sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    --wrap: 1232px;
    --gutter: clamp(16px, 4vw, 48px);
    --lift: 0 18px 36px -22px rgba(25, 19, 43, 0.4);
}

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

html { scroll-padding-top: 88px; }

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font: 400 17px/1.55 var(--sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, p, figure, blockquote { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, .tile h3 {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

h2 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.05; }

:focus-visible {
    outline: 3px solid var(--violet);
    outline-offset: 3px;
    border-radius: 8px;
}

.skip {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 30;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--ink);
    color: #fff;
}
.skip:focus { top: 12px; }

.head { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.head.center { text-align: center; }
.head h2 { max-width: 18ch; margin: 0 auto; }
.head p { max-width: 50ch; margin: 16px auto 0; font-size: 18px; color: var(--muted); text-wrap: pretty; }

.star, .stars svg { width: 16px; height: 16px; fill: var(--amber); flex: none; }
.stars { display: inline-flex; gap: 2px; }

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

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    background: var(--ink);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.pill svg { width: 14px; height: 17px; fill: currentColor; }
.pill:hover { transform: translateY(-1px); background: #000; }
.pill-light { margin-left: -24px; background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.pill-light:hover { background: var(--lav-soft); }

.store {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 58px;
    padding: 0 24px 0 20px;
    border-radius: 14px;
    background: var(--ink);
    color: #fff;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.store small { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0; opacity: 0.85; }
.store svg { width: 21px; height: 26px; fill: currentColor; }
.store:hover { transform: translateY(-2px); background: #000; }

/* ---------- Navigation ---------- */

.nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 20;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 1px 0 var(--line);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 36px;
    max-width: calc(var(--wrap) + 2 * var(--gutter));
    height: 76px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.16em;
    text-decoration: none;
}
.logo img { filter: invert(1); }

.nav-links { display: flex; gap: 30px; margin-left: auto; font-size: 15px; font-weight: 600; }
.nav-links a { text-decoration: none; opacity: 0.72; transition: opacity 0.2s ease; }
.nav-links a:hover { opacity: 1; }

/* ---------- Haut de page ---------- */

.hero {
    position: relative;
    padding: 148px var(--gutter) 0;
}

/* Aplat lavande qui s'arrête au milieu du film */
.hero::before {
    content: "";
    position: absolute;
    inset: 0 0 260px;
    z-index: -1;
    background: var(--lav);
}

.hero-inner { max-width: 920px; margin: 0 auto; text-align: center; }

.proof {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--white);
    box-shadow: 0 1px 2px rgba(25, 19, 43, 0.06), inset 0 0 0 1px var(--line);
    font-size: 14px;
    font-weight: 600;
}
.proof-sep { width: 1px; height: 16px; background: var(--line); }
.proof-rate { display: inline-flex; align-items: center; gap: 6px; }

.hero h1 {
    max-width: 12ch;
    margin: 28px auto 0;
    font-size: clamp(46px, 7vw, 94px);
    line-height: 1;
}

.lead {
    max-width: 46ch;
    margin: 24px auto 0;
    font-size: clamp(17px, 1.6vw, 20px);
    color: var(--muted);
    text-wrap: pretty;
}

.hero-cta { margin-top: 36px; display: flex; justify-content: center; }

.film-wrap { max-width: 1160px; margin: 64px auto 0; }

.film {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 32px;
    background: #000;
    box-shadow: 0 50px 100px -50px rgba(49, 21, 104, 0.45);
    transform-origin: 50% 0;
}

.film video { display: block; width: 100%; height: 100%; object-fit: cover; }

.film-controls {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: flex;
    gap: 8px;
}

.film-controls button {
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: rgba(25, 19, 43, 0.72);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.film-controls button:hover { background: rgba(25, 19, 43, 0.9); }

/* ---------- Fonctions : grille de tuiles ---------- */

.features { padding: 150px 0 140px; }

.bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    max-width: calc(var(--wrap) + 2 * var(--gutter));
    margin: 64px auto 0;
    padding: 0 var(--gutter);
}

.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }

.tile {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-height: 540px;
    padding: 36px;
    border-radius: 32px;
}

.t-lavender { background: var(--t-lavender); }
.t-pink { background: var(--t-pink); }
.t-mint { background: var(--t-mint); }
.t-sky { background: var(--t-sky); }
.t-peach { background: var(--t-peach); }
.t-lilac { background: var(--t-lilac); }
.t-dark { background: var(--app); color: #fff; }

.tile h3 { font-size: clamp(26px, 2.5vw, 34px); line-height: 1.1; }
.tile-text p { max-width: 42ch; margin-top: 10px; color: var(--muted); }
.t-dark .tile-text p { color: rgba(255, 255, 255, 0.66); }

.span-4 { min-height: 500px; }
.span-4 h3 { font-size: clamp(24px, 2.1vw, 29px); }

/* ---------- Démos (interface de l'app) ---------- */

.demo {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    width: 100%;
    font-size: 15px;
    line-height: 1.45;
}

.demo-chat { max-width: 460px; margin: 0 auto; }

.b { max-width: 82%; padding: 11px 16px; border-radius: 20px; }
.b.me { align-self: flex-end; background: var(--app-bubble); color: #fff; border-bottom-right-radius: 6px; }
.b.mine { align-self: flex-start; min-height: 44px; background: var(--app); color: #fff; border-bottom-left-radius: 6px; }

.dots { display: inline-flex; gap: 4px; padding: 6px 0; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.6); animation: dot 1.1s infinite ease-in-out; }
.dots i:nth-child(2) { animation-delay: 0.15s; }
.dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

.sms {
    align-self: flex-start;
    max-width: 320px;
    padding: 12px 16px;
    border-radius: 20px 20px 20px 6px;
    background: var(--white);
    box-shadow: var(--lift);
    font-size: 16px;
}

.sms-from { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 2px; font-size: 13px; font-weight: 700; }
.sms-from time { font-weight: 500; color: var(--muted); }

mark { background: transparent; color: inherit; border-radius: 4px; padding: 0 2px; transition: background-color 0.5s ease, color 0.5s ease; }
mark.is-on { background: var(--app-neon); color: #fff; }

.analysis {
    align-self: flex-end;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 20px 16px 16px;
    border-radius: 24px;
    background: var(--app);
    color: #fff;
}

.ring {
    display: grid;
    place-content: center;
    width: 96px;
    aspect-ratio: 1;
    border-radius: 50%;
    text-align: center;
    background:
        radial-gradient(closest-side, var(--app) 80%, transparent 81%),
        conic-gradient(var(--app-neon) calc(var(--p) * 1%), #2b2531 0);
}
.ring span { font-size: 21px; font-weight: 700; line-height: 1; }
.ring small { font-size: 11px; color: rgba(255, 255, 255, 0.6); }

.reads { display: grid; gap: 8px; justify-items: start; }
.reads span, .mood-chips span {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(213, 0, 249, 0.16);
    color: #eba8ff;
    font-size: 13px;
    font-weight: 600;
}

.demo-ex { align-items: center; gap: 14px; }
.exlist { width: 100%; max-width: 340px; padding: 12px; border-radius: 24px; background: var(--app); color: #fff; }
.exlist-head { display: flex; justify-content: space-between; align-items: baseline; padding: 2px 8px 10px; font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.exlist-head b { color: #fff; font-size: 15px; }
.exlist ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.exlist li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 14px; font-size: 14px; font-weight: 600; transition: background-color 0.35s ease; }
.exlist li.is-on { background: rgba(138, 0, 255, 0.28); }
.exlist em { font-style: normal; font-size: 13px; color: rgba(255, 255, 255, 0.5); font-variant-numeric: tabular-nums; }
.ex-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(213, 0, 249, 0.16); color: #eba8ff; }
.ex-ico svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ex-pick { display: flex; gap: 10px; align-items: baseline; padding: 8px 14px; border-radius: 999px; background: var(--white); font-size: 14px; box-shadow: var(--lift); }
.ex-pick span { color: var(--muted); font-size: 13px; }

.demo-daily { gap: 14px; }

.notif {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: start;
    padding: 14px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--lift);
    font-size: 13.5px;
    line-height: 1.35;
}
.notif img { border-radius: 9px; }
.notif b { display: block; }
.notif span { color: var(--muted); }
.notif time { font-size: 12px; color: var(--muted); }

.answer {
    align-self: flex-end;
    max-width: 88%;
    min-height: 3.2em;
    padding: 12px 16px;
    border-radius: 20px 20px 6px 20px;
    background: var(--white);
    box-shadow: var(--lift);
    font-size: 14.5px;
}
.streak { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--app); color: #eba8ff; font-size: 13px; font-weight: 600; }

.question { padding: 20px; border-radius: 22px; background: var(--app); color: #fff; }
.question small { color: rgba(255, 255, 255, 0.55); font-size: 13px; font-weight: 600; }
.question p { margin-top: 6px; font-size: 17px; font-weight: 700; line-height: 1.32; }

.mood { padding: 22px; border-radius: 24px; background: var(--app); color: #fff; }
.mood small { color: rgba(255, 255, 255, 0.55); font-size: 13px; font-weight: 600; }
.mood-score { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.mood-score b { font-size: 56px; line-height: 1; letter-spacing: -0.03em; }
.mood-score em { font-style: normal; color: rgba(255, 255, 255, 0.5); }
.mood-bar { height: 6px; margin-top: 16px; border-radius: 6px; background: #2b2531; overflow: hidden; }
.mood-bar i { display: block; width: 0; height: 100%; border-radius: 6px; background: var(--violet); }
.mood-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* Muse */
.t-dark { justify-content: space-between; }
.t-dark, .t-lilac { min-height: 470px; }

.incoming {
    max-width: 320px;
    margin-bottom: 18px;
    padding: 12px 16px;
    border-radius: 20px 20px 20px 6px;
    background: var(--app-surface);
    font-size: 15px;
}
.incoming .sms-from time { color: rgba(255, 255, 255, 0.5); }

.tones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    max-width: 460px;
    padding: 5px;
    border-radius: 16px;
    background: var(--app-surface);
}

.tones button {
    min-height: 46px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
}
.tones button:hover { color: #fff; }
.tones button[aria-checked="true"] { background: var(--violet); color: #fff; }

.reply {
    width: fit-content;
    max-width: 82%;
    min-height: 3.1em;
    margin: 16px 0 0 auto;
    padding: 13px 18px;
    border-radius: 20px 20px 6px 20px;
    background: var(--app-bubble);
    color: #fff;
    font-size: 16px;
}

/* Schémas */
.t-lilac { justify-content: space-between; }
.patterns { display: grid; gap: 12px; }
.pat { padding: 16px 18px; border-radius: 20px; background: var(--app); color: #fff; border-left: 4px solid var(--amber); }
.pat.p-violet { margin-left: 28px; border-left-color: #8e5cf7; }
.pat small { display: block; font-size: 12px; font-weight: 700; color: var(--amber); }
.pat.p-violet small { color: #b79bff; }
.pat b { display: block; margin-top: 3px; font-size: 16px; }
.pat p { margin-top: 6px; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.66); }

/* ---------- Avis ---------- */

.reviews { padding: 0 0 140px; }

.wall {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: calc(var(--wrap) + 2 * var(--gutter));
    margin: 56px auto 0;
    padding: 0 var(--gutter);
}

.rev {
    padding: 26px;
    border-radius: 24px;
    background: var(--white);
    box-shadow: inset 0 0 0 1px var(--line);
}

.rev figcaption { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.rev b { font-size: 16px; line-height: 1.35; }
.rev .stars { margin-top: 2px; }
.rev blockquote { margin-top: 10px; font-size: 15.5px; color: #3d3650; }

/* ---------- Questions ---------- */

.faq-section { padding: 130px var(--gutter); background: var(--lav-soft); }

.faq { display: grid; gap: 12px; max-width: 780px; margin: 48px auto 0; }

.qa { border-radius: 20px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.qa h3 { font-size: 17px; font-weight: 600; }

.qa button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 22px 26px;
    border: 0;
    border-radius: 20px;
    background: none;
    text-align: left;
    cursor: pointer;
}

.qa i {
    flex: none;
    width: 10px;
    height: 10px;
    margin-top: -4px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg);
    transition: transform 0.3s ease, margin 0.3s ease;
}
.qa button[aria-expanded="true"] i { transform: rotate(-135deg); margin-top: 4px; }

.qa-body { overflow: hidden; }
.qa-body p { max-width: 64ch; padding: 0 26px 24px; color: var(--muted); }

.faq-contact { margin-top: 32px; text-align: center; color: var(--muted); }
.faq-contact a { color: var(--ink); font-weight: 600; }

/* ---------- Fin ---------- */

.end { padding: 130px var(--gutter) 40px; }

.end-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    max-width: var(--wrap);
    min-height: 480px;
    margin: 0 auto;
    border-radius: 40px;
    background: var(--lav-deep);
}

.end-text { align-self: center; padding: clamp(40px, 6vw, 76px); }
.end-text h2 { max-width: 13ch; font-size: clamp(36px, 4.4vw, 58px); }
.end-text p { max-width: 40ch; margin: 18px 0 32px; color: var(--muted); font-size: 18px; }

/* Vrai iPhone (photo) avec la notification du soir */
/* Le fond de l'image est exactement celui de la carte : le téléphone s'y fond sans raccord */
.lock { align-self: end; justify-self: center; width: 360px; margin-top: 40px; }
.lock img { width: 100%; }

.help { max-width: 62ch; margin: 32px auto 0; text-align: center; font-size: 14px; color: var(--muted); }
.help a { font-weight: 700; color: var(--ink); }

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

.footer { margin-top: 80px; border-top: 1px solid var(--line); }

.footer-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 32px;
    max-width: calc(var(--wrap) + 2 * var(--gutter));
    margin: 0 auto;
    padding: 56px var(--gutter) 40px;
}

.footer-brand p { margin-top: 14px; color: var(--muted); font-size: 15px; }
.footer nav { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.footer h2 { margin-bottom: 4px; font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: 0; line-height: 1.55; }
.footer nav a { color: var(--muted); text-decoration: none; }
.footer nav a:hover { color: var(--ink); }

.copyright {
    max-width: calc(var(--wrap) + 2 * var(--gutter));
    margin: 0 auto;
    padding: 0 var(--gutter) 40px;
    font-size: 13px;
    color: var(--muted);
}

.copyright a, .qa-body a { color: inherit; font-weight: 600; }

/* ---------- Pages légales ---------- */

.legal-head {
    padding: 156px var(--gutter) 64px;
    background: var(--lav);
    text-align: center;
}

.legal-head h1 { max-width: 18ch; margin: 0 auto; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; }
.legal-head p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.legal-head h1 + p { margin-top: 18px; }

.legal {
    max-width: 760px;
    margin: 0 auto;
    padding: 64px var(--gutter) 40px;
    color: #3d3650;
    font-size: 16.5px;
    line-height: 1.7;
}

.legal h2 {
    margin: 48px 0 12px;
    color: var(--ink);
    font-size: clamp(24px, 2.6vw, 30px);
    line-height: 1.2;
}

.legal h3 { margin: 24px 0 8px; color: var(--ink); font-size: 17px; font-weight: 700; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--ink); }
.legal a { color: var(--violet); font-weight: 600; }

.legal .intro, .legal .warning-box, .legal .emergency-box {
    margin-bottom: 16px;
    padding: 20px 24px;
    border-radius: 20px;
    background: var(--lav-soft);
    box-shadow: inset 0 0 0 1px var(--line);
}

.legal .warning-box { background: var(--t-peach); box-shadow: none; color: var(--ink); }
.legal .emergency-box { background: var(--t-pink); box-shadow: none; color: var(--ink); font-weight: 600; }
.legal .legal-basis { color: var(--violet); font-weight: 600; }
.legal ol { margin: 0 0 12px; padding-left: 22px; }
.legal .law-box { margin: 8px 0 20px; padding: 20px 24px; border-radius: 20px; background: var(--lav-soft); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }
.legal .law-box p:last-child { margin-bottom: 0; }
.legal mark.todo { padding: 1px 6px; border-radius: 6px; background: var(--t-peach); color: #8a4a0c; font-weight: 600; }
.legal .closing { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-style: italic; }

.not-found { padding: 200px var(--gutter) 120px; background: var(--lav); text-align: center; }
.not-found h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.05; }
.not-found p { max-width: 40ch; margin: 18px auto 32px; color: var(--muted); font-size: 18px; }

@media (max-width: 640px) {
    .legal-head { padding-top: 112px; padding-bottom: 48px; }
    .legal { padding-top: 40px; font-size: 16px; }
    .not-found { padding-top: 140px; }
}

/* ---------- Tablette ---------- */

@media (max-width: 1080px) {
    .span-7, .span-5 { grid-column: span 6; }
    .span-4 { grid-column: span 6; }
    .t-peach { grid-column: span 12; }
}

@media (max-width: 960px) {
    .wall { grid-template-columns: 1fr 1fr; }
    .nav-links, .pill-light { display: none; }
    .nav .pill { margin-left: auto; }
    .end-card { grid-template-columns: 1fr; }
    .lock { margin: 0 auto; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Téléphone ---------- */

@media (max-width: 720px) {
    .wall { grid-template-columns: 1fr; }
    .bento { gap: 14px; }
    .span-7, .span-5, .span-4, .t-peach { grid-column: span 12; }
    .tile, .span-4 { min-height: 0; padding: 26px; border-radius: 28px; }
    .demo { min-height: 300px; }
}

@media (max-width: 640px) {
    .nav-inner { height: 64px; }
    .hero { padding-top: 108px; }
    .hero::before { bottom: 200px; }
    .proof { gap: 10px; padding: 7px 14px; font-size: 13px; }
    .hero h1 { font-size: 50px; }
    .film-wrap { margin-top: 40px; }
    .film { aspect-ratio: 9 / 16; width: min(100%, calc(78svh * 9 / 16)); margin: 0 auto; border-radius: 26px; }
    .film-controls { right: 12px; bottom: 12px; }
    .features { padding: 100px 0 96px; }
    .head p { font-size: 17px; }
    .reviews { padding-bottom: 96px; }
    .faq-section { padding-top: 96px; padding-bottom: 96px; }
    .qa button { padding: 20px; }
    .qa-body p { padding: 0 20px 20px; }
    .end { padding-top: 96px; }
    .end-text { padding: 40px 28px; }
    .lock { width: 280px; }
    .footer-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .dots i { animation: none; }
    .pill, .store, .tones button, .qa i, mark { transition: none; }
}
