/* Palette de couleurs simplifiée - noir, blanc et couleur accent */
:root {
    /* Couleurs thématiques principales - à modifier facilement */
    --color-primary: #121212;    /* Noir presque pur pour une touche moderne */
    --color-secondary: #222222;  /* Noir légèrement plus clair */
    --color-accent: #800020;     /* Bordeaux - couleur accent */
    
    /* Couleurs dérivées - seront automatiquement mises à jour par JavaScript */
    --color-primary-light: #1e1e1e;
    --color-secondary-light: #333333;
    --color-accent-light: #a00028;
    
    /* Variables pour les ombres de boutons - mises à jour par JavaScript */
    --button-shadow: rgba(128, 0, 32, 0.4);
    --button-shadow-hover: rgba(128, 0, 32, 0.6);
    
    /* Couleurs neutres */
    --text-light: #f5f5f5;
    --text-dark: #333333;
    --gray-light: #f0f0f0;
    --gray-medium: #c0c0c0;
    --gray-dark: #707070;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
}

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', Arial, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Utilitaires */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    color: var(--color-primary);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--color-accent);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--gray-dark);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Header */
header {
    background-color: var(--color-primary);
    color: var(--white);
    padding: 1rem;
    position: fixed;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo {
    font-weight: 800;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo span {
    color: var(--color-accent);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--color-accent);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-light);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, var(--color-secondary) 100%);
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/api/placeholder/1920/1080') center/cover no-repeat;
    opacity: 0.1;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.logo-container {
    margin-bottom: 2rem;
    width: 100%;
    max-width: 400px;
}

.hero-logo {
    width: 100%;
    height: auto;
    max-height: 40vh;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    font-weight: 800;
}

.hero h1 span {
    color: var(--color-accent);
    position: relative;
    display: inline-block;
}



.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: var(--gray-light);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: 2px solid var(--color-accent);
    box-shadow: 0 5px 15px var(--button-shadow);
}

.btn:hover {
    background-color: transparent;
    color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--button-shadow-hover);
}.hero-content p {
    margin-bottom: 10px;
}


/* Section À propos */
.about {
    padding: 6rem 1rem;
    background-color: var(--gray-light);
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    box-shadow: 0 15px 30px var(--shadow);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    z-index: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    position: relative;
    padding-bottom: 0.5rem;
}

.about-content h3 span {
    color: var(--color-accent);
}

.about-content h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 3px;
    background-color: var(--color-accent);
}

.about-intro {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.about-details {
    margin-bottom: 2rem;
}

.about-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.about-detail i {
    color: var(--color-accent);
    font-size: 1.8rem;
    margin-right: 1rem;
    padding-top: 0.2rem;
}

.about-detail h4 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.about-detail p {
    color: var(--gray-dark);
    line-height: 1.6;
}

.about-philosophy {
    margin-bottom: 2rem;
    line-height: 1.8;
    padding-left: 1rem;
    border-left: 3px solid var(--color-accent);
    font-style: italic;
    color: var(--text-dark);
}

.about-cta {
    margin-top: 2rem;
}

/* Services Section */
.services {
    padding: 6rem 1rem;
    background-color: var(--white);
}

.services-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    width: 350px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--gray-light);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-img {
    height: 250px; /* Hauteur augmentée pour mieux afficher les images */
    background-color: var(--gray-medium);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Effet d'agrandissement au survol pour un effet plus dynamique */
.service-card:hover .service-img {
    height: 270px;
}

.service-img::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%; /* Augmenté pour un meilleur dégradé */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    margin-bottom: 1rem;
    color: var(--color-primary);
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.service-content h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--color-accent);
}

.service-content p {
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.service-features i {
    color: var(--color-accent);
    margin-right: 0.5rem;
}

/* Styles pour la section tarifs */
.pricing {
    padding: 4rem 0;
    background-color: var(--white);
    margin-top: -2rem; /* Pour rapprocher cette section des services */
}

.pricing-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--color-primary);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    margin: 0.5rem auto 0;
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.pricing-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-light);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
}

.pricing-name {
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.pricing-duration {
    font-size: 0.9rem;
    opacity: 0.8;
}

.pricing-features {
    padding: 2rem;
    flex-grow: 1;
}

.pricing-feature {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.pricing-feature i {
    color: var(--color-accent);
    margin-right: 0.8rem;
    font-size: 1rem;
    margin-top: 0.3rem;
}

.pricing-feature-text {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.pricing-footer {
    padding: 0 2rem 2rem;
    text-align: center;
}

.pricing-note {
    margin-top: 3rem;
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-primary);
    padding: 1rem;
    background-color: var(--gray-light);
    border-radius: 8px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
}

.pricing-note span {
    color: var(--color-accent);
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 1rem;
    background-color: var(--gray-light);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gray-medium), transparent);
}

/* Conteneur principal optimisé pour un témoignage à la fois */
.testimonials-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 0 3rem;
    overflow: hidden;
}

/* Slider de témoignages */
.testimonials-slider {
    display: flex;
    transition: transform 0.6s ease-in-out;
    height: auto;
    width: 100%;
}

/* Style des témoignages individuels */
.testimonial {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    background-color: var(--white);
    border-radius: 12px;
    padding: 3rem 2.5rem 2rem;
    box-shadow: 0 10px 30px var(--shadow);
    position: relative;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
    margin: 0;
    transform-origin: center center;
}

/* Témoignage actif */
.testimonial.active {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* Icône de citation */
.quote {
    color: var(--color-accent);
    font-size: 2.5rem;
    opacity: 0.3;
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
}

/* Texte du témoignage */
.testimonial p {
    font-style: italic;
    margin: 1rem 0 1.5rem;
    color: var(--text-dark);
    line-height: 1.8;
    position: relative;
    z-index: 1;
    padding-left: 0.5rem;
    font-size: 1.05rem;
}

/* Information du client */
.client {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
    border-top: 1px solid var(--gray-light);
    padding-top: 1.5rem;
}

.client-info h4 {
    color: var(--color-primary);
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.client-info span {
    color: var(--color-accent);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Contrôles du carrousel */
.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    align-items: center;
    gap: 2rem;
}

/* Flèches de navigation */
.testimonial-arrow {
    background-color: var(--white);
    color: var(--color-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
    font-size: 1.2rem;
    z-index: 2;
}

.testimonial-arrow:hover {
    background-color: var(--color-accent);
    color: var(--white);
    transform: translateY(-3px);
}

/* Points indicateurs */
.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--gray-medium);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background-color: var(--color-accent);
    transform: scale(1.2);
}

/* CTA Section */
.cta {
    padding: 6rem 1rem;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/api/placeholder/1920/1080') center/cover no-repeat;
    opacity: 0.1;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    background-color: var(--white);
    color: var(--color-primary);
    border-color: var(--white);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-cta:hover {
    background-color: transparent;
    color: var(--white);
}

/* Footer */
footer {
    background-color: var(--color-primary);
    color: var(--text-light);
    padding: 4rem 1rem 2rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    color: var(--white);
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--color-accent);
    bottom: 0;
    left: 0;
}

.footer-section p {
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-links, .footer-contact {
    list-style: none;
}

.footer-links li, .footer-contact li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--color-accent);
    width: 20px;
}

.footer-links a {
    color: var(--gray-medium);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.social-links a:hover {
    background-color: var(--color-accent);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-medium);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--color-primary);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }
    
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .nav-links li {
        margin: 1rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-logo {
        max-width: 80%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Responsive adjustments for About section */
    .about-container {
        flex-direction: column;
        align-items: center;
    }
    
    .about-image {
        margin: 0 auto;
        width: 100%;
        max-width: 400px;
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-content h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-detail {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .about-detail i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .about-philosophy {
        padding-left: 0;
        border-left: none;
        border-top: 3px solid var(--color-accent);
        padding-top: 1rem;
        text-align: center;
    }

    .service-img {
        height: 220px; /* Légèrement plus petit sur tablette */
    }
    
    .service-card:hover .service-img {
        height: 230px;
    }

    .pricing-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    /* Ajustements responsifs pour le carrousel de témoignages */
    .testimonial {
        padding: 2.5rem 1.5rem 1.5rem;
    }
    
    .testimonial p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .testimonial-controls {
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .testimonial-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }

    .service-img {
        height: 200px; /* Encore plus petit sur mobile */
    }
    
    .service-card:hover .service-img {
        height: 210px;
    }
    
    .service-card {
        width: 100%;
    }
}

/* Corrections pour le carrousel de témoignages */
/* Ces corrections garantissent que le slider fonctionne correctement */
.testimonials-slider {
  display: flex;
  transition: transform 0.6s ease;
  width: 100%;
  position: relative;
}

/* S'assurer que le container permet le défilement horizontal */
.testimonials-container {
  overflow: hidden;
  position: relative;
  min-height: 200px;
}

/* Chaque témoignage occupe 100% de la largeur */
.testimonial {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform-origin: center center;
}

/* Le témoignage actif est visible */
.testimonial.active {
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* Styles des contrôles pour qu'ils soient bien visibles */
.testimonial-controls {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

/* Garantir que les flèches sont cliquables */
.testimonial-arrow {
  cursor: pointer;
  z-index: 5;
}

/* Au cas où le JavaScript échoue, afficher au moins le premier témoignage */
.testimonial:first-child {
  display: block;
}

