/* =============================================
   REVIEWMIA — Landing page
   Design system aligné sur Leadmia (Poppins, indigo)
   ============================================= */

/* ---------------------------------------------
   1. TOKENS
   --------------------------------------------- */
:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: #eef2ff;
    --secondary: #6366f1;
    --secondary-light: #e0e7ff;
    --violet: #7c3aed;

    --bg-app: #f7f8fb;
    --bg-card: #ffffff;
    --bg-soft: #f8fafc;

    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-muted2: #94a3b8;

    --success: #22c55e;
    --success-light: rgba(34, 197, 94, 0.12);
    --warning: #f59e0b;
    --star: #fbbf24;

    --border: #e8ecf4;
    --border-light: rgba(148, 163, 184, 0.25);

    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
    --shadow-lg: 0 18px 55px rgba(15, 23, 42, 0.1);
    --shadow-primary: 0 10px 30px rgba(79, 70, 229, 0.3);

    --radius-sm: 10px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --radius-2xl: 28px;
    --radius-full: 999px;

    --font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

    --container: 1140px;
    --header-height: 72px;
}

/* ---------------------------------------------
   2. RESET & BASE
   --------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-app);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ---------------------------------------------
   3. LAYOUT
   --------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
    position: relative;
}

.section--tight {
    padding: 64px 0;
}

.section--alt {
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-head {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-head p {
    color: var(--text-muted);
    font-size: 1.0625rem;
}

/* ---------------------------------------------
   4. TYPOGRAPHIE
   --------------------------------------------- */
h1,
h2,
h3,
h4 {
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.75rem, 3.4vw, 2.5rem);
    margin-bottom: 16px;
}

h3 {
    font-size: 1.375rem;
    margin-bottom: 12px;
}

.gradient-text {
    background: linear-gradient(120deg, var(--primary) 0%, var(--violet) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* ---------------------------------------------
   5. BOUTONS
   --------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition:
        transform 0.15s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.btn svg {
    flex-shrink: 0;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--violet) 100%);
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(79, 70, 229, 0.38);
}

.btn-ghost {
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
    transform: translateY(-2px);
    border-color: var(--secondary-light);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 17px 36px;
    font-size: 1rem;
}

/* ---------------------------------------------
   6. HEADER
   --------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header-height);
    display: flex;
    align-items: center;
    background: rgba(247, 248, 251, 0.82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.site-header.is-scrolled {
    border-bottom-color: var(--border);
    background: rgba(255, 255, 255, 0.88);
}

.site-header .container {
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1875rem;
    letter-spacing: -0.02em;
}

.brand-mark {
    width: 34px;
    height: 34px;
    object-fit: contain;
    flex-shrink: 0;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

/* :not(.btn) — sinon la règle l'emporte sur .btn-primary et grise le libellé */
.nav > a:not(.btn) {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.15s ease;
}

.nav > a:not(.btn):hover {
    color: var(--primary);
}

/* ---------------------------------------------
   7. HERO
   --------------------------------------------- */
.hero {
    position: relative;
    padding: 72px 0 96px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 130%;
    background:
        radial-gradient(
            900px 480px at 12% 12%,
            rgba(99, 102, 241, 0.22),
            transparent 60%
        ),
        radial-gradient(
            800px 460px at 88% 4%,
            rgba(251, 191, 36, 0.18),
            transparent 58%
        ),
        radial-gradient(
            700px 420px at 60% 100%,
            rgba(56, 189, 248, 0.16),
            transparent 60%
        );
    pointer-events: none;
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px 7px 10px;
    border-radius: var(--radius-full);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.badge .dot {
    width: 22px;
    height: 22px;
    border-radius: var(--radius-full);
    background: var(--primary-light);
    display: grid;
    place-items: center;
}

.badge .dot svg {
    width: 13px;
    height: 13px;
    color: var(--primary);
}

.hero h1 {
    margin-bottom: 20px;
}

.hero .lead {
    max-width: 540px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.hero-note {
    margin-top: 20px;
    font-size: 0.875rem;
    color: var(--text-muted2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-note svg {
    width: 16px;
    height: 16px;
    color: var(--success);
    flex-shrink: 0;
}

.hero-visual {
    position: relative;
}

/* Marge basse supplémentaire : la carte flottante déborde sur le padding,
   jamais sur le contenu de l'e-mail. */
.hero-visual .mock-body {
    padding-bottom: 36px;
}

/* ---------------------------------------------
   8. MOCKUPS — cadre commun
   --------------------------------------------- */
.mock {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.mock-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
}

.mock-bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
}

.mock-bar i:nth-child(1) {
    background: #fca5a5;
}

.mock-bar i:nth-child(2) {
    background: #fcd34d;
}

.mock-bar i:nth-child(3) {
    background: #86efac;
}

.mock-bar span {
    margin-left: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted2);
}

.mock-body {
    padding: 22px;
}

.mock-float {
    position: absolute;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mock-float .icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.mock-float .icon svg {
    width: 18px;
    height: 18px;
}

.mock-float strong {
    display: block;
    font-size: 0.9375rem;
    line-height: 1.2;
}

.mock-float small {
    font-size: 0.75rem;
    color: var(--text-muted2);
}

/* Placées sur les zones vides du mockup (barre de fenêtre à droite, marge
   basse) pour ne masquer aucun contenu. */
.mock-float--tl {
    top: -26px;
    right: -26px;
    animation: float 6s ease-in-out infinite;
}

.mock-float--br {
    bottom: -26px;
    left: -26px;
    animation: float 6s ease-in-out infinite 1.6s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-9px);
    }
}

/* --- Mockup e-mail --- */
.email-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 18px;
}

.email-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--secondary), var(--violet));
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.9375rem;
    flex-shrink: 0;
}

.email-meta strong {
    display: block;
    font-size: 0.9375rem;
}

.email-meta span {
    font-size: 0.8125rem;
    color: var(--text-muted2);
}

.email-subject {
    font-weight: 700;
    font-size: 1.0625rem;
    margin-bottom: 10px;
}

.email-text {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.email-stars {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-bottom: 18px;
}

.email-stars svg {
    width: 26px;
    height: 26px;
    color: var(--star);
}

.email-cta {
    display: block;
    text-align: center;
    padding: 13px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--secondary), var(--violet));
    color: #fff;
    font-weight: 600;
    font-size: 0.9375rem;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.28);
}

.email-secondary {
    margin-top: 14px;
    padding: 14px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    text-align: center;
}

.email-secondary p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.email-secondary a {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--primary);
}

/* --- Mockup assistant --- */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.chip {
    padding: 7px 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: #fff;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.chip.is-on {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--secondary);
    color: var(--primary);
    font-weight: 600;
}

.field-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.draft {
    border: 1px solid #c7d2fe;
    background: #f8faff;
    border-radius: var(--radius-md);
    padding: 16px;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
    min-height: 108px;
}

.draft .caret {
    display: inline-block;
    width: 2px;
    height: 1.05em;
    background: var(--primary);
    vertical-align: text-bottom;
    margin-left: 1px;
    animation: blink 1s steps(1) infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.mock-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.mock-actions .btn {
    flex: 1;
    padding: 11px 16px;
    font-size: 0.875rem;
    border-radius: var(--radius-md);
}

/* --- Mockup réponse aux avis --- */
.review {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    background: #fff;
}

.review-head {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 10px;
}

.review-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: #e0e7ff;
    color: var(--primary);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.8125rem;
    flex-shrink: 0;
}

.review-head strong {
    display: block;
    font-size: 0.9375rem;
    line-height: 1.3;
}

.review-stars {
    display: flex;
    gap: 2px;
}

.review-stars svg {
    width: 14px;
    height: 14px;
    color: var(--star);
}

.review-stars svg.off {
    color: #e2e8f0;
}

.review-time {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted2);
}

.review-text {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.review-reply {
    margin-top: 14px;
    margin-left: 24px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    border-left: 3px solid var(--secondary);
}

.review-reply .tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary);
    margin-bottom: 8px;
}

.review-reply .tag svg {
    width: 13px;
    height: 13px;
}

.review-reply p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ---------------------------------------------
   9. STATS
   --------------------------------------------- */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat b {
    display: block;
    font-size: clamp(2rem, 3.6vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 6px;
}

.stat span {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* ---------------------------------------------
   10. FEATURES
   --------------------------------------------- */
.feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 64px;
    align-items: center;
}

.feature + .feature {
    margin-top: 112px;
}

.feature--reverse .feature-text {
    order: 2;
}

.feature-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 14px 6px 7px;
    border-radius: var(--radius-full);
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 18px;
}

.feature-eyebrow .n {
    width: 21px;
    height: 21px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 0.6875rem;
}

.feature-text h2 {
    font-size: clamp(1.625rem, 2.8vw, 2.125rem);
}

.feature-text > p {
    color: var(--text-muted);
    font-size: 1.0625rem;
    margin-bottom: 26px;
}

.checklist {
    list-style: none;
    display: grid;
    gap: 14px;
}

.checklist li {
    display: flex;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.checklist svg {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--success);
}

.checklist strong {
    font-weight: 600;
    color: var(--text-primary);
}

.feature-visual {
    position: relative;
}

/* ---------------------------------------------
   11. ÉTAPES
   --------------------------------------------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    counter-reset: step;
}

.step {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px 26px;
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.step-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--secondary), var(--violet));
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.step-icon svg {
    width: 23px;
    height: 23px;
    color: #fff;
}

.step-num {
    position: absolute;
    top: 26px;
    right: 26px;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-light);
    letter-spacing: -0.04em;
}

.step h3 {
    font-size: 1.125rem;
}

.step p {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* ---------------------------------------------
   12. CTA FINAL
   --------------------------------------------- */
.cta {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    padding: 64px 48px;
    text-align: center;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 55%, #6366f1 100%);
    color: #fff;
    box-shadow: 0 30px 70px rgba(79, 70, 229, 0.35);
}

.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            600px 300px at 15% 0%,
            rgba(255, 255, 255, 0.2),
            transparent 60%
        ),
        radial-gradient(
            500px 300px at 85% 100%,
            rgba(251, 191, 36, 0.22),
            transparent 60%
        );
    pointer-events: none;
}

.cta > * {
    position: relative;
}

.cta h2 {
    color: #fff;
    max-width: 700px;
    margin: 0 auto 16px;
}

.cta p {
    max-width: 580px;
    margin: 0 auto 32px;
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.85);
}

.cta .btn-ghost {
    background: #fff;
    border-color: transparent;
    color: var(--primary);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
}

.cta-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 28px;
    margin-top: 28px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
}

.cta-points span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-points svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ---------------------------------------------
   13. FAQ
   --------------------------------------------- */
.faq {
    max-width: 780px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq details {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 4px 22px;
    box-shadow: var(--shadow-sm);
}

.faq summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "";
    width: 10px;
    height: 10px;
    margin-left: auto;
    flex-shrink: 0;
    border-right: 2px solid var(--text-muted2);
    border-bottom: 2px solid var(--text-muted2);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 0.2s ease;
}

.faq details[open] summary::after {
    transform: rotate(-135deg) translate(-2px, -2px);
}

.faq details p {
    padding: 0 0 20px;
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* ---------------------------------------------
   14. FOOTER
   --------------------------------------------- */
.site-footer {
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 48px 0 32px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.footer-top p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    max-width: 420px;
}

.footer-powered {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8125rem;
    color: var(--text-muted2);
}

.footer-powered img {
    height: 26px;
    width: auto;
}

.footer-bottom {
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    align-items: center;
    font-size: 0.8125rem;
    color: var(--text-muted2);
}

.footer-bottom nav {
    margin-left: auto;
    display: flex;
    gap: 22px;
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* ---------------------------------------------
   15. ANIMATION D'APPARITION
   --------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------------------------------------------
   16. RESPONSIVE
   --------------------------------------------- */
@media (max-width: 980px) {
    .hero-grid,
    .feature {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .feature--reverse .feature-text {
        order: 0;
    }

    .feature + .feature {
        margin-top: 80px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .nav {
        gap: 18px;
    }

    .nav > a:not(.btn) {
        display: none;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 64px 0;
    }

    .hero {
        padding: 48px 0 64px;
    }

    .container {
        padding: 0 20px;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .cta {
        padding: 48px 24px;
    }

    .mock-float--tl {
        top: -16px;
        right: -8px;
    }

    .mock-float--br {
        bottom: -16px;
        left: -8px;
    }

    .mock-float small {
        display: none;
    }

    .review-reply {
        margin-left: 0;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .footer-powered,
    .footer-bottom nav {
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ---------------------------------------------
   17. LIEN D'ÉVITEMENT
   --------------------------------------------- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    padding: 12px 20px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    border-radius: 0 0 var(--radius-md) 0;
}

.skip-link:focus {
    left: 0;
}

/* ---------------------------------------------
   18. SÉLECTEUR DE LANGUE
   --------------------------------------------- */
.langsel {
    position: relative;
    flex-shrink: 0;
}

.langsel summary {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: #fff;
    box-shadow: var(--shadow-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
}

.langsel summary::-webkit-details-marker {
    display: none;
}

.langsel summary::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--text-muted2);
    border-bottom: 2px solid var(--text-muted2);
    transform: rotate(45deg) translate(-1px, -1px);
}

.langsel[open] summary::after {
    transform: rotate(-135deg) translate(-1px, -1px);
}

.langsel summary:hover {
    border-color: var(--secondary-light);
}

.langsel-flag {
    font-size: 0.9375rem;
    line-height: 1;
}

.langsel ul {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 172px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 6px;
    z-index: 60;
}

.langsel ul a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: background 0.15s ease;
}

.langsel ul a:hover {
    background: var(--bg-soft);
}

.langsel ul a[aria-current] {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}

/* ---------------------------------------------
   19. MAQUETTES — variantes
   --------------------------------------------- */
.review.is-bare {
    border: none;
    padding: 0;
}

.request-row + .request-row {
    margin-top: 10px;
}

.request-mail {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.review-time.is-done {
    color: var(--success);
    font-weight: 600;
}

/* ---------------------------------------------
   20. LANGUES EN PIED DE PAGE
   --------------------------------------------- */
.footer-langs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.8125rem;
    color: var(--text-muted2);
}

.footer-langs a {
    color: var(--text-muted);
    transition: color 0.15s ease;
}

.footer-langs a:hover {
    color: var(--primary);
}

.footer-langs a[aria-current] {
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 980px) {
    /* Le sélecteur de langue reste accessible quand la nav se réduit. */
    .langsel {
        margin-left: auto;
    }
}

@media (max-width: 640px) {
    .langsel-code {
        display: none;
    }

    .langsel summary {
        padding: 7px 10px;
    }
}
