/* ===================================
   VARIABLES CSS - MODERN DESIGN
   =================================== */
:root {
    /* Couleurs Modernes - Thème MonVoisin */
    --primary-color: #10B981;
    --primary-dark: #059669;
    --primary-light: #34D399;
    --secondary-color: #3B82F6;
    --secondary-dark: #2563EB;
    --accent-color: #F59E0B;
    --accent-pink: #EC4899;
    --text-primary: #0F172A;
    --text-secondary: #64748B;
    --text-muted: #94A3B8;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;
    
    /* Gradients Modernes */
    --gradient-primary: linear-gradient(135deg, #10B981 0%, #3B82F6 100%);
    --gradient-hero: linear-gradient(135deg, #10B981 0%, #059669 50%, #047857 100%);
    --gradient-sunset: linear-gradient(135deg, #F59E0B 0%, #F97316 50%, #EF4444 100%);
    --gradient-ocean: linear-gradient(135deg, #06B6D4 0%, #3B82F6 50%, #10B981 100%);
    --gradient-forest: linear-gradient(135deg, #10B981 0%, #059669 50%, #047857 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.3) 100%);
    
    /* Shadows Modernes */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-2xl: 0 35px 60px -15px rgba(0, 0, 0, 0.3);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 15px rgba(16, 185, 129, 0.5);
    --shadow-glow-lg: 0 0 30px rgba(16, 185, 129, 0.6);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typographie Moderne */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 { 
    font-size: clamp(2.5rem, 5vw, 4rem); 
    font-weight: 800;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
h2 { 
    font-size: clamp(2rem, 4vw, 3rem); 
    font-weight: 700;
}
h3 { 
    font-size: clamp(1.5rem, 3vw, 2rem); 
    font-weight: 600;
}
h4 { 
    font-size: clamp(1.25rem, 2.5vw, 1.5rem); 
    font-weight: 600;
}

p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

a:hover {
    color: var(--primary-dark);
}

a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Effet de scroll parallax */
[data-scroll] {
    transition: var(--transition-slow);
}

/* Selection styling */
::selection {
    background: var(--primary-color);
    color: white;
}

/* ===================================
   NAVIGATION - MODERN CLEAN
   =================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    z-index: 1000;
    transition: var(--transition);
}

nav.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: var(--transition);
    cursor: pointer;
}

.logo:hover {
    opacity: 0.8;
}

.logo-image {
    width: 70px;
    height: 70px;
    object-fit: contain;
    transition: var(--transition);
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-menu li {
    list-style: none;
}

.nav-menu li a {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
    text-decoration: none;
    display: block;
}

.nav-menu li a:hover {
    color: var(--primary-color);
    background: rgba(16, 185, 129, 0.1);
    transform: translateY(-2px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Menu Légal Button */
.legal-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 8px 10px;
    transition: var(--transition);
}

.legal-menu-btn:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

.legal-menu-btn span {
    width: 20px;
    height: 2px;
    background: var(--primary-color);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.legal-menu-btn:hover span {
    background: white;
}

.legal-menu-btn.active {
    background: var(--primary-color);
}

.legal-menu-btn.active span {
    background: white;
}

/* Menu Légal Dropdown */
.legal-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    margin-top: 0.5rem;
    margin-right: var(--spacing-lg);
}

.legal-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.legal-menu-content {
    padding: 1.5rem;
}

.legal-menu-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
}

.legal-menu-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legal-menu-content li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    text-decoration: none;
}

.legal-menu-content li a:hover {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* ===================================
   HAMBURGER MENU - MODERN
   =================================== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: var(--transition);
}

.hamburger:hover {
    transform: scale(1.1);
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
    background: var(--primary-color);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: var(--primary-color);
}

/* ===================================
   HERO SECTION - PRODUCT LAYOUT
   =================================== */
.hero {
    padding: 132px var(--spacing-lg) 72px;
    background:
        radial-gradient(circle at top left, rgba(52, 211, 153, 0.22), transparent 28%),
        radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.18), transparent 30%),
        linear-gradient(180deg, #f7fffc 0%, #eefbf5 48%, #ffffff 100%);
    min-height: 78vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    background-image: linear-gradient(rgba(15, 23, 42, 0.025) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
    background-size: 36px 36px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 92%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 92%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 440px);
    gap: 3rem;
    align-items: center;
}

.hero-content {
    width: 100%;
    max-width: 680px;
}

.hero-copy-frame {
    margin-bottom: 1.5rem;
    padding: 1.4rem 1.5rem 1.55rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(16, 185, 129, 0.16);
    border-radius: 30px;
    box-shadow: 0 20px 50px -32px rgba(15, 23, 42, 0.32);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(16, 185, 129, 0.18);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.hero-eyebrow-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gradient-primary);
    flex-shrink: 0;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.2rem);
    font-weight: 900;
    margin-bottom: 1.25rem;
    line-height: 0.98;
    letter-spacing: -0.045em;
    color: var(--text-primary);
    background: none;
    -webkit-text-fill-color: initial;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hero-subtitle {
    font-size: clamp(1.08rem, 2vw, 1.3rem);
    margin-bottom: 0;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 58ch;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.hero-stat {
    padding: 1rem 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.hero-stat strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.hero-stat span {
    display: block;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.hero-preview {
    position: relative;
    min-height: 520px;
}

.hero-preview-card {
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 32px 80px -40px rgba(15, 23, 42, 0.4);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.hero-preview-main {
    position: relative;
    padding: 1rem 1rem 1.2rem;
    min-height: 430px;
}

.hero-phone-frame {
    max-width: 360px;
    margin-left: auto;
    border-radius: 36px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.92));
    overflow: hidden;
}

.hero-phone-sensor {
    width: 96px;
    height: 16px;
    margin: 0.1rem auto 0.55rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
}

.hero-phone-statusbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0 0.4rem;
    color: var(--text-primary);
    font-size: 0.78rem;
    font-weight: 700;
}

.hero-preview-topbar {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}

.hero-preview-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 18px;
    padding: 0.45rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(240, 253, 244, 0.92));
    box-shadow: var(--shadow-sm);
}

.hero-preview-label {
    margin: 0 0 0.2rem;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-preview-topbar strong {
    color: var(--text-primary);
    font-size: 1.05rem;
}

.hero-preview-feed {
    display: grid;
    gap: 1rem;
    padding: 0.35rem 0 0.95rem;
}

.hero-chip {
    display: inline-flex;
    width: fit-content;
    padding: 0.55rem 0.85rem;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.12);
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 700;
}

.hero-message {
    padding: 1.15rem;
    border-radius: 22px;
}

.hero-message-title {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-primary);
}

.hero-message p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

.hero-message-primary {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(52, 211, 153, 0.08));
}

.hero-message-soft {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.11), rgba(255, 255, 255, 0.9));
}

.hero-message-neutral {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.06), rgba(255, 255, 255, 0.92));
}

.hero-phone-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 0.35rem;
    padding: 0.75rem 0.35rem 0.2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.hero-phone-nav-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: 14px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.6);
}

.hero-phone-nav-item.active {
    color: var(--primary-dark);
    background: rgba(16, 185, 129, 0.12);
}

.hero-preview-floating {
    position: absolute;
    padding: 1rem 1.1rem;
    max-width: 240px;
}

.hero-preview-floating strong {
    display: block;
    color: var(--text-primary);
    line-height: 1.35;
}

.hero-preview-floating p {
    margin: 0.35rem 0 0;
    font-size: 0.88rem;
    line-height: 1.6;
}

.hero-preview-floating-top {
    top: -18px;
    right: -18px;
}

.hero-preview-floating-bottom {
    left: -18px;
    bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.hero-floating-kicker {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero-floating-dot {
    width: 12px;
    height: 12px;
    margin-top: 0.35rem;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.12);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   BUTTONS - MODERN DESIGN
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    transition: var(--transition-bounce);
    cursor: pointer;
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-sunset);
    color: white;
    box-shadow: var(--shadow-md);
    position: relative;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.4);
}

.btn-primary:active {
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(16, 185, 129, 0.2);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.btn-secondary:active {
    transform: translateY(-2px);
}

/* ===================================
   FEATURES SECTION - 3D CARDS
   =================================== */
.features {
    padding: 120px var(--spacing-lg);
    background: var(--bg-secondary);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-hero);
    border-radius: var(--radius-full);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 5rem;
}

.feature-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition-slow);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

/* Effet de bordure gradient au hover */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: var(--gradient-hero);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

/* Effet de brillance au hover */
.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: var(--transition-slow);
}

.feature-card:hover::after {
    left: 100%;
}

.feature-icon {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 10px rgba(16, 185, 129, 0.3));
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotateY(360deg);
    filter: drop-shadow(0 8px 20px rgba(16, 185, 129, 0.5));
}

.feature-card h3 {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===================================
   BENEFITS SECTION - GLASSMORPHISM
   =================================== */
.benefits {
    padding: 120px var(--spacing-lg);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    top: -300px;
    right: -300px;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.benefits-list {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.benefit-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem 2.5rem;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-hero);
    transform: scaleY(0);
    transition: var(--transition);
}

.benefit-item:hover::before {
    transform: scaleY(1);
}

.benefit-item:hover {
    transform: translateX(15px);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.9);
}

.checkmark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border-radius: 12px;
    transition: var(--transition);
}

.checkmark svg {
    width: 36px;
    height: 36px;
    stroke: #10b981;
    stroke-width: 2.5;
    transition: var(--transition);
}

.benefit-item:hover .checkmark {
    transform: scale(1.2) rotate(10deg);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2));
}

.benefit-item:hover .checkmark svg {
    stroke: #059669;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.6));
}

.benefit-item h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.benefit-item p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
}

/* ===================================
   DOWNLOAD SECTION - ELEGANT
   =================================== */
.download {
    padding: 120px var(--spacing-lg);
    text-align: center;
    background: white;
    position: relative;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: var(--gradient-hero);
    border-radius: var(--radius-full);
}

.download-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 2.5rem;
    background: var(--text-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.store-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    transition: var(--transition-slow);
}

.store-button:hover::before {
    left: 0;
}

.store-button:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-2xl);
}

.store-button.disabled {
    background: var(--bg-tertiary);
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
}

.store-button.disabled:hover {
    transform: none;
    box-shadow: var(--shadow-md);
}

.store-button.disabled::before {
    display: none;
}

.store-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.store-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary);
}

.store-button:hover .store-icon {
    transform: scale(1.1);
}

.store-button:hover .store-icon svg {
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.5));
}

.store-button div {
    text-align: left;
    position: relative;
    z-index: 1;
}

.store-button small {
    display: block;
    font-size: 0.9rem;
    opacity: 0.85;
    font-weight: 400;
}

.store-button strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 0.25rem;
}

/* ===================================
   CONTACT SECTION - MODERN FORM
   =================================== */
.contact {
    padding: var(--spacing-2xl) var(--spacing-lg);
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: var(--gradient-primary);
    opacity: 0.03;
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.contact-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: -0.5rem auto 3rem;
    max-width: 600px;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto 3rem;
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #E2E8F0;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    background: white;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 2rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.2rem;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-status.success {
    display: block;
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #34D399;
}

.form-status.error {
    display: block;
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #F87171;
}

.contact-info {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-note {
    background: linear-gradient(135deg, #DBEAFE 0%, #E0F2FE 100%);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.contact-email {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-email a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.contact-email a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ===================================
   FOOTER - MODERN & ELEGANT
   =================================== */
footer {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    color: white;
    padding: 60px var(--spacing-lg) 40px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.5), transparent);
}

.footer-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo a {
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 800;
    transition: var(--transition);
}

.footer-logo a:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.6));
}

.footer-links {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.footer-links a:hover::after {
    width: 80%;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-tagline {
    font-style: italic;
    opacity: 0.7;
    margin-top: 0.75rem;
    font-size: 0.9rem;
}

/* ===================================
   LEGAL PAGES - MODERN LAYOUT
   =================================== */
.legal-page {
    padding: 140px var(--spacing-lg) 100px;
    max-width: 1000px;
    margin: 0 auto;
}

.legal-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                var(--gradient-hero) border-box;
    border-image: var(--gradient-hero) 1;
    position: relative;
}

.legal-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-hero);
    border-radius: var(--radius-full);
}

.legal-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 900;
}

.update-date {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.95rem;
}

.legal-intro {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 4rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.legal-intro::before {
    content: '📋';
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 3rem;
    opacity: 0.1;
}

/* Table des matières - Version statique améliorée */
.toc {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 4rem;
    border: 1px solid var(--bg-tertiary);
    position: relative;
}

.toc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-hero);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.toc h2 {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.toc ol {
    counter-reset: toc-counter;
    list-style: none;
    display: grid;
    gap: 1rem;
}

.toc li {
    counter-increment: toc-counter;
    padding-left: 2rem;
    position: relative;
}

.toc li::before {
    content: counter(toc-counter);
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--gradient-hero);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
}

.toc a {
    color: var(--text-primary);
    transition: var(--transition);
    font-weight: 500;
    display: inline-block;
}

.toc a:hover {
    color: var(--primary-color);
    transform: translateX(8px);
}

/* Sections légales */
.legal-section {
    margin-bottom: 5rem;
    scroll-margin-top: 120px;
    animation: fadeInUp 0.6s ease-out;
}

.legal-section h2 {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-weight: 800;
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-hero);
    color: white;
    border-radius: 50%;
    font-size: 1.75rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
}

.legal-section:hover .section-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow-lg);
}

.legal-section h3 {
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    font-size: 1.4rem;
    font-weight: 700;
    position: relative;
    padding-left: 1.5rem;
}

.legal-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--gradient-hero);
    border-radius: var(--radius-full);
}

.legal-section p {
    line-height: 1.9;
    margin-bottom: 1.75rem;
    color: var(--text-secondary);
}

.legal-section ul,
.legal-section ol {
    margin-left: 2rem;
    margin-bottom: 2rem;
    list-style: none;
    position: relative;
}

.legal-section li {
    margin-bottom: 1rem;
    line-height: 1.9;
    padding-left: 2rem;
    position: relative;
}

.legal-section ul li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* Highlight section moderne */
.legal-section.highlight {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(5, 150, 105, 0.05) 100%);
    padding: 3.5rem;
    border-radius: var(--radius-xl);
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.legal-section.highlight::before {
    content: '⚠️';
    position: absolute;
    right: 30px;
    top: 30px;
    font-size: 4rem;
    opacity: 0.1;
}

.important-notice {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    margin: 2.5rem 0;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--bg-tertiary);
}

.important-notice h3 {
    color: var(--accent-color);
    margin-top: 0;
    font-size: 1.4rem;
}

.data-protection,
.permission-revoke {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    margin: 2.5rem 0;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
}

/* Listes stylées modernes */
.check-list {
    list-style: none;
}

.check-list li::before {
    content: '✅ ';
    margin-right: 12px;
    font-size: 1.1em;
}

.cross-list {
    list-style: none;
}

.cross-list li::before {
    content: '❌ ';
    margin-right: 12px;
    font-size: 1.1em;
}

/* Catégories de données */
.data-category {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    margin: 2.5rem 0;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--primary-color);
}

.data-category h3 {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0;
}

/* Grilles modernes */
.usage-list,
.sharing-policy {
    display: grid;
    gap: 2.5rem;
    margin: 2.5rem 0;
}

.yes-sharing,
.no-sharing {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid currentColor;
    transition: var(--transition);
}

.yes-sharing {
    border-color: var(--secondary-color);
}

.yes-sharing:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.yes-sharing h3 {
    color: var(--secondary-color);
}

.no-sharing {
    border-color: var(--accent-color);
}

.no-sharing:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.no-sharing h3 {
    color: var(--accent-color);
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.right-item {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    box-shadow: var(--shadow);
    border-top: 3px solid var(--primary-color);
}

.right-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.right-item h3 {
    margin-top: 0;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Tableaux modernes */
.retention-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 3rem 0;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.retention-table th,
.retention-table td {
    padding: 1.75rem;
    text-align: left;
    border-bottom: 1px solid var(--bg-tertiary);
}

.retention-table th {
    background: var(--gradient-hero);
    color: white;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.retention-table tr {
    transition: var(--transition);
}

.retention-table tbody tr:hover {
    background: var(--bg-secondary);
    transform: scale(1.01);
}

.retention-table tbody tr:last-child td {
    border-bottom: none;
}

/* Contact et security grids */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.contact-item {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 3px solid var(--primary-color);
}

.contact-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.contact-item h3 {
    margin-top: 0;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.response-time {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1.25rem;
    font-style: italic;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.security-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.security-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.security-item h3 {
    margin-top: 0;
    font-weight: 700;
}

/* Notifications et encadrés spéciaux modernes */
.rights-exercise,
.reclamation,
.breach-notification,
.notification-changes,
.cookies-policy,
.liability-warning,
.disclaimers,
.usage-rules,
.prohibited-content,
.sanctions,
.contact-info,
.mediation,
.ip-notice {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    margin: 2.5rem 0;
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.important-text {
    background: linear-gradient(135deg, #FFF3CD 0%, #FFF8DC 100%);
    padding: 2rem;
    border-radius: var(--radius-md);
    border-left: 5px solid #F59E0B;
    margin: 2.5rem 0;
    font-weight: 600;
    box-shadow: var(--shadow);
    position: relative;
}

.important-text::before {
    content: '⚡';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    opacity: 0.2;
}

.email-contact {
    font-size: 1.3rem;
    margin: 1.5rem 0;
    font-weight: 600;
    color: var(--primary-color);
}

/* Footer légal */
.legal-footer {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                var(--gradient-hero) border-box;
    border-image: var(--gradient-hero) 1;
    text-align: center;
    color: var(--text-secondary);
}

/* ===================================
   ANIMATIONS MODERNES
   =================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero .animate-on-scroll {
    opacity: 1;
    transform: none;
}

.animate-on-scroll.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Animations variées pour les éléments */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Effet de brillance sur hover pour les liens */
a.shine {
    position: relative;
    overflow: hidden;
}

a.shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition-slow);
}

a.shine:hover::after {
    left: 100%;
}

/* ===================================
   RESPONSIVE DESIGN - MOBILE FIRST
   =================================== */
@media (max-width: 768px) {
    /* Navigation mobile */
    .nav-menu {
        display: none;
    }

    .legal-menu-btn {
        display: flex;
    }

    .legal-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        margin: 0;
        border-radius: 0;
        max-width: 100%;
        width: 100%;
    }

    /* Hero mobile */
    .hero {
        padding: 112px var(--spacing-md) 56px;
        min-height: 0;
    }

    .hero-shell {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content {
        max-width: none;
    }

    .hero-copy-frame {
        padding: 1.15rem 1.1rem 1.2rem;
        border-radius: 24px;
    }

    .hero-eyebrow {
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.02;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-meta {
        grid-template-columns: 1fr;
    }

    .hero-preview {
        min-height: 0;
    }

    .hero-preview-main {
        min-height: 0;
    }

    .hero-phone-frame {
        max-width: none;
        margin-left: 0;
    }

    .hero-preview-floating {
        position: static;
        max-width: none;
        margin-top: 1rem;
    }

    .hero-preview-floating-bottom {
        align-items: center;
    }

    .btn {
        width: 100%;
        padding: 1.1rem 2rem;
        font-size: 1rem;
    }

    /* Typographie mobile */
    h1 { font-size: 2.25rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    /* Sections mobile */
    .features,
    .benefits,
    .download {
        padding: 80px var(--spacing-md);
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }

    .feature-card {
        padding: 2.5rem 2rem;
    }

    .benefit-item {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .download-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }

    .store-button {
        width: 100%;
        justify-content: center;
    }

    /* Pages légales mobile */
    .legal-page {
        padding: 120px var(--spacing-md) 80px;
    }

    .legal-header h1 {
        font-size: 2.25rem;
    }

    .toc {
        padding: 2rem 1.5rem;
    }

    .section-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .legal-section h2 {
        font-size: 1.75rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .rights-grid,
    .contact-grid,
    .security-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .legal-section.highlight {
        padding: 2.5rem 1.75rem;
    }

    .retention-table th,
    .retention-table td {
        padding: 1.25rem 1rem;
        font-size: 0.9rem;
    }

    /* Contact form mobile */
    .contact {
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .btn-submit {
        font-size: 1rem;
    }

    .contact-note {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }

    /* Footer mobile */
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Tablette */
@media (min-width: 769px) and (max-width: 1023px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rights-grid,
    .contact-grid,
    .security-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop large */
@media (min-width: 1024px) {
    .container {
        padding: 0 var(--spacing-2xl);
    }

    .nav-container {
        padding: 1.25rem var(--spacing-2xl);
    }

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

/* ===================================
   PRINT
   =================================== */
/* ===================================
   PRINT STYLES
   =================================== */
@media print {
    nav,
    footer,
    .hero-buttons,
    .download-buttons,
    .hamburger,
    .animate-on-scroll {
        display: none;
    }

    * {
        animation: none !important;
        transition: none !important;
    }

    .legal-page {
        padding: 20px;
    }

    .toc {
        position: static;
        page-break-after: always;
    }

    .legal-section {
        page-break-inside: avoid;
    }

    body {
        color: #000;
        background: #fff;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-gradient {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-glow {
    box-shadow: var(--shadow-glow);
}

.shadow-glow:hover {
    box-shadow: var(--shadow-glow-lg);
}

.glass {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
}

/* ===================================
   SUPPORT FORM - MODERN DESIGN
   =================================== */

.support-form-section {
    background: linear-gradient(135deg, #F0F9FF 0%, #F8FAFC 100%);
    padding: 3rem 2rem;
    border-radius: 16px;
    margin-top: 2rem;
}

.support-form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.support-form-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.support-form-header h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.support-form-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.support-form-container {
    max-width: 900px;
    margin: 0 auto;
}

.support-form {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    border: 1px solid rgba(74, 144, 226, 0.1);
    transition: all 0.3s ease;
}

.support-form:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .support-form {
        padding: 2rem 1.5rem;
    }
    
    .support-form-section {
        padding: 2rem 1rem;
    }
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.required {
    color: #EF4444;
    font-weight: bold;
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #64748B;
    line-height: 1.5;
    padding: 0.75rem;
    background: linear-gradient(135deg, #DBEAFE 0%, #E0F2FE 100%);
    border-radius: 8px;
    border-left: 3px solid #3B82F6;
}

.form-hint strong {
    color: #1E40AF;
}

.support-form .form-group input,
.support-form .form-group select,
.support-form .form-group textarea {
    border: 2px solid #E2E8F0;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.support-form .form-group input:hover,
.support-form .form-group select:hover,
.support-form .form-group textarea:hover {
    border-color: #CBD5E1;
}

.support-form .form-group input:focus,
.support-form .form-group select:focus,
.support-form .form-group textarea:focus {
    border-color: #4A90E2;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
    transform: translateY(-1px);
}

.support-form .btn-submit {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    border: none;
    color: white;
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    width: 100%;
    margin-top: 2rem;
}

.support-form .btn-submit:hover {
    background: linear-gradient(135deg, #357ABD 0%, #2868A8 100%);
    box-shadow: 0 6px 25px rgba(74, 144, 226, 0.4);
    transform: translateY(-3px);
}

.support-form .btn-submit:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(74, 144, 226, 0.3);
}

.support-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .support-info-cards {
        grid-template-columns: 1fr;
    }
}

.support-info-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.support-info-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: #4A90E2;
}

.support-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.support-info-card h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.support-info-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.support-info-card a {
    color: #4A90E2;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.support-info-card a:hover {
    color: #357ABD;
    text-decoration: underline;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
