/* Style général */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #ffe5e5, #fff8f0); /* ambiance chaude */
    color: #333;
    text-align: center;
}

/* En-tête principal */
h1 {
    background-color: #C8102E;
    color: white;
    padding: 30px 20px;
    font-size: 3em;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 8px solid #FFD700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Sous-titres */
h2 {
    color: #C8102E;
    margin-top: 40px;
    font-size: 2em;
    border-bottom: 3px solid #FFD700;
    display: inline-block;
    padding-bottom: 5px;
}

/* Paragraphes */
p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 15px auto;
    line-height: 1.7;
}

/* Image principale */
img {
    max-width: 90%;
    height: auto;
    margin: 20px 0;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Liste stylée */
ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

li {
    background-color: #FFD700;
    color: #C8102E;
    display: inline-block;
    padding: 12px 25px;
    margin: 10px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1em;
    transition: 0.3s;
}

li:hover {
    background-color: #f0c200;
}

/* Navigation */
nav ul {
    padding: 0;
    list-style: none;
    margin-top: 30px;
}

nav a {
    display: inline-block;
    color: #C8102E;
    background-color: #FFD700;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    background-color: #C8102E;
    color: white;
}

/* Footer */
footer {
    background-color: #C8102E;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    margin-top: 50px;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-container h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.socials a img {
    width: 40px;
    height: 40px;
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.socials a img:hover {
    transform: scale(1.2);
}

.footer-links {
    margin: 30px 0 20px;
}

.footer-links a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFD700;
}

.footer-note p {
    font-size: 0.9em;
    opacity: 0.8;
}

/* Accordion (Ingrédients, Allergènes, etc.) */
.accordion {
    width: 90%;
    max-width: 800px;
    margin: 40px auto;
    border: none;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.accordion-header {
    background-color: #C8102E;
    color: white;
    padding: 15px;
    cursor: pointer;
    font-weight: bold;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background-color: #fff8f0;
    padding: 0 15px;
}

.accordion-content p {
    margin: 15px 0;
    line-height: 1.6;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
    padding: 15px;
}

/* Style avis client avec image à gauche et texte à droite */
.avis-client {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 40px auto;
    padding: 20px;
    max-width: 900px;
    background-color: #fff8f0;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.photo-client {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.texte-avis {
    flex: 1;
    font-size: 1.1em;
    line-height: 1.6;
    text-align: left;
}

.texte-avis p {
    margin: 0;
}
table {
    width: 100%; /* Prend toute la largeur disponible */
    margin: 20px auto; /* Centre le tableau horizontalement avec un espace autour */
    border-collapse: collapse; /* Supprime les espaces entre les cellules */
}

/* Style général du tableau */
table {
    width: 100%; /* Prend toute la largeur disponible */
    margin: 20px auto; /* Centre le tableau horizontalement avec un espace autour */
    border-collapse: collapse; /* Supprime les espaces entre les cellules */
}

/* Style des en-têtes de colonne */
th {
    padding: 15px; /* Espace autour du texte dans l'en-tête */
    text-align: center; /* Centre le texte des en-têtes */
    background-color: #f7b7a3; /* Fond rouge pastel pour les en-têtes */
    color: #6a1b1a; /* Texte rouge foncé */
    font-size: 18px; /* Taille de la police des en-têtes */
    font-weight: bold; /* Met le texte des en-têtes en gras */
}

/* Style des cellules du tableau */
td {
    padding: 12px; /* Espace autour du texte dans les cellules */
    text-align: center; /* Centre le texte dans les cellules */
    border: 1px solid #f7d5a3; /* Bordure légère couleur jaune pastel */
    font-size: 16px; /* Taille de la police dans les cellules */
}

/* Style des lignes impaires */
tr:nth-child(odd) {
    background-color: #fef0d3; /* Fond jaune pastel très clair pour les lignes impaires */
}

/* Style des lignes paires */
tr:nth-child(even) {
    background-color: #ffffff; /* Fond blanc pour les lignes paires */
}

/* Ajout d'une bordure au tableau */
table, th, td {
    border: 1px solid #f7d5a3; /* Bordure légère couleur jaune pastel autour du tableau, des en-têtes et des cellules */
}

/* Style des cellules au survol de la souris */
tr:hover {
    background-color: #f7d5a3; /* Change la couleur de fond lors du survol en jaune pastel */
}

.paragraphe-gauche {
    font-size: 18px; /* Taille de police adaptée pour la lecture */
    line-height: 1.8; /* Espacement des lignes pour une lecture confortable */
    color: #333; /* Couleur du texte pour une bonne lisibilité */
    margin-bottom: 20px; /* Marge inférieure pour espacer ce paragraphe des autres éléments */
    text-align: left; /* Alignement du texte à gauche */
    background-color: #f9f9f9; /* Fond légèrement gris pour un contraste doux */
    padding: 10px; /* Espacement interne pour aérer le texte */
    border-left: 5px solid #e74c3c; /* Bordure gauche rouge pour le style */
}