/*
Theme Name: BOLO-RISE Advisory
Theme URI: https://bolorise.com
Author: BOLO-RISE Advisory
Description: Thème vitrine professionnel pour BOLO-RISE Advisory - Cabinet de conseil en impact social et développement
Version: 1.0
Text Domain: bolorise
Tags: one-page, bilingual, professional, green
*/

/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
    --green-dark:    #1a3d2e;
    --green-primary: #2a6049;
    --green-medium:  #3d8b69;
    --green-light:   #6dbf94;
    --green-pale:    #e8f5ee;
    --gold:          #b8962e;
    --gold-light:    #d4b04a;
    --dark:          #111827;
    --dark-medium:   #1f2937;
    --gray:          #6b7280;
    --gray-light:    #f3f4f6;
    --white:         #ffffff;
    --radius:        6px;
    --shadow:        0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg:     0 12px 40px rgba(0,0,0,0.14);
    --transition:    0.3s ease;
    --font-heading:  'Playfair Display', Georgia, serif;
    --font-body:     'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.25;
    color: var(--dark);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { color: var(--gray); line-height: 1.8; }

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-medium);
    display: block;
    margin-bottom: 1rem;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 70px 0; }

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-white p { color: rgba(255,255,255,0.82) !important; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: var(--green-primary);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(42,96,73,0.35);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--white);
}
.btn-gold {
    background: var(--gold);
    color: var(--white);
}
.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.1rem 0;
    background: rgba(17, 24, 39, 0.97);
    backdrop-filter: blur(12px);
    transition: var(--transition);
}
#navbar.scrolled {
    padding: 0.7rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.nav-logo .logo-main {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.02em;
}
.nav-logo .logo-sub {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green-light);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-links a {
    color: rgba(255,255,255,0.78);
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 2px;
    background: var(--green-light);
    transition: var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language switcher */
.lang-switcher {
    display: flex;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 4px;
    overflow: hidden;
}
.lang-switcher a {
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}
.lang-switcher a:hover,
.lang-switcher a.active {
    background: var(--green-primary);
    color: var(--white);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--dark-medium) 50%, #0d1f17 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
#hero::after {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(61,139,105,0.18) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}
.hero-tagline {
    display: inline-block;
    background: rgba(109,191,148,0.15);
    border: 1px solid rgba(109,191,148,0.3);
    color: var(--green-light);
    padding: 0.4rem 1.2rem;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 1.8rem;
}
#hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
}
#hero h1 em {
    font-style: normal;
    color: var(--green-light);
}
#hero .hero-desc {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    max-width: 620px;
    margin-bottom: 2.5rem;
}
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    overflow: hidden;
    max-width: 680px;
}
.hero-stat {
    background: rgba(255,255,255,0.05);
    padding: 1.2rem 1.5rem;
    transition: var(--transition);
}
.hero-stat:hover { background: rgba(255,255,255,0.1); }
.hero-stat .stat-num {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    color: var(--green-light);
    font-weight: 700;
    display: block;
}
.hero-stat .stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.3;
}

/* ============================================================
   ABOUT
   ============================================================ */
#about { background: var(--white); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}
.about-visual {
    position: relative;
}
.about-card {
    background: var(--green-pale);
    border-left: 4px solid var(--green-primary);
    border-radius: var(--radius);
    padding: 2rem 2.5rem;
    margin-bottom: 1.5rem;
}
.about-card h4 {
    color: var(--green-dark);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}
.about-card p {
    color: var(--dark-medium);
    font-size: 0.95rem;
}
.about-quote {
    background: var(--green-dark);
    color: var(--white);
    padding: 2rem 2.5rem;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.6;
    position: relative;
}
.about-quote::before {
    content: '"';
    font-size: 5rem;
    line-height: 0;
    position: absolute;
    top: 2.5rem; left: 1.5rem;
    color: var(--green-light);
    opacity: 0.4;
    font-family: Georgia, serif;
}
.portee-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--green-pale);
    border: 1px solid var(--green-light);
    color: var(--green-dark);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 1.5rem;
}

/* ============================================================
   WHY BOLO-RISE
   ============================================================ */
#why { background: var(--gray-light); }

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.why-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 3px solid transparent;
}
.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--green-primary);
}
.why-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--green-pale);
    line-height: 1;
    margin-bottom: 0.8rem;
    display: block;
}
.why-card h3 {
    color: var(--dark);
    font-size: 1rem;
    margin-bottom: 0.6rem;
}
.why-card p { font-size: 0.9rem; }

/* ============================================================
   APPROACH
   ============================================================ */
#approach {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 100%);
}

.approach-intro {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 4rem;
    color: rgba(255,255,255,0.8);
}
.approach-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    overflow: hidden;
}
.approach-step {
    background: rgba(255,255,255,0.05);
    padding: 3rem 2.5rem;
    transition: var(--transition);
}
.approach-step:hover { background: rgba(255,255,255,0.1); }
.step-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green-light);
    margin-bottom: 0.5rem;
    display: block;
}
.step-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1rem;
}
.approach-step p { color: rgba(255,255,255,0.72); font-size: 0.95rem; }

/* ============================================================
   SERVICES
   ============================================================ */
#services { background: var(--white); }

.services-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 4rem;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.service-card {
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.service-head {
    background: var(--green-dark);
    padding: 2rem;
    color: var(--white);
}
.service-num {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green-light);
    display: block;
    margin-bottom: 0.5rem;
}
.service-head h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}
.service-head .service-sub {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    font-style: italic;
}
.service-body { padding: 2rem; }
.service-body ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.service-body li {
    font-size: 0.88rem;
    color: var(--gray);
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.5;
}
.service-body li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--green-medium);
    font-weight: 700;
}

/* ============================================================
   SECTORS
   ============================================================ */
#sectors { background: var(--gray-light); }

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}
.sector-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-medium);
    border: 2px solid transparent;
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.sector-item:hover {
    border-color: var(--green-primary);
    color: var(--green-dark);
    transform: translateY(-3px);
}
.sector-icon {
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
    display: block;
}

/* ============================================================
   TEAM
   ============================================================ */
#team { background: var(--white); }

.team-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}
.team-stat {
    text-align: center;
    padding: 2rem;
    background: var(--green-pale);
    border-radius: var(--radius);
}
.team-stat .t-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--green-primary);
    font-weight: 700;
    display: block;
    line-height: 1;
}
.team-stat .t-label {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 0.4rem;
}
.team-qualities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}
.team-quality {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1.2rem;
    background: var(--gray-light);
    border-radius: var(--radius);
    font-size: 0.88rem;
    color: var(--dark-medium);
}
.team-quality::before {
    content: '✓';
    width: 22px; height: 22px;
    min-width: 22px;
    background: var(--green-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 1px;
}

/* ============================================================
   CTA BAND
   ============================================================ */
#cta {
    background: linear-gradient(135deg, var(--gold) 0%, #8a6d1a 100%);
    padding: 80px 0;
    text-align: center;
}
#cta h2 { color: var(--white); margin-bottom: 1rem; }
#cta p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 2rem; }

/* ============================================================
   CONTACT
   ============================================================ */
#contact { background: var(--dark); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}
.contact-info h2 { color: var(--white); margin-bottom: 1rem; }
.contact-info > p { color: rgba(255,255,255,0.6); margin-bottom: 2.5rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; flex-direction: column; gap: 0.2rem; }
.contact-item .ci-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-light);
}
.contact-item .ci-value {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 500;
}
.contact-item .ci-value a { color: var(--white); transition: var(--transition); }
.contact-item .ci-value a:hover { color: var(--green-light); }

.contact-offices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}
.office-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 1.5rem;
}
.office-card .o-flag { font-size: 1.4rem; margin-bottom: 0.4rem; }
.office-card .o-region {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-light);
    margin-bottom: 0.3rem;
}
.office-card .o-city {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: #0a0f18;
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-brand .fb-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--white);
    font-weight: 700;
}
.footer-brand .fb-tagline {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    font-style: italic;
}
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.35); text-align: right; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .sectors-grid { grid-template-columns: repeat(2, 1fr); }
    .team-qualities { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(17, 24, 39, 0.98);
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        z-index: 999;
    }
    .nav-links.open a { font-size: 1.2rem; }
    .nav-toggle { display: flex; z-index: 1000; position: relative; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .approach-steps { grid-template-columns: 1fr; }
    .team-stats { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .sectors-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-offices { grid-template-columns: 1fr; }
    .hero-ctas { flex-direction: column; align-items: flex-start; }
    .section-pad { padding: 70px 0; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-copy { text-align: center; }
}

@media (max-width: 480px) {
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .sectors-grid { grid-template-columns: 1fr; }
    .container { padding: 0 1.2rem; }
}
