/* ==============================================================================
   FEUILLE DE STYLE PRINCIPALE
   Site : Amour-eternel.ch
   Version : 2.6 (Ajout état actif navbar)
   Amour eternel
   ============================================================================== */

/* --- VARIABLES GLOBALES --- */
:root {
    --gold-primary: #B6984F; 
    --gold-hover: #9c8141;   
    --dark-text: #3d3329;    
    --bg-champagne: #FCFAF8; 
}

/* --- PARAMÈTRES DE BASE DE LA PAGE --- */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-text);
    background-color: var(--bg-champagne);
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
    overflow-x: hidden; 
    
    /* TYPOGRAPHIE GLOBALE POUR TOUT LE SITE */
    font-size: 0.9rem; 
    line-height: 1.6;
}

/* Espacement standard pour tous les paragraphes du site */
p {
    margin-bottom: 1rem;
}

h1, h2, h3, .font-serif {
    font-family: 'Playfair Display', serif;
}

/* --- EN-TÊTE (NAVBAR) --- */
.navbar {
    background-color: var(--gold-primary); 
    height: 150px; 
    box-shadow: 0 1px 0 #5C4A21, 0 5px 15px rgba(0,0,0,0.15); 
    border-bottom: none;
    position: relative; 
    z-index: 10;
}

.navbar > .container {
    display: flex;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand img { height: 120px; object-fit: contain; }

.navbar-nav .nav-link {
    color: white !important;
    font-size: 0.95rem;
    font-weight: 500;
    margin-left: 2rem; 
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap; 
    transition: 0.3s;
}

.navbar-nav .nav-link:hover { opacity: 0.7; }

/* AJOUT CHIRURGICAL : État actif pour la page courante */
.navbar-nav .nav-link.active {
    color: #fff !important;
    opacity: 1;
    border-bottom: 2px solid #fff;
    padding-bottom: 2px;
}

.navbar-toggler { border-color: rgba(255,255,255,0.5); padding: 0.5rem; }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --- COMPRESSION DU MENU SUR ÉCRANS MOYENS --- */
@media (min-width: 992px) and (max-width: 1250px) {
    .navbar-brand img { height: 80px; } 
    .navbar-nav .nav-link {
        margin-left: 0.5rem; 
        font-size: 0.8rem; 
        letter-spacing: 0.5px; 
    }
}

/* Mobile/tablette */
@media (max-width: 991px) {
    .navbar { height: auto; min-height: 90px; padding: 10px 0; } 
    .navbar-brand img { height: auto; max-height: 70px; max-width: 70vw; } 
    .navbar-collapse {
        background-color: var(--gold-primary);
        position: absolute; top: 100%; left: 0; right: 0; padding: 15px;
        z-index: 1000; box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .navbar-nav .nav-link { margin-left: 0; margin-bottom: 10px; text-align: center; }
    /* Ajustement de la bordure active sur mobile */
    .navbar-nav .nav-link.active { border-bottom: none; font-weight: bold; }
}

/* --- SECTION HERO --- */
.hero-section {
    position: relative; 
    height: 65vh; 
    background-image: url('/assets/img/bandeau1.png'); 
    background-size: cover; 
    background-position: center; 
    display: flex; align-items: center; justify-content: center;
    text-align: center; border-bottom: 1px solid #EADDCD;
}

.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, 0.1); }

.hero-content {
    position: relative; z-index: 1; width: calc(100% - 40px); max-width: 500px;
    margin: 0 auto; padding: 2.5rem 1.5rem; 
    background: rgba(255, 255, 255, 0.75); 
    backdrop-filter: blur(4px); 
    border: 1px solid rgba(182, 152, 79, 0.4); border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.hero-title { font-size: 2.4rem; color: var(--gold-primary); margin-bottom: 0.8rem; line-height: 1.2; }
.hero-text { font-size: 1rem; margin-bottom: 1.5rem; }

/* --- BOUTONS --- */
.btn-modern {
    background-color: var(--gold-primary);
    color: white; border-radius: 30px; 
    padding: 10px 30px; font-weight: 500; letter-spacing: 2px; 
    text-transform: uppercase; border: none; transition: all 0.3s ease; 
    display: inline-block; font-size: 0.8rem; 
    text-decoration: none; 
}
.btn-modern:hover {
    background-color: var(--gold-hover); color: white; 
    transform: translateY(-2px); 
    box-shadow: 0 5px 15px rgba(182, 152, 79, 0.3); text-decoration: none; 
}

/* --- DESIGN DES CARTES PRINCIPALES --- */
main { flex: 1; }
.section-padding { padding: 90px 0 60px 0; } 

.dream-card { background: transparent; border: none; text-align: center; margin-bottom: 30px; }
.card-title-romantic { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-style: italic; color: var(--gold-primary); }

.image-wrapper {
    position: relative; padding: 12px; border: 1px solid #dfcba4; border-radius: 30px;
    background: #fff; margin-bottom: 1.5rem; transition: all 0.4s ease;
}
.dream-card:hover .image-wrapper { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(182, 152, 79, 0.15); border-color: var(--gold-primary); }

.img-vaporeuse { 
    width: 100%; height: 380px; object-fit: cover; border-radius: 25px; 
    filter: contrast(85%) brightness(110%) saturate(85%) sepia(10%); 
    transition: all 0.6s ease; 
}
.dream-card:hover .img-vaporeuse { filter: contrast(100%) brightness(100%) saturate(100%) sepia(0%); } 

/* --- DESIGN DES CARTES INFO --- */
.info-card {
    background: #fff; border: 1px solid #dfcba4; border-radius: 30px; padding: 20px;
    text-align: center; transition: all 0.4s ease; 
    height: 100%; 
    display: flex; flex-direction: column;
}
.info-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(182, 152, 79, 0.10); border-color: var(--gold-primary); }
.info-card-img { width: 100%; height: 200px; object-fit: cover; border-radius: 20px; margin-bottom: 20px; }
.info-card-title { font-family: 'Playfair Display', serif; color: var(--gold-primary); font-size: 1.4rem; margin-bottom: 15px; }
.info-card-text { font-size: 0.95rem; line-height: 1.6; color: var(--dark-text); margin-bottom: 25px; flex-grow: 1; }

/* --- CSS DU CARROUSEL FLUIDE --- */
.carousel_fluide_wrapper { position: relative; width: 100%; margin: 0 auto; }
.carousel_fluide_outer { display: flex; align-items: center; justify-content: space-between; }
.carousel_fluide_container { overflow: hidden; flex-grow: 1; margin: 0; padding: 15px 0; }
.carousel_fluide_track { display: flex; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); } 
.carousel_fluide_card { flex: 0 0 auto; padding: 0 12px; box-sizing: border-box; } 

.carousel_fluide_arrow { background: none; border: none; cursor: pointer; padding: 0 10px; display: flex; align-items: center; justify-content: center; z-index: 5; }
.carousel_fluide_arrow svg { width: 45px; height: 45px; fill: var(--gold-primary); transition: 0.3s; background: rgba(252, 250, 248, 0.8); border-radius: 50%; }
.carousel_fluide_arrow:hover:not(:disabled) svg { fill: var(--gold-hover); transform: scale(1.1); }
.carousel_fluide_arrow:disabled svg { fill: #EADDCD; cursor: default; } 

/* --- DESIGN DES CARTES MEMBRES --- */
.member-card {
    background: #fff; border: 1px solid #dfcba4; border-radius: 30px; padding: 30px 20px;
    text-align: center; height: 100%; display: flex; flex-direction: column; align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03); transition: all 0.4s ease;
}
.member-card:hover { box-shadow: 0 15px 35px rgba(182, 152, 79, 0.15); border-color: var(--gold-primary); }
.member-img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; border: 3px solid #EADDCD; padding: 4px; margin-bottom: 20px; }
.member-name { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--dark-text); margin-bottom: 10px; font-weight: 600; }
.member-quote { font-style: italic; color: #666; font-size: 0.95rem; margin-bottom: 25px; flex-grow: 1; }

@media (max-width: 768px) {
    .carousel_fluide_arrow { padding: 0; }
    .carousel_fluide_arrow svg { width: 35px; height: 35px; } 
    .carousel_fluide_card { padding: 0 8px; } 
}

/* --- PIED DE PAGE (FOOTER) --- */
.footer-section { background-color: #f6f2ec; padding: 20px 0; color: #333333; font-size: 0.75rem; border-top: 1px solid #EADDCD; }
.footer-agency-name { font-family: 'Playfair Display', serif; color: var(--gold-primary); font-size: 1rem; font-weight: 600; margin-bottom: 5px; }
.footer-agency-subtitle { font-family: 'Montserrat', sans-serif; font-size: 0.75rem; font-style: italic; }
.footer-text { line-height: 1.7; }
.footer-link { color: #333333; text-decoration: none; transition: color 0.3s ease; font-weight: 500; }
.footer-link:hover { color: var(--gold-primary); text-decoration: underline; }
.footer-icon { color: var(--gold-primary); margin-right: 8px; font-size: 0.85rem; }

.framed-banner-wrapper {
    display: inline-flex; justify-content: center; align-items: center;     
    padding: 3px; border: 1px solid #dfcba4; border-radius: 12px; 
    background: #fff; box-shadow: 0 5px 15px rgba(182, 152, 79, 0.08); 
    transition: all 0.4s ease;
}
.framed-banner-wrapper:hover {
    transform: translateY(-3px); box-shadow: 0 10px 25px rgba(182, 152, 79, 0.15);
    border-color: var(--gold-primary);
}
.framed-banner-img { max-width: 100%; height: auto; display: block; border-radius: 9px; }


/* --- PAGES DE CONTENU --- */
.page-texte { max-width: 900px; }
.page-texte h1 { color: var(--gold-primary); margin-bottom: 2.5rem; font-size: 2.2rem; }
.page-texte h2 {
    font-size: 1.2rem; border-bottom: 1px solid #EADDCD;
    padding-bottom: 8px; margin-top: 2rem; margin-bottom: 1rem; color: var(--dark-text);
}

.link-discret {
    color: #a39689; font-size: 0.75rem; text-align: center;
    text-decoration: none; letter-spacing: 0.5px; opacity: 0.7; transition: opacity 0.3s;
}
.link-discret:hover { opacity: 1; color: var(--gold-primary); }

/* --- ADMINISTRATION --- */
.admin-header-compact {
    display: flex; justify-content: space-between; align-items: center; 
    padding: 1rem 0; margin-bottom: 1.5rem; border-bottom: 1px solid #EADDCD; 
}
.admin-header-title h1 { font-size: 1.5rem !important; margin-bottom: 0 !important; display: flex; align-items: center; gap: 10px; }
.admin-header-subtitle { font-size: 0.85rem; color: #6c757d; margin-left: 34px; display: block; }

.card-tile { transition: transform 0.2s ease, box-shadow 0.2s ease; cursor: pointer; border: 1px solid rgba(234, 221, 205, 0.5) !important; }
.card-tile:hover {
    transform: translateY(-3px); box-shadow: 0 .5rem 1rem rgba(0,0,0,.08) !important; 
    background-color: var(--bg-champagne); 
}
.tile-desc {
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; 
    -webkit-box-orient: vertical; overflow: hidden; font-size: 0.75rem; line-height: 1.2;
}