@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300&display=swap');

body { 
    margin: 0; 
    font-family: 'Montserrat', sans-serif; 
    background: #FFF; 
    color: #1A1A1A; 
}

.navbar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 40px 60px; 
    font-size: 12px; 
    letter-spacing: 3px; 
}

/* On force le logo et la zone invisible à occuper la même largeur pour centrer les liens */
.navbar .logo {
    flex: 1;
}

.nav-links { 
    display: flex; 
    gap: 30px; 
    flex: 1;
    justify-content: center;
}

/* Élément invisible pour équilibrer l'espace à droite par rapport au logo à gauche */
.navbar::after {
    content: "";
    flex: 1;
}

.nav-link { 
    text-decoration: none; 
    color: #1A1A1A; 
    transition: opacity 0.3s; 
}

.nav-link:hover { 
    opacity: 0.6; 
}

/* Masquage de l'ancien bloc PACKS (0) */
.bag {
    display: none;
}

/* Conteneur principal centré (Accueil) */
.hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    height: 80vh;
}

/* Grille images agrandie avec dimensions réservées pour éviter les sauts */
.hero-gallery { 
    display: flex; 
    gap: 20px; 
    transition: opacity 0.5s ease; 
    min-width: 590px;
    min-height: 500px;
}

.img-large { 
    width: 350px; 
    height: 500px; 
    background-size: cover; 
    background-position: center; 
    background-color: #f5f5f5;
}

.img-small-group { 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
}

.img-small { 
    width: 220px; 
    height: 240px; 
    background-size: cover; 
    background-position: center; 
    background-color: #f5f5f5;
}

/* Texte Accueil */
.hero-text { 
    display: flex; 
    flex-direction: column; 
}

h1 { 
    font-size: 70px; 
    font-weight: 200; 
    letter-spacing: 6px; 
    margin: 0; 
    transition: opacity 0.5s ease; 
}

.hero-text p { 
    font-size: 14px; 
    letter-spacing: 4px; 
    margin: 15px 0 0 0; 
    color: #666; 
}

.btn-beige { 
    display: inline-block; 
    padding: 18px 50px; 
    background: #C5B9A5; 
    color: #FFF; 
    text-decoration: none; 
    font-size: 12px; 
    letter-spacing: 3px; 
    text-transform: uppercase; 
    width: fit-content; 
    margin-top: 40px; 
    border: none;
    outline: none;
    box-shadow: none;
    cursor: pointer;
    transition: background 0.3s; 
}

.btn-beige:hover { 
    background: #b0a490; 
}

/* --- Page Protection, Packs & Expertise --- */
.protection-container {
    padding: 40px 80px 80px 80px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.protection-header {
    text-align: center;
    margin-bottom: 60px;
}

.protection-header .subtitle {
    font-size: 11px;
    letter-spacing: 4px;
    color: #666;
    margin-bottom: 10px;
}

.protection-header h1 {
    font-size: 45px;
    font-weight: 200;
    letter-spacing: 5px;
    margin: 0 0 15px 0;
}

.protection-header .desc {
    font-size: 13px;
    color: #555;
    letter-spacing: 1px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grille des packs au centre */
.packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.pack-card {
    background: #FAFAFA;
    border: 1px solid #EBE4D8;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.pack-card:hover {
    background: #FFFFFF;
    border-color: #C5B9A5;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.03);
}

.pack-badge {
    font-size: 9px;
    letter-spacing: 3px;
    color: #888;
    margin-bottom: 15px;
}

.pack-card h3 {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 3px;
    margin: 0 0 15px 0;
}

.pack-card p {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

/* --- Correction du fond interactif pour qu'il couvre absolument tout de haut en bas --- */
.interactive-bg {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
    z-index: 0;
}

/* Animation d'apparition à l'arrivée sur la page */
@keyframes fadeInSlide {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-load {
    opacity: 0;
    animation: fadeInSlide 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- Ligne verticale animée --- */
.animated-line {
    position: absolute;
    width: 1px;
    height: 0;
    background: #1A1A1A;
    transition: height 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
    pointer-events: none;
}

/* --- Section des blocs de détails en bas --- */
.pack-details-section {
    display: none; 
    margin-top: 120px;
    padding-top: 60px;
    border-top: 1px solid #EBE4D8;
    position: relative;
    z-index: 2;
}

.detail-box {
    display: none; 
    background: #FAFAFA;
    border: 1px solid #1A1A1A;
    padding: 60px;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInSlide 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.detail-box.active {
    display: block; 
}

.detail-tag {
    font-size: 10px;
    letter-spacing: 4px;
    color: #666;
    display: block;
    margin-bottom: 15px;
}

.detail-box h2 {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 3px;
    margin: 0 0 20px 0;
}

.detail-box p {
    font-size: 13px;
    font-style: italic;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.price-tag {
    font-size: 18px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.service-fee {
    font-size: 12px;
    color: #666;
    margin-top: 20px;
    letter-spacing: 0.5px;
}

.option-box {
    margin-top: 20px;
    padding: 15px;
    background: #FFF;
    border: 1px solid #EBE4D8;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.pack-features {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.pack-features li {
    font-size: 13px;
    color: #333;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

/* Bouton noir haut de gamme pour valider le pack (si utilisé) */
.btn-black {
    background: #1A1A1A;
    color: #FFFFFF;
    border: none;
    padding: 15px 35px;
    font-size: 11px;
    letter-spacing: 3px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-black:hover {
    background: #333333;
}

/* --- Style de la page Contact --- */
.contact-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 70vh;
    text-align: center;
    padding: 0 20px;
}

.contact-subtitle {
    font-size: 11px;
    letter-spacing: 4px;
    color: #666;
    margin-bottom: 20px;
}

.contact-hero h1 {
    font-size: 50px;
    font-weight: 200;
    letter-spacing: 5px;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.contact-line {
    width: 60px;
    height: 1px;
    background: #1A1A1A;
    margin: 0 auto 30px auto;
}

.contact-email {
    font-size: 15px;
    letter-spacing: 3px;
    color: #1A1A1A;
    margin-bottom: 25px;
    font-weight: 300;
}

.contact-phones {
    display: flex;
    gap: 40px;
    font-size: 13px;
    letter-spacing: 2px;
    color: #555;
    justify-content: center;
}

.contact-footer {
    position: absolute;
    bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 60px;
    box-sizing: border-box;
    font-size: 10px;
    letter-spacing: 3px;
    color: #888;
}

/* --- Style de la Fenêtre Modale (Popup de commande) --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #FFFFFF;
    padding: 50px;
    width: 100%;
    max-width: 500px;
    border: 1px solid #EBE4D8;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 24px;
    cursor: pointer;
    color: #1A1A1A;
}

.modal-content h2 {
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 3px;
    margin: 0 0 10px 0;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 10px;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.form-group input, .form-group textarea {
    padding: 12px;
    border: 1px solid #EBE4D8;
    background: #FAFAFA;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    outline: none;
    transition: border 0.3s;
    resize: vertical;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #1A1A1A;
    background: #FFFFFF;
}