:root {
  --cream: #F7F3EC;
  --cream-deep: #EFE6D6;
  --paper: #FFFDF9;
  --line: #E8E0D2;
  --line-soft: #EDE5D7;
  --chip: #D9CBB3;
  --teal: #0F3B3D;
  --teal-dark: #0A2A2C;
  --teal-ink: #10302F;
  --aqua: #7FCFC7;
  --gold: #E3C99C;
  --bronze: #8C6A3E;
  --bronze-soft: #B08D5E;
  --muted: #4A5F5E;
  --muted-2: #6E7F7E;
  --on-teal: #C9DAD8;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  font-family: var(--sans);
  color: var(--teal-ink);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal); text-decoration: none; transition: color .2s, background .2s, border-color .2s; }
a:hover { color: var(--bronze); }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
p { margin: 0; }

.icon {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  display: inline-block;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
}

/* overflow-x: clip (not hidden) so the sticky header keeps working */
.page { min-height: 100vh; overflow-x: clip; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .2em; color: var(--bronze); }
.eyebrow--gold { color: var(--gold); }

/* Photo frame: fills its box, cover-cropped, teal fallback when image missing */
.photo {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1d5a5b, #0F3B3D 60%, #0A2A2C);
  overflow: hidden;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--placeholder {
  background: repeating-linear-gradient(135deg, #EFE6D6 0 14px, #E8DCC7 14px 28px);
  display: flex; align-items: center; justify-content: center;
  color: var(--bronze); font-size: 14px; font-weight: 500;
}
.photo-credit {
  position: absolute; left: 8px; bottom: 8px;
  font-size: 11px; color: #fff; background: rgba(0,0,0,.45);
  padding: 3px 8px; border-radius: 6px;
}
.photo-credit a { color: #fff; text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 999px;
  white-space: nowrap;
}
.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-dark); color: #fff; }
.btn--ghost-light { border: 1.5px solid #fff; color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--teal); }
.btn--ghost-faint { border: 1.5px solid rgba(255,255,255,.55); color: #fff; }
.btn--ghost-faint:hover { border-color: #fff; color: #fff; }
.btn--aqua { background: var(--aqua); color: var(--teal); font-weight: 700; border: 1.5px solid var(--aqua); }
.btn--aqua:hover { background: #A6E0DA; border-color: #A6E0DA; color: var(--teal); }
.btn--gold { background: var(--gold); color: var(--teal); font-weight: 700; padding: 15px 24px; }
.btn--gold:hover { background: #fff; color: var(--teal); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247,243,236,.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.site-header__inner {
  max-width: 1320px; margin: 0 auto; padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  transition: padding .35s cubic-bezier(.2,.8,.2,1);
}
.site-header__logo img { height: 46px; transition: height .35s cubic-bezier(.2,.8,.2,1); }
.site-header.is-scrolled {
  background: rgba(247,243,236,.98);
  border-color: transparent;
  box-shadow: 0 10px 30px -18px rgba(15,59,61,.35);
}
.site-header.is-scrolled .site-header__inner { padding-top: 8px; padding-bottom: 8px; }
.site-header.is-scrolled .site-header__logo img { height: 38px; }
@media (prefers-reduced-motion: reduce) {
  .site-header, .site-header__inner, .site-header__logo img { transition: none; }
}
.site-nav {
  display: flex; gap: 2px; flex-wrap: wrap; justify-content: center;
  font-size: 14px; font-weight: 500;
}
.site-nav a { padding: 10px 16px; border-radius: 999px; }
.site-nav a:hover { background: var(--cream-deep); }
.site-nav a[aria-current="page"] { background: var(--cream-deep); color: var(--bronze); }
@media (max-width: 1099px) {
  .site-nav { order: 3; flex-basis: 100%; }
}

/* Mobile menu (hamburger) */
.nav-toggle { display: none; }
.site-nav .nav-cta { display: none; }
@media (max-width: 860px) {
  .header-cta { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; padding: 0 12px; border-radius: 50%;
    border: 1px solid var(--chip); background: var(--paper); cursor: pointer;
    transition: background .2s;
  }
  .nav-toggle:hover { background: var(--cream-deep); }
  .nav-toggle span {
    display: block; height: 2px; border-radius: 2px; background: var(--teal);
    transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .2s;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; flex-wrap: nowrap; gap: 4px; align-items: stretch;
    padding: 12px 16px 20px; font-size: 17px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -28px rgba(15,59,61,.45);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s linear .3s;
  }
  .site-nav a { padding: 14px 16px; border-radius: 14px; }
  .site-header.menu-open .site-nav {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .25s ease, transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s;
  }
  .site-header.menu-open { box-shadow: none; }
  .site-nav .nav-cta { display: inline-flex; justify-content: center; margin-top: 10px; padding: 15px 22px; border-radius: 999px; color: #fff; }
  .site-nav .nav-cta:hover { background: var(--teal-dark); color: #fff; }
}
@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
  .site-nav, .nav-toggle span { transition: none !important; }
}

/* Hero */
.hero { position: relative; min-height: 680px; border-radius: 0 0 48px 48px; overflow: hidden; }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(9,40,42,.92) 0%, rgba(9,40,42,.7) 38%, rgba(9,40,42,.15) 72%, rgba(9,40,42,.05) 100%);
}
.hero__inner {
  position: relative; max-width: 1320px; margin: 0 auto;
  padding: 72px 32px 180px;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; flex-wrap: wrap;
}
.hero__copy { display: flex; flex-direction: column; gap: 26px; max-width: 640px; color: #fff; }
.hero__kicker { font-size: 14px; font-weight: 600; letter-spacing: .2em; color: var(--gold); }
.hero h1 { font-size: clamp(46px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -.01em; }
.hero h1 em { color: var(--gold); }
.hero__lead { font-size: 18px; line-height: 1.6; color: #E4EEEC; max-width: 520px; text-wrap: pretty; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__facts {
  display: flex; flex-direction: column; gap: 4px;
  background: rgba(247,243,236,.16);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.3); border-radius: 20px;
  padding: 20px 24px; color: #fff; min-width: 300px;
}
.hero__fact { display: flex; align-items: center; gap: 14px; padding: 10px 0; font-size: 15px; }
.hero__fact + .hero__fact { border-top: 1px solid rgba(255,255,255,.18); }
.hero__fact .icon { font-size: 22px; color: var(--gold); }

/* Services */
.services {
  position: relative; z-index: 2;
  max-width: 1320px; margin: -120px auto 0; padding: 0 32px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px;
  scroll-margin-top: 100px;
}
.service {
  position: relative; background: var(--paper); border-radius: 24px;
  box-shadow: 0 24px 60px -30px rgba(15,59,61,.35);
  overflow: hidden; display: flex; flex-direction: column;
}
.service__media {
  position: absolute; top: 0; left: 0; right: 0; height: 190px;
  clip-path: polygon(34% 0, 100% 0, 100% 64%, 0 100%, 0 38%);
}
.service__body { position: relative; padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.service__badge {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--cream-deep); border: 6px solid var(--paper);
  box-shadow: 0 8px 20px -10px rgba(15,59,61,.4);
  display: flex; align-items: center; justify-content: center;
}
.service__badge .icon { font-size: 30px; color: var(--bronze); }
.service h3 { font-size: 32px; margin-top: 96px; }
.service__desc { font-size: 15px; line-height: 1.6; color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 6px 0 10px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.checklist li { display: flex; gap: 10px; align-items: center; }
.checklist .icon { color: var(--bronze-soft); }
.text-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px;
  text-decoration: underline; text-underline-offset: 4px;
}

/* Duo */
.duo { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%); margin-top: 96px; padding: 96px 0; }
.duo__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: center; }
.duo__intro { display: flex; flex-direction: column; gap: 24px; max-width: 520px; }
.section-title { font-size: clamp(40px, 4.6vw, 60px); line-height: 1.04; }
.duo__intro p { font-size: 17px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.duo__intro .btn { align-self: flex-start; }
.duo__people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.person { background: var(--paper); border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px -34px rgba(15,59,61,.4); display: flex; flex-direction: column; }
.person__photo { position: relative; height: 320px; }
.person__body { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.person__name { font-family: var(--serif); font-size: 26px; }
.person__role { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--muted-2); }
.person__id { display: flex; flex-direction: column; gap: 4px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; font-size: 13px; }
.chips span { border: 1px solid var(--chip); border-radius: 999px; padding: 5px 12px; }

/* Zones */
.zones { background: var(--teal); color: #fff; padding: 88px 0; }
.zones .container { display: flex; flex-direction: column; gap: 48px; }
.zones__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.zones__intro { display: flex; flex-direction: column; gap: 18px; max-width: 620px; }
.zones__intro .amp { color: var(--aqua); }
.zones__intro p { font-size: 17px; line-height: 1.6; color: var(--on-teal); }
.zones .btn--ghost-light { border-color: rgba(255,255,255,.6); }
.zones__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.zone { border: 1px solid rgba(255,255,255,.16); border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.04); }
.zone__photo { position: relative; height: 200px; }
.zone__body { padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.zone__name { font-family: var(--serif); font-size: 24px; }
.zone__sub { font-size: 14px; color: var(--on-teal); }

/* Stats */
.stats {
  max-width: 1320px; margin: 0 auto; padding: 80px 32px 32px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 32px; text-align: center;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.stat .icon { font-size: 36px; color: var(--bronze-soft); }
.stat__value { font-size: 26px; font-weight: 700; }
.stat__label { font-size: 15px; color: var(--muted); }

/* Testimonials */
.testimonials { max-width: 1320px; margin: 0 auto; padding: 72px 32px 96px; display: flex; flex-direction: column; gap: 36px; }
.testimonials__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.testimonials__head > div { display: flex; flex-direction: column; gap: 14px; }
.testimonials h2 { font-size: clamp(34px, 3.6vw, 48px); line-height: 1.05; }
.carousel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; }
.round-btn {
  width: 48px; height: 48px; flex: none; border-radius: 50%;
  border: 1px solid var(--chip); background: var(--paper);
  cursor: pointer; color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -16px rgba(15,59,61,.45);
  transition: background .2s, transform .2s cubic-bezier(.2,.8,.2,1);
}
.round-btn .icon { font-size: 22px; }
.round-btn:hover { background: var(--cream-deep); }
.round-btn:active { transform: scale(.94); }
/* Column count is set from JS (--cols) to match the number of cards rendered */
.quotes { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.quotes.slide-next .quote { animation: quote-in-next .45s cubic-bezier(.2,.8,.2,1) both; }
.quotes.slide-prev .quote { animation: quote-in-prev .45s cubic-bezier(.2,.8,.2,1) both; }
.quotes .quote:nth-child(2) { animation-delay: .04s; }
.quotes .quote:nth-child(3) { animation-delay: .08s; }
@keyframes quote-in-next { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes quote-in-prev { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .quotes .quote { animation: none !important; } }
@media (max-width: 640px) {
  .carousel { gap: 10px; }
  .round-btn { width: 40px; height: 40px; }
  .quote { padding: 24px; }
}
.quote {
  background: var(--paper); border-radius: 20px; padding: 32px;
  display: flex; flex-direction: column; gap: 22px;
  box-shadow: 0 20px 50px -34px rgba(15,59,61,.35);
  margin: 0;
}
.quote__mark { font-family: var(--serif); font-size: 56px; line-height: .6; color: var(--bronze-soft); height: 28px; }
.quote blockquote { font-size: 16px; line-height: 1.65; margin: 0; flex: 1; text-wrap: pretty; }
.quote figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--muted); }
.quote__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: var(--gold); display: flex; align-items: center; justify-content: center; }

/* Exercises banner */
.banner-wrap { max-width: 1320px; margin: 0 auto 24px; padding: 0 32px; }
.banner {
  background: var(--teal); color: #fff; border-radius: 28px; padding: 40px 48px;
  display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap;
}
.banner__left { display: flex; gap: 22px; align-items: center; }
.banner__icon { width: 64px; height: 64px; flex: none; border-radius: 50%; background: rgba(227,201,156,.16); display: flex; align-items: center; justify-content: center; }
.banner__icon .icon { font-size: 32px; color: var(--gold); }
.banner__text { display: flex; flex-direction: column; gap: 6px; }
.banner__title { font-family: var(--serif); font-size: 32px; line-height: 1.1; }
.banner__sub { font-size: 16px; color: var(--on-teal); }

/* Contact CTA */
.cta-wrap { max-width: 1320px; margin: 0 auto 64px; padding: 0 32px; }
.cta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); background: var(--cream-deep); border-radius: 28px; overflow: hidden; }
.cta__photo { position: relative; min-height: 280px; }
.cta__body { padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta__copy { display: flex; flex-direction: column; gap: 14px; max-width: 440px; }
.cta__copy .eyebrow { font-size: 13px; }
.cta__copy h2 { font-size: clamp(30px, 3vw, 40px); line-height: 1.08; }
.cta__copy p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.cta .btn { padding: 15px 24px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer__inner { max-width: 1320px; margin: 0 auto; padding: 28px 32px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }

@media (max-width: 640px) {
  .container, .site-header__inner, .hero__inner, .services, .stats,
  .testimonials, .banner-wrap, .cta-wrap, .site-footer__inner { padding-left: 16px; padding-right: 16px; }
  .hero__facts { min-width: 0; width: 100%; }
  .banner, .cta__body { padding: 32px 24px; }
}

/* ---------- Shared bits for inner pages ---------- */
.photo--top img { object-position: center 25%; }
.clip-oct { clip-path: polygon(18% 0, 100% 0, 100% 82%, 82% 100%, 0 100%, 0 18%); }
.clip-oct-sm { clip-path: polygon(14% 0, 100% 0, 100% 86%, 86% 100%, 0 100%, 0 14%); }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 520px; text-wrap: pretty; }
.body-lg { font-size: 17px; line-height: 1.65; color: var(--muted); }
.page-title { font-size: clamp(44px, 5.6vw, 76px); line-height: 1.02; }
.page-title em { color: var(--bronze); }
.btn--outline { border: 1.5px solid var(--teal); color: var(--teal); padding: 12px 22px; }
.btn--outline:hover { background: var(--teal); color: #fff; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack-sm { display: flex; flex-direction: column; gap: 14px; }
.section { max-width: 1320px; margin: 0 auto; padding: 96px 32px; }
.band-cream { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%); padding: 96px 0; }
.band-teal { background: var(--teal); color: #fff; padding: 96px 0; }
.band-teal .container { display: flex; flex-direction: column; gap: 56px; }
.band-cream .container.stack { gap: 40px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: center; }
.frame { position: relative; border-radius: 28px; overflow: hidden; }
.sub-title { font-size: clamp(34px, 4vw, 52px); line-height: 1.06; }
.pill-list { display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.pill-list span { border: 1px solid var(--chip); border-radius: 999px; padding: 7px 14px; }
.icon-rows { display: flex; flex-direction: column; border-top: 1px solid var(--line-soft); }
.icon-rows > div { display: flex; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.icon-rows .icon { color: var(--bronze-soft); }

.cta-band-wrap { max-width: 1320px; margin: 0 auto 64px; padding: 0 32px; }
.cta-band {
  background: var(--teal); color: #fff; border-radius: 28px; padding: 56px;
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.08; }
.cta-band p { font-size: 16px; line-height: 1.6; color: var(--on-teal); }
.cta-band > div { display: flex; flex-direction: column; gap: 12px; max-width: 560px; }

/* ---------- Formations ---------- */
.fo-hero { padding: 72px 32px 88px; }
.fo-hero__img { height: 460px; }
.duo-levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.level-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16); border-radius: 24px; padding: 28px;
  display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; align-items: start;
}
.level-card__photo { position: relative; height: 180px; border-radius: 16px; overflow: hidden; }
.level-card__kicker { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--gold); }
.level-card__kicker--aqua { color: var(--aqua); }
.level-card__name { font-family: var(--serif); font-size: 30px; line-height: 1.05; }
.level-card p { font-size: 15px; line-height: 1.6; color: var(--on-teal); }
.level-card > div:last-child { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 480px) { .level-card { grid-template-columns: 1fr; } }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border: 1px solid rgba(255,255,255,.16); border-radius: 20px; overflow: hidden; }
.steps > div { outline: 1px solid rgba(255,255,255,.16); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.steps__n { font-family: var(--serif); font-size: 36px; color: var(--gold); }
.steps__t { font-size: 18px; font-weight: 600; }
.steps__d { font-size: 15px; line-height: 1.55; color: var(--on-teal); }
.centered-head { display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; }
.centered-head h2 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.06; max-width: 880px; text-wrap: balance; }

.catalogue { display: flex; flex-direction: column; gap: 40px; scroll-margin-top: 90px; }
.tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 12px; background: var(--cream-deep); padding: 8px; border-radius: 24px; }
.tab {
  text-align: left; border: none; cursor: pointer; border-radius: 18px; padding: 22px 26px;
  display: flex; gap: 18px; align-items: center; font-family: var(--sans);
  background: transparent; color: var(--teal); transition: background .2s, color .2s, box-shadow .2s;
}
.tab .icon { font-size: 30px; }
.tab[aria-selected="true"] { background: var(--teal); color: #fff; box-shadow: 0 14px 30px -18px rgba(15,59,61,.6); }
.tab__label { display: flex; flex-direction: column; gap: 2px; }
.tab__title { font-family: var(--serif); font-size: 26px; }
.tab__sub { font-size: 14px; opacity: .8; }
.catalogue-intro { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 720px; }
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.course {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: 20px; padding: 26px;
  display: flex; flex-direction: column; gap: 14px; box-shadow: 0 18px 44px -34px rgba(15,59,61,.35);
}
.course__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.course__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--cream-deep); display: flex; align-items: center; justify-content: center; }
.course__icon .icon { font-size: 26px; color: var(--bronze); }
.tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--muted-2); border: 1px solid var(--chip); border-radius: 999px; padding: 5px 12px; }
.course h3 { font-size: 26px; line-height: 1.1; margin-top: 4px; }
.course p { font-size: 15px; line-height: 1.6; color: var(--muted); flex: 1; }
.course__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.course__price { font-size: 14px; font-weight: 600; color: var(--bronze); }
.course__foot a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.course__foot a .icon { font-size: 18px; }

.combo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.combo { background: var(--paper); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.combo__photo { position: relative; height: 180px; clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%); }
.combo__body { padding: 10px 26px 28px; display: flex; flex-direction: column; gap: 12px; }
.combo h3 { font-size: 26px; }
.combo .chips span { border: none; background: var(--cream-deep); }
.combo .chips span.h { background: #E1EFEC; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.head-row h2 { font-size: clamp(34px, 3.8vw, 48px); line-height: 1.06; }
.head-row__note { font-size: 15px; color: var(--muted); }
.perks { max-width: 1320px; margin: 0 auto; padding: 72px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px; }
.perks > div { display: flex; gap: 14px; align-items: center; font-size: 16px; }
.perks .icon { font-size: 30px; color: var(--bronze-soft); }

/* ---------- Le duo ---------- */
.duo-hero { padding: 88px 32px 64px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.duo-hero h1 { font-size: clamp(46px, 6vw, 84px); line-height: 1; }
.duo-hero .lead { max-width: 620px; }
.bios { max-width: 1320px; margin: 0 auto; padding: 0 32px 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 24px; }
/* Each card spans 5 rows of the parent grid (photo, kicker, name, bio, list) via subgrid,
   so the two cards line up row by row even when one paragraph wraps to more lines. */
.bio {
  background: var(--paper); border-radius: 28px; overflow: hidden; box-shadow: 0 24px 60px -36px rgba(15,59,61,.4);
  display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 18px; padding-bottom: 40px;
}
.bio__body { display: contents; }
.bio__body > * { margin-left: 36px; margin-right: 36px; }
.bio--dark { background: var(--teal); color: #fff; box-shadow: 0 24px 60px -36px rgba(15,59,61,.6); }
.bio__photo { position: relative; height: 460px; clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
.bio--dark .bio__photo { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 88%); }
.bio__kicker { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--bronze); }
.bio--dark .bio__kicker { color: var(--aqua); }
.bio h2 { font-size: 44px; line-height: 1; }
.bio p { font-size: 16px; line-height: 1.65; color: var(--muted); }
.bio--dark p { color: var(--on-teal); }
.bio--dark .icon-rows, .bio--dark .icon-rows > div { border-color: rgba(255,255,255,.16); }
.bio--dark .icon-rows .icon { color: var(--aqua); }
@media (max-width: 640px) { .bio__photo { height: 360px; } .bio { padding-bottom: 32px; } .bio__body > * { margin-left: 24px; margin-right: 24px; } }

/* ---------- Ressources ---------- */
.res-hero { position: relative; min-height: 440px; border-radius: 0 0 48px 48px; overflow: hidden; }
.res-hero .hero__scrim { background: linear-gradient(100deg, rgba(9,40,42,.92) 0%, rgba(9,40,42,.72) 45%, rgba(9,40,42,.2) 100%); }
.res-hero__inner { position: relative; max-width: 1320px; margin: 0 auto; padding: 80px 32px 96px; display: flex; flex-direction: column; gap: 22px; color: #fff; }
.res-hero h1 { max-width: 760px; }
.res-hero h1 em { color: var(--gold); }
.res-hero p { font-size: 18px; line-height: 1.6; color: #E4EEEC; max-width: 540px; }
.howto-wrap { max-width: 1320px; margin: -56px auto 0; padding: 0 32px; position: relative; z-index: 2; }
.howto { background: var(--paper); border-radius: 24px; box-shadow: 0 24px 60px -30px rgba(15,59,61,.35); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); overflow: hidden; }
.howto > div { padding: 26px 28px; display: flex; gap: 16px; align-items: center; box-shadow: -1px 0 0 var(--line-soft); }
.howto__icon { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--cream-deep); display: flex; align-items: center; justify-content: center; }
.howto__icon .icon { font-size: 24px; color: var(--bronze); }
.howto__t { font-weight: 700; font-size: 16px; display: block; }
.howto__d { font-size: 14px; color: var(--muted); }
.shop { padding: 88px 32px 96px; display: flex; flex-direction: column; gap: 32px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter {
  border: 1px solid var(--chip); cursor: pointer; border-radius: 999px; padding: 10px 18px;
  font-family: var(--sans); font-size: 14px; font-weight: 600; background: var(--paper); color: var(--teal);
}
.filter[aria-pressed="true"] { background: var(--teal); color: #fff; border-color: var(--teal); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 20px; }
.product {
  text-align: left; cursor: pointer; border: 1px solid var(--line-soft); background: var(--paper); border-radius: 22px;
  padding: 0; overflow: hidden; display: flex; flex-direction: column; font-family: var(--sans); color: var(--teal-ink);
  box-shadow: 0 18px 44px -34px rgba(15,59,61,.35); transition: border-color .2s;
}
.product:hover { border-color: var(--bronze-soft); }
.product__cover { width: 100%; height: 132px; position: relative; display: flex; align-items: flex-end; justify-content: space-between; padding: 18px 20px; clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%); }
.product__cover .icon { font-size: 40px; color: var(--gold); margin-bottom: 14px; }
.product__level { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: #fff; background: rgba(255,255,255,.14); border-radius: 999px; padding: 5px 12px; margin-bottom: 22px; }
.product__body { padding: 8px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; width: 100%; }
.product__title { font-family: var(--serif); font-size: 24px; line-height: 1.12; }
.product__meta { font-size: 14px; color: var(--muted); line-height: 1.5; flex: 1; }
.product__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.product__price { font-size: 20px; font-weight: 700; }
.product__more { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; }
.product__more .icon { font-size: 18px; }
.audience { background: var(--teal); color: #fff; padding: 80px 0; }
.audience .container { display: flex; flex-direction: column; gap: 36px; }
.audience h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; }
.audience__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.audience__grid > div { border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; font-size: 17px; font-weight: 600; }
.audience__grid .icon { font-size: 28px; color: var(--gold); }
.team-cta-wrap { max-width: 1320px; margin: 0 auto; padding: 64px 32px; }
.team-cta { background: var(--cream-deep); border-radius: 28px; padding: 44px 48px; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.team-cta > div { display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.team-cta__t { font-family: var(--serif); font-size: 32px; }
.team-cta__d { font-size: 16px; color: var(--muted); }

.drawer { position: fixed; inset: 0; z-index: 50; background: rgba(9,40,42,.55); backdrop-filter: blur(4px); display: flex; justify-content: flex-end; }
.drawer[hidden] { display: none; }
.drawer__panel { width: min(100%, 520px); height: 100%; background: var(--paper); overflow-y: auto; display: flex; flex-direction: column; animation: drawer-in .28s cubic-bezier(.2,.8,.2,1); }
@keyframes drawer-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .drawer__panel { animation: none; } }
.drawer__cover { height: 150px; flex: none; display: flex; justify-content: space-between; align-items: flex-start; padding: 22px 24px; }
.drawer__cover > .icon { font-size: 44px; color: var(--gold); align-self: flex-end; }
.drawer__close { width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,.16); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.drawer__close .icon { font-size: 22px; }
.drawer__body { padding: 28px 32px 36px; display: flex; flex-direction: column; gap: 20px; flex: 1; }
.drawer__body .tag { align-self: flex-start; color: var(--bronze); }
.drawer__body h3 { font-size: 34px; line-height: 1.08; }
.drawer__body p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.drawer__buy { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.drawer__price { font-size: 28px; font-weight: 700; display: block; }
.drawer__vat { font-size: 13px; color: var(--muted-2); }
.drawer__buy .btn { padding: 15px 24px; }
body.no-scroll { overflow: hidden; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px; align-items: start; padding: 72px 32px 96px; }
.contact__img { height: 280px; border-radius: 24px; }
.contact .icon-rows, .contact .icon-rows > div { border-color: #E1D6C4; }
.contact .icon-rows > div { padding: 16px 0; font-size: 16px; gap: 14px; }
.contact .icon-rows .icon { font-size: 24px; }
.form-card { background: var(--paper); border-radius: 28px; padding: 40px; box-shadow: 0 30px 70px -40px rgba(15,59,61,.45); }
.form { display: flex; flex-direction: column; gap: 24px; }
.form[hidden] { display: none; }
.form fieldset { border: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.form legend { font-size: 15px; font-weight: 700; padding: 0; margin-bottom: 12px; }
.form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 16px; padding: 14px 16px; border: 1px solid var(--chip); border-radius: 12px;
  background: #fff; color: var(--teal-ink); outline-color: var(--teal); font-weight: 400;
}
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: #A23B2A; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--teal); }
.form-error { font-size: 14px; color: #A23B2A; }
.form-error[hidden] { display: none; }
.form button[type="submit"] { justify-content: center; border: none; cursor: pointer; font-family: var(--sans); font-size: 16px; padding: 17px 24px; }
.form button[disabled] { opacity: .6; cursor: progress; }
.sent { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; padding: 24px 0; }
.sent[hidden] { display: none; }
.sent__icon { width: 72px; height: 72px; border-radius: 50%; background: #E1EFEC; display: flex; align-items: center; justify-content: center; }
.sent__icon .icon { font-size: 38px; color: var(--teal); }
.sent h2 { font-size: 40px; line-height: 1.08; }
.sent p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.sent strong { color: var(--teal-ink); }
.site-header .btn--current, .site-header .btn--current:hover { background: var(--bronze); }

@media (max-width: 640px) {
  .fo-hero, .duo-hero, .bios, .shop, .contact, .perks, .section, .cta-band-wrap, .howto-wrap, .team-cta-wrap, .res-hero__inner { padding-left: 16px; padding-right: 16px; }
  .fo-hero__img { height: 320px; }
  .cta-band, .team-cta { padding: 32px 24px; }
  .form-card { padding: 28px 20px; }
}

/* ---------- Pages offres (Audit / Paie) ---------- */
.subnav-wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 3; }
.subnav {
  display: inline-flex; gap: 4px; padding: 6px; margin-top: -28px;
  background: var(--paper); border-radius: 999px; box-shadow: 0 18px 40px -24px rgba(15,59,61,.45);
}
.subnav a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.subnav a .icon { font-size: 20px; }
.subnav a:hover { background: var(--cream-deep); color: var(--teal); }
.subnav a[aria-current="page"] { background: var(--teal); color: #fff; }
.offer-hero .res-hero__inner { padding-bottom: 120px; }
.offer-hero .btn-row { margin-top: 6px; }
.offer-facts { max-width: 1320px; margin: 56px auto 0; padding: 0 32px; }

.formula-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 20px; }
.formula {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: 22px; padding: 28px;
  display: flex; flex-direction: column; gap: 14px; box-shadow: 0 18px 44px -34px rgba(15,59,61,.35);
}
.formula--featured { background: var(--teal); color: #fff; border-color: var(--teal); }
.formula h3 { font-size: 28px; line-height: 1.1; }
.formula p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.formula--featured p { color: var(--on-teal); }
.formula .checklist { margin: 4px 0 0; flex: 1; }
.formula--featured .checklist .icon { color: var(--gold); }
.formula--featured .tag { color: var(--gold); border-color: rgba(227,201,156,.5); }
.formula__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.formula--featured .formula__foot { border-color: rgba(255,255,255,.16); }
.formula__foot a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.formula--featured .formula__foot a { color: var(--gold); }
.formula__foot a .icon { font-size: 18px; }

.control-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.control {
  border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: 24px;
  display: flex; flex-direction: column; gap: 10px; background: rgba(255,255,255,.03);
}
.control__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.control__top .icon { font-size: 28px; color: var(--gold); }
.control__crit { font-size: 11px; font-weight: 700; letter-spacing: .12em; border-radius: 999px; padding: 4px 10px; background: rgba(227,201,156,.16); color: var(--gold); }
.control__crit--imp { background: rgba(127,207,199,.16); color: var(--aqua); }
.control__t { font-family: var(--serif); font-size: 24px; }
.control__d { font-size: 14px; line-height: 1.55; color: var(--on-teal); }

.steps--light { border-color: var(--line-soft); background: var(--paper); }
.steps--light > div { outline-color: var(--line-soft); }
.steps--light .steps__n { color: var(--bronze); }
.steps--light .steps__d { color: var(--muted); }

.deliverables { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 24px; align-items: start; }
.panel { background: var(--paper); border-radius: 24px; padding: 32px; box-shadow: 0 24px 60px -36px rgba(15,59,61,.4); display: flex; flex-direction: column; gap: 18px; }
.panel h3 { font-size: 28px; line-height: 1.1; }
.priority { display: flex; flex-direction: column; border-top: 1px solid var(--line-soft); }
.priority > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); align-items: start; }
.priority__level { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.priority__dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.priority__when { display: block; font-size: 12px; font-weight: 600; color: var(--muted-2); margin-top: 2px; padding-left: 18px; }
.priority__what { font-size: 15px; line-height: 1.5; color: var(--muted); }
@media (max-width: 480px) { .priority > div { grid-template-columns: 1fr; gap: 6px; } }

.docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px; }
.docs .checklist { margin: 0; }
.docs h3 { font-size: 24px; }

.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 20px; }
.process { background: var(--paper); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 18px 44px -34px rgba(15,59,61,.35); }
.process__head { padding: 26px 28px 0; display: flex; flex-direction: column; gap: 10px; }
.process__head h3 { font-size: 28px; line-height: 1.1; }
.process ol { list-style: none; counter-reset: step; margin: 0; padding: 18px 28px 28px; display: flex; flex-direction: column; }
.process li { counter-increment: step; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; line-height: 1.45; }
.process li:last-child { border-bottom: none; }
.process li::before {
  content: counter(step); width: 26px; height: 26px; border-radius: 50%; background: var(--cream-deep);
  color: var(--bronze); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.month-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; counter-reset: m; }
.month-steps > div {
  counter-increment: m; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; padding: 18px 20px;
  display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.45;
}
.month-steps > div::before { content: counter(m, decimal-leading-zero); font-family: var(--serif); font-size: 24px; line-height: 1; color: var(--gold); flex: none; }

@media (max-width: 640px) {
  .subnav-wrap, .offer-facts { padding-left: 16px; padding-right: 16px; }
  .subnav { display: flex; width: 100%; }
  .subnav a { flex: 1; justify-content: center; padding: 11px 10px; font-size: 13px; }
  .subnav a .icon { display: none; }
  .panel { padding: 24px 20px; }
}
