/* ==========================================
   MAFOREA.FR - Ma Corée en France
   Esthétique féminine, florale et élégante
   ========================================== */

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

:root {
    /* Couleurs principales */
    --rose-quartz: #E5B3C8;
    --rose-quartz-light: #F0D9E8;
    --rose-quartz-pale: #F8EDF3;
    --rose-quartz-dark: #C97BA8;
    --black: #2a2a2a;
    --white: #FFFFFF;
    
    /* Accents subtils */
    --gray-light: #F5F5F5;
    --gray-medium: #D0D0D0;
    --gold-accent: #D4AF37;
    
    /* Typographie */
    --serif-display: 'Playfair Display', serif;
    --serif-body: 'Lora', serif;
    --sans-light: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--serif-body);
    color: var(--black);
    background-color: var(--white);
    line-height: 1.8;
    font-size: 16px;
    overflow-x: hidden;
}

/* ==========================================
   NAVIGATION
   ========================================== */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1.5rem 3rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--rose-quartz-light);
    box-shadow: 0 2px 15px rgba(229, 179, 200, 0.1);
}

nav .logo-container {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

nav h1 {
    font-family: var(--serif-display);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--black);
}

nav .baseline {
    font-family: var(--sans-light);
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--rose-quartz-dark);
    font-weight: 400;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 3rem;
}

nav a {
    text-decoration: none;
    color: var(--black);
    font-size: 0.95rem;
    font-family: var(--sans-light);
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rose-quartz);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--rose-quartz-dark);
}

nav a:hover::after {
    width: 100%;
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#language-selector {
    padding: 0.5rem 1rem;
    background: var(--rose-quartz-pale);
    color: var(--black);
    border: 2px solid var(--rose-quartz);
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--sans-light);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 1.2em 1.2em;
    padding-right: 2.5rem;
}

#language-selector:hover {
    background-color: var(--rose-quartz);
    color: var(--white);
    border-color: var(--rose-quartz-dark);
}

#language-selector option {
    background: var(--white);
    color: var(--black);
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    margin-top: 80px;
    min-height: 90vh;
    background: linear-gradient(135deg, var(--white) 0%, var(--rose-quartz-pale) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Éléments floraux décératifs */
.hero::before {
    content: '♦';
    position: absolute;
    top: 10%;
    right: 8%;
    font-size: 8rem;
    color: rgba(229, 179, 200, 0.15);
    animation: float-gentle 6s ease-in-out infinite;
    font-weight: 300;
}

.hero::after {
    content: '✿';
    position: absolute;
    bottom: 15%;
    left: 5%;
    font-size: 5rem;
    color: rgba(229, 179, 200, 0.12);
    animation: float-gentle 8s ease-in-out infinite;
}

@keyframes float-gentle {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(20px) rotate(5deg); }
}

/* Polaroid Container */
    .polaroid-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        overflow: hidden;
    }

    /* Polaroid Card */
    .polaroid {
        position: absolute;
        background: white;
        padding: 12px;
        box-shadow: 0 10px 30px #E5B3C8;
        width: 15vw;
        height: auto;
        animation: float 6s ease-in-out infinite;
    }

    .polaroid img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 4/3;
        object-fit: cover;
    }

    .polaroid-text {
        margin-top: 12px;
        font-family: 'Poppins', sans-serif;
        font-size: 12px;
        color: #2a2a2a;
        text-align: center;
        min-height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Animations de flottement */
    @keyframes float {
        0%, 100% {
            transform: translateY(0px) rotate(-2deg);
        }
        50% {
            transform: translateY(-20px) rotate(-2deg);
        }
    }

    /* Positions et délais pour chaque polaroid */
    .polaroid:nth-child(1) {
        top: 10%;
        left: 15%;
        animation-delay: 0s;
        transform: rotate(-8deg);
    }

    .polaroid:nth-child(2) {
        top: 8%;
        right: 14%;
        animation-delay: 1s;
        transform: rotate(5deg);
    }

    .polaroid:nth-child(3) {
        top: 40%;
        left: 8%;
        animation-delay: 2s;
        transform: rotate(3deg);
    }

    .polaroid:nth-child(4) {
        bottom: 35%;
        right: 8%;
        animation-delay: 1.5s;
        transform: rotate(-5deg);
    }

    .polaroid:nth-child(5) {
        top: 70%;
        left: 12%;
        transform: translateX(-50%) rotate(2deg);
        animation-delay: 0.5s;
    }

    .polaroid:nth-child(6) {
        top: 68%;
        right: 13%;
        transform: translateX(-50%) rotate(2deg);
        animation-delay: 0.5s;
    }

    /* Overlay pour lisibilité du texte */
    .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.2);
        z-index: 1;
    }

    /* Contenu au-dessus */
    .hero-content {
        position: relative;
        z-index: 2;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .polaroid {
            width: 140px;
        }

        .polaroid:nth-child(1) {
            top: 15%;
            left: 2%;
        }

        .polaroid:nth-child(2) {
            top: 25%;
            right: 5%;
        }

        .polaroid:nth-child(3) {
            top: 55%;
            left: 3%;
        }

        .polaroid:nth-child(4) {
            bottom: 20%;
            right: 3%;
        }

        .polaroid:nth-child(5) {
            display: none;
        }
    }
/* LIGHTBOX POUR POLAROIDS --> */

    /* Lightbox Container */
    .lightbox {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        z-index: 1000;
        justify-content: center;
        align-items: center;
        animation: fadeIn 0.3s ease-in-out;
    }

    .lightbox.active {
        display: flex;
    }

    /* Polaroid agrandi */
    .lightbox-polaroid {
        background: white;
        padding: 20px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
        width: 90%;
        max-width: 25vw;
        height: auto;
        animation: zoomIn 0.3s ease-in-out;
        cursor: default;
    }

    .lightbox-polaroid img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 4/3;
        object-fit: cover;
    }

    .lightbox-polaroid .polaroid-text {
        margin-top: 20px;
        font-size: 16px;
    }

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

    @keyframes zoomIn {
        from {
            transform: scale(0.8);
            opacity: 0;
        }
        to {
            transform: scale(1);
            opacity: 1;
        }
    }

    /* Rendre les polaroïds cliquables */
    .polaroid {
        cursor: pointer;
        transition: transform 0.2s ease;
    }

    .polaroid:hover {
        transform: scale(1.05);
    }

    /* Responsive */
    @media (max-width: 768px) {
        .lightbox-polaroid {
            width: 95%;
            padding: 15px;
        }

        .lightbox-polaroid .polaroid-text {
            font-size: 14px;
        }
    }
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
    animation: fadeInUp 1.2s ease-out;
}

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

.hero h1 {
    font-family: var(--serif-display);
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--black);
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero .subtitle {
    font-family: var(--sans-light);
    font-size: 1.3rem;
    color: var(--rose-quartz-dark);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
}

.hero p {
    font-size: 1.2rem;
    color: var(--black);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    line-height: 1.9;
}

/* ==========================================
   BOUTONS
   ========================================== */

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    padding: 0.95rem 2.5rem;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: var(--sans-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--rose-quartz);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(229, 179, 200, 0.3);
}

.btn-primary:hover {
    background: var(--rose-quartz-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(229, 179, 200, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--rose-quartz-dark);
    border: 2px solid var(--rose-quartz);
    box-shadow: 0 4px 20px rgba(229, 179, 200, 0.2);
}

.btn-secondary:hover {
    background: var(--rose-quartz-pale);
    border-color: var(--rose-quartz-dark);
    transform: translateY(-2px);
}

/* ==========================================
   SECTIONS GÉNÉRALES
   ========================================== */

section {
    opacity: 1;
    animation: fadeIn 0.8s ease-in;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-family: var(--serif-display);
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--black);
    letter-spacing: -1px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--rose-quartz-dark);
    font-family: var(--sans-light);
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 3rem;
    font-weight: 300;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--rose-quartz), transparent);
    margin: 0 auto 2rem;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */

.services {
    padding: 7rem 2rem;
    background: var(--white);
}

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

.service-card {
    background: var(--rose-quartz-pale);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(229, 179, 200, 0.3);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(229, 179, 200, 0.2);
}

.service-card:hover::before {
    top: -30%;
    right: -30%;
}

.service-card-content {
    position: relative;
    z-index: 2;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.service-card h3 {
    font-family: var(--serif-display);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--black);
    font-weight: 600;
}

.service-card p {
    color: var(--black);
    line-height: 1.8;
    font-size: 0.95rem;
    font-weight: 300;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */

.about {
    padding: 7rem 2rem;
    background: var(--rose-quartz-pale);
    position: relative;
}

.about::before {
    content: '♦';
    position: absolute;
    top: 5%;
    right: 2%;
    font-size: 10rem;
    color: rgba(229, 179, 200, 0.08);
    z-index: 0;
}

.about-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text h2 {
    font-family: var(--serif-display);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--black);
    font-weight: 700;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--black);
    font-weight: 300;
    line-height: 1.9;
}

.highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.highlight {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    border-left: 4px solid var(--rose-quartz);
    box-shadow: 0 4px 15px rgba(229, 179, 200, 0.1);
    transition: all 0.3s ease;
}

.highlight:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(229, 179, 200, 0.2);
}

.highlight-icon {
    font-size: 2rem;
    min-width: 60px;
    text-align: center;
}

.highlight-text h4 {
    font-family: var(--serif-display);
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--black);
}

.highlight-text p {
    font-size: 0.9rem;
    color: var(--black);
    margin: 0;
}

.about-image {
    position: relative;
    height: 450px;
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(229, 179, 200, 0.2) 0%, rgba(212, 175, 55, 0.15) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    box-shadow: 0 20px 50px rgba(229, 179, 200, 0.15);
    border: 2px solid rgba(229, 179, 200, 0.2);
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */

.testimonials {
    padding: 7rem 2rem;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--rose-quartz-pale);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(229, 179, 200, 0.3);
    transition: all 0.4s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: var(--serif-display);
    font-size: 3rem;
    color: var(--rose-quartz);
    opacity: 0.5;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(229, 179, 200, 0.2);
}

.stars {
    color: var(--gold-accent);
    margin-bottom: 1rem;
    font-size: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.9;
    color: var(--black);
    font-size: 0.95rem;
}

.testimonial-author {
    font-family: var(--serif-display);
    font-weight: 600;
    color: var(--rose-quartz-dark);
}

/* ==========================================
   PRICING SECTION
   ========================================== */

.pricing {
    padding: 7rem 2rem;
    background: linear-gradient(135deg, var(--rose-quartz-pale) 0%, var(--white) 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.price-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--rose-quartz-light);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--rose-quartz), transparent);
}

.price-card:hover {
    border-color: var(--rose-quartz);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(229, 179, 200, 0.25);
}

.price-card.featured {
    border-color: var(--rose-quartz-dark);
    background: linear-gradient(135deg, var(--rose-quartz-pale) 0%, rgba(229, 179, 200, 0.1) 100%);
    transform: scale(1.05);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 25px 60px rgba(229, 179, 200, 0.3);
}

.price-card h3 {
    font-family: var(--serif-display);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--black);
    font-weight: 600;
}

.price {
    font-family: var(--serif-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--rose-quartz-dark);
    margin: 1.5rem 0;
}

.price-unit {
    color: var(--black);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-family: var(--sans-light);
}

.price-card ul {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.price-card li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--rose-quartz-light);
    color: var(--black);
    font-size: 0.9rem;
    font-weight: 300;
}

.price-card li:before {
    content: "✓ ";
    color: var(--rose-quartz-dark);
    font-weight: 700;
    margin-right: 0.5rem;
}

/* ==========================================
   CTA SECTION
   ========================================== */

.cta-section {
    padding: 7rem 2rem;
    background: linear-gradient(135deg, var(--black) 0%, #3a3a3a 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '✿';
    position: absolute;
    top: -5%;
    right: 5%;
    font-size: 15rem;
    color: rgba(229, 179, 200, 0.08);
    z-index: 0;
}

.cta-section h2 {
    font-family: var(--serif-display);
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--rose-quartz-light);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

/* ==========================================
   FOOTER
   ========================================== */

footer {
    background: var(--black);
    color: var(--white);
    padding: 4rem 2rem 2rem;
    text-align: center;
    border-top: 2px solid var(--rose-quartz-light);
}

footer h3 {
    font-family: var(--serif-display);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--rose-quartz);
}

footer p {
    margin-bottom: 1rem;
    font-weight: 300;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--rose-quartz);
    text-decoration: none;
    font-family: var(--sans-light);
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.social-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rose-quartz);
    transition: width 0.3s ease;
}

.social-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(229, 179, 200, 0.2);
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }

    nav h1 {
        font-size: 1.4rem;
    }

    nav > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    nav ul {
        gap: 1.5rem;
        font-size: 0.85rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    #language-selector {
        width: 100%;
        max-width: 200px;
    }

    .hero {
        margin-top: 120px;
        min-height: 75vh;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero .subtitle {
        font-size: 0.95rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 350px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .price-card.featured {
        transform: scale(1);
    }

    .price-card.featured:hover {
        transform: translateY(-10px);
    }

    .hero::before,
    .hero::after,
    .about::before,
    .cta-section::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    nav h1 {
        font-size: 1.1rem;
    }

    .price {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }
}
