/* css/style.css */
/* Variables de couleurs - Palette professionnelle */
:root {
    --primary: #1a365d; /* Bleu marine professionnel */
    --secondary: #e53e3e; /* Rouge vif pour accents */
    --accent: #38b2ac; /* Turquoise pour éléments interactifs */
    --light: #f7fafc; /* Fond clair */
    --dark: #2d3748; /* Texte foncé */
    --gray: #a0aec0; /* Texte secondaire */
    --border: #e2e8f0; /* Bordures */
    --shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header et navigation */
.header {
    background-color: white;
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-primary {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
}

.logo-secondary {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--secondary);
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--dark);
    padding: 5px 0;
    position: relative;
}

.nav-link:hover {
    color: var(--secondary);
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-icon {
    position: relative;
    font-size: 1.2rem;
    color: var(--primary);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--secondary);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-login {
    background-color: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 500;
}

.btn-login:hover {
    background-color: #2d4a7c;
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background-color: white;
    padding: 20px;
    border-top: 1px solid var(--border);
}

.mobile-nav-list li {
    margin-bottom: 15px;
}

.mobile-nav-list a {
    display: block;
    padding: 10px 0;
    font-weight: 500;
}

/* Hero section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 0;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.hero-title .highlight {
    color: var(--secondary);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--shadow);
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--secondary);
    color: white;
}

.btn-primary:hover {
    background-color: #c53030;
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--accent);
    color: white;
}

.btn-secondary:hover {
    background-color: #2c9c97;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-service {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 500;
}

.btn-service:hover {
    color: var(--primary);
    gap: 12px;
}

/* Section Services */
.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
}

.services-section {
    padding: 60px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(56, 178, 172, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--accent);
}

.service-title {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-description {
    color: var(--dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Section About preview */
.about-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 0;
    gap: 40px;
}

.about-content {
    flex: 2;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark);
    margin-bottom: 25px;
    max-width: 700px;
}

.about-badge {
    flex: 1;
    display: flex;
    justify-content: center;
}

.badge-content {
    background-color: var(--primary);
    color: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 20px var(--shadow);
    min-width: 200px;
}

.badge-state {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.badge-year {
    font-size: 1rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: white;
    padding-top: 50px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-subtitle {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.footer-column-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    opacity: 0.8;
}

.footer-list a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-email {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-preview {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}