/* Hero approved from the Outils pratiques gradient; scoped to this article. */
.o99-choice-hero{position:relative;isolation:isolate;overflow:hidden;background:#06345d;color:#fff;margin:0 0 32px;border-radius:0;min-height:500px;display:flex;align-items:center;padding:clamp(24px,5vw,72px)}
.o99-choice-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}
.o99-choice-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#03182b 4%,#06345df2 42%,#06345d66 76%,#03182b70),linear-gradient(0deg,#03182b99,transparent 65%);pointer-events:none}
.o99-choice-hero-copy{width:58%;max-width:740px}
.o99-choice-hero .o99-choice-eyebrow{font-size:.85rem;font-weight:700;letter-spacing:.08em;margin:0 0 20px;color:#fff}
.o99-choice-hero h1{font-size:clamp(2rem,3.5vw,3.5rem);line-height:1.1;color:#fff;margin:0 0 24px;text-wrap:balance;max-width:none}
.o99-choice-hero-copy>p{font-size:1.15rem;line-height:1.65;margin:0 0 28px;color:#fff}
.o99-choice-hero a{box-sizing:border-box;text-align:center;line-height:1.4;display:inline-flex;align-items:center;gap:14px;padding:14px 20px;background:#fff;color:#06345d;font-weight:700;text-decoration:none;border-radius:10px;box-shadow:0 5px 12px #03182b33;min-height:48px}
.o99-choice-hero a:hover{text-decoration:underline;background:#eaf4fb}
.o99-choice-hero a:focus-visible{outline:3px solid #fff;outline-offset:5px}
.o99-choisir-shell .o99-article .o99-section h2{max-width:none;text-wrap:pretty}
.o99-choisir-shell .o99-article .o99-section>p{max-width:none}
.o99-choisir-shell .o99-toc-shell{width:100%;margin-inline:0}
@media(max-width:900px){.o99-choice-hero{min-height:460px}.o99-choice-hero-copy{width:72%}}
@media(max-width:600px){.o99-choice-hero{min-height:470px;padding:28px 20px;border-radius:0}.o99-choice-hero-copy{width:100%}.o99-choice-hero>img{object-position:67% center}.o99-choice-hero::after{background:linear-gradient(100deg,#03182be8,#06345dc9)}.o99-choice-hero h1{font-size:2rem}.o99-choice-hero-copy>p{font-size:1rem}.o99-choice-hero a{font-size:.95rem;width:100%;justify-content:center}.o99-choice-hero .o99-choice-eyebrow{font-size:.75rem}}

/* Full-width introduction; keep article text and tools inside their reading frame. */
/* Override the existing article rule, which declares max-width with !important. */
main.o99-choisir-shell{max-width:none!important;padding:0 0 48px}
main.o99-choisir-shell>:not(.o99-choice-hero){box-sizing:border-box;max-width:1552px;width:calc(100% - 48px);margin-inline:auto}
main.o99-choisir-shell>.o99-choice-hero{margin-top:0;padding-inline:max(24px,calc((100% - 1408px)/2))}
@media(max-width:600px){main.o99-choisir-shell>:not(.o99-choice-hero){width:calc(100% - 32px)}main.o99-choisir-shell>.o99-choice-hero{padding-inline:20px}}

/* First step of the household panel builder. */
.o99-studio .o99-service-panel {
  display:flex; align-items:center; gap:clamp(12px,2vw,24px); margin:0 0 18px;
  padding:clamp(14px,2vw,24px); border:1px solid #b7cddd; border-radius:14px;
  background:linear-gradient(110deg,#eaf4fb,#fff 75%); color:#073858;
}
.o99-service-panel .o99-service-device { flex:0 0 clamp(54px,7vw,78px); }
.o99-service-device svg { display:block; width:100%; }
.o99-studio .o99-service-panel h3 { margin:0; color:#064572; font-size:clamp(1.16rem,2vw,1.5rem); }
.o99-studio .o99-service-panel p { margin:4px 0 10px; line-height:1.45; }
.o99-service-panel [data-service-choices] { display:flex; flex-wrap:wrap; gap:7px; }
.o99-service-panel [hidden],.o99-studio .o99-field-card[hidden] { display:none; }
.o99-studio .o99-service-panel button {
  width:auto; min-height:44px; padding:6px 14px; border:1px solid #7195ae; border-radius:8px;
  background:white; color:#064572; font:inherit; font-weight:700; cursor:pointer;
}
.o99-studio .o99-service-panel button:is(:hover,[aria-pressed="true"]) { background:#e2f0fa; border-color:#0060a1; }
.o99-studio .o99-service-panel button:focus-visible { outline:3px solid #005990; outline-offset:2px; }
.o99-service-panel [data-service-help] { margin:8px 0 0; background:transparent; border:0; box-shadow:none; }
.o99-service-panel [data-service-help] summary { display:list-item; width:fit-content; cursor:pointer; color:#064572; font-size:.9rem; }
