/* Landing Page V2 - Premium Design */
:root {
    --primary: #b0c82c;
    --primary-dark: #368a86;
    --secondary: #2b2d42;
    --text-main: #2b2d42;
    --text-muted: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --gradient-hero: linear-gradient(135deg, #f0fdfc 0%, #e0f2f1 100%);
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
    /* Premium soft shadow */
    --radius-md: 12px;
    --radius-lg: 24px;
    --z-showcase-aside: 20;
    --z-showcase-navbar: 100;
    --z-showcase-dropdown: 220;
    --z-showcase-skip-link: 300;
    --z-showcase-loader: 1000;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.landing-page-wrapper {
    overflow-x: hidden;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: var(--z-showcase-skip-link);
    transform: translateY(-160%);
    padding: 10px 14px;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(15,23,42,.18);
    transition: transform .18s ease;
}

.skip-link:focus-visible {
    transform: translateY(0);
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Base Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: background-color .22s ease, border-color .22s ease, box-shadow .22s ease, color .22s ease, transform .22s ease;
    cursor: pointer;
    text-decoration: none;
    border: none;
    touch-action: manipulation;
}

.btn:focus-visible {
    outline: 3px solid rgba(176, 200, 44,.55);
    outline-offset: 4px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(176, 200, 44, 0.39);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(176, 200, 44, 0.23);
}

.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid #e5e7eb;
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-padding {
    padding: 80px 0;
}



.hero-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(176, 200, 44, 0.1);
    color: var(--primary-dark);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 4rem;
    /* Big Bold */
    margin-bottom: 24px;
    background: -webkit-linear-gradient(315deg, #1e293b 0%, #475569 74%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-visual {
    position: relative;
    margin-top: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-visual img {
    width: 100%;
    display: block;
}

/* --- Features Grid --- */
.features-grid-section {
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    text-wrap: balance;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
    text-wrap: pretty;
}

.features-logo-strip {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(280px, .82fr) minmax(0, 1.5fr);
    gap: clamp(32px, 4.5vw, 64px);
    margin: 76px auto 0;
}

.features-logo-strip .fls-reveal {
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform, opacity;
}

.features-logo-strip__intro {
    display: grid;
    gap: 12px;
    margin: 0;
    max-width: 36ch;
}

.features-logo-strip__intro strong {
    display: block;
    max-width: 18ch;
    font-size: clamp(1.2rem, 2vw, 1.85rem);
    line-height: 1.08;
    font-weight: 850;
    color: var(--text-main);
    text-wrap: balance;
}

.features-logo-strip__intro span {
    display: block;
    max-width: 42ch;
    font-size: 1rem;
    line-height: 1.65;
    font-weight: 600;
    color: var(--text-muted);
    text-wrap: pretty;
}

.features-logo-strip__logos {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    align-items: center;
    gap: clamp(26px, 3.6vw, 48px);
}

.features-logo-strip__item {
    display: grid;
    grid-template-columns: minmax(164px, 204px) minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.features-logo-strip__item--super-pdp {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 430px);
}

.features-logo-strip__label {
    margin: 0;
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    line-height: 1.25;
    font-weight: 850;
    color: var(--text-main);
    text-wrap: balance;
}

.features-logo-strip__logo {
    display: block;
    width: 100%;
    max-height: 98px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 14px 22px rgba(11,11,16,.08));
}

.features-logo-strip__logo--fe {
    max-width: 204px;
    padding: 10px 12px;
    box-sizing: border-box;
    border-radius: 14px;
    background: #ffffff;
    transform: scale(1.04);
    transform-origin: center;
}

.features-logo-strip__logo--stripe {
    max-width: 190px;
}

.features-logo-strip__super-pdp-wordmark {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 204px;
    aspect-ratio: 92 / 13;
    filter: drop-shadow(0 14px 22px rgba(11,11,16,.08));
}

.features-logo-strip__letter-segment {
    display: block;
    flex: 0 0 auto;
    height: 100%;
    overflow: hidden;
}

.features-logo-strip__letter-segment--mark { width: 18.4783%; }
.features-logo-strip__letter-segment--s { width: 10.8696%; }
.features-logo-strip__letter-segment--u,
.features-logo-strip__letter-segment--p-one,
.features-logo-strip__letter-segment--d { width: 9.7826%; }
.features-logo-strip__letter-segment--e { width: 8.6957%; }
.features-logo-strip__letter-segment--r,
.features-logo-strip__letter-segment--p-two,
.features-logo-strip__letter-segment--p-three { width: 10.8696%; }

.features-logo-strip__letter-glyph {
    display: block;
    width: 100%;
    height: 100%;
    transform-origin: center bottom;
}

.features-logo-strip__letter-reel {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 500%;
    will-change: transform;
}

.features-logo-strip__letter-reel .features-logo-strip__letter-glyph {
    flex: 0 0 20%;
    width: 100%;
    height: 20%;
}

.features-logo-strip__wordmark {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 204px;
    min-height: 88px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .045em;
    white-space: nowrap;
}

.features-logo-strip__wordmark--super-pdp {
    color: #0000ff;
    font-size: clamp(1.55rem, 1.9vw, 2rem);
    font-weight: 900;
}

.features-logo-strip__item--super-pdp .features-logo-strip__label {
    font-weight: 900;
}

@media (prefers-reduced-motion: reduce) {
    .features-logo-strip .fls-reveal {
        transform: none !important;
        will-change: auto;
    }
}



.alt-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.alt-row:last-child {
    margin-bottom: 0;
}

.alt-row.reversed {
    flex-direction: row-reverse;
}

.alt-row--spaced {
    margin-top: 120px;
}

.alt-content {
    flex: 1;
}

.alt-visual {
    flex: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: none;
    filter: none;
}

.alt-visual img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: none;
    filter: none;
}

.alt-tag {
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
}

.alt-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.alt-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.check-icon {
    color: var(--primary);
    width: 20px;
    height: 20px;
}

/* --- CTA Section --- */
.cta-section {
    background: #111827;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 24px;
    text-wrap: balance;
}

.cta-section p {
    color: #9ca3af;
    font-size: 1.25rem;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-secondary {
    color: #ffffff;
    background: transparent;
    border-color: rgba(255,255,255,.34);
}

.cta-section .btn-secondary:hover {
    border-color: rgba(255,255,255,.72);
    background: rgba(255,255,255,.08);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .features-logo-strip {
        align-items: stretch;
        grid-template-columns: 1fr;
        gap: 28px;
        margin: 48px auto 0;
    }

    .features-logo-strip__intro {
        max-width: none;
        text-align: center;
    }

    .features-logo-strip__intro strong,
    .features-logo-strip__intro span {
        max-width: none;
    }

    .features-logo-strip__logos {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .features-logo-strip__item {
        grid-template-columns: minmax(132px, 158px) minmax(0, 1fr);
        gap: 16px;
    }

    .features-logo-strip__item--super-pdp {
        width: 100%;
    }

    .features-logo-strip__logo--fe {
        max-width: 158px;
        padding: 8px 10px;
        border-radius: 12px;
    }

    .features-logo-strip__logo--stripe {
        max-width: 154px;
    }

    .features-logo-strip__wordmark {
        max-width: 158px;
        min-height: 72px;
    }

    .features-logo-strip__wordmark--super-pdp {
        font-size: clamp(1.35rem, 6vw, 1.85rem);
    }

    .features-logo-strip .fls-reveal {
        will-change: auto;
    }

    .alt-row,
    .alt-row.reversed {
        flex-direction: column;
        gap: 40px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        box-sizing: border-box;
    }
}


.hero-content{
    position: relative;
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}
.hero-bar{
    margin: 55px;
}

/* badge */
.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.65);
    border: 1px solid rgba(43,45,66,.10);
    box-shadow: var(--shadow-sm);
    font-weight: 700;
    font-size: 13px;
    color: var(--secondary);
}

.hero-dot{
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(176, 200, 44,.18);
}

/* titre */
.hero-title{
    margin: 22px 0 16px;
    font-size: clamp(40px, 4.6vw, 66px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #0f172a;
    text-wrap: balance;
}

.hero-gradient{
    background: linear-gradient(90deg, var(--secondary), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* sous-titre */
.hero-subtitle{
    font-size: 1.18rem;
    color: var(--text-muted);
    margin: 0 auto 26px;
    max-width: 68ch;
    text-wrap: pretty;
}

/* boutons */
.hero-actions{
    display:flex;
    gap: 14px;
    justify-content:center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

/* métriques */
.hero-metrics{
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 22px auto 10px;
    max-width: 920px;
    padding: 0 24px;
}

.hero-metric{
    width: 100%;
    max-width: 300px;

    display: flex;
    gap: 12px;
    align-items: center;

    padding: 14px 14px;
    border-radius: 16px;

    background: rgba(255,255,255,.72);
    border: 1px solid rgba(15,23,42,.10);
    box-shadow: 0 10px 24px rgba(15,23,42,.06);

    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.hero-metric:hover{
    transform: translateY(-4px);
    border-color: rgba(176, 200, 44,.35);
    background: rgba(255,255,255,.88);
    box-shadow: 0 18px 40px rgba(15,23,42,.10);
}

.hero-metric__img{
    width: 44px;
    height: 44px;
    flex: 0 0 44px;

    border-radius: 12px;
    object-fit: cover;

    border: 1px solid rgba(176, 200, 44,.22);
    background: rgba(176, 200, 44,.10);
}

.hero-metric__text{
    min-width: 0; /* évite les débordements */
}

.hero-metric__v{
    font-weight: 800;
    font-size: 15px;
    line-height: 1.15;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.hero-metric__k{
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.35;
    color: rgba(15,23,42,.65);
    font-weight: 600;
}


/* transition douce vers la section suivante */
.hero-divider{
    height: 60px;
    margin-top: 18px;
    border-radius: var(--radius-lg);
    background: linear-gradient(
            180deg,
            rgba(249,250,251,0) 0%,
            rgba(249,250,251,.75) 55%,
            rgba(249,250,251,1) 100%
    );
}


/* ===== SECTION IPAD (INTRO + LOOK) ===== */
.content-div{
    position: relative;
    padding: 54px 0 80px;
    background: var(--bg-light);
}

/* petit titre clean */
.block-one{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.slider-title{
    text-align:center;
    font-size: clamp(26px, 2.2vw, 40px);
    letter-spacing: -0.02em;
    margin: 0 0 26px;
    color: var(--secondary);
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-wrap: balance;
}

/* transition title déjà gérée par ton JS */
.slider-title{
    transition: opacity .45s ease, transform .45s ease;
}
.slider-title.fade-out{
    opacity: 0;
    transform: translateY(8px);
}



/* pagination splide plus clean */
.my-pagination{
    bottom: 12px !important;
}
.my-page{
    width: 10px !important;
    height: 10px !important;
    margin: 0 5px !important;
    border-radius: 999px !important;
    opacity: .35 !important;
}
.my-page.is-active{
    opacity: 1 !important;
    transform: scale(1.05);
    background: var(--primary) !important;
}



/* responsive */
@media (max-width: 768px){
    .hero-metric{ min-width: 160px; }
    .hero-actions{ flex-direction: column; align-items: center; }
    .btn{ width: 100%; max-width: 360px; }
    .slider-title{ min-height: 112px; }
    #ipad-showcase .block-one{ padding: 0; }
}


.hero-metric__d{
    margin-top: 6px;
    font-size: 0.85rem;
    line-height: 1.35;
    opacity: .75;
}

/* Si tu n'as pas sr-only */
.sr-only{
    position:absolute !important;
    width:1px;height:1px;
    padding:0;margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
}
.alt-content, .alt-visual {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* état initial anim */
.content-div,
#slider-title,
#ipad-container{
    opacity: 0;
    transform: translateY(22px);
    will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .content-div,
    #slider-title,
    #ipad-container {
        opacity: 1 !important;
        transform: none !important;
    }
}
