/* ==========================================================================
   FEUILLE DE STYLE PROFESSIONNELLE
   ========================================================================== */
:root {
    --brand-dark: #004D71;
    --brand-darker: #003854;
    --brand-light: #728FA4;
    --brand-grey: #5A6B7C;
    --bg-hero: #DCDCDC;
    --bg-light: #F5F7FA;
    --text-main: #1E293B;
    --text-muted: #475569;
    --white: #FFFFFF;
    --border-color: #CBD5E1;
    --shadow-sm: 0 2px 6px rgba(0, 77, 113, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 40, 65, 0.12);
    --shadow-lg: 0 16px 36px rgba(0, 35, 55, 0.18);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--text-main); background-color: var(--white); line-height: 1.6; }
body { overflow-x: hidden; background-color: var(--white); }
a { color: inherit; text-decoration: none; transition: all 0.2s ease; }
img, svg { max-width: 100%; display: block; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* En-tête */
.site-header { background-color: var(--white); padding: 20px 0; border-bottom: 1px solid #e2e8f0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.brand-logo-wrap { width: 420px; max-width: 100%; display: flex; align-items: center; }
#cabinet-logo { width: 420px; max-width: 100%; height: auto; object-fit: contain; }
.header-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.lang-switch-btn { background-color: #f1f5f9; color: var(--brand-dark); border: 1px solid var(--brand-light); font-weight: 700; font-size: 13.5px; padding: 8px 14px; border-radius: var(--radius-sm); }
.lang-switch-btn:hover { background-color: var(--brand-dark); color: var(--white); }
.header-phone-btn { background-color: var(--brand-dark); color: var(--white); font-weight: 700; font-size: 15px; padding: 10px 18px; border-radius: var(--radius-sm); display: inline-flex; align-items: center; gap: 8px; box-shadow: var(--shadow-sm); }
.header-phone-btn:hover { background-color: var(--brand-darker); }

/* Navigation Sticky */
.sticky-nav { position: sticky; top: 0; z-index: 1000; background-color: var(--brand-dark); color: var(--white); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 58px; flex-wrap: wrap; gap: 12px; padding: 8px 0; }
.nav-advisor-id { font-size: 14px; font-weight: 600; color: #e2e8f0; }
.nav-advisor-id strong { color: var(--white); }
.nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.nav-link { color: var(--white); font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: var(--radius-sm); }
.nav-link:hover { background-color: rgba(255, 255, 255, 0.12); }
.nav-portal-btn { background-color: var(--brand-light); color: var(--white); font-size: 13.5px; font-weight: 700; padding: 8px 16px; border-radius: var(--radius-sm); display: inline-flex; align-items: center; gap: 7px; margin-left: 6px; border: 1px solid rgba(255, 255, 255, 0.25); }
.nav-portal-btn:hover { background-color: #5d7a8f; }

/* Hero Section */
.hero-section { background: linear-gradient(135deg, #cfcfcf 0%, #e4e4e4 55%, #d8d8d8 100%); padding: 56px 0 64px; border-bottom: 4px solid var(--brand-dark); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: center; }
.hero-badge { display: inline-block; background-color: rgba(0, 77, 113, 0.1); color: var(--brand-dark); border-left: 4px solid var(--brand-dark); padding: 5px 12px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 14px; }
.hero-title { font-size: 40px; line-height: 1.15; font-weight: 800; color: var(--brand-dark); margin-bottom: 12px; }
.hero-subtitle { font-size: 20px; line-height: 1.45; font-weight: 500; color: #2c3e50; margin-bottom: 26px; }
.hero-contact-card { background-color: var(--white); border-radius: var(--radius-md); padding: 26px; box-shadow: var(--shadow-md); border-top: 4px solid var(--brand-dark); }
.hero-contact-heading { font-size: 16px; font-weight: 700; color: var(--brand-dark); margin-bottom: 6px; }
.hero-contact-desc { font-size: 13.5px; color: var(--text-muted); margin-bottom: 18px; }
.contact-buttons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-action-btn { display: flex; align-items: center; padding: 13px 15px; border-radius: var(--radius-sm); background-color: #f8fafc; border: 1px solid #cbd5e1; transition: all 0.2s ease; }
.contact-action-btn:hover { background-color: var(--brand-dark); border-color: var(--brand-dark); color: var(--white); transform: translateY(-2px); }
.contact-action-btn.primary-action { background-color: var(--brand-dark); border-color: var(--brand-dark); color: var(--white); }
.contact-btn-text { display: flex; flex-direction: column; line-height: 1.25; overflow: hidden; }
.contact-btn-label { font-size: 11.5px; opacity: 0.85; font-weight: 600; }
.contact-btn-value { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Portrait */
.hero-portrait-col { display: flex; flex-direction: column; align-items: center; }
.portrait-frame { width: 100%; max-width: 380px; background: linear-gradient(180deg, #ffffff 0%, #edf2f7 100%); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-lg); border: 4px solid var(--white); }
.portrait-visual-box { width: 100%; height: 360px; background: linear-gradient(145deg, #e2e8f0 0%, #cbd5e1 100%); display: flex; align-items: flex-end; justify-content: center; }
#advisor-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.advisor-card-overlay { background-color: var(--brand-dark); color: var(--white); padding: 20px 22px; border-top: 4px solid var(--brand-light); }
.advisor-name { font-size: 21px; font-weight: 800; margin-bottom: 2px; }
.advisor-title { font-size: 14px; font-weight: 700; color: #bae6fd; margin-bottom: 8px; }
.advisor-affiliation { font-size: 12.5px; line-height: 1.45; color: #f1f5f9; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.18); }

/* Piliers */
.pillars-section { padding: 64px 0; background-color: var(--white); text-align: center; }
.section-heading { font-size: 28px; font-weight: 700; color: var(--brand-dark); margin-bottom: 44px; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 960px; margin: 0 auto; }
.pillar-item { display: flex; flex-direction: column; align-items: center; padding: 20px; }
.pillar-circle { width: 112px; height: 112px; border-radius: 50%; background-color: var(--brand-dark); color: var(--white); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; box-shadow: 0 10px 24px rgba(0, 77, 113, 0.22); border: 4px solid #e0f2fe; }
.pillar-title { font-size: 20px; font-weight: 700; color: var(--brand-dark); }

/* Bref & Infographie */
.bref-section { background-color: var(--brand-dark); color: var(--white); overflow: hidden; }
.bref-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; min-height: 440px; }
.bref-text-col { padding: 64px 48px 64px 24px; max-width: 640px; margin-left: auto; display: flex; flex-direction: column; justify-content: center; }
.bref-title { font-size: 32px; font-weight: 800; margin-bottom: 24px; color: var(--white); position: relative; padding-bottom: 14px; }
.bref-title::after { content: ""; position: absolute; bottom: 0; left: 0; width: 64px; height: 4px; background-color: var(--brand-light); }
.bref-paragraph { font-size: 16.5px; line-height: 1.75; color: #f1f5f9; margin-bottom: 20px; }
.bref-visual-col { background: linear-gradient(135deg, #003854 0%, #00263a 100%); display: flex; align-items: center; justify-content: center; padding: 40px; border-left: 1px solid rgba(255, 255, 255, 0.1); }

/* Profil corporatif */
.profil-section { padding: 72px 0; background-color: var(--bg-light); }
.profil-header { text-align: center; margin-bottom: 48px; }
.profil-main-title { font-size: 32px; font-weight: 800; color: var(--brand-dark); margin-bottom: 8px; }
.profil-sub-title { font-size: 20px; font-weight: 600; color: var(--brand-grey); }
.specialties-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.specialty-card { background-color: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid #e2e8f0; }
.specialty-body { padding: 32px 24px; text-align: center; }
.specialty-title { font-size: 19px; font-weight: 700; color: var(--brand-dark); margin-bottom: 12px; }
.specialty-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* SFL & Conformité */
.sfl-section { padding: 68px 0; background-color: var(--white); border-top: 1px solid #e2e8f0; }
.sfl-card { max-width: 980px; margin: 0 auto; background-color: #f8fafc; border: 2px solid var(--brand-dark); border-radius: var(--radius-md); padding: 44px 40px; box-shadow: var(--shadow-md); }
.sfl-badge-top { text-align: center; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--brand-grey); margin-bottom: 20px; }
.sfl-logo-container { width: 460px; max-width: 100%; margin: 0 auto 30px; background-color: var(--white); padding: 22px 28px; border-radius: var(--radius-sm); border: 1px solid #cbd5e1; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
#sfl-logo { width: 460px; max-width: 100%; height: auto; object-fit: contain; }
.sfl-affiliation-box { background-color: var(--white); border-left: 5px solid var(--brand-dark); padding: 20px 24px; border-radius: var(--radius-sm); margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.sfl-affiliation-title { font-size: 17px; font-weight: 800; color: var(--brand-dark); margin-bottom: 6px; }
.sfl-affiliation-text { font-size: 15px; color: var(--text-main); font-weight: 500; }
.sfl-legal-notice { font-size: 13.5px; line-height: 1.65; color: #334155; background-color: #eef2f6; padding: 18px 22px; border-radius: var(--radius-sm); border: 1px solid #cbd5e1; }

/* Pied de page */
.site-footer { background-color: var(--brand-dark); color: var(--white); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.footer-col { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 10px; }
.footer-col-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--white); }
.footer-col-content { font-size: 14px; line-height: 1.65; color: #e2e8f0; }
.footer-col-content a:hover { color: #bae6fd; text-decoration: underline; }
.footer-bottom { background-color: #003854; padding: 28px 0; font-size: 13px; color: #cbd5e1; }
.footer-bottom-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 20px; color: #bae6fd; }

@media (max-width: 992px) {
    .hero-grid, .bref-grid { grid-template-columns: 1fr; }
    .bref-text-col { max-width: 100%; padding: 48px 24px; }
    .specialties-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .header-inner { justify-content: center; text-align: center; }
    .brand-logo-wrap { width: 100%; max-width: 340px; }
    .hero-title { font-size: 30px; }
    .contact-buttons-grid { grid-template-columns: 1fr; }
    .pillars-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
