/* ===========================================
   HACCP GLACIER PRO - STYLES COMMUNS
   Fichier partagé entre toutes les pages
   =========================================== */

:root {
    --primary: #0A1628;
    --secondary: #1E3A5F;
    --accent: #00D4AA;
    --accent-light: #00FFD4;
    --accent-blue: #4F7BF7;
    --accent-purple: #7B61FF;
    --accent-orange: #FF6B35;
    --accent-pink: #FF5C8D;
    --accent-yellow: #FFD93D;
    --accent-red: #FF4757;
    --white: #FFFFFF;
    --gray-100: #F8FAFC;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gradient-main: linear-gradient(135deg, #00D4AA 0%, #00A3FF 50%, #7B61FF 100%);
    --gradient-vendeur: linear-gradient(135deg, #FF6B35 0%, #FF5C8D 100%);
    --gradient-fabricant: linear-gradient(135deg, #4F7BF7 0%, #7B61FF 100%);
    --gradient-dark: linear-gradient(180deg, #0A1628 0%, #1E3A5F 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 60px rgba(0, 212, 170, 0.3);
    --shadow-glow-orange: 0 0 60px rgba(255, 107, 53, 0.3);
    --shadow-glow-blue: 0 0 60px rgba(79, 123, 247, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--primary);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-orange {
    background: var(--gradient-vendeur);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-blue {
    background: var(--gradient-fabricant);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===========================================
   BUTTONS
   =========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--white);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 212, 170, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(0, 212, 170, 0.4);
}

.btn-vendeur {
    background: var(--gradient-vendeur);
    color: var(--white);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(255, 107, 53, 0.2);
}

.btn-vendeur:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), var(--shadow-glow-orange);
}

.btn-fabricant {
    background: var(--gradient-fabricant);
    color: var(--white);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(79, 123, 247, 0.2);
}

.btn-fabricant:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl), var(--shadow-glow-blue);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--primary);
}

.btn-lg {
    padding: 20px 40px;
    font-size: 18px;
}

/* ===========================================
   NAVIGATION
   =========================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 24px;
    color: var(--white);
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-main);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--gray-300);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary);
    z-index: 999;
    padding: 100px 24px 40px;
    flex-direction: column;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu-links {
    list-style: none;
}

.mobile-menu-links li {
    margin-bottom: 20px;
}

.mobile-menu-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 32px;
    cursor: pointer;
}

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

.footer {
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 15px;
    line-height: 1.7;
    margin-top: 20px;
    max-width: 300px;
}

.footer-metiers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.footer-metier {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    color: var(--gray-400);
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
    color: var(--gray-500);
    font-size: 14px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--accent);
    color: var(--primary);
}

/* ===========================================
   SECTIONS COMMUNES
   =========================================== */

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

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 18px;
    color: var(--gray-400);
}

/* ===========================================
   FEATURE CARDS
   =========================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
    background: rgba(0, 212, 170, 0.15);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray-400);
    font-size: 15px;
    line-height: 1.7;
}

.feature-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 12px;
}

.badge-free { background: rgba(0, 212, 170, 0.2); color: var(--accent); }
.badge-new { background: rgba(123, 97, 255, 0.2); color: var(--accent-purple); }
.badge-ai { background: rgba(255, 107, 53, 0.2); color: var(--accent-orange); }
.badge-exclusive { background: rgba(255, 215, 0, 0.2); color: var(--accent-yellow); }

/* ===========================================
   CTA SECTION
   =========================================== */

.cta-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0, 212, 170, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.cta-box {
    background: linear-gradient(145deg, rgba(0, 212, 170, 0.1) 0%, rgba(123, 97, 255, 0.05) 100%);
    border: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: var(--radius-xl);
    padding: 80px;
    text-align: center;
    position: relative;
}

.cta-box h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 20px;
    color: var(--gray-300);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

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

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

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

    .cta-box {
        padding: 48px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
