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

:root {
    --primary-color: #0f172a;
    --secondary-color: #1e40af;
    --accent-color: #dc2626;
    --text-dark: #1e293b;
    --text-medium: #475569;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #059669;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.65;
    color: var(--text-dark);
    background-color: var(--bg-white);
    font-size: 16px;
}

/* Header */
header {
    background: var(--primary-color);
    color: white;
    padding: 1.25rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.logo-section {
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1;
}

.tagline {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.urgence-contact {
    background: var(--accent-color);
    padding: 1rem 1.75rem;
    border-radius: 6px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
    animation: pulseAlert 2.5s infinite;
}

@keyframes pulseAlert {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.urgence-contact a {
    color: white;
    text-decoration: none;
    font-size: 1.05rem;
}

/* Navigation */
nav {
    background: var(--bg-white);
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 88px;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.nav-container a {
    padding: 1.1rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    position: relative;
}

.nav-container a:hover,
.nav-container a.active {
    color: var(--secondary-color);
    background: var(--bg-light);
    border-bottom-color: var(--secondary-color);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: #ffffff;
    font-weight: 400;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 1.35rem 3.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.15rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

.price-highlight {
    display: inline-block;
    margin-top: 2rem;
    background: rgba(255,255,255,0.15);
    padding: 1.25rem 2.5rem;
    border-radius: 100px;
    font-size: 1.75rem;
    font-weight: 800;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Sections */
section {
    margin-bottom: 4rem;
}

h2 {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 1.75rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

h3 {
    font-size: 1.65rem;
    color: var(--text-dark);
    margin: 2.5rem 0 1.25rem;
    font-weight: 700;
}

h4 {
    font-size: 1.35rem;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.25rem;
    color: var(--text-medium);
    font-size: 1.05rem;
    line-height: 1.75;
}

ul, ol {
    margin: 1.25rem 0 1.75rem 2.5rem;
    color: var(--text-medium);
}

li {
    margin-bottom: 1rem;
    line-height: 1.75;
    padding-left: 0.5rem;
}

strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Grid System */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

/* Cards */
.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--secondary-color);
    transform: scaleY(0);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.feature-card:hover::before {
    transform: scaleY(1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    display: block;
}

.feature-card h3 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Alert Boxes */
.alert-box {
    background: var(--bg-light);
    border-left: 5px solid var(--secondary-color);
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.alert-box.warning {
    border-left-color: var(--accent-color);
    background: #fef2f2;
}

.alert-box.success {
    border-left-color: var(--success-color);
    background: #f0fdf4;
}

.alert-box strong {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.alert-box.warning strong {
    color: var(--accent-color);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2.5rem 0;
    background: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    border-radius: 8px;
    overflow: hidden;
}

thead {
    background: var(--primary-color);
}

th {
    color: white;
    padding: 1.25rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

td {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-medium);
}

tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: var(--bg-light);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    margin: 5rem 0;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.cta-section h2 {
    color: white;
    padding-bottom: 0;
}

.cta-section h2::after {
    background: white;
    left: 50%;
    transform: translateX(-50%);
}

.cta-section p {
    color: white !important;
}

.cta-section .cta-button {
    margin-top: 1rem;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.step {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    position: relative;
    text-align: center;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.step h4 {
    margin-top: 1.5rem;
    color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 4rem 2rem 2rem;
}

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

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

.footer-section h3 {
    color: white;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.35rem;
}

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

.footer-links li {
    margin-bottom: 0.875rem;
}

.footer-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.15);
    margin: 2rem 0;
}

.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
}

.footer-partners {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.footer-partners a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.footer-partners a:hover {
    color: white;
}

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

    .hero-subtitle {
        font-size: 1.15rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .nav-container {
        flex-direction: column;
        padding: 0;
    }

    .nav-container a {
        padding: 1rem 1.5rem;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        border-left: 3px solid transparent;
    }

    .nav-container a:hover,
    .nav-container a.active {
        border-bottom-color: var(--border-color);
        border-left-color: var(--secondary-color);
    }

    nav {
        position: relative;
        top: 0;
    }

    .price-highlight {
        font-size: 1.35rem;
    }

    table {
        font-size: 0.9rem;
    }

    th, td {
        padding: 1rem 0.75rem;
    }

    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .container {
        padding: 3rem 1.5rem;
    }

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

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

@media (max-width: 480px) {
    .hero {
        padding: 3rem 1.5rem;
    }

    .cta-button {
        padding: 1.15rem 2.5rem;
        font-size: 1rem;
    }
}
