/* QUANDEA Hero 3D — section de texte sous la scène (référencement).
   Tous les styles sont préfixés .qh-seo pour ne pas toucher au thème. */
.qh-seo {
    --q-red: #ED4034; --q-paper: #F9F9F6; --q-muted: rgba(249, 249, 246, 0.72); --q-line: rgba(249, 249, 246, 0.13);
    position: relative; width: 100vw; max-width: 100vw; margin: 0 calc(50% - 50vw); box-sizing: border-box;
    padding: clamp(3.5rem, 7vw, 6.5rem) 0;
    background: radial-gradient(ellipse at 50% 0%, #22408A 0%, #10224E 42%, #050B1C 100%);
    color: var(--q-paper); font-family: 'Montserrat', system-ui, sans-serif; font-size: 16px; line-height: 1.7; text-align: left;
    -webkit-font-smoothing: antialiased;
    container-type: inline-size;
}
.qh-seo * { box-sizing: border-box; }
.qh-seo-wrap { width: min(1180px, 90%); margin: 0 auto; display: flex; flex-direction: column; gap: clamp(2.5rem, 5vw, 4rem); }
.qh-seo h2, .qh-seo h3 { color: #fff; margin: 0 0 1rem; padding: 0; border: 0; background: none; letter-spacing: 0; }
.qh-seo h2 { font-family: 'Oswald', 'Montserrat', sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(1.6rem, 4.4cqi, 2.6rem); line-height: 1.05; overflow-wrap: break-word; }
.qh-seo h3 { font-family: 'Montserrat', sans-serif; font-size: 1.1rem; font-weight: 800; line-height: 1.3; margin-bottom: 0.2rem; text-transform: none; }
.qh-seo p { margin: 0 0 1rem; padding: 0; color: var(--q-muted); font-size: 1rem; }
.qh-seo p:last-child { margin-bottom: 0; }
.qh-seo strong { color: #fff; font-weight: 700; }
.qh-seo a { color: #fff; text-decoration: none; box-shadow: none; border: 0; }
.qh-seo a:hover { color: var(--q-red); }

.qh-seo-intro { max-width: 900px; }
.qh-seo-intro h2 { font-size: clamp(2rem, 7.4cqi, 4.4rem); line-height: 1.12; margin-bottom: 1.4rem; }
.qh-seo-intro h2 span { display: block; color: transparent; -webkit-text-stroke: 1.5px var(--q-paper); }
.qh-seo-kicker { display: flex; align-items: center; gap: 0.7rem; font-size: 0.72rem !important; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--q-red) !important; margin-bottom: 1.2rem !important; }
.qh-seo-kicker i { display: block; width: 28px; height: 2px; background: var(--q-red); }
.qh-seo-lead { font-size: 1.12rem !important; color: var(--q-paper) !important; }

.qh-seo-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.qh-seo-facts li { margin: 0; padding: 1.2rem 1.3rem; border: 1px solid var(--q-line); border-radius: 18px; background: rgba(255, 255, 255, 0.04); display: flex; flex-direction: column; gap: 0.2rem; }
.qh-seo-facts li::before, .qh-seo-list li::before { content: none; }
.qh-seo-facts b { font-family: 'Oswald', 'Montserrat', sans-serif; font-weight: 600; text-transform: uppercase; font-size: 1.3rem; color: #fff; }
.qh-seo-facts span { font-size: 0.88rem; color: var(--q-muted); }
/* v1.6.1 : Bruxelles · Belgique mis en avant */
.qh-seo-facts li.qh-seo-geo { border-color: rgba(237, 64, 52, 0.55); background: linear-gradient(160deg, rgba(237, 64, 52, 0.16), rgba(255, 255, 255, 0.03)); }
.qh-seo-facts b { display: flex; align-items: center; gap: 0.55rem; }
.qh-seo-flag { display: block; flex: none; width: 24px; height: 16px; border-radius: 3px; background: linear-gradient(90deg, #1A1A1A 0 33.34%, #FDDA24 33.34% 66.67%, #EF3340 66.67% 100%); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25); }

.qh-seo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 1rem; }
/* 5 services : 5 colonnes sur grand écran, sinon 3 + 2 ou 2 + 2 + 1 */
.qh-seo-card { padding: 1.5rem 1.5rem 1.3rem; border-radius: 20px; border: 1px solid var(--q-line); background: linear-gradient(160deg, rgba(34, 64, 138, 0.35), rgba(255, 255, 255, 0.02)); display: flex; flex-direction: column; transition: transform 0.25s ease, border-color 0.25s ease; }
.qh-seo-card:hover { transform: translateY(-3px); border-color: rgba(237, 64, 52, 0.55); }
.qh-seo-card p { font-size: 0.95rem; flex: 1; margin-top: 0.8rem; }
.qh-seo-card a { font-weight: 700; font-size: 0.9rem; margin-top: 0.4rem; color: var(--q-red); }
.qh-seo-card a:hover { color: #fff; }
.qh-seo-num { align-self: flex-start; font-family: 'Oswald', 'Montserrat', sans-serif; font-weight: 600; font-size: 0.85rem; color: #fff; background: var(--q-red); border-radius: 100px; padding: 0.1rem 0.7rem; margin-bottom: 0.9rem; }
.qh-seo-tag { font-size: 0.78rem; color: var(--q-muted); }

.qh-seo-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
.qh-seo-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.qh-seo-list li { position: relative; margin: 0; padding-left: 1.6rem; color: var(--q-muted); }
.qh-seo-list li::after { content: ""; position: absolute; left: 0; top: 0.62em; width: 9px; height: 9px; background: var(--q-red); }
.qh-seo-steps { list-style: none; margin: 0; padding: 0; counter-reset: qhstep; display: flex; flex-direction: column; gap: 1rem; }
.qh-seo-steps li { counter-increment: qhstep; position: relative; margin: 0; padding: 0 0 0 3.4rem; min-height: 2.6rem; display: flex; flex-direction: column; }
.qh-seo-steps li::before { content: counter(qhstep, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; font-family: 'Oswald', 'Montserrat', sans-serif; font-weight: 600; font-size: 0.9rem; color: #fff; background: var(--q-red); }
.qh-seo-steps b { color: #fff; font-weight: 700; }
.qh-seo-steps span { color: var(--q-muted); font-size: 0.95rem; }

.qh-seo-faq details { border-bottom: 1px solid var(--q-line); }
.qh-seo-faq summary { cursor: pointer; list-style: none; position: relative; padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 700; color: #fff; font-size: 1.02rem; }
.qh-seo-faq summary::-webkit-details-marker { display: none; }
.qh-seo-faq summary::after { content: "+"; position: absolute; right: 0.3rem; top: 0.85rem; font-size: 1.5rem; color: var(--q-red); transition: transform 0.25s ease; }
.qh-seo-faq details[open] summary::after { transform: rotate(45deg); }
.qh-seo-faq details p { padding-bottom: 1.1rem; max-width: 900px; }

.qh-seo-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: 24px; border: 1px solid rgba(237, 64, 52, 0.4); background: linear-gradient(120deg, rgba(34, 64, 138, 0.6), rgba(10, 22, 54, 0.7)); }
.qh-seo-cta h2 { margin-bottom: 0.4rem; }
.qh-seo-cta-btns { display: flex; gap: 0.8rem; flex-wrap: wrap; flex: none; }
.qh-seo a.qh-seo-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; padding: 0.95rem 1.5rem; border-radius: 100px; background: var(--q-red); color: #fff; font-weight: 700; white-space: nowrap; }
.qh-seo a.qh-seo-btn.is-ghost { background: transparent; border: 1px solid var(--q-line); }
.qh-seo a.qh-seo-btn:hover { color: #fff; filter: brightness(1.08); }

/* La mise en page suit la largeur réelle de la section (quel que soit le thème) */
@container (max-width: 860px) {
    .qh-seo-two { grid-template-columns: 1fr; }
    .qh-seo-cta { flex-direction: column; align-items: flex-start; }
    .qh-seo-facts { grid-template-columns: 1fr 1fr; }
}
@container (max-width: 520px) {
    .qh-seo-wrap { width: 88%; }
    .qh-seo-facts { gap: 0.6rem; }
    .qh-seo-facts li { padding: 0.9rem; }
    .qh-seo-facts b { font-size: 1.1rem; }
    .qh-seo-lead { font-size: 1.02rem !important; }
    .qh-seo-grid { grid-template-columns: 1fr; }
    .qh-seo-cta-btns, .qh-seo a.qh-seo-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .qh-seo-card, .qh-seo-faq summary::after { transition: none; }
}
/* Évite une barre de défilement horizontale due à la pleine largeur */
html:has(.qh-seo), body:has(.qh-seo) { overflow-x: clip; }
/* Option fullwidth="0" : la section reste dans la largeur du contenu */
.qh-seo.is-boxed { width: 100%; max-width: 100%; margin: 0; }
