/* ============================================
   CSS VARIABLES — Palette V2 WARM
   ============================================ */
:root {
    --sand: #FAF6F0;
    --sand-dark: #F0E9DE;
    --cream: #FFF9F0;
    --warm-dark: #2C1810;
    --warm-mid: #4A3228;
    --warm-light: #6B5244;
    --gold: #C4913C;
    --gold-deep: #A67A2E;
    --gold-soft: #D4A853;
    --gold-glow: #E8C87A;
    --terracotta: #B86B3A;
    --navy-accent: #1A3052;
    --white: #FFFFFF;
    --gray-100: #F5F2EE;
    --gray-200: #E8E2DA;
    --gray-300: #D4CCC2;
    --gray-500: #8C7E72;
    --gray-700: #5A4D42;
    --gray-900: #2C2420;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', 'Segoe UI', sans-serif;
    --max-width: 1200px;
    --section-padding: 100px 0;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--gray-700);
    line-height: 1.7;
    font-size: 16px;
    background: var(--sand);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

/* ============================================
   UTILITY
   ============================================ */
.text-gold { color: var(--gold); }
.text-terracotta { color: var(--terracotta); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

.badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    border-radius: 2px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 3px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: var(--gold);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--gold-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 145, 60, 0.35);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}
.btn-outline-dark {
    background: transparent;
    color: var(--warm-dark);
    border: 1.5px solid var(--gray-300);
}
.btn-outline-dark:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}
.btn-dark {
    background: var(--warm-dark);
    color: var(--white);
}
.btn-dark:hover {
    background: var(--warm-mid);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 24, 16, 0.25);
}
.btn-arrow::after {
    content: '\2192';
    transition: transform 0.3s ease;
}
.btn-arrow:hover::after {
    transform: translateX(4px);
}

/* ============================================
   HEADER / NAV
   ============================================ */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
}
.header.scrolled {
    background: rgba(250, 246, 240, 0.97);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(44, 24, 16, 0.08);
}
.header.scrolled .logo-text { color: var(--warm-dark); }
.header.scrolled .logo-text span { color: var(--gold); }
.header.scrolled nav a { color: var(--gray-500); }
.header.scrolled nav a:hover, .header.scrolled nav a.active,
.header.scrolled nav li.current-menu-item a,
.header.scrolled nav li.current_page_item a,
.header.scrolled nav li.current-menu-ancestor a { color: var(--warm-dark); }
.header.scrolled .lang-switch { border-color: var(--gray-300); color: var(--gray-500); }
.header.scrolled .hamburger span { background: var(--warm-dark); }

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo img,
.custom-logo-link img,
.custom-logo,
.header .logo img {
    max-height: 60px !important;
    width: auto !important;
    height: auto;
}
.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gold);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
}
.logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 1px;
}
.logo-text span { color: var(--gold-glow); }

nav { display: flex; align-items: center; gap: 4px; }
nav > ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
nav > ul > li { list-style: none; position: relative; }
nav a {
    color: rgba(255,255,255,0.8);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 3px;
    transition: var(--transition);
    position: relative;
    display: block;
}
nav a:hover, nav a.active { color: var(--white); }
nav a.active::after,
nav li.current-menu-item > a::after,
nav li.current_page_item > a::after,
nav li.current-menu-ancestor > a::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 18px; right: 18px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}
.nav-cta { margin-left: 16px; }

.lang-switch {
    margin-left: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 3px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}
.lang-switch .active-lang { color: var(--gold-glow); font-weight: 700; }
.lang-switch span { cursor: pointer; padding: 2px 4px; }
.lang-switch .sep { opacity: 0.3; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}
.hamburger span {
    width: 24px; height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--warm-dark);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(44, 24, 16, 0.88) 0%, rgba(74, 50, 40, 0.6) 50%, rgba(196, 145, 60, 0.25) 100%);
    z-index: 2;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.12); }
}

.hero-accent {
    position: absolute;
    z-index: 3;
    opacity: 0.1;
}
.hero-accent--1 {
    top: 10%; right: 5%;
    width: 400px; height: 400px;
    border: 2px solid var(--gold);
    border-radius: 50%;
}
.hero-accent--2 {
    bottom: 15%; right: 15%;
    width: 200px; height: 200px;
    border: 2px solid var(--gold-glow);
    transform: rotate(45deg);
}

.hero .container {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 100px;
}

.hero-content { max-width: 580px; }
.hero-badge { margin-bottom: 28px; border-color: rgba(232, 200, 122, 0.5); color: var(--gold-glow); }
.hero h1 {
    color: var(--white);
    margin-bottom: 24px;
}
.hero h1 em {
    font-style: normal;
    color: var(--gold-glow);
}
.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 480px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
    display: flex;
    flex-direction: column;
    justify-self: end;
}
.hero-stat {
    padding: 32px 40px;
    border-left: 2px solid rgba(232, 200, 122, 0.3);
    transition: var(--transition);
}
.hero-stat:hover {
    border-left-color: var(--gold-glow);
    background: rgba(255,255,255,0.04);
}
.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-glow);
    line-height: 1;
    margin-bottom: 8px;
}
.hero-stat-label {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
    background: var(--warm-mid);
    border-top: 1px solid rgba(232, 200, 122, 0.1);
    padding: 24px 0;
}
.trust-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.55);
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.trust-icon { width: 20px; height: 20px; opacity: 0.5; }

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: var(--section-padding);
    background: var(--sand);
}
.about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-image-wrapper { position: relative; }
.about-image {
    width: 100%; height: 480px;
    object-fit: cover;
    border-radius: 6px;
}
.about-image-accent {
    position: absolute;
    bottom: -20px; right: -20px;
    width: 200px; height: 200px;
    border: 2px solid var(--gold-soft);
    border-radius: 6px;
    z-index: -1;
}
.about-experience {
    position: absolute;
    bottom: 30px; left: -30px;
    background: var(--warm-dark);
    padding: 24px 32px;
    border-radius: 6px;
}
.about-experience-number {
    font-family: var(--font-heading);
    font-size: 2.5rem; font-weight: 700;
    color: var(--gold-glow);
    line-height: 1;
}
.about-experience-text {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    margin-top: 4px;
}
.about-content .badge { margin-bottom: 20px; }
.about-content h2 { margin-bottom: 20px; }
.about-lead {
    font-size: 1.1rem;
    color: var(--gray-700);
    margin-bottom: 24px;
    line-height: 1.8;
}
.about-text {
    color: var(--gray-500);
    margin-bottom: 32px;
    line-height: 1.8;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 36px;
}
.about-value {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.about-value-icon {
    width: 40px; height: 40px; min-width: 40px;
    background: rgba(196, 145, 60, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.1rem;
}
.about-value h4 {
    font-family: var(--font-body);
    font-size: 0.92rem; font-weight: 600;
    color: var(--warm-dark);
    margin-bottom: 2px;
}
.about-value p {
    font-size: 0.82rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: var(--section-padding);
    background: var(--cream);
}
.services-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}
.services-header .badge { margin-bottom: 20px; }
.services-header h2 { margin-bottom: 16px; }
.services-header p { color: var(--gray-500); font-size: 1.05rem; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--white);
    border-radius: 6px;
    padding: 40px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--terracotta));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(44, 24, 16, 0.08);
    border-color: transparent;
}

.service-number {
    font-family: var(--font-heading);
    font-size: 2.5rem; font-weight: 700;
    color: var(--gray-200);
    line-height: 1;
    margin-bottom: 20px;
}
.service-icon {
    width: 48px; height: 48px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.service-card h3 { margin-bottom: 12px; font-size: 1.15rem; }
.service-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem; font-weight: 600;
    color: var(--gold);
    transition: var(--transition);
}
.service-link:hover { color: var(--terracotta); gap: 10px; }

/* ============================================
   AFRICA PRESENCE
   ============================================ */
.presence {
    padding: var(--section-padding);
    background: var(--warm-dark);
    position: relative;
    overflow: hidden;
}
.presence::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    border: 1px solid rgba(196, 145, 60, 0.08);
    border-radius: 50%;
}
.presence .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.presence-content .badge { border-color: rgba(196, 145, 60, 0.4); margin-bottom: 20px; }
.presence-content h2 { color: var(--white); margin-bottom: 20px; }
.presence-content p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 24px;
    line-height: 1.8;
}

.presence-regions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}
.region-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    border-left: 3px solid var(--gold);
    transition: var(--transition);
}
.region-item:hover { background: rgba(255,255,255,0.08); }
.region-flag { font-size: 1.4rem; }
.region-name { font-weight: 600; color: var(--white); font-size: 0.95rem; }
.region-details { color: rgba(255,255,255,0.5); font-size: 0.82rem; }

.presence-map {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.map-placeholder {
    width: 100%; max-width: 500px;
    aspect-ratio: 1;
    background: rgba(196, 145, 60, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(196, 145, 60, 0.12);
    position: relative;
}
.map-placeholder::before {
    content: '';
    position: absolute;
    inset: 30px;
    border-radius: 50%;
    border: 1px dashed rgba(196, 145, 60, 0.2);
}
.map-text {
    text-align: center;
    color: rgba(255,255,255,0.35);
    font-size: 0.85rem;
}
.map-text strong {
    display: block;
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--gold-glow);
    margin-bottom: 8px;
}

/* ============================================
   PROJECTS
   ============================================ */
.projects {
    padding: var(--section-padding);
    background: var(--sand);
}
.projects .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.projects-content .badge { margin-bottom: 20px; }
.projects-content h2 { margin-bottom: 20px; }
.projects-content > p {
    color: var(--gray-500);
    margin-bottom: 32px;
    line-height: 1.8;
}

.expertise-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}
.expertise-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-200);
}
.expertise-item:last-child { border-bottom: none; }
.expertise-icon {
    width: 32px; height: 32px; min-width: 32px;
    background: var(--warm-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-glow);
    font-size: 0.75rem;
    margin-top: 2px;
}
.expertise-item h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--warm-dark);
    margin-bottom: 4px;
}
.expertise-item p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.projects-visual { position: relative; }
.projects-image {
    width: 100%; height: 560px;
    object-fit: cover;
    border-radius: 6px;
}
.projects-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(44, 24, 16, 0.9));
    border-radius: 0 0 6px 6px;
}
.projects-overlay-stat {
    font-family: var(--font-heading);
    font-size: 2rem; font-weight: 700;
    color: var(--gold-glow);
}
.projects-overlay-text {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-top: 4px;
}

/* ============================================
   WHY XPRO
   ============================================ */
.why-xpro {
    padding: var(--section-padding);
    background: var(--cream);
}
.why-xpro-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}
.why-xpro-header .badge { margin-bottom: 20px; }
.why-xpro-header h2 { margin-bottom: 16px; }

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.why-card {
    background: var(--white);
    padding: 44px 32px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.why-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(44, 24, 16, 0.06);
}
.why-icon {
    width: 64px; height: 64px;
    margin: 0 auto 24px;
    background: rgba(196, 145, 60, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}
.why-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.why-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============================================
   CTA
   ============================================ */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--warm-dark) 0%, #3D2518 50%, var(--warm-mid) 100%);
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(196, 145, 60, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(184, 107, 58, 0.08) 0%, transparent 50%);
}
.cta .container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
}
.cta h2 { color: var(--white); margin-bottom: 20px; }
.cta p {
    color: rgba(255,255,255,0.65);
    font-size: 1.1rem;
    margin-bottom: 36px;
    line-height: 1.8;
}
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-900);
    padding: 80px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand p {
    color: rgba(255,255,255,0.45);
    font-size: 0.88rem;
    line-height: 1.7;
    max-width: 300px;
}
.footer h5 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
    color: rgba(255,255,255,0.45);
    font-size: 0.88rem;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--gold-glow); }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.45);
    font-size: 0.88rem;
}
.footer-contact-icon { color: var(--gold); font-size: 0.9rem; min-width: 20px; padding-top: 3px; }

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.8rem; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a {
    color: rgba(255,255,255,0.3);
    font-size: 0.8rem;
    transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--gold-glow); }

/* ============================================
   WHATSAPP
   ============================================ */
.whatsapp-btn {
    position: fixed;
    bottom: 30px; right: 30px;
    z-index: 999;
    width: 56px; height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
    cursor: pointer;
}
.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
}
.whatsapp-btn svg { width: 28px; height: 28px; fill: white; }

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left {
    opacity: 0; transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right {
    opacity: 0; transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .hero .container { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: row; justify-self: start; margin-top: 20px; }
    .hero-stat { border-left: none; border-right: 2px solid rgba(232, 200, 122, 0.3); }
    .hero-stat:last-child { border-right: none; }
}
@media (max-width: 768px) {
    :root { --section-padding: 70px 0; }

    /* ---- HEADER MOBILE ---- */
    .hamburger { display: flex; }
    .header { padding: 14px 0; }
    nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--warm-dark);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
    }
    nav > ul { flex-direction: column; gap: 4px; width: 100%; }
    nav > ul > li > a { padding: 12px 16px; font-size: 0.92rem; }
    nav.open { display: flex; }
    .nav-cta { margin-left: 0; width: 100%; text-align: center; padding: 14px 24px !important; margin-top: 8px; }
    .lang-switch { margin-left: 0; justify-content: center; margin-top: 8px; }

    /* ---- HERO MOBILE ---- */
    .hero { min-height: 100vh; min-height: 100svh; }
    .hero .container { padding-top: 80px; }
    .hero h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.75); }
    .hero-badge { font-size: 0.65rem; }
    .hero-buttons { flex-direction: column; gap: 12px; }
    .hero-buttons .btn { width: 100%; justify-content: center; text-align: center; padding: 14px 24px; }
    .hero-stats {
        flex-direction: row;
        background: rgba(0,0,0,0.15);
        border-radius: 8px;
        margin-top: 28px;
        padding: 4px 0;
    }
    .hero-stat {
        border-right: 1px solid rgba(232, 200, 122, 0.15);
        border-bottom: none;
        border-left: none;
        padding: 20px 12px;
        text-align: center;
        flex: 1;
    }
    .hero-stat:last-child { border-right: none; }
    .hero-stat-number { font-size: 1.6rem; }
    .hero-stat-label { font-size: 0.62rem; }

    /* ---- TRUST BAR MOBILE ---- */
    .trust-bar { padding: 20px 0; }
    .trust-bar .container { gap: 16px; }
    .trust-item { font-size: 0.7rem; }

    /* ---- SECTIONS MOBILE ---- */
    .container { padding: 0 24px; }
    .about .container,
    .presence .container,
    .projects .container,
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }

    /* ---- ABOUT MOBILE ---- */
    .about-image { height: 280px; border-radius: 10px; }
    .about-values { grid-template-columns: 1fr; gap: 16px; }
    .about-experience {
        position: relative; left: 0; bottom: 0;
        display: inline-flex; align-items: center; gap: 12px;
        margin-top: 16px; padding: 16px 24px;
    }
    .about-experience-number { font-size: 2rem; }
    .about-image-accent { display: none; }
    .about-content h2 { font-size: 1.6rem; }
    .about-lead { font-size: 1rem; }

    /* ---- SERVICES CARDS MOBILE ---- */
    .services-grid { grid-template-columns: 1fr; gap: 16px; }
    .service-card {
        padding: 28px 24px;
        border-radius: 10px;
        border-left: 3px solid var(--gold);
        border-top: none;
    }
    .service-card::before { display: none; }
    .service-card .service-number {
        display: inline; font-size: 1.2rem; color: var(--gold-soft);
    }
    .service-card .service-icon {
        display: inline; margin: 0 0 0 8px; font-size: 1.2rem;
    }
    .service-card h3 { font-size: 1.05rem; margin-top: 10px; }
    .service-card p { font-size: 0.85rem; line-height: 1.6; }
    .services-header h2 { font-size: 1.6rem; }

    /* ---- PRESENCE MOBILE ---- */
    .presence .container { gap: 40px; }
    .map-placeholder { max-width: 300px; }

    /* ---- PROJECTS MOBILE ---- */
    .projects-image { height: 300px; border-radius: 10px; }
    .projects-content h2 { font-size: 1.6rem; }

    /* ---- WHY XPRO MOBILE ---- */
    .why-grid { grid-template-columns: 1fr; gap: 16px; }
    .why-card { padding: 32px 24px; border-radius: 10px; }
    .why-xpro-header h2 { font-size: 1.6rem; }

    /* ---- CTA MOBILE ---- */
    .cta { padding: 60px 0; }
    .cta h2 { font-size: 1.5rem; }
    .cta p { font-size: 0.88rem; }
    .cta-buttons { flex-direction: column; gap: 12px; }
    .cta-buttons .btn { width: 100%; justify-content: center; text-align: center; padding: 14px 24px; }

    /* ---- FOOTER MOBILE ---- */
    .footer { padding: 48px 0 0; }
    .footer-grid { gap: 32px; }
    .footer-brand p { max-width: 100%; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    /* ---- STATS ROW MOBILE ---- */
    .stats-row { flex-direction: row; flex-wrap: wrap; }
    .stat-item { flex: 1 1 45%; min-width: 140px; padding: 24px 16px; }

    /* ---- PAGE HERO MOBILE ---- */
    .page-hero { padding: 140px 0 60px; }
    .page-hero h1 { font-size: 1.7rem; }
    .page-hero-subtitle { font-size: 0.92rem; }

    /* ---- ACCORDIONS MOBILE ---- */
    .accordion-header { padding: 20px; gap: 12px; }
    .svc-full-header { flex-wrap: wrap; gap: 12px; padding: 16px 20px; }

    /* ---- GENERAL MOBILE TYPOGRAPHY ---- */
    h2 { font-size: 1.5rem; }
    .badge { font-size: 0.68rem; letter-spacing: 1.5px; }
    .btn { padding: 14px 28px; font-size: 0.85rem; }
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
    padding: 180px 0 100px;
    background: var(--warm-dark);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(44,24,16,0.92) 0%, rgba(74,50,40,0.7) 50%, rgba(196,145,60,0.15) 100%);
    z-index: 2;
}
.page-hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    opacity: 0.4;
}
.page-hero .container { position: relative; z-index: 3; }
.page-hero .badge { border-color: rgba(232,200,122,0.4); color: var(--gold-glow); margin-bottom: 20px; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; max-width: 700px; }
.page-hero h1 em { font-style: normal; color: var(--gold-glow); }
.page-hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.9); max-width: 600px; line-height: 1.8; text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.page-hero-breadcrumb { margin-top: 24px; font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.page-hero-breadcrumb a { color: rgba(255,255,255,0.5); transition: var(--transition); }
.page-hero-breadcrumb a:hover { color: var(--gold-glow); }
.page-hero-breadcrumb .sep { margin: 0 8px; }

/* ============================================
   GENERIC SECTIONS
   ============================================ */
.section { padding: var(--section-padding); }
.section--sand { background: var(--sand); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--warm-dark); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-header .badge { margin-bottom: 20px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--gray-500); font-size: 1.05rem; line-height: 1.7; }

/* TWO COLUMN LAYOUT */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }

/* CONTENT BLOCKS */
.content-block .badge { margin-bottom: 20px; }
.content-block h2 { margin-bottom: 20px; }
.content-block .lead { font-size: 1.1rem; color: var(--gray-700); margin-bottom: 24px; line-height: 1.8; }
.content-block p { color: var(--gray-500); margin-bottom: 20px; line-height: 1.8; }

/* IMAGE BLOCKS */
.img-block { position: relative; }
.img-block img { width: 100%; height: 420px; object-fit: cover; border-radius: 6px; }
.img-block--tall img { height: 520px; }

/* FEATURE LIST */
.feature-list { display: flex; flex-direction: column; gap: 16px; margin: 32px 0; }
.feature-item { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--gray-200); }
.feature-item:last-child { border-bottom: none; }
.feature-icon { width: 36px; height: 36px; min-width: 36px; background: rgba(196,145,60,0.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 0.9rem; margin-top: 2px; }
.feature-item h4 { font-family: var(--font-body); font-size: 0.95rem; color: var(--warm-dark); margin-bottom: 4px; }
.feature-item p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; margin-bottom: 0; }

/* CARD GRIDS */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
    background: var(--white); border-radius: 6px; padding: 36px 28px;
    border: 1px solid var(--gray-200); transition: var(--transition);
    position: relative; overflow: hidden;
}
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--terracotta)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.card:hover::before { transform: scaleX(1); }
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(44,24,16,0.07); border-color: transparent; }
.card-icon { width: 52px; height: 52px; margin-bottom: 20px; background: rgba(196,145,60,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.card h3 { margin-bottom: 12px; font-size: 1.1rem; }
.card p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.7; }

/* DARK SECTION CONTENT */
.section--dark h2 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.6); }
.section--dark .badge { border-color: rgba(232,200,122,0.4); color: var(--gold-glow); }
.section--dark .card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.08); }
.section--dark .card:hover { background: rgba(255,255,255,0.08); border-color: rgba(196,145,60,0.3); box-shadow: none; }
.section--dark .card h3 { color: var(--white); }
.section--dark .card p { color: rgba(255,255,255,0.55); }

/* STATS ROW */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 40px 0; }
.stat-box { text-align: center; padding: 32px 20px; background: var(--white); border-radius: 6px; border: 1px solid var(--gray-200); }
.stat-number { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 0.82rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 1px; }
.section--dark .stat-box { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.08); }
.section--dark .stat-number { color: var(--gold-glow); }
.section--dark .stat-label { color: rgba(255,255,255,0.5); }

/* REGION ITEMS */
.section--sand .region-item { background: var(--white); border: 1px solid var(--gray-200); border-left: 3px solid var(--gold); }
.section--sand .region-name { color: var(--warm-dark); }
.section--sand .region-details { color: var(--gray-500); }

/* CONTACT FORM */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info-card { background: var(--warm-dark); border-radius: 6px; padding: 44px 36px; color: var(--white); }
.contact-info-card h3 { color: var(--white); margin-bottom: 24px; font-size: 1.3rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.contact-info-icon { width: 40px; height: 40px; min-width: 40px; background: rgba(196,145,60,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold-glow); font-size: 1rem; }
.contact-info-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.45); margin-bottom: 4px; }
.contact-info-value { font-size: 0.95rem; color: rgba(255,255,255,0.85); line-height: 1.5; }
.form-card { background: var(--white); border-radius: 6px; padding: 44px 36px; border: 1px solid var(--gray-200); }
.form-card h3 { margin-bottom: 8px; font-size: 1.3rem; }
.form-card > p { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--warm-dark); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 14px 16px; border: 1px solid var(--gray-200); border-radius: 4px;
    font-family: var(--font-body); font-size: 0.9rem; color: var(--gray-700);
    background: var(--sand); transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196,145,60,0.1); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* TIMELINE */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 14px; top: 0; bottom: 0; width: 2px; background: var(--gray-200); }
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-dot { position: absolute; left: -40px; top: 4px; width: 28px; height: 28px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 0.7rem; font-weight: 700; border: 3px solid var(--sand); }
.timeline-item h4 { font-family: var(--font-body); color: var(--warm-dark); margin-bottom: 6px; }
.timeline-item p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.6; }

/* ============================================
   INNER PAGES RESPONSIVE ADDITIONS
   ============================================ */
@media (max-width: 1024px) {
    .card-grid, .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .two-col { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
    .card-grid, .card-grid--2, .card-grid--4 { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .img-block img, .img-block--tall img { height: 280px; }
    .page-hero { padding: 140px 0 70px; }
}

/* ============================================
   WORDPRESS OVERRIDES
   ============================================ */
/* Désactiver le padding admin bar */
body.admin-bar .header { top: 32px; }

/* Force header en mode clair sur toutes les pages intérieures (sans hero sombre) */
.page-template-projet-single .header,
[class*="page-template-page-templates"] .header,
.single-post .header,
.blog .header,
.page-template-projet-single .header.scrolled,
[class*="page-template-page-templates"] .header.scrolled,
.single-post .header.scrolled,
.blog .header.scrolled {
    background: rgba(250, 246, 240, 0.97);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(44, 24, 16, 0.08);
}
.page-template-projet-single .header .logo-text,
[class*="page-template-page-templates"] .header .logo-text,
.single-post .header .logo-text,
.blog .header .logo-text { color: var(--warm-dark); }
.page-template-projet-single .header .logo-text span,
[class*="page-template-page-templates"] .header .logo-text span,
.single-post .header .logo-text span,
.blog .header .logo-text span { color: var(--gold); }
.page-template-projet-single .header nav a,
[class*="page-template-page-templates"] .header nav a,
.single-post .header nav a,
.blog .header nav a { color: var(--gray-500); }
.page-template-projet-single .header nav a:hover,
.page-template-projet-single .header nav a.active,
[class*="page-template-page-templates"] .header nav a:hover,
[class*="page-template-page-templates"] .header nav a.active,
[class*="page-template-page-templates"] .header nav li.current-menu-item a,
[class*="page-template-page-templates"] .header nav li.current_page_item a,
[class*="page-template-page-templates"] .header nav li.current-menu-ancestor a,
.single-post .header nav a:hover,
.single-post .header nav li.current-menu-item a,
.blog .header nav a:hover,
.blog .header nav li.current-menu-item a { color: var(--warm-dark); }
.page-template-projet-single .header .lang-switch,
[class*="page-template-page-templates"] .header .lang-switch,
.single-post .header .lang-switch,
.blog .header .lang-switch { border-color: var(--gray-300); color: var(--gray-500); }
.page-template-projet-single .header .hamburger span,
[class*="page-template-page-templates"] .header .hamburger span,
.single-post .header .hamburger span,
.blog .header .hamburger span { background: var(--warm-dark); }
@media (max-width: 782px) {
    body.admin-bar .header { top: 46px; }
}

/* Nettoyer les styles WP par défaut */
.wp-block-image img { border-radius: 6px; }
.entry-content { max-width: none; }

/* WYSIWYG content styling — ensure inline styles from editor are respected,
   while providing sensible defaults when no styling is applied */
.hero-subtitle p, .page-hero-subtitle p { margin: 0; color: inherit; }
.about-lead p, .about-text p { margin: 0 0 0.5em; color: inherit; }
.about-lead p:last-child, .about-text p:last-child { margin-bottom: 0; }
.service-card p p, .why-card p p, .expertise-item p p { margin: 0; color: inherit; }
.presence-content p p { margin: 0; color: inherit; }
.cta p p { margin: 0; color: inherit; }

/* Wysiwyg content wrapper — inherits parent styling */
.wysiwyg-content { color: inherit; font-size: inherit; line-height: inherit; }
.wysiwyg-content p { margin: 0; }
.service-card .wysiwyg-content { font-size: 0.9rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 20px; }
.why-card .wysiwyg-content { font-size: 0.9rem; color: var(--gray-500); line-height: 1.7; }
.expertise-item .wysiwyg-content { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; }
.cta .wysiwyg-content { color: rgba(255,255,255,0.6); font-size: 1.1rem; margin-bottom: 36px; line-height: 1.8; }
div.about-lead { font-size: 1.1rem; color: var(--gray-700); margin-bottom: 24px; line-height: 1.8; }
div.about-text { color: var(--gray-500); margin-bottom: 32px; line-height: 1.8; }

/* ============================================
   SERVICES GRID — 6 cards (3x2)
   ============================================ */
.services-grid--6 {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) {
    .services-grid--6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .services-grid--6 { grid-template-columns: 1fr; }
}

/* ============================================
   METHODOLOGY SECTION (4 steps)
   ============================================ */
.methodology {
    padding: var(--section-padding);
    background: var(--sand-dark);
}
.method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 60px;
}
.method-step {
    background: var(--white);
    border-radius: 6px;
    padding: 36px 28px;
    position: relative;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.method-step:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(44, 24, 16, 0.06);
}
.method-step-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 16px;
}
.method-step h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}
.method-step .wysiwyg-content {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.7;
}
@media (max-width: 1024px) {
    .method-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .method-grid { grid-template-columns: 1fr; }
}

/* ============================================
   ACCORDION SERVICES (Option B)
   ============================================ */
.accordion-service {
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--white);
}
.accordion-service:hover {
    border-color: var(--gold-soft);
}
.accordion-service.open {
    border-color: var(--gold);
    box-shadow: 0 8px 30px rgba(44, 24, 16, 0.06);
}
.accordion-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 32px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.accordion-header:hover {
    background: var(--sand);
}
.accordion-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-200);
    min-width: 50px;
}
.accordion-service.open .accordion-num {
    color: var(--gold);
}
.accordion-icon {
    font-size: 1.5rem;
    min-width: 40px;
}
.accordion-title {
    flex: 1;
}
.accordion-title h2 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}
.accordion-title p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.5;
    margin: 0;
}
.accordion-toggle {
    color: var(--gray-300);
    transition: transform 0.3s ease;
}
.accordion-service.open .accordion-toggle {
    transform: rotate(180deg);
    color: var(--gold);
}
.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.accordion-service.open .accordion-body {
    max-height: 800px;
}
.accordion-body-inner {
    padding: 0 32px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.accordion-features h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    margin-bottom: 16px;
}
.accordion-features ul {
    list-style: none;
    padding: 0;
}
.accordion-features li {
    position: relative;
    padding: 8px 0 8px 20px;
    font-size: 0.9rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}
.accordion-features li:last-child {
    border-bottom: none;
}
.accordion-features li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 0.7rem;
    top: 10px;
}
.accordion-ref {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    background: var(--sand);
    border-radius: 4px;
    border-left: 3px solid var(--gold);
    align-self: start;
}
.accordion-ref strong {
    font-size: 1rem;
    color: var(--warm-dark);
}

/* Project ref section on service detail pages */
.project-ref-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    border-left: 3px solid var(--gold);
}

@media (max-width: 768px) {
    .accordion-header { padding: 20px; gap: 12px; }
    .accordion-num { font-size: 1.3rem; min-width: 35px; }
    .accordion-title h2 { font-size: 1.05rem; }
    .accordion-body-inner { grid-template-columns: 1fr; padding: 0 20px 20px; }
    .project-ref-inner { flex-direction: column; gap: 20px; padding: 24px; }
}

/* ============================================
   PROJECT CARDS (page Projets)
   ============================================ */
.project-card-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 32px;
    background: var(--sand);
    border-radius: 6px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}
.project-card-inner:hover {
    border-color: var(--gold-soft);
    box-shadow: 0 8px 30px rgba(44, 24, 16, 0.06);
}
.project-card--reverse {
    direction: rtl;
}
.project-card--reverse > * {
    direction: ltr;
}
.project-card-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 4px;
}
.project-card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0;
}
@media (max-width: 768px) {
    .project-card-inner { grid-template-columns: 1fr; }
    .project-card--reverse { direction: ltr; }
    .project-card-image img { height: 200px; }
}

/* ============================================
   PROJECT CARDS (page Projets)
   ============================================ */
.project-card {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 32px;
    margin-bottom: 24px;
    background: var(--sand);
    border-radius: 6px;
    border-left: 4px solid var(--gold);
    transition: var(--transition);
}
.project-card:hover {
    box-shadow: 0 8px 30px rgba(44, 24, 16, 0.06);
    transform: translateX(4px);
}
.project-card-icon { font-size: 2rem; min-width: 48px; }
.project-card-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 8px;
}
.project-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.project-card .wysiwyg-content { font-size: 0.9rem; color: var(--gray-500); line-height: 1.7; }

/* ============================================
   REFERENCE PROJECT CARD (pages services)
   ============================================ */
.ref-project-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 32px 40px;
    background: var(--white);
    border-radius: 6px;
    border-left: 4px solid var(--gold);
}
.ref-project-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 8px;
}
.ref-project-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.ref-project-card .wysiwyg-content { font-size: 0.9rem; color: var(--gray-500); line-height: 1.7; }

/* ============================================
   SERVICES FULL / ACCORDION (Option B)
   ============================================ */
.svc-full-card {
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}
.svc-full-card:hover { border-color: var(--gold-soft); }
.svc-full-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 32px;
    cursor: pointer;
    transition: var(--transition);
}
.svc-full-header:hover { background: var(--sand); }
.svc-full-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-200);
    min-width: 40px;
}
.svc-full-icon { font-size: 1.5rem; min-width: 36px; }
.svc-full-title { flex: 1; }
.svc-full-title h3 { font-size: 1.1rem; margin-bottom: 4px; }
.svc-full-title p { font-size: 0.88rem; color: var(--gray-500); margin: 0; line-height: 1.5; }
.svc-full-toggle {
    color: var(--gray-300);
    transition: transform 0.3s ease;
}
.svc-full-card.open .svc-full-toggle { transform: rotate(180deg); }
.svc-full-card.open .svc-full-num { color: var(--gold); }

.svc-full-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 32px;
}
.svc-full-card.open .svc-full-body {
    max-height: 600px;
    padding: 0 32px 32px;
}

.svc-full-features { margin-bottom: 20px; }
.svc-full-features h4 {
    font-family: var(--font-body);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    margin-bottom: 16px;
}
.svc-full-feat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}
.svc-full-feat:last-child { border-bottom: none; }
.svc-full-feat-icon { color: var(--gold); font-size: 0.7rem; }

.svc-full-ref {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 20px;
    background: var(--sand);
    border-radius: 4px;
    font-size: 0.88rem;
}
.svc-full-ref-label {
    font-weight: 600;
    color: var(--warm-dark);
}

@media (max-width: 768px) {
    .project-card { flex-direction: column; }
    .svc-full-header { flex-wrap: wrap; gap: 12px; padding: 16px 20px; }
    .svc-full-card.open .svc-full-body { padding: 0 20px 20px; }
    .svc-full-num { display: none; }
}

/* ============================================
   PROJECT SINGLE PAGE
   ============================================ */
.project-nav {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 0;
    margin-top: 80px;
    position: sticky;
    top: 56px;
    z-index: 100;
}
body.admin-bar .project-nav { top: 88px; margin-top: 80px; }
.project-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-500);
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.breadcrumb .current {
    color: var(--warm-dark);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.breadcrumb a { color: var(--gray-500); transition: var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--gray-300); }
.project-arrows {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.project-arrow {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gray-500);
    transition: var(--transition);
}
.project-arrow:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(196,145,60,0.04);
}
.project-arrow svg { width: 16px; height: 16px; }

.project-hero {
    padding: 80px 0 60px;
    background: var(--sand);
}
.project-hero .container { max-width: 900px; }
.project-hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.project-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(196,145,60,0.1);
    border-radius: 3px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.project-hero-date { font-size: 0.82rem; color: var(--gray-500); }
.project-hero h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 20px;
    line-height: 1.25;
}
.project-hero-summary {
    font-size: 1.1rem;
    color: var(--gray-700);
    line-height: 1.8;
    max-width: 750px;
}

.project-image-section {
    padding: 0 0 60px;
    background: var(--sand);
}
.project-image-section .container { max-width: 900px; }
.project-main-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
}

.project-details {
    padding: 80px 0;
    background: var(--white);
}
.project-details .container {
    max-width: 900px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
}
.project-body h2 { font-size: 1.5rem; margin-bottom: 20px; }
.project-body p, .project-body .wysiwyg-content {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.8;
}
.project-body .wysiwyg-content p { margin-bottom: 16px; }

.project-sidebar { position: sticky; top: 80px; align-self: start; }
.project-info-card {
    background: var(--sand);
    border-radius: 8px;
    padding: 32px;
    border-left: 4px solid var(--gold);
}
.project-info-card h4 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    margin-bottom: 20px;
}
.project-info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}
.project-info-row:last-child { border-bottom: none; }
.project-info-label { font-size: 0.82rem; color: var(--gray-500); font-weight: 500; }
.project-info-value { font-size: 0.88rem; color: var(--warm-dark); font-weight: 600; text-align: right; }
.project-services-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}
.project-service-tag {
    padding: 6px 14px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 3px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
}
.project-service-tag:hover { border-color: var(--gold); color: var(--gold); }

.project-gallery {
    padding: 80px 0;
    background: var(--sand);
}
.project-gallery .container { max-width: 900px; }
.project-gallery h2 { margin-bottom: 30px; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.gallery-item {
    height: 220px;
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition);
}
.gallery-item:hover { transform: scale(1.03); box-shadow: 0 8px 24px rgba(44,24,16,0.08); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

.related-projects {
    padding: 80px 0;
    background: var(--cream);
}
.related-projects .container { max-width: 900px; }
.related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.related-card {
    background: var(--white);
    border-radius: 6px;
    padding: 28px;
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--gold);
    transition: var(--transition);
    display: block;
}
.related-card:hover {
    border-color: transparent;
    border-left-color: var(--gold);
    box-shadow: 0 12px 30px rgba(44,24,16,0.06);
    transform: translateY(-4px);
}
.related-card-tag {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 8px;
}
.related-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.related-card p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; margin-bottom: 12px; }

@media (max-width: 768px) {
    .project-details .container { grid-template-columns: 1fr; gap: 40px; }
    .project-sidebar { position: static; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: 1fr; }
    .project-arrows { display: none; }
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.6;
}
.contact-info-icon {
    font-size: 1.1rem;
    min-width: 24px;
    padding-top: 2px;
    color: var(--gold);
}
.contact-form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(44,24,16,0.06);
}
@media (max-width: 768px) {
    .contact-section .container { grid-template-columns: 1fr !important; gap: 40px !important; }
    .contact-form-card { padding: 28px 24px; }
    .contact-info-item { font-size: 0.9rem; }
    .cf7-row { grid-template-columns: 1fr; }
}

/* ============================================
   PRESENCE AFRIQUE — responsive
   ============================================ */
@media (max-width: 768px) {
    .presence .container { grid-template-columns: 1fr !important; }
}

/* ============================================
   DROPDOWN MENU (sous-menus WordPress)
   ============================================ */
nav li ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: rgba(250, 246, 240, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 6px;
    box-shadow: 0 12px 40px rgba(44, 24, 16, 0.12);
    padding: 20px 0 12px;
    z-index: 1001;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--gray-200);
    margin-top: 0;
}
/* Pont invisible entre le parent et le sous-menu */
nav li ul.sub-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
}
nav li:hover > ul.sub-menu {
    display: flex;
}
nav li ul.sub-menu li {
    width: 100%;
}
nav li ul.sub-menu a {
    display: block;
    padding: 10px 24px;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--gray-500) !important;
    white-space: nowrap;
    transition: all 0.2s ease;
    border-radius: 0;
}
nav li ul.sub-menu a:hover {
    color: var(--gold) !important;
    background: rgba(196, 145, 60, 0.06);
    padding-left: 28px;
}
nav li ul.sub-menu li.current-menu-item a,
nav li ul.sub-menu li.current_page_item a {
    color: var(--gold) !important;
    font-weight: 600;
}
/* Pas de flèche dropdown - on garde le soulignement doré */
nav li.menu-item-has-children > a::after {
    display: none !important;
}
/* Soulignement doré pour le parent actif (quand on est dans un sous-élément) */
nav li.current-menu-ancestor > a::after,
nav li.current-menu-parent > a::after {
    content: '' !important;
    display: block !important;
    position: absolute;
    bottom: 2px; left: 18px; right: 18px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

/* Mobile dropdown */
@media (max-width: 768px) {
    nav li ul.sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: rgba(44, 24, 16, 0.3);
        margin-top: 0;
        padding: 4px 0;
        border-radius: 0;
        display: none;
        min-width: 100%;
    }
    nav li:hover > ul.sub-menu,
    nav li.open > ul.sub-menu {
        display: flex;
    }
    nav li ul.sub-menu a {
        color: rgba(255,255,255,0.7) !important;
        padding: 10px 32px;
        font-size: 0.85rem;
    }
    nav li ul.sub-menu a:hover {
        color: var(--gold-glow) !important;
        background: transparent;
        padding-left: 36px;
    }
}

/* ============================================
   CONTACT FORM 7 — Style XPRO
   ============================================ */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--warm-dark);
    background: var(--white);
    transition: var(--transition);
    margin-bottom: 4px;
}
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(196, 145, 60, 0.1);
}
.wpcf7 textarea {
    min-height: 140px;
    resize: vertical;
}
.wpcf7 label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--warm-dark);
    margin-bottom: 6px;
    margin-top: 16px;
}
.wpcf7 input[type="submit"] {
    background: var(--gold);
    color: var(--white);
    padding: 16px 36px;
    border: none;
    border-radius: 3px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 20px;
    width: 100%;
}
.wpcf7 input[type="submit"]:hover {
    background: var(--gold-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 145, 60, 0.35);
}
/* Lignes 2 colonnes */
.cf7-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 600px) {
    .cf7-row { grid-template-columns: 1fr; }
}
/* Messages de validation */
.wpcf7-response-output {
    border-radius: 4px !important;
    font-size: 0.88rem;
    padding: 14px 20px !important;
    margin-top: 16px !important;
}
.wpcf7-mail-sent-ok {
    border-color: #4caf50 !important;
    background: rgba(76, 175, 80, 0.08);
    color: #2e7d32;
}
.wpcf7-not-valid-tip {
    color: #c0392b;
    font-size: 0.78rem;
    margin-top: 4px;
}
.wpcf7 .wpcf7-spinner {
    margin: 16px auto 0;
}

/* ============================================
   BLOG ARCHIVE — Cards
   ============================================ */
.blog-card {
    margin-bottom: 32px;
}
.blog-card-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all 0.35s ease;
    text-decoration: none;
    color: inherit;
}
.blog-card-inner:hover {
    border-color: var(--gold-soft);
    box-shadow: 0 12px 30px rgba(44, 24, 16, 0.06);
    transform: translateY(-4px);
}
.blog-card-image {
    height: 100%;
    min-height: 200px;
    overflow: hidden;
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.blog-card-inner:hover .blog-card-image img {
    transform: scale(1.05);
}
.blog-card-content {
    padding: 28px 28px 28px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.blog-card-date {
    font-size: 0.8rem;
    color: var(--gray-500);
}
.blog-card-cat {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    font-weight: 600;
    padding: 3px 10px;
    background: rgba(196, 145, 60, 0.08);
    border-radius: 3px;
}
.blog-card-content h2 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    line-height: 1.35;
}
.blog-card-content p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 12px;
}
@media (max-width: 768px) {
    .blog-card-inner { grid-template-columns: 1fr; }
    .blog-card-image { min-height: 200px; }
    .blog-card-image img { height: 200px; }
    .blog-card-content { padding: 24px; }
    .blog-card-content h2 { font-size: 1.15rem; }
    .blog-card-content p { font-size: 0.88rem; }
    .blog-card-meta { margin-bottom: 10px; }
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}
.blog-pagination a,
.blog-pagination span {
    padding: 10px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-500);
    transition: all 0.3s ease;
    text-decoration: none;
}
.blog-pagination a:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.blog-pagination .current {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

/* ============================================
   SINGLE POST — Option B (titre centré + bandeau)
   ============================================ */
.post-header-b {
    padding: 120px 0 40px;
    background: var(--sand);
    text-align: center;
}
.post-header-b h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    line-height: 1.25;
    max-width: 700px;
    margin: 0 auto;
}
.post-header-b .post-hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    justify-content: center;
}
.post-image-bandeau {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}
.post-image-bandeau img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 12px;
}
.post-content {
    padding: 60px 0 40px;
    background: var(--white);
}
.post-body {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--gray-700);
}
.post-body p { margin-bottom: 20px; }
.post-body h2 { font-size: 1.4rem; margin: 40px 0 16px; }
.post-body h3 { font-size: 1.15rem; margin: 32px 0 12px; }
.post-body img { border-radius: 8px; margin: 24px 0; }
.post-body blockquote {
    border-left: 3px solid var(--gold);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--sand);
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: var(--warm-mid);
}
.post-body ul, .post-body ol { margin: 16px 0; padding-left: 24px; }
.post-body li { margin-bottom: 8px; }
.post-body hr { border: none; border-top: 1px solid var(--gray-200); margin: 40px 0; }
.post-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.9rem; }
.post-body table th, .post-body table td { padding: 14px 18px; border: 1px solid var(--gray-200); text-align: left; }
.post-body table th { background: var(--sand); font-weight: 600; color: var(--warm-dark); font-size: 0.85rem; }
.post-body table td { color: var(--gray-700); }
.post-body table tr:hover td { background: rgba(196,145,60,0.03); }
.post-body strong { color: var(--warm-dark); }
.post-body a { color: var(--gold); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; transition: color 0.3s ease; }
.post-body a:hover { color: var(--gold-deep); }
.post-body em { color: var(--warm-mid); }

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

/* Nav articles prev/next */
.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.post-nav-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: 6px;
    border: 1px solid var(--gray-200);
    text-decoration: none;
    transition: all 0.3s ease;
}
.post-nav-link:hover { border-color: var(--gold); transform: translateY(-2px); }
.post-nav-label { font-size: 0.78rem; color: var(--gray-500); font-weight: 500; }
.post-nav-title { font-size: 0.9rem; color: var(--warm-dark); font-weight: 600; }
.post-nav-next { text-align: right; }

/* Related articles mini cards */
.related-mini {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all 0.35s ease;
    display: block;
    text-decoration: none;
    color: inherit;
}
.related-mini:hover {
    border-color: var(--gold-soft);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(44,24,16,0.06);
}
.related-mini-img img { width: 100%; height: 160px; object-fit: cover; }
.related-mini-content { padding: 20px; }
.related-mini-meta { font-size: 0.75rem; color: var(--gray-500); margin-bottom: 8px; }
.related-mini-content h3 { font-size: 1rem; margin-bottom: 10px; line-height: 1.35; }

@media (max-width: 768px) {
    .post-image-bandeau img { height: 250px; border-radius: 10px; }
    .post-image-bandeau { padding: 0 16px; }
    .post-header-b { padding: 100px 0 32px; }
    .post-header-b h1 { font-size: 1.6rem; }
    .post-header-b .post-hero-meta { gap: 10px; flex-wrap: wrap; }
    .post-nav { grid-template-columns: 1fr; }
    .post-nav-link { padding: 14px 16px; }
    .related-grid { grid-template-columns: 1fr; }
    .related-mini-img img { height: 180px; }
    .post-body { font-size: 0.95rem; }
    .post-body h2 { font-size: 1.25rem; margin: 32px 0 14px; }
    .post-body blockquote { padding: 14px 20px; margin: 20px 0; }
    .post-body table { font-size: 0.82rem; }
    .post-body table th, .post-body table td { padding: 10px 12px; }
}

/* ============================================
   TRÈS PETITS ÉCRANS (iPhone SE, etc.)
   ============================================ */
@media (max-width: 380px) {
    .hero h1 { font-size: 1.65rem; }
    .hero-stat-number { font-size: 1.3rem; }
    .hero-stat-label { font-size: 0.58rem; }
    .hero-buttons .btn { padding: 12px 20px; font-size: 0.8rem; }
    .m-badge, .badge { font-size: 0.6rem; padding: 4px 10px; }
    .service-card { padding: 24px 20px; }
    .why-card { padding: 28px 20px; }
    .container { padding: 0 16px; }
    h2 { font-size: 1.35rem; }
    .page-hero { padding: 120px 0 50px; }
    .page-hero h1 { font-size: 1.45rem; }
    .post-header-b h1 { font-size: 1.4rem; }
    .post-image-bandeau img { height: 200px; }
    .blog-card-content h2 { font-size: 1.05rem; }
    .stat-item { flex: 1 1 100%; }
    .footer-grid { gap: 28px; }
}
