:root {
    --cream: #FFF8F3;
    --peach: #FFCDB2;
    --terracotta: #E5989B;
    --sage: #B5838D;
    --dark: #6D6875;
    --white: #ffffff;
}

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

body {
    background-color: var(--cream);
    color: var(--dark);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}

/* --- TYPOGRAPHY --- */
h1 {
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 0.9;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--terracotta);
}

.handwritten {
    font-family: 'Caveat', cursive;
    color: var(--sage);
    font-size: 2rem;
    transform: rotate(-5deg);
    display: inline-block;
}

/* --- LAYOUT UTILS --- */
.wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
}

/* --- Styles de base pour le bouton (caché sur desktop) --- */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #d4a373; /* Couleur assortie à votre thème */
    cursor: pointer;
    z-index: 1001;
}

/* --- Adaptations Mobile (max 768px) --- */
@media (max-width: 768px) {
    /* On s'assure que le header est bien positionné */
    .site-header .wrapper {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
    }

    /* On force la disparition de la liste par défaut */
    .main-nav ul.nav-links {
        display: none !important; /* On cache le menu */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fffaf5; 
        padding: 20px 0;
        text-align: center;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 1000;
        margin: 0;
        list-style: none;
    }

    /* Quand on ajoute la classe .active via le JS, on l'affiche */
    .main-nav ul.nav-links.active {
        display: flex !important;
    }

    /* Le bouton burger */
    .mobile-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 2.5rem;
        color: #d4a373;
        cursor: pointer;
    }

    .hero-collage {
	    height: 30vh !important;
    }

    /*Réduction des gros espaces entre les sections*/
    .memories-section {
	    padding-top: 0px !important;
    }
    .inclusions-section {
	    padding-top: 0px !important;
    }
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding-top: 5rem;
    position: relative;
}

.hero-text { z-index: 10; position: relative; }

.hero-collage {
    position: relative;
    height: 80vh;
    width: 100%;
}


/* --- INTRO TEXT SECTION (NEW) --- */
.intro-text {
    padding: 4rem 2rem;
    background-color: var(--white);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px; /* Optional rounded corners */
    margin-bottom: 4rem; /* Space before next section */
}

.intro-text p.lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-family: 'Caveat', cursive;
    color: var(--sage);
}

.intro-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
    display: inline-block;
}

.intro-text li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.intro-text li::before {
    content: "✨";
    margin-right: 10px;
}

.intro-text .values {
    font-weight: 700;
    color: var(--terracotta);
    font-size: 1.2rem;
    margin-top: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* Formes d'images organiques (Arches & Blobs) */
.collage-img {
    position: absolute;
    object-fit: cover;
    box-shadow: 20px 20px 60px rgba(181, 131, 141, 0.2);
}

.img-main {
    width: 60%;
    height: 70%;
    top: 10%;
    right: 10%;
    border-radius: 200px 200px 20px 20px; /* Forme d'arche */
    z-index: 2;
}

.img-secondary {
    width: 40%;
    height: 40%;
    bottom: 5%;
    left: 5%;
    border-radius: 50%; /* Cercle */
    z-index: 3;
    border: 10px solid var(--cream);
}

.sticker-sun {
    position: absolute;
    top: 0; right: 0;
    font-size: 8rem;
    color: var(--peach);
    animation: spin 20s linear infinite;
}

/* --- FLOATING STICKERS --- */
.floating-element {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

/* --- SECTION: POLAROID GALLERY --- */
.memories-section {
    padding: 10rem 0;
    position: relative;
}



.polaroid {
    background: white;
    padding: 1rem 1rem 3rem 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform-origin: center;
    transition: transform 0.3s ease;
    width: 250px; /* Base width */
    flex-shrink: 0; /* Important for Swiper slides */
}

.polaroid img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    filter: sepia(20%); /* Effet vintage */
}

.polaroid p {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    text-align: center;
    margin-top: 1rem;
    color: var(--dark);
}

/* Swiper specific styles for mobile */
.polaroid-swiper {
    width: 100%; /* Ensure Swiper takes full width */
    padding-bottom: 3rem; /* Space for pagination */
}

/* Hide Swiper navigation and pagination by default (desktop first approach) */
.swiper-button-next,
.swiper-button-prev,
.swiper-pagination {
    display: none;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem; /* Standard margin for section headers */
}

.section-subtitle {
    font-size: 2rem;
}

.section-title {
    font-size: 3.5rem;
    color: var(--terracotta);
    margin-top: 1rem;
}

.section-description {
    font-size: 1.2rem;
    color: var(--sage);
    margin-top: 1rem;
}

.memories-section-title {
    font-size: 3rem;
    color: var(--terracotta);
}

.memories-section-subtitle {
    font-size: 2.5rem;
}

.section-cream-bg {
    padding: 8rem 0;
    background-color: var(--cream);
}

.content-card {
    background: white;
    border-radius: 50px;
    padding: 4rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.03);
}

.card-description {
    font-size: 1.5rem;
    color: var(--sage);
    margin-top: 1rem;
}

.section-spacing {
    padding: 8rem 0;
}

.section-white-bg {
    padding: 8rem 0;
    background-color: var(--white);
}

.peach-card {
    background: var(--peach);
    padding: 3rem;
    border-radius: 40px;
}

.form-input {
    padding: 1rem;
    border-radius: 10px;
    border: none;
}

.main-footer {
    padding: 4rem 0;
    background-color: var(--dark);
    color: var(--cream);
    text-align: center;
}

.floating-element-top-left {
    top: 10%;
    left: 5%;
    font-size: 3rem;
}

.floating-element-bottom-left {
    bottom: 20%;
    left: 40%;
    font-size: 2rem;
}

.sage-color {
    color: var(--sage);
}

.hero-description {
    margin-top: 2rem;
    font-size: 1.2rem;
    max-width: 400px;
    line-height: 1.6;
}

.hero-main-title {
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 0.9;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--terracotta);
}

.site-header {
    background-color: var(--cream);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--peach);
    position: relative; /* To contain wrapper absolute positioning if any */
    z-index: 100; /* Ensure it's above other content */
}

.site-header .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: 'Caveat', cursive; /* Using handwritten style */
    font-size: 2rem;
    color: var(--terracotta);
    text-decoration: none;
    font-weight: 700;
}

.site-logo:hover {
    color: var(--sage);
}

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

.main-nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--terracotta);
}

/* For active link, if needed later */
.main-nav a.active {
    color: var(--terracotta);
    font-weight: 700;
}

.polaroid-offset-top {
    margin-top: 3rem;
}

.date-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.date-card {
    border: 2px solid var(--peach);
    padding: 3rem;
    border-radius: 30px;
    text-align: center;
}

.date-card-cream-bg {
    background-color: #FFF8F3;
}

.date-card-season {
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sage);
}

.date-card-date {
    font-size: 2rem;
    margin: 1.5rem 0;
}

.date-card-link {
    color: var(--terracotta);
    font-weight: 800;
    text-decoration: none;
    border-bottom: 2px solid;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.details-category-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.details-list {
    list-style: none;
    line-height: 2;
}



.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

/* Styles for testimonial Swiper */
.testimonial-swiper {
    width: 100%;
    padding-bottom: 3rem; /* Space for pagination */
}

.testimonial-swiper .swiper-slide {
    display: flex;
    justify-content: center;
}

/* Style for testimonial-card within swiper, ensuring it's centered and readable */
.testimonial-swiper .testimonial-card {
    max-width: 600px; /* Limit width for readability */
    margin: 0 auto; /* Center the card */
    text-align: center; /* Center text within the card */
    display: flex; /* Make it a flex container */
    flex-direction: column; /* Stack children vertically */
    justify-content: center; /* Center vertically if space allows */
    align-items: center; /* Center horizontally */
}

.testimonial-swiper .testimonial-card p {
    margin-bottom: 1rem; /* Add space below the paragraph */
}

.testimonial-swiper .swiper-button-next,
.testimonial-swiper .swiper-button-prev {
    color: var(--sage);
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.testimonial-swiper .swiper-button-next::after,
.testimonial-swiper .swiper-button-prev::after {
    font-size: 1.2rem;
}
.testimonial-swiper .swiper-button-prev { left: 10px; }
.testimonial-swiper .swiper-button-next { right: 10px; }

.testimonial-swiper .swiper-pagination {
    bottom: 0;
}
.testimonial-swiper .swiper-pagination-bullet {
    background: var(--sage);
    opacity: 0.5;
}
.testimonial-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}

.footer-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Contact Page Specific Styles */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.contact-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 15px;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.contact-item h3 {
    color: var(--terracotta);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-item p, .contact-item a {
    font-size: 1.1rem;
    color: var(--dark);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.social-links a {
    font-size: 2.5rem;
    margin: 0 0.5rem;
    color: var(--sage);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--terracotta);
}

.contact-form-section {
    margin-top: 5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-title {
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--dark);
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-submit-button {
    width: 100%;
    border: none;
}

/* --- FAQ STYLES --- */
.faq-section {
    padding: 8rem 0;
    background-color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 1.5rem 0;
}

.faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--dark);
    transition: color 0.3s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--sage);
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    margin-top: 1.5rem;
    color: var(--dark);
    line-height: 1.7;
    opacity: 0.8;
    max-width: 90%;
}

.faq-item summary:hover {
    color: var(--terracotta);
}

/* --- SECTION: TEXTURE & MESSAGE --- */
.manifesto {
    background: var(--terracotta);
    color: white;
    padding: 8rem 5%;
    border-radius: 50px 50px 0 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Pattern de fond en CSS pur */
.pattern-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.2;
    pointer-events: none;
}

.manifesto p {
    font-size: clamp(1.5rem, 4vw, 3rem);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.4;
}

/* --- BUTTON --- */
.btn-blob {
    display: inline-block;
    margin-top: 3rem;
    padding: 1.5rem 4rem;
    background: var(--cream);
    color: var(--terracotta);
    font-weight: 800;
    text-decoration: none;
    border-radius: 50% 20% / 10% 40%; /* Forme organique */
    transition: all 0.3s;
    font-size: 1.2rem;
}
.btn-blob:hover {
    border-radius: 20% 50% / 40% 10%;
    transform: scale(1.05);
    background: white;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

@media (max-width: 768px) {
    /* Show Swiper navigation and pagination on mobile */
    .swiper-button-next,
    .swiper-button-prev {
        display: flex; /* Swiper buttons use flex */
        color: var(--sage); /* Custom color for navigation buttons */
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.7);
        border-radius: 50%;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    .swiper-button-next::after, .swiper-button-prev::after {
        font-size: 1.2rem;
    }
    .swiper-button-prev { left: 10px; }
    .swiper-button-next { right: 10px; }

    .swiper-pagination {
        display: block;
        bottom: 0;
        text-align: center;
    }
    .swiper-pagination-bullet {
        background: var(--sage);
        opacity: 0.5;
    }
    .swiper-pagination-bullet-active {
        opacity: 1;
    }

    /* Remove the offset on mobile for slides within Swiper */
    .polaroid-offset-top {
        margin-top: 0;
    }
}

/* Desktop specific styles for polaroids and their container */
@media (min-width: 769px) {
    .polaroid-swiper {
        display: flex;
        justify-content: center;
        gap: 4rem;
        flex-wrap: wrap;
        width: auto; /* Revert width */
        padding-bottom: 0;
    }
    .polaroid:nth-child(odd) { /* Card 1, 3 */
        transform: rotate(-3deg);
    }
    .polaroid:nth-child(even) { /* Card 2, 4 */
        transform: rotate(2deg);
    }
    .polaroid-offset-top {
        margin-top: 3rem;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero { grid-template-columns: 1fr; text-align: center; }
    .collage-img { position: relative; width: 90%; height: 300px; margin: 20px auto; display: block; left: auto; right: auto; top: auto; bottom: auto; }
    .img-secondary { display: none; }
}
