:root {
    --bg-color: #F4F1EA;
    --bg-alt: #FFFFFF;
    --text-color: #333333;
    --primary-color: #E8B4B8;
    --primary-dark: #B07D7B;
    --white: #FFFFFF;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { 
    scroll-behavior: smooth; 
    scroll-padding-top: 75px; 
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h3 { font-family: var(--font-heading); font-weight: 600; }
h2 { 
    font-size: clamp(1.8rem, 4vw, 2.5rem); 
    margin-bottom: 1rem; 
    color: var(--primary-dark); 
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0;
    margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

/* --- Navigation --- */
.navbar {
    position: fixed; top: 0; width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}
.nav-container {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 2rem; max-width: 1200px; margin: 0 auto;
}
.logo { font-family: var(--font-heading); font-size: 1.5rem; color: var(--primary-dark); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { text-decoration: none; color: var(--text-color); font-weight: 600; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--primary-dark); }

.burger-menu { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.burger-menu .bar { width: 25px; height: 3px; background-color: var(--text-color); transition: 0.3s; }

/* --- Layout Sections --- */
.section-container { max-width: 1200px; margin: 0 auto; padding: 5rem 2rem; text-align: center; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--primary-dark); }
.section-subtitle { margin-bottom: 3rem; font-size: 1.1rem; max-width: 700px; margin: 0 auto; }

/* --- Animations Scroll --- */
.fade-in {
    opacity: 0; 
    transform: translate3d(0, 30px, 0); 
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible { opacity: 1; transform: translate3d(0, 0, 0); }

/* --- Hero --- */
.hero {
    position: relative;
    height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center;
    padding: 0 2rem;
    overflow: hidden;
}

/* --- Carrousel Horizontal --- */
.hero-carousel {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0;
}

.carousel-track {
    display: flex; width: 400%; height: 100%;
    animation: slideCarousel 15s infinite ease-in-out;
    will-change: transform;
}
.carousel-track.paused {
    animation-play-state: paused;
}
.slide {
    width: 25%; height: 100%;
    background-size: cover;
    background-position: center;
    backface-visibility: hidden; 
}

.slide-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(244, 241, 234, 0.4), rgba(244, 241, 234, 0.6));
    z-index: 1;
}

@keyframes slideCarousel {
    0%, 20% { transform: translate3d(0, 0, 0); }
    33%, 53% { transform: translate3d(-25%, 0, 0); }
    66%, 86% { transform: translate3d(-50%, 0, 0); }
    100% { transform: translate3d(-75%, 0, 0); } 
}

/* --- Bouton pause carrousel --- */
.carousel-toggle {
    position: absolute; bottom: 1.5rem; right: 1.5rem; z-index: 3;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.85); border: 1px solid rgba(0,0,0,0.1);
    cursor: pointer; font-size: 1.1rem; color: var(--text-color);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.3s ease;
}
.carousel-toggle:hover { background: var(--white); }

/* --- Contenu du Hero --- */
.hero-content { 
    position: relative; 
    z-index: 2; 
    max-width: 800px; 
    margin-top: 60px;
    padding: 2rem;
    background: radial-gradient(circle, rgba(244, 241, 234, 0.7) 0%, rgba(244, 241, 234, 0) 70%);
    border-radius: 50%;
}

.hero-logo {
    max-width: 200px; width: 100%; height: auto;
    margin-bottom: 1.5rem; mix-blend-mode: multiply; 
    transition: transform 0.3s ease;
    backface-visibility: hidden;
    transform: translateZ(0); 
}
.hero-logo:hover { transform: scale(1.05); }

.hero p { 
    font-size: 1.2rem; 
    margin-bottom: 2.5rem; 
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

/* --- Boutons --- */
.btn-cta {
    display: inline-block; padding: 1rem 2rem; background-color: var(--primary-color);
    color: var(--white); text-decoration: none; border-radius: 30px; font-weight: 600;
    border: none; cursor: pointer; font-family: var(--font-body); font-size: 1rem;
    transition: all 0.3s ease;
}
.btn-cta:hover { background-color: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(176, 125, 123, 0.3); }
.btn-cta:disabled { background-color: #ccc; cursor: not-allowed; transform: none; box-shadow: none; }

/* --- Prestations --- */
.services { background-color: var(--bg-alt); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card {
    background-color: var(--bg-color); padding: 2.5rem 2rem; border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02); transition: all 0.3s ease; border: 1px solid transparent;
}
.service-card:hover { transform: translateY(-8px); border-color: var(--primary-color); box-shadow: 0 15px 30px rgba(232, 180, 184, 0.2); }
.service-card h3 { font-size: 1.4rem; margin-bottom: 1rem; color: var(--primary-dark); }

/* --- Avis --- */
.testimonials { background-color: var(--primary-color); color: var(--white); }
.testimonials h2 { color: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem;}
.testimonial-card { background: rgba(255, 255, 255, 0.1); padding: 2rem; border-radius: 10px; backdrop-filter: blur(5px); }
.stars { color: #FFD700; font-size: 1.5rem; margin-bottom: 1rem; }
.quote { font-style: italic; font-size: 1.1rem; margin-bottom: 1rem; }
.author { font-weight: 600; font-family: var(--font-heading); }

/* --- Galerie --- */
.gallery { background-color: var(--bg-alt); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.gallery-item img {
    width: 100%; height: 350px; object-fit: cover; border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: transform 0.4s ease;
    backface-visibility: hidden;
}
.gallery-item img:hover { transform: scale(1.03); }

/* --- FAQ --- */
.faq-section { background-color: var(--bg-color); }
.faq-container { max-width: 800px; margin: 0 auto; text-align: left; }
.faq-item {
    background-color: var(--white); border-radius: 8px; margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); padding: 1rem 1.5rem;
}
.faq-item summary {
    font-weight: 600; cursor: pointer; color: var(--primary-dark); font-size: 1.1rem;
    list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; transition: transform 0.3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 1rem; color: var(--text-color); border-top: 1px solid #eee; padding-top: 1rem; }

/* --- Footer --- */
.footer { background-color: var(--text-color); color: var(--white); padding: 5rem 2rem 1rem; text-align: center; }
.footer h2 { color: var(--primary-color); }
.footer-content { max-width: 800px; margin: 0 auto 3rem; }

.contact-form {
    background: rgba(255,255,255,0.05); padding: 2rem; border-radius: 10px;
    margin: 2rem 0; display: flex; flex-direction: column; gap: 1rem;
}
.form-group { display: flex; gap: 1rem; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; padding: 1rem; border: 1px solid rgba(255,255,255,0.2);
    border-radius: 5px; background: rgba(255,255,255,0.1); color: var(--white);
    font-family: var(--font-body); font-size: 1rem;
}
/* CORRECTION A11Y : contraste du placeholder relevé pour respecter WCAG AA (~4.5:1) */
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.85); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary-color); }
.contact-form select option { background-color: var(--text-color); color: var(--white); }

/* --- RGPD : case à cocher de consentement --- */
.form-consent {
    display: flex; align-items: flex-start; gap: 0.75rem;
    text-align: left; font-size: 0.9rem; color: rgba(255,255,255,0.9);
}
.form-consent input[type="checkbox"] {
    width: 18px; height: 18px; flex-shrink: 0; margin-top: 0.2rem; accent-color: var(--primary-color);
}
.form-consent a { color: var(--primary-color); text-decoration: underline; }
.form-consent a:hover { color: var(--white); }

.social-contact { margin-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; }
.social-contact p { margin-bottom: 1.5rem; }
.btn-instagram { background-color: transparent; border: 2px solid var(--primary-color); }
.btn-instagram:hover { background-color: var(--primary-color); color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; font-size: 0.9rem; opacity: 0.7; }
.footer-legal-links { margin-top: 0.5rem; }
.footer-legal-links a { color: rgba(255,255,255,0.8); text-decoration: underline; }
.footer-legal-links a:hover { color: var(--primary-color); }

/* --- Responsive --- */
@media screen and (max-width: 768px) {
    .burger-menu { display: flex; }
    .nav-links {
        position: absolute; top: 100%; left: 0; width: 100%; background-color: var(--white);
        flex-direction: column; align-items: center; padding: 2rem 0; gap: 1.5rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05); clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: clip-path 0.4s ease-in-out;
    }
    .nav-links.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    .form-group { flex-direction: column; }
}

/* --- ACCESSIBILITÉ --- */
:focus-visible {
    outline: 3px solid var(--primary-dark);
    outline-offset: 4px;
    border-radius: 2px;
}
.contact-form input:focus-visible, 
.contact-form select:focus-visible, 
.contact-form textarea:focus-visible {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 2px rgba(176, 125, 123, 0.3);
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important; 
    }
    .carousel-track {
        animation: none !important;
    }
}
details[open] p {
    animation: fadeInDown 0.4s ease-in-out;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}