/* Styles Globaux */
:root {
    --primary-color: #005F87; /* Bleu belge */
    --secondary-color: #FDDA24; /* Jaune belge */
    --accent-color: #E30613; /* Rouge accent */
    --light-color: #F5F5F5;
    --dark-color: #333333;
    --text-color: #222222;
    --text-light: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #FAFAFA;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

h1, h2, h3, h4 {
    margin-bottom: 1.2rem;
    line-height: 1.3;
    font-weight: 700;
}

h1 {
    font-size: 2.8rem;
    color: var(--primary-color);
}

h2 {
    font-size: 2.2rem;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    margin-bottom: 2.5rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* En-tête */
header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-color);
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

nav ul li a.active {
    color: var(--accent-color);
    font-weight: 600;
}

/* Section Hero */
.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: white;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 70px;
    position: relative;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 25px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero .cta-button {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    padding: 15px 40px;
    font-size: 1.1rem;
}

.hero .cta-button:hover {
    background-color: white;
}

/* Sections communes */
section {
    padding: 80px 0;
}

.benefits {
    text-align: center;
    background-color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.benefit-item {
    padding: 40px 25px;
    border-radius: 8px;
    background-color: var(--light-color);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.benefit-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    object-fit: contain;
}

.featured-products {
    background-color: var(--light-color);
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-align: left;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 0;
}

.product-card-content {
    padding: 25px;
}

.product-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.product-card p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.price {
    display: block;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
}

.testimonials {
    background-color: white;
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial {
    background: var(--light-color);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}

.testimonial:before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(0,95,135,0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.author {
    font-weight: 600;
    color: var(--primary-color);
}

.cta-section {
    padding: 100px 0;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
}

.cta-section h2 {
    color: white;
}

.cta-section h2:after {
    background-color: var(--secondary-color);
}

.cta-section .cta-button {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    margin-top: 30px;
}

.cta-section .cta-button:hover {
    background-color: white;
}

/* Pied de page */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.footer-col p, .footer-col a {
    color: #cccccc;
    margin-bottom: 12px;
    display: block;
}

.footer-col a:hover {
    color: white;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aaaaaa;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.4rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 15px 10px;
    }
    
    .hero {
        height: auto;
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .benefits-grid, .product-grid, .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 10px 25px;
    }
}