


/* ============================================================
   0. CONFIGURATION DES POLICES (CRUCIAL POUR LE LIEN LOCAL)
   ============================================================ */
:root {
    /* Ces noms doivent correspondre à ceux de WebAcappella.
       Si "Lato" ne marche pas, essayez 'Lato-Regular' après test */
    --font-title: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    /* Couleurs globales */
    --color-gold: #d4af37;
    --color-dark: #1a1a1a;
    --color-white: #ffffff;
}

/* Application des polices globales */
body {
    font-family: var(--font-body) !important;
    color: var(--color-white);
}

h1, h2, h3, .titre-section, .titre-service, .brand {
    font-family: var(--font-title) !important;
}

/* ============================================================
   1. STRUCTURE & LAYOUT (HEADER & WRAPPER)
   ============================================================ */

/* Conteneur principal centré */
.wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Header Navigation */
header {
    background-color: var(--color-dark);
    padding: 20px 0;
    border-bottom: 1px solid #333;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Pour le mobile */
}

.menu-items {
    display: flex;
    gap: 25px;
    align-items: center;
}

.menu-items a {
    text-decoration: none;
    color: var(--color-white);
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.menu-items a:hover {
    color: var(--color-gold);
}

/* Style du Logo / Nom (Brand) */
.brand {
    /* CORRECTION ICI : Lato est sans-serif, mais pour le titre Playfair est mieux.
       Si vous voulez absolument Lato, changez var(--font-title) par var(--font-body) */
    font-family: var(--font-title) !important; 
    font-size: 22px; 
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0; 
    padding: 0;
    font-weight: 400;
    line-height: 1.2;
}

.brand a {
    color: var(--color-white);
    text-decoration: none;
}

/* ============================================================
   2. CORRECTIONS MOBILE & IMAGES
   ============================================================ */

/* Mobile Header adjustment */
@media (max-width: 768px) {
    header nav {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .brand {
        font-size: 18px !important;
        margin-bottom: 10px;
    }
}

/* Désactiver le background-image auto-généré par WebAcappella sur mobile */
.portrait-img {
    background-image: none !important;
    background: none !important;
}

/* Forcer l'affichage uniquement de l'IMG */
.portrait-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}

/* Section Portrait Flexbox */
.portrait-section {
    display: flex !important;
    align-items: stretch !important;
    min-height: 600px !important;
    background-color: #2a2a2a !important;
    margin: 0 !important;
    padding: 0 !important;
}

.portrait-img {
    flex: 0 0 50% !important;
    width: 50% !important;
    overflow: hidden !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

.section-text-dark {
    flex: 1 !important;
    width: 50% !important;
    padding: 60px 80px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    background-color: #2a2a2a !important;
    margin: 0 !important;
}

@media (max-width: 968px) {
    .portrait-section {
        flex-direction: column !important;
    }
    .portrait-img, .section-text-dark {
        width: 100% !important;
        flex: auto !important;
    }
    .portrait-img { min-height: 400px; }
    .section-text-dark { padding: 40px 20px !important; }
}

/* ============================================================
   3. BOUTONS & ANIMATIONS
   ============================================================ */

.btn-class {
    display: inline-block;
    background-color: var(--color-gold) !important;
    color: var(--color-dark) !important;
    padding: 16px 32px !important;
    border-radius: 4px;
    font-family: var(--font-body) !important; /* Force Lato */
    font-weight: 800 !important;
    text-transform: uppercase;
    text-decoration: none !important;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    text-align: center;
    cursor: pointer;
}

.btn-class:hover {
    background-color: var(--color-white) !important;
    color: var(--color-gold) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.hero .btn-class {
    animation: pulse-gold 2s infinite;
}

/* ============================================================
   4. TYPOGRAPHIE & COULEURS (FORCER LE BLANC)
   ============================================================ */

/* Textes Généraux */
body * {
    color: inherit;
}

/* Titres */
.titre-section, h2 {
    font-size: 2.5rem !important;
    margin-bottom: 2rem !important;
    color: var(--color-white) !important;
}

.subtitle {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 13px;
    color: var(--color-gold) !important;
    margin-bottom: 15px;
    display: block;
    font-weight: 600;
    font-family: var(--font-body);
}

/* Services */
.service-item p {
    font-size: 1.15rem !important;
    line-height: 1.7 !important;
    opacity: 1 !important;
    font-weight: 400 !important;
    color: var(--color-white) !important;
}

.titre-service {
    font-size: 1.4rem !important;
    margin-bottom: 12px !important;
    color: var(--color-gold) !important;
}

/* Forcer le blanc sur les descriptions Hero & Portrait */
.hero-desc,
.hero .hero-desc,
.hero-content .hero-desc,
div.hero-desc,
.hero-desc strong,
.section-text-dark,
.section-text-dark p,
.section-text-dark > p {
    color: var(--color-white) !important;
    opacity: 1 !important;
}

/* Spécifique Portrait : Gras */
.section-text-dark p {
    font-weight: 700 !important;
}

/* Cabinet & Mutuelles */
#anchor-lecabinet p,
.cabinet-section p,
.cabinet-section .section-text p,
.texte-mutuelles,
.texte-mutuelles p {
    font-weight: 400 !important;
    color: var(--color-white) !important;
    opacity: 1 !important; /* Opacité à 1 pour meilleure lisibilité */
}

.texte-mutuelles a {
    font-weight: 700 !important;
    color: var(--color-gold) !important;
    text-decoration: underline !important;
}
.texte-mutuelles a:hover {
    color: var(--color-white) !important;
}

/* ============================================================
   5. FOOTER
   ============================================================ */
footer {
    background-color: #000; /* Sécurité si fond transparent */
    padding: 60px 0;
}

footer, footer *, footer p, footer span, footer div, footer a,
.footer-col, .footer-col *, .titre-footer, .bold-contact,
.copyright {
    color: var(--color-white) !important;
    opacity: 1 !important;
    font-weight: 400 !important;
    font-family: var(--font-body) !important;
}

/* Titres du footer un peu plus gros */
.titre-footer {
    font-family: var(--font-title) !important;
    font-size: 1.4rem !important;
    margin-bottom: 20px;
    color: var(--color-gold) !important; /* Optionnel : Titre en doré ? Sinon enlever cette ligne */
}

/* Bouton Footer */
footer .btn-class {
    background-color: var(--color-gold) !important;
    color: var(--color-dark) !important;
    font-weight: 800 !important; 
}

.comp_0 {
    flex-direction: column;
    padding-left: 0px;
    padding-right: 0px;
}
.comp_0 > .innerBox {
    display: inherit;
    flex-direction: inherit;
}
.comp_1 {
    --bs-gutter-x: 0px;
    flex-direction: row;
}
.comp_2 {
    flex-direction: column;
}
.comp_2 > .wa_inner_col {
    display: flex;
    flex-direction: inherit;
    height: 100%;
}
.comp_2 > .wa_inner_col > .wa_inner_col2 {
    display: inherit;
    flex-direction: inherit;
    height: 100%;
    justify-content: flex-start;
}
.comp_3 {
    width: 100%;
}
.comp_4 {
    flex-direction: column;
    padding-left: 0px;
    padding-right: 0px;
}
.comp_4 > .innerBox {
    display: inherit;
    flex-direction: inherit;
}
.comp_5 {
    --bs-gutter-x: 0px;
    flex-direction: row;
}
.comp_6 {
    flex-direction: column;
}
.comp_6 > .wa_inner_col {
    display: flex;
    flex-direction: inherit;
    height: 100%;
}
.comp_6 > .wa_inner_col > .wa_inner_col2 {
    display: inherit;
    flex-direction: inherit;
    height: 100%;
    justify-content: flex-start;
}
.comp_7 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    width: 100%;
}
.comp_7 .wa-txt-par {
    color: rgba(33,37,41,1);
    font-family: 'Lato';
    font-weight: 400;
    margin-bottom: 1em;
    width: 100%;
    word-break: break-word;
    &:not(:last-child) {margin-bottom: 16px !important;} 
}
.comp_7 .wa-txt-par a {
    color: rgba(0,0,255,1);
    font-weight: normal;
    text-decoration: underline;
}
.comp_7 .wa-txt-par.wa-last-par {
    color: rgba(33,37,41,1);
    font-family: 'Lato';
    font-weight: 400;
    margin-bottom: 0px;
    width: 100%;
    word-break: break-word;
    &:not(:last-child) {margin-bottom: 16px !important;} 
}
.comp_7 .wa-txt-par.wa-last-par a {
    color: rgba(0,0,255,1);
    font-weight: normal;
    text-decoration: underline;
}
body {
    background-color: rgba(255,255,255,1);
}
.comp_0 {
    border: none;
    border-radius: 0px;
    display: flex;
    min-height: 0px;
}
.comp_0 > .innerBox {
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
}
.comp_1 {
    display: flex;
    margin-bottom: 0px !important;
    margin-top: 0px !important;
}
.comp_2 {
    min-height: 0px;
    padding-left: 0rem;
    padding-right: 0rem;
}
.comp_2 > .wa_inner_col {
    border: none;
    border-radius: 0px;
}
.comp_2 > .wa_inner_col > .wa_inner_col2 {
    gap: 0rem;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
}
.comp_3 {
    margin-bottom: 0px;
    margin-top: 0px;
    min-height: 100px;
}
.comp_4 {
    border: none;
    border-radius: 0px;
    display: flex;
    min-height: 0px;
}
.comp_4 > .innerBox {
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
}
.comp_5 {
    display: none;
    margin-bottom: 0px !important;
    margin-top: 0px !important;
}
.comp_6 {
    min-height: 0px;
    padding-left: 0rem;
    padding-right: 0rem;
}
.comp_6 > .wa_inner_col {
    border: none;
    border-radius: 0px;
}
.comp_6 > .wa_inner_col > .wa_inner_col2 {
    gap: 0rem;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
}
.comp_7 {
    border: none;
    border-radius: 0px;
    margin-bottom: 0px;
    margin-top: 0px;
    min-height: 0px;
    padding-bottom: 16px;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 16px;
}
.comp_7 .wa-txt-par {
    font-size: 16px;
    letter-spacing: 0em;
    line-height: 1.2;
    text-align: left;
}
.comp_7 .wa-txt-par.wa-last-par {
    font-size: 16px;
    letter-spacing: 0em;
    line-height: 1.2;
    text-align: left;
}
body {
    background-image: url('');
}
@media (min-width: 992px) {
    .comp_0 {
        border: none;
        border-radius: 0px;
        display: flex;
        min-height: 0px;
    }
    .comp_0 > .innerBox {
        margin-bottom: 0px;
        margin-left: 0px;
        margin-right: 0px;
        margin-top: 0px;
    }
    .comp_1 {
        display: flex;
        margin-bottom: 0px !important;
        margin-top: 0px !important;
    }
    .comp_2 {
        min-height: 0px;
        padding-left: 0rem;
        padding-right: 0rem;
    }
    .comp_2 > .wa_inner_col {
        border: none;
        border-radius: 0px;
    }
    .comp_2 > .wa_inner_col > .wa_inner_col2 {
        gap: 0rem;
        margin-bottom: 0px;
        margin-left: 0px;
        margin-right: 0px;
        margin-top: 0px;
    }
    .comp_3 {
        margin-bottom: 0px;
        margin-top: 0px;
        min-height: 100px;
    }
    .comp_4 {
        border: none;
        border-radius: 0px;
        display: flex;
        min-height: 0px;
    }
    .comp_4 > .innerBox {
        margin-bottom: 0px;
        margin-left: 0px;
        margin-right: 0px;
        margin-top: 0px;
    }
    .comp_5 {
        display: none;
        margin-bottom: 0px !important;
        margin-top: 0px !important;
    }
    .comp_6 {
        min-height: 0px;
        padding-left: 0rem;
        padding-right: 0rem;
    }
    .comp_6 > .wa_inner_col {
        border: none;
        border-radius: 0px;
    }
    .comp_6 > .wa_inner_col > .wa_inner_col2 {
        gap: 0rem;
        margin-bottom: 0px;
        margin-left: 0px;
        margin-right: 0px;
        margin-top: 0px;
    }
    .comp_7 {
        border: none;
        border-radius: 0px;
        margin-bottom: 0px;
        margin-top: 0px;
        min-height: 0px;
        padding-bottom: 16px;
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 16px;
    }
    .comp_7 .wa-txt-par {
        font-size: 16px;
        letter-spacing: 0em;
        line-height: 1.2;
        text-align: left;
    }
    .comp_7 .wa-txt-par.wa-last-par {
        font-size: 16px;
        letter-spacing: 0em;
        line-height: 1.2;
        text-align: left;
    }
    body {
        background-image: url('');
    }
}
