/* ==========================================================================
   Vroom GPS — homepage (DA store 2026 : panorama alpin + titres Archivo Black
   lavande / blanc sur dégradé violet profond + mockups inclinés débordants).
   Chargée UNIQUEMENT par /fr/ et /en/ : les autres pages restent sur style.css.
   ========================================================================== */

:root {
    --violet-deep: #4A148C;
    --violet: #673AB7;
    --violet-ink: #2A0E5C;
    --night: #160B2E;
    --ink: #1D1433;
    --ink-soft: #5B5270;
    --lavender: #D5B8FF;
    --lavender-soft: #EFE6FF;
    --paper: #F7F4FC;
    --white: #FFFFFF;
    --accent: #E040FB; /* réservé au soutien (bière) */
    --radius-lg: 32px;
    --radius-md: 20px;
    --shadow-phone: 0 40px 80px -20px rgba(22, 11, 46, 0.55), 0 18px 36px -18px rgba(22, 11, 46, 0.5);
    --font-display: 'Archivo Black', 'Arial Black', system-ui, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --gutter: clamp(16px, 4vw, 40px);
    --max: 1200px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Titre façon store : ligne 1 lavande, ligne 2 CAPITALES blanches ---------- */
.headline { font-family: var(--font-display); font-weight: 400; line-height: 1.02; letter-spacing: -0.01em; }
.headline .l1 { display: block; color: var(--lavender); font-size: 0.58em; letter-spacing: 0; margin-bottom: 0.12em; }
.headline .l2 { display: block; color: var(--white); text-transform: uppercase; }
.headline--light .l1 { color: var(--violet); }
.headline--light .l2 { color: var(--violet-ink); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--lavender);
}
.eyebrow--dark { color: var(--violet); }

/* ---------- Boutons store ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-btn {
    display: inline-flex; align-items: center; gap: 12px;
    height: 56px; padding: 0 20px 0 16px;
    background: #0E0718; color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 14px;
    text-decoration: none; line-height: 1.1;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6); background: #1A0F2C; }
.store-btn svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-btn small { display: block; font-size: 11px; font-weight: 500; opacity: 0.8; }
.store-btn strong { display: block; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }

.btn-ghost {
    display: inline-flex; align-items: center; gap: 10px;
    height: 56px; padding: 0 22px;
    color: var(--white); font-weight: 700; font-size: 15px; text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.55); border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    transition: background .15s ease, border-color .15s ease;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); border-color: var(--white); }
.btn-ghost svg { width: 20px; height: 20px; }

.btn-solid {
    display: inline-flex; align-items: center; gap: 10px;
    height: 52px; padding: 0 24px;
    background: var(--violet); color: var(--white);
    font-weight: 700; font-size: 15px; text-decoration: none; border-radius: 14px;
    transition: background .15s ease, transform .15s ease;
}
.btn-solid:hover { background: var(--violet-deep); transform: translateY(-1px); }

.link-arrow { font-weight: 700; color: var(--lavender); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Mockup téléphone ---------- */
.phone {
    position: relative;
    width: var(--w, 260px);
    aspect-ratio: 1125 / 2436;
    padding: calc(var(--w, 260px) * 0.032);
    background: linear-gradient(145deg, #2B2238, #0B0612 60%);
    border-radius: calc(var(--w, 260px) * 0.16);
    box-shadow: var(--shadow-phone), inset 0 0 0 1.5px rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}
/* Positionnée en absolu : Safari ne résout pas height:100% contre une hauteur
   issue d'aspect-ratio → l'image gardait son ratio et laissait du noir en bas. */
.phone img {
    position: absolute;
    inset: calc(var(--w, 260px) * 0.032);
    width: calc(100% - var(--w, 260px) * 0.064);
    height: calc(100% - var(--w, 260px) * 0.064);
    object-fit: cover;
    border-radius: calc(var(--w, 260px) * 0.13);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}
.nav.is-solid {
    background: rgba(42, 14, 92, 0.86);
    backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
    box-shadow: 0 6px 24px -12px rgba(0, 0, 0, 0.5);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a { color: var(--white); text-decoration: none; font-weight: 600; font-size: 15px; opacity: 0.92; }
.nav-links > a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav-cta {
    display: inline-flex; align-items: center; height: 40px; padding: 0 18px;
    background: var(--white); color: var(--violet-ink) !important; opacity: 1 !important;
    border-radius: 12px; font-weight: 700 !important; text-decoration: none !important;
}
.nav-cta:hover { background: var(--lavender-soft); }
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, 0.14); }
.lang a { padding: 4px 10px; border-radius: 8px; color: var(--white); text-decoration: none; font-size: 13px; font-weight: 700; }
.lang a.active { background: var(--white); color: var(--violet-ink); }

.burger {
    display: none; width: 44px; height: 44px; border: 0; border-radius: 12px;
    background: rgba(255, 255, 255, 0.14); color: var(--white); cursor: pointer;
    align-items: center; justify-content: center;
}
.burger svg { width: 22px; height: 22px; }

.mobile-menu {
    position: fixed; inset: 0; z-index: 200;
    display: flex; flex-direction: column; gap: 6px;
    padding: 88px 24px 32px;
    background: linear-gradient(180deg, var(--violet-deep), var(--night));
    transform: translateY(-100%); transition: transform .3s ease;
}
.mobile-menu.open { transform: none; }
.mobile-menu a { color: var(--white); text-decoration: none; font-weight: 700; font-size: 22px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.mobile-menu .close {
    position: absolute; top: 14px; right: 16px; width: 44px; height: 44px;
    border: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.14); color: var(--white);
    font-size: 26px; cursor: pointer;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    padding: 132px 0 0;
    color: var(--white);
    background-color: var(--violet-deep);
    background-image: url('../images/home/panorama-2560.webp');
    background-size: cover;
    background-position: 50% 68%;
    isolation: isolate;
}
@media (max-width: 900px) {
    .hero { background-image: url('../images/home/panorama-1280.webp'); background-position: 40% 100%; }
}
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(74, 20, 140, 0.94) 0%, rgba(74, 20, 140, 0.82) 30%, rgba(74, 20, 140, 0.25) 58%, rgba(74, 20, 140, 0) 72%);
}
.hero::after { /* fondu vers la page sous les téléphones */
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1;
    background: linear-gradient(180deg, rgba(247, 244, 252, 0), var(--paper));
}
.hero-copy { text-align: center; max-width: 1120px; margin: 0 auto; }
.hero-pill {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 16px 7px 8px; margin-bottom: 26px;
    border-radius: 999px; background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 14px; font-weight: 600;
}
.hero-pill b { background: var(--white); color: var(--violet-ink); padding: 3px 10px; border-radius: 999px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.hero h1 { font-size: clamp(40px, 6.8vw, 92px); overflow-wrap: anywhere; }
.hero h1 .l1 { font-size: 0.42em; }
.hero-sub { max-width: 640px; margin: 22px auto 0; font-size: clamp(16px, 1.6vw, 19px); color: rgba(255, 255, 255, 0.9); }
.hero .stores { justify-content: center; margin-top: 34px; }

/* Bandeau TEMPORAIRE jeu-concours QRful (12 oct. → 14 nov. 2026) — à retirer avec contestBanner() de home.mjs */
.contest-banner {
    display: flex; align-items: center; gap: 14px;
    width: fit-content; max-width: 100%; margin: 0 auto 22px;
    padding: 8px 10px 8px 8px;
    border-radius: 18px; background: var(--white); color: var(--violet-ink);
    text-decoration: none; text-align: left;
    box-shadow: 0 14px 36px -16px rgba(0, 0, 0, 0.55);
    transition: transform .2s ease, box-shadow .2s ease;
}
.contest-banner:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6); }
.contest-banner img { width: 52px; height: 52px; flex: none; border-radius: 12px; object-fit: cover; background: var(--lavender-soft); }
.contest-banner-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contest-banner-copy small { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--violet); }
.contest-banner-copy b { font-size: 16px; line-height: 1.25; }
.contest-banner-cta {
    flex: none; padding: 10px 16px; border-radius: 12px;
    background: var(--violet); color: var(--white); font-size: 14px; font-weight: 700; white-space: nowrap;
}
.contest-banner:hover .contest-banner-cta { background: var(--violet-deep); }
@media (max-width: 560px) {
    .contest-banner { gap: 12px; padding-right: 14px; }
    .contest-banner img { width: 44px; height: 44px; }
    .contest-banner-copy b { font-size: 15px; }
    .contest-banner-cta { display: none; }
}

.hero-phones {
    position: relative; display: flex; justify-content: center; align-items: flex-end;
    height: clamp(420px, 52vw, 640px);
    margin-top: 56px;
    margin-bottom: -150px;
    z-index: 2;
    pointer-events: none;
}
.hero-phones .phone { position: absolute; bottom: 0; }
.hero-phones .p-center { --w: clamp(220px, 23vw, 300px); z-index: 3; bottom: 0; }
.hero-phones .p-left   { --w: clamp(180px, 19vw, 250px); z-index: 2; transform: translateX(-88%) rotate(-11deg); bottom: -40px; }
.hero-phones .p-right  { --w: clamp(180px, 19vw, 250px); z-index: 2; transform: translateX(88%) rotate(10deg); bottom: -40px; }
.hero-phones .p-left, .hero-phones .p-right { filter: saturate(0.95); }

/* ---------- Bandeau preuves ---------- */
.proof { position: relative; z-index: 3; padding: 200px 0 40px; }
.proof-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; }
.proof-list li {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 18px; border-radius: 999px;
    background: var(--white); border: 1px solid #E7DEF6;
    font-weight: 700; font-size: 15px; color: var(--violet-ink);
    box-shadow: 0 6px 20px -14px rgba(74, 20, 140, 0.5);
}
.proof-list svg { width: 18px; height: 18px; color: var(--violet); }

/* ==========================================================================
   Panneaux fonctionnalités (= un écran store en grand format)
   ========================================================================== */
.features { padding: 60px 0 40px; }
.features-intro { text-align: center; max-width: 760px; margin: 0 auto 72px; }
.features-intro h2 { font-size: clamp(34px, 5vw, 56px); margin-top: 10px; }
.features-intro p { margin-top: 18px; font-size: 18px; color: var(--ink-soft); }

.panel {
    position: relative;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
    min-height: 560px;
    margin: 0 0 120px;
    border-radius: var(--radius-lg);
    color: var(--white);
    background-color: var(--violet-deep);
    background-image: url('../images/home/panorama-2560.webp');
    background-size: 240% auto;
    background-position: var(--bx, 50%) var(--by, 70%);
    isolation: isolate;
}
.panel::before {
    content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
    background: linear-gradient(90deg, rgba(74, 20, 140, 0.95) 0%, rgba(74, 20, 140, 0.86) 34%, rgba(74, 20, 140, 0.2) 66%, rgba(74, 20, 140, 0) 82%);
}
.panel--flip::before {
    background: linear-gradient(270deg, rgba(74, 20, 140, 0.95) 0%, rgba(74, 20, 140, 0.86) 34%, rgba(74, 20, 140, 0.2) 66%, rgba(74, 20, 140, 0) 82%);
}
.panel--flip .panel-copy { order: 2; }
.panel--flip .panel-visual { order: 1; }

.panel-copy { padding: 64px clamp(28px, 5vw, 64px); }
.panel-copy h2 { font-size: clamp(36px, 4.6vw, 58px); margin: 12px 0 20px; }
.panel-copy p { font-size: 17px; color: rgba(255, 255, 255, 0.9); max-width: 480px; }
.ticks { list-style: none; margin: 22px 0 26px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 15.5px; }
.ticks li::before {
    content: ''; flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
    background: rgba(213, 184, 255, 0.22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D5B8FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.panel-visual { position: relative; height: 100%; min-height: 560px; }
.panel-visual .phone { position: absolute; }

/* Compositions par panneau (débordent du cadre, comme les visuels store) */
.v-profiles .a { --w: 250px; right: 34%; top: -50px;  transform: rotate(-7deg); }
.v-profiles .b { --w: 250px; right: 6%;  bottom: -60px; transform: rotate(6deg); }

.v-loop .a { --w: 240px; left: 8%;  top: -40px;  transform: rotate(-8deg); }
.v-loop .b { --w: 270px; left: 42%; bottom: -70px; transform: rotate(5deg); }

.v-group .a { --w: 290px; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-4deg); }
.v-group .rider {
    position: absolute; display: flex; align-items: center; gap: 8px;
    padding: 6px 14px 6px 6px; border-radius: 999px;
    background: var(--white); color: var(--violet-ink); font-weight: 800; font-size: 14px;
    box-shadow: 0 14px 30px -12px rgba(22, 11, 46, 0.6);
    z-index: 2;
}
.v-group .rider img { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--violet); }
.v-group .rider em { font-style: normal; background: var(--violet); color: var(--white); padding: 2px 9px; border-radius: 999px; font-size: 12px; }
.v-group .r1 { left: 6%;  top: 18%; }
.v-group .r2 { right: 4%; top: 42%; }
.v-group .r3 { left: 10%; bottom: 16%; }

.v-ai .a { --w: 240px; right: 40%; bottom: -40px; transform: rotate(-9deg); }
.v-ai .b { --w: 270px; right: 8%;  top: -60px;   transform: rotate(4deg); }

/* Duo de panneaux « format store » (titre en haut, téléphone en bas) */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-bottom: 120px; }
.tile {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    height: 660px; padding: 48px 32px 0;
    border-radius: var(--radius-lg); color: var(--white);
    background-color: var(--violet-deep);
    background-image: url('../images/home/panorama-1280.webp');
    background-size: auto 130%;
    background-position: var(--bx, 50%) 80%;
    isolation: isolate;
}
.tile::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(74, 20, 140, 0.94) 0%, rgba(74, 20, 140, 0.78) 30%, rgba(74, 20, 140, 0) 62%);
}
.tile h2 { font-size: clamp(30px, 3.4vw, 44px); }
.tile p { max-width: 420px; margin: 14px auto 0; color: rgba(255, 255, 255, 0.9); font-size: 16px; }
.tile .phone { --w: 280px; margin-top: 36px; transform: rotate(-3deg); }
.tile:nth-child(2) .phone { transform: rotate(3deg); }

/* Panneau tableau de bord CarPlay / Android Auto */
.dash {
    position: relative;
    padding: 64px clamp(24px, 5vw, 64px) 72px;
    margin-bottom: 40px;
    border-radius: var(--radius-lg); color: var(--white); text-align: center;
    background-color: var(--violet-deep);
    background-image: url('../images/home/panorama-2560.webp');
    background-size: cover; background-position: 50% 90%;
    isolation: isolate; overflow: hidden;
}
.dash::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(74, 20, 140, 0.95) 0%, rgba(74, 20, 140, 0.8) 32%, rgba(42, 14, 92, 0.35) 70%, rgba(22, 11, 46, 0.55) 100%);
}
.dash h2 { font-size: clamp(32px, 4.6vw, 58px); }
.dash > p { max-width: 640px; margin: 16px auto 0; color: rgba(255, 255, 255, 0.9); font-size: 17px; }
.dash-screens { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; align-items: end; }
.car-screen {
    padding: 12px; border-radius: 24px;
    background: linear-gradient(160deg, #2A2236, #08050D);
    box-shadow: var(--shadow-phone), inset 0 0 0 1.5px rgba(255, 255, 255, 0.1);
}
.car-screen img { width: 100%; border-radius: 14px; }
.car-screen figcaption { margin-top: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; color: var(--lavender); }

/* ==========================================================================
   Vidéos (placeholders à remplacer)
   ========================================================================== */
.videos { padding: 110px 0; background: var(--night); color: var(--white); }
.videos-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.videos-head h2 { font-size: clamp(34px, 5vw, 56px); margin-top: 10px; }
.videos-head p { margin-top: 16px; color: rgba(255, 255, 255, 0.78); font-size: 17px; }
.videos-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.videos-side { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* Remplacer un .video-slot par :
   <video class="video-slot" autoplay muted loop playsinline poster="..."><source src="/video/xxx.mp4" type="video/mp4"></video> */
.video-slot {
    position: relative; overflow: hidden; width: 100%;
    border-radius: var(--radius-md);
    background: #23143F url('../images/home/panorama-1280.webp') center / cover;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
    text-align: center; padding: 20px;
    border: 2px dashed rgba(213, 184, 255, 0.45);
    isolation: isolate;
    object-fit: cover;
}
.video-slot::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(42, 14, 92, 0.78); backdrop-filter: blur(3px); }
.video-slot--wide { aspect-ratio: 16 / 9; }
.video-slot--tall { aspect-ratio: 9 / 16; }
.video-play {
    width: 72px; height: 72px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--white); color: var(--violet);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.15);
}
.video-play svg { width: 28px; height: 28px; margin-left: 4px; }
.video-slot--tall .video-play { width: 54px; height: 54px; box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.15); }
.video-slot--tall .video-play svg { width: 22px; height: 22px; }
.video-slot strong { font-family: var(--font-display); font-weight: 400; font-size: 20px; text-transform: uppercase; }
.video-slot--tall strong { font-size: 15px; }
.video-slot span { font-size: 12.5px; color: var(--lavender); font-weight: 600; letter-spacing: .03em; }

/* ==========================================================================
   Web app
   ========================================================================== */
.webapp { padding: 120px 0; }
.webapp-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.webapp h2 { font-size: clamp(34px, 4.4vw, 54px); margin: 12px 0 18px; }
.webapp p { color: var(--ink-soft); font-size: 17px; }
.webapp .ticks li::before { background-color: var(--lavender-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23673AB7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.webapp .ticks li { color: var(--ink); }
.webapp-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.webapp-actions a.more { color: var(--violet); font-weight: 700; text-decoration: none; }
.webapp-actions a.more:hover { text-decoration: underline; }
.browser {
    border-radius: 18px; overflow: hidden; background: var(--white);
    box-shadow: 0 50px 90px -40px rgba(74, 20, 140, 0.55), 0 0 0 1px #E3D9F3;
    transform: perspective(1600px) rotateY(-8deg) rotateX(3deg);
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #EFEAF7; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #D3C7E8; }
.browser-bar span { margin-left: 12px; flex: 1; max-width: 300px; padding: 4px 12px; border-radius: 8px; background: var(--white); font-size: 12px; color: var(--ink-soft); }

/* ==========================================================================
   Gratuit
   ========================================================================== */
.free {
    position: relative; padding: 130px 0; color: var(--white); text-align: center;
    background: var(--violet-deep) url('../images/home/panorama-2560.webp') 50% 30% / cover;
    isolation: isolate;
}
.free::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(74, 20, 140, 0.92), rgba(42, 14, 92, 0.72)); }
.free h2 { font-size: clamp(40px, 6.4vw, 80px); }
.free > .wrap > p { max-width: 640px; margin: 20px auto 0; font-size: 18px; color: rgba(255, 255, 255, 0.9); }
.free-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.free-grid div {
    padding: 22px 16px; border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.free-grid strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 26px; text-transform: uppercase; }
.free-grid span { display: block; margin-top: 4px; font-size: 14px; color: var(--lavender); font-weight: 600; }

/* ==========================================================================
   Partenaires & soutien
   ========================================================================== */
.allies { padding: 110px 0 60px; }
.allies-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.allies-head h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 10px; }
.allies-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ally {
    display: flex; flex-direction: column; gap: 14px;
    padding: 36px; border-radius: var(--radius-lg); text-decoration: none;
    background: var(--white); border: 1px solid #E7DEF6;
    box-shadow: 0 24px 50px -36px rgba(74, 20, 140, 0.55);
    transition: transform .2s ease, box-shadow .2s ease;
}
.ally:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -34px rgba(74, 20, 140, 0.7); }
.ally img { height: 72px; width: auto; object-fit: contain; align-self: flex-start; }
.ally .tag { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--lavender-soft); color: var(--violet); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ally h3 { font-size: 24px; font-weight: 800; color: var(--ink); }
.ally p { color: var(--ink-soft); }
.ally .go { margin-top: auto; font-weight: 800; color: var(--violet); }
.ally--beer { background: linear-gradient(135deg, var(--violet), var(--accent)); border: 0; color: var(--white); }
.ally--beer .beer { font-size: 64px; line-height: 1; }
.ally--beer .tag { background: rgba(255, 255, 255, 0.22); color: var(--white); }
.ally--beer h3, .ally--beer p, .ally--beer .go { color: var(--white); }
.ally--beer p { opacity: 0.92; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: 60px 0 110px; }
.faq-head { text-align: center; margin-bottom: 36px; }
.faq-head h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 10px; }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid #E7DEF6; border-radius: 18px; padding: 0 24px; }
.faq summary {
    list-style: none; cursor: pointer; padding: 20px 0;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    font-weight: 800; font-size: 17px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 26px; font-weight: 400; color: var(--violet); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-soft); }
.faq details a { color: var(--violet); font-weight: 700; }

/* ==========================================================================
   CTA final (variante miroir : dégradé montant du bas)
   ========================================================================== */
.final {
    position: relative; padding: 150px 0 110px; color: var(--white); text-align: center;
    background: var(--violet-deep) url('../images/home/panorama-2560.webp') 30% 45% / cover;
    isolation: isolate;
}
.final::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(74, 20, 140, 0.96) 0%, rgba(74, 20, 140, 0.82) 45%, rgba(74, 20, 140, 0.55) 100%); }
.final h2 { font-size: clamp(48px, 8vw, 104px); }
.final p { margin: 18px auto 0; max-width: 560px; font-size: 18px; color: rgba(255, 255, 255, 0.9); }
.final .stores { justify-content: center; margin-top: 34px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--night); color: rgba(255, 255, 255, 0.72); padding: 80px 0 120px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1.2fr 0.8fr 0.8fr; gap: 40px; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 18px; }
.footer h4 { color: var(--white); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.08); }
.footer-social a:hover { background: rgba(255, 255, 255, 0.16); }
.footer-social img { width: 20px; height: 20px; }
.footer-legal { line-height: 1.7; }
.footer-legal a { color: var(--lavender); }

/* ---------- Bouton soutien flottant (accent magenta = Donate) ---------- */
.support-fab{position:fixed;bottom:14px;left:20px;z-index:99;display:flex;align-items:center;gap:10px;padding:12px 20px;background:linear-gradient(135deg,#673AB7,#E040FB);color:#fff;border-radius:16px;font-size:13px;font-weight:600;text-decoration:none;box-shadow:0 4px 20px rgba(224,64,251,0.35);transition:transform .15s,box-shadow .15s;max-width:calc(100vw - 40px);border:2px solid rgba(255,255,255,0.3)}
.support-fab:hover{transform:translateY(-2px);box-shadow:0 6px 28px rgba(224,64,251,0.5)}
.support-fab-beer{font-size:24px;animation:fabBounce .5s ease infinite;animation-play-state:paused}
.support-fab.bouncing .support-fab-beer{animation-play-state:running}
.support-fab-content{display:flex;flex-direction:column;gap:1px}
.support-fab-title{font-size:13px;font-weight:700}
.support-fab-sub{font-size:11px;opacity:0.8;font-weight:500}
.support-fab-why-link{text-decoration:underline;cursor:pointer;opacity:0.7}
.support-fab-why-link:hover{opacity:1}
@keyframes fabBounce{0%,100%{transform:translateY(0)}30%{transform:translateY(-5px)}50%{transform:translateY(0)}70%{transform:translateY(-3px)}}

/* ---------- Apparition au scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .support-fab-beer { animation: none; }
}

/* ==========================================================================
   Titre flyer (« LE GPS MOTO / qui invente ta balade »)
   ========================================================================== */
.headline--flyer .l2 { margin-bottom: 0.08em; }
.headline--flyer .l1 { font-size: 0.5em; margin: 0; }
.hero h1.headline--flyer .l1 { font-size: 0.5em; }
:lang(el) .headline .l2 { font-family: 'Arial Black', 'Helvetica Neue', Arial, sans-serif; font-weight: 900; }

.panel-copy .link-arrow, .tile .link-arrow { display: inline-block; margin-top: 4px; }
.tile .link-arrow { margin-top: 14px; }
.dash-link { display: inline-block; margin-top: 28px; }

/* ---------- Sélecteur de langue ---------- */
.langsel { position: relative; }
.langsel summary {
    list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
    height: 36px; padding: 0 12px; border-radius: 10px;
    background: rgba(255, 255, 255, 0.14); color: var(--white); font-weight: 700; font-size: 13px;
}
.langsel summary::-webkit-details-marker { display: none; }
.langsel summary svg { width: 16px; height: 16px; }
.langsel-menu {
    position: absolute; right: 0; top: calc(100% + 8px); z-index: 10;
    display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 300px; padding: 8px;
    background: var(--white); border-radius: 16px; box-shadow: 0 24px 60px -20px rgba(22, 11, 46, 0.6);
}
.langsel-menu a { padding: 8px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.langsel-menu a:hover { background: var(--lavender-soft); }
.langsel-menu a.active { background: var(--violet); color: var(--white); }
.mobile-langs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 18px; }
.mobile-langs a { font-size: 15px !important; font-weight: 600 !important; padding: 8px 10px !important; border: 0 !important; border-radius: 10px; background: rgba(255, 255, 255, 0.08); }
.mobile-langs a.active { background: var(--white); color: var(--violet-ink) !important; }
.mobile-menu { overflow-y: auto; }

/* ==========================================================================
   Pages intérieures : hero fonctionnalité / download / à propos
   ========================================================================== */
.fhero {
    position: relative; overflow: hidden; color: var(--white);
    padding: 120px 0 90px;
    background-color: var(--violet-deep);
    background-image: url('../images/home/panorama-2560.webp');
    background-size: 230% auto; background-position: var(--bx, 50%) var(--by, 70%);
    isolation: isolate;
}
.fhero::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(74, 20, 140, 0.95) 0%, rgba(74, 20, 140, 0.85) 38%, rgba(74, 20, 140, 0.25) 70%, rgba(74, 20, 140, 0.1) 100%);
}
.fhero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.fhero h1 { font-size: clamp(40px, 5.4vw, 72px); margin: 12px 0 22px; }
.fhero-lead { font-size: clamp(16px, 1.5vw, 19px); color: rgba(255, 255, 255, 0.92); max-width: 560px; margin-bottom: 30px; }
.fhero-visual { min-height: 600px; }
.fhero-visual .phone { --w: 230px; }
.fhero-visual.v-group .a { --w: 250px; }
.fhero-visual.v-profiles .a, .fhero-visual.v-loop .a, .fhero-visual.v-ai .b { top: 0; }
.fhero-visual.v-profiles .b, .fhero-visual.v-loop .b, .fhero-visual.v-ai .a { bottom: 0; }
.fcards > .fcard:last-child:nth-child(3n+1) { grid-column: 1 / -1; min-height: 200px; }
.fhero--compact { padding: 150px 0 100px; text-align: center; }
.fhero--compact::before { background: linear-gradient(180deg, rgba(74, 20, 140, 0.94) 0%, rgba(74, 20, 140, 0.8) 50%, rgba(74, 20, 140, 0.45) 100%); }
.fhero-center { max-width: 880px; }
.fhero-center .fhero-lead { margin-left: auto; margin-right: auto; }
.fhero-center .stores { justify-content: center; }
.crumbs { font-size: 13px; font-weight: 600; margin-bottom: 18px; color: rgba(255, 255, 255, 0.7); }
.crumbs a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.car-stack { position: relative; min-height: 460px; }
.car-stack .car-screen { position: absolute; width: 86%; }
.car-stack .car-screen:first-child { top: 0; left: 0; transform: rotate(-3deg); }
.car-stack .car-screen:last-child { bottom: 0; right: 0; transform: rotate(3deg); }

/* Étapes */
.steps { padding: 110px 0 60px; }
.steps-head, .others-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.steps-head h2, .others-head h2 { font-size: clamp(32px, 4.4vw, 52px); margin-top: 10px; }
.others-head p { margin-top: 16px; color: var(--ink-soft); font-size: 17px; }
.steps-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps-list li { padding: 32px 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid #E7DEF6; box-shadow: 0 24px 50px -40px rgba(74, 20, 140, 0.6); }
.step-n { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 16px; background: var(--violet); color: var(--white); font-family: var(--font-display); font-size: 24px; margin-bottom: 18px; }
.steps-list h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.steps-list p { color: var(--ink-soft); }

/* Blocs détaillés */
.blocks { padding: 60px 0 40px; }
.block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; margin-bottom: 110px; }
.block--flip .block-copy { order: 2; }
.block h2 { font-size: clamp(32px, 4vw, 50px); margin: 12px 0 18px; }
.block p { color: var(--ink-soft); font-size: 17px; }
.block .ticks li { color: var(--ink); }
.block .ticks li::before, .webapp .ticks li::before { background-color: var(--lavender-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23673AB7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.block-visual { display: flex; justify-content: center; }
.block-phone {
    display: flex; justify-content: center; align-items: center; width: 100%; padding: 40px 0;
    border-radius: var(--radius-lg);
    background: var(--violet-deep) url('../images/home/panorama-1280.webp') 50% 80% / cover;
}
.block-phone .phone { --w: 270px; transform: rotate(-4deg); }
.block--flip .block-phone .phone { transform: rotate(4deg); }
.photo { width: 100%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(22, 11, 46, 0.6); }
.photo img { width: 100%; }

/* Cartes fonctionnalités */
.others { padding: 40px 0 110px; }
.others--hub { padding-top: 80px; }
.fcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fcard {
    position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 260px;
    padding: 28px; border-radius: 24px; color: var(--white); text-decoration: none;
    background-color: var(--violet-deep);
    background-image: url('../images/home/panorama-1280.webp');
    background-size: auto 220%; background-position: var(--bx, 50%) 85%;
    isolation: isolate; overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.fcard::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(74, 20, 140, 0.95) 0%, rgba(74, 20, 140, 0.82) 55%, rgba(74, 20, 140, 0.45) 100%); }
.fcard:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(74, 20, 140, 0.8); }
.fcard h3 { font-size: 26px; }
.fcard p { color: rgba(255, 255, 255, 0.88); font-size: 15px; }
.fcard-go { margin-top: auto; font-weight: 800; color: var(--lavender); }

/* Download */
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.platform {
    position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 18px 18px;
    border-radius: 20px; text-decoration: none; color: var(--white);
    background: rgba(14, 7, 24, 0.55); border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transition: transform .15s ease, background .15s ease;
}
.platform:hover { transform: translateY(-3px); background: rgba(14, 7, 24, 0.75); }
.platform svg { width: 30px; height: 30px; margin-bottom: 4px; }
.platform strong { font-size: 20px; }
.platform span { font-size: 13.5px; color: rgba(255, 255, 255, 0.8); }
.platform em { margin-top: auto; padding-top: 10px; font-style: normal; font-weight: 800; font-size: 13.5px; color: var(--lavender); }
.platform-badge { display: none; position: absolute; top: -11px; left: 16px; padding: 3px 10px; border-radius: 999px; background: var(--white); color: var(--violet-ink) !important; font-size: 11px !important; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.platform.is-recommended { background: var(--white); color: var(--ink); border-color: var(--white); }
.platform.is-recommended span { color: var(--ink-soft); }
.platform.is-recommended em { color: var(--violet); }
.platform.is-recommended .platform-badge { display: block; background: var(--violet); color: var(--white) !important; }
.qr { display: flex; align-items: center; gap: 18px; margin-top: 22px; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, 0.1); max-width: 420px; }
.qr img { width: 112px; height: 112px; padding: 8px; background: var(--white); border-radius: 12px; }
.qr strong { display: block; font-size: 16px; }
.qr span { font-size: 14px; color: rgba(255, 255, 255, 0.85); }
html.is-mobile .qr { display: none; }
.dl-compat { padding-top: 90px; }

/* À propos */
.about-mission { padding: 110px 0 80px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.about-grid h2 { font-size: clamp(34px, 4.4vw, 54px); margin-top: 12px; }
.about-text p { font-size: 18px; color: var(--ink-soft); margin-bottom: 18px; }
.about-text p:first-child { font-size: 21px; color: var(--ink); font-weight: 600; }
.about-vision { padding: 110px 0; background: var(--night); color: var(--white); }
.about-vision-head { max-width: 760px; }
.about-vision-head h2 { font-size: clamp(36px, 5vw, 60px); margin: 12px 0 18px; }
.about-vision-head p { font-size: 18px; color: rgba(255, 255, 255, 0.85); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 28px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); font-weight: 600; }
.about-note { color: var(--lavender); font-weight: 600; max-width: 760px; }
.partner-cta {
    display: flex; align-items: center; gap: 18px; margin-top: 36px; padding: 22px 26px; max-width: 760px;
    border-radius: 20px; background: var(--white); color: var(--ink); text-decoration: none;
}
.partner-cta > span:first-child { font-size: 34px; }
.partner-cta strong { display: block; font-size: 18px; }
.partner-cta small { display: block; color: var(--ink-soft); font-size: 14.5px; }
.partner-cta em { margin-left: auto; font-style: normal; font-weight: 800; color: var(--violet); white-space: nowrap; }
.about-values { padding: 110px 0 40px; }
.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.value { padding: 32px 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid #E7DEF6; }
.value > span { font-size: 36px; }
.value h3 { font-size: 20px; font-weight: 800; margin: 12px 0 8px; }
.value p { color: var(--ink-soft); }
.about-community { padding: 80px 0 120px; }
.ally--wide { margin-top: 24px; }

/* ---------- QRful (partenaire sécurité) ---------- */
.btn-light {
    display: inline-flex; align-items: center; gap: 10px;
    height: 56px; padding: 0 24px;
    background: var(--white); color: var(--violet-ink);
    font-weight: 800; font-size: 15px; text-decoration: none; border-radius: 14px;
    transition: transform .15s ease, box-shadow .15s ease;
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6); }
.qrful-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.qrful-hero { display: flex; justify-content: center; }
.qrful-card {
    width: min(100%, 420px); padding: 32px 32px 12px; border-radius: 32px; background: var(--white);
    box-shadow: 0 50px 100px -40px rgba(22, 11, 46, 0.8); transform: rotate(2deg);
    display: flex; flex-direction: column; align-items: center;
}
.qrful-logo { width: 160px; }
.qrful-tag { width: 100%; max-width: 340px; }
.photo--product { max-width: 440px; padding: 28px; background: var(--white); border: 1px solid #E7DEF6; }
.block-link { display: inline-block; margin-top: 22px; font-weight: 800; color: var(--violet); text-decoration: none; }
.partner-cta--card { margin: 0 auto; border: 1px solid #E7DEF6; box-shadow: 0 24px 50px -40px rgba(74, 20, 140, 0.6); }
.blocks .partner-cta--card { margin-bottom: 40px; }
.partner-cta > img { width: 140px; flex-shrink: 0; }
.partner-badge {
    display: inline-flex; align-items: center; gap: 14px; margin: 4px 0 26px; padding: 12px 20px 12px 16px;
    border-radius: 18px; background: var(--white); text-decoration: none;
    box-shadow: 0 20px 40px -24px rgba(22, 11, 46, 0.8); transition: transform .15s ease;
}
.partner-badge:hover { transform: translateY(-2px); }
.partner-badge img { width: 120px; height: auto; }
.partner-badge span { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.block-visual .qrful-card { margin: 0; }
.allies-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ally img[src$=".svg"] { height: 56px; }
.fcards > .fcard:last-child:nth-child(3n+2) { grid-column: span 2; }

/* ---------- Explorateur de road trips ---------- */
.explore-ctas { justify-content: center; }
.explore-stats { display: flex; justify-content: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.explore-stats > div {
    min-width: 150px; padding: 14px 22px; border-radius: 18px; text-align: center;
    background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.explore-stats strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 30px; color: var(--white); }
.explore-stats span { font-size: 13px; font-weight: 700; color: var(--lavender); }
.explore { padding: 48px 0 110px; }
.explore-bar {
    display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 28px; padding: 14px;
    border-radius: 20px; background: var(--white); border: 1px solid #E7DEF6; box-shadow: 0 24px 50px -40px rgba(74, 20, 140, 0.6);
}
.explore-select {
    height: 46px; padding: 0 38px 0 16px; border-radius: 12px; border: 1.5px solid #E7DEF6; background: var(--paper);
    font: 600 14.5px var(--font-body, inherit); color: var(--ink); cursor: pointer; appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23673AB7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.explore-select:focus { outline: none; border-color: var(--violet); }
.explore-toggle { display: flex; margin-left: auto; padding: 4px; border-radius: 12px; background: var(--lavender-soft); }
.explore-toggle button { height: 38px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; font: 700 14px inherit; color: var(--violet); cursor: pointer; }
.explore-toggle button.active { background: var(--violet); color: var(--white); }
.explore-loading { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 80px 0; color: var(--ink-soft); font-weight: 600; }
.spinner { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--lavender-soft); border-top-color: var(--violet); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.trips { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.trip-card {
    display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: var(--white);
    border: 1px solid #E7DEF6; text-decoration: none; color: var(--ink);
    box-shadow: 0 24px 50px -40px rgba(74, 20, 140, 0.6); transition: transform .2s ease, box-shadow .2s ease;
}
.trip-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -34px rgba(74, 20, 140, 0.7); }
.trip-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--lavender-soft); }
.trip-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.trip-img-map { opacity: 0; }
.trip-card:hover .trip-img-map { opacity: 1; }
.trip-img-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.trip-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.trip-body strong { font-size: 17px; line-height: 1.3; }
.trip-summary { color: var(--ink-soft); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.trip-stats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.trip-stats span { padding: 4px 10px; border-radius: 999px; background: var(--lavender-soft); color: var(--violet); font-size: 12.5px; font-weight: 700; }
.trip-location { color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.explore-map { height: 640px; border-radius: 24px; overflow: hidden; border: 1px solid #E7DEF6; }
.trip-marker {
    width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--white); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    display: flex; align-items: center; justify-content: center; color: var(--white); font: 800 13px inherit; cursor: pointer;
}
.map-popup { width: 220px; }
.map-popup img { width: 100%; height: 110px; object-fit: cover; border-radius: 10px; }
.map-popup h4 { margin: 8px 0 4px; font-size: 15px; color: var(--ink); }
.map-popup p { margin: 0 0 8px; color: var(--ink-soft); font-size: 13px; }
.map-popup a { font-weight: 800; color: var(--violet); text-decoration: none; }
.explore-empty { padding: 80px 20px; text-align: center; }
.explore-empty > span { font-size: 54px; }
.explore-empty h2 { margin: 12px 0 8px; font-size: 22px; }
.explore-empty p { color: var(--ink-soft); }
@media (max-width: 680px) {
    .explore-select { flex: 1 1 100%; }
    .explore-toggle { margin-left: 0; width: 100%; }
    .explore-toggle button { flex: 1; }
    .explore-map { height: 70vh; }
    .explore-stats > div { min-width: 0; flex: 1; padding: 12px; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
/* Bouton « Planifier sur PC/Mac » de l'accueil : inutile sur téléphone. */
@media (max-width: 680px) {
    .btn-ghost.desktop-only { display: none; }
}

@media (max-width: 1080px) {
    .allies-grid { grid-template-columns: 1fr 1fr; }
    .ally--beer { grid-column: 1 / -1; }
    .nav-links > a.hide-md { display: none; }
    .free-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .nav-links { display: none; }
    .burger { display: inline-flex; }

    .hero { padding-top: 112px; }
    .hero-phones { height: 440px; margin-bottom: -110px; }
    .hero-phones .p-center { --w: 200px; }
    .hero-phones .p-left  { --w: 160px; transform: translateX(-72%) rotate(-11deg); }
    .hero-phones .p-right { --w: 160px; transform: translateX(72%) rotate(10deg); }
    .proof { padding-top: 150px; }

    /* Panneaux : layout store vertical (titre en haut, téléphones dessous) */
    .panel { grid-template-columns: minmax(0, 1fr); min-height: 0; margin-bottom: 96px; background-size: auto 100%; }
    .panel::before, .panel--flip::before {
        background: linear-gradient(180deg, rgba(74, 20, 140, 0.95) 0%, rgba(74, 20, 140, 0.86) 45%, rgba(74, 20, 140, 0.15) 75%, rgba(74, 20, 140, 0) 100%);
    }
    .panel--flip .panel-copy, .panel--flip .panel-visual { order: 0; }
    .panel-copy { padding: 44px 24px 8px; }
    .panel-visual { min-height: 440px; }
    .v-profiles .a, .v-profiles .b, .v-loop .a, .v-loop .b, .v-ai .a, .v-ai .b { --w: 190px; }
    .v-profiles .a { right: auto; left: 6%; top: 10px; }
    .v-profiles .b { right: 6%; bottom: -50px; }
    .v-loop .a { left: 6%; top: 10px; }
    .v-loop .b { left: auto; right: 6%; bottom: -50px; }
    .v-ai .a { right: auto; left: 6%; bottom: -50px; }
    .v-ai .b { right: 6%; top: 10px; }
    .v-group .a { --w: 220px; }
    .v-group .rider { font-size: 12px; }
    .v-group .rider img { width: 30px; height: 30px; }

    .duo { grid-template-columns: minmax(0, 1fr); margin-bottom: 96px; }
    .tile { height: 620px; }
    .dash-screens { grid-template-columns: 1fr; }

    .videos-grid { grid-template-columns: minmax(0, 1fr); }
    .webapp-row { grid-template-columns: minmax(0, 1fr); gap: 44px; }
    .browser { transform: none; }
    .allies-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .nav-logo img { height: 34px; }
    .store-btn { flex: 1 1 100%; justify-content: center; }
    .btn-ghost { flex: 1 1 100%; justify-content: center; }
    .hero-phones { height: 380px; }
    .hero-phones .p-center { --w: 170px; }
    .hero-phones .p-left  { --w: 136px; }
    .hero-phones .p-right { --w: 136px; }
    .proof-list li { font-size: 13.5px; padding: 10px 14px; }
    .panel-visual { min-height: 400px; }
    .v-profiles .a, .v-profiles .b, .v-loop .a, .v-loop .b, .v-ai .a, .v-ai .b { --w: 160px; }
    .v-group .r2 { right: 2%; }
    .tile { padding: 40px 20px 0; height: 600px; }
    .tile .phone { --w: 230px; }
    .free-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .free-grid strong { font-size: 20px; }
    .ally { padding: 28px 22px; }
    .footer-grid { grid-template-columns: 1fr; }
    .support-fab { left: 12px; bottom: 12px; padding: 10px 14px; }
}

@media (max-width: 1080px) {
    .fcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fcards > .fcard:last-child:nth-child(3n+1),
    .fcards > .fcard:last-child:nth-child(3n+2) { grid-column: auto; }
    .fcards > .fcard:last-child:nth-child(2n+1) { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    .fhero { padding: 104px 0 60px; background-size: auto 100%; }
    .fhero::before { background: linear-gradient(180deg, rgba(74, 20, 140, 0.95) 0%, rgba(74, 20, 140, 0.85) 50%, rgba(74, 20, 140, 0.3) 100%); }
    .fhero-grid { grid-template-columns: minmax(0, 1fr); }
    .fhero-visual { min-height: 420px; }
    .fhero-visual.v-ai .a, .fhero-visual.v-ai .b, .fhero-visual.v-loop .a, .fhero-visual.v-loop .b, .fhero-visual.v-profiles .a, .fhero-visual.v-profiles .b { --w: 180px; }
    .fhero-visual.v-ai .a, .fhero-visual.v-loop .a, .fhero-visual.v-profiles .a { top: 0; bottom: auto; left: 4%; right: auto; }
    .fhero-visual.v-ai .b, .fhero-visual.v-loop .b, .fhero-visual.v-profiles .b { bottom: 0; top: auto; right: 4%; left: auto; }
    .car-stack { min-height: 320px; }
    .steps-list, .values-grid { grid-template-columns: minmax(0, 1fr); }
    .block { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-bottom: 80px; }
    .block--flip .block-copy { order: 0; }
    .platforms { grid-template-columns: minmax(0, 1fr); }
    .about-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .partner-cta { flex-wrap: wrap; }
    .partner-cta em { margin-left: 0; }
    .langsel-menu { width: 260px; }
}
@media (max-width: 560px) {
    .fcards { grid-template-columns: minmax(0, 1fr); }
    .fhero-visual { min-height: 380px; }
    .fhero-visual.v-ai .a, .fhero-visual.v-ai .b, .fhero-visual.v-loop .a, .fhero-visual.v-loop .b, .fhero-visual.v-profiles .a, .fhero-visual.v-profiles .b { --w: 160px; }
    .block-phone .phone { --w: 220px; }
    .car-stack { min-height: 250px; }
}

/* ==========================================================================
   Jeu-concours Relais Motards × QRful (/<lang>/concours-relais-motard-qrful.html)
   ========================================================================== */
.ct-hero { padding-bottom: 110px; }
.ct-small { margin-top: 22px; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, 0.72); max-width: 520px; }
.ct-small a { color: var(--white); font-weight: 700; }
.ct-small--center { margin: 28px auto 0; text-align: center; }
.ct-visual { position: relative; display: flex; justify-content: center; padding: 20px 0 40px; }
.ct-card {
    width: min(100%, 440px); border-radius: 32px; overflow: hidden; background: var(--white);
    box-shadow: 0 50px 100px -40px rgba(22, 11, 46, 0.85); transform: rotate(2deg);
}
.ct-logos {
    position: absolute; bottom: 0; right: max(0px, calc(50% - 260px));
    display: flex; align-items: center; gap: 16px; padding: 12px 18px;
    background: var(--white); border-radius: 18px; box-shadow: 0 20px 40px -20px rgba(22, 11, 46, 0.8); transform: rotate(-2deg);
}
.ct-logos img { height: 52px; width: auto; }
.ct-logos img[src$=".svg"] { height: 38px; }

/* Bon d'achat 100 € : ticket en haut à gauche du pack, hors du texte de l'image (« qrful PACK METAL ») */
.ct-visual:not(.ct-visual--video) { padding-top: 70px; }
.ct-voucher {
    position: absolute; top: 0; left: max(0px, calc(50% - 300px)); z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 20px 16px;
    border-radius: 20px; background: linear-gradient(160deg, #FFE24A, #FFC400); color: #1A1A1A; text-decoration: none; text-align: center;
    box-shadow: 0 24px 44px -18px rgba(22, 11, 46, 0.85); transform: rotate(-8deg); transition: transform .2s ease;
}
.ct-voucher:hover { transform: rotate(-4deg) scale(1.04); }
.ct-voucher strong { font-family: var(--font-display); font-weight: 400; font-size: 52px; line-height: 1; }
.ct-voucher-label { max-width: 140px; font-size: 12px; font-weight: 800; line-height: 1.25; }

.ct-prizes { padding: 110px 0 40px; }
.ct-prizes .steps-head p { color: var(--ink-soft); margin-top: 12px; font-size: 17px; }
.ct-prize-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ct-prize {
    position: relative; display: flex; flex-direction: column; overflow: hidden;
    border-radius: var(--radius-lg); background: var(--white); border: 1px solid #E7DEF6;
    box-shadow: 0 24px 50px -36px rgba(74, 20, 140, 0.55);
}
.ct-prize-img { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; background: #F2F0F5; }
.ct-prize-img img { width: 100%; height: 100%; object-fit: cover; }
.ct-prize-img--rm { flex-direction: column; gap: 10px; background: linear-gradient(160deg, #FFE24A, #FFC400); }
.ct-prize-img--rm img { width: 62%; height: auto; border-radius: 12px; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.5); }
.ct-prize-img--rm strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(48px, 6vw, 72px); line-height: 1; color: #1A1A1A; }
/* Gros lot mis en avant : pleine largeur, image à gauche */
.ct-prize-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ct-prize--jackpot { grid-column: 1 / -1; flex-direction: row; border: 3px solid #FFC400; box-shadow: 0 34px 70px -36px rgba(255, 170, 0, 0.75); }
.ct-prize--jackpot .ct-prize-img { flex: 0 0 46%; aspect-ratio: auto; min-height: 340px; }
.ct-prize--jackpot .ct-prize-body { justify-content: center; padding: 40px 44px; }
.ct-prize--jackpot h3 { font-size: 30px; }
.ct-prize--jackpot .ct-value { font-size: 16px; padding: 6px 16px; background: #FFE24A; color: #1A1A1A; }
.ct-prize--jackpot p { font-size: 17px; }
.ct-qty {
    position: absolute; top: 16px; right: 16px; min-width: 64px; padding: 8px 14px; border-radius: 999px; text-align: center;
    background: var(--violet); color: var(--white); font-family: var(--font-display); font-size: 22px; line-height: 1;
    box-shadow: 0 10px 24px -10px rgba(74, 20, 140, 0.9);
}
.ct-prize-body { display: flex; flex-direction: column; gap: 8px; padding: 26px 28px 30px; flex: 1; }
.ct-prize h3 { font-size: 21px; font-weight: 800; color: var(--ink); }
.ct-value { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--lavender-soft); color: var(--violet); font-size: 13px; font-weight: 800; }
.ct-prize p { color: var(--ink-soft); }
.ct-by { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 700; color: var(--violet); }

.ct-already {
    display: flex; align-items: center; gap: 16px; max-width: 760px; margin: 32px auto 0; padding: 20px 26px;
    border-radius: var(--radius-md); background: var(--white); border: 1px solid #E7DEF6; border-left: 5px solid var(--violet);
}
.ct-already span { font-size: 28px; }
.ct-already p { color: var(--ink-soft); }
.ct-already strong { color: var(--ink); }
.ct-stores .stores { justify-content: center; margin-top: 36px; }
.ct-allies .allies-grid { grid-template-columns: 1fr 1fr; max-width: 960px; margin: 0 auto; }
.ct-allies .ally img { height: 96px; }
.ct-allies .ally img[src$=".svg"] { height: 52px; }

/* Shorts YouTube (9:16) */
.ct-video {
    width: min(100%, 340px); aspect-ratio: 9 / 16; margin: 0 auto; border-radius: 28px; overflow: hidden;
    background: #0E0718; border: 6px solid #0E0718; box-shadow: var(--shadow-phone);
}
.ct-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.ct-visual--video { padding: 0; }
.ct-how { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 56px; align-items: center; max-width: 1000px; margin: 0 auto; }
.ct-steps { list-style: none; display: grid; gap: 16px; }
.ct-steps li {
    display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px;
    border-radius: var(--radius-md); background: var(--white); border: 1px solid #E7DEF6;
    box-shadow: 0 20px 40px -34px rgba(74, 20, 140, 0.5);
}
.ct-steps .step-n { flex-shrink: 0; margin: 0; }
.ct-steps h3 { font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.ct-steps p { color: var(--ink-soft); }
.ct-steps--solo { max-width: 760px; margin: 0 auto; }
.ct-tuto-link { display: inline-block; margin-top: 8px; font-weight: 800; color: var(--violet); text-decoration: none; }
.ct-tuto-link:hover { text-decoration: underline; }
.ct-tuto-contest { margin-top: 40px; }

@media (max-width: 1080px) {
    .ct-prize--jackpot .ct-prize-body { padding: 30px 32px; }
}
@media (max-width: 900px) {
    .ct-how { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .ct-visual--video { padding-top: 12px; }
    .ct-logos { right: 0; }
    .ct-visual:not(.ct-visual--video) { padding-top: 96px; }
    .ct-voucher { left: 0; top: 0; padding: 10px 16px 12px; }
    .ct-voucher strong { font-size: 42px; }
    .ct-voucher-label { max-width: 120px; font-size: 11px; }
}
@media (max-width: 680px) {
    .ct-prize-grid, .ct-allies .allies-grid { grid-template-columns: minmax(0, 1fr); }
    .ct-prize--jackpot { flex-direction: column; }
    .ct-prize--jackpot .ct-prize-img { aspect-ratio: 1; min-height: 0; }
    .ct-prize--jackpot h3 { font-size: 24px; }
    .ct-logos img { height: 40px; }
    .ct-logos img[src$=".svg"] { height: 30px; }
}

/* ==========================================================================
   Tutos pas à pas avec captures (/<lang>/tutos/<slug>.html)
   ========================================================================== */
.tt-start {
    display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px;
    background: var(--white); color: var(--violet-deep); font-weight: 800; text-decoration: none;
    box-shadow: 0 18px 36px -18px rgba(22, 11, 46, 0.8); transition: transform .2s ease;
}
.tt-start:hover { transform: translateY(-2px); }
.tt-visual { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 560px; }
.tt-visual .phone { --w: 240px; }
.tt-visual .a { transform: rotate(-6deg) translate(26px, -34px); z-index: 1; }
.tt-visual .b { transform: rotate(5deg) translateX(-26px); z-index: 2; }
.tt-visual--video { min-height: 0; align-items: center; }

.tt-intro { margin-top: 14px; color: var(--ink-soft); font-size: 17px; }
.tt-intro strong { color: var(--ink); }
.tt-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tt-step {
    display: flex; flex-direction: column; align-items: center; gap: 26px; padding: 30px 26px 0; overflow: hidden;
    border-radius: var(--radius-lg); background: var(--white); border: 1px solid #E7DEF6;
    box-shadow: 0 24px 50px -40px rgba(74, 20, 140, 0.6);
}
.tt-step-copy { align-self: stretch; }
.tt-step .step-n { margin-bottom: 14px; }
.tt-step h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.tt-step p { color: var(--ink-soft); }
.tt-step strong { color: var(--ink); }
.tt-path {
    display: inline-block; margin-top: 12px; padding: 6px 12px; border-radius: 10px;
    background: var(--lavender-soft); color: var(--violet); font-size: 13px; font-weight: 800;
}
.tt-tip {
    margin-top: 14px; padding: 12px 16px; border-radius: 14px; font-size: 14px;
    background: #FFF6D6; border-left: 4px solid #FFC400;
}
.tt-step .phone { --w: 210px; margin-top: auto; margin-bottom: 26px; box-shadow: 0 24px 48px -24px rgba(22, 11, 46, 0.55); }

/* Dernière étape : même carte que les autres, fond violet */
.tt-step--final {
    background: linear-gradient(135deg, var(--violet) 0%, var(--violet-deep) 100%); border: 0; color: var(--white);
    box-shadow: 0 34px 70px -40px rgba(74, 20, 140, 0.9);
}
.tt-step--final p { color: rgba(255, 255, 255, 0.88); }
.tt-step--final strong { color: var(--white); }
.tt-step--final .step-n { background: var(--white); color: var(--violet-deep); }

@media (max-width: 1080px) {
    .tt-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .tt-visual { min-height: 0; padding-top: 24px; }
    .tt-visual .phone { --w: 180px; }
}
@media (max-width: 680px) {
    .tt-steps { grid-template-columns: minmax(0, 1fr); }
    .tt-visual .phone { --w: 150px; }
    .tt-step .phone { --w: 220px; }
}

/* ==========================================================================
   Sommaire des tutos (/<lang>/tutos/) et FAQ (/<lang>/faq.html)
   ========================================================================== */
.th-section { padding: 80px 0 0; }
.th-section:last-of-type { padding-bottom: 40px; }
.th-cat { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 3vw, 36px); color: var(--ink); margin-bottom: 26px; }
.th-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.th-card {
    display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit;
    border-radius: var(--radius-lg); background: var(--white); border: 1px solid #E7DEF6;
    box-shadow: 0 24px 50px -40px rgba(74, 20, 140, 0.6); transition: transform .2s ease, box-shadow .2s ease;
}
.th-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(74, 20, 140, 0.7); }
.th-thumb { display: block; height: 260px; overflow: hidden; background: linear-gradient(135deg, var(--violet) 0%, var(--violet-deep) 100%); }
.th-thumb img { display: block; width: 62%; height: auto; margin: 28px auto 0; border-radius: 22px 22px 0 0; box-shadow: 0 20px 40px -20px rgba(14, 6, 30, 0.8); }
.th-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 26px; flex: 1; }
.th-meta { font-size: 13px; font-weight: 800; color: var(--violet); text-transform: uppercase; letter-spacing: .04em; }
.th-body strong { font-size: 19px; font-weight: 800; line-height: 1.3; color: var(--ink); }
.th-desc { color: var(--ink-soft); font-size: 15px; }
.th-go { margin-top: auto; padding-top: 8px; font-weight: 800; color: var(--violet); font-size: 14px; }

.fq-page { padding-top: 70px; }
.fq-toc { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 900px; margin: 0 auto 50px; }
.fq-toc a {
    padding: 8px 16px; border-radius: 999px; background: var(--white); border: 1px solid #E7DEF6;
    color: var(--violet); font-weight: 700; font-size: 14px; text-decoration: none;
}
.fq-toc a:hover { background: var(--lavender-soft); }
.fq-group { max-width: 860px; margin: 0 auto 56px; scroll-margin-top: 90px; }
.fq-group .th-cat { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 16px; }
.fq-link { font-weight: 800; color: var(--violet); text-decoration: none; white-space: nowrap; }
.fq-link:hover { text-decoration: underline; }
.tt-all { text-align: center; margin-top: 44px; }
.tt-all a { font-weight: 800; color: var(--violet); text-decoration: none; }
.tt-all a:hover { text-decoration: underline; }

@media (max-width: 1080px) {
    .th-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .th-grid { grid-template-columns: minmax(0, 1fr); }
    .th-thumb { height: 220px; }
}
