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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1e1e2f;
    background-color: #f9fafc;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    background: #0a2540;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}
.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active {
    color: #ffb74d;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #0a2540 0%, #1f4e6e 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-primary {
    background: #ffb74d;
    color: #0a2540;
}
.btn-primary:hover {
    background: #ffa01e;
    transform: translateY(-2px);
}
.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}
.btn-secondary:hover {
    background: white;
    color: #0a2540;
}

/* Features */
.features {
    padding: 4rem 0;
    background: white;
}
.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}
.features-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}
.feature {
    background: #f0f4f8;
    padding: 2rem;
    border-radius: 16px;
    width: 300px;
    text-align: center;
}
.feature h3 {
    margin-bottom: 0.5rem;
}

/* Page Header */
.page-header {
    background: #1f4e6e;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

/* Products */
.products-section {
    padding: 3rem 0;
}
.category {
    margin-bottom: 3rem;
}
.category h2 {
    font-size: 1.8rem;
    border-left: 5px solid #ffb74d;
    padding-left: 1rem;
    margin-bottom: 1rem;
}
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.8rem;
    list-style: none;
}
.product-list li {
    background: white;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: 0.2s;
}
.product-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Steps */
.steps {
    padding: 3rem 0;
}
.step {
    background: white;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.step-number {
    background: #0a2540;
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Contact Forms */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 3rem 0;
    justify-content: center;
}
.form-card {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.form-card h2 {
    margin-bottom: 1rem;
}
.form-card input, .form-card select, .form-card textarea {
    width: 100%;
    padding: 0.8rem;
    margin: 0.5rem 0;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-family: inherit;
}
.form-card button {
    background: #0a2540;
    color: white;
    border: none;
    padding: 0.8rem;
    width: 100%;
    border-radius: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.form-card button:hover {
    background: #ffb74d;
    color: #0a2540;
}
.alert {
    margin-top: 1rem;
    padding: 0.8rem;
    border-radius: 12px;
}
.alert-success {
    background: #d4edda;
    color: #155724;
}
.alert-error {
    background: #f8d7da;
    color: #721c24;
}

/* Footer */
footer {
    background: #0a2540;
    color: white;
    padding: 2rem 0 1rem;
    margin-top: 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}
.footer-grid ul {
    list-style: none;
}
.footer-grid a {
    color: #ccc;
    text-decoration: none;
}
.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #2c4c6e;
}

.logo-img {
    height: 50px;   /* Ajustez selon la hauteur désirée */
    width: auto;
    display: block;
}

/* Hamburger button styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Animation for open state */
.hamburger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile styles */
@media (max-width: 768px) {
    .navbar .container {
        position: relative;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0a2540;
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-links.active {
        max-height: 300px; /* suffisant pour 5 liens */
    }

    .nav-links li {
        text-align: center;
        padding: 0.8rem 0;
        width: 100%;
    }

    .nav-links li a {
        display: block;
        padding: 0.5rem;
    }
}

/* Desktop (default) */
@media (min-width: 769px) {
    .nav-links {
        display: flex !important;
        max-height: none !important;
        position: static;
        background: transparent;
        flex-direction: row;
        padding: 0;
    }
    .hamburger {
        display: none !important;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .step {
        flex-direction: column;
        text-align: center;
    }
}