/* Variables */
:root {
    --orange: #e67e22; /* Orange chaleureux pour la croûte du pain */
    --light-orange: #f39c12; /* Orange plus clair pour les survols */
    --light-gray: #f4f4f4; /* Gris clair élégant */
    --dark-gray: #333; /* Gris foncé pour les textes */
    --white: #fff; /* Blanc pour la clarté */
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Ombre légère */
    --transition: all 0.3s ease;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Bandeau défilant (ticker) */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: var(--orange);
    padding: 8px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
}

.ticker {
    display: flex;
    white-space: nowrap;
    padding-right: 100%;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 30px;
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* Typographie */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-family: 'Pacifico', cursive;
    color: var(--orange);
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    font-size: 2.2rem;
    color: var(--dark-gray);
    padding-bottom: 0.7rem;
    font-family: 'Playfair Display', serif;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--orange);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========= HEADER ET NAVIGATION ========= */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 38px; /* Tenir compte de la hauteur du ticker */
    z-index: 1000;
    transition: var(--transition);
    margin-top: 0; /* Suppression de toute marge par du00e9faut */
}

header.scrolled {
    padding: 5px 0;
    background-color: rgba(255, 255, 255, 0.95);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 15px;
    position: relative;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    margin-right: auto; /* Pousse le logo à gauche */
    padding-right: 2rem; /* Espace entre le logo et la navigation */
    transform: translateY(5px); /* Ajustement vertical pour un logo plus grand */
}

.logo-img {
    max-height: 70px; /* Logo plus grand */
    width: auto;
    display: block;
    transition: var(--transition);
}

.logo a:hover .logo-img {
    transform: scale(1.03);
}

/* Navigation principale - version améliorée */
.main-nav {
    display: flex;
    margin-left: auto; /* Pousse la navigation vers la droite */
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem; /* Espacement uniforme entre les items */
}

.main-nav li {
    margin-left: 0; /* Reset de l'ancien margin */
}

.main-nav a {
    color: var(--dark-gray);
    font-weight: 500;
    padding: 0.6rem 0;
    position: relative;
    transition: var(--transition);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--orange);
}

.main-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--orange);
    bottom: 0;
    left: 0;
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.main-nav a:hover:after, .main-nav a.active:after {
    width: 100%;
}

/* Bouton toggle et bouton téléphone (mobile) */
.nav-toggle, .phone-button {
    font-size: 1.5rem;
    color: var(--dark-gray);
    cursor: pointer;
    transition: var(--transition);
    display: none;
}

/* Design amélioré du toggle button */
.nav-toggle {
    width: 40px;
    height: 40px;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    border: 2px solid transparent;
}

.nav-toggle:hover {
    border-color: var(--orange);
    background-color: rgba(230, 126, 34, 0.05);
}

.nav-toggle.active {
    background-color: var(--orange);
    border-color: var(--orange);
}

.nav-toggle i {
    color: var(--dark-gray);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.nav-toggle:hover i {
    color: var(--orange);
}

.nav-toggle.active i {
    color: white;
    transform: rotate(90deg);
}

/* Styles pour animated hamburger icon */
.hamburger-icon {
    width: 20px;
    height: 16px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--dark-gray);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger-icon span:nth-child(1) {
    top: 0px;
}

.hamburger-icon span:nth-child(2), .hamburger-icon span:nth-child(3) {
    top: 7px;
}

.hamburger-icon span:nth-child(4) {
    top: 14px;
}

.hamburger-icon.open span:nth-child(1) {
    top: 7px;
    width: 0%;
    left: 50%;
}

.hamburger-icon.open span:nth-child(2) {
    transform: rotate(45deg);
    background: white;
}

.hamburger-icon.open span:nth-child(3) {
    transform: rotate(-45deg);
    background: white;
}

.hamburger-icon.open span:nth-child(4) {
    top: 7px;
    width: 0%;
    left: 50%;
}

.nav-toggle:hover .hamburger-icon span {
    background: var(--orange);
}

.phone-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.phone-button a:hover {
    color: var(--orange);
    border-color: var(--orange);
    background-color: rgba(230, 126, 34, 0.05);
    transform: scale(1.05);
}

.phone-button i {
    transition: all 0.3s ease;
}

.phone-button a:hover i {
    animation: phone-ring 0.8s ease infinite;
}

@keyframes phone-ring {
    0% {
        transform: rotate(0deg);
    }
    20% {
        transform: rotate(15deg);
    }
    40% {
        transform: rotate(-15deg);
    }
    60% {
        transform: rotate(10deg);
    }
    80% {
        transform: rotate(-10deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/* Navigation principale */
.main-nav {
    display: flex;
}

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

.main-nav li {
    margin-left: 1.5rem;
}

.main-nav a {
    color: var(--dark-gray);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.main-nav a:hover, .main-nav a.active {
    color: var(--orange);
}

.main-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--orange);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

.main-nav a:hover:after, .main-nav a.active:after {
    width: 100%;
}

/* ========= RESPONSIVE HEADER & NAVIGATION ========= */
@media (max-width: 768px) {
    /* Réarranger l'en-tête en mode mobile */
    header .container {
        display: grid;
        grid-template-columns: 1fr 3fr 1fr;
        align-items: center;
    }
    
    .logo {
        justify-content: center;
        grid-column: 2;
        margin-right: 0;
        padding-right: 0;
        transform: translateY(3px); /* Ajustement pour mobile */
    }
    
    .logo-img {
        max-height: 60px; /* Taille ajustée pour mobile */
    }
    
    .nav-toggle {
        display: flex;
        grid-column: 1;
        justify-self: start;
    }
    
    .phone-button {
        display: block;
        grid-column: 3;
        justify-self: end;
    }
    
    /* Navigation responsive */
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none;
        z-index: 100;
        transform: translateY(-10px);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    
    .main-nav.active {
        display: block;
        transform: translateY(0);
        opacity: 1;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .main-nav li {
        margin: 0;
        text-align: center;
        padding: 0.7rem 0;
    }
}

/* Section Héro - design amélioré et animations */
.hero {
    height: 90vh;
    position: relative;
    margin-top: 114px; /* Hauteur du header + ticker */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* Plus grand que le conteneur pour permettre le mouvement */
    background-image: url('../img/baguette traduition.jpg');
    background-size: cover;
    background-position: center;
    transform: translateZ(-5px) scale(1.5);
    z-index: -1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeIn 1s ease-in-out;
}

.hero-text {
    margin-bottom: 2.5rem;
}

.hero-text h2 {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    font-family: 'Playfair Display', serif;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    animation: slideInUp 1s ease-out, glowText 3s ease-in-out infinite alternate;
}

.hero-text p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    animation: slideInUp 1s ease-out 0.3s backwards;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    animation: fadeIn 1.5s ease 0.6s backwards;
}

/* Boutons du hero */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--orange);
    color: var(--white);
    padding: 0.9rem 1.8rem;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    border: 2px solid var(--orange);
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

.btn.btn-primary {
    background-color: var(--orange);
    border-color: var(--orange);
    color: white;
}

.btn.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.15);
}

.btn.btn-outline:hover i {
    animation: bounce 0.5s ease infinite alternate;
}

/* Indicateur de défilement */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 2s ease 1s backwards;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
    margin-bottom: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: white;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s ease infinite;
}

.arrow-down {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(45deg);
    animation: arrowBounce 1.5s ease infinite;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowText {
    from {
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    }
    to {
        text-shadow: 2px 2px 15px rgba(230, 126, 34, 0.8);
    }
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        top: 6px;
    }
    100% {
        opacity: 0;
        top: 26px;
    }
}

@keyframes arrowBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-10px) rotate(45deg);
    }
    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

@keyframes bounce {
    from {
        transform: translateY(0) translateX(0);
    }
    to {
        transform: translateY(-3px) translateX(3px);
    }
}

/* Section nos créations artisanales (features) */
.features {
    padding: 2rem 0 4rem; /* Espacement plus u00e9quilibru00e9 */
    background-color: var(--white);
    position: relative;
    margin-bottom: 0; /* Suppression de la marge négative */
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem; /* Réduction de la marge de 3.5rem à 2rem */
}

.title-underline {
    display: inline-block;
    width: 100px;
    height: 3px;
    background-color: rgba(230, 126, 34, 0.3);
    position: relative;
    margin: 0 auto 1.5rem;
}

.title-underline span {
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--orange);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: underlineWidth 2s ease-in-out infinite alternate;
}

@keyframes underlineWidth {
    from {
        width: 30px;
    }
    to {
        width: 70px;
    }
}

.feature-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    transition: transform 0.5s ease-out;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item.reverse {
    direction: rtl;
}

.feature-item.reverse .feature-content {
    direction: ltr;
}

.feature-image-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.feature-image-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-image {
    height: 400px;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    position: relative;
}

.feature-image-wrapper:hover .feature-image {
    transform: scale(1.1);
}

.feature-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--orange);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.feature-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
    font-family: 'Playfair Display', serif;
    position: relative;
    display: inline-block;
}

.feature-content h3:after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--orange);
    margin-top: 0.3rem;
    transition: width 0.3s ease;
}

.feature-content:hover h3:after {
    width: 80px;
}

.feature-content p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-highlights {
    list-style: none;
    margin-bottom: 1.5rem;
}

.feature-highlights li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.feature-highlights li i {
    color: var(--orange);
    margin-right: 10px;
    font-size: 0.9rem;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    color: var(--orange);
    font-weight: 600;
    transition: all 0.3s ease;
    gap: 8px;
}

.btn-link:hover {
    color: var(--light-orange);
    gap: 12px;
}

.btn-link i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.cta-features {
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 0; /* Suppression de la marge négative */
    position: relative;
    z-index: 5;
}

/* Animation pour les éléments data-aos */
[data-aos] {
    opacity: 0;
    transition: all 0.8s ease;
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateX(0);
}

/* Section formules preview */
.formules-preview {
    padding: 0rem 0 4rem; /* Espacement u00e9quilibru00e9 et suppression de la redondance */
    position: relative;
    margin-top: 0;
    background-color: var(--light-cream);
}

.formules-preview .section-header {
    margin-top: 0; /* Suppression de la marge négative */
}

.formules-showcase {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 992px) {
    .formules-showcase {
        flex-direction: row;
        align-items: stretch; /* Pour que les éléments s'étirent sur toute la hauteur */
        gap: 2rem;
        position: relative; /* Pour le positionnement de la galerie */
    }
    
    .formules-gallery {
        flex: 0.8; /* Réduit légèrement la largeur de la galerie */
        position: sticky; /* Fixe la galerie pendant le défilement */
        top: 20px;
        align-self: flex-start;
        max-height: calc(100vh - 50px); /* Hauteur maximale pour éviter les problèmes */
    }
    
    .formules-content-desktop {
        flex: 1.2; /* Augmente légèrement la largeur du contenu des formules */
    }
}

.formules-gallery {
    flex: 1;
}

.formules-gallery .gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.formules-gallery .gallery-image {
    height: 120px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gallery-image {
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.gallery-image:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Desktop version */
.formules-content-desktop {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.formules-content-desktop .formule-item {
    background-color: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.formules-content-desktop .formule-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Mobile slider version */
.formules-slider-container {
    display: none; /* Masqué par défaut sur desktop */
    position: relative;
    padding: 1rem 0;
    overflow: hidden;
}

.formules-slider {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    gap: 1rem;
    padding: 0 1rem;
}

.formules-slider .formule-item {
    min-width: 85%;
    flex: 0 0 85%;
    background-color: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    opacity: 0.7;
    transform: scale(0.9);
    transition: all 0.5s ease;
    margin: 0 auto;
}

.formules-slider .formule-item.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.slider-controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    padding: 0 0.5rem;
}

/* Masquage des flèches de navigation */
.slider-controls {
    display: none; /* Cache les flèches de navigation */
}

.slider-controls button {
    background-color: var(--orange);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.slider-controls button:hover {
    background-color: var(--dark-orange);
    transform: scale(1.1);
}

.slider-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.pagination-dot {
    width: 8px;
    height: 8px;
    background-color: var(--light-orange);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot.active {
    width: 24px;
    background-color: var(--orange);
    border-radius: 12px;
}

.formule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.formule-header h3 {
    color: var(--dark-gray);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 0;
}

.price {
    background-color: var(--orange);
    color: white;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 1.1rem;
}

.formule-desc {
    color: #555;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.formule-note {
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
}

/* Media query pour le slider mobile */
@media (max-width: 991px) {
    .formules-slider-container {
        display: block;
        margin-bottom: 2rem;
    }
    
    .formules-content-desktop {
        display: none;
    }
    
    .formules-gallery {
        margin-bottom: 2rem;
    }
    
    .gallery-image {
        height: 250px;
    }
}

@media (min-width: 992px) {
    .formules-gallery {
        max-height: 95vh; /* S'assure que la galerie prend presque toute la hauteur de la vue */
        overflow-y: auto; /* Permet de défiler si nécessaire */
        padding-right: 5px; /* Ajoute un peu d'espace pour la barre de défilement */
    }
}

/* Affichage des galeries d'images */
@media (max-width: 767px) {
    .formules-gallery .gallery-grid {
        display: block;
    }
    
    .formules-gallery .gallery-grid .gallery-image:not(:first-child) {
        display: none; /* Cache toutes les images sauf la première sur mobile */
    }
    
    .formules-gallery .gallery-image {
        height: 180px; /* Hauteur légèrement réduite */
        margin-bottom: 0.25rem; /* Espace minimum entre l'image et les formules */
    }
    
    .formules-showcase {
        gap: 0.25rem; /* Réduction maximale de l'espace */
        margin-top: 0.5rem; /* Réduit aussi l'espace avec l'en-tête de section */
    }
    
    .formules-slider-container {
        margin-top: 0; /* Supprime la marge en haut du slider de formules */
    }
    
    .formules-preview .section-header {
        margin-bottom: 0.5rem; /* Réduit l'espace après l'en-tête */
    }
    
    .formules-preview {
        padding-top: 1rem; /* Réduit le padding du haut de la section entière */
    }
}

/* Section CTA */
.cta {
    padding: 4rem 0;
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.cta-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.cta-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Section Galerie */
.gallery-preview {
    padding: 5rem 0;
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.gallery-item {
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.6));
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gallery-cta {
    text-align: center;
}

/* Pied de page */
footer {
    background-color: var(--dark-gray);
    color: #aaa;
    padding-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-info h3, .footer-hours h3, .footer-links h3, .footer-social h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: var(--orange);
    font-family: 'Playfair Display', serif;
}

.footer-info p {
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
}

.footer-info p i {
    margin-right: 10px;
    color: var(--orange);
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    border-bottom: 1px dotted rgba(255,255,255,0.1);
    padding-bottom: 0.5rem;
}

.footer-links ul li {
    margin-bottom: 0.6rem;
    transition: var(--transition);
}

.footer-links ul li a {
    display: block;
    transition: var(--transition);
    color: #aaa;
}

.footer-links ul li a:hover {
    color: var(--orange);
    transform: translateX(5px);
}

.footer-social p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

.social-icons a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--white);
}

.social-icons a:hover {
    background-color: var(--orange);
    transform: translateY(-3px);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #aaa;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--orange);
}

/* Responsive */
@media (max-width: 992px) {
    .feature-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-item.reverse {
        direction: ltr;
    }
    
    .feature-image {
        height: 350px;
    }
    
    .formules-showcase {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        margin-top: 95px; /* Ajuster pour coller au header sur mobile */
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-image {
        height: 250px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .cta-buttons {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .ticker-wrap {
        padding: 6px 0; /* Lu00e9gu00e8re ru00e9duction du padding */
        height: 30px; /* Hauteur fixe pour u00e9viter tout espace */
        display: flex;
        align-items: center;
    }
    
    header {
        top: 30px; /* Ajustement exact u00e0 la hauteur du ticker */
    }

    .ticker-item {
        padding: 0 15px;
        font-size: 0.8rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
    
    .feature-image {
        height: 200px;
    }
    
    .gallery-item {
        height: 150px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Section Témoignages */
.testimonials {
    padding: 0rem 0 3rem; /* Ajout d'un padding bottom pour un meilleur u00e9quilibre */
    background-color: var(--white);
    position: relative;
    margin-bottom: 0;
}

/* Galerie Preview */
.gallery-preview {
    padding: 0 0 3rem; /* Supprime le padding top */
    background-color: var(--white);
}

.gallery-preview .section-title {
    margin-top: 0;
    padding-top: 0;
}

/* Réduction des marges pour les titres */
.gallery-preview .section-header {
    margin-bottom: 1rem;
}

@media (max-width: 767px) {
    .testimonials {
        padding-top: 2rem;
        padding-bottom: 0;
    }
    
    .gallery-preview {
        padding-top: 1.5rem;
        padding-bottom: 2rem;
    }
    
    .gallery-preview .section-title {
        margin-bottom: 0.25rem;
    }
    
    .gallery-preview .section-subtitle {
        margin-bottom: 0.5rem;
    }
}

/* Styles pour la grille d'offres en version desktop */
.offres-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.offre-item {
    background-color: #f9f5f0;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

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

.offre-item span {
    font-weight: bold;
    color: var(--orange);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.offre-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--dark-gray);
}

@media (max-width: 767px) {
    .offres-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* Galerie 'Nos délices en images' */
.gallery-preview .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 2rem;
}

@media (max-width: 992px) {
    .gallery-preview .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .gallery-preview .gallery-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 colonnes sur mobile */
        gap: 8px; /* Espacement réduit pour mobile */
    }
    
    .gallery-preview .gallery-image {
        height: 100px; /* Hauteur réduite pour les petits écrans */
        border-radius: 5px;
    }
    
    .gallery-preview {
        padding: 2rem 0; /* Padding réduit sur mobile */
    }
    
    .gallery-preview .section-title {
        margin-bottom: 0.5rem; /* Réduction de la marge sous le titre */
    }
    
    .gallery-preview .section-subtitle {
        margin-bottom: 0.75rem; /* Réduction de la marge sous le sous-titre */
    }
}

/* Réduction de l'espace entre la section des avis clients et la section galerie */
.testimonials {
    padding-bottom: 0; /* Réduit le padding en bas de la section entière */
}

.gallery-preview {
    padding-top: 2rem; /* Réduit le padding en haut de la section entière */
}

@media (max-width: 767px) {
    .testimonials {
        padding-bottom: 0; /* Encore moins d'espace sur mobile */
    }
    
    .gallery-preview {
        padding-top: 2rem; /* Encore moins d'espace sur mobile */
    }
}

/* Section Témoignages */
.testimonials-slider-container {
    position: relative;
    padding: 1rem 0;
    overflow: hidden;
    margin-top: 2rem;
    cursor: grab;
}

.testimonials-slider-container:active {
    cursor: grabbing;
}

@media (min-width: 992px) {
    .testimonials-slider-container {
        margin: 2rem auto;
        max-width: 90%;
    }
    
    .testimonials-slider {
        display: flex;
        transition: transform 0.5s cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }
    
    .testimonial-item {
        flex: 0 0 auto;
        width: 100%;
        max-width: 600px;
        margin: 0 1.5rem;
        transform-origin: center;
        transition: all 0.4s ease;
    }
    
    .testimonial-item.active {
        transform: scale(1.03);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
}

.testimonial-item {
    background-color: var(--white);
    border-radius: 15px;
    padding: 0;
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

@media (min-width: 768px) {
    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .testimonial-item {
        transform: scale(0.97);
    }
}

@media (min-width: 1200px) {
    .testimonials-slider {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    padding: 2rem;
    border-radius: 15px;
    background-color: var(--white);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-stars {
    color: var(--orange);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
    font-style: italic;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

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

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: white;
    margin-right: 15px;
    border: 2px solid var(--light-orange);
    box-shadow: var(--shadow);
}

.author-info h4 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    color: var(--dark-gray);
    font-size: 1.2rem;
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #888;
}

.testimonial-pagination {
    margin-top: 2rem;
}

.testimonials .slider-controls button {
    background-color: var(--orange);
    color: white;
}

.testimonials .slider-controls button:hover {
    background-color: var(--dark-orange);
}

@media (max-width: 767px) {
    .testimonial-content {
        padding: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
    
    .author-info h4 {
        font-size: 1.1rem;
    }
    
    .testimonials {
        padding: 0rem 0;
    }
}

/* Bouton retour en haut */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #8b5e3c;
    color: white;
    border: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 100;
}

/* Styles pour les modales */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 2rem;
    width: 90%;
    max-width: 1000px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: translateY(-30px);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        width: 95%;
    }
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #333;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--orange);
}

.modal h2 {
    color: var(--orange);
    text-align: center;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
}

.gallery-modal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 10px;
}

@media (max-width: 768px) {
    .gallery-modal {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
}

.gallery-modal .gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background-color: #fff;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gallery-modal .gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-modal img {
    width: 100%;
    height: 230px;
    object-fit: scale-down;
    background-color: #ffffff;
    display: block;
}

@media (max-width: 768px) {
    .gallery-modal img {
        aspect-ratio: 1/1;
    }
}

.gallery-caption {
    padding: 0.8rem;
    background-color: #fff;
}

.gallery-caption h3 {
    margin: 0 0 0.3rem;
    color: var(--dark-gray);
    font-size: 1.2rem;
}

.gallery-caption p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .gallery-caption {
        padding: 0.6rem;
    }
    
    .gallery-caption h3 {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }
    
    .gallery-caption p {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    .modal-content {
        width: 95%;
        padding: 1.5rem;
        margin: 10% auto;
    }
    
    .gallery-modal img {
        height: 200px;
    }
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    background-color: #a67c52;
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    #back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Section des avis Google */
.reviews-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.google-reviews-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.google-reviews-slider {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease;
    position: relative;
}

.review-item {
    width: 100%;
    padding: 25px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin: 0;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.review-item.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid #f1f1f1;
}

.review-info h4 {
    margin: 0 0 5px;
    color: var(--dark-gray);
    font-family: 'Poppins', sans-serif;
}

.review-stars {
    color: #FFC107;
    font-size: 14px;
}

.review-content p {
    color: #555;
    line-height: 1.6;
    font-style: italic;
    position: relative;
}

/* Guillemets supprimés selon la demande du client */
.review-content p {
    padding: 0 5px;
}

.review-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.review-prev,
.review-next {
    background-color: var(--orange);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 0 10px;
}

.review-prev:hover,
.review-next:hover {
    background-color: var(--dark-orange);
}

.review-dots {
    display: flex;
    margin: 0 20px;
}

.review-dot {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.review-dot.active {
    background-color: var(--orange);
}

.google-badge {
    text-align: center;
    margin-top: 30px;
}

.google-badge a {
    display: inline-flex;
    align-items: center;
    color: #4285F4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid #4285F4;
}

.google-badge a:hover {
    background-color: #4285F4;
    color: white;
}

.google-badge .fab {
    margin-right: 10px;
    font-size: 18px;
}

@media (max-width: 768px) {
    .review-item {
        padding: 15px;
    }
    
    .review-avatar {
        width: 50px;
        height: 50px;
    }
    
    .review-stars {
        font-size: 12px;
    }
}
