/* ============================================================
   NESL v2026_01 : page d'accueil (template home_2026.php, ticket #14751)
   Design "Nacel London - Home Page Redesign". Charge uniquement sur l'accueil (layout.php).
   Les sections sont numerotees par leur position dans la page : .hp-s1 ... .hp-s12.
   ============================================================ */
.hp{
  --hp-ink:#0F2440; --hp-text:#334155; --hp-muted:#55657A;
  --hp-blue:#1890D8; --hp-blue-d:#0B75C1; --hp-blue-l:#EAF4FB; --hp-soft:#DCEBF7; --hp-line:#E3ECF5;
  --hp-violet:#7C5CFC; --hp-yellow:#FFC83D; --hp-yellow-d:#F4B400;
  --hp-grad:linear-gradient(100deg, #1890D8 0%, #3E7BF0 55%, #7C5CFC 100%);
  --hp-gut:clamp(20px, 4vw, 64px);
  color:var(--hp-ink);
}
.hp *, .hp *::before, .hp *::after{ box-sizing:border-box; }
.hp-wrap{ max-width:1200px; margin:0 auto; }
/* :where() = specificite nulle : les composants partages (bandeau promo) gardent leurs propres styles */
:where(.hp) :where(h1, h2, h3){ color:var(--hp-ink); margin:0; letter-spacing:-.02em; }
:where(.hp) :where(p){ margin:0; }
.hp-hl{ color:var(--hp-blue-d); }
/* titres en degrade (maquette .lx-h2 / section ecole) : sections 5 et 7, le surlignage entre crochets suit le degrade */
.hp .hp-s5 h2, .hp .hp-s7 h2{ background:linear-gradient(120deg, #0F1B2D 0%, #1276B3 60%, #7C5CFC 100%); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:transparent; }
.hp-s5 h2 .hp-hl, .hp-s7 h2 .hp-hl{ color:inherit; -webkit-text-fill-color:inherit; }
.hp-sec{ padding:88px var(--hp-gut); }
.hp-sec--soft{ background:var(--hp-soft); }
.hp-sec--blue{ background:var(--hp-soft); }
.hp-eyebrow{ display:block; font-size:13px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--hp-blue-d); }
.hp-head{ display:flex; flex-direction:column; gap:14px; max-width:720px; margin-bottom:44px; }
.hp-head h2{ font-size:clamp(30px, 3.4vw, 44px); line-height:1.12; font-weight:800; }
.hp-head p{ font-size:17px; line-height:1.65; color:var(--hp-muted); }
.hp-head--center{ align-items:center; text-align:center; margin-left:auto; margin-right:auto; max-width:900px; }
.hp-head--center p{ max-width:720px; }
.hp-stars{ color:#F59E0B; letter-spacing:1px; }

/* ---------- boutons ---------- */
.hp-btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:50px; padding:0 28px; border:0; border-radius:100px; font:inherit; font-size:15px; font-weight:700; line-height:1.2; text-decoration:none; cursor:pointer; transition:background .15s, color .15s, transform .15s, box-shadow .15s; }
.hp-btn:hover{ transform:translateY(-1px); text-decoration:none; }
.hp-btn--yellow{ background:var(--hp-yellow); color:var(--hp-ink); text-transform:uppercase; letter-spacing:.03em; box-shadow:0 8px 20px rgba(244,180,0,.3); }
.hp-btn--yellow:hover{ background:var(--hp-yellow-d); color:var(--hp-ink); }
.hp-btn--blue{ background:var(--hp-blue-d); color:#fff; box-shadow:0 8px 18px rgba(11,117,193,.28); }
.hp-btn--blue:hover{ background:#095f9d; color:#fff; }
.hp-btn--grad{ background:var(--hp-grad); color:#fff; box-shadow:0 10px 22px rgba(62,123,240,.3); }
.hp-btn--grad:hover{ color:#fff; box-shadow:0 12px 26px rgba(62,123,240,.4); }
.hp-btn--ghost{ background:transparent; color:#fff; border:2px solid rgba(255,255,255,.85); text-transform:uppercase; letter-spacing:.03em; }
.hp-btn--ghost:hover{ background:rgba(255,255,255,.12); color:#fff; }
.hp-btn:focus-visible, .hp a:focus-visible, .hp button:focus-visible{ outline:3px solid var(--hp-yellow); outline-offset:3px; }
.hp-btn--outline{ background:#fff; color:var(--hp-blue-d); border:2px solid var(--hp-blue-d); }
.hp-btn--outline:hover{ background:var(--hp-blue-l); color:var(--hp-blue-d); }
/* elements propres au mobile (maquette "Home page - mobile") : masques sur ordinateur */
.hp-swipe{ display:none; }
.hp-swipe{ margin:14px 0 0; text-align:center; font-size:13px; font-weight:600; color:var(--hp-muted); }
.hp-more{ color:var(--hp-blue-d); font-weight:700; font-size:15px; text-decoration:none; white-space:nowrap; }
.hp-more:hover{ color:var(--hp-ink); }
.hp-acts{ display:flex; flex-wrap:wrap; align-items:center; gap:14px 26px; margin-top:30px; }

/* ---------- liste cochee ---------- */
.hp-ticks{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.hp-ticks li{ display:flex; gap:12px; align-items:flex-start; font-size:16px; line-height:1.5; color:var(--hp-text); }
.hp-check{ flex:0 0 22px; width:22px; height:22px; margin-top:1px; border-radius:50%; background:var(--hp-grad); color:#fff; display:inline-flex; align-items:center; justify-content:center; }
.hp-ticks--sm li{ font-size:15px; }
.hp-ticks--sm .hp-check{ flex-basis:20px; width:20px; height:20px; }

/* ===== 1. haut de page : video ===== */
.hp-s1{ position:relative; min-height:clamp(440px, 46vw, 560px); display:flex; align-items:center; padding:64px var(--hp-gut); overflow:hidden; color:#fff; background:#0F2440; }
.hp-s1__bg{ position:absolute; inset:0; }
.hp-s1__bg video{ width:100%; height:100%; object-fit:cover; display:block; }
.hp-s1__bg::after{ content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(10,22,40,.72) 0%, rgba(10,22,40,.45) 45%, rgba(10,22,40,.08) 80%); }
.hp-s1__in{ position:relative; z-index:1; width:100%; }
.hp-s1__txt{ max-width:780px; display:flex; flex-direction:column; align-items:flex-start; gap:22px; }
.hp-s1 h1{ color:#fff; font-size:clamp(38px, 5vw, 64px); line-height:1.05; font-weight:800; text-shadow:0 2px 18px rgba(0,0,0,.25); }
.hp-s1__txt p{ font-size:clamp(17px, 1.5vw, 20px); line-height:1.6; color:rgba(255,255,255,.92); max-width:520px; }
.hp-s1__txt .hp-btn{ margin-top:6px; }
.hp-s1__google{ position:absolute; top:-30px; right:0; display:flex; align-items:center; gap:8px; padding:9px 16px; border-radius:100px; background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.35); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); font-size:14px; color:#fff; }
.hp-s1__google img{ background:#fff; border-radius:50%; padding:3px; width:24px; height:24px; }
.hp-s1__google b{ font-size:15px; }
.hp-s1__google span:last-child{ font-weight:600; }
/* bandeau promo date (parts/home_promo_band.php), design #14751 : sombre, compact, macaron a gauche */
.hp-bf-sec{ padding:28px var(--hp-gut) 0; }
.hp-bf{ position:relative; max-width:1200px; margin:0 auto; display:flex; align-items:center; flex-wrap:wrap; gap:24px; padding:14px 28px 14px 18px; border-radius:20px; background-color:#0F1724; background-image:radial-gradient(rgba(255,255,255,.08) 1px, rgba(255,255,255,0) 1.2px); background-size:16px 16px; }
.hp-bf__badge{ position:relative; flex:none; width:100px; height:100px; margin:-14px 0; transform:rotate(-12deg); }
.hp-bf__star{ position:absolute; inset:0; width:100%; height:100%; animation:hpBfSpin 12s linear infinite; transform-origin:50% 50%; }
.hp-bf__star polygon{ fill:#057DCD; }
.hp-bf__star circle{ fill:none; stroke:#fff; stroke-width:1.5; stroke-dasharray:3 3; }
@keyframes hpBfSpin{ to{ transform:rotate(360deg); } }
.hp-bf__badge-txt{ position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; color:#fff; line-height:1; }
.hp-bf__badge-txt b{ font-size:25px; font-weight:800; }
.hp-bf__badge-txt small{ font-size:11px; font-weight:800; letter-spacing:.12em; margin-top:2px; }
.hp-bf__body{ flex:1 1 420px; min-width:0; display:flex; flex-direction:column; align-items:flex-start; gap:6px; }
.hp-bf__line{ display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.hp-bf__pill{ background:#fff; color:#0F1724; font-size:11px; font-weight:800; letter-spacing:.04em; padding:4px 10px; border-radius:999px; }
.hp .hp-bf__title{ margin:0; color:#fff; font-size:20px; line-height:1.3; font-weight:800; letter-spacing:-.01em; }
.hp-bf__hl{ background:#057DCD; border-radius:6px; padding:0 8px; }
.hp .hp-bf__text{ margin:0; color:#D8E0EA; font-size:13px; line-height:1.5; }
.hp-bf__legal{ color:#9FB2C8; }
.hp-bf__cta{ flex:none; display:inline-flex; align-items:center; gap:12px; min-height:44px; padding:4px 4px 4px 18px; border-radius:999px; background:#fff; color:#0F1724; font-size:14px; font-weight:700; text-decoration:none; }
.hp-bf__cta:hover{ color:#0F1724; text-decoration:none; background:#EAF4FB; }
.hp-bf__arrow{ width:36px; height:36px; border-radius:50%; background:#057DCD; color:#fff; display:flex; align-items:center; justify-content:center; }

/* ===== 2. cours : 8 cartes photo ===== */
.hp-s2{ padding-top:64px; }
.hp-s2__grid{ display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:24px; }
/* cartes (maquette .ccard) : hauteur fixe, recadrage par position, au survol : la carte monte, voile bleu, citation revelee */
.hp-s2__card{ position:relative; display:flex; align-items:flex-end; height:400px; border-radius:22px; overflow:hidden; color:#fff; text-decoration:none; background:#D9E7F2; transition:transform .2s ease, box-shadow .2s ease; }
.hp-s2__card img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 40%; display:block; }
.hp-s2__card:nth-child(2) img{ object-position:50% 30%; }
.hp-s2__card:nth-child(3) img{ object-position:50% 25%; }
.hp-s2__card:nth-child(4) img{ object-position:50% 30%; }
.hp-s2__card:nth-child(5) img{ object-position:60% 40%; }
.hp-s2__card:nth-child(6) img{ object-position:45% 40%; }
.hp-s2__card:nth-child(7) img{ object-position:50% 50%; }
.hp-s2__card:nth-child(8) img{ object-position:50% 60%; }
.hp-s2__shade{ position:absolute; inset:0; background:linear-gradient(180deg, rgba(11,37,64,0) 38%, rgba(11,37,64,.82) 100%); }
.hp-s2__shade::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(5,125,205,.1) 0%, rgba(5,100,170,.94) 72%); opacity:0; transition:opacity .25s ease; }
.hp-s2__card:hover, .hp-s2__card:focus-visible{ transform:translateY(-4px); box-shadow:0 20px 40px rgba(11,37,64,.18); color:#fff; text-decoration:none; }
.hp-s2__card:hover .hp-s2__shade::after, .hp-s2__card:focus-visible .hp-s2__shade::after{ opacity:1; }
.hp-s2__txt{ position:relative; z-index:1; display:flex; flex-direction:column; gap:8px; padding:24px; }
.hp-s2__txt b{ font-size:22px; line-height:1.2; font-weight:800; }
.hp-s2__more{ display:block; max-height:0; opacity:0; overflow:hidden; transition:max-height .3s ease, opacity .25s ease; }
.hp-s2__card:hover .hp-s2__more, .hp-s2__card:focus-visible .hp-s2__more{ max-height:160px; opacity:1; }
.hp-s2__quote{ display:block; font-size:15px; line-height:1.55; color:#fff; }
.hp-s2__count{ display:inline-flex; align-items:center; gap:8px; font-size:14px; font-weight:700; color:#fff; }
/* ecran tactile ou etroit : citation et voile bleu toujours visibles, pas d'effet de survol (maquette) */
@media (max-width:1080px), (hover:none){
  .hp-s2__more{ max-height:none; opacity:1; }
  .hp-s2__shade::after{ opacity:1; background:linear-gradient(180deg, rgba(5,100,170,0) 40%, rgba(5,100,170,.55) 70%, rgba(5,90,160,.88) 100%); }
  .hp-s2__card:hover{ transform:none; box-shadow:none; }
}
.hp-s2__ctrl{ display:none; }

/* ===== 3. pourquoi nous ===== */
.hp-s3 .hp-head{ max-width:760px; }
.hp-s3 .hp-head p{ max-width:640px; }
.hp-s3__grid{ display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:20px; }
.hp-s3__card{ background:#fff; border-radius:18px; padding:28px 26px; display:flex; flex-direction:column; gap:10px; box-shadow:0 10px 26px rgba(15,36,64,.06); }
.hp-s3__ic{ width:44px; height:44px; border-radius:12px; background:var(--hp-blue-l); color:var(--hp-blue-d); display:inline-flex; align-items:center; justify-content:center; margin-bottom:6px; }
.hp-s3__card h3{ font-size:19px; line-height:1.25; font-weight:800; }
.hp-s3__card p{ font-size:15px; line-height:1.6; color:var(--hp-muted); }

/* ===== 4. bandeau devis ===== */
.hp-s4{ padding-top:64px; padding-bottom:24px; }
.hp-s4__band{ display:flex; align-items:center; justify-content:space-between; gap:24px 40px; flex-wrap:wrap; padding:34px 48px; border-radius:20px; background:var(--hp-grad); color:#fff; box-shadow:0 18px 40px rgba(62,123,240,.22); }
.hp-s4__txt{ display:flex; flex-direction:column; gap:8px; }
.hp-s4 h2{ color:#fff; font-size:clamp(24px, 2.4vw, 32px); font-weight:800; }
.hp-s4 p{ font-size:16px; color:rgba(255,255,255,.92); }

/* ===== 5. vivre a Londres ===== */
.hp-s5__in{ display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1.05fr); gap:64px; align-items:center; }
.hp-s5__txt{ display:flex; flex-direction:column; align-items:flex-start; gap:22px; }
.hp-s5 h2{ font-size:clamp(34px, 3.8vw, 50px); line-height:1.08; font-weight:800; }
.hp-s5__txt > p{ font-size:18px; line-height:1.7; color:var(--hp-muted); }
.hp-s5__txt .hp-btn{ margin-top:6px; }
.hp-s5__mosaic{ display:grid; grid-template-columns:1fr 1fr; grid-template-rows:repeat(4, 140px); gap:14px; }
.hp-s5__ph{ width:100%; height:100%; object-fit:cover; border-radius:18px; display:block; }
.hp-s5__ph--1{ grid-column:1; grid-row:1 / span 3; }
.hp-s5__ph--2{ grid-column:2; grid-row:1 / span 2; }
.hp-s5__ph--3{ grid-column:1; grid-row:4; }
.hp-s5__ph--4{ grid-column:2; grid-row:3 / span 2; }

/* ===== 6. hebergement ===== */
/* fond commun des sections 6 et 7 (maquette .acc-wwa-band) : un seul degrade, pas de ligne de rupture */
.hp-band67{ background:radial-gradient(900px 520px at 4% 4%, rgba(24,144,216,.14), rgba(24,144,216,0) 62%), radial-gradient(820px 560px at 96% 42%, rgba(124,92,252,.13), rgba(124,92,252,0) 62%), radial-gradient(760px 480px at 8% 78%, rgba(24,144,216,.10), rgba(24,144,216,0) 62%), linear-gradient(180deg, #EEF5FC 0%, #F4F6FE 40%, #F7F9FE 70%, #FFFFFF 100%); }
.hp-s6{ background:transparent; }
.hp-s6__grid{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:24px; }
.hp-s6__card{ position:relative; display:flex; flex-direction:column; background:#fff; border-radius:18px; overflow:hidden; box-shadow:0 12px 30px rgba(15,36,64,.07); }
.hp-s6__card::before{ content:""; position:absolute; left:0; right:0; top:0; height:3px; background:var(--hp-grad); z-index:1; }
.hp-s6__img{ display:block; aspect-ratio:16 / 9.5; overflow:hidden; }
.hp-s6__img img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .45s ease; }
.hp-s6__card:hover .hp-s6__img img{ transform:scale(1.04); }
.hp-s6__body{ display:flex; flex-direction:column; gap:12px; padding:24px 26px 28px; flex:1; }
.hp-s6__body h3{ display:flex; align-items:center; gap:12px; font-size:21px; font-weight:800; }
.hp-s6__ic{ flex:0 0 40px; width:40px; height:40px; border-radius:11px; background:var(--hp-grad); color:#fff; display:inline-flex; align-items:center; justify-content:center; }
.hp-s6__body p{ font-size:15px; line-height:1.6; color:var(--hp-muted); }
.hp-s6__body .hp-more{ margin-top:auto; padding-top:4px; font-size:14px; }

/* ===== 7. l'ecole : accordeon + photo ===== */
.hp-s7{ position:relative; overflow:hidden; background:transparent; padding-top:48px; }
/* image en haut de colonne : ouvrir un volet de l'accordeon ne la deplace plus */
.hp-s7__in{ position:relative; z-index:1; display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1.15fr); gap:48px; align-items:start; }
.hp-s7__txt{ position:relative; display:flex; flex-direction:column; gap:16px; }
/* filigrane (maquette) : place dans la section, derriere le contenu */
.hp-s7__mark{ position:absolute; z-index:0; left:clamp(8px, 3vw, 48px); top:36px; font-size:clamp(80px, 11vw, 168px); line-height:1; font-weight:800; letter-spacing:-.04em; color:rgba(24,144,216,.07); white-space:nowrap; pointer-events:none; user-select:none; }
.hp-s7__visual{ margin-top:24px; }
.hp-s7 h2{ font-size:clamp(32px, 3.4vw, 46px); line-height:1.1; font-weight:800; }
.hp-s7__lead{ font-size:18px; line-height:1.7; color:var(--hp-muted); }
/* facade detouree (maquette) : image du theme, fond transparent, proportions 760 x 919 */
.hp-s7__visual{ width:100%; max-width:560px; margin:0 auto; aspect-ratio:760 / 919; background:url(../images/home-who/school-building.webp) center / contain no-repeat; }
.hp-s7 .hp-acts{ margin-top:16px; }

/* accordeons (ecole, FAQ) */
.hp-acc{ display:flex; flex-direction:column; border-top:1px solid var(--hp-line); margin-top:8px; }
.hp-acc__it{ border-bottom:1px solid var(--hp-line); }
.hp-acc__q{ width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 0; border:0; background:none; font:inherit; font-size:18px; font-weight:700; color:var(--hp-ink); text-align:left; cursor:pointer; }
.hp-acc__q i{ position:relative; flex:0 0 26px; width:26px; height:26px; border-radius:50%; background:var(--hp-blue-l); transition:background .15s; }
.hp-acc__q i::before, .hp-acc__q i::after{ content:""; position:absolute; left:50%; top:50%; width:10px; height:2px; margin:-1px 0 0 -5px; border-radius:2px; background:var(--hp-blue-d); transition:transform .2s; }
.hp-acc__q i::after{ transform:rotate(90deg); }
.hp-acc__it.is-open .hp-acc__q{ color:var(--hp-blue-d); }
.hp-acc__it.is-open .hp-acc__q i{ background:var(--hp-blue-d); }
.hp-acc__it.is-open .hp-acc__q i::before{ background:#fff; }
.hp-acc__it.is-open .hp-acc__q i::after{ transform:rotate(0); background:#fff; }
.hp-acc__a{ display:flex; flex-direction:column; gap:12px; padding:0 0 20px; font-size:15px; line-height:1.65; color:var(--hp-muted); }
.hp-acc__a p{ margin:0; }
.hp-acc__a .hp-acc__tag{ font-weight:700; color:var(--hp-ink); }
.hp-acc__a ul{ margin:0; }

/* ===== 8. temoignages ===== */
.hp-s8{ padding-top:48px; }
.hp-s8__head{ display:flex; align-items:flex-end; justify-content:space-between; gap:20px; flex-wrap:wrap; margin-bottom:36px; }
.hp-s8 h2{ font-size:clamp(30px, 3.4vw, 44px); font-weight:800; }
.hp-s8__score{ display:flex; align-items:center; gap:10px; padding:10px 16px; border-radius:14px; background:#F2F7FC; }
.hp-s8__score b{ font-size:30px; font-weight:800; line-height:1; color:var(--hp-ink); }
.hp-s8__score span{ display:flex; flex-direction:column; font-size:14px; line-height:1.2; }
.hp-s8__score small{ font-size:12px; font-weight:600; color:var(--hp-muted); }
.hp-slider{ position:relative; }
.hp-slider__track{ display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 48px) / 3); gap:24px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; scrollbar-width:none; padding:4px 2px 8px; }
.hp-slider__track::-webkit-scrollbar{ display:none; }
.hp-s8__card{ scroll-snap-align:start; margin:0; display:flex; flex-direction:column; gap:16px; padding:26px 26px 24px; border:1px solid var(--hp-line); border-radius:18px; background:#fff; position:relative; overflow:hidden; }
.hp-s8__card::before{ content:""; position:absolute; left:0; right:0; top:0; height:3px; background:var(--hp-grad); }
.hp-s8__card blockquote{ margin:0; flex:1; font-size:17px; line-height:1.6; color:var(--hp-ink); }
.hp-s8__card figcaption{ display:flex; align-items:center; gap:12px; }
.hp-s8__card figcaption span:last-child{ display:flex; flex-direction:column; }
.hp-s8__card figcaption b{ font-size:15px; }
.hp-s8__card figcaption small{ font-size:13px; color:var(--hp-muted); }
.hp-s8__av{ flex:0 0 38px; width:38px; height:38px; border-radius:50%; background:var(--hp-blue-l); color:var(--hp-blue-d); font-weight:800; display:inline-flex; align-items:center; justify-content:center; }
.hp-slider__nav{ position:absolute; top:calc(50% - 20px); z-index:2; width:44px; height:44px; border-radius:50%; border:1px solid var(--hp-line); background:#fff; color:var(--hp-ink); display:inline-flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 6px 16px rgba(15,36,64,.12); transform:translateY(-50%); }
.hp-slider__nav--prev{ left:-22px; }
.hp-slider__nav--next{ right:-22px; }
.hp-slider__nav:disabled{ opacity:.35; cursor:default; }
.hp-slider__dots{ display:flex; justify-content:center; gap:6px; margin-top:22px; }
.hp-slider__dots span{ width:8px; height:8px; border-radius:8px; background:#C9D7E6; transition:width .2s, background .2s; }
.hp-slider__dots span.is-on{ width:24px; background:var(--hp-blue-d); }
.hp-slider.is-single .hp-slider__nav, .hp-slider.is-single .hp-slider__dots{ display:none; }

/* ===== 9. FAQ ===== */
.hp-s9__in{ display:grid; grid-template-columns:minmax(0, .8fr) minmax(0, 1.2fr); gap:56px; align-items:start; }
.hp-s9__txt{ display:flex; flex-direction:column; align-items:flex-start; gap:16px; }
.hp-s9 h2{ font-size:clamp(32px, 3.4vw, 46px); line-height:1.1; font-weight:800; }
.hp-s9__txt p{ font-size:17px; line-height:1.6; color:var(--hp-muted); }
.hp-s9__txt .hp-btn{ text-transform:uppercase; letter-spacing:.03em; margin-top:6px; }
.hp-acc--box{ background:#fff; border:0; border-radius:20px; padding:10px 30px; margin:0; box-shadow:0 14px 34px rgba(15,36,64,.08); }
.hp-acc--box .hp-acc__it:last-child{ border-bottom:0; }
.hp-acc--box .hp-acc__q{ font-size:17px; padding:20px 0; }
.hp-acc--box .hp-acc__it.is-open .hp-acc__q{ color:var(--hp-ink); }

/* ===== 10. reseaux sociaux ===== */
.hp-s10__grid{ display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); grid-template-rows:repeat(2, 300px); gap:16px; }
.hp-s10__post{ position:relative; display:block; border-radius:18px; overflow:hidden; color:#fff; text-decoration:none; background:linear-gradient(160deg, #CFE3F5 0%, #8FA9C4 100%); }
.hp-s10__post img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.hp-s10__post::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(15,36,64,.12) 0%, rgba(15,36,64,0) 40%, rgba(15,36,64,.35) 100%); }
.hp-s10__post:hover img{ transform:scale(1.04); }
.hp-s10__post--1{ grid-column:1; grid-row:1 / span 2; }
.hp-s10__post--2{ grid-column:2 / span 2; grid-row:1; }
.hp-s10__post--3{ grid-column:4; grid-row:1 / span 2; }
.hp-s10__post--4{ grid-column:2; grid-row:2; }
.hp-s10__post--5{ grid-column:3; grid-row:2; }
.hp-s10__tag{ position:absolute; z-index:1; left:12px; top:12px; max-width:calc(100% - 24px); display:inline-flex; align-items:center; gap:6px; padding:5px 10px; border-radius:100px; background:rgba(15,36,64,.6); font-size:12px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hp-s10__play{ position:absolute; z-index:1; left:50%; top:50%; width:54px; height:54px; margin:-27px 0 0 -27px; border-radius:50%; background:var(--hp-grad); display:flex; align-items:center; justify-content:center; box-shadow:0 10px 24px rgba(62,123,240,.45); transition:transform .2s; }
.hp-s10__play svg{ margin-left:3px; }
.hp-s10__post:hover .hp-s10__play{ transform:scale(1.08); }
.hp-s10__soc{ display:flex; flex-direction:column; align-items:center; gap:14px; margin-top:36px; }
.hp-s10__soc b{ font-size:15px; }
.hp-s10__soc div{ display:flex; gap:12px; }
.hp-s10__soc a{ width:44px; height:44px; border-radius:50%; background:var(--hp-grad); color:#fff; display:inline-flex; align-items:center; justify-content:center; box-shadow:0 8px 18px rgba(62,123,240,.3); transition:transform .15s; }
.hp-s10__soc a:hover{ transform:translateY(-2px); color:#fff; }

/* ===== 11. devis : etapes ===== */
.hp-s11{ padding-top:24px; }
.hp-s11__box{ display:flex; align-items:center; justify-content:space-between; gap:32px 48px; flex-wrap:wrap; padding:52px 56px; border-radius:24px; background:var(--hp-blue-d); color:#fff; }
.hp-s11__txt{ flex:1 1 480px; display:flex; flex-direction:column; gap:14px; }
.hp-s11 h2{ color:#fff; font-size:clamp(30px, 3.4vw, 46px); line-height:1.1; font-weight:800; }
.hp-s11__txt p{ font-size:17px; line-height:1.6; color:rgba(255,255,255,.92); max-width:520px; }
.hp-s11__steps{ list-style:none; counter-reset:hp-step; margin:6px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:10px 22px; }
.hp-s11__steps li{ counter-increment:hp-step; display:inline-flex; align-items:center; gap:8px; font-size:15px; font-weight:700; }
.hp-s11__steps li::before{ content:counter(hp-step); width:24px; height:24px; border-radius:50%; background:#fff; color:var(--hp-blue-d); font-size:13px; font-weight:800; display:inline-flex; align-items:center; justify-content:center; }
.hp-s11__acts{ flex:0 1 300px; display:flex; flex-direction:column; gap:12px; }
.hp-s11__acts .hp-btn{ width:100%; }

/* ===== 12. textes SEO ===== */
.hp-s12{ padding-top:0; padding-bottom:48px; }
.hp-s12__in{ max-width:880px; }
.hp-s12__in[open]{ display:flex; flex-direction:column; gap:36px; }
/* fleche discrete ; le texte n'apparait qu'au clic */
.hp-s12__more{ display:flex; align-items:center; justify-content:center; gap:8px; margin:0 auto; padding:10px 0; list-style:none; cursor:pointer; font-size:14px; font-weight:600; color:var(--hp-muted); }
.hp-s12__more::-webkit-details-marker{ display:none; }
.hp-s12__more:hover{ color:var(--hp-blue-d); }
.hp-s12__more svg{ transition:transform .2s ease; }
.hp-s12__in[open] .hp-s12__more svg{ transform:rotate(180deg); }
.hp-s12__art h2{ font-size:24px; font-weight:800; margin-bottom:12px; }
.hp-s12__art p, .hp-s12__art li{ font-size:15px; line-height:1.7; color:var(--hp-muted); }
.hp-s12__art p + p{ margin-top:10px; }

/* ===== fenetre "Enquire now" ===== */
html.hp-noscroll{ overflow:hidden; }
.hp-modal{ position:fixed; inset:0; z-index:10000; display:flex; align-items:center; justify-content:center; padding:20px; }
.hp-modal[hidden]{ display:none; }
.hp-modal__back{ position:absolute; inset:0; background:rgba(10,22,40,.6); }
.hp-modal__box{ position:relative; width:100%; max-width:720px; max-height:calc(100vh - 40px); overflow-y:auto; background:#fff; border-radius:20px; padding:32px 36px; box-shadow:0 30px 60px rgba(10,22,40,.35); }
.hp-modal__x{ position:absolute; top:22px; right:22px; width:44px; height:44px; border-radius:50%; border:0; background:#F1F5F9; color:var(--hp-ink); display:inline-flex; align-items:center; justify-content:center; cursor:pointer; }
.hp-modal__x:hover{ background:#E2E8F0; }
.hp-modal h2{ font-size:30px; font-weight:800; padding-right:56px; }
.hp-modal__sub{ margin:8px 0 22px !important; font-size:15px; line-height:1.55; color:var(--hp-muted); padding-right:56px; }
.hp-form{ display:flex; flex-direction:column; gap:16px; }
.hp-form__row{ display:grid; gap:16px; }
.hp-form__row--2{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
.hp-form__row--3{ grid-template-columns:minmax(0, .75fr) minmax(0, 1.1fr) minmax(0, 1.2fr); }
.hp-form label{ display:flex; flex-direction:column; gap:6px; margin:0; }
.hp-form label > span{ font-size:14px; font-weight:700; color:var(--hp-ink); }
.hp-form label > span i{ font-style:normal; color:#D92D20; }
.hp-form input[type=text], .hp-form input[type=email], .hp-form input[type=tel], .hp-form select{ width:100%; height:46px; padding:0 14px; border:1px solid #C9D5E2; border-radius:9px; background:#fff; font:inherit; font-size:15px; color:var(--hp-ink); }
.hp-form input:focus, .hp-form select:focus{ outline:none; border-color:var(--hp-blue); box-shadow:0 0 0 3px rgba(24,144,216,.18); }
.hp-form .is-bad{ border-color:#D92D20; }
/* listes avec recherche (Tom Select) : meme aspect que les champs ; liste deroulante au-dessus de la fenetre */
.hp-form .ts-wrapper{ width:100%; }
.hp-form .ts-wrapper .ts-control{ min-height:46px; height:46px; padding:0 34px 0 14px; display:flex; flex-wrap:nowrap; align-items:center; overflow:hidden; border:1px solid #C9D5E2; border-radius:9px; background:#fff; box-shadow:none; font-size:15px; color:var(--hp-ink); cursor:text; }
.hp-form .ts-wrapper.focus .ts-control{ border-color:var(--hp-blue); box-shadow:0 0 0 3px rgba(24,144,216,.18); }
.hp-form .ts-wrapper.is-bad .ts-control{ border-color:#D92D20; }
.hp-form .ts-wrapper .ts-control input{ font-size:15px; min-width:4rem; }
.hp-form .ts-wrapper .ts-control > .item{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
.ts-dropdown{ z-index:10010; }
.hp-form__opt{ flex-direction:row !important; align-items:center; gap:10px !important; font-size:15px; color:var(--hp-text); cursor:pointer; }
.hp-form__opt input{ width:20px; height:20px; flex:0 0 20px; margin:0; }
.hp-form__opt span{ font-weight:400 !important; color:var(--hp-text) !important; font-size:15px !important; }
.hp-form__legal{ font-size:13px; color:var(--hp-muted); text-align:right; }
.hp-form__legal a{ color:var(--hp-blue-d); text-decoration:underline; }
.hp-form__msg{ font-size:14px; color:#B42318; background:#FEF3F2; border-radius:9px; padding:10px 14px; }
.hp-form__msg span{ display:block; }
.hp-form__send{ width:100%; text-transform:uppercase; letter-spacing:.04em; min-height:54px; }
.hp-form__send:disabled{ opacity:.6; cursor:default; transform:none; }
.hp-form__thanks{ padding:24px 0 8px; font-size:17px; line-height:1.6; text-align:center; color:var(--hp-ink); }

/* ============================================================ responsive */
@media (max-width:1100px){
  .hp-s2__grid, .hp-s3__grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .hp-s5__in, .hp-s7__in, .hp-s9__in{ grid-template-columns:1fr; gap:40px; }
  .hp-s7__visual{ max-width:440px; }
  .hp-s7__visual{ margin-top:0; }
  .hp-s6__grid{ grid-template-columns:1fr; max-width:560px; margin:0 auto; }
  .hp-slider__track{ grid-auto-columns:calc((100% - 24px) / 2); }
  .hp-slider__nav--prev{ left:-6px; }
  .hp-slider__nav--next{ right:-6px; }
  /* publications : defilement horizontal (maquette mobile), les 5 restent visibles */
  .hp-s10__grid{ display:flex; gap:14px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-padding-inline:var(--hp-gut); scrollbar-width:none; margin:0 calc(-1 * var(--hp-gut)); padding:0 var(--hp-gut) 4px; }
  .hp-s10__grid::-webkit-scrollbar{ display:none; }
  .hp-s10__post{ flex:0 0 clamp(200px, 44vw, 300px); aspect-ratio:9 / 15; scroll-snap-align:start; }
  .hp-s10 .hp-swipe{ display:block; }
}
@media (max-width:767px){
  .hp-sec{ padding-top:56px; padding-bottom:56px; }
  .hp-head{ margin-bottom:30px; }
  .hp-s1{ min-height:520px; align-items:flex-end; padding-bottom:40px; }
  .hp-s1__bg::after{ background:linear-gradient(180deg, rgba(10,22,40,.15) 0%, rgba(10,22,40,.75) 75%); }
  .hp-s1__google{ position:static; align-self:flex-start; margin-bottom:18px; }
  .hp-s1__in{ display:flex; flex-direction:column-reverse; }
  /* cours : defilement horizontal, citation, "Swipe to see more" et "Show all courses" (maquette mobile) */
  .hp-s2__grid{ display:flex; gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-padding-inline:var(--hp-gut); scrollbar-width:none; margin:0 calc(-1 * var(--hp-gut)); padding:0 var(--hp-gut) 4px; }
  .hp-s2__grid::-webkit-scrollbar{ display:none; }
  .hp-s2__card{ flex:0 0 78%; height:340px; scroll-snap-align:center; }
  .hp-s2__txt{ padding:20px; }
  .hp-s2__txt b{ font-size:20px; }
  .hp-s2__quote{ font-size:14px; line-height:1.45; }
  /* "Show all courses" : toutes les cartes sur une colonne, sans defilement (maquette .course-grid.is-all) */
  .hp-s2__grid.is-all{ display:grid; grid-template-columns:minmax(0, 1fr); overflow:visible; margin:0; padding:0; }
  .hp-s2__grid.is-all .hp-s2__card{ flex:none; }
  .hp-s2__ctrl{ display:flex; flex-direction:column; align-items:center; gap:12px; margin-top:12px; }
  .hp-s2__ctrl .hp-swipe{ display:block; margin:0; }
  .hp-s2__grid.is-all ~ .hp-s2__ctrl .hp-swipe{ display:none; }
  .hp-s2__all{ width:100%; min-height:46px; }
  .hp-s5__txt .hp-btn{ align-self:stretch; }
  .hp-s8__head{ flex-direction:column; align-items:flex-start; }
  .hp-s8 .hp-slider__dots{ display:none; }
  .hp-s8 .hp-swipe{ display:block; }
  .hp-s11__steps{ flex-direction:column; gap:12px; }
  .hp-s3__grid{ grid-template-columns:1fr; }
  .hp-s4__band{ padding:28px 24px; }
  .hp-s4__band .hp-btn{ width:100%; }
  .hp-s5__mosaic{ grid-template-rows:repeat(4, 90px); gap:10px; }
  .hp-slider__track{ grid-auto-columns:88%; gap:14px; }
  .hp-slider__nav{ display:none; }
  .hp-acc--box{ padding:4px 20px; }
  .hp-s10__post{ flex-basis:72%; }
  .hp-s11__box{ padding:36px 24px; }
  .hp-s11__acts{ flex-basis:100%; }
  .hp-modal{ padding:0; align-items:flex-end; }
  .hp-modal__box{ max-height:100vh; border-radius:20px 20px 0 0; padding:26px 20px 24px; }
  .hp-modal h2{ font-size:24px; }
  .hp-modal__x{ top:16px; right:16px; }
  .hp-form__row--2, .hp-form__row--3{ grid-template-columns:1fr; gap:14px; }
  .hp-form__legal{ text-align:left; }
}
/* bandeau promo sur mobile (maquette) : macaron masque, contenu sur plusieurs lignes */
@media (max-width:680px){
  .hp-bf{ padding:24px 22px 26px; gap:18px; justify-content:flex-start; }
  .hp-bf__badge{ display:none; }
  .hp-bf__body{ flex:1 1 100%; }
  .hp .hp-bf__title{ font-size:21px; }
}
@media (prefers-reduced-motion:reduce){
  .hp-bf__star{ animation:none; }
  .hp *{ transition:none !important; scroll-behavior:auto !important; }
}
