/* ============================================
   VERD — Style Sheet
   Liquid Glass / Green & White / Modern
   ============================================ */

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

:root {
    --green-50: #f0fdf4;
    --green-100: #dcfce7;
    --green-200: #bbf7d0;
    --green-300: #86efac;
    --green-400: #4ade80;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --green-700: #15803d;
    --green-800: #166534;
    --green-900: #14532d;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --glass-blur: 20px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    background: var(--gray-50);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

/* ============================================
   ANIMATIONS
   ============================================ */

.anim-fade-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.anim-slide-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.anim-slide-right {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.anim-scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* ============================================
   HERO
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    overflow: hidden;
    background: linear-gradient(160deg, var(--green-50) 0%, var(--white) 40%, var(--green-100) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(34, 197, 94, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(134, 239, 172, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 50% 50%, rgba(74, 222, 128, 0.06) 0%, transparent 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--green-700);
    margin-bottom: 3rem;
}

.logo-dot {
    color: var(--green-400);
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.hero-sub {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 400;
    color: var(--gray-500);
    line-height: 1.6;
    max-width: 550px;
    margin: 0 auto 2.5rem;
}

.btn-glass {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--green-700);
    transition: all 0.3s ease;
    box-shadow: var(--glass-shadow),
                inset 0 1px 0 rgba(255,255,255,0.8);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12),
                inset 0 1px 0 rgba(255,255,255,0.9);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--green-400), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   SECTIONS COMMON
   ============================================ */

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-600);
    background: var(--green-100);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ============================================
   PORTFOLIO
   ============================================ */

.portfolio {
    padding: 8rem 2rem;
    background: var(--white);
}

.portfolio-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.portfolio-item.portfolio-large {
    grid-column: span 2;
}

.glass-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow),
                inset 0 1px 0 rgba(255,255,255,0.6);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12),
                inset 0 1px 0 rgba(255,255,255,0.8);
}

.glass-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-large .glass-card img {
    height: 400px;
}

.glass-card:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glass-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay span {
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
}

/* ============================================
   OFFRE
   ============================================ */

.offre {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, var(--white) 0%, var(--green-50) 100%);
}

.offre-comparison {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.glass-card-subtle {
    height: 100%;
    padding: 3rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.glass-card-green {
    height: 100%;
    padding: 3rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(240, 253, 244, 0.8), rgba(220, 252, 231, 0.6));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(134, 239, 172, 0.4);
    box-shadow: 0 8px 32px rgba(34, 197, 94, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.offre-col h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--gray-800);
}

.offre-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.offre-col li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--gray-600);
}

.icon-x {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-400);
    font-size: 0.75rem;
    font-weight: 700;
}

.icon-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--green-100);
    color: var(--green-600);
    font-size: 0.75rem;
    font-weight: 700;
}

/* ============================================
   PRICING
   ============================================ */

.pricing {
    padding: 8rem 2rem;
    background: var(--green-50);
    display: flex;
    justify-content: center;
}

.glass-card-premium {
    max-width: 640px;
    width: 100%;
    padding: 3.5rem;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255,255,255,0.75), rgba(240,253,244,0.5));
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08),
                0 0 0 1px rgba(134, 239, 172, 0.2),
                inset 0 1px 0 rgba(255,255,255,0.9);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.glass-card-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(134, 239, 172, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.pricing-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-700);
    background: var(--green-100);
    padding: 0.4rem 1.2rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.pricing-card h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.pricing-desc {
    color: var(--gray-500);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--green-100);
    color: var(--green-600);
}

.pricing-features strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.pricing-features span {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.btn-glass-lg {
    display: inline-block;
    padding: 1.1rem 2.8rem;
    background: var(--green-600);
    color: var(--white);
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.3);
}

.btn-glass-lg:hover {
    background: var(--green-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.4);
}

/* ============================================
   ARGUMENTS
   ============================================ */

.arguments {
    padding: 8rem 2rem;
    background: var(--white);
}

.arguments-grid {
    max-width: 1100px;
    margin: 0 auto 5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.glass-card-arg {
    height: 100%;
    padding: 2.5rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow),
                inset 0 1px 0 rgba(255,255,255,0.8);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s ease;
}

.glass-card-arg:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255,255,255,0.9);
}

.arg-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--green-200);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.glass-card-arg h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.glass-card-arg p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* STATS BAR */

.stats-bar {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.glass-card-stat {
    text-align: center;
    padding: 2.5rem;
    flex: 1;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--green-600);
    line-height: 1;
    display: inline;
}

.stat-unit {
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-600);
    margin-top: -0.5rem;
}

.stat p {
    font-size: 1rem;
    color: var(--gray-600);
    margin-top: 0.75rem;
    line-height: 1.5;
    max-width: 280px;
}

.stat-source {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-top: 0.5rem;
    font-style: italic;
}

.stat-divider {
    width: 1px;
    height: 80px;
    background: var(--gray-200);
    flex-shrink: 0;
}

/* ============================================
   CTA FINAL
   ============================================ */

.cta-final {
    padding: 8rem 2rem;
    background: linear-gradient(160deg, var(--green-50), var(--green-100));
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.footer-info {
    display: flex;
    gap: 4rem;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--gray-500);
}

.footer-col a {
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--green-400);
}

.footer-bottom {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }

    .portfolio-item.portfolio-large {
        grid-column: span 2;
    }

    .offre-comparison {
        grid-template-columns: 1fr;
    }

    .arguments-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .stats-bar {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-info {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-item.portfolio-large {
        grid-column: span 1;
    }

    .portfolio-large .glass-card img,
    .glass-card img {
        height: 240px;
    }

    .glass-card-premium {
        padding: 2rem;
    }

    .glass-card-subtle,
    .glass-card-green {
        padding: 2rem;
    }

    .footer-info {
        flex-direction: column;
        gap: 2rem;
    }
}
