/* --- UNIVERS VISUEL PREMIUM --- */
:root {
    --opi-wine: #8a1523;       
    --opi-wine-light: #ab2234; 
    --luxury-dark: #0d0e12;    
    --luxury-slate: #16181f;   
    --pure-white: #ffffff;
    --soft-cream: #fbfbfa;     
    --text-dark: #1e2026;      
    --text-muted: #626673;     
    --border-light: #e4e6eb;   
    
    --font-family: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-card: 0 10px 30px rgba(0,0,0,0.02);
}

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

html { scroll-behavior: smooth; background-color: var(--pure-white); }

body { font-family: var(--font-family); color: var(--text-dark); background-color: var(--pure-white); line-height: 1.75; -webkit-font-smoothing: antialiased; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.slim-container { max-width: 760px; }
.text-center { text-align: center; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }

/* --- ANIMATION DE CHARGEMENT PREMIUM --- */
.premium-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid var(--border-light);
    border-top-color: var(--opi-wine); /* Ta couleur rouge de marque */
    border-radius: 50%;
    margin: 0 auto;
    animation: spin OPI 1s linear infinite;
}

@keyframes spinOPI {
    to { transform: rotate(360deg); }
}

/* --- TYPOGRAPHIES --- */
h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--luxury-dark); letter-spacing: -0.02em; line-height: 1.25; }
p { color: var(--text-muted); font-size: 1.05rem; font-weight: 400; margin-bottom: 1.5rem; }
.accent { color: var(--opi-wine); }

/* --- BOUTONS --- */
.btn-premium { display: inline-block; background-color: var(--opi-wine); color: var(--pure-white); padding: 16px 36px; font-weight: 600; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; border-radius: 2px; border: 1px solid var(--opi-wine); cursor: pointer; transition: var(--transition-smooth); }
.btn-premium:hover { background-color: transparent; color: var(--opi-wine); box-shadow: 0 10px 25px rgba(138, 21, 35, 0.15); transform: translateY(-2px); }
.btn-premium.full-width { width: 100%; text-align: center; }

/* =========================================
   STYLES COMMUNS : HEADER
========================================= */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    font-family: 'Plus Jakarta Sans', sans-serif;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}
.site-header nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
    align-items: center;
}
.site-header nav a {
    text-decoration: none;
    color: #333333;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}
.site-header nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    bottom: 0;
    right: 0;
    background: #a00000;
    transition: width 0.3s ease;
}
.site-header nav a:hover::after {
    width: 100%;
    left: 0;
}
.site-header nav a:hover {
    color: #a00000;
}
.site-header nav a.highlight {
    color: #a00000;
    font-weight: 700;
    text-transform: uppercase;
}

/* =========================================
   STYLES COMMUNS : FOOTER
========================================= */
.site-footer {
    background-color: #111;
    color: #ccc;
    padding: 60px 0 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
}
.footer-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand p {
    color: #999;
    text-align: left;
    margin-top: 20px;
}
.footer-logo {
    max-width: 150px;
}
.footer-block h5 {
    color: #fff;
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.footer-block p {
    color: #ccc;
    text-align: left;
    margin-bottom: 10px;
}
.contact-line {
    font-weight: 600;
    color: #a00000 !important;
}
.footer-credits {
    border-top: 1px solid #333;
    padding-top: 20px;
}
.credits-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}
.credits-inner p {
    margin: 0;
    font-size: 0.85rem;
}
.legal-links a {
    color: #ccc;
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.85rem;
}
.legal-links a:hover {
    color: #a00000;
}

/* --- HERO SECTION --- */
.hero { position: relative; background-color: var(--luxury-dark); color: var(--pure-white); padding: 160px 0 140px; overflow: hidden; }
.hero-bg-pattern { position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(138, 21, 35, 0.15) 0%, transparent 50%); pointer-events: none; }
.hero-content { max-width: 880px; position: relative; z-index: 2; }
.meta-label { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--opi-wine-light); margin-bottom: 24px; }
.hero h1 { font-size: 3.4rem; font-weight: 800; color: var(--pure-white); line-height: 1.15; margin-bottom: 28px; letter-spacing: -0.03em; }
.hero p { font-size: 1.25rem; color: #a2a6b3; max-width: 720px; margin-bottom: 40px; font-weight: 300; }

/* --- EXPERTISE & LIENS CLIQUABLES --- */
.section-padding { padding: 120px 0; }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.section-title { font-size: 2.2rem; font-weight: 800; margin-bottom: 32px; line-height: 1.2; }
.lead-text { font-size: 1.2rem; color: var(--luxury-dark); font-weight: 500; }
.interactive-links-box { background-color: var(--soft-cream); padding: 40px; border-radius: 4px; margin-top: 40px; border: 1px solid var(--border-light); }
.box-title { font-weight: 600; color: var(--luxury-dark); margin-bottom: 24px; }
.text-links-list { display: flex; flex-direction: column; gap: 16px; }
.premium-text-link { display: flex; justify-content: space-between; align-items: center; background-color: var(--pure-white); padding: 20px 24px; text-decoration: none; border-radius: 2px; border-left: 3px solid var(--opi-wine); box-shadow: 0 4px 12px rgba(0,0,0,0.02); transition: var(--transition-smooth); }
.premium-text-link .link-label { font-weight: 700; color: var(--opi-wine); font-size: 1.05rem; }
.premium-text-link .link-arrow { color: var(--opi-wine); font-weight: 700; transition: var(--transition-smooth); }
.premium-text-link:hover { transform: translateX(6px); box-shadow: 0 12px 24px rgba(138, 21, 35, 0.08); background-color: var(--opi-wine); }
.premium-text-link:hover .link-label, .premium-text-link:hover .link-arrow { color: var(--pure-white); }
.premium-text-link:hover .link-arrow { transform: translateX(4px); }

/* --- SECTEURS (FONTAWESOME) --- */
.bg-light { background-color: var(--soft-cream); }
.border-top { border-top: 1px solid var(--border-light); }
.centered-header { max-width: 600px; margin: 0 auto; text-align: center; }
.line-separator { width: 60px; height: 3px; background-color: var(--opi-wine); margin: 20px auto 0; }
.line-separator.bg-accent { background-color: var(--opi-wine-light); }
.grid-architecture { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.arch-card { background-color: var(--pure-white); padding: 48px 36px; border-radius: 4px; border: 1px solid var(--border-light); box-shadow: var(--shadow-card); transition: var(--transition-smooth); display: flex; flex-direction: column; align-items: flex-start; }
.arch-icon-wrapper { color: var(--opi-wine); background-color: rgba(138, 21, 35, 0.04); width: 64px; height: 64px; border-radius: 2px; display: flex; align-items: center; justify-content: center; margin-bottom: 32px; transition: var(--transition-smooth); }
.arch-icon-wrapper i { font-size: 1.6rem; transition: var(--transition-smooth); }
.arch-card h3 { font-size: 1.35rem; margin-bottom: 24px; }
.arch-link { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; color: var(--text-dark); text-decoration: none; letter-spacing: 0.05em; padding-bottom: 4px; border-bottom: 2px solid var(--border-light); transition: var(--transition-smooth); }
.arch-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(0,0,0,0.06); border-color: var(--opi-wine); }
.arch-card:hover .arch-icon-wrapper { background-color: var(--opi-wine); color: var(--pure-white); }
.arch-card:hover .arch-link { color: var(--opi-wine); border-bottom-color: var(--opi-wine); }

/* --- GAINS --- */
.grid-performance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.perf-item { border-left: 1px solid rgba(255, 255, 255, 0.1); padding-left: 24px; }
.perf-number { font-size: 3.6rem; font-weight: 800; color: var(--opi-wine-light); line-height: 1; margin-bottom: 12px; }
.perf-item h4 { color: var(--pure-white); font-size: 1.1rem; margin-bottom: 12px; }
.perf-item p { font-size: 0.95rem; color: #898d99; }
.bg-dark { background-color: var(--luxury-dark); }
.text-white { color: var(--pure-white); }

/* --- FORMULAIRES (SIMULATEUR & POPUP) --- */
.luxury-form { background-color: var(--soft-cream); padding: 50px; border-radius: 4px; border: 1px solid var(--border-light); }
.form-field { position: relative; margin-bottom: 32px; }

/* Styles de base pour tous les champs */
.form-field input, 
.form-field textarea, 
.form-field select { 
    width: 100%; 
    padding: 16px 4px; 
    border: none; 
    border-bottom: 1px solid #c8cbd3; 
    background: transparent; 
    font-family: var(--font-family); 
    font-size: 1.05rem; 
    color: var(--luxury-dark); 
    outline: none; 
    transition: var(--transition-smooth); 
    resize: none; 
}

/* Le texte du label au repos */
.form-field label { 
    position: absolute; 
    left: 4px; 
    top: 16px; 
    color: var(--text-muted); 
    pointer-events: none; 
    transition: var(--transition-smooth); 
    font-size: 1.05rem; 
}

/* L'ANIMATION MAGIQUE : Quand on clique ou qu'un champ est rempli/sÃ©lectionnÃ© */
.form-field input:focus ~ label, 
.form-field input:not(:placeholder-shown) ~ label,
.form-field textarea:focus ~ label, 
.form-field textarea:not(:placeholder-shown) ~ label,
.form-field select:focus ~ label, 
.form-field select:valid ~ label { 
    top: -12px; 
    font-size: 0.8rem; 
    font-weight: 700; 
    color: var(--opi-wine); 
}

/* Couleur de la ligne du bas au focus */
.form-field input:focus, 
.form-field textarea:focus, 
.form-field select:focus { 
    border-bottom-color: var(--opi-wine); 
}

/* Style spÃ©cifique au menu dÃ©roulant (Select) */
.select-field select { 
    appearance: none; 
    -webkit-appearance: none; 
    cursor: pointer; 
}
.select-field { position: relative; }
.select-field::after { 
    content: '\f107'; 
    font-family: 'Font Awesome 6 Free'; 
    font-weight: 900; 
    position: absolute; 
    right: 10px; 
    top: 16px; 
    color: var(--text-muted); 
    pointer-events: none; 
}

/* --- MODAL POPUP (DEMANDE DE RAPPEL) --- */
.modal-backdrop {
    position: fixed; inset: 0; background-color: rgba(13, 14, 18, 0.6);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    z-index: 2000; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal-container { background-color: var(--pure-white); width: 100%; max-width: 540px; padding: 45px; border-radius: 4px; border: 1px solid var(--border-light); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2); position: relative; transform: translateY(30px); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.modal-backdrop.open .modal-container { transform: translateY(0); }
.modal-close-btn { position: absolute; top: 20px; right: 20px; background: transparent; border: none; font-size: 1.4rem; color: var(--text-muted); cursor: pointer; transition: var(--transition-smooth); }
.modal-close-btn:hover { color: var(--opi-wine); }
.modal-header { text-align: center; margin-bottom: 35px; }
.modal-header h3 { font-size: 1.6rem; color: var(--luxury-dark); margin-bottom: 8px; }
.modal-form { padding: 0 !important; border: none !important; background: transparent !important; }

/* --- SECTION CARTE & FILTRES (LEAFLET) --- */
.map-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
.map-container { height: 450px; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--border-light); }
#opi-map { height: 100%; width: 100%; z-index: 1; }
.map-filters { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.filter-btn { background: var(--pure-white); border: 1px solid var(--border-light); color: var(--text-dark); padding: 10px 24px; border-radius: 50px; font-family: var(--font-family); font-weight: 600; cursor: pointer; transition: var(--transition-smooth); box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.filter-btn:hover { border-color: var(--opi-wine); color: var(--opi-wine); }
.filter-btn.active { background: var(--opi-wine); color: var(--pure-white); border-color: var(--opi-wine); box-shadow: 0 8px 20px rgba(138, 21, 35, 0.2); }
.cities-list-container { background: var(--pure-white); border-radius: 6px; box-shadow: var(--shadow-card); border: 1px solid var(--border-light); display: flex; flex-direction: column; }
.cities-header { background-color: var(--opi-wine); color: var(--pure-white); padding: 16px 24px; font-weight: 700; font-size: 1.1rem; border-radius: 6px 6px 0 0; }
.dynamic-cities-list { list-style: none; padding: 20px; margin: 0; flex-grow: 1; overflow-y: auto; max-height: 380px; }
.city-item { display: flex; justify-content: space-between; align-items: center; background-color: #9b1c2a; color: var(--pure-white); margin-bottom: 12px; padding: 14px 20px; border-radius: 4px; font-weight: 600; transition: var(--transition-smooth); box-shadow: 0 4px 10px rgba(138, 21, 35, 0.1); }
.city-item:hover { background-color: var(--opi-wine); transform: translateX(5px); }
.city-name i { margin-right: 10px; color: rgba(255,255,255,0.7); }
.city-dept { font-size: 0.85rem; font-weight: 400; opacity: 0.9; }

/* --- LE MARQUEUR "P" SUR LA CARTE --- */
.custom-p-marker { background: transparent; border: none; }
.p-icon { background-color: var(--opi-wine); color: var(--pure-white); font-weight: 800; font-size: 20px; width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.3); border: 2px solid var(--pure-white); }
.p-icon::before { content: "P"; transform: rotate(45deg); display: block; }

/* --- GRILLE PARTENAIRES --- */
.partner-title { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); text-align: center; margin-bottom: 40px; }
.grid-logos-premium { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.logo-wrapper { background-color: var(--pure-white); border: 1px solid var(--border-light); height: 90px; display: flex; align-items: center; justify-content: center; padding: 16px; transition: var(--transition-smooth); }
.logo-wrapper img { max-width: 100%; max-height: 100%; filter: grayscale(100%); opacity: 0.5; transition: var(--transition-smooth); }
.logo-wrapper:hover { border-color: var(--opi-wine); }
.logo-wrapper:hover img { filter: grayscale(0%); opacity: 1; }

/* --- FOOTER --- */
.site-footer { background-color: var(--luxury-dark); color: #9296a3; padding: 90px 0 0; }
.footer-layout { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 64px; padding-bottom: 60px; }
.footer-logo { height: 74px; width: auto; margin-bottom: 24px; }
.footer-brand p { font-size: 0.95rem; color: #868a96; }
.footer-block h5 { color: var(--pure-white); font-size: 1.05rem; text-transform: uppercase; margin-bottom: 24px; }
.footer-block p { font-size: 0.95rem; color: #9296a3; }
.contact-line { margin-bottom: 4px !important; font-weight: 600; color: var(--pure-white) !important; }
.footer-credits { border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 32px 0; }
.credits-inner { display: flex; justify-content: space-between; color: #686c78; font-size: 0.85rem; }
.legal-links a { color: #686c78; text-decoration: none; margin-left: 24px; transition: var(--transition-smooth); }
.legal-links a:hover { color: var(--pure-white); }

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 1024px) {
    .grid-logos-premium { grid-template-columns: repeat(4, 1fr); }
    .grid-performance { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 900px) {
    .map-layout { grid-template-columns: 1fr; }
    .map-container { height: 350px; }
}
@media (max-width: 768px) {
    .split-layout, .grid-architecture, .footer-layout { grid-template-columns: 1fr; gap: 48px; }
    .grid-logos-premium { grid-template-columns: repeat(2, 1fr); }
    .grid-performance { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.4rem; }
    .main-nav { display: none; }
    .credits-inner { flex-direction: column; gap: 16px; text-align: center; }
    .legal-links a { margin: 0 12px; }
    .luxury-form { padding: 30px 20px; }
}
/* --- UNIVERS VISUEL PREMIUM --- */
:root {
    --opi-wine: #8a1523;       
    --opi-wine-light: #ab2234; 
    --luxury-dark: #0d0e12;    
    --luxury-slate: #16181f;   
    --pure-white: #ffffff;
    --soft-cream: #fbfbfa;     
    --text-dark: #1e2026;      
    --text-muted: #626673;     
    --border-light: #e4e6eb;   
    
    --font-family: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-card: 0 10px 30px rgba(0,0,0,0.02);
}

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

html { scroll-behavior: smooth; background-color: var(--pure-white); }

body { font-family: var(--font-family); color: var(--text-dark); background-color: var(--pure-white); line-height: 1.75; -webkit-font-smoothing: antialiased; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.slim-container { max-width: 760px; margin: 0 auto; padding: 0 40px;}
.text-center { text-align: center; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }
.mb-5 { margin-bottom: 50px; }

/* --- TYPOGRAPHIES --- */
h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--luxury-dark); letter-spacing: -0.02em; line-height: 1.25; }
p { color: var(--text-muted); font-size: 1.05rem; font-weight: 400; margin-bottom: 1.5rem; }
.accent { color: var(--opi-wine); }

/* --- BOUTONS --- */
.btn-premium { display: inline-block; background-color: var(--opi-wine); color: var(--pure-white); padding: 16px 36px; font-weight: 600; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; border-radius: 2px; border: 1px solid var(--opi-wine); cursor: pointer; transition: var(--transition-smooth); }
.btn-premium:hover { background-color: transparent; color: var(--opi-wine); box-shadow: 0 10px 25px rgba(138, 21, 35, 0.15); transform: translateY(-2px); }
.btn-premium.full-width { width: 100%; text-align: center; }

/* --- HEADER --- */
.site-header { background-color: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(0, 0, 0, 0.04); padding: 18px 0; transition: var(--transition-smooth); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 100px; width: auto; display: block; }
.main-nav ul { list-style: none; display: flex; gap: 40px; align-items: center; }
.main-nav a { text-decoration: none; color: var(--luxury-dark); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em; transition: var(--transition-smooth); }
.main-nav a:hover { color: var(--opi-wine); }
.btn-nav { border: 1px solid var(--luxury-dark); padding: 10px 22px; border-radius: 2px; }
.btn-nav:hover { background-color: var(--luxury-dark); color: var(--pure-white) !important; }

/* --- HERO SECTION --- */
.hero { position: relative; background-color: var(--luxury-dark); color: var(--pure-white); padding: 160px 0 140px; overflow: hidden; }
.hero-bg-pattern { position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(138, 21, 35, 0.15) 0%, transparent 50%); pointer-events: none; }
.hero-content { max-width: 880px; position: relative; z-index: 2; }
.meta-label { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--opi-wine-light); margin-bottom: 24px; }
.hero h1 { font-size: 3.4rem; font-weight: 800; color: var(--pure-white); line-height: 1.15; margin-bottom: 28px; letter-spacing: -0.03em; }
.hero p { font-size: 1.25rem; color: #a2a6b3; max-width: 720px; margin-bottom: 40px; font-weight: 300; }

/* --- EXPERTISE --- */
.section-padding { padding: 120px 0; }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.section-title { font-size: 2.2rem; font-weight: 800; margin-bottom: 32px; line-height: 1.2; }
.lead-text { font-size: 1.2rem; color: var(--luxury-dark); font-weight: 500; }
.interactive-links-box { background-color: var(--soft-cream); padding: 40px; border-radius: 4px; margin-top: 40px; border: 1px solid var(--border-light); }
.box-title { font-weight: 600; color: var(--luxury-dark); margin-bottom: 24px; }
.text-links-list { display: flex; flex-direction: column; gap: 16px; }
.premium-text-link { display: flex; justify-content: space-between; align-items: center; background-color: var(--pure-white); padding: 20px 24px; text-decoration: none; border-radius: 2px; border-left: 3px solid var(--opi-wine); box-shadow: 0 4px 12px rgba(0,0,0,0.02); transition: var(--transition-smooth); }
.premium-text-link .link-label { font-weight: 700; color: var(--opi-wine); font-size: 1.05rem; }
.premium-text-link .link-arrow { color: var(--opi-wine); font-weight: 700; transition: var(--transition-smooth); }
.premium-text-link:hover { transform: translateX(6px); box-shadow: 0 12px 24px rgba(138, 21, 35, 0.08); background-color: var(--opi-wine); }
.premium-text-link:hover .link-label, .premium-text-link:hover .link-arrow { color: var(--pure-white); }
.premium-text-link:hover .link-arrow { transform: translateX(4px); }

/* --- SECTEURS --- */
.bg-light { background-color: var(--soft-cream); }
.border-top { border-top: 1px solid var(--border-light); }
.centered-header { max-width: 600px; margin: 0 auto; text-align: center; }
.line-separator { width: 60px; height: 3px; background-color: var(--opi-wine); margin: 20px auto 0; }
.line-separator.bg-accent { background-color: var(--opi-wine-light); }
.grid-architecture { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.arch-card { background-color: var(--pure-white); padding: 48px 36px; border-radius: 4px; border: 1px solid var(--border-light); box-shadow: var(--shadow-card); transition: var(--transition-smooth); display: flex; flex-direction: column; align-items: flex-start; }
.arch-icon-wrapper { color: var(--opi-wine); background-color: rgba(138, 21, 35, 0.04); width: 64px; height: 64px; border-radius: 2px; display: flex; align-items: center; justify-content: center; margin-bottom: 32px; transition: var(--transition-smooth); }
.arch-icon-wrapper i { font-size: 1.6rem; transition: var(--transition-smooth); }
.arch-card h3 { font-size: 1.35rem; margin-bottom: 24px; }
.arch-link { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; color: var(--text-dark); text-decoration: none; letter-spacing: 0.05em; padding-bottom: 4px; border-bottom: 2px solid var(--border-light); transition: var(--transition-smooth); }
.arch-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(0,0,0,0.06); border-color: var(--opi-wine); }
.arch-card:hover .arch-icon-wrapper { background-color: var(--opi-wine); color: var(--pure-white); }
.arch-card:hover .arch-link { color: var(--opi-wine); border-bottom-color: var(--opi-wine); }

/* --- GAINS --- */
.grid-performance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.perf-item { border-left: 1px solid rgba(255, 255, 255, 0.1); padding-left: 24px; }
.perf-number { font-size: 3.6rem; font-weight: 800; color: var(--opi-wine-light); line-height: 1; margin-bottom: 12px; }
.perf-item h4 { color: var(--pure-white); font-size: 1.1rem; margin-bottom: 12px; }
.perf-item p { font-size: 0.95rem; color: #898d99; }
.bg-dark { background-color: var(--luxury-dark); }
.text-white { color: var(--pure-white); }

/* --- FOOTER --- */
.site-footer { background-color: var(--luxury-dark); color: #9296a3; padding: 90px 0 0; }
.footer-layout { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 64px; padding-bottom: 60px; }
.footer-logo { height: 74px; width: auto; margin-bottom: 24px; }
.footer-brand p { font-size: 0.95rem; color: #868a96; }
.footer-block h5 { color: var(--pure-white); font-size: 1.05rem; text-transform: uppercase; margin-bottom: 24px; }
.footer-block p { font-size: 0.95rem; color: #9296a3; }
.contact-line { margin-bottom: 4px !important; font-weight: 600; color: var(--pure-white) !important; }
.footer-credits { border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 32px 0; }
.credits-inner { display: flex; justify-content: space-between; color: #686c78; font-size: 0.85rem; }
.legal-links a { color: #686c78; text-decoration: none; margin-left: 24px; transition: var(--transition-smooth); }
.legal-links a:hover { color: var(--pure-white); }


/* ==========================================================================
   NOUVEAUX STYLES POUR LA PAGE : VENDRE A UN PROMOTEUR (CERCLE & ACCORDÉON)
   ========================================================================== */

.interactive-process-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.process-circle-area {
    margin-top: 40px !important; 
    position: sticky !important;
    top: 120px !important; 
    align-self: flex-start !important; 
}

.circle-container {
    position: relative;
    width: 420px;
    height: 420px;
    border: 2px dashed rgba(138, 21, 35, 0.3); 
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251,251,250,1) 0%, rgba(255,255,255,0) 65%);
}

.circle-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    text-align: center;
    font-weight: 800;
    color: var(--opi-wine);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

/* Boutons du cercle */
.circle-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 46px;
    height: 46px;
    margin: -23px;
    border-radius: 50%;
    background-color: var(--pure-white);
    border: 2px solid var(--border-light);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Positionnement pour 9 points (Maison & Terrain) */
.circle-9-items .circle-btn:nth-child(2) { transform: rotate(-90deg) translate(210px) rotate(90deg); }
.circle-9-items .circle-btn:nth-child(3) { transform: rotate(-50deg) translate(210px) rotate(50deg); }
.circle-9-items .circle-btn:nth-child(4) { transform: rotate(-10deg) translate(210px) rotate(10deg); }
.circle-9-items .circle-btn:nth-child(5) { transform: rotate(30deg) translate(210px) rotate(-30deg); } 
.circle-9-items .circle-btn:nth-child(6) { transform: rotate(70deg) translate(210px) rotate(-70deg); } 
.circle-9-items .circle-btn:nth-child(7) { transform: rotate(110deg) translate(210px) rotate(-110deg); }
.circle-9-items .circle-btn:nth-child(8) { transform: rotate(150deg) translate(210px) rotate(-150deg); }
.circle-9-items .circle-btn:nth-child(9) { transform: rotate(190deg) translate(210px) rotate(-190deg); }
.circle-9-items .circle-btn:nth-child(10) { transform: rotate(230deg) translate(210px) rotate(-230deg); }

/* Positionnement pour 4 points (Immeuble) */
.circle-4-items .circle-btn:nth-child(2) { transform: rotate(-90deg) translate(210px) rotate(90deg); }
.circle-4-items .circle-btn:nth-child(3) { transform: rotate(0deg) translate(210px) rotate(0deg); }
.circle-4-items .circle-btn:nth-child(4) { transform: rotate(90deg) translate(210px) rotate(-90deg); }
.circle-4-items .circle-btn:nth-child(5) { transform: rotate(180deg) translate(210px) rotate(-180deg); } 

/* Animation de pulsation pour l'étape active */
@keyframes pulse-wine {
    0% { box-shadow: 0 0 0 0 rgba(138, 21, 35, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(138, 21, 35, 0); }
    100% { box-shadow: 0 0 0 0 rgba(138, 21, 35, 0); }
}

.circle-btn.active {
    border-color: var(--opi-wine);
    background-color: var(--opi-wine);
    color: var(--pure-white);
    animation: pulse-wine 2s infinite;
}

.circle-btn:not(.active):hover {
    border-color: var(--opi-wine-light);
    color: var(--opi-wine-light);
    box-shadow: 0 6px 15px rgba(138, 21, 35, 0.15);
}

/* L'Accordéon */
.process-accordion-area {
    display: flex;
    flex-direction: column;
}

.accordion-item {
    border-bottom: 1px solid var(--border-light);
}

.accordion-header {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 24px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
    font-family: var(--font-family);
}

.accordion-header:hover { color: var(--opi-wine); }
.accordion-item.active .accordion-header { color: var(--opi-wine); }

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0;
}

.accordion-content p { font-size: 0.95rem; margin-bottom: 0; }

/* Responsive Mobile */
@media (max-width: 900px) {
    .interactive-process-layout { grid-template-columns: 1fr; gap: 40px; }
    .circle-container { width: 320px; height: 320px; margin-bottom: 40px; }
    
    /* Recalcul pour mobile 9 points */
    .circle-9-items .circle-btn:nth-child(2) { transform: rotate(-90deg) translate(160px) rotate(90deg); }
    .circle-9-items .circle-btn:nth-child(3) { transform: rotate(-50deg) translate(160px) rotate(50deg); }
    .circle-9-items .circle-btn:nth-child(4) { transform: rotate(-10deg) translate(160px) rotate(10deg); }
    .circle-9-items .circle-btn:nth-child(5) { transform: rotate(30deg) translate(160px) rotate(-30deg); }
    .circle-9-items .circle-btn:nth-child(6) { transform: rotate(70deg) translate(160px) rotate(-70deg); }
    .circle-9-items .circle-btn:nth-child(7) { transform: rotate(110deg) translate(160px) rotate(-110deg); }
    .circle-9-items .circle-btn:nth-child(8) { transform: rotate(150deg) translate(160px) rotate(-150deg); }
    .circle-9-items .circle-btn:nth-child(9) { transform: rotate(190deg) translate(160px) rotate(-190deg); }
    .circle-9-items .circle-btn:nth-child(10) { transform: rotate(230deg) translate(160px) rotate(-230deg); }

    /* Recalcul pour mobile 4 points */
    .circle-4-items .circle-btn:nth-child(2) { transform: rotate(-90deg) translate(160px) rotate(90deg); }
    .circle-4-items .circle-btn:nth-child(3) { transform: rotate(0deg) translate(160px) rotate(0deg); }
    .circle-4-items .circle-btn:nth-child(4) { transform: rotate(90deg) translate(160px) rotate(-90deg); }
    .circle-4-items .circle-btn:nth-child(5) { transform: rotate(180deg) translate(160px) rotate(-180deg); }
}

/* --- ACCORDÉON PROCESSUS --- */
.interactive-process-layout {
    max-width: 900px;
    margin: 0 auto;
}

.process-accordion-area {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    border: none !important;
    border-bottom: 1px solid #eaeaea !important; /* Laisse juste une ligne discrète en bas */
    border-radius: 0 !important;
    margin-bottom: 10px !important;
    box-shadow: none !important;
}

.accordion-item.active {
    border-bottom: 2px solid #a00000 !important;
}

/* Retire le gros bloc rouge du titre */
.accordion-header {
    background: transparent !important;
    color: #333333 !important; /* Texte sombre par défaut */
    padding: 15px 5px !important;
    border: none !important;
    font-weight: 600 !important;
}

.accordion-header:hover {
    color: var(--opi-wine);
}

.accordion-item.active .accordion-header {
    color: #a00000 !important;
    font-weight: 700 !important;
}

/* Flèches en rouge au survol ou actif */
.accordion-item.active .accordion-header i {
    color: #a00000 !important;
}

/* =========================================
   CORRECTION ALIGNEMENT ET ACCORDÉON
========================================= */

/* 1. Aligner le cercle et l'accordéon vers le haut */
.interactive-process-layout {
    display: flex;
    align-items: flex-start !important; /* Pousse les éléments vers le haut */
    gap: 40px;
}

/* 2. Cacher complètement le texte des onglets inactifs */
.accordion-content {
    max-height: 0; /* Hauteur zéro par défaut */
    overflow: hidden !important; /* Coupe net le texte qui dépasse */
    padding: 0 5px !important; /* Enlève l'espacement quand c'est fermé */
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
    border: none !important;
    background: transparent !important;
}

/* 3. Ajouter l'espacement uniquement quand l'onglet est actif (ouvert) */
.accordion-item.active .accordion-content {
    max-height: 1500px !important;
    padding-bottom: 30px !important;
}

/* --- EXTENSIONS VISUELLES PREMIUM & HUMAINES --- */

/* Mise en page de la Hero double colonne */
.hero-split-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}
.hero-text-side { position: relative; z-index: 5; text-align: left; }

/* Composition des calques d'images à droite */
.hero-image-side { position: relative; display: flex; justify-content: center; }
.composition-wrapper { position: relative; width: 100%; max-width: 420px; height: 440px; }

/* Calque 1 : Le plan technique (PNG transparent) arrière */
.layer-blueprint {
    position: absolute;
    top: -30px;
    left: -40px;
    width: 100%;
    height: auto;
    opacity: 0.15;
    pointer-events: none;
    transition: var(--transition-smooth);
}

/* Calque 2 : Le cadre photo principal */
.main-photo-frame {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition-smooth);
}
.hero-main-photo { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-smooth); }

/* Calque 3 : Le badge or flottant devant */
.floating-badge-premium {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background-color: var(--pure-white);
    color: var(--luxury-dark);
    padding: 14px 22px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-left: 3px solid var(--opi-wine);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
}
.floating-badge-premium i { color: var(--opi-wine-light); font-size: 1.1rem; }

/* Animations interactives de la composition Hero au survol */
.composition-wrapper:hover .main-photo-frame { transform: translateY(-5px); box-shadow: 0 40px 75px rgba(0,0,0,0.5); }
.composition-wrapper:hover .hero-main-photo { transform: scale(1.04); }
.composition-wrapper:hover .layer-blueprint { transform: translate(-10px, -10px) scale(1.05); opacity: 0.25; }
.composition-wrapper:hover .floating-badge-premium { transform: translateX(5px); }

/* Image de la section Expertise */
.human-visual-block {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
}
.img-fluid-premium { width: 100%; height: 280px; object-fit: cover; display: block; }

/* Styles pour intégrer les images en filigrane dans les cartes secteurs */
.arch-card-visual { position: relative; overflow: hidden; }
.arch-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.03; /* Très discret au repos */
    z-index: 1;
    transition: var(--transition-smooth);
}
.arch-card-content { position: relative; z-index: 5; width: 100%; }

/* Animation au survol des cartes */
.arch-card-visual:hover .arch-card-bg {
    opacity: 0.12; /* Révèle subtilement le bâtiment au survol */
    transform: scale(1.06);
}

/* Responsiveness pour l'asymétrie sur mobile */
@media (max-width: 768px) {
    .hero-split-layout { grid-template-columns: 1fr; gap: 60px; }
    .composition-wrapper { height: 360px; }
    .layer-blueprint { display: none; } /* On épure sur mobile */
    .floating-badge-premium { left: 10px; bottom: -15px; }
}

/* =========================================
   CORRECTIFS RESPONSIVE MOBILE GLOBAUX
========================================= */
@media (max-width: 768px) {
    /* 1. HEADER & NAVIGATION */
    .header-container { 
        flex-direction: column; 
        padding: 15px; 
        gap: 15px; 
    }
    .site-header nav ul { 
        flex-direction: column; 
        gap: 15px; 
        width: 100%; 
        align-items: center; 
    }
    .site-header nav a { 
        font-size: 16px; 
        padding: 10px 0; 
        display: block; 
    }
    .logo img { 
        max-height: 50px; 
    }

    /* 2. BOUTONS & ESPACEMENTS GLOBAUX */
    .hero { padding: 70px 20px 50px !important; }
    .hero h1 { font-size: 2rem !important; margin-bottom: 15px !important; }
    .section-padding { padding: 60px 20px !important; }
    .section-title { font-size: 1.8rem !important; }
    .container, .slim-container { padding: 0 15px !important; }
    .page-anchors { flex-direction: column; width: 100%; }
    .page-anchors a { width: 100%; text-align: center; }

    /* 3. GRILLES ET MISE EN PAGE */
    .split-layout, 
    .hero-split-layout, 
    .grid-architecture, 
    .grid-performance, 
    .map-layout,
    .grid-logos-premium { 
        grid-template-columns: 1fr !important; 
        gap: 30px !important; 
    }
    
    /* 4. FOOTER */
    .footer-layout { 
        grid-template-columns: 1fr !important; 
        text-align: center; 
        gap: 40px; 
    }
    .footer-brand p, .footer-block p { 
        text-align: center !important; 
    }
    .credits-inner { 
        flex-direction: column; 
        text-align: center; 
        gap: 15px; 
    }
    .legal-links a { 
        margin: 0 10px; 
        display: inline-block; 
    }

    /* 5. CERCLES INTERACTIFS & MODALES */
    .interactive-process-layout { 
        display: flex !important; 
        flex-direction: column !important; 
        gap: 20px; 
    }
    .process-circle-area { 
        position: static !important; 
        margin: 0 auto !important;
    }
    .circle-container { 
        transform: scale(0.65); 
        transform-origin: center top; 
        margin-bottom: -120px; 
    }
    .modal-container { 
        width: 95%; 
        padding: 25px; 
        margin: 10px; 
    }
}

/* =========================================
   MENU HAMBURGER MOBILE
========================================= */
/* Masqué par défaut sur ordinateur */
.menu-toggle {
    display: none; 
    background: transparent;
    border: none;
    font-size: 28px;
    color: var(--luxury-dark);
    cursor: pointer;
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: var(--opi-wine);
}

@media (max-width: 768px) {
    /* Logo et bouton sur la même ligne */
    .header-container { 
        flex-direction: row !important; 
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap; /* Permet au menu de passer à la ligne */
        padding: 15px 20px !important;
    }
    
    /* Afficher le bouton hamburger */
    .menu-toggle {
        display: block; 
    }
    
    /* Cacher la navigation par défaut sur mobile */
    #main-navigation {
        display: none; 
        width: 100%;
        margin-top: 15px;
        animation: fadeIn 0.3s ease;
    }
    
    /* Classe ajoutée par le Javascript pour afficher le menu */
    #main-navigation.active {
        display: block; 
    }
    
    /* Style de la liste sur mobile */
    .site-header nav ul { 
        flex-direction: column !important; 
        gap: 0 !important; 
        width: 100%; 
        align-items: center; 
        background-color: var(--soft-cream);
        border-radius: 4px;
        padding: 10px 0;
    }
    
    .site-header nav a { 
        font-size: 16px !important; 
        padding: 15px 0 !important; 
        display: block; 
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-light);
    }
    
    .site-header nav li:last-child a {
        border-bottom: none;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}