/* ============================================================
   SIKO — Landing Page Styles
   Palette de base: #1CA7D8 (bleu ciel) / #0E1A24 (nuit)
   Accents "incroyables": #06D6A0 (émeraude), #7C6FF0 (violet), #F5A623 (or)
   ============================================================ */

.landing-main {
    --l-primary: #1CA7D8;
    --l-dark: #0E1A24;
    --l-dark-2: #142A3A;
    --l-teal: #06D6A0;
    --l-violet: #8B7CF6;
    --l-gold: #F5A623;
    --l-light: #E6F4FB;
    --l-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    scroll-behavior: smooth;
    min-height: 100vh;
    overflow-x: hidden;
}
html { scroll-behavior: smooth; }

.landing-main, .landing-nav, .landing-footer,
.landing-main h1, .landing-main h2, .landing-main h3, .landing-main h4,
.landing-footer h3, .landing-footer h4 {
    font-family: var(--l-font, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif);
}

/* ---- SKIP LINK ---- */
.skip-link {
    position: fixed;
    top: -60px;
    left: 1rem;
    z-index: 1000;
    background: var(--l-dark, #0E1A24);
    color: #fff;
    padding: 0.6rem 1.1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 1rem;
    text-decoration: none;
}

/* ---- FOCUS VISIBLE ---- */
.landing-nav a:focus-visible,
.landing-nav button:focus-visible,
.landing-main a:focus-visible,
.landing-main button:focus-visible,
.landing-footer a:focus-visible {
    outline: 2px solid var(--l-teal, #06D6A0);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ---- SCROLL PROGRESS BAR ---- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--l-teal, #06D6A0), var(--l-primary, #1CA7D8), var(--l-violet, #8B7CF6));
    background-size: 200% 100%;
    z-index: 300;
    transition: width 0.1s ease-out;
}

/* ---- NAVBAR ---- */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 14, 20, 0.35);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, padding 0.35s ease;
}
.landing-nav.scrolled {
    background: rgba(10, 10, 14, 0.85);
    backdrop-filter: blur(14px);
    border-bottom-color: rgba(255,255,255,0.1);
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.landing-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.landing-logo {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    transition: transform 0.25s ease;
}
.landing-logo:hover { transform: scale(1.04); }
.landing-logo-img {
    height: 38px;
    width: auto;
    max-width: 100%;
    display: block;
}
.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.landing-nav-linkgroup {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.landing-nav-divider {
    width: 1px;
    height: 20px;
    flex-shrink: 0;
    background: rgba(255,255,255,0.15);
}
.landing-nav-ctagroup {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 0.25rem;
}
.landing-nav-ctagroup .btn {
    padding: 0.6rem 1.15rem;
    border-radius: 10px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.landing-nav-ctagroup .theme-toggle {
    font-size: 1rem;
    padding: 0.6rem 0.85rem;
    line-height: 1;
    border-radius: 10px;
    margin-left: 0.25rem;
}
.landing-nav-ctagroup .theme-toggle #theme-label { display: none; }
.landing-nav-links a {
    position: relative;
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.25rem 0;
    white-space: nowrap;
    transition: color 0.2s;
}
.landing-nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--l-teal), var(--l-primary));
    transition: width 0.25s ease;
    border-radius: 2px;
}
.landing-nav-links a:hover {
    color: #fff;
    text-decoration: none;
}
.landing-nav-links a:hover::after { width: 100%; }
.mobile-nav-btn {
    display: none;
    background: none;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
}

/* ---- BUTTON UPGRADES (scoped to landing only) ---- */
.landing-main .btn,
.landing-nav .btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.landing-main .btn-accent,
.landing-nav .btn-accent {
    background: linear-gradient(120deg, var(--l-primary), var(--l-teal));
    background-size: 180% 180%;
    background-position: 0% 50%;
    border: none;
    box-shadow: 0 8px 24px rgba(28, 167, 216, 0.35);
    transition: background-position 0.5s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.landing-main .btn-accent:hover,
.landing-nav .btn-accent:hover {
    background-position: 100% 50%;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 30px rgba(6, 214, 160, 0.4);
}

/* ---- HERO ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 2rem 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #0A121A 0%, #0E1A24 30%, #123A52 60%, #0E1A24 100%);
    background-size: 260% 260%;
    animation: heroDrift 18s ease-in-out infinite;
}
@keyframes heroDrift {
    0%   { background-position: 0% 30%; }
    50%  { background-position: 100% 70%; }
    100% { background-position: 0% 30%; }
}
.hero::before {
    content: '';
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(circle at 18% 25%, rgba(28,167,216,0.35) 0%, transparent 40%),
        radial-gradient(circle at 82% 20%, rgba(139,124,246,0.30) 0%, transparent 42%),
        radial-gradient(circle at 30% 85%, rgba(6,214,160,0.28) 0%, transparent 45%),
        radial-gradient(circle at 78% 82%, rgba(245,166,35,0.18) 0%, transparent 40%);
    filter: blur(10px);
    animation: blobFloat 14s ease-in-out infinite alternate;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(255,255,255,0.35) 1px, transparent 1px),
        radial-gradient(rgba(255,255,255,0.2) 1px, transparent 1px);
    background-size: 90px 90px, 130px 130px;
    background-position: 0 0, 45px 65px;
    opacity: 0.15;
    pointer-events: none;
}
@keyframes blobFloat {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(2%, -3%) scale(1.06); }
    100% { transform: translate(-2%, 2%) scale(1); }
}
.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3.5rem;
    text-align: left;
}
.hero-content {
    flex: 1 1 0;
    max-width: 540px;
}
.hero-content .hero-actions,
.hero-content .hero-badges {
    justify-content: flex-start;
}
.hero-visual {
    flex: 1 1 0;
    display: flex;
    justify-content: center;
    animation: fadeUp 1s ease 0.2s both;
}
.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    background: linear-gradient(100deg, #ffffff 20%, #9FE8FF 45%, #06D6A0 65%, #ffffff 85%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shineText 7s linear infinite, fadeUp 0.9s ease both;
}
@keyframes shineText {
    to { background-position: 250% center; }
}
.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.6;
    margin-bottom: 2rem;
    animation: fadeUp 0.9s ease 0.15s both;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.9s ease 0.3s both;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
    border-radius: 12px;
}
.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.4);
    color: #fff;
    background: transparent;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.25s ease;
    cursor: pointer;
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.8);
    transform: translateY(-2px);
}
.hero-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    animation: fadeUp 0.9s ease 0.45s both;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.92);
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    backdrop-filter: blur(6px);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.hero-badge:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.35);
}
.hero-badge svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

/* ---- HERO VISUAL (mockup card) ---- */
.hero-mock-card {
    position: relative;
    width: 320px;
    max-width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 20px;
    padding: 1.6rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.35);
    animation: mockFloat 6s ease-in-out infinite;
}
@keyframes mockFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}
.hero-mock-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.4rem;
}
.hero-mock-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}
.hero-mock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--l-teal, #06D6A0);
    box-shadow: 0 0 0 4px rgba(6,214,160,0.2);
}
.hero-mock-status {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--l-teal, #06D6A0);
    background: rgba(6,214,160,0.14);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
}
.hero-mock-balance-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.78rem;
}
.hero-mock-balance {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin: 0.2rem 0 1.3rem;
    background: linear-gradient(100deg, #ffffff, #9FE8FF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-mock-avatars {
    display: flex;
    align-items: center;
    margin-bottom: 1.3rem;
}
.hero-mock-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--l-primary), var(--l-violet));
    border: 2px solid rgba(14,26,36,0.9);
    margin-left: -10px;
}
.hero-mock-avatar:first-child { margin-left: 0; }
.hero-mock-avatar-more {
    background: rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.85);
}
.hero-mock-progress-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 0.4rem;
}
.hero-mock-progress {
    height: 6px;
    background: rgba(255,255,255,0.12);
    border-radius: 50px;
    overflow: hidden;
}
.hero-mock-progress-bar {
    height: 100%;
    width: 62%;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--l-primary), var(--l-teal));
}
.hero-float-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(14,26,36,0.85);
    border: 1px solid rgba(255,255,255,0.14);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.5rem 0.8rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.3);
}
.hero-float-chip svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    color: var(--l-teal, #06D6A0);
}
.hero-float-chip.chip-1 {
    top: -14px;
    right: -12px;
}
.hero-float-chip.chip-2 {
    bottom: -14px;
    left: -12px;
}

.hero-scroll-cue {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.45);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}
.hero-scroll-cue::before {
    content: '';
    width: 4px;
    height: 8px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--l-teal), var(--l-primary));
    animation: scrollCue 1.8s ease infinite;
}
@keyframes scrollCue {
    0%   { transform: translateY(0); opacity: 1; }
    70%  { transform: translateY(12px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* ---- SCROLL REVEAL ---- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ---- SECTIONS ---- */
.section {
    padding: 90px 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}
.section-alt {
    background: linear-gradient(180deg, #F6FBFA 0%, #EEF7F9 100%);
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}
.section-alt > * {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.section-title {
    text-align: center;
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--l-dark);
    margin-bottom: 0.75rem;
}
.section-kicker {
    display: block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--l-primary);
    margin-bottom: 0.6rem;
}
.section-title + .section-subtitle {
    text-align: center;
    color: #6b7280;
    max-width: 560px;
    margin: 0 auto 3rem;
    font-size: 0.98rem;
}
.section-title.mb-only { margin-bottom: 3rem; }

/* ---- FEATURES GRID ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}
.feature-card {
    position: relative;
    background: #fff;
    border: 1px solid #e9edf1;
    border-radius: 18px;
    padding: 2.1rem 1.75rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--l-primary), var(--l-teal), var(--l-violet));
    opacity: 0;
    transition: opacity 0.3s ease;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(14, 26, 36, 0.12);
    border-color: transparent;
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.1rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(28,167,216,0.12), rgba(6,214,160,0.12));
    color: var(--l-primary);
    transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}
.feature-icon svg {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
}
.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-4deg);
    background: linear-gradient(135deg, var(--l-primary), var(--l-teal));
    color: #fff;
}
.feature-card h3 {
    color: var(--l-dark);
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}
.feature-card p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ---- STEPS ---- */
.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    position: relative;
}
.step {
    text-align: center;
    max-width: 200px;
    transition: transform 0.3s ease;
}
.step:hover { transform: translateY(-4px); }
.step-number {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--l-primary), var(--l-teal));
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 24px rgba(28,167,216,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 14px 28px rgba(28,167,216,0.42);
}
.step-number.gold {
    background: linear-gradient(135deg, var(--l-gold), var(--l-primary));
    box-shadow: 0 10px 24px rgba(245,166,35,0.32);
}
.step-content h3 {
    font-size: 1rem;
    color: var(--l-dark);
    margin-bottom: 0.3rem;
}
.step-content p {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.5;
}
.step-arrow {
    font-size: 1.5rem;
    color: #cbd5df;
    padding-top: 1.1rem;
    animation: arrowPulse 2.2s ease-in-out infinite;
}
@keyframes arrowPulse {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(6px); opacity: 1; }
}

/* ---- STATS ---- */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.stat-block {
    text-align: center;
    transition: transform 0.3s ease;
}
.stat-block:hover { transform: translateY(-4px); }
.stat-value {
    font-size: 3.1rem;
    font-weight: 800;
    background: linear-gradient(120deg, var(--l-primary), var(--l-teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat-label {
    color: #6b7280;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* ---- FEES TABLE ---- */
.fees-table-wrapper {
    max-width: 620px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(14,26,36,0.1);
}
.fees-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}
.fees-table th {
    background: linear-gradient(120deg, var(--l-dark), var(--l-dark-2));
    color: #fff;
    padding: 0.85rem 1.1rem;
    text-align: left;
    font-size: 0.9rem;
}
.fees-table td {
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid #eef1f4;
    font-size: 0.9rem;
    color: #374151;
    transition: background 0.2s ease;
}
.fees-table tr:hover td {
    background: var(--l-light);
}
.fees-table tr:last-child td { border-bottom: none; }
.fees-table .free {
    color: var(--l-teal);
    font-weight: 700;
}

/* ---- CTA SECTION ---- */
.cta-section {
    position: relative;
    background: linear-gradient(135deg, var(--l-dark) 0%, #123A52 45%, var(--l-primary) 100%);
    background-size: 220% 220%;
    animation: heroDrift 16s ease-in-out infinite;
    max-width: none;
    text-align: center;
    /* Padding-bas réduit : le slogan est le dernier élément de l'accueil ; on
       supprime le grand vide entre lui et le footer (uniquement la home, car
       .cta-section n'existe que sur la page d'accueil). */
    padding: 90px 2rem 40px;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 20% 30%, rgba(6,214,160,0.25) 0%, transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(139,124,246,0.25) 0%, transparent 45%);
    animation: blobFloat 12s ease-in-out infinite alternate;
    pointer-events: none;
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section h2 {
    color: #fff;
    font-size: 2.1rem;
    margin-bottom: 1rem;
}
.cta-text {
    color: rgba(255,255,255,0.82);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- COUNTRY FLAGS MARQUEE ---- */
/* ---- Slogan rotatif (FR / EN / MG affichés un par un) ---- */
.slogan-rotator {
    position: relative;
    margin-top: 2.75rem;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.slogan-item {
    position: absolute;
    left: 0;
    right: 0;
    padding: 0 1rem;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.35;
    opacity: 0;
    transform: translateX(34px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    background: linear-gradient(100deg, var(--l-primary, #1CA7D8) 8%, var(--l-teal, #06D6A0) 42%, var(--l-violet, #8B7CF6) 74%, var(--l-primary, #1CA7D8) 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: sloganShine 6s linear infinite;
    pointer-events: none;
}
.slogan-item.is-active {
    opacity: 1;
    transform: translateX(0);
}
@keyframes sloganShine {
    to { background-position: 220% center; }
}

/* ---- FOOTER ---- */
.landing-footer {
    background: #0A0A0A;
    color: rgba(255,255,255,0.7);
    padding: 3rem 2rem 1.5rem;
    margin-top: 3rem;
    position: relative;
}
/* Accueil uniquement : la section CTA (sombre) est le dernier bloc ; on colle
   le footer juste après, sans la bande claire créée par margin-top. Ciblé via
   :has(.cta-section), qui n'existe que sur la page d'accueil. */
.landing-main:has(.cta-section) + .landing-footer { margin-top: 0; }
.landing-footer::before {
    content: '';
    display: block;
    height: 2px;
    max-width: 1200px;
    margin: 0 auto 3rem;
    background: linear-gradient(90deg, transparent, var(--l-primary), var(--l-teal), var(--l-violet), transparent);
    opacity: 0.6;
}
.landing-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}
.landing-footer-col h3 {
    color: var(--l-primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}
.footer-logo {
    height: 44px;
    width: auto;
    max-width: 100%;
    display: block;
    margin-bottom: 0.85rem;
}
.landing-footer-col h4 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}
.landing-footer-col a {
    display: block;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    transition: color 0.2s ease, transform 0.2s ease;
}
.landing-footer-col a:hover {
    color: var(--l-teal);
    transform: translateX(3px);
    text-decoration: none;
}
.landing-footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* ---- RESPONSIVE ---- */
/* La barre horizontale ne tient pas dans toutes les langues (l'anglais et le
   malgache sont plus longs) : on bascule sur le menu hamburger dès 1024px pour
   éviter tout débordement, quelle que soit la langue. */
@media (max-width: 1024px) {
    .landing-nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
        background: rgba(10, 14, 20, 0.97);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem 1.5rem 1.5rem;
        gap: 1.25rem;
    }
    .landing-nav-links.open {
        display: flex;
    }
    .landing-nav-linkgroup {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .landing-nav-divider {
        width: 100%;
        height: 1px;
    }
    .landing-nav-ctagroup {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
        margin-left: 0;
    }
    .landing-nav-ctagroup .btn { width: 100%; }
    .landing-nav-ctagroup .lang-switch {
        width: 100%;
        justify-content: center;
    }
    .landing-nav-ctagroup .lang-switch .lang-opt { flex: 1; }
    .landing-nav-ctagroup .theme-toggle {
        width: 100%;
        justify-content: center;
        display: flex;
        align-items: center;
        gap: 0.4rem;
        font-size: 0.85rem;
        margin-left: 0;
    }
    .landing-nav-ctagroup .theme-toggle #theme-label { display: inline; }
    .mobile-nav-btn { display: block; }

    /* Palier TABLETTE (769–1024) : au-delà du hamburger, on réagence aussi le
       CONTENU. Auparavant le héros restait côte-à-côte et les cartes features
       tenaient en 3 colonnes serrées dans cette zone → aspect à l'étroit. On
       empile le héros et on passe les features en 2 colonnes, en cohérence avec
       le point de bascule de la navigation. */
    .hero { min-height: auto; padding: 96px 1.5rem 64px; }
    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }
    .hero-content { max-width: 640px; margin: 0 auto; }
    .hero-content .hero-actions,
    .hero-content .hero-badges { justify-content: center; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 100px 1.5rem 60px;
    }
    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }
    .hero-content { max-width: 100%; }
    .hero-content .hero-actions,
    .hero-content .hero-badges {
        justify-content: center;
    }
    .hero-mock-card { width: 280px; }
    .hero-title {
        font-size: 2.1rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-scroll-cue { display: none; }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }
    .step { max-width: 100%; }
    .step-arrow {
        transform: rotate(90deg);
        padding: 0;
    }

    .stats-row {
        gap: 1.5rem;
    }
    .stat-value { font-size: 2rem; }

    .section {
        padding: 50px 1rem;
    }
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    /* La section CTA gardait 90px de padding haut + 2rem latéraux à toutes les
       tailles (contrairement à .section) → blanc surdimensionné et fenêtre plus
       étroite que le reste sur mobile. On l'aligne sur le rythme des sections. */
    .cta-section {
        padding: 56px 1.25rem 36px;
    }
    .cta-section h2 {
        font-size: 1.6rem;
    }

    .landing-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .slogan-item {
        font-size: 1.15rem;
    }
    .slogan-rotator {
        min-height: 3.4rem;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.7rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; text-align: center; }
    .features-grid { gap: 0.75rem; }
    .feature-card { padding: 1.5rem; }
    .landing-footer-inner { grid-template-columns: 1fr; }
}

/* Écrans TACTILES : les états :hover (élévation des cartes, halo dégradé,
   rotation d'icône) restent « collés » après un tap sur mobile. On les
   neutralise et on rétablit un retour visuel franc au :active (qui, lui, se
   déclenche bien au toucher) — même langage visuel qu'au desktop, sans le figé. */
@media (hover: none) {
    .feature-card:hover { transform: none; box-shadow: none; border-color: #e9edf1; }
    .feature-card:hover::before { opacity: 0; }
    .feature-card:hover .feature-icon {
        transform: none;
        background: linear-gradient(135deg, rgba(28,167,216,0.12), rgba(6,214,160,0.12));
        color: var(--l-primary);
    }
    .step:hover { transform: none; }
    .step:hover .step-number { transform: none; box-shadow: none; }

    .feature-card:active { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(14,26,36,0.12); }
    .step:active { transform: translateY(-3px); }
    .btn:active { transform: translateY(1px); }
}

/* ---- DARK MODE (pages publiques) ---- */
[data-theme="dark"] .section-title { color: #9BD8F0; }
[data-theme="dark"] .section-title + .section-subtitle { color: #9ca3af; }

[data-theme="dark"] .section-alt {
    background: linear-gradient(180deg, #0A0A0A 0%, #111827 100%);
}

[data-theme="dark"] .feature-card {
    background: #141414;
    border-color: #262626;
}
[data-theme="dark"] .feature-card h3 { color: #9FE8FF; }
[data-theme="dark"] .feature-card p { color: #9ca3af; }
[data-theme="dark"] .feature-icon {
    background: linear-gradient(135deg, rgba(28,167,216,0.18), rgba(6,214,160,0.18));
}

[data-theme="dark"] .step-content h3 { color: #9FE8FF; }
[data-theme="dark"] .step-content p { color: #9ca3af; }
[data-theme="dark"] .step-arrow { color: #4b5563; }

[data-theme="dark"] .stat-label { color: #9ca3af; }

[data-theme="dark"] .fees-table-wrapper,
[data-theme="dark"] .help-table-wrapper { box-shadow: 0 12px 34px rgba(0,0,0,0.4); }
[data-theme="dark"] .fees-table { background: #141414; }
[data-theme="dark"] .fees-table td {
    border-bottom-color: #262626;
    color: #e5e7eb;
}
[data-theme="dark"] .fees-table tr:hover td { background: #1f2937; }

[data-theme="dark"] .hero-badge {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.14);
}

[data-theme="dark"] .landing-footer { background: #000; }

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
    .landing-main, .hero, .cta-section, .hero-title, .hero-subtitle, .hero-actions,
    .hero-badges, .slogan-item, .hero-scroll-cue::before, .step-arrow,
    .hero::before, .cta-section::before, .hero-visual, .hero-mock-card, .hero-float-chip {
        animation: none !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
