/*
Theme Name: MEDDYconsulting 2.3
Author: MEDDYconsulting
Description: Thème WordPress mobile-first, ultra-léger et multi-pays pour MEDDYconsulting.
Version: 2.3.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: meddyconsulting
*/
:root{--p:#17324D;--s:#C9A227;--l:#F5F7FA;--d:#132238;--t:#334155;--w:#fff;--r:14px;--b:#e6ebf0}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--t);line-height:1.6;background:#fff;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--p);text-decoration:none}
.container{width:min(1140px,92%);margin:auto}
.site-header{background:#fff;border-bottom:1px solid var(--b);position:sticky;top:0;z-index:50}
.header-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 0}
.logo{font-size:25px;font-weight:900;letter-spacing:-.4px;color:var(--p);white-space:nowrap}.logo span{color:var(--s)}
.nav-toggle{display:none}
.nav-label{display:none;padding:8px 12px;border:1px solid var(--b);border-radius:10px;font-weight:800}
.menu{display:flex;align-items:center;gap:13px;flex-wrap:wrap;list-style:none;margin:0;padding:0}
.menu li{position:relative}.menu a{font-size:14px;font-weight:750;display:block;padding:6px 3px}
.menu .sub-menu{list-style:none;margin:0;padding:7px;position:absolute;left:0;top:100%;background:#fff;min-width:240px;border:1px solid var(--b);border-radius:10px;box-shadow:0 12px 25px rgba(19,34,56,.09);display:none}
.menu li:hover>.sub-menu,.menu li:focus-within>.sub-menu{display:block}
.menu .sub-menu li a{padding:8px 10px}
.hero{padding:72px 0;background:linear-gradient(135deg,#f7f9fc,#eef4f8)}
.eyebrow{font-size:14px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:var(--s)}
.hero h1{font-size:clamp(36px,7vw,64px);line-height:1.04;letter-spacing:-1.8px;color:var(--d);margin:10px 0 18px;max-width:900px}
.hero p{font-size:18px;max-width:790px}
.btn{display:inline-block;padding:12px 18px;border-radius:10px;font-weight:850;margin:5px 5px 0 0}.btn-p{background:var(--p);color:#fff}.btn-s{background:var(--s);color:#fff}
.section{padding:58px 0}.section.alt{background:var(--l)}
.section h1,.section h2,.section h3{color:var(--d)}.section h1{font-size:clamp(32px,6vw,50px);line-height:1.1}.section h2{font-size:34px;line-height:1.15}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:#fff;border:1px solid var(--b);border-radius:var(--r);padding:24px}.card h3{margin:0 0 8px}.card p:last-child{margin-bottom:0}
.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.kpi{padding:22px;background:#fff;border:1px solid var(--b);border-radius:var(--r);text-align:center}.kpi strong{display:block;font-size:27px;color:var(--p)}
.list-clean{padding-left:19px}.cta{background:var(--p);color:#fff;border-radius:18px;padding:34px}.cta h2{color:#fff;margin-top:0}
.thumb{aspect-ratio:16/10;object-fit:cover;border-radius:10px;margin-bottom:15px;background:#eef2f5}
.meta{font-size:13px;color:#64748b}
.site-footer{background:#0f1d2e;color:#d9e2ea;padding:46px 0 22px}.site-footer a{color:#fff}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:28px}
.small{font-size:13px;opacity:.8}
.notice{padding:14px 16px;border-left:4px solid var(--s);background:#fff8db;border-radius:8px}
@media(max-width:900px){
  .nav-label{display:inline-block}
  .nav-wrap{width:100%}
  .nav-toggle{position:absolute;opacity:0;pointer-events:none}
  .nav-toggle:checked~.menu{display:flex}
  .menu{display:none;flex-direction:column;align-items:stretch;gap:2px;padding:10px 0}
  .menu li>.sub-menu{position:static;display:block;box-shadow:none;border:0;padding:0 0 0 14px;min-width:0}
  .menu a{padding:9px 2px}
  .grid{grid-template-columns:1fr}.kpis{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:520px){.hero{padding:50px 0}.section{padding:44px 0}.kpis{grid-template-columns:1fr}.header-row{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.brand-logo{display:block;width:155px;line-height:0}
.brand-logo img{width:155px;height:auto;display:block}
@media(max-width:520px){.brand-logo,.brand-logo img{width:125px}}

/* MEDDYconsulting 2.2 — desktop header inspired by the reference supplied by the client */
.site-header{box-shadow:0 6px 18px rgba(19,34,56,.08)}
.header-row{min-height:82px;padding:10px 0}
.brand-logo{display:flex;align-items:center;width:128px;line-height:0;flex:0 0 128px}
.brand-logo img{width:128px;height:auto;display:block}
.nav-wrap{flex:1;display:flex;justify-content:flex-end;align-items:center}
.menu{justify-content:flex-end;gap:9px}
.menu a{padding:10px 7px;font-size:14px;letter-spacing:.01em}
.menu>li:last-child>a{background:var(--s);color:#fff;border-radius:3px;padding:11px 17px}
.menu>li:last-child>a:hover{filter:brightness(.96)}
.menu .sub-menu{top:calc(100% - 4px)}
@media(min-width:901px){
  .nav-label{display:none!important}
  .nav-wrap .menu{display:flex!important}
}
@media(max-width:900px){
  .header-row{min-height:64px}
  .brand-logo,.brand-logo img{width:98px}
  .nav-wrap{display:block;width:100%}
  .nav-toggle:checked~.menu{display:flex}
}
@media(max-width:520px){
  .brand-logo,.brand-logo img{width:88px}
}

/* MEDDYconsulting 2.3 — desktop navigation uses the exact requested labels.
   The last item is the partnership CTA, replacing the Contact-style button position. */
@media(min-width:901px){
  .menu>li:last-child>a{
    background:var(--s);
    color:#fff;
    border-radius:3px;
    padding:11px 16px;
    white-space:nowrap;
  }
}
