/*
Theme Name: OSHER Africa Consulting Premium
Author: Zoeliatech
Version: 3.0
*/

:root {
    --osher-blue: #020b1a;
    --osher-blue-soft: #07152b;
    --osher-gold: #d9b25f;
    --osher-gold-soft: #f1e0ba;
    --osher-white: #ffffff;
    --osher-grey: #f4f5f7;
    --osher-text: #e6e8ef;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--osher-blue);
    color: var(--osher-text);
    line-height: 1.6;
}

a { color: var(--osher-gold); text-decoration: none; }
a:hover { text-decoration: underline; }

header {
    background: #020b1a;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--osher-white);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
header img { height: 48px; }

.osher-container {
    width: min(1120px, 100% - 40px);
    margin: 0 auto;
}

.section {
    padding: 70px 0;
}
.section.white { background: #ffffff; color: #101322; }
.section.light { background: var(--osher-grey); color: #101322; }
.section.dark { background: var(--osher-blue-soft); color: var(--osher-text); }

.section-header { margin-bottom: 32px; }
.section-header.center { text-align: center; }
.section-header.left { text-align: left; }

.section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 15px;
    color: var(--osher-gold);
}
.section-title {
    font-size: 26px;
    margin: 10px 0 6px;
}
.section-subtitle {
    font-size: 14px;
    max-width: 620px;
    margin: 0 auto;
    color: #5f6885;
}

/* HERO */

.hero {
    background:
        radial-gradient(circle at top left, #1a335d 0, #020b1a 55%);
    color: var(--osher-white);
    padding: 90px 0 80px;
    margin-top: 83px;
}
.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}
.hero-kicker {
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.16em;
    color: var(--osher-gold-soft);
}
.hero-title {
    font-size: 40px;
    line-height: 1.1;
    margin: 10px 0 16px;
}
.hero-subtitle {
    font-size: 16px;
    color: #cbd3ff;
    max-width: 520px;
}
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}
.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroSlider 18s infinite;
}

.hero-bg-slide:nth-child(1) { animation-delay: 0s; }
.hero-bg-slide:nth-child(2) { animation-delay: 6s; }
.hero-bg-slide:nth-child(3) { animation-delay: 12s; }

@keyframes heroSlider {
    0% { opacity: 0; }
    5% { opacity: 1; }
    30% { opacity: 1; }
    35% { opacity: 0; }
    100% { opacity: 0; }
}
.hero {
    position: relative;
    height: 95vh;
    color: #fff;
    overflow: hidden;
}

/* Slider pleine largeur */
.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: sliderAnimation 18s infinite;
}

.hero-bg-slide:nth-child(1) { animation-delay: 0s; }
.hero-bg-slide:nth-child(2) { animation-delay: 6s; }
.hero-bg-slide:nth-child(3) { animation-delay: 12s; }

/* Animation */
@keyframes sliderAnimation {
    0% { opacity: 0; }
    6% { opacity: 1; }
    30% { opacity: 1; }
    36% { opacity: 0; }
    100% { opacity: 0; }
}

/* Overlay sombre */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 2;
}

/* Texte devant tout */
.hero-inner {
    position: relative;
    z-index: 3;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}
.btn-primary {
    background: var(--osher-gold);
    color: #111;
    border-color: var(--osher-gold);
}
.btn-primary:hover {
    background: #ffdfa2;
}
.btn-outline {
    border-color: var(--osher-gold-soft);
    color: var(--osher-gold-soft);
    background: transparent;
}
.btn-outline:hover {
    background: rgba(255,255,255,0.08);
}
.hero-badges {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #d0d6ff;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.hero-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--osher-gold);
}

/* Hero slider */

.hero-slider {
    background: rgba(2,11,26,0.7);
    border-radius: 18px;
    padding: 22px;
    position: relative;
    min-height: 220px;
    border: 1px solid rgba(217,178,95,0.4);
    box-shadow: 0 16px 40px rgba(0,0,0,0.7);
}
.hero-slide {
    position: absolute;
    inset: 22px;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity .6s ease, transform .6s ease;
}
.hero-slide.active {
    opacity: 1;
    transform: translateX(0);
}
.hero-slide h3 {
    margin: 0 0 6px;
    color: var(--osher-gold);
    font-size: 18px;
}
.hero-slide p {
    font-size: 14px;
    color: #dde3ff;
}
.hero-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}
.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 1px solid var(--osher-gold-soft);
    background: transparent;
    cursor: pointer;
}
.hero-dot.active {
    background: var(--osher-gold);
}

/* Layouts */

.two-cols {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 32px;
}
.split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 32px;
}
.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.pill {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(15,23,42,0.15);
    background: #f8fafc;
}

/* Values */

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.value-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid #e1e4ee;
    box-shadow: 0 4px 14px rgba(15,23,42,0.06);
    font-size: 13px;
}
.value-card h3 {
    margin: 0 0 6px;
    font-size: 14px;
}

/* Pôles */

.poles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.pole-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px;
    border: 1px solid #e2e4ef;
    box-shadow: 0 10px 26px rgba(15,23,42,0.06);
    font-size: 13px;
}
.pole-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
}
.pole-card ul {
    padding-left: 18px;
    margin: 0;
}
.pole-card li { margin-bottom: 4px; }

/* Équipe / témoignage */

.testimonial-card {
    background: #020b1a;
    border-radius: 18px;
    padding: 22px;
    border: 1px solid rgba(217,178,95,0.4);
}
.testimonial-quote { font-style: italic; margin-bottom: 10px; }
.testimonial-author { font-size: 13px; color: var(--osher-gold-soft); }

.team-list {
    display: grid;
    gap: 10px;
    font-size: 14px;
}
.team-name { font-weight: 600; }
.team-role { font-size: 13px; color: #aeb4d4; }

/* Stats */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.stat-card {
    background: #020b1a;
    border-radius: 18px;
    padding: 18px 16px;
    border: 1px solid rgba(217,178,95,0.3);
    text-align: center;
    box-shadow: 0 12px 30px rgba(15,23,42,0.5);
}
.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--osher-gold);
    margin-bottom: 4px;
}
.stat-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #c7ccf5;
}

/* Carte */

.map-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}
.map-box {
    min-height: 280px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top, #152b4e 0, #020b1a 45%, #000 100%);
    border: 1px solid rgba(217,178,95,0.3);
    position: relative;
    overflow: hidden;
}
.map-africa {
    position: absolute;
    inset: 10% 8%;
    border-radius: 999px;
    border: 1px dashed rgba(217,178,95,0.5);
    opacity: 0.5;
}
.map-city {
    position: absolute;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,0.8);
    color: var(--osher-gold-soft);
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: default;
}
.map-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--osher-gold);
    box-shadow: 0 0 0 6px rgba(217,178,95,0.25);
}
.map-city.dakar { top: 40%; left: 20%; }
.map-city.ouaga { top: 45%; left: 40%; }
.map-city.lome  { top: 58%; left: 46%; }

/* Contact */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 32px;
}
.contact-card {
    background: #020b1a;
    border-radius: 18px;
    padding: 22px;
    border: 1px solid rgba(217,178,95,0.35);
    box-shadow: 0 16px 44px rgba(0,0,0,0.8);
}
.contact-card p { font-size: 14px; margin: 4px 0 6px; }

.contact-form label {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(148,163,184,0.7);
    background: #020b1a;
    color: var(--osher-text);
    font-size: 13px;
    margin-bottom: 10px;
}
.contact-form textarea {
    min-height: 110px;
    resize: vertical;
}

/* Footer */

footer {
    background: #020814;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #9ca3c7;
}

/* Responsive */

@media (max-width: 900px) {
    .hero-inner,
    .two-cols,
    .split-grid,
    .map-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .poles-grid {
        grid-template-columns: 1fr;
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .stats-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 30px; }
    header { padding: 16px 20px; font-size: 18px; }
}
/* -------- HEADER -------- */
/* ------------------- HEADER STYLE ------------------- */

.osher-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 9999;
    transition: 0.35s ease;
    background: transparent;
}

.osher-header {
  background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    padding: 10px 0;  /* réduit le padding */
}


.osher-header.scrolled {
    background: #000;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,.5);
}

.osher-header-container {
    width: 90%;
    max-width: 1500px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.osher-logo img {
    height: 55px;
    transition: 0.3s;
}


.osher-header.scrolled .osher-logo img {
    height: 45px;
}

/* MENU DESKTOP */
.osher-menu {
    display: flex;
    gap: 50px;
    list-style: none;
    align-items: center;
}

.osher-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.osher-menu li a:hover {
    color: #d4aa5a;
}

.osher-header.scrolled .osher-menu li a {
    color: #d4aa5a;
}

/* ========== HAMBURGER ========== */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #fff;
    transition: 0.3s;
}

/* Animation hamburger OPEN */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========== MOBILE MENU ========== */

.mobile-menu {
    position: fixed;
    right: -100%;
    top: 0;
    width: 70%;
    height: 100vh;
    background: #111;
    padding: 30px;
    transition: 0.4s ease;
    z-index: 99999;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
}

.mobile-menu-list li {
    margin-bottom: 25px;
}

.mobile-menu-list li a {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
}

.mobile-menu-list li a:hover {
    color: #d4aa5a;
}

/* Responsive */
@media(max-width: 900px) {
    .osher-menu {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}

.osher-header.scrolled .osher-menu li a {
    color: #d4aa5a !important;
}

.osher-header.scrolled .hamburger span {
    background: #d4aa5a !important;
}
.hero-inner {
    max-width: 1500px;
    margin: -30px auto;
    padding-left: 40px; /* alignement premium */
}

/* Wave transition between hero and white section */
.osher-wave-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: -80px; /* remonte la vague dans le hero */
    z-index: 3;
}

.osher-wave-divider svg {
    display: block;
    width: 100%;
    height: 120px;
}

.osher-wave-divider path {
    fill: #ffffff;
}


