/* Access Drones V2.3 — styles exclusifs à l'accueil. Pas de modification des fiches. */
body[data-page="home"] { --home-soft: #f1f7fb; }
body[data-page="home"] [hidden] { display: none !important; }
body[data-page="home"] #parcours,
body[data-page="home"] #packs,
body[data-page="home"] #metiers,
body[data-page="home"] #indicateurs-qualite { scroll-margin-top: 8px; }
body[data-page="home"] .hero-grid { grid-template-columns: 1.18fr 1fr; gap: 60px; padding-block: 42px 48px; }
body[data-page="home"] .hero h1 { font-size: clamp(2.5rem, 4.35vw, 4.1rem); margin: 15px 0 20px; }
body[data-page="home"] .hero-copy > p { font-size: .98rem; line-height: 1.7; max-width: 540px; }
body[data-page="home"] .hero-visual { height: 330px; }
body[data-page="home"] .hero-image { border-radius: 16px 16px 55px 16px; }
body[data-page="home"] .hero-actions { margin-top: 23px; gap: 18px; }

/* Le questionnaire suit immédiatement l'introduction, sans bandeau intermédiaire. */
body[data-page="home"] .finder-section { background: var(--home-soft); color: var(--ink); border-bottom: 1px solid #dce8ef; padding-block: 54px; }
body[data-page="home"] .finder-layout { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
body[data-page="home"] .finder-copy { padding-top: 16px; }
body[data-page="home"] .finder-copy .eyebrow { color: var(--blue); font-size: .67rem; }
body[data-page="home"] .finder-copy h2 { color: var(--navy); font-size: clamp(2rem, 3vw, 2.7rem); margin: 0 0 20px; }
body[data-page="home"] .finder-copy > p { color: var(--muted); font-size: .92rem; }
body[data-page="home"] .finder-promise { color: var(--navy); border-color: #d5e3eb; font-size: .9rem; margin-block: 23px; padding-block: 21px; }
body[data-page="home"] .finder-promise .icon { color: var(--cyan); }
body[data-page="home"] .finder-copy .micro { color: #566f83; font-size: .76rem; }
.home-direct-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 23px; color: var(--blue); font-size: .83rem; font-weight: 650; line-height: 1.5; }
.home-direct-link .icon { width: 18px; height: 18px; }
.home-direct-link:hover { text-decoration: underline; text-underline-offset: 3px; }
body[data-page="home"] .wizard-card { border: 1px solid #d2e2ec; box-shadow: 0 12px 34px #113d5d0b; padding: 29px; border-top: 4px solid var(--cyan); }
body[data-page="home"] .wizard-option { padding: 12px 11px; min-height: 69px; }
body[data-page="home"] .wizard-title { font-size: 1.4rem; }
body[data-page="home"] .wizard-option[aria-pressed="true"] .option-icon { color: var(--blue); }
body[data-page="home"] .wizard-option:focus-visible,
body[data-page="home"] .home-direct-link:focus-visible,
body[data-page="home"] .home-result-jump:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
body[data-page="home"] .wizard-next { min-height: 48px; }
body[data-page="home"] .result-card-footer { flex-wrap: wrap; }
body[data-page="home"] .result-save { gap: 13px; }
body[data-page="home"] .home-result-jump { font-size: .83rem; display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 650; padding: 5px 0; }
body[data-page="home"] .home-result-jump .icon { transform: rotate(90deg); width: 18px; height: 18px; }

/* Les offres viennent après l'orientation, sans créer de nouveau pack. */
body[data-page="home"] .home-packs,
body[data-page="home"] .home-specialties { padding-block: 66px; }
body[data-page="home"] .section-heading { gap: 30px; }
body[data-page="home"] .section-heading > p { max-width: 360px; font-size: .91rem; }
body[data-page="home"] .home-packs h2 { max-width: 650px; }
body[data-page="home"] .home-packs .pack-grid { margin-top: 30px; }
body[data-page="home"] .pack-card { background: #fff; box-shadow: none; padding: 27px 29px 0; }
body[data-page="home"] .pack-card:nth-child(2) { background: #f6f9fc; }
body[data-page="home"] .pack-card .card-meta { align-items: flex-start; }
body[data-page="home"] .card-meta > span:first-child { min-width: 0; align-items: flex-start; }
body[data-page="home"] .card-meta b { line-height: 1.55; }
.home-path-note { display: flex; gap: 12px; align-items: flex-start; padding: 18px 22px; margin-top: 22px; background: #eff8fa; border-radius: 9px; color: #295971; font-size: .85rem; }
.home-path-note > .icon { flex-shrink: 0; margin-top: 3px; width: 19px; height: 19px; color: #067e91; }
.home-path-note strong { color: var(--navy); }
.home-path-note a { text-decoration: underline; text-underline-offset: 3px; }
body[data-page="home"] .home-specialties { background: #f5f8fb; border-block: 1px solid #e3ebf1; }
body[data-page="home"] .home-specialties .section-heading { margin-bottom: 16px; }
.home-section-intro { color: var(--muted); max-width: 780px; font-size: .94rem; margin-bottom: 30px; }
body[data-page="home"] .home-specialties .course-card { background: #fff; box-shadow: none; }
body[data-page="home"] .card-media-link { height: 155px; }
body[data-page="home"] .card-description { min-height: 0; }
body[data-page="home"] .course-card { position: relative; }
body[data-page="home"] .course-card.is-recommended { border: 2px solid #087e98; box-shadow: 0 0 0 3px #087e9810; }
.home-recommendation-badge { display: block; position: relative; z-index: 2; background: #087e98; color: #fff; font-size: .69rem; font-weight: 650; letter-spacing: .035em; padding: 7px 12px; border-radius: 7px 7px 0 0; text-align: center; }
body[data-page="home"] .pack-card .home-recommendation-badge { margin: -27px -29px 20px; }
body[data-page="home"] .home-specialties .home-recommendation-badge { margin: 0; }
.home-selection-note { color: #154b64; background: #e8f5f7; border-left: 3px solid #087e98; padding: 14px 18px; font-size: .86rem; margin: 22px 0; line-height: 1.65; }
.home-selection-note strong { display: block; color: #093d54; }
.home-selection-note a { text-decoration: underline; margin-left: 6px; text-underline-offset: 3px; }

/* Les services inclus restent visibles, mais ne coupent plus le parcours de choix. */
body[data-page="home"] .student-band { padding-block: 36px; background: white; border: 0; border-bottom: 1px solid #e3ebf1; }
body[data-page="home"] .student-band h2 { font-size: clamp(1.45rem, 2.2vw, 1.95rem); margin-bottom: 12px; }
body[data-page="home"] .student-band p { font-size: .86rem; max-width: 780px; }
body[data-page="home"] .student-band .eyebrow { font-size: .6rem; }
body[data-page="home"] .student-chips { margin-top: 13px; font-size: .75rem; }
body[data-page="home"] .student-band-grid { gap: 28px; }
body[data-page="home"] .student-band .button { font-size: .8rem; }
.home-expertise { padding-block: 46px; }
.home-expertise-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; }
.home-expertise h2 { font-size: clamp(1.6rem, 2.2vw, 2rem); margin-bottom: 14px; }
.home-expertise p { color: var(--muted); font-size: .87rem; }
.home-expertise .text-link { margin-top: 17px; font-size: .83rem; }
.home-expert-note { padding: 3px 0 3px 34px; border-left: 2px solid #c9e4ed; }
.home-expert-note h3 { font-size: 1.3rem; margin-bottom: 12px; }
.home-expert-note .eyebrow { font-size: .59rem; }
body[data-page="home"] .quality-section { padding-block: 43px; }
body[data-page="home"] .quality-section h2 { font-size: clamp(1.6rem, 2.1vw, 2rem); }
body[data-page="home"] .quality-stat { padding: 21px 20px; }

@media(max-width:1050px) {
 body[data-page="home"] .hero-grid { gap: 34px; }
 body[data-page="home"] .hero-visual { height: 315px; }
 body[data-page="home"] .finder-layout { gap: 34px; grid-template-columns: .78fr 1.22fr; }
 body[data-page="home"] .wizard-card { padding: 23px; }
 body[data-page="home"] .finder-copy h2 { font-size: 2.2rem; }
 body[data-page="home"] .student-band-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media(max-width:850px) {
 body[data-page="home"] .finder-layout { grid-template-columns: 1fr; gap: 24px; }
 body[data-page="home"] .finder-copy { padding: 0; }
 body[data-page="home"] .finder-copy h2 { max-width: none; margin-bottom: 12px; }
 body[data-page="home"] .finder-copy > p { max-width: 680px; }
 body[data-page="home"] .finder-promise { border: 0; padding: 0; margin: 12px 0; font-size: .84rem; }
 body[data-page="home"] .finder-promise .icon { width: 19px; height: 19px; }
 body[data-page="home"] .finder-copy .micro { font-size: .73rem; max-width: 620px; }
 .home-direct-link { margin-top: 12px; font-size: .8rem; }
 body[data-page="home"] .wizard-card { max-width: none; }
 body[data-page="home"] .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
 .home-expertise-grid { gap: 30px; }
}
@media(max-width:680px) {
 body[data-page="home"] #parcours,
 body[data-page="home"] #packs,
 body[data-page="home"] #metiers { scroll-margin-top: 0px; }
 body[data-page="home"] .hero-grid { grid-template-columns: 1fr; padding-block: 29px 30px; gap: 0; }
 /* La grande photo reste sur ordinateur ; elle ne repousse pas le questionnaire sur téléphone. */
 body[data-page="home"] .hero-visual { display: none; }
 body[data-page="home"] .hero h1 { font-size: clamp(2.15rem, 8.7vw, 3.05rem); line-height: 1.08; margin: 13px 0 15px; }
 body[data-page="home"] .hero-copy > p { font-size: .88rem; line-height: 1.7; }
 body[data-page="home"] .hero-actions { gap: 12px; margin-top: 20px; flex-direction: row; align-items: center; flex-wrap: wrap; }
 body[data-page="home"] .hero-actions .button { min-height: 48px; padding-inline: 17px; font-size: .83rem; }
 body[data-page="home"] .hero-secondary { font-size: .75rem; }
 body[data-page="home"] .finder-section { padding-block: 31px 36px; }
 body[data-page="home"] .finder-layout { gap: 23px; }
 body[data-page="home"] .finder-copy .eyebrow { font-size: .6rem; margin-bottom: 11px; }
 body[data-page="home"] .finder-copy h2 { font-size: 1.9rem; line-height: 1.13; }
 body[data-page="home"] .finder-copy h2 br { display: none; }
 body[data-page="home"] .finder-copy > p { font-size: .82rem; line-height: 1.65; }
 body[data-page="home"] .finder-promise { font-size: .8rem; line-height: 1.55; gap: 10px; }
 body[data-page="home"] .finder-copy .micro { font-size: .7rem; }
 .home-direct-link { font-size: .76rem; }
 body[data-page="home"] .wizard-card { padding: 20px 16px; border-radius: 12px; }
 body[data-page="home"] .wizard-top { font-size: .6rem; letter-spacing: .06em; }
 body[data-page="home"] .wizard-title { font-size: 1.24rem; }
 body[data-page="home"] .wizard-progress { margin: 11px 0 18px; }
 body[data-page="home"] .wizard-options { grid-template-columns: 1fr 1fr; gap: 8px; }
 body[data-page="home"] .wizard-options.single { grid-template-columns: 1fr; }
 body[data-page="home"] .wizard-option { display: block; min-width: 0; padding: 11px 10px; min-height: 94px; }
 body[data-page="home"] .wizard-option .option-icon { display: block; margin-bottom: 6px; }
 body[data-page="home"] .wizard-option .icon { width: 19px; height: 19px; }
 body[data-page="home"] .wizard-option strong { font-size: .75rem; line-height: 1.35; }
 body[data-page="home"] .wizard-option small { font-size: .66rem; color: #526c80; }
 body[data-page="home"] .wizard-options.single .wizard-option { display: flex; min-height: 76px; }
 body[data-page="home"] .wizard-subtitle { font-size: .78rem; }
 body[data-page="home"] .wizard-footer { margin-top: 18px; }
 body[data-page="home"] .wizard-footer .button { font-size: .79rem; padding-inline: 14px; }
 body[data-page="home"] .result-save { align-items: stretch; }
 body[data-page="home"] .home-packs,
 body[data-page="home"] .home-specialties { padding-block: 39px; }
 body[data-page="home"] .section-heading h2 { font-size: 1.85rem; }
 body[data-page="home"] .section-heading h2 br { display: none; }
 body[data-page="home"] .section-heading > p { max-width: none; font-size: .83rem; }
 body[data-page="home"] .home-packs .pack-grid { margin-top: 22px; }
 body[data-page="home"] .pack-card { padding: 23px 23px 0; }
 body[data-page="home"] .pack-card .home-recommendation-badge { margin: -23px -23px 19px; }
 body[data-page="home"] .pack-card h3 { font-size: 2rem; }
 .home-path-note { padding: 16px; font-size: .78rem; }
 .home-section-intro { font-size: .84rem; margin-bottom: 23px; }
 body[data-page="home"] .home-specialties .course-grid { grid-template-columns: 1fr; gap: 17px; }
 body[data-page="home"] .card-media-link { height: 155px; }
 .home-selection-note { font-size: .79rem; padding: 13px 15px; }
 body[data-page="home"] .student-band { padding-block: 31px; }
 body[data-page="home"] .student-band h2 { font-size: 1.5rem; }
 body[data-page="home"] .student-band p { font-size: .82rem; }
 body[data-page="home"] .student-chips { gap: 9px 13px; font-size: .7rem; }
 .home-expertise { padding-block: 34px; }
 .home-expertise-grid { grid-template-columns: 1fr; gap: 27px; }
 .home-expert-note { padding-left: 18px; }
 body[data-page="home"] .quality-section { padding-block: 33px; }
 body[data-page="home"] .quality-stat { padding: 19px 14px; }
}
@media(prefers-reduced-motion:reduce) { body[data-page="home"] * { scroll-behavior: auto !important; } }

/* Repli du logo lorsque le fichier distant ne répond pas. */
body[data-page="home"] .brand-logo[data-failed] { display:none; }
body[data-page="home"] .brand:has(.brand-logo[data-failed]) .brand-wordmark { display:flex; }
@media(max-width:600px) {
 body[data-page="home"] .home-specialties .course-card { display:grid; grid-template-columns:88px minmax(0,1fr); align-items:start; }
 body[data-page="home"] .home-specialties .card-media-link { width:64px; height:74px; margin:20px 0 0 15px; border-radius:8px; grid-column:1; }
 body[data-page="home"] .home-specialties .card-body { grid-column:2; padding:18px 17px 19px 0; min-width:0; }
 body[data-page="home"] .home-specialties .image-fallback > .icon { width:29px; height:29px; }
 body[data-page="home"] .home-specialties .card-body h3 { font-size:1.18rem; line-height:1.24; margin-bottom:8px; }
 body[data-page="home"] .home-specialties .card-description { font-size:.78rem; line-height:1.65; }
 body[data-page="home"] .home-specialties .card-body .eyebrow { font-size:.53rem; line-height:1.65; }
 body[data-page="home"] .home-specialties .card-meta { font-size:.7rem; gap:9px 14px; margin-top:14px; }
 body[data-page="home"] .home-specialties .card-bottom { margin-top:13px; padding-top:13px; }
 body[data-page="home"] .home-specialties .card-price strong { font-size:1.3rem; }
 body[data-page="home"] .home-specialties .card-price small { font-size:.63rem; }
 body[data-page="home"] .home-specialties .home-recommendation-badge { grid-column:1/-1; width:100%; }
}

/* V2.3.3 — modularité : contenu de gauche uniquement. Le questionnaire est inchangé. */
body[data-page="home"] .home-modular-copy { margin-top: 25px; max-width: 44ch; overflow-wrap: break-word; }
body[data-page="home"] .home-modular-copy h3 { color: var(--navy); font-size: 1.23rem; font-weight: 750; line-height: 1.4; margin: 0 0 17px; }
body[data-page="home"] .home-modular-copy p { color: var(--muted); font-size: .92rem; line-height: 1.72; margin: 0 0 17px; }
body[data-page="home"] .home-modular-copy p:last-child { margin-bottom: 0; }
body[data-page="home"] .home-modular-copy strong { color: var(--navy); }
body[data-page="home"] .home-modular-examples { border-left: 2px solid #bee1e9; padding-left: 17px; margin-block: 23px; }
body[data-page="home"] .home-modular-examples p { margin-bottom: 14px; }
body[data-page="home"] .home-modular-copy .home-modular-rule { margin-bottom: 14px; }
@media(max-width:850px) {
 body[data-page="home"] .home-modular-copy { max-width: 680px; margin-top: 20px; }
}
@media(max-width:680px) {
 /* Restaurer le saut de ligne pour ne pas coller « parcours » et « pour » sur mobile. */
 body[data-page="home"] .finder-copy h2 br { display: initial; }
 body[data-page="home"] .home-modular-copy h3 { font-size: 1.1rem; line-height: 1.45; margin-bottom: 14px; }
 body[data-page="home"] .home-modular-copy p { font-size: .9rem; line-height: 1.72; margin-bottom: 14px; }
 body[data-page="home"] .home-modular-examples { margin-block: 19px; padding-left: 14px; }
}
