/* Reset et variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-navy: #002c54;
    --color-green: #10b981;
    --color-green-dark: #059669;
    --color-yellow: #fbbf24;
    --color-blue: #3b82f6;
    --color-pink: #ec4899;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-700: #374151;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: white;
    border-bottom: 1px solid var(--color-gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Menu hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    width: 24px;
    height: 3px;
    background-color: var(--color-navy);
    transition: all 0.3s;
}

/* Navigation */
.nav {
    display: flex;
    gap: 24px;
}

.nav-link {
    color: var(--color-navy);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--color-green);
}

/* Bouton téléphone */
.btn-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: var(--color-green);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.3);
}

.btn-phone:hover {
    background-color: var(--color-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(16, 185, 129, 0.4);
}

/* Section Hero */
.hero-section {
    padding: 60px 0;
    background-color: white;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Formulaire */
.form-card {
    background-color: var(--color-gray-50);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--color-gray-200);
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-green);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
}

.btn-submit {
    padding: 14px 40px;
    background-color: var(--color-green);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.btn-submit:hover {
    background-color: var(--color-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

/* Section Mission */
.mission-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--color-green) 0%, #059669 100%);
    color: white;
}

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

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.mission-text {
    font-size: 18px;
    line-height: 1.8;
}

/* Section Pourquoi Choisir */
.why-section {
    padding: 80px 0;
    background-color: white;
}

.why-section .section-title {
    text-align: center;
    color: var(--color-navy);
    margin-bottom: 60px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.benefit-card {
    border-radius: 24px;
    padding: 32px;
    min-height: 280px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.benefit-card:hover {
    transform: translateY(-8px);
}

.card-yellow {
    background-color: var(--color-yellow);
    color: #78350f;
}

.card-blue {
    background-color: var(--color-blue);
    color: white;
}

.card-green {
    background-color: var(--color-green);
    color: white;
}

.card-pink {
    background-color: var(--color-pink);
    color: white;
}

.card-number {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-navy);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card-text {
    margin-top: 48px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
}

.card-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

.card-icon {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 24px;
}

/* Icônes carte 1 */
.icon-circle {
    width: 64px;
    height: 64px;
    background-color: rgba(217, 119, 6, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-right: 8px;
}

.icon-box {
    width: 48px;
    height: 48px;
    background-color: rgba(217, 119, 6, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* Icônes carte 2 */
.icon-document {
    width: 80px;
    height: 96px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
}

.doc-line {
    height: 6px;
    background-color: var(--color-blue);
    border-radius: 3px;
    margin-bottom: 8px;
}

.doc-line.short {
    width: 75%;
}

.icon-clock {
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Icône carte 3 */
.icon-wave {
    font-size: 64px;
}

/* Icône carte 4 */
.icon-lock {
    width: 80px;
    height: 96px;
    background-color: var(--color-yellow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.trust-section {
    text-align: center;
}

.trust-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-navy);
}

/* Footer */
.footer {
    background-color: var(--color-navy);
    color: white;
    padding: 48px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

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

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

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

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

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

.copyright {
    font-size: 14px;
    color: var(--color-gray-300);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--color-gray-300);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

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

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

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--color-gray-200);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        display: flex;
    }

    .nav-link {
        padding: 12px 0;
    }

    .phone-number {
        display: none;
    }

    .btn-phone {
        padding: 12px 16px;
    }

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

    .hero-title {
        font-size: 32px;
    }

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

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

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

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

    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }
}

@media (min-width: 640px) {
    .phone-number {
        display: inline;
    }
}
