:root {
  --navy: #071b51;
  --navy-2: #0c1e56;
  --green: #318f38;
  --green-deep: #2b7d34;
  --blue: #075fc9;
  --teal: #057c80;
  --violet: #6d25c4;
  --bg: #f6fbff;
  --line: #dbe4f1;
  --ink: #17213b;
  --muted: #5d6b84;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(7, 27, 81, 0.12);
  --shadow-soft: 0 14px 38px rgba(7, 27, 81, 0.09);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(130deg, rgba(77, 177, 77, 0.08), transparent 32%),
    linear-gradient(230deg, rgba(17, 107, 216, 0.09), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 44%, #ffffff 100%);
}

body.modal-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.48;
  background-image:
    linear-gradient(112deg, transparent 0 62%, rgba(12, 30, 86, 0.08) 62.1% 62.35%, transparent 62.45%),
    linear-gradient(114deg, transparent 0 63%, rgba(12, 30, 86, 0.07) 63.1% 63.28%, transparent 63.38%);
  background-size: 100% 520px;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(1160px, calc(100% - 32px));
  min-height: 76px;
  margin: 16px auto 0;
  padding: 12px 14px 12px 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(219, 228, 241, 0.9);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(7, 27, 81, 0.08);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 156px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex: 1;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  border-radius: 999px;
  padding: 10px 8px;
  transition: color 180ms ease, background-color 180ms ease;
}

.nav a:hover {
  color: var(--blue);
  background: rgba(17, 107, 216, 0.07);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.header-cta,
.button.primary {
  color: var(--white);
  background: linear-gradient(100deg, var(--green-deep) 0%, var(--teal) 42%, var(--blue) 100%);
  box-shadow: 0 14px 30px rgba(7, 95, 201, 0.22);
}

.button.secondary {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
}

.button.whatsapp-button {
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(49, 143, 56, 0.28);
}

.button.whatsapp-button:hover {
  border-color: rgba(49, 143, 56, 0.48);
  box-shadow: 0 10px 24px rgba(49, 143, 56, 0.12);
}

.icon-button {
  gap: 8px;
}

.icon-button img {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.header-cta,
.button,
.detail-toggle,
.official-link,
.course-card,
.value-card,
.process-card,
.badge-card,
.video-card,
.course-modal__panel {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.header-cta:hover,
.button:hover,
.detail-toggle:hover,
.official-link:hover {
  transform: translateY(-1px);
}

.button.secondary:hover,
.official-link:hover {
  border-color: rgba(17, 107, 216, 0.32);
  box-shadow: 0 10px 24px rgba(7, 27, 81, 0.08);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.section-shell,
.course-section,
.contact-shell,
.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

#formations,
#parcours,
#pourquoi-formini,
#formateur,
#credly,
#videos,
#faq,
#contact {
  scroll-margin-top: 118px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: 42px;
  min-height: calc(100vh - 112px);
  padding: 72px 0 82px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(46px, 6.1vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h1 span,
h2 span {
  color: var(--green);
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: clamp(21px, 2.1vw, 30px);
  line-height: 1.22;
}

.hero-lead strong {
  font-weight: 750;
}

.hero-b2b {
  margin-bottom: 28px;
  color: var(--navy-2);
  font-size: 18px;
  font-weight: 650;
}

.hero-seo {
  max-width: 650px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: 999px;
  font-weight: 700;
}

.mask-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.pin { --icon: url("assets/icons/map-pin.svg"); }
.desktop { --icon: url("assets/icons/device-desktop.svg"); }
.shield { --icon: url("assets/icons/shield-check.svg"); }
.handshake { --icon: url("assets/icons/handshake.svg"); }
.phone { --icon: url("assets/icons/phone.svg"); }
.world { --icon: url("assets/icons/world.svg"); }
.mail { --icon: url("assets/icons/mail.svg"); }
.chart { --icon: url("assets/icons/chart-mixed.svg"); }

.hero-visual {
  position: relative;
  min-height: 540px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 56px 0 auto 0;
  height: 280px;
  border: 1px solid rgba(17, 107, 216, 0.28);
  border-radius: 50%;
  transform: rotate(-7deg);
}

.photo-card {
  position: relative;
  z-index: 2;
  width: min(460px, 90%);
  margin: 34px auto 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 34px 90px rgba(7, 27, 81, 0.16);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.photo-card picture {
  display: block;
  aspect-ratio: 4 / 3;
}

.instructor-card {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 74px;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(310px, 72%);
  padding: 16px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-proof-card {
  position: absolute;
  z-index: 4;
  left: 16px;
  bottom: 58px;
  width: min(250px, 56%);
  padding: 15px 16px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(219, 228, 241, 0.95);
  border-left: 4px solid var(--green);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.hero-proof-card span,
.hero-proof-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.hero-proof-card strong {
  display: block;
  margin: 5px 0;
  font-size: 18px;
  line-height: 1.15;
}

.cert-icon {
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  color: var(--violet);
  background: rgba(109, 37, 196, 0.1);
  border-radius: 50%;
}

.instructor-card strong,
.instructor-card span {
  display: block;
}

.instructor-card strong {
  font-size: 20px;
  line-height: 1.1;
}

.instructor-card div span {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}

.mini-course {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  color: var(--white);
  border-radius: 24px;
  font-size: 22px;
  font-weight: 850;
  box-shadow: var(--shadow);
}

.mini-course.nhcf {
  left: 0;
  top: 58px;
  background: linear-gradient(135deg, var(--green), var(--teal));
  transform: rotate(-8deg);
}

.mini-course.eca {
  left: 36px;
  bottom: 148px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  transform: rotate(7deg);
}

.mini-course.aapm {
  right: 2px;
  bottom: 178px;
  background: linear-gradient(135deg, var(--navy), var(--violet));
  transform: rotate(-7deg);
}

.mini-course.nusa {
  right: 34px;
  top: 0;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  transform: rotate(8deg);
}

.course-section {
  padding: 70px 0 82px;
}

.process-section,
.credly-section,
.video-section,
.faq-section {
  padding: 74px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.section-heading h2,
.contact-copy h2,
.instructor-copy h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p,
.contact-copy p,
.instructor-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.business-promise {
  padding: 16px 18px;
  color: var(--navy);
  background:
    linear-gradient(100deg, rgba(49, 143, 56, 0.12), rgba(17, 107, 216, 0.08)),
    rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(49, 143, 56, 0.18);
  border-radius: 14px;
  font-weight: 650;
}

.process-grid,
.badge-grid,
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.process-card,
.badge-card,
.video-card,
.faq-list details,
.faq-item {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.process-card {
  position: relative;
  min-height: 250px;
  padding: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.7));
  backdrop-filter: blur(14px);
}

.process-card::before,
.value-card::before {
  position: absolute;
  right: 18px;
  bottom: -18px;
  color: rgba(7, 27, 81, 0.055);
  font-size: 100px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.process-card:nth-child(1)::before,
.value-card:nth-child(1)::before { content: "01"; }
.process-card:nth-child(2)::before,
.value-card:nth-child(2)::before { content: "02"; }
.process-card:nth-child(3)::before,
.value-card:nth-child(3)::before { content: "03"; }

.process-card::after {
  content: "";
  position: absolute;
  inset: auto -34px -46px auto;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(17, 107, 216, 0.14);
  border-radius: 50%;
}

.process-card > *,
.value-card > * {
  position: relative;
  z-index: 1;
}

.process-card:hover,
.badge-card:hover,
.video-card:hover {
  transform: translateY(-3px);
  border-color: rgba(17, 107, 216, 0.24);
  box-shadow: 0 20px 50px rgba(7, 27, 81, 0.12);
}

.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-deep), var(--blue));
  border-radius: 50%;
  font-weight: 800;
}

.process-card h3 {
  color: var(--navy);
  font-size: 24px;
}

.process-card p {
  color: var(--muted);
  line-height: 1.65;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 424px;
  padding: 16px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82));
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.course-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--course-color);
  opacity: 0.86;
}

.course-card:hover,
.value-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--course-color, var(--blue)) 22%, var(--line));
  box-shadow: 0 20px 50px rgba(7, 27, 81, 0.12);
}

.course-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}

.course-icon {
  display: grid;
  place-items: center;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  color: var(--course-color);
  background: color-mix(in srgb, var(--course-color) 12%, white);
  border: 1px solid color-mix(in srgb, var(--course-color) 22%, white);
  border-radius: 50%;
}

.course-icon .mask-icon {
  width: 28px;
  height: 28px;
}

.course-code {
  color: var(--navy);
  font-size: 28px;
  font-weight: 850;
  line-height: 1;
}

.course-card h3 {
  min-height: 70px;
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.15;
}

.course-summary {
  flex: 1;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.course-meta span {
  padding: 6px 10px;
  color: var(--course-color);
  background: color-mix(in srgb, var(--course-color) 9%, white);
  border: 1px solid color-mix(in srgb, var(--course-color) 30%, white);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.course-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.detail-toggle,
.official-link {
  min-height: 38px;
  padding: 0 11px;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.detail-toggle {
  color: var(--white);
  background: var(--navy);
  border: 0;
}

.official-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
}

.course-detail {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.course-detail ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.value-section,
.instructor-section {
  padding: 74px 0;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.value-card {
  position: relative;
  min-height: 260px;
  padding: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.72));
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.value-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 22px;
  border-radius: 50%;
}

.value-icon.green { color: var(--green-deep); background: rgba(77, 177, 77, 0.13); }
.value-icon.blue { color: var(--blue); background: rgba(17, 107, 216, 0.11); }
.value-icon.teal { color: var(--teal); background: rgba(7, 152, 154, 0.12); }

.value-card h3 {
  color: var(--navy);
  font-size: 24px;
}

.value-card p {
  color: var(--muted);
  font-weight: 500;
  line-height: 1.65;
}

.course-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.course-modal[hidden] {
  display: none;
}

.course-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 27, 81, 0.48);
  backdrop-filter: blur(10px);
}

.course-modal__panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(780px, calc(100vh - 48px));
  padding: 30px;
  overflow: auto;
  color: var(--ink);
  background:
    linear-gradient(112deg, transparent 0 72%, rgba(49, 143, 56, 0.11) 72.1% 72.4%, transparent 72.5%),
    rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(219, 228, 241, 0.95);
  border-radius: 24px;
  box-shadow: 0 36px 120px rgba(7, 27, 81, 0.28);
}

.course-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.course-modal__heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
  padding-right: 48px;
}

.course-modal__code {
  display: grid;
  place-items: center;
  min-width: 76px;
  min-height: 58px;
  padding: 0 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-deep), var(--blue));
  border-radius: 18px;
  font-size: 20px;
  font-weight: 850;
}

.course-modal__heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}

.course-modal__summary {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.course-modal__content {
  padding: 20px;
  color: var(--muted);
  background: rgba(246, 251, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 18px;
  line-height: 1.65;
}

.course-modal__content strong {
  display: block;
  margin-top: 14px;
  color: var(--navy);
}

.course-modal__content strong:first-child {
  margin-top: 0;
}

.course-modal__content ul {
  margin-bottom: 0;
}

.course-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.instructor-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 42px;
}

.instructor-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.instructor-photo img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}

.role {
  margin-bottom: 22px;
  color: var(--navy);
  font-size: 25px;
  font-weight: 700;
}

.claim {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding: 18px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--violet);
  border-radius: 18px;
}

.claim span {
  color: var(--violet);
}

.expert-claim {
  border-left-color: var(--green);
}

.expert-claim span {
  color: var(--green-deep);
}

.instructor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.credly-section {
  background:
    linear-gradient(180deg, rgba(246, 251, 255, 0.2), rgba(246, 251, 255, 0.85));
}

.badge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 330px;
  padding: 28px 22px;
  text-align: center;
  color: var(--navy);
}

.badge-card img {
  width: 150px;
  height: 150px;
  margin-bottom: 22px;
  object-fit: contain;
}

.badge-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.2;
}

.badge-card span {
  color: var(--muted);
  font-weight: 500;
}

.audience-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 24px auto 28px;
}

.audience-strip span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 10px 12px;
  color: var(--navy);
  text-align: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.25;
}

.video-section {
  background:
    linear-gradient(112deg, transparent 0 72%, rgba(77, 177, 77, 0.13) 72.1% 72.35%, transparent 72.45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(246, 251, 255, 0.78));
}

.video-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  color: var(--navy);
}

.video-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(7, 27, 81, 0.08);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.035);
}

.video-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 0;
}

.video-body strong {
  font-size: 22px;
  line-height: 1.15;
}

.video-body span {
  color: var(--muted);
  line-height: 1.55;
}

.video-card-actions {
  align-self: flex-start;
  margin: 22px;
  padding: 11px 15px;
  color: var(--white);
  background: linear-gradient(100deg, var(--green-deep), var(--blue));
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
}

.video-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  color: var(--navy);
}

.video-cta strong {
  font-size: 19px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin-inline: auto;
}

.faq-list summary {
  position: relative;
  min-height: 66px;
  padding: 22px 68px 22px 22px;
  color: var(--navy);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--blue);
  background: rgba(17, 107, 216, 0.08);
  border: 1px solid rgba(17, 107, 216, 0.16);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 180ms ease, color 180ms ease, background-color 180ms ease;
}

.faq-list details[open] summary::after {
  content: "-";
  color: var(--green-deep);
  background: rgba(49, 143, 56, 0.11);
  transform: translateY(-50%) rotate(180deg);
}

.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.faq-item {
  padding: 0;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.faq-item[open] {
  border-color: rgba(17, 107, 216, 0.24);
  box-shadow: 0 20px 50px rgba(7, 27, 81, 0.11);
}

.faq-item h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.25;
}

.faq-item p {
  margin-bottom: 0;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0 22px;
  transition: grid-template-rows 220ms ease, padding 220ms ease;
}

.faq-answer > p {
  overflow: hidden;
}

.faq-item[open] .faq-answer {
  grid-template-rows: 1fr;
  padding: 0 22px 22px;
}

.contact-section {
  padding: 88px 0;
  background:
    linear-gradient(112deg, transparent 0 64%, rgba(12, 30, 86, 0.07) 64.1% 64.35%, transparent 64.45%),
    linear-gradient(120deg, rgba(77, 177, 77, 0.12), rgba(17, 107, 216, 0.12)),
    #ffffff;
}

.contact-shell {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 28px;
  align-items: stretch;
}

.contact-copy,
.form-frame {
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.contact-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-copy .button {
  margin-top: auto;
}

.contact-claim {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 20px;
  padding: 16px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 16px;
}

.contact-claim span {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  color: var(--green-deep);
  background: rgba(49, 143, 56, 0.12);
  border-radius: 50%;
}

.contact-claim strong {
  line-height: 1.45;
}

.event-note {
  padding-left: 14px;
  color: var(--navy);
  border-left: 3px solid var(--green);
  font-weight: 500;
}

.contact-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 24px;
}

.contact-mini a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  transition: opacity 180ms ease, border-color 180ms ease;
}

.contact-mini a img {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.contact-mini a:hover {
  opacity: 0.82;
  border-color: rgba(17, 107, 216, 0.28);
}

.contact-mini a[href*="wa.me"] {
  color: var(--green-deep);
  border-color: rgba(49, 143, 56, 0.28);
}

.form-frame {
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: 0;
  overflow: hidden;
}

.form-frame-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  color: var(--navy);
  background:
    linear-gradient(90deg, rgba(49, 143, 56, 0.12), rgba(17, 107, 216, 0.1)),
    rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  font-weight: 750;
}

.form-frame-header small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.form-frame iframe {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 500px;
  border-radius: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 26px 0 34px;
}

.footer-brand img {
  width: 150px;
}

.site-footer address {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
  color: var(--navy);
  font-style: normal;
  font-weight: 600;
}

.site-footer address span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-footer address a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 3px;
  transition: opacity 180ms ease, text-decoration-color 180ms ease;
}

.site-footer address a:hover {
  opacity: 0.78;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.site-footer .mask-icon {
  color: var(--navy);
}

.mobile-sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 96px;
  }

  .mobile-sticky-cta {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 70;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(219, 228, 241, 0.95);
    border-radius: 20px;
    box-shadow: 0 18px 60px rgba(7, 27, 81, 0.18);
    backdrop-filter: blur(16px);
  }

  .mobile-sticky-cta__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 999px;
    font-weight: 750;
  }

  .mobile-sticky-cta__link img {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
  }

  .mobile-sticky-cta__link.whatsapp {
    color: var(--green-deep);
    background: rgba(49, 143, 56, 0.1);
    border: 1px solid rgba(49, 143, 56, 0.28);
  }

  .mobile-sticky-cta__link.primary {
    color: var(--white);
    background: linear-gradient(100deg, var(--green-deep), var(--blue));
    box-shadow: 0 12px 26px rgba(7, 95, 201, 0.2);
  }
}

@media (max-width: 1060px) {
  .courses-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid,
  .badge-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

@media (max-width: 900px) {
  #formations,
  #parcours,
  #pourquoi-formini,
  #formateur,
  #credly,
  #videos,
  #faq,
  #contact {
    scroll-margin-top: 24px;
  }

  .site-header {
    position: static;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    min-height: 0;
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 16px;
  }

  .brand img {
    width: 122px;
  }

  .nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
    min-height: 38px;
    padding-inline: 14px;
    font-size: 13px;
  }

  .courses-grid,
  .process-grid,
  .badge-grid,
  .audience-strip,
  .video-grid,
  .value-grid,
  .instructor-section,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
    padding-top: 38px;
    padding-bottom: 58px;
  }

  h1 {
    font-size: clamp(42px, 12vw, 64px);
  }

  .hero-lead {
    font-size: clamp(20px, 6vw, 27px);
  }

  .hero-visual {
    min-height: 330px;
  }

  .hero-visual::before {
    inset: 42px 8px auto;
    height: 210px;
  }

  .photo-card {
    width: min(400px, 86%);
    margin-top: 20px;
    border-radius: 22px;
  }

  .photo-card picture {
    aspect-ratio: 4 / 5;
  }

  .photo-card img {
    object-position: center top;
  }

  .instructor-card {
    left: 16px;
    right: 16px;
    bottom: 0;
    width: auto;
    padding: 13px;
  }

  .cert-icon {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }

  .instructor-card strong {
    font-size: 18px;
  }

  .mini-course {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    font-size: 15px;
  }

  .mini-course.nhcf {
    left: 2px;
    top: 38px;
  }

  .mini-course.eca {
    left: 8px;
    bottom: 112px;
  }

  .mini-course.aapm {
    right: 6px;
    bottom: 132px;
  }

  .mini-course.nusa {
    right: 18px;
  }

  .course-modal {
    padding: 16px;
  }

  .course-modal__panel {
    max-height: calc(100vh - 32px);
    padding: 24px;
    border-radius: 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .section-shell,
  .course-section,
  .contact-shell,
  .site-footer,
  .site-header {
    width: min(100% - 22px, 1160px);
  }

  .header-cta,
  .button {
    width: 100%;
  }

  .site-header {
    align-items: center;
    padding: 9px 10px 11px;
  }

  .brand img {
    width: 112px;
  }

  .header-cta {
    order: 0;
    width: auto;
    margin-left: auto;
  }

  .hero {
    gap: 22px;
    padding-top: 30px;
    padding-bottom: 44px;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 11px;
  }

  h1 {
    margin-bottom: 16px;
    font-size: clamp(38px, 12vw, 48px);
    line-height: 0.98;
  }

  .section-heading h2,
  .contact-copy h2,
  .instructor-copy h2 {
    font-size: clamp(30px, 10vw, 40px);
  }

  .hero-lead {
    font-size: 20px;
  }

  .hero-b2b {
    margin-bottom: 20px;
    font-size: 15px;
  }

  .hero-seo {
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-trust span {
    width: 100%;
    justify-content: center;
    font-size: 14px;
  }

  .hero-visual {
    min-height: 270px;
  }

  .hero-visual::before {
    inset: 30px 6px auto;
    height: 170px;
  }

  .photo-card {
    width: min(308px, 84%);
    margin-top: 12px;
  }

  .photo-card picture {
    aspect-ratio: 3 / 4;
  }

  .photo-card img {
    object-position: center top;
  }

  .instructor-card {
    left: 10px;
    right: 10px;
    gap: 10px;
    padding: 10px;
    border-radius: 14px;
  }

  .instructor-card strong {
    font-size: 16px;
  }

  .instructor-card div span {
    font-size: 13px;
  }

  .mini-course {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    font-size: 13px;
  }

  .mini-course.eca {
    left: 4px;
    bottom: 92px;
  }

  .mini-course.aapm {
    right: 4px;
    bottom: 104px;
  }

  .course-card {
    min-height: 0;
    border-radius: 14px;
  }

  .course-card h3 {
    min-height: 0;
  }

  .process-section,
  .credly-section,
  .video-section,
  .faq-section,
  .value-section,
  .instructor-section {
    padding: 52px 0;
  }

  .process-card,
  .value-card {
    min-height: 0;
    padding: 22px;
  }

  .badge-card {
    min-height: 0;
    padding: 22px;
  }

  .badge-card img {
    width: 124px;
    height: 124px;
  }

  .audience-strip span {
    border-radius: 14px;
  }

  .video-body {
    padding: 18px 18px 0;
  }

  .video-card-actions {
    margin: 18px;
  }

  .video-cta {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .faq-list summary {
    min-height: 58px;
    font-size: 17px;
  }

  .instructor-actions {
    width: 100%;
  }

  .course-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .detail-toggle,
  .official-link {
    justify-content: center;
    width: 100%;
  }

  .course-modal {
    align-items: end;
    padding: 10px;
  }

  .course-modal__panel {
    width: 100%;
    max-height: calc(100vh - 20px);
    padding: 22px 18px;
    border-radius: 18px;
  }

  .course-modal__heading {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-right: 42px;
  }

  .course-modal__code {
    justify-self: start;
    min-width: 68px;
    min-height: 48px;
    font-size: 18px;
  }

  .course-modal__content {
    padding: 16px;
  }

  .course-modal__actions {
    flex-direction: column;
  }

  .contact-copy,
  .form-frame {
    padding: 18px;
  }

  .form-frame {
    display: none;
  }

  .contact-copy {
    min-height: 0;
  }

  .contact-claim {
    align-items: flex-start;
    padding: 14px;
  }

  .contact-claim span {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .site-footer {
    gap: 18px;
  }

  .site-footer address {
    gap: 10px;
    font-size: 14px;
  }
}
