/* Landing Page V2 - Premium Design */
:root {
    --primary: #4cc3bd;
    --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;
}

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

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: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    border: none;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(76, 195, 189, 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(76, 195, 189, 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;
}

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



.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-content {
    flex: 1;
}

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

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

.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;
}

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

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

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

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

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


/* ===== HERO V3 (Stripe-ish) ===== */
.hero-section{
    position: relative;
    padding: 120px 0 0;
    background: var(--gradient-hero);
    overflow: hidden;
}

/* Décor léger (pas lourd, pas de blur) */
.hero-section::before{
    content:"";
    position:absolute;
    inset:-40% -20%;
    background:
            radial-gradient(800px 500px at 20% 25%, rgba(76,195,189,.18), transparent 60%),
            radial-gradient(900px 600px at 80% 10%, rgba(58,168,163,.12), transparent 55%);
    pointer-events:none;
}

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

/* 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(76,195,189,.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;
}

.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;
}

/* 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(76,195,189,.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(76,195,189,.22);
    background: rgba(76,195,189,.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:150px;
}

/* 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-section{ padding: 96px 0 40px; }
    .hero-metric{ min-width: 160px; }
    .hero-actions{ flex-direction: column; align-items: center; }
    .btn{ width: 100%; max-width: 360px; }
}


.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;
}
