/*
Theme Name: Douala Expo 2027
Theme URI: https://doulaexpo.com
Author: Douala Expo
Description: Thème événementiel officiel avec contenu de démonstration, pages, pôles et formulaires.
Version: 3.0.0
Requires at least: 6.2
Requires PHP: 8.0
Text Domain: douala-expo
*/
:root{--navy:#071b43;--gold:#d6a337;--green:#12623c;--light:#f5f8fc}*{box-sizing:border-box}body{margin:0;color:#1c2a40;font:16px/1.7 system-ui,-apple-system,Segoe UI,sans-serif;background:#fff}a{color:var(--navy)}.container{width:min(1160px,92%);margin:auto}.site-header{background:var(--navy);color:white;position:sticky;top:0;z-index:50;box-shadow:0 2px 15px #0002}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:78px}.brand{font-size:1.3rem;font-weight:900;letter-spacing:.03em;color:white;text-decoration:none}.brand span{color:var(--gold)}.site-header nav ul{display:flex;flex-wrap:wrap;gap:16px;list-style:none;margin:0;padding:0}.site-header nav a{color:white;text-decoration:none;font-size:.9rem}.site-header nav a:hover{color:var(--gold)}.btn,.wp-block-button__link{display:inline-block;padding:12px 21px;border-radius:7px;background:var(--gold);color:var(--navy);text-decoration:none;font-weight:800;border:0;cursor:pointer}.btn.secondary{background:white;color:var(--navy)}.hero{background:linear-gradient(105deg,#071b43f2,#071b43b8),url('assets/images/affiche-officielle.jpg') center 35%/cover;color:white;padding:110px 0}.eyebrow{color:var(--gold);font-weight:800;text-transform:uppercase;letter-spacing:.13em}.hero h1{font-size:clamp(2.8rem,7vw,5.6rem);line-height:1.07;margin:10px 0}.hero p{max-width:780px;font-size:1.2rem}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:-36px;position:relative}.stat{padding:22px;background:white;box-shadow:0 10px 35px #071b4318;border-radius:12px;text-align:center}.stat strong{display:block;font-size:1.8rem;color:var(--navy)}.section{padding:76px 0}.section.alt{background:var(--light)}h2{font-size:clamp(1.9rem,4vw,2.6rem);color:var(--navy);line-height:1.2}h3{color:var(--navy)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{padding:28px;border-radius:13px;background:white;box-shadow:0 5px 25px #071b4312;border-top:4px solid var(--gold)}.card .symbol{font-size:2rem}.two-col{display:grid;grid-template-columns:1.2fr .8fr;gap:45px;align-items:center}.feature-img{width:100%;border-radius:16px;max-height:520px;object-fit:contain;background:#f8f8f8}.site-footer{background:var(--navy);color:#e7edf7;padding:55px 0 25px}.site-footer a{color:#fff}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:25px}.page-head{background:var(--navy);color:white;padding:65px 0}.page-head h1{color:white;font-size:2.8rem;margin:0}.entry-content{max-width:950px;margin:50px auto 80px}.entry-content h2{margin-top:35px}.entry-content li{margin:8px 0}.entry-content img{max-width:100%;height:auto}.contact-form label{display:block;margin:14px 0 5px;font-weight:700}.contact-form input,.contact-form textarea,.contact-form select{width:100%;padding:13px;border:1px solid #c8d2df;border-radius:6px;font:inherit}.notice{padding:15px;background:#e6f6ea;border-left:4px solid #238c47}.error{background:#fff0f0;border-left-color:#b22}.muted{color:#536477}.tag{background:#f0e4c4;padding:6px 12px;border-radius:30px;display:inline-block;color:var(--navy);font-weight:700}.menu-toggle{display:none}@media(max-width:850px){.header-inner{flex-wrap:wrap;padding:12px 0}.menu-toggle{display:block;background:var(--gold);border:0;padding:9px;border-radius:5px}.site-header nav{display:none;width:100%}.site-header nav.open{display:block}.site-header nav ul{display:block}.site-header nav li{padding:7px 0}.stats,.cards{grid-template-columns:repeat(2,1fr)}.two-col,.footer-grid{grid-template-columns:1fr}.hero{padding:70px 0}}@media(max-width:520px){.stats,.cards{grid-template-columns:1fr}.hero h1{font-size:2.8rem}}

/* Version 1.1 : logo, visuels des pôles et présentation enrichie */
.brand{display:flex;align-items:center;gap:11px;min-width:185px}.brand-logo{width:66px;height:66px;object-fit:contain;flex-shrink:0}.brand-wordmark{font-size:1.05rem;line-height:1.15}.brand-wordmark em{font-style:normal;color:var(--gold)}.hero{background:linear-gradient(100deg,#071b43f5 0%,#071b43d5 48%,#071b4388 100%),url('assets/images/affiche-officielle.jpg') center 43%/cover}.pole-img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:10px;margin-bottom:14px}.card.pole-card{padding:14px 14px 24px;overflow:hidden}.card.pole-card h3,.card.pole-card p{margin-left:10px;margin-right:10px}.poster-frame{padding:16px;background:#f4f6f9;border-radius:20px;text-align:center}.poster-frame img{max-height:750px;width:100%;object-fit:contain}.section-lead{max-width:780px;font-size:1.08rem;color:#536477}.program-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.program-item{background:#fff;border:1px solid #e2e7ed;border-radius:12px;padding:23px}.program-item strong{color:var(--navy);display:block;margin-bottom:8px}.cta-band{background:var(--navy);color:white;padding:65px 0;text-align:center}.cta-band h2{color:white}.page-poles{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin:25px 0}.page-poles article{border:1px solid #e6eaf0;padding:14px;border-radius:14px}.page-poles img{width:100%;border-radius:10px}.page-poles h3,.page-poles p{padding:0 8px}.site-header nav a{font-size:.84rem}@media(max-width:850px){.program-grid,.page-poles{grid-template-columns:1fr}.brand-logo{width:58px;height:58px}}

/* v2: richer editorial and photography */
.hero{background:linear-gradient(90deg,#071b43f5 0%,#071b43ce 55%,#071b4366 100%),url('assets/images/douala-skyline.jpg') center center/cover}
.page-poles article{overflow:hidden;box-shadow:0 8px 26px #071b4310;background:#fff}.page-poles img{height:230px;object-fit:cover}.pole-number{color:#c29330;font-size:1.25rem;font-weight:900;padding:10px 8px 0}.pole-card img{object-fit:cover}.news-card{padding:0 0 22px;overflow:hidden}.news-card img{width:100%;height:190px;object-fit:cover}.news-card h3,.news-card p{padding:0 22px}.editorial-image{width:100%;max-height:460px;object-fit:cover;border-radius:15px}.entry-content table{width:100%;border-collapse:collapse;margin:20px 0 30px}.entry-content th,.entry-content td{padding:13px;border:1px solid #dce4ed;text-align:left}.entry-content tr:nth-child(even){background:#f5f8fc}.entry-content blockquote{border-left:5px solid #d6a337;background:#f6f8fb;margin:24px 0;padding:24px;font-size:1.25rem;font-weight:700}.de-trap{position:absolute;left:-9999px}.site-header nav a:focus-visible,.btn:focus-visible{outline:3px solid #d6a337;outline-offset:3px}

.de-hero{background-size:cover;background-position:center;min-height:570px;display:flex;align-items:center}.de-event{background:#f4f8ff}.de-event h2{font-size:clamp(2rem,4vw,3.4rem)}.de-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:start}.de-qr{width:180px;height:180px;object-fit:contain;background:white;padding:8px;border:1px solid #ddd;border-radius:12px}.de-socials{display:flex;gap:10px;flex-wrap:wrap}.de-social-link{display:inline-flex;padding:9px 14px;border-radius:25px;border:1px solid #d6a337;text-decoration:none;font-weight:700;background:#fff;color:#071b43}.de-social-link:hover{background:#d6a337}.site-footer .de-social-link{background:transparent;color:#fff}.de-wa-float{position:fixed;right:22px;bottom:22px;z-index:100;background:#178a4a;color:white!important;border-radius:40px;padding:13px 19px;box-shadow:0 5px 20px #0004;font-weight:800;text-decoration:none}.de-wa-float:hover{background:#0e6e38}.de-cta{text-align:center}.de-cta .actions{justify-content:center}@media(max-width:700px){.de-contact-grid{grid-template-columns:1fr}.de-wa-float{right:12px;bottom:12px;padding:11px 14px}.de-hero{min-height:480px}}
