/* Style général pour Enixo */
:root {
    /* Couleur principale - identité de la marque, boutons, titres */
    --primary-color: #3498db; /* Bleu principal */
    --primary-dark: #2980b9; /* Version plus foncée du bleu principal */
    --gradient-primary: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    
    /* Couleur secondaire - complément, icônes, fonds légers */
    --secondary-color: #2c3e50;
    --secondary-light: #34495e;
    --gradient-secondary: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    
    /* Couleur d'accent - CTA, alertes, promo */
    --accent-color: #e74c3c;
    --accent-dark: #c0392b;
    --gradient-accent: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    
    /* Couleur verte standardisée pour les textes */
    --green-color: #2ecc71; /* Vert émeraude */
    --green-dark: #27ae60; /* Vert foncé */
    
    /* Neutres */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #495057;
    --dark-color: #333333;
    
    /* Ombres */
    --box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    --box-shadow-hover: 0 8px 25px rgba(0,0,0,0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    background-color: var(--white);
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--secondary-color);
}

h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

h4 {
    color: var(--dark-gray);
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary-color);
}

section {
    padding: 4rem 0;
}

/* Skip link pour accessibilité */
.skip-link a {
    position: absolute;
    left: -9999px;
    top: 1em;
    z-index: 999;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px;
}

.skip-link a:focus {
    left: 1em;
}

/* Amélioration de la lisibilité générale */
p, li, td, th, label, input, textarea, select {
    line-height: 1.6;
}

/* Pour améliorer la lisibilité sur mobile */
@media (max-width: 480px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    body {
        font-size: 15px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    p {
        margin-bottom: 15px;
    }
    
    .cta {
        padding: 40px 0;
    }
    
    .btn-primary {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .footer-top {
        padding: 30px 0;
    }
}

/* Header et Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 2px solid #2ecc71;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo img {
    height: 50px;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
}

.desktop-nav ul li {
    margin-left: 2rem;
}

.desktop-nav ul li a {
    font-weight: 500;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    background-color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav ul li {
    padding: 0.8rem 2rem;
}

.mobile-nav ul li a {
    display: block;
    font-weight: 500;
}

/* Section Hero */
.hero {
    background-image: url('../images/hero-bg.svg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 3.2rem;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 255, 255, 0.3);
    color: white;
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 1.3rem;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
}

/* Section Services */
.services {
    text-align: center;
    padding: 5rem 0;
    background-image: url('../images/services-bg.svg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.services h2 {
    margin-bottom: 1.5rem;
}

.services p {
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Section Offerings */
.offerings {
    background-color: var(--light-gray);
    text-align: center;
    padding: 5rem 0;
}

.offerings h2 {
    margin-bottom: 1.5rem;
}

.offerings p {
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.offering-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: left;
}

.offering-card h5 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Section Testimonials */
.testimonials {
    text-align: center;
    padding: 5rem 0;
    background-image: url('../images/testimonials-bg.svg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.testimonials h2 {
    margin-bottom: 1.5rem;
}

.testimonials p {
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: left;
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    position: relative;
    margin-bottom: 0;
}

.testimonial-content p::before,
.testimonial-content p::after {
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.5;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
}

.author-info h4 {
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Section CTA */
.cta {
    text-align: center;
    background-color: var(--secondary-color);
    background-image: var(--gradient-secondary);
    color: var(--white);
    padding: 5rem 0;
}

.cta h2 {
    color: var(--white);
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent-color);
    background-image: var(--gradient-accent);
    color: var(--white);
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1.5rem;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(231, 76, 60, 0.4);
}

/* Footer */
footer {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--secondary-color);
    background-image: var(--gradient-secondary);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.contact-info h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border-radius: 50%;
    color: var(--dark-gray);
    font-size: 1.2rem;
    transition: background-color 0.3s, color 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.footer-nav {
    margin-bottom: 2rem;
}

.footer-nav ul {
    display: flex;
    list-style: none;
}

.footer-nav ul li {
    margin-right: 2rem;
}

.footer-nav ul li a {
    color: var(--white);
}

.footer-nav ul li a:hover {
    color: var(--accent-color);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.copyright a {
    color: var(--white);
}

.copyright a:hover {
    color: var(--accent-color);
}

/* Animations */
.service-card,
.offering-card,
.testimonial-card,
.team-member {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease, transform 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--box-shadow);
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

section {
    opacity: 1;
    transform: none;
}

.section-visible {
    opacity: 1;
    transform: none;
}

.btn-primary,
.btn-secondary {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .services-grid,
    .offerings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
        line-height: 1.3;
    }
    .hero p {
        font-size: 18px;
        line-height: 1.5;
    }
    .services-grid,
    .offering-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .footer-top {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    h2 {
        font-size: 28px;
        line-height: 1.3;
    }
    p {
        font-size: 16px;
        line-height: 1.6;
    }
    .contact-info {
        width: 100%;
        text-align: center;
    }
    .contact-methods {
        flex-direction: column;
    }
    .contact-method {
        width: 100%;
        margin-bottom: 20px;
    }
    .btn-primary {
        padding: 12px 24px;
        font-size: 16px;
    }
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-nav.active {
        display: block;
    }
    
    .services-grid,
    .offerings-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-nav ul {
        flex-wrap: wrap;
    }
    
    .footer-nav ul li {
        margin-right: 1rem;
        margin-bottom: 1rem;
    }
}
