/* ======================================= */
/* BASE STYLES                 */
/* ======================================= */

:root {
    /* Couleurs principales */
    --primary-color: #007bff; /* Bleu éclatant pour les actions et accents */
    --secondary-color: #6c757d; /* Gris doux pour les boutons secondaires */
    --accent-color: #28a745; /* Vert pour les éléments positifs/succès */
    --text-dark: #343a40; /* Texte sombre pour la lisibilité */
    --text-light: #6c757d; /* Texte plus léger pour les paragraphes secondaires */
    --bg-light: #f8f9fa; /* Arrière-plan très clair */
    --bg-white: #ffffff; /* Arrière-plan blanc */
    --border-color: #dee2e6; /* Couleur des bordures */

    /* Typographie */
    --font-primary: 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Georgia', serif; /* Ou une police plus décorative si vous en avez une */
    --font-size-base: 16px;
}

/* Reset de base et styles globaux */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}

a:hover {
    color: #0056b3; /* Teinte plus foncée du primaire */
    transform: translateY(-1px);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 0.8em;
    line-height: 1.2;
}

p {
    margin-bottom: 1em;
}

/* Conteneur général pour centrer le contenu */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Boutons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--bg-white);
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Nouveau style pour les petits boutons (utilisé pour les articles de blog par exemple) */
.btn-small {
    padding: 8px 18px;
    font-size: 0.9em;
    background-color: var(--primary-color); /* Utilise la couleur primaire */
    color: var(--bg-white);
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block; /* Pour qu'il se comporte comme un bouton */
}

.btn-small:hover {
    background-color: #0056b3; /* Teinte plus foncée au survol */
    transform: translateY(-1px);
}


/* ======================================= */
/* HEADER & NAVIGATION         */
/* ======================================= */

header {
    background: var(--bg-white);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Permet aux éléments de passer à la ligne sur mobile */
    padding: 0 20px; /* Ajoute un peu de padding latéral sur grand écran */
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px; /* Taille de votre logo */
    margin-right: 15px;
    vertical-align: middle;
}

.logo h1 {
    font-size: 2em;
    margin: 0;
    font-family: var(--font-heading);
    color: var(--text-dark);
}

.logo a {
    text-decoration: none;
    color: inherit; /* Hérite la couleur du parent */
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center; /* Centrer les liens si wrap */
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: var(--text-light);
    font-weight: 600;
    padding: 10px 0;
    display: block; /* Rend toute la zone du lien cliquable */
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* ======================================= */
/* HERO SECTIONS              */
/* ======================================= */

/* Section Hero de la page d'accueil */
.hero-section {
    background: var(--text-dark) no-repeat center center/cover;
    color: var(--bg-white);
    text-align: center;
    padding: 120px 20px;
    position: relative;
    display: flex; /* Utilise flexbox pour centrer le contenu */
    align-items: center;
    justify-content: center;
    min-height: 450px; /* Hauteur minimale pour la section hero */
}

/* Overlay pour améliorer la lisibilité du texte sur l'image */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Voile semi-transparent noir */
}

.hero-section .container {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-section h2 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
    color: var(--bg-white);
}

.hero-section p {
    font-size: 1.3em;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    color: var(--bg-white);
}

/* Page Hero (pour À Propos, Contact, Catégories Produits, Blog, Mentions Légales, Politique Conf) */
.page-hero {
    /* L'image de fond doit être définie directement dans le HTML/PHP de chaque page */
    background-size: cover;
    background-position: center;
    color: var(--bg-white);
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 40px;
    position: relative;
    min-height: 250px; /* Hauteur minimale */
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.page-hero .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.page-hero h2 {
    font-size: 2.8em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    color: var(--bg-white);
}

.page-hero p {
    font-size: 1.1em;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    color: var(--bg-white);
}

/* ======================================= */
/* SECTIONS GÉNÉRALES         */
/* ======================================= */

main section.content-section { /* Nouvelle classe pour les sections de contenu général */
    background: var(--bg-white);
    padding: 60px 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

main section.content-section h3 {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: left; /* Titres de section à gauche pour ces pages */
}

main section.content-section p {
    font-size: 1.1em;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 1.5em;
}

main section.content-section ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 1.5em;
    color: var(--text-dark);
}

main section.content-section ul li {
    margin-bottom: 8px;
    font-size: 1.1em;
}


main section h3 { /* Style pour les titres h3 des autres sections (produits, blog etc) */
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}


.text-center {
    text-align: center;
}

.call-to-action-end {
    margin-top: 40px;
    font-size: 1.3em;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
}

/* ======================================= */
/* PRODUCT LISTING            */
/* ======================================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
}

.product-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.product-item img {
    max-width: 100%;
    height: 250px; /* Hauteur fixe pour la cohérence */
    object-fit: cover; /* Recadre l'image pour couvrir l'espace */
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Image wrapper with logo overlay */
.image-with-logo {
    position: relative;
    display: block;
}

.image-with-logo img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.image-with-logo .overlay-logo {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    opacity: 0.6; /* réduit l'opacite du logo */
    pointer-events: none; /* évite d'interférer avec les clics */
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.product-item h4 {
    font-size: 1.6em;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.product-item p {
    font-size: 1em;
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1; /* Permet au paragraphe de prendre plus d'espace */
}

/* ======================================= */
/* ABOUT US SECTION           */
/* ======================================= */

.about-content p {
    font-size: 1.1em;
    line-height: 1.8;
    text-align: justify; /* Justifie le texte */
    margin-bottom: 1.5em;
}

.philosophy-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.point-item {
    background: var(--bg-light);
    border-left: 6px solid var(--primary-color);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.point-item:hover {
    transform: translateY(-3px);
}

.point-item h4 {
    color: var(--primary-color);
    font-size: 1.6em;
    margin-bottom: 10px;
}

.point-item p {
    font-size: 1em;
    color: var(--text-light);
    text-align: left;
    margin-bottom: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.team-member {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-3px);
}

.team-member img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 0 5px rgba(0,123,255,0.2); /* Petit halo pour le style */
}

.team-member h4 {
    font-size: 1.4em;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.team-member p {
    font-size: 0.9em;
    color: var(--text-light);
    margin-bottom: 0.5em;
}

.team-member p.bio {
    font-size: 0.9em;
    color: var(--text-light);
    margin-top: 10px;
    line-height: 1.5;
}

/* ======================================= */
/* CONTACT PAGE STYLES         */
/* ======================================= */

.contact-info-form {
    background: var(--bg-white);
    padding: 60px 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr; /* Par défaut, une colonne */
    gap: 50px;
}

@media (min-width: 850px) {
    .contact-grid {
        grid-template-columns: 1.2fr 1fr; /* Deux colonnes sur les écrans plus larges */
        align-items: flex-start; /* Aligne les contenus en haut */
    }
}

.contact-details h3, .contact-form-wrapper h3 {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.contact-details p {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: var(--text-light);
}

.contact-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.contact-details ul li {
    font-size: 1.1em;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: var(--text-dark);
}

.contact-details ul li i { /* Pour les futures icônes si vous les ajoutez */
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.3em;
    width: 25px; /* Pour aligner le texte */
    text-align: center;
}

.map-container {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.map-container iframe {
    width: 100%;
    height: 380px; /* Hauteur de la carte */
    display: block;
}

/* Contact Form Styles */
.contact-form-wrapper {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-dark);
    font-size: 1em;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
    color: var(--text-dark);
    background-color: var(--bg-white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,123,255,0.25);
    outline: none;
}

.contact-form textarea {
    resize: vertical; /* Permet à l'utilisateur de redimensionner verticalement */
    min-height: 120px;
}

.contact-form button[type="submit"] {
    width: auto; /* Bouton auto-ajustable */
    margin-top: 15px;
}

/* Messages d'alerte */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.error-message {
    color: #dc3545; /* Rouge pour les messages d'erreur de validation */
    font-size: 0.9em;
    margin-top: 5px;
    display: block; /* Pour qu'il prenne sa propre ligne */
}

/* ======================================= */
/* BLOG SECTION STYLES         */
/* ======================================= */

.blog-listing {
    background: var(--bg-white);
    padding: 60px 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.blog-listing h3 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    justify-content: center;
}

.blog-post-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden; /* Cache les débordements des images */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.blog-post-card img {
    width: 100%;
    height: 220px; /* Hauteur fixe pour les images de carte */
    object-fit: cover;
    display: block;
}

.blog-post-card .post-content {
    padding: 25px;
    flex-grow: 1; /* Permet au contenu de prendre l'espace restant */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-post-card h4 {
    font-size: 1.8em;
    margin-bottom: 10px;
    line-height: 1.3;
}

.blog-post-card h4 a {
    color: var(--text-dark);
    text-decoration: none;
}

.blog-post-card h4 a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.blog-post-card .post-meta {
    font-size: 0.9em;
    color: var(--text-light);
    margin-bottom: 15px;
}

.blog-post-card p {
    font-size: 1em;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Single Blog Post Page Styles */
.blog-single-post {
    background: var(--bg-white);
    padding: 60px 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.blog-single-post .container {
    max-width: 800px; /* Contenu plus étroit pour la lisibilité */
}

.post-meta-single {
    font-size: 0.95em;
    color: var(--text-light);
    margin-bottom: 30px;
    text-align: center;
}

.post-meta-single span {
    margin: 0 8px;
    font-weight: bold;
}

.blog-single-post h3 {
    font-size: 2em;
    color: var(--text-dark);
    margin-top: 35px;
    margin-bottom: 20px;
    text-align: left; /* Les titres d'articles sont alignés à gauche */
}

.blog-single-post p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 1.5em;
    text-align: justify;
}

.blog-single-post ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 1.5em;
    color: var(--text-dark);
}

.blog-single-post ul li {
    margin-bottom: 8px;
    font-size: 1.1em;
}

.post-main-image {
    width: 100%;
    height: 400px; /* Grande image en haut de l'article */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 40px;
}

.post-image-inline {
    width: 100%;
    max-width: 600px; /* Taille plus petite pour les images inline */
    height: auto;
    display: block;
    margin: 30px auto; /* Centrer l'image */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.post-navigation {
    margin-top: 50px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.post-navigation .btn-secondary {
    margin: 0 10px;
}

/* ======================================= */
/* CAROUSEL STYLES             */
/* ======================================= */

.simple-carousel {
    position: relative;
    width: 100%;
    max-width: 900px; /* Limiter la largeur du carrousel */
    margin: 40px auto; /* Centrer le carrousel */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    background-color: var(--bg-white);
}

.carousel-slides {
    display: flex; /* Utiliser flexbox pour les slides en ligne */
    transition: transform 0.5s ease-in-out; /* Animation de transition */
    position: relative; /* Pour positionner les slides absolument */
    width: 100%;
    height: 450px; /* Hauteur fixe pour le carrousel */
}

.carousel-slide {
    min-width: 100%; /* Chaque slide prend 100% de la largeur du conteneur */
    flex-shrink: 0; /* Empêche les slides de rétrécir */
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.carousel-slide.active {
    opacity: 1;
    position: relative; /* La slide active est relative pour être visible */
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Assure que l'image couvre toute la slide */
    display: block;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    font-size: 2em;
    z-index: 10;
    transition: background-color 0.3s ease;
    border-radius: 5px;
    line-height: 1; /* Pour centrer le symbole */
}

.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.carousel-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.pagination-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* ======================================= */
/* TESTIMONIALS SECTION        */
/* ======================================= */
.testimonials-section {
    background-color: var(--bg-light); /* Utilise un fond clair consistent avec vos sections */
    color: var(--text-dark);
    padding: 60px 0;
    margin-bottom: 30px; /* Ajouté pour consistance avec main section.content-section */
    border-radius: 8px; /* Ajouté pour consistance avec main section.content-section */
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Ajouté pour consistance */
}

.testimonials-section h3 {
    color: var(--primary-color); /* Utilise votre couleur primaire pour le titre */
    margin-bottom: 40px;
    font-size: 2.5em; /* Utilise la taille pour les titres de sections */
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background-color: var(--bg-white); /* Fond blanc pour chaque témoignage */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); /* Ombre cohérente */
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color); /* Bordure cohérente */
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-dark); /* Texte principal en foncé */
}

.testimonial-item .client-name {
    font-weight: bold;
    color: var(--primary-color); /* Couleur primaire pour le nom du client */
    font-style: normal;
    font-size: 0.95em;
}


/* ======================================= */
/* FAQ SECTION STYLES           */
/* ======================================= */
.faq-section {
    background: var(--bg-white);
    padding: 60px 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.faq-section h3 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    background-color: var(--bg-white);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    background-color: var(--bg-light);
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: var(--text-dark);
    font-size: 1.1em;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e9ecef; /* Lighter shade of bg-light */
}

.faq-question .icon {
    font-size: 1.2em;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-question.active .icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    background-color: var(--bg-white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.faq-answer p {
    padding: 15px 0;
    margin-bottom: 0;
    color: var(--text-light);
    line-height: 1.7;
    text-align: justify;
}

.faq-answer.open {
    max-height: 200px; /* Hauteur max arbitraire, ajustez si les réponses sont très longues */
    padding: 15px 25px;
}
/* ======================================= */
/* FOOTER                     */
/* ======================================= */

footer {
    background: var(--text-dark); /* Fond sombre pour le footer */
    color: var(--bg-white);
    padding: 40px 20px;
    text-align: center;
    margin-top: 50px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

footer .container {
    padding: 0; /* Pas de padding interne pour le footer container */
}

footer p {
    margin: 10px 0;
    font-size: 0.95em;
    color: #ced4da; /* Texte plus clair */
}

.footer-links, .social-links {
    margin-top: 20px;
    margin-bottom: 20px;
}

.footer-links a, .social-links a {
    color: var(--bg-white);
    text-decoration: none;
    margin: 0 12px;
    font-size: 0.95em;
}

.footer-links a:hover, .social-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.adresse-footer {
    font-size: 0.9em;
    line-height: 1.5;
    color: #adb5bd; /* Couleur de texte légèrement plus claire */
}

/* ======================================= */
/* RESPONSIVE DESIGN          */
/* ======================================= */

@media (max-width: 992px) {
    .hero-section h2 {
        font-size: 3em;
    }
    .hero-section p {
        font-size: 1.1em;
    }
    .page-hero h2 {
        font-size: 2.4em;
    }
    main section h3 {
        font-size: 2em;
    }
    .simple-carousel {
        max-width: 700px;
    }
    .carousel-slides {
        height: 350px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }
    .logo {
        justify-content: center;
    }
    nav ul {
        margin-top: 20px;
        flex-direction: column; /* Menu empilé sur mobile */
        align-items: center;
    }
    nav ul li {
        margin: 10px 0;
    }
    nav ul li a {
        padding: 5px 0;
    }

    .hero-section {
        padding: 80px 15px;
        min-height: 350px;
    }
    .hero-section h2 {
        font-size: 2.5em;
    }
    .hero-section p {
        font-size: 1em;
    }

    .page-hero {
        padding: 60px 15px;
        min-height: 200px;
    }
    .page-hero h2 {
        font-size: 2em;
    }

    main section {
        padding: 40px 15px;
    }
    main section h3 {
        font-size: 1.8em;
    }

    .product-grid, .philosophy-points, .team-grid, .articles-grid, .testimonial-grid { /* Ajout de testimonial-grid */
        grid-template-columns: 1fr; /* Empile les éléments sur mobile */
    }

    .product-item img, .blog-post-card img {
        height: 200px; /* Ajuste la hauteur des images de produit et blog sur mobile */
    }

    .about-content p {
        font-size: 1em;
    }

    .contact-grid {
        grid-template-columns: 1fr; /* Force une seule colonne pour la page contact sur mobile */
        gap: 30px; /* Réduit l'espace entre les éléments */
    }
    .map-container iframe {
        height: 300px; /* Ajuste la hauteur de la carte sur mobile */
    }

    .simple-carousel {
        margin: 20px auto;
        border-radius: 5px;
    }
    .carousel-slides {
        height: 250px; /* Hauteur plus petite sur mobile */
    }
    .carousel-button {
        padding: 10px 5px;
        font-size: 1.5em;
    }
    .carousel-pagination {
        bottom: 10px;
        gap: 8px;
    }
    .pagination-dot {
        width: 10px;
        height: 10px;
    }

    footer p, .footer-links a, .social-links a, .adresse-footer {
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 45px;
    }
    .logo h1 {
        font-size: 1.6em;
    }
    .hero-section h2 {
        font-size: 2em;
    }
    .page-hero h2 {
        font-size: 1.8em;
    }
    .btn-primary, .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

/* Professional refresh overrides */
:root {
    --primary-color: #8a4b2a;
    --secondary-color: #2f4f4f;
    --accent-color: #1f8a70;
    --text-dark: #2e2a27;
    --text-light: #62605d;
    --bg-light: #f6f3ef;
    --border-color: #e2ded8;
}

a:hover {
    color: #63351e;
}

.btn-primary {
    background: var(--primary-color);
}

.btn-primary:hover,
.btn-small:hover {
    background: #63351e;
}

.btn-secondary {
    background: var(--secondary-color);
}

.hero-section {
    background-color: var(--text-dark);
}

.hero-section h2 {
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    letter-spacing: 0;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 15px;
    font-size: 0.95em;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
}

.hero-actions,
.product-actions,
.contact-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.section-heading {
    max-width: 780px;
    margin: 0 auto 35px;
    text-align: center;
}

.section-heading span,
.product-category {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--accent-color);
    font-size: 0.85em;
    font-weight: 800;
    text-transform: uppercase;
}

.section-heading h3,
main section.content-section .section-heading h3 {
    margin-bottom: 0;
    text-align: center;
}

.service-grid,
.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.service-item {
    padding: 26px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-white);
}

.service-item i {
    margin-bottom: 18px;
    color: var(--primary-color);
    font-size: 2em;
}

.service-item h4 {
    font-size: 1.35em;
}

.service-item p {
    text-align: left;
}

.collection-tile {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    border-radius: 8px;
    color: var(--bg-white);
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.collection-tile img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.collection-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.68));
}

.collection-tile strong {
    position: relative;
    z-index: 2;
    color: var(--bg-white);
    font-size: 1.5em;
}

.collection-tile:hover img {
    transform: scale(1.05);
}

.category-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.category-filter a {
    padding: 9px 15px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-dark);
    background: var(--bg-white);
    font-weight: 700;
}

.category-filter a:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

.product-price-small {
    flex-grow: 0 !important;
    margin-bottom: 18px !important;
    color: var(--primary-color) !important;
    font-size: 1.15em;
    font-weight: 800;
}

.product-overview {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 1.1fr;
    gap: 42px;
    align-items: start;
}

.product-image-large img,
.article-main-image {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.product-image-large img {
    aspect-ratio: 4 / 3;
}

.product-info h1 {
    font-size: 2.4em;
}

.product-price {
    color: var(--primary-color);
    font-size: 1.8em;
    font-weight: 800;
}

.product-actions,
.contact-actions {
    justify-content: flex-start;
}

.product-details-list ul {
    list-style: none;
    margin-left: 0;
}

.product-details-list li {
    position: relative;
    padding-left: 26px;
}

.product-details-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 800;
}

.article-main-image {
    max-height: 420px;
    margin: 28px 0;
}

.article-content {
    max-width: 820px;
    margin: 0 auto;
}

.article-navigation {
    margin-top: 34px;
}

.faq-question {
    width: 100%;
    border: 0;
}

.collection-cta {
    margin-top: 35px;
}

@media (max-width: 768px) {
    .product-overview {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .product-actions,
    .contact-actions {
        flex-direction: column;
    }
}

.logo img {
    width: 74px;
    height: 74px;
    object-fit: cover;
    border-radius: 50%;
}

@media (max-width: 480px) {
    .logo img {
        width: 58px;
        height: 58px;
    }
}
