/*
Theme Name: BAD-CER-IFD Platform
Theme URI: https://bad-cer-ifd-africa.org
Author: Banque Africaine de Développement
Author URI: https://www.afdb.org
Description: Thème officiel de la Plateforme de Coopération Technique BAD-CER-IFD. Interface immersive pour la coordination entre la Banque Africaine de Développement, les Communautés Économiques Régionales et les Institutions Financières de Développement.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bad-cer-ifd
Tags: full-width-template, custom-logo, custom-menu, featured-images, translation-ready

Plateforme de Coopération Technique BAD-CER-IFD
L'Afrique Connectée - 8 CER, 54 Pays, 1 Vision
*/

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    /* Primary Colors - AfDB Brand */
    --ip-gold: #D4AF37;
    --ip-gold-light: #F4D03F;
    --ip-gold-dark: #B8960C;
    
    /* Blue Palette */
    --ip-blue-dark: #0a1628;
    --ip-blue: #1a365d;
    --ip-blue-light: #2c5282;
    --ip-blue-lighter: #4299e1;
    
    /* Neutrals */
    --ip-white: #ffffff;
    --ip-gray-50: #f9fafb;
    --ip-gray-100: #f3f4f6;
    --ip-gray-200: #e5e7eb;
    --ip-gray-300: #d1d5db;
    --ip-gray-500: #6b7280;
    --ip-gray-700: #374151;
    --ip-gray-900: #111827;
    
    /* Status Colors */
    --ip-success: #10b981;
    --ip-warning: #f59e0b;
    --ip-danger: #ef4444;
    --ip-info: #3b82f6;
    
    /* REC Colors */
    --rec-ecowas: #1a5f2a;
    --rec-comesa: #1e40af;
    --rec-eac: #0369a1;
    --rec-sadc: #7c2d12;
    --rec-eccas: #581c87;
    --rec-igad: #0f766e;
    --rec-uma: #b45309;
    --rec-censad: #be123c;
    
    /* Typography */
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Outfit', sans-serif;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-gold: 0 10px 40px rgba(212, 175, 55, 0.4);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ========================================
   RESET & BASE
   ======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ip-gray-900);
    background: var(--ip-white);
    overflow-x: hidden;
}

body.dark-theme {
    background: var(--ip-blue-dark);
    color: var(--ip-white);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--space-md);
}

.text-gold {
    background: linear-gradient(135deg, var(--ip-gold) 0%, var(--ip-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-shimmer {
    background: linear-gradient(135deg, var(--ip-gold) 0%, var(--ip-gold-light) 50%, var(--ip-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

/* ========================================
   LAYOUT
   ======================================== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-4xl) 0;
}

.section-dark {
    background: var(--ip-blue-dark);
    color: var(--ip-white);
}

.section-blue {
    background: var(--ip-blue);
    color: var(--ip-white);
}

.section-gradient {
    background: linear-gradient(180deg, var(--ip-blue-dark) 0%, var(--ip-blue) 100%);
    color: var(--ip-white);
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-lg);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* Flexbox Utilities */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.btn-lg {
    padding: 20px 40px;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--ip-gold) 0%, var(--ip-gold-light) 100%);
    color: var(--ip-blue-dark);
    box-shadow: var(--shadow-gold);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background: var(--ip-blue);
    color: var(--ip-white);
}

.btn-secondary:hover {
    background: var(--ip-blue-light);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--ip-white);
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--ip-white);
    transform: translateY(-5px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--ip-blue);
    border: 2px solid var(--ip-blue);
}

.btn-outline-dark:hover {
    background: var(--ip-blue);
    color: var(--ip-white);
}

.btn svg,
.btn i {
    transition: transform var(--transition-base);
}

.btn:hover svg,
.btn:hover i {
    transform: translateX(5px);
}

/* ========================================
   CARDS
   ======================================== */
.card {
    background: var(--ip-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition-base);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-dark {
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
    border: 1px solid rgba(255,255,255,0.1);
}

.card-dark:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.card-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--ip-gray-200);
}

.card-body {
    padding: var(--space-lg);
}

.card-footer {
    padding: var(--space-lg);
    background: var(--ip-gray-50);
    border-top: 1px solid var(--ip-gray-200);
}

/* ========================================
   BADGES & TAGS
   ======================================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-gold {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: var(--ip-gold);
}

.badge-primary {
    background: var(--ip-blue);
    color: var(--ip-white);
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--ip-success);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--ip-warning);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--ip-danger);
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.status-preparation { background: #dbeafe; color: #1e40af; }
.status-appraisal { background: #fef3c7; color: #92400e; }
.status-approved { background: #d1fae5; color: #065f46; }
.status-implementation { background: #e0e7ff; color: #3730a3; }

/* REC Badges */
.rec-badge {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 800;
    color: var(--ip-white);
}

.rec-badge.ecowas { background: var(--rec-ecowas); }
.rec-badge.comesa { background: var(--rec-comesa); }
.rec-badge.eac { background: var(--rec-eac); }
.rec-badge.sadc { background: var(--rec-sadc); }
.rec-badge.eccas { background: var(--rec-eccas); }
.rec-badge.igad { background: var(--rec-igad); }
.rec-badge.uma { background: var(--rec-uma); }
.rec-badge.censad { background: var(--rec-censad); }

/* ========================================
   FORMS
   ======================================== */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ip-gray-700);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--ip-gray-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition-base);
    background: var(--ip-white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--ip-blue);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.form-input-dark {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: var(--ip-white);
}

.form-input-dark::placeholder {
    color: rgba(255,255,255,0.5);
}

/* Search Box */
.search-box {
    position: relative;
}

.search-box input {
    padding-left: 48px;
}

.search-box::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

/* ========================================
   TABLES
   ======================================== */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--ip-gray-200);
}

.table th {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ip-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--ip-gray-50);
}

.table tr:hover {
    background: var(--ip-gray-50);
}

/* ========================================
   NAVIGATION
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-base);
}

.site-header.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-xl);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--ip-gold) 0%, var(--ip-gold-light) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
    color: var(--ip-blue-dark);
}

.logo-text {
    color: var(--ip-white);
}

.logo-text h1 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-link {
    padding: var(--space-sm) var(--space-md);
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--ip-white);
    background: rgba(255,255,255,0.1);
}

.nav-link.active {
    color: var(--ip-gold);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--ip-white);
    transition: var(--transition-base);
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--ip-blue-dark);
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-4xl) var(--space-lg);
        transition: var(--transition-base);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-link {
        padding: var(--space-md);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--ip-blue-dark);
    color: var(--ip-white);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand {
    max-width: 400px;
}

.footer-brand p {
    opacity: 0.8;
    font-size: 0.875rem;
    line-height: 1.8;
}

.footer-section h4 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-lg);
    color: var(--ip-gold);
}

.footer-links a {
    display: block;
    padding: var(--space-xs) 0;
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--ip-gold);
    padding-left: var(--space-sm);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    font-size: 0.875rem;
    opacity: 0.7;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

.animate-fadeIn { animation: fadeIn 0.5s ease-out; }
.animate-fadeInUp { animation: fadeInUp 0.6s ease-out; }
.animate-fadeInDown { animation: fadeInDown 0.6s ease-out; }
.animate-pulse { animation: pulse 2s infinite; }
.animate-float { animation: float 3s ease-in-out infinite; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   UTILITIES
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.py-sm { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.py-md { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-lg { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.py-xl { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }

.px-sm { padding-left: var(--space-sm); padding-right: var(--space-sm); }
.px-md { padding-left: var(--space-md); padding-right: var(--space-md); }
.px-lg { padding-left: var(--space-lg); padding-right: var(--space-lg); }
.px-xl { padding-left: var(--space-xl); padding-right: var(--space-xl); }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

.opacity-50 { opacity: 0.5; }
.opacity-70 { opacity: 0.7; }
.opacity-80 { opacity: 0.8; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

/* ========================================
   WORDPRESS SPECIFIC
   ======================================== */
.wp-block-image img {
    border-radius: var(--radius-lg);
}

.wp-block-quote {
    border-left: 4px solid var(--ip-gold);
    padding-left: var(--space-lg);
    font-style: italic;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin-right: var(--space-lg);
}

.alignright {
    float: right;
    margin-left: var(--space-lg);
}

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--ip-white);
    clip: auto !important;
    clip-path: none;
    color: var(--ip-blue);
    display: block;
    font-size: 1rem;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ========================================
   ELEMENTOR FULL WIDTH - HIDE TITLE
   ======================================== */

/* Masquer le titre sur TOUTES les pages Elementor */
.elementor-page h1.entry-title,
.elementor-page .entry-title,
.elementor-page .page-title,
.elementor-page header.entry-header,
.elementor-page .entry-header,
body.elementor-page article > header,
body.elementor-page .hentry > header {
    display: none !important;
}

/* Masquer le titre sur la page d'accueil spécifiquement */
.home h1.entry-title,
.home .entry-title,
.home .page-title,
.home header.entry-header,
.page-template-default.home .entry-title,
body.home article > header {
    display: none !important;
}

/* Supprimer toutes les marges sur les pages Elementor */
.elementor-page .site-content,
.elementor-page .entry-content,
.elementor-page main,
.elementor-page article,
.elementor-page .site-main,
body.elementor-page .site-content {
    padding: 0 !important;
    margin: 0 !important;
}

/* Forcer Elementor en pleine largeur */
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 100% !important;
}

.elementor-section.elementor-section-stretched {
    width: 100% !important;
    left: 0 !important;
}

/* Page d'accueil sans marges */
.home .site-content,
.home .entry-content,
.home main,
.home article {
    padding: 0 !important;
    margin: 0 !important;
}

/* Supprimer l'espace sous le header */
.elementor-page .site-header + .site-content,
.home .site-header + .site-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Template Elementor Canvas - aucune marge */
.elementor-template-canvas .site-content,
.elementor-template-full_width .site-content {
    padding: 0 !important;
    margin: 0 !important;
}

/* Masquer aussi le breadcrumb si présent */
.elementor-page .breadcrumb,
.elementor-page .breadcrumbs,
.home .breadcrumb,
.home .breadcrumbs {
    display: none !important;
}
