@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Raleway:wght@300;400;500;600&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

:root {
    /* Palette Pastel */
    --rose-poudre: #E8D5D8;
    --rose-poudre-clair: #FAF2F3; /* Version très claire pour le fond */
    --beige-sable: #F7F4EF;
    --vert-eau: #C6D8D3;
    --anthracite: #1A1A1A; /* Rendu beaucoup plus sombre, presque noir pur */
    --blanc: #FFFFFF;
    
    /* Typographie */
    --font-titre: 'Libre Baskerville', serif;
    --font-texte: 'Raleway', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-texte);
    background: linear-gradient(135deg, #F0E1E4 0%, #E8D8D0 100%); /* Couleurs plus prononcées pour que l'effet soit visible */
    background-attachment: fixed;
    color: var(--anthracite);
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Fond de page d'accueil (Image en transparence) */
body.home-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../images/background_flowers.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.5; /* 50% d'opacité comme demandé */
    z-index: -1; /* Place l'image derrière tout le reste */
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, #F0E1E4 0%, #E8D8D0 100%);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 20px; /* Réduit pour gagner de l'espace vertical */
}

.logo {
    position: fixed;
    top: 16vh;
    left: 5vw;
    height: 105px; 
    width: 170px; 
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
}

.logo img {
    height: 105px; 
    width: 170px; 
    object-fit: contain; 
    filter: hue-rotate(-30deg);
}

/* Logo masqué dans le header sur toutes les pages */
.logo {
    display: none;
}

/* Logo dans le footer - toutes les pages */
footer {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    order: 2;
    margin-top: 15px;
}

.footer-logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.footer-text {
    order: 1;
    text-align: center;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--anthracite);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover, .nav-links a.active {
    color: #b59298;
}

/* Menu Burger pour Mobile */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--anthracite);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Structure Générale */
main {
    flex: 1;
}

section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

section.tarifs-section {
    max-width: 1500px;
}


h1, h2, h3 {
    font-family: var(--font-titre);
    font-weight: 600;
    color: var(--anthracite);
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--vert-eau);
    margin: 15px auto 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--rose-poudre);
    color: var(--anthracite);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--vert-eau);
    transform: translateY(-2px);
}

/* Hero Section (Accueil) */
.hero {
    min-height: 55vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 60px 40px 10px 40px; /* Padding symétrique pour centrer */
    max-width: 100%; /* Pleine largeur pour laisser le texte aller vraiment à gauche */
    margin: 0;
    gap: 40px;
}

.hero-content {
    flex: 0 0 auto;
    min-width: 300px;
    max-width: 620px; /* Élargi pour accueillir le grand titre */
    text-align: left;
    padding: 20px 0;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(3rem, 4.5vw, 5.5rem); /* S'adapte à l'écran sans déborder */
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 20px;
}

/* Grand P initial - même ligne, collé, juste plus grand */
.hero h1 .initial-P {
    font-size: 1.2em;
    margin-right: -0.08em;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    display: flex;
    justify-content: center;
    position: relative;
    left: 90px; /* Décalée à droite */
}

.hero-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-height: 440px;
    object-fit: cover;
}

/* Texte plus lisible sur fond floral - page d'accueil uniquement */
body.home-page .hero p,
body.home-page .about-text p {
    font-weight: 600;
}

/* A Propos (Accueil) */
.about-text {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 20px;
}

/* Galerie (Portraits) */
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.gallery-item {
    flex: 1 1 300px;
    max-width: 360px;
    background-color: var(--blanc);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.gallery-info {
    padding: 20px;
    text-align: center;
}

.gallery-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Tarifs */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: start;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.price-card {
    max-width: 100%;
    background-color: var(--blanc);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    border: 3px solid var(--vert-eau);
    transform: scale(1.05);
}

.price-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    min-height: 5.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-amount {
    font-size: 3rem;
    font-family: var(--font-titre);
    color: var(--anthracite);
    margin-bottom: 25px;
}

.price-features {
    list-style: none;
    margin-bottom: 30px;
}

.price-features li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--rose-poudre);
}

.price-features li:last-child {
    border-bottom: none;
}

/* Carte Prestige */
.price-card--prestige {
    border: 2px solid #D000BF;
    position: relative;
}

.price-card--last {
    grid-column: 2 / 3;
}

.prestige-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #D000BF;
    color: white;
    font-size: 0.85rem;
    font-family: var(--font-texte);
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 4px 18px;
    border-radius: 20px;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .price-card--prestige,
    .price-card--last {
        grid-column: 1;
    }
}

/* Badge retouche manuelle */
.badge-humain {
    max-width: 700px;
    margin: 50px auto;
    background: var(--blanc);
    border-left: 5px solid #b59298;
    border-radius: 12px;
    padding: 25px 35px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.badge-humain .badge-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
}

.badge-humain p {
    font-size: 1rem;
    font-style: italic;
    color: var(--anthracite);
    line-height: 1.7;
    margin: 0;
}

/* CGV */
.cgv-content {
    background: var(--blanc);
    padding: 50px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.cgv-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

/* Contact */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background: var(--blanc);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    color: var(--anthracite);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #b59298;
}

.contact-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
footer {
    background-color: var(--rose-poudre);
    color: var(--anthracite);
    text-align: center;
    padding: 30px 20px;
    margin-top: auto;
}

footer p {
    margin-bottom: 5px;
}

.footer-social {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 18px;
}

.footer-social a {
    color: var(--anthracite);
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-social a:hover {
    color: #b59298;
    transform: translateY(-3px);
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: var(--blanc);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: -2px 0 10px rgba(0,0,0,0.05);
    }

    .nav-links li {
        opacity: 1;
        margin: 20px 0;
    }

    .burger {
        display: block;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .hero {
        flex-direction: column;
        padding: 30px 20px 10px 20px;
        gap: 20px;
        text-align: center;
    }

    .hero-content {
        min-width: unset;
        max-width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-image {
        left: 0;
        min-width: unset;
        max-width: 100%;
        width: 100%;
    }

    .hero-image img {
        max-height: 320px;
        width: 100%;
    }

    .contact-container {
        padding: 20px;
        gap: 20px;
        flex-direction: column;
    }

    .contact-info {
        min-width: unset;
        width: 100%;
    }

    .contact-info p {
        flex-wrap: wrap;
        word-break: break-word;
    }

    .contact-image {
        min-width: unset;
        width: 100%;
        height: 280px;
    }

    .contact-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
    }

    .price-card.featured {
        transform: scale(1);
    }

    .lightbox-content {
        max-width: 82vw;
        max-height: 55vh;
    }

    .prev-lightbox, .next-lightbox {
        font-size: 20px;
        padding: 10px 14px;
        background: rgba(0,0,0,0.7);
        z-index: 2020;
    }

    .prev-lightbox { left: 5px; }
    .next-lightbox { right: 5px; }

    .close-lightbox {
        font-size: 28px;
        top: 8px;
        right: 15px;
        z-index: 2020;
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
    opacity: 0;
}
.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 85vh;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.95); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 2010;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: var(--vert-eau);
    text-decoration: none;
    cursor: pointer;
}

.prev-lightbox, .next-lightbox {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 40px;
    transition: 0.3s ease;
    background: rgba(0,0,0,0.5);
    border: none;
    border-radius: 5px;
    z-index: 2010;
}

.next-lightbox {
    right: 20px;
}

.prev-lightbox {
    left: 20px;
}

.prev-lightbox:hover, .next-lightbox:hover {
    background-color: var(--rose-poudre);
    color: var(--anthracite);
}

.gallery-item img {
    cursor: pointer;
}
