:root {
  --paper: #f7f6f2;
  --line: #e3e5eb;
  --radius: 20px;
  --shadow-sm: 0 4px 18px rgba(20, 41, 90, .045);
  --shadow: 0 14px 40px rgba(20, 41, 90, .09);
}
html { scroll-padding-top: 112px; }
[id] { scroll-margin-top: 112px; }
body, #site { background: #fff; }
#site p, #site .ptext, #site .content { font-family: var(--font); }
h1, h2, h3 { letter-spacing: -.035em; }
.eyebrow { letter-spacing: .13em; }
.btn-x { box-sizing: border-box; min-height: 46px; border-radius: 12px; }
.btn-x:active { transform: translateY(0); }
.site-header { background: #fff; }
.header-inner { gap: 18px; }
.nav-links a { padding-inline: 10px; font-size: 14px; }
.site-nav { gap: 14px; }
.site-header #searchbox > input { width: 142px; }
.site-header #searchbox > input:focus { width: 170px; }
.nav-cta { padding-inline: 17px; }

.hero-shell { background: var(--paper); }
.page-home .hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; gap: 48px; max-width: 1200px; min-height: 0;
  margin: 0 auto; padding: 54px 24px 48px; background: var(--paper); box-sizing: border-box;
}
.page-home main { background: #fff; }
.page-home .hero::before { content: none; }
.page-home .hero-text { position: relative; z-index: 1; grid-column: 1; grid-row: 1; background: none; min-width: 0; }
.page-home .hero-text-inner { padding: 8px 0; }
.page-home .hero .eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 20px; color: var(--navy); font-size: 11px; font-weight: 600; }
.page-home .hero .eyebrow::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--red); }
.page-home .hero h1 { margin: 0 0 22px; color: var(--navy); font-size: clamp(36px, 4.1vw, 55px); line-height: 1.12; font-weight: 700; }
.page-home .hero h1 span { color: var(--red); }
.page-home .hero-lead { max-width: 490px; margin: 0 0 26px; color: var(--body); font-size: 17px; line-height: 1.7; }
.page-home .hero-actions { display: flex; gap: 10px; margin: 0 0 18px; }
.page-home .hero-actions .btn-x { min-height: 52px; height: auto; padding: 14px 20px; font-size: 15px; }
.page-home .hero-actions .btn-wa { color: var(--navy); background: #fff; border: 1px solid #ccd2df; box-shadow: none; }
.page-home .hero-actions .btn-wa:hover { background: #edf0f6; border-color: var(--navy); }
.page-home .hero-call { margin: 0 0 24px; color: var(--muted); font-size: 13px; text-align: left; }
.page-home .hero-call a { color: var(--navy); }
.page-home .hero-points { display: flex; gap: 8px; color: var(--navy); font-size: 12px; }
.page-home .hero-points li { padding: 6px 10px; border: 1px solid #dfe1e6; border-radius: 6px; background: rgba(255,255,255,.7); }
.page-home .hero-media { position: relative; z-index: 1; inset: auto; grid-column: 2; grid-row: 1; width: 100%; min-height: 0; height: 470px; max-height: none; aspect-ratio: auto; border-radius: 24px; }
.page-home .hero-media::after { content: none; }
.page-home .hero-media picture, .page-home .hero-media img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: 55% 35%; }
.hero-caption { position: absolute; left: 22px; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.8); border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: var(--shadow-sm); color: var(--navy); }
.hero-chip { display: none; }
.hero-caption > span:first-child { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--red); background: var(--red-tint); flex: none; }
.hero-caption strong, .hero-caption small { display: block; }
.hero-caption strong { font-size: 15px; }
.hero-caption small { margin-top: 2px; color: var(--muted); font-size: 12px; }
.page-home .facts { margin: 0; padding: 0 0 22px; background: var(--paper); }
.page-home .facts-grid { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: none; padding: 0; }
.page-home .fact { padding: 20px; align-items: center; }
.page-home .fact-icon { width: 38px; height: 38px; background: transparent; color: var(--navy); }
.page-home .fact strong { color: var(--navy); font-size: 15px; }
.page-home .fact div > span { color: var(--muted); font-size: 12px; }

.section { padding-block: 76px; }
.section-head { margin-bottom: 34px; }
.section-head h2 { font-size: clamp(27px, 3vw, 37px); }
.section-alt { background: var(--paper); }
.page-home #matieres { background: #fff; }
.subject-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.subject-card { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border-radius: 18px; border: 1px solid var(--line); box-shadow: none; min-width: 0; }
.subject-card:hover { border-color: #b1bbce; box-shadow: var(--shadow); transform: translateY(-4px); }
.subject-icon { width: 58px; height: 58px; border-radius: 16px; background: var(--paper); margin: 0 0 22px; }
.subject-icon img { display: block; width: 36px; height: 36px; }
.subject-card h3 { margin: 0 0 12px; font-size: 23px; }
.subject-card > p:not(.subject-time) { display: block; margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.subject-card .subject-time { display: flex; align-items: flex-start; width: 100%; box-sizing: border-box; margin: auto 0 0; padding: 14px 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; font-size: 13px; }
.subject-time .ico { display: block; color: var(--red); margin-top: 2px; }
.subject-time strong { display: block; }
.subject-discover { margin-top: 12px; color: var(--red); font-size: 13px; font-weight: 600; }
.subject-discover span { margin-left: 8px; transition: margin .2s; }
.subject-card:hover .subject-discover span { margin-left: 13px; }
.feature-card, .explore-card { border-radius: 18px; }
.feature-card { box-shadow: none; }
.feature-body { padding: 24px; }
.feature-body p:last-child { font-size: 14px; line-height: 1.7; }
.faq-item { box-shadow: none; border-radius: 14px; }
.faq-item[open] { border-color: #bdc6d7; }
.faq-item summary { min-height: 44px; box-sizing: border-box; }

.page-hero { padding: 34px 0 38px; background: var(--paper); color: var(--navy); border-bottom: 1px solid var(--line); }
.page-hero h1 { color: var(--navy); font-size: clamp(30px, 3.4vw, 44px); }
.page-hero p { color: var(--muted); font-size: 16px; }
.page-hero .breadcrumb { margin-bottom: 15px; color: var(--muted); font-size: 12px; }
.page-hero .breadcrumb a { color: var(--muted); }
.page-hero .breadcrumb a:hover { color: var(--navy); }
.page-hero .breadcrumb [aria-current] { color: var(--navy); }
.course-jump { display: flex; gap: 9px; flex-wrap: wrap; padding: 18px 24px; }
.course-jump a { padding: 9px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); font-size: 13px; font-weight: 500; text-decoration: none; background: #fff; }
.course-jump a:hover { border-color: var(--navy); background: var(--paper); }
.course-jump .course-enquiry { margin-left: auto; color: #fff; border-color: var(--red); background: var(--red); }
.course-jump .course-enquiry:hover { background: var(--red-700); border-color: var(--red-700); }
.subject-layout { gap: 36px; grid-template-columns: minmax(0,1fr) 320px; }
.subject-figure { box-shadow: none; }
.subject-lead { font-size: 17px; }
.level-grid { grid-template-columns: 1fr; gap: 14px; }
.level-card { padding: 24px; border-top: 1px solid var(--line); box-shadow: none; }
.level-card h3 { margin-bottom: 16px; }
.level-card .check-list { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 24px; }
.level-choice { display: inline-flex; align-items: center; gap: 10px; padding: 10px 0 0; margin-top: 14px; color: var(--red); font-size: 13px; font-weight: 600; text-decoration: none; }
.level-choice:hover { text-decoration: underline; }
.level-choices { display: flex; flex-wrap: wrap; gap: 0 22px; }
.info-card, .contact-card { background: var(--navy); background-image: none; box-shadow: none; }
.info-card-light { background: var(--paper); }
.section-content { padding-top: 38px; }

.contact-layout { grid-template-columns: minmax(0, 330px) minmax(0,1fr); gap: 28px; }
.contact-card { padding: 28px; }
#top-content.contact-form { padding: 34px; box-shadow: var(--shadow-sm); border-radius: 20px; }
.contact-form-head { margin-bottom: 24px; }
.contact-form-head h2 { margin: 0 0 10px !important; font-size: 25px; }
.form-kicker { margin: 0 0 8px; color: var(--red); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.contact-form-head .lead-text { margin-bottom: 12px; font-size: 14px; }
.lead-required { margin: 0; color: var(--muted); font-size: 12px; }
.lead-context { margin: 0 0 20px; padding: 13px 16px; border: 1px solid #c9d3e3; border-radius: 10px; color: var(--navy); background: #f0f3f9; font-size: 14px; }
.lead-progress { margin-bottom: 14px; gap: 16px; }
.lead-progress li { font-size: 13px; border-top-width: 3px; }
.lead-step-label { margin-bottom: 20px; }
.lead-form .field { margin-bottom: 20px; }
.lead-form input[type=text], .lead-form input[type=tel] { min-height: 52px; border-radius: 10px; background: #fcfcfd; }
.lead-form input:focus { background: #fff; }
.lead-form .field-hint { font-size: 12px; }
.lead-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 24px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.lead-summary-label { display: block; margin-bottom: 3px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.lead-summary p { margin: 0; font-size: 13px; color: var(--navy); overflow-wrap: anywhere; }
.lead-summary .lead-back { min-height: 42px; padding: 8px 12px; font-size: 12px; color: var(--navy); background: #fff; border: 1px solid var(--line); }
.lead-selection-hint { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.lead-form .chip { min-height: 46px; }
.lead-status:empty { display: none; }
.lead-status[data-state=error] { margin: 16px 0 0; padding: 14px 16px; color: #9e1720; background: #fff1f2; border: 1px solid #f3c8cc; border-radius: 10px; font-size: 14px; }
.lead-status[data-state=pending] { color: var(--muted); font-size: 14px; }
.cta { background: var(--navy); background-image: none; }
.site-footer { background: var(--navy-900); }

@media (min-width: 1100px) and (max-width: 1279px) {
  .site-header #searchbox > input { width: 42px; }
  .site-header #searchbox > input:focus { width: 210px; }
  .header-inner, .site-nav { gap: 9px; }
  .brand img { height: 48px; }
  .nav-links a { padding-inline: 8px; font-size: 13px; }
}
@media (max-width: 1199px) {
  .page-home .hero::before { inset: 0; }
}
@media (max-width: 1099px) {
  .page-home .hero { gap: 30px; padding-top: 36px; }
  .page-home .hero-media { height: 410px; }
  .page-home .hero h1 { font-size: 39px; }
  .nav-links a { padding: 12px 16px; font-size: 18px; }
  .site-header #searchbox > input, .site-header #searchbox > input:focus { width: 100%; }
  .subject-card:last-child { grid-column: auto; }
  .subject-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 280px minmax(0,1fr); gap: 22px; }
  #top-content.contact-form { padding: 26px; }
  .contact-card { padding: 24px; }
}
@media (max-width: 767px) {
  html { scroll-padding-top: 80px; }
  [id] { scroll-margin-top: 80px; }
  .page-home .hero { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 0; max-width: none; min-height: 0; margin: 0; padding: min(74vw, 320px) 20px 24px; overflow: hidden; background: var(--navy-900); }
  .page-home .hero-text, .page-home .hero-text-inner { display: contents; }
  .page-home .hero-media { position: absolute; inset: 0; z-index: -1; width: auto; height: auto; margin: 0; border-radius: 0; }
  .page-home .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,27,61,0) 0%, rgba(12,27,61,.25) 34%, rgba(12,27,61,.92) 68%, var(--navy-900) 100%); pointer-events: none; }
  .page-home .hero-media picture, .page-home .hero-media img { border-radius: 0; object-position: 40% 10%; }
  .hero-caption { display: none; }
  .page-home .hero-chip { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.96); color: var(--navy); }
  .hero-chip > span:first-child { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; color: var(--red); background: var(--red-tint); }
  .hero-chip strong, .hero-chip small { display: block; line-height: 1.25; }
  .hero-chip strong { font-size: 13px; }
  .hero-chip small { margin-top: 1px; color: var(--muted); font-size: 11px; }
  .page-home .hero .eyebrow, .page-home .hero-call, .page-home .hero-points { display: none; }
  .page-home .hero h1 { margin: 0 0 12px; color: #fff; font-size: min(32px, calc((100vw - 40px) / 12.3)); line-height: 1.1; white-space: nowrap; }
  .page-home .hero h1 span { color: #ff8f95; }
  .page-home .hero-lead { max-width: none; margin: 0 0 16px; color: rgba(255,255,255,.88); font-size: 14.5px; line-height: 1.6; }
  .page-home .hero-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 0; }
  .page-home .hero-actions .btn-x { height: auto; min-height: 50px; padding: 12px 14px; font-size: 13px; }
  .page-home .hero-actions .btn-accent .ico { display: none; }
  .page-home .facts { padding: 18px 18px 24px; }
  .page-home .facts .facts-grid { padding: 0; gap: 0; border-radius: 14px; }
  .page-home .facts .fact { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; border: 0; border-radius: 0; background: none; }
  .page-home .facts .fact:nth-child(even) { border-left: 1px solid var(--line); }
  .page-home .facts .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .page-home .facts .fact > div { display: block; }
  .page-home .facts .fact-icon { display: none; }
  .page-home .facts .fact strong { display: block; color: var(--navy); font-size: 13px; white-space: normal; }
  .page-home .facts .fact div > span { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
  .section { padding-block: 44px; }
  .section-head { margin-bottom: 24px; }
  .subject-grid { grid-template-columns: 1fr; gap: 14px; }
  .subject-card { display: grid; grid-template-columns: 48px minmax(0,1fr); align-items: start; column-gap: 16px; padding: 22px; }
  .subject-icon { grid-column: 1; grid-row: 1 / span 2; width: 48px; height: 48px; margin: 0; border-radius: 12px; }
  .subject-icon img { width: 32px; height: 32px; }
  .subject-card h3 { grid-column: 2; margin: 0 0 8px; font-size: 21px; }
  .subject-card > p:not(.subject-time) { grid-column: 2; margin: 0 0 16px; font-size: 13px; line-height: 1.6; }
  .subject-card .subject-time, .subject-discover { grid-column: 1 / -1; }
  .subject-card .subject-time { padding: 12px 0 0; font-size: 12px; }
  .subject-time strong { display: inline; }
  .subject-time .ico { display: block; }
  .subject-discover { margin-top: 10px; font-size: 12px; }
  .page-hero { padding: 24px 0 28px; }
  .page-hero h1 { font-size: 30px; }
  .page-contact .page-hero { padding: 24px 0; }
  .page-contact .page-hero p { font-size: 14px; }
  .course-jump { padding: 16px 18px 8px; gap: 7px; }
  .course-jump a { font-size: 12px; padding: 9px 12px; }
  .course-jump .course-enquiry { width: 100%; margin: 3px 0 0; padding: 12px; text-align: center; }
  .section-content { padding-top: 26px; }
  .subject-lead { font-size: 15px; line-height: 1.75; }
  .level-card { padding: 20px; }
  .level-card .check-list { grid-template-columns: 1fr; }
  .level-choice { font-size: 13px; }
  .contact-layout { display: flex; flex-direction: column; gap: 24px; }
  .contact-layout > * { width: 100%; box-sizing: border-box; }
  .contact-layout .contact-card { position: static; order: 2; }
  #top-content.contact-form { padding: 22px 18px; border-radius: 16px; }
  .contact-form-head { margin-bottom: 22px; }
  .contact-form-head h2 { font-size: 22px; }
  .page-contact .contact-form-head .lead-text { display: block; margin-bottom: 10px; font-size: 13px; }
  .lead-required { font-size: 11px; }
  .lead-progress li { font-size: 12px; gap: 7px; }
  .lead-summary { padding: 12px; gap: 8px; }
  .lead-summary .lead-back { padding: 8px; }
  .lead-summary p { font-size: 12px; }
  .lead-form .lead-actions .btn-x { width: 100%; min-height: 50px; }
  .lead-form .lead-summary .lead-back { width: auto; }
  .lead-context { padding: 12px; font-size: 12px; }
  .page-contact .map-section { padding-top: 4px; }
}
@media (max-width: 359px) {
  .page-home .hero-actions { grid-template-columns: 1fr; }
  .page-home .hero-points { gap: 4px; }
  .page-home .hero-points li { padding-inline: 6px; font-size: 9px; }
  .subject-card { padding: 18px; column-gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}
@media print {
  .page-home .hero::before, .hero-caption, .course-jump { display: none; }
  .page-home .hero, .page-hero { background: #fff; }
}
