/* -------------------------------------------------------------------------- */
/* VARIABLES DE STYLE (ROOT)                                                  */
/* -------------------------------------------------------------------------- */
:root {
    --primary-orange: #D98F71;
    --secondary-brown: #8C6F60;
    --light-peach: #FADBC8;
    --warm-cream: #FDF9F5;
    --dark-text: #4D413C;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-brown) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--light-peach) 0%, var(--primary-orange) 100%);
    --gradient-soft: linear-gradient(135deg, #FFFFFF 0%, var(--warm-cream) 100%);
    --shadow-soft: 0 4px 20px rgba(217, 143, 113, 0.15);
    --shadow-medium: 0 8px 32px rgba(217, 143, 113, 0.2);
    --shadow-strong: 0 16px 48px rgba(217, 143, 113, 0.3);
    --border-radius: 24px;
    --border-radius-large: 32px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* -------------------------------------------------------------------------- */
/* RESET & BODY                                                               */
/* -------------------------------------------------------------------------- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: 'Poppins', sans-serif; 
    line-height: 1.7; 
    color: var(--dark-text); 
    background: var(--warm-cream); 
    overflow-x: hidden; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar { 
    width: 8px; 
}

::-webkit-scrollbar-track { 
    background: var(--warm-cream); 
}

::-webkit-scrollbar-thumb { 
    background: var(--gradient-primary); 
    border-radius: 4px; 
}

/* Optimisation pour devices faibles */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* -------------------------------------------------------------------------- */
/* HEADER & NAVIGATION                                                        */
/* -------------------------------------------------------------------------- */
header { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    z-index: 1000; 
    backdrop-filter: blur(20px); 
    background: rgba(255, 255, 255, 0.85); 
    border-bottom: 1px solid rgba(217, 143, 113, 0.1); 
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); 
}

.header-scrolled { 
    box-shadow: var(--shadow-soft); 
}

nav { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 1rem 2rem; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

/* Logo avec image */
.logo-link {
    height: 60px;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
    gap: 1rem;
    cursor: pointer;
}

.logo-img {
    height: 120px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark-text);
    transition: color 0.3s ease;
}

.logo-link:hover .logo-img {
    transform: scale(1.08) rotate(-3deg);
}

.logo-link:hover .logo-text {
    color: var(--primary-orange);
}

.nav-menu { 
    display: flex; 
    list-style: none; 
    gap: 2rem; 
    align-items: center; 
}

.nav-menu a { 
    color: var(--dark-text); 
    text-decoration: none; 
    font-weight: 500; 
    padding: 0.8rem 1.5rem; 
    border-radius: 50px; 
    transition: var(--transition); 
    position: relative; 
    overflow: hidden; 
    cursor: pointer;
}

.nav-menu a::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 0; 
    height: 100%; 
    background: var(--gradient-primary); 
    transition: width 0.4s ease; 
    z-index: -1; 
}

.nav-menu a:hover::before { 
    width: 100%; 
}

.nav-menu a:hover { 
    color: white; 
    transform: translateY(-1px); 
    box-shadow: var(--shadow-soft); 
}

.nav-menu a:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 200px;
    z-index: 1000;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    border: 1px solid rgba(217, 143, 113, 0.1);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--dark-text);
    border-radius: 0;
    margin: 0;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background: var(--light-peach);
    color: var(--dark-text);
    transform: none;
    box-shadow: none;
}

.dropdown-menu a::before {
    display: none;
}

.cta-nav { 
    background: var(--gradient-primary); 
    color: white !important; 
    box-shadow: var(--shadow-soft); 
    animation: pulse 3s ease-in-out infinite; 
}

.cta-nav:hover { 
    animation: none; 
    transform: translateY(-2px) scale(1.05); 
    box-shadow: var(--shadow-medium); 
}

@keyframes pulse { 
    0%, 100% { box-shadow: var(--shadow-soft); } 
    50% { box-shadow: var(--shadow-medium); } 
}

.hamburger { 
    display: none; 
    flex-direction: column; 
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.hamburger span { 
    width: 28px; 
    height: 3px; 
    background: var(--primary-orange); 
    margin: 3px 0; 
    transition: all 0.3s ease; 
}

/* -------------------------------------------------------------------------- */
/* STRUCTURE GÉNÉRALE                                                         */
/* -------------------------------------------------------------------------- */
main { 
    margin-top: 100px; 
}

.container { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 0 2rem; 
}

.page-enter { 
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
}

@keyframes fadeInUp { 
    from { 
        opacity: 0; 
        transform: translateY(40px); 
    } 
    to { 
        opacity: 1; 
        transform: translateY(0); 
    } 
}

.section { 
    padding: 8rem 0; 
    position: relative; 
}

.section-header { 
    text-align: center; 
    margin-bottom: 5rem; 
}

.section-title { 
    font-family: 'Playfair Display', serif; 
    font-size: clamp(2rem, 4vw, 3.5rem); 
    color: var(--dark-text); 
    margin-bottom: 1.5rem; 
}

.section-subtitle { 
    font-size: 1.2rem; 
    color: var(--secondary-brown); 
    max-width: 800px; 
    margin: 0 auto; 
    line-height: 1.8; 
}

.btn { 
    display: inline-flex; 
    align-items: center; 
    gap: 0.5rem; 
    padding: 1.2rem 2.5rem; 
    border: none; 
    border-radius: 50px; 
    font-weight: 600; 
    text-decoration: none; 
    cursor: pointer; 
    transition: var(--transition); 
    position: relative; 
    overflow: hidden; 
}

.btn:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

.btn-primary { 
    background: var(--gradient-primary); 
    color: white; 
    box-shadow: var(--shadow-medium); 
}

.btn-primary:hover { 
    transform: translateY(-3px) scale(1.03); 
    box-shadow: var(--shadow-strong); 
}

.btn-secondary { 
    background: transparent; 
    color: var(--primary-orange); 
    border: 2px solid var(--primary-orange); 
}

.btn-secondary:hover { 
    background: var(--primary-orange); 
    color: white; 
}

/* -------------------------------------------------------------------------- */
/* SECTION HERO (ACCUEIL)                                                     */
/* -------------------------------------------------------------------------- */
.hero { 
    min-height: 90vh; 
    display: flex; 
    align-items: center; 
    background: var(--gradient-soft); 
}

.hero-content { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 4rem; 
    align-items: center; 
}

.hero-text h1 { 
    font-family: 'Playfair Display', serif; 
    font-size: clamp(2.5rem, 5vw, 4rem); 
    line-height: 1.2; 
    margin-bottom: 2rem; 
}

.hero-text .highlight { 
    background: var(--gradient-primary); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    background-clip: text; 
}

.hero-text p { 
    font-size: 1.25rem; 
    color: var(--secondary-brown); 
    margin-bottom: 3rem; 
}

.hero-cta { 
    display: flex; 
    gap: 1.5rem; 
    flex-wrap: wrap; 
}

.hero-visual { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.hero-main-image { 
    width: 400px; 
    height: 400px; 
    border-radius: 50%; 
    background: var(--gradient-primary); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 8rem; 
    color: white; 
    box-shadow: var(--shadow-strong); 
}

/* -------------------------------------------------------------------------- */
/* STYLE DES BULLES                                                          */
/* -------------------------------------------------------------------------- */
.bubbles-container { 
    display: flex;
    flex-wrap: wrap;
    gap: 3rem; 
    margin: 4rem 0; 
    justify-content: center;
    padding-top: 2rem;
    overflow: visible;
}

.bubble {
    flex: 0 0 380px;
    max-width: 1000px; 
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6)); 
    backdrop-filter: blur(15px); 
    padding: 3.5rem; 
    text-align: center; 
    position: relative; 
    overflow: hidden; 
    border-radius: 40% 60% 60% 40% / 50% 50% 50% 50%; 
    border: 2px solid transparent; 
    background-clip: padding-box; 
    transition: all 0.3s ease; 
    cursor: pointer;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.bubble::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 5%; 
    width: 90%; 
    height: 60%; 
    border-radius: 50%; 
    background: radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 70%); 
    transform: rotate(15deg); 
    pointer-events: none; 
    transition: all 0.5s ease; 
}

.bubble::after { 
    content: ''; 
    position: absolute; 
    top: -2px; 
    left: -2px; 
    right: -2px; 
    bottom: -2px; 
    background: var(--gradient-primary); 
    border-radius: inherit; 
    z-index: -1; 
    opacity: 0.4; 
    transition: opacity 0.4s ease; 
}

.bubble:hover {
    transform: translateY(-8px);
    border-radius: 50%;
    box-shadow: var(--shadow-strong);
    background: var(--gradient-primary);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    text-rendering: geometricPrecision;
}

.bubble:hover::after {
    opacity: 1;
}

.bubble:hover::before {
    opacity: 0;
}

.bubble:hover h3,
.bubble:hover p,
.bubble:hover strong {
    color: var(--white);
}

.bubble:hover .bubble-icon {
    transform: translateY(-2px);
    background: var(--white);
    color: var(--primary-orange);
    box-shadow: var(--shadow-medium);
    text-rendering: geometricPrecision;
}

.bubble:focus {
    outline: 3px solid var(--primary-orange);
    outline-offset: 3px;
}

.bubble-icon { 
    width: 100px; 
    height: 100px; 
    margin: 0 auto 1.5rem; 
    background: var(--gradient-secondary); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 2.5rem; 
    color: white; 
    box-shadow: var(--shadow-soft); 
    transition: var(--transition); 
    background-size: 200% 200%; 
}

.bubble h3 { 
    font-family: 'Playfair Display', serif; 
    font-size: 1.4rem; 
    font-weight: 600; 
    color: var(--dark-text); 
    margin-bottom: 1rem; 
    transition: color 0.3s ease; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
    font-feature-settings: "kern" 1;
}

.bubble p, .bubble strong { 
    color: var(--secondary-brown); 
    line-height: 1.7; 
    transition: color 0.3s ease; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
    font-feature-settings: "kern" 1;
}

.bubble:hover h3,
.bubble:hover p,
.bubble:hover strong {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: geometricPrecision !important;
    font-feature-settings: "kern" 1 !important;
}

/* -------------------------------------------------------------------------- */
/* CARROUSEL DE TÉMOIGNAGES                                                   */
/* -------------------------------------------------------------------------- */
.testimonials-carousel {
    position: relative;
    overflow: visible;
    padding-top: 1rem;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.carousel-track {
    flex: 1;
    overflow: visible;
    cursor: grab; /* Indique que la zone peut être "saisie" */
}

.carousel-track.is-grabbing {
    cursor: grabbing; /* Change le curseur pendant le glissement */
}

.testimonials-carousel .carousel-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
    padding-top: 1rem;
    overflow: visible;
}

.carousel-nav {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    flex-shrink: 0;
}

.carousel-nav:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-medium);
}

.carousel-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: scale(1);
}

.carousel-nav:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(217, 143, 113, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--gradient-primary);
    transform: scale(1.3);
}

.indicator:hover {
    background: var(--primary-orange);
}

.indicator:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

.carousel-loading {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--secondary-brown);
}

.carousel-error {
    text-align: center;
    padding: 2rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: var(--border-radius);
    color: #EF4444;
    margin: 2rem 0;
}

/* -------------------------------------------------------------------------- */
/* STYLES DES SECTIONS & AUTRES ÉLÉMENTS                                      */
/* -------------------------------------------------------------------------- */
.two-column { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 4rem; 
    align-items: center; 
    margin: 2rem 0; 
}

.content-block { 
    background: rgba(255, 255, 255, 0.8); 
    backdrop-filter: blur(20px); 
    border: 1px solid rgba(217, 143, 113, 0.1); 
    border-radius: var(--border-radius-large); 
    padding: 3rem; 
    box-shadow: var(--shadow-soft); 
}

.content-block h3 { 
    font-family: 'Playfair Display', serif; 
    font-size: 1.8rem; 
    margin-bottom: 1.5rem; 
}

.about-visual { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.about-photo-bubble { 
    width: 320px; 
    height: 320px; 
    font-size: 7rem; 
}

.personal-tip { 
    background: var(--gradient-soft); 
    border-left: 4px solid var(--primary-orange); 
    border-radius: var(--border-radius); 
    padding: 2rem; 
    margin-top: 3rem; 
}

.personal-tip p { 
    font-style: italic; 
    color: var(--secondary-brown); 
}

.personal-tip strong { 
    color: var(--dark-text); 
    font-family: 'Playfair Display', serif;
}

.engagements-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 2rem; 
}

.engagement-card { 
    background: white; 
    padding: 2rem; 
    border-radius: var(--border-radius); 
    text-align: center; 
    box-shadow: var(--shadow-soft); 
    transition: var(--transition); 
}

.engagement-card:hover { 
    transform: translateY(-10px); 
    box-shadow: var(--shadow-medium); 
}

.engagement-icon { 
    font-size: 3rem; 
    color: var(--primary-orange); 
    margin-bottom: 1rem; 
}

.engagement-card h3 { 
    font-family: 'Playfair Display', serif; 
    margin-bottom: 0.5rem; 
}

.gallery-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 1.5rem; 
}

.gallery-item { 
    border-radius: var(--border-radius); 
    overflow: hidden; 
    box-shadow: var(--shadow-medium); 
    aspect-ratio: 1 / 1; 
    background: var(--gradient-soft); 
    position: relative;
}

.gallery-item img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.4s ease;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.4s ease;
}

.gallery-item img.loaded {
    opacity: 1;
}

.gallery-item:hover img { 
    transform: scale(1.1); 
}

.gallery-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    color: var(--secondary-brown);
    font-style: italic;
    height: 100%;
}

/* FAQ Styles */
details { 
    background: white; 
    border-radius: var(--border-radius); 
    margin-bottom: 1rem; 
    box-shadow: var(--shadow-soft); 
}

summary { 
    padding: 1.5rem; 
    font-weight: 600; 
    cursor: pointer; 
    list-style: none; 
    position: relative;
    transition: var(--transition);
}

summary::-webkit-details-marker { 
    display: none; 
}

summary::after { 
    content: '+'; 
    position: absolute; 
    right: 1.5rem; 
    font-size: 1.5rem; 
    color: var(--primary-orange); 
    transition: transform 0.3s ease; 
}

summary:hover {
    background: var(--gradient-soft);
}

summary:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: -2px;
}

details[open] summary { 
    color: var(--primary-orange); 
}

details[open] summary::after { 
    transform: rotate(45deg); 
}

details div { 
    padding: 0 1.5rem 1.5rem 1.5rem; 
    border-top: 1px solid rgba(217, 143, 113, 0.1); 
}

/* -------------------------------------------------------------------------- */
/* STYLE DU FORMULAIRE                                                       */
/* -------------------------------------------------------------------------- */
.form-container { 
    background: rgba(255, 255, 255, 0.9); 
    backdrop-filter: blur(20px); 
    border: 1px solid rgba(217, 143, 113, 0.1); 
    border-radius: var(--border-radius-large); 
    padding: 3rem 4rem; 
    box-shadow: var(--shadow-medium); 
    max-width: 900px; 
    margin: 0 auto; 
}

.form-fieldset { 
    border: none; 
    padding: 0; 
    margin-bottom: 2rem; 
}

.form-legend { 
    font-family: 'Playfair Display', serif; 
    font-size: 1.5rem; 
    color: var(--primary-orange); 
    margin-bottom: 2rem; 
    width: 100%; 
    padding-bottom: 0.5rem; 
    border-bottom: 1px solid rgba(217, 143, 113, 0.2); 
}

.form-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 2.5rem; 
}

.form-group.full-width { 
    grid-column: 1 / -1; 
}

.input-wrapper { 
    position: relative; 
}

.input-wrapper label { 
    position: absolute; 
    top: 15px; 
    left: 40px; 
    font-size: 1rem; 
    color: var(--secondary-brown); 
    pointer-events: none; 
    transition: all 0.3s ease; 
}

.form-input { 
    width: 100%; 
    background: transparent; 
    border: none; 
    border-bottom: 2px solid rgba(217, 143, 113, 0.3); 
    padding: 1rem 1rem 1rem 40px; 
    font-size: 1rem; 
    color: var(--dark-text); 
    border-radius: 0; 
    transition: border-color 0.3s ease; 
}

.form-input:focus, .form-input:not(:placeholder-shown) { 
    outline: none; 
    border-color: var(--primary-orange); 
}

.form-input:focus + label, .form-input:not(:placeholder-shown) + label { 
    top: -10px; 
    left: 40px; 
    font-size: 0.8rem; 
    color: var(--primary-orange); 
    background: var(--warm-cream); 
    padding: 0 5px; 
}

textarea.form-input { 
    resize: vertical; 
    min-height: 100px; 
}

.input-wrapper .input-icon { 
    position: absolute; 
    top: 15px; 
    left: 10px; 
    color: var(--secondary-brown); 
    transition: color 0.3s ease; 
}

.form-input:focus ~ .input-icon, .form-input:not(:placeholder-shown) ~ .input-icon { 
    color: var(--primary-orange); 
}

.checkbox-group { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 1rem; 
}

.checkbox-item { 
    display: flex; 
    align-items: center; 
    gap: 0.8rem; 
    padding: 1rem; 
    background: var(--gradient-soft); 
    border-radius: var(--border-radius); 
    cursor: pointer; 
    transition: var(--transition); 
}

.checkbox-item:hover { 
    transform: scale(1.03); 
    box-shadow: var(--shadow-soft); 
}

.checkbox-item:focus-within {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

.message { 
    padding: 1.5rem; 
    border-radius: var(--border-radius); 
    margin-top: 1.5rem; 
    display: none; 
}

.message.success { 
    background: #10B981; 
    color: white; 
}

.message.error {
    background: #EF4444;
    color: white;
}

.loading { 
    display: none; 
    justify-content: center; 
    padding: 2rem; 
}

.spinner { 
    width: 50px; 
    height: 50px; 
    border: 3px solid rgba(217, 143, 113, 0.3); 
    border-top: 3px solid var(--primary-orange); 
    border-radius: 50%; 
    animation: spin 1s linear infinite; 
}

@keyframes spin { 
    from { transform: rotate(0deg); } 
    to { transform: rotate(360deg); } 
}

.error-message {
    display: none;
    color: #EF4444;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* -------------------------------------------------------------------------- */
/* FOOTER                                                                     */
/* -------------------------------------------------------------------------- */
footer { 
    background: var(--secondary-brown); 
    color: white; 
    padding: 5rem 2rem 2rem; 
}

.footer-content { 
    max-width: 1400px; 
    margin: 0 auto 3rem; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 3rem; 
}

.footer-section h3 { 
    font-family: 'Playfair Display', serif; 
    color: var(--light-peach); 
    margin-bottom: 1.5rem; 
}

.footer-section p, .footer-section a { 
    color: #FDF9F5; 
    text-decoration: none; 
    margin-bottom: 0.8rem; 
    display: block; 
    cursor: pointer; 
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--light-peach);
    transform: translateX(5px);
}

.footer-section a:focus {
    outline: 2px solid var(--light-peach);
    outline-offset: 2px;
}

.footer-bottom { 
    text-align: center; 
    padding-top: 2rem; 
    border-top: 1px solid rgba(217, 143, 113, 0.2); 
}

/* -------------------------------------------------------------------------- */
/* RESPONSIVE                                                                 */
/* -------------------------------------------------------------------------- */
@media (max-width: 968px) {
    .hamburger { 
        display: flex; 
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    .nav-menu { 
        position: fixed; 
        left: -100%; 
        top: 95px; 
        flex-direction: column; 
        background: rgba(255, 255, 255, 0.98); 
        width: 100%; 
        text-align: center; 
        box-shadow: var(--shadow-medium); 
        padding: 2rem 0; 
        gap: 1rem; 
        transition: left 0.3s ease;
    }
    
    .nav-menu.active { 
        left: 0; 
    }
    
    .dropdown-menu {
        position: static;
        background: var(--light-peach);
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        margin-top: 0.5rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 300px;
    }
    
    .dropdown-toggle::after {
        content: ' ▾';
        transition: transform 0.3s ease;
    }
    
    .dropdown.active .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    
    .hero-content, 
    .two-column, 
    .form-grid, 
    .bubbles-container, 
    .engagements-grid { 
        grid-template-columns: 1fr; 
    }
    
    .hero-main-image { 
        width: 300px; 
        height: 300px; 
        margin: 0 auto; 
    }
    
    .two-column .about-visual { 
        order: -1; 
    }
    
    .form-container {
        padding: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .carousel-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .carousel-container {
        gap: 1rem;
    }
    
    .carousel-nav {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 640px) {
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-link {
        gap: 0.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        text-align: center;
        min-width: 200px;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .carousel-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
/* DANS VOTRE FICHIER style.css, À L'INTÉRIEUR DE @media (max-width: 640px) */

/* --- CORRECTION DÉFINITIVE ET FORCÉE POUR LE CARROUSEL SUR MOBILE --- */

.testimonials-carousel {
    /* On s'assure que le conteneur global du carrousel ne déborde pas */
    overflow: hidden;
}

.carousel-container {
    /* On s'assure que le conteneur flex n'ajoute pas d'espace inattendu */
    width: 100%;
}

.carousel-track {
    overflow: hidden; /* Cache tout ce qui dépasse horizontalement */
    width: 100%;
    /* C'est une astuce clé pour les conteneurs flex/grid qui refusent de rétrécir */
    min-width: 0; 
}

.testimonials-carousel .carousel-content {
    /* On passe en block simple, car le JS n'affiche qu'un seul élément à la fois. */
    /* Pas besoin de grid ou flex ici, ce qui simplifie et évite les bugs. */
    display: block;
    width: 100%;
}

.testimonials-carousel .bubble {
    width: 100%;
    max-width: 100%;
    
    /* On s'assure que box-sizing est bien appliqué pour inclure le padding dans la largeur totale */
    box-sizing: border-box; 
    
    /* On peut même supprimer la base flex pour éviter tout conflit */
    flex-basis: auto; 
    flex-shrink: 1;

    /* On garde un padding raisonnable pour le mobile */
    padding: 2.5rem 2rem; 
}

.carousel-nav {
    display: none;
}
}

/* Optimisations pour les images */
img {
    height: auto;
    max-width: 100%;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.about-photo-bubble {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.about-photo-bubble:hover .team-photo {
    transform: scale(1.1);
}

/* ========================================= */
/* BANNIÈRE DE COOKIES */
/* ========================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-top: 3px solid var(--primary-orange);
    padding: 1.5rem;
    z-index: 10000;
    box-shadow: 0 -8px 32px rgba(217, 143, 113, 0.2);
    animation: slideUpCookie 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes slideUpCookie {
    from { 
        transform: translateY(100%); 
        opacity: 0;
    }
    to { 
        transform: translateY(0); 
        opacity: 1;
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
}

.cookie-text h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-text);
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
}

.cookie-text p {
    margin: 0;
    color: var(--secondary-brown);
    line-height: 1.6;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-btn {
    font-size: 0.9rem;
    padding: 0.8rem 1.5rem;
    white-space: nowrap;
    transition: var(--transition);
    border-radius: 25px;
}

.cookie-btn:hover {
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--secondary-brown);
    border: 2px solid var(--secondary-brown);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--secondary-brown);
    color: white;
    box-shadow: var(--shadow-soft);
}

/* ========================================= */
/* MODAL DE GESTION DES COOKIES */
/* ========================================= */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeInModal 0.3s ease;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cookie-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(77, 65, 60, 0.8);
    backdrop-filter: blur(5px);
}

.cookie-modal-content {
    background: white;
    border-radius: var(--border-radius-large);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 1;
    animation: slideInModal 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: var(--shadow-strong);
}

@keyframes slideInModal {
    from { 
        transform: translateY(50px); 
        opacity: 0;
    }
    to { 
        transform: translateY(0); 
        opacity: 1;
    }
}

.cookie-modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 2px solid var(--light-peach);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--gradient-soft);
    border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
}

.cookie-modal-header h2 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    color: var(--dark-text);
    font-size: 1.8rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--secondary-brown);
    padding: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.close-btn:hover {
    background: rgba(217, 143, 113, 0.1);
    color: var(--primary-orange);
    transform: rotate(90deg);
}

.cookie-modal-body {
    padding: 2rem;
}

.cookie-intro {
    font-size: 1.1rem;
    color: var(--secondary-brown);
    margin-bottom: 2rem;
    text-align: center;
    padding: 1rem;
    background: var(--gradient-soft);
    border-radius: var(--border-radius);
}

/* ========================================= */
/* CATÉGORIES DE COOKIES */
/* ========================================= */
.cookie-category {
    margin-bottom: 2rem;
    border: 2px solid rgba(217, 143, 113, 0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.cookie-category:hover {
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-soft);
}

.cookie-category-header {
    padding: 1.5rem;
    background: var(--gradient-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid rgba(217, 143, 113, 0.1);
}

.cookie-category-info {
    flex: 1;
}

.cookie-category-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: var(--dark-text);
}

.cookie-count {
    font-size: 0.85rem;
    color: var(--secondary-brown);
    background: rgba(217, 143, 113, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 500;
}

.cookie-status.required {
    background: var(--secondary-brown);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.cookie-category-content {
    padding: 1.5rem;
}

.cookie-category-content p {
    color: var(--secondary-brown);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.cookie-details {
    background: rgba(217, 143, 113, 0.05);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin: 1rem 0;
}

.cookie-item {
    padding: 0.5rem 0;
    color: var(--dark-text);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-item:not(:last-child) {
    border-bottom: 1px solid rgba(217, 143, 113, 0.1);
}

.cookie-item.inactive {
    color: #9CA3AF;
    font-style: italic;
}

.cookie-item strong {
    color: var(--primary-orange);
    font-weight: 600;
}

.cookie-note {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid #EF4444;
    color: #DC2626;
}

.cookie-note.success {
    background: rgba(16, 185, 129, 0.1);
    border-left-color: #10B981;
    color: #059669;
}

/* ========================================= */
/* TOGGLE SWITCHES */
/* ========================================= */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #CBD5E0;
    transition: 0.4s;
    border-radius: 30px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: 0.4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input:checked + .toggle-slider {
    background: var(--gradient-primary);
}

input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

.toggle-slider.disabled {
    background: #E5E7EB;
    cursor: not-allowed;
    opacity: 0.6;
}

.toggle-slider.disabled:before {
    background: #F3F4F6;
}

/* ========================================= */
/* FOOTER MODAL */
/* ========================================= */
.cookie-modal-footer {
    padding: 1.5rem 2rem 2rem;
    background: var(--gradient-soft);
    border-top: 2px solid var(--light-peach);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 0 var(--border-radius-large) var(--border-radius-large);
}

.cookie-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-link {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.cookie-link:hover {
    text-decoration: underline;
    color: var(--secondary-brown);
}

/* ========================================= */
/* RESPONSIVE DESIGN */
/* ========================================= */
@media (max-width: 968px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: auto;
    }
    
    .cookie-modal {
        padding: 0.5rem;
    }
    
    .cookie-modal-content {
        margin: 0;
        max-height: 95vh;
    }
    
    .cookie-modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .cookie-modal-body {
        padding: 1.5rem;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .cookie-links {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-category-header {
        padding: 1rem;
    }
    
    .cookie-category-content {
        padding: 1rem;
    }
}

@media (max-width: 640px) {
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
    
    .cookie-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .close-btn {
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
    
    .cookie-toggle {
        width: 50px;
        height: 25px;
    }
    
    .toggle-slider:before {
        height: 19px;
        width: 19px;
        left: 3px;
        bottom: 3px;
    }
    
    input:checked + .toggle-slider:before {
        transform: translateX(25px);
    }
}

/* ========================================= */
/* ANIMATIONS & INTERACTIONS */
/* ========================================= */
.cookie-category {
    transition: all 0.3s ease;
}

.cookie-category.expanded {
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-medium);
}

.cookie-category.expanded .cookie-category-header {
    background: rgba(217, 143, 113, 0.1);
}

/* Amélioration de l'accessibilité */
.cookie-toggle:focus-within .toggle-slider {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

.cookie-btn:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

/* Animation de notification */
@keyframes cookieNotification {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.cookie-saved {
    animation: cookieNotification 0.6s ease;
}