/**
 * 224Business — Header + Hero (nouvelle maquette)
 * Toutes les règles sont préfixées b224- pour ne jamais entrer en collision
 * avec le CSS existant (main-20260822.css, non modifié).
 */
:root{
  --b224-bg:#1f2a8f;
  --b224-bg-2:#2c37a6;
  --b224-accent:#e8582a;
  --b224-accent-hover:#cf4519;
  --b224-light:#e5edff; /* utilisée par le footer (assets/css/footer-224.css) */
}

.b224-hero{
  position:relative;overflow:hidden;color:#fff;
  background:radial-gradient(circle at 0 0,#19237c 0 25%,transparent 25.2%),
             radial-gradient(circle at 0 0,#1d2886 0 44%,transparent 44.2%),
             linear-gradient(135deg,var(--b224-bg),var(--b224-bg-2));
}
.b224-container{max-width:1330px;margin:0 auto;padding:0 30px}

/* ---------- Navigation ---------- */
.b224-nav{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0;position:relative;z-index:5}
.b224-logo{display:flex;align-items:center;gap:12px;text-decoration:none;color:#fff;flex:none}
.b224-logo-img{height:auto;width:auto;max-height:56px;max-width:250px;display:block}
@media (max-width:640px){.b224-logo-img{height:42px;max-height:42px}}

.b224-right{display:flex;align-items:center;gap:30px}
.b224-menu{display:flex;align-items:center;gap:26px;list-style:none;white-space:nowrap}
.b224-menu a{color:#fff;text-decoration:none;font-size:15px;font-weight:400;display:flex;align-items:center;gap:6px}
.b224-menu a:hover,.b224-menu a.active{text-decoration:underline;text-underline-offset:7px}
.b224-count{font-size:11px;background:rgba(255,255,255,.16);padding:1px 7px;border-radius:20px}

.b224-actions{display:flex;gap:16px}
.b224-btn{display:inline-flex;align-items:center;justify-content:center;height:50px;padding:0 26px;border-radius:8px;
  font-family:inherit;font-size:15px;font-weight:400;text-decoration:none;cursor:pointer;transition:.2s;white-space:nowrap}
.b224-btn-outline{border:1px solid #fff;color:#fff}
.b224-btn-outline:hover{background:rgba(255,255,255,.1)}
.b224-btn-white{background:#fff;color:var(--b224-bg);border:1px solid #fff}
.b224-btn-white:hover{background:transparent;color:#fff}

.b224-burger{display:none;background:none;border:0;cursor:pointer;width:44px;height:44px}
.b224-burger span{display:block;height:2px;background:#fff;margin:7px 8px;border-radius:2px}

/* ---------- Hero (page d'accueil uniquement) ---------- */
.b224-hero-body{display:grid;grid-template-columns:minmax(0,1fr) 560px;gap:30px;position:relative;z-index:2;min-height:560px}
.b224-text{padding:150px 0 40px;align-self:start;position:relative;z-index:3;width:calc(100% + 90px)}
.b224-hero h1{font-size:50px;font-weight:500;line-height:1.2;max-width:600px;font-family:'Jost',system-ui,sans-serif}
.b224-hero h1 em{font-style:normal;color:#ffb38f}
.b224-sub{font-size:15px;margin:45px 0 40px}

.b224-search{background:#fff;border-radius:8px;padding:18px;display:flex;align-items:center;max-width:560px;box-shadow:0 18px 40px rgba(8,12,60,.25)}
.b224-field{flex:1 1 150px;display:flex;align-items:center;gap:8px;padding:0 12px;height:54px;min-width:0}
.b224-field:first-child{flex:1.5 1 190px}
.b224-field:nth-child(2){flex:.85 1 130px}
.b224-field+.b224-field{border-left:1px solid #ecedf2}
.b224-field svg{flex:none;color:#696969}
.b224-field input,.b224-field select{border:0;outline:0;font-family:inherit;font-size:15px;color:#202124;width:100%;background:transparent;min-width:0}
.b224-field input::placeholder{color:#696969}
.b224-field select{cursor:pointer;appearance:none;-webkit-appearance:none;padding-right:18px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23696969'/%3E%3C/svg%3E") right center no-repeat}
.b224-search-btn{flex:none;height:54px;padding:0 24px;border:0;border-radius:8px;background:var(--b224-accent);color:#fff;
  font-family:inherit;font-size:15px;cursor:pointer;transition:.2s;display:inline-flex;align-items:center;gap:8px}
.b224-search-btn:hover{background:var(--b224-accent-hover)}

.b224-popular{margin-top:35px;font-size:15px;max-width:560px}
.b224-popular strong{display:block;font-weight:400;margin-bottom:10px}
.b224-popular-tags{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.b224-popular a{background:var(--b224-bg-2);color:#fff;text-decoration:none;text-align:center;
  border-radius:20px;padding:8px 10px;font-size:13px;line-height:1.3;transition:.2s}
.b224-popular a:hover{background:#3a46bd}
.b224-show-m{display:none}
.b224-eyebrow{display:none}

/* ---------- Visuel : photo + partenaires ---------- */
.b224-visual{position:relative;width:560px;height:560px;align-self:end;margin-bottom:-90px}
.b224-orbit{position:absolute;inset:0;border:2px dashed rgba(255,255,255,.25);border-radius:50%}
.b224-photo{position:absolute;inset:100px 52px 4px 108px;border-radius:50%;background:#e1e8ff}
.b224-person{position:absolute;left:108px;right:52px;top:30px;bottom:4px;z-index:1;
  -webkit-mask:linear-gradient(#000,#000) top/100% 270px no-repeat,radial-gradient(closest-side,#000 99.5%,transparent 100%) bottom/100% 400px no-repeat;
          mask:linear-gradient(#000,#000) top/100% 270px no-repeat,radial-gradient(closest-side,#000 99.5%,transparent 100%) bottom/100% 400px no-repeat}
.b224-person img{position:absolute;bottom:-10px;left:50%;transform:translateX(-50%);width:118%;height:auto;display:block}

.b224-partner{position:absolute;z-index:2;background:#fff;border-radius:50%;display:grid;place-items:center;overflow:hidden;
  box-shadow:0 12px 30px rgba(8,12,60,.28);text-decoration:none;animation:b224-float 5s ease-in-out infinite;transition:transform .2s}
.b224-partner:hover{animation-play-state:paused;transform:scale(1.08)}
.b224-partner img{width:72%;height:72%;object-fit:contain}
.b224-partner span{font-weight:500;color:var(--b224-bg);font-size:14px;text-align:center;line-height:1.1;padding:6px}
/* Logos carrés (Orange, SOS, Terre des hommes) : affichés seuls, sans bulle blanche */
.b224-tile{background:none;border-radius:12px;width:auto;height:auto;box-shadow:0 12px 28px rgba(8,12,60,.35)}
.b224-tile img{width:auto;height:60px;display:block;border-radius:12px}
/* Tile texte seul (pas de logo), fond uni + texte blanc — même gabarit qu'un tile image */
.b224-tile-solid{display:grid;place-items:center;width:64px;height:60px;border-radius:12px;
  color:#fff;font-weight:700;font-size:13px;letter-spacing:.02em;padding:4px}
/* Positions : rien sur la personne, rien sous la barre de recherche (côté gauche limité au haut) */
.b224-p1{width:88px;height:88px;top:-10px;right:38px}                      /* CRS — haut droite */
.b224-p7{width:60px;height:60px;top:10px;left:160px;animation-delay:-4.4s} /* Armoiries — haut */
.b224-p7 img{width:70%;height:70%}
.b224-p8{width:68px;height:68px;top:-10px;left:280px;animation-delay:-1.8s} /* UAGCP — haut, entre armoiries et CRS */
.b224-p2{width:92px;height:92px;top:105px;left:6px;animation-delay:-1.2s}  /* Expertise France — gauche */
.b224-p3{top:228px;left:22px;animation-delay:-2.4s}                         /* Orange — gauche, sous EF */
.b224-p5{top:150px;right:-4px;animation-delay:-.6s}                        /* SOS Villages — droite haut */
.b224-p4{top:262px;right:-14px;animation-delay:-3.1s}                       /* Terre des hommes — droite milieu */
.b224-p6{width:66px;height:66px;top:380px;right:-10px;animation-delay:-3.8s}/* ChildFund — droite bas, hors photo */
@keyframes b224-float{0%,100%{translate:0 0}50%{translate:0 -10px}}

/* ---------- Responsive ---------- */
@media (max-width:1360px){
  .b224-right{gap:20px}.b224-menu{gap:18px}.b224-actions{gap:10px}
  .b224-btn{padding:0 18px}
  .b224-hero-body{grid-template-columns:minmax(0,1fr) 460px}
  .b224-visual{zoom:.82;justify-self:end}
}
@media (max-width:1100px){
  .b224-burger{display:block;width:52px;height:52px;border:1px solid rgba(255,255,255,.35);border-radius:14px;background:rgba(255,255,255,.08)}
  .b224-burger span{margin:7px 13px}
  .b224-right{display:none}
  .b224-nav{padding:28px 0}
  .b224-nav.b224-open{flex-wrap:wrap}
  .b224-nav.b224-open .b224-right{display:flex;flex-direction:column;align-items:stretch;width:100%;padding:16px 0}
  .b224-nav.b224-open .b224-menu{flex-direction:column;align-items:flex-start;gap:16px;padding-bottom:16px}
  .b224-nav.b224-open .b224-actions{flex-direction:column}
  .b224-nav.b224-open .b224-actions .b224-btn{flex:1}
  .b224-hero-body{grid-template-columns:1fr;min-height:0;gap:0}
  .b224-text{padding:60px 0 10px;width:auto}
  .b224-visual{zoom:.8;justify-self:end;margin:0 -40px -90px 0}
}
@media (max-width:640px){
  .b224-container{padding:0 22px}
  .b224-nav{padding:24px 0}
  .b224-logo-img{max-height:none;height:auto;max-width:210px}
  .b224-text{padding:44px 0 0}
  .b224-eyebrow{display:block;font-size:15px;font-weight:500;color:#c9d0ff;margin-bottom:16px}
  .b224-hero h1{font-size:42px;line-height:1.06;letter-spacing:-.02em}
  .b224-h1-end{display:none}
  .b224-sub{font-size:17px;line-height:1.5;margin:22px 0 28px;color:rgba(255,255,255,.92)}
  /* recherche : barre blanche mot-clé + bouton, filtres en pastilles dessous */
  .b224-search{display:grid;grid-template-columns:auto auto 1fr;gap:12px 10px;background:none;padding:0;box-shadow:none;max-width:none}
  .b224-field{padding:0 16px;height:auto}
  .b224-field:first-child{grid-column:1/-1;grid-row:1;background:#fff;border-radius:16px;height:62px;padding:0 128px 0 18px;
    box-shadow:0 16px 36px rgba(8,12,60,.3)}
  .b224-search-btn{grid-column:1/-1;grid-row:1;justify-self:end;align-self:center;height:48px;margin-right:7px;padding:0 22px;
    border-radius:12px;font-size:15px;font-weight:500;position:relative;z-index:1}
  .b224-field+.b224-field{border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.1);border-radius:12px;height:46px;padding:0 12px;gap:8px;width:max-content}
  .b224-field+.b224-field svg{color:#fff;width:16px;height:16px}
  .b224-field+.b224-field select{color:#fff;font-size:15px;width:auto;padding-right:16px;
    min-width:max-content;field-sizing:content;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E")}
  .b224-field select option{color:#202124}
  .b224-popular{margin-top:22px;font-size:15px;max-width:none}
  .b224-popular strong{margin-bottom:8px}
  .b224-hide-m{display:none}.b224-show-m{display:inline}
  .b224-popular-tags{gap:6px}
  .b224-popular a{font-size:12px;padding:7px 6px}
  /* visuel en bas, coupé à droite */
  .b224-visual{zoom:.6;margin:20px -36px -120px 0}
}
