:root {
  --yellow: #f7c600;
  --black: #101010;
  --dark: #202020;
  --cream: #f7f4ea;
  --grey: #6f6f6f;
  --line: #e8e8e8;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Bai Jamjuree", Arial, sans-serif;
  color: var(--dark);
  background: #fff;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
.container {
  width: min(1120px, calc(100% - 42px));
  margin: auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--yellow);
  color: #161616;
  border-radius: 9px;
  padding: 14px 22px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  border: 2px solid var(--yellow);
  transition: 0.25s;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(247, 198, 0, 0.3);
}
.btn.outline {
  background: #fff;
  color: #111;
}
.btn.small {
  padding: 10px 15px;
  font-size: 11px;
}
.mini {
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  font-size: 12px;
}
.yellow {
  color: var(--yellow);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.86;
  text-transform: uppercase;
  color: var(--yellow);
  letter-spacing: -0.05em;
}
h2 {
  font-size: clamp(36px, 5vw, 68px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}
h2 span {
  color: var(--yellow);
}
.lead {
  font-size: 17px;
  color: #e8e8e8;
  max-width: 620px;
}
.section {
  padding: 90px 0;
  position: relative;
}
.center {
  text-align: center;
}
.sub {
  color: var(--grey);
}
.navbar {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 42px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px 0;
}
.brand img {
  width: 190px;
}
.navlinks {
  display: flex;
  gap: 28px;
  align-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}
.navlinks a:hover {
  color: var(--yellow);
}
.burger {
  display: none;
  background: none;
  border: 0;
  width: 40px;
}
.burger span {
  display: block;
  height: 3px;
  background: #fff;
  margin: 7px 0;
  border-radius: 20px;
}
.hero {
  min-height: 760px;
  background: #101010;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("assets/header-background.png") center/cover no-repeat;
  opacity: 0.88;
  will-change: transform;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.92) 56%,
    rgba(0, 0, 0, 0.96)
  );
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: end;
  min-height: 760px;
  padding-top: 115px;
}
.hero-people {
  align-self: end;
  max-height: 680px;
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.4));
}
.hero-content {
  padding: 0 0 130px;
}
.eyebrow {
  color: #fff;
  font-size: 18px;
  margin-bottom: 8px;
}
.courses {
  background: #fff;
}
.courses:before {
  content: "COURS";
  position: absolute;
  right: 4%;
  top: 50px;
  font-size: 190px;
  font-weight: 800;
  color: #f7f7f7;
  z-index: 0;
}
.courses .container {
  position: relative;
  z-index: 1;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.course-card {
  min-height: 310px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  padding: 34px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #111;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.14);
  transition: 0.3s;
}
.course-card:hover {
  transform: translateY(-8px);
}
.course-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
  transition: 0.45s;
}
.course-card:hover img {
  transform: scale(1.06);
  opacity: 0.82;
}
.course-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.05));
}
.course-card > *:not(img) {
  position: relative;
  z-index: 1;
}
.course-card b {
  align-self: flex-start;
  background: var(--yellow);
  color: #111;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: auto;
}
.course-card h3 {
  text-transform: uppercase;
  font-size: 29px;
  margin: 110px 0 12px;
}
.course-card p {
  color: #ececec;
}
.first {
  background: var(--cream);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 45px 0;
}
.step {
  text-align: left;
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  min-height: 210px;
  border: 1px solid transparent;
  transition: 0.25s;
}
.step:first-child,
.step:hover {
  border-color: var(--yellow);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-5px);
}
.step img {
  height: 30px;
  width: 30px;
  object-fit: contain;
  margin-bottom: 28px;
}
.step small {
  color: var(--yellow);
  text-transform: uppercase;
  font-weight: 700;
}
.step h3 {
  text-transform: uppercase;
  font-size: 22px;
  line-height: 1;
}
.step p {
  color: #777;
}
.planning {
  overflow: hidden;
  background: #fff;
}
.planning:before {
  content: "HORAIRES";
  position: absolute;
  right: 2%;
  top: 70px;
  font-size: 170px;
  color: #f7f7f7;
  font-weight: 800;
  z-index: 0;
}
.title-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.planning-img {
  position: relative;
  z-index: 1;
  margin-top: 35px;
  width: 100%;
  filter: drop-shadow(0 18px 35px rgba(0, 0, 0, 0.06));
  margin-bottom: 10px;
}
.planning-people {
  position: absolute;
  right: 0;
  bottom: 30px;
  width: min(520px, 45vw);
  z-index: 2;
}
.team {
  background: #242424;
  color: #fff;
  overflow: hidden;
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.big-word {
  position: absolute;
  left: -30px;
  top: -50px;
  width: 520px;
  opacity: 0.2;
}
.team h2 {
  position: relative;
}
.team p {
  color: #ddd;
}
.badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.badges span {
  background: #fff;
  color: #222;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
}
.badges img {
  height: 28px;
  margin: 0 auto 8px;
}
.photo-card {
  position: relative;
  background: var(--yellow);
  padding: 8px;
  border-radius: 10px;
}
.photo-card img {
  border-radius: 8px;
}
.photo-card b {
  position: absolute;
  right: -18px;
  top: -26px;
  background: var(--yellow);
  color: #111;
  border-radius: 8px;
  padding: 18px 22px;
  font-size: 44px;
  line-height: 0.78;
  text-transform: uppercase;
}
.photo-card small {
  font-size: 14px;
}
.faq {
  padding: 0;
  background: #fff;
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 50px;
  align-items: center;
}
.faq-photo {
  align-self: end;
}
.faq-box {
  position: relative;
  padding: 70px 0;
}
.faq-letters {
  position: absolute;
  right: -20px;
  top: 30px;
  width: 420px;
  opacity: 0.08;
  z-index: 0;
}
.faq-box > *:not(.faq-letters) {
  position: relative;
  z-index: 1;
}
.accordion {
  display: grid;
  gap: 13px;
  margin-top: 25px;
}
.acc {
  width: 100%;
  border: 0;
  background: #efefef;
  border-radius: 7px;
  padding: 18px 48px 18px 22px;
  text-align: left;
  font: 800 14px "Bai Jamjuree";
  text-transform: uppercase;
  position: relative;
  cursor: pointer;
  color: #333;
}
.acc:after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--yellow);
}
.acc.active {
  background: var(--yellow);
}
.acc.active:after {
  content: "–";
  color: #111;
}
.panel {
  max-height: 0;
  overflow: hidden;
  background: #f8f8f8;
  border-radius: 0 0 8px 8px;
  margin-top: -12px;
  transition: max-height 0.35s ease;
}
.panel p {
  padding: 24px;
  color: #777;
  margin: 0;
}
.partners {
  background: #303030;
  padding: 28px 0;
}
.logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.logos img {
  max-height: 48px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.8);
}
footer {
  background: #121212;
  color: #fff;
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 70px;
}
.footer-logo {
  width: 180px;
  margin-bottom: 20px;
}
footer p,
footer a {
  color: #bbb;
  font-size: 14px;
}
footer h4 {
  text-transform: uppercase;
}
footer a {
  display: block;
  margin: 12px 0;
}
.socials {
  display: flex;
  gap: 12px;
}
.socials img {
  height: 22px;
  width: auto;
}
.footer-grid p img {
  display: inline;
  width: 17px;
  margin-right: 10px;
  vertical-align: middle;
}
.backtop {
  text-align: right;
  width: min(1120px, calc(100% - 42px));
  margin: 35px auto 0;
  border-top: 1px solid #333;
  padding-top: 24px;
  text-transform: uppercase;
  font-size: 12px;
}
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.65, 0.2, 1);
}
.reveal-up {
  transform: translateY(45px);
}
.reveal-left {
  transform: translateX(-55px);
}
.reveal-right {
  transform: translateX(55px);
}
.is-visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 900px) {
  .navbar {
    position: fixed;
    background: rgba(16, 16, 16, 0.88);
    backdrop-filter: blur(14px);
    width: 100%;
    left: 0;
    transform: none;
    padding: 18px 22px;
  }
  .brand img {
    width: 150px;
  }
  .burger {
    display: block;
  }
  .navlinks {
    position: absolute;
    top: 74px;
    left: 18px;
    right: 18px;
    background: #111;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 22px;
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }
  .navlinks.open {
    display: flex;
  }
  .hero,
  .hero-grid {
    min-height: auto;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 120px;
  }
  .hero:after {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.25));
  }
  .hero-content {
    grid-row: 1;
    padding: 50px 0 25px;
  }
  .hero-people {
    max-height: 560px;
    margin: auto;
  }
  .course-grid,
  .steps,
  .team-grid,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    gap: 16px;
  }
  .title-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .planning-people {
    position: relative;
    width: 100%;
    margin-left: auto;
  }
  .badges {
    grid-template-columns: 1fr;
  }
  .logos {
    flex-wrap: wrap;
    justify-content: center;
  }
  .faq {
    padding-top: 60px;
  }
  .faq-photo {
    max-width: 480px;
    margin: auto;
  }
  .section {
    padding: 70px 0;
  }
}
@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, 1120px);
  }
  h1 {
    font-size: 46px;
  }
  h2 {
    font-size: 38px;
  }
  .course-card {
    min-height: 260px;
    padding: 24px;
  }
  .course-card h3 {
    font-size: 23px;
  }
  .photo-card b {
    right: 8px;
    top: 8px;
    font-size: 30px;
  }
  .footer-grid {
    gap: 30px;
  }
  .btn {
    width: 100%;
  }
  .actions {
    display: grid;
    gap: 12px;
  }
}

/* Ajustements maquette demandés */
.actions {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.btn.outline {
  border-color: transparent;
  box-shadow: none;
}

.btn.outline:hover {
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.12);
}

.hero-bg {
  background-image: url("assets/header-background.png");
  background-position: left center;
  opacity: 1;
}

.hero:after {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.05),
    rgba(0, 0, 0, 0.8) 54%,
    rgba(0, 0, 0, 0.96)
  );
}

.hero-visual {
  align-self: end;
  height: 635px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.4));
}

.hero-visual .hero-people {
  height: 900px;
  max-width: none;
  width: auto;
  object-fit: contain;
  object-position: top left;
  filter: none;
}

.courses:before {
  left: 48%;
  right: auto;
  top: 72px;
  transform: translateX(-10%);
  font-size: 210px;
  line-height: 0.8;
  z-index: 0;
  color: #f5f5f5;
  pointer-events: none;
}
.courses h2 {
  position: relative;
  z-index: 1;
}
.courses .mini {
  position: relative;
  z-index: 1;
}

.step {
  position: relative;
}
.step img {
  position: relative;
  z-index: 1;
}
.step:before {
  content: "";
  position: absolute;
  left: 22px;
  top: 24px;
  width: 50px;
  height: 50px;
  background: #fff7cf;
  border-radius: 12px;
  z-index: 0;
}

.download-btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.planning .container {
  position: relative;
  margin-bottom: 30px;
}
.planning-people {
  right: -70px;
  bottom: 90px;
  width: min(620px, 50vw);
  z-index: 3;
}
.planning-img {
  z-index: 2;
}

.team-grid > *:not(.big-word) {
  position: relative;
  z-index: 1;
}
.big-word {
  top: 10px;
  left: -20px;
  width: 560px;
  opacity: 0.24;
  z-index: 0;
}
.photo-card {
  padding: 2px;
  border: 2px solid var(--yellow);
  background: transparent;
}
.photo-card img {
  border-radius: 8px;
}
.photo-card b {
  right: -28px;
  top: -28px;
}

.faq {
  overflow: visible;
}
.faq .container {
  width: min(1280px, 100%);
}
.faq-grid {
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: end;
}
.faq-photo {
  width: min(760px, 58vw);
  max-width: none;
  margin-left: 0;
  margin-top: -110px;
  align-self: end;
  justify-self: start;
}
.faq-box {
  padding: 80px 24px 70px 0;
}
.faq-letters {
  right: 10px;
  top: 42px;
  opacity: 0.09;
}

@media (max-width: 900px) {
  .actions {
    gap: 14px;
  }
  .hero-visual {
    height: 500px;
    justify-content: center;
  }
  .hero-visual .hero-people {
    height: 690px;
  }
  .courses:before {
    font-size: 120px;
    left: 50%;
    top: 92px;
  }
  .planning-people {
    right: auto;
    bottom: auto;
    margin-top: -80px;
    width: min(520px, 90vw);
  }
  .faq .container {
    width: min(100% - 28px, 1120px);
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .faq-photo {
    width: min(620px, 110%);
    margin-left: -14px;
    margin-top: -40px;
  }
  .faq-box {
    padding: 35px 0 65px;
  }
  .big-word {
    width: 420px;
    top: 15px;
  }
}

@media (max-width: 520px) {
  .actions {
    display: grid;
  }
  .hero-visual {
    height: 430px;
  }
  .hero-visual .hero-people {
    height: 610px;
  }
  .courses:before {
    font-size: 86px;
    top: 100px;
  }
  .faq-photo {
    width: 118%;
    margin-left: -28px;
  }
  .planning-people {
    margin-top: -55px;
  }
}

/* === Corrections v3 === */
.hero-bg {
  background-image: url("assets/header-background.png") !important;

  background-position: left center !important;

  background-size: cover !important;

  opacity: 1 !important;
}

.hero-visual {
  position: relative;

  overflow: visible;

  height: auto;

  min-height: 635px;

  align-items: flex-end;
}

.hero-visual::before {
  content: "";

  position: absolute;

  left: -9%;

  bottom: 0;

  width: 118%;

  height: 100%;

  background: url("assets/header-background.png") left bottom/cover no-repeat;

  z-index: -1;

  opacity: 1;

  transform: translateY(20px);
}

.hero-visual .hero-people {
  height: auto;

  width: min(680px, 52vw);

  max-width: none;

  object-fit: contain;

  object-position: left bottom;
}

.actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.btn.outline {
  border: 0 !important;
  background: #fff !important;
  color: #111 !important;
}

.courses:before {
  left: max(24px, calc((100vw - 1120px) / 2)) !important;

  right: auto !important;

  top: 72px !important;

  transform: none !important;

  text-align: left !important;

  z-index: 0 !important;
}

.courses .mini,
.courses h2 {
  position: relative;
  z-index: 1;
}

.planning:before {
  left: max(24px, calc((100vw - 1120px) / 2)) !important;

  right: auto !important;

  top: 70px !important;

  text-align: left !important;

  z-index: 0 !important;
}

.planning .title-row {
  position: relative;
  z-index: 1;
}
.planning-img {
  position: relative;
  z-index: 1;
}

.photo-card {
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}
.photo-card img {
  border-radius: 8px;
}

@media (max-width: 900px) {
  .hero-visual {
    min-height: 0;
    justify-content: center;
    overflow: visible;
  }
  .hero-visual::before {
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 100%;
    bottom: 0;
  }
  .hero-visual .hero-people {
    width: min(720px, 105vw);
    height: auto;
  }
  .courses:before,
  .planning:before {
    left: 14px !important;
    font-size: 110px !important;
  }
  .actions {
    gap: 14px;
  }
}

@media (max-width: 520px) {
  .courses:before,
  .planning:before {
    font-size: 76px !important;
    top: 95px !important;
  }
  .actions {
    display: grid;
  }
  .hero-visual .hero-people {
    width: 115vw;
  }
}

/* v4 fixes */
.download-btn {
  color: #fff !important;
}

.download-btn img {
  filter: brightness(0) invert(1);
}

/* === Corrections v5 demandées === */
/* Header : le background couvre toute la section, plus grand, sous tous les éléments */
.hero {
  min-height: 780px;

  isolation: isolate;
}

.hero-bg {
  inset: -4% -6% -8% -6% !important;

  background-image: url("assets/header-background.png") !important;

  background-size: 125% auto !important;

  background-position: left bottom !important;

  background-repeat: no-repeat !important;

  z-index: 0 !important;

  opacity: 1 !important;

  will-change: transform;
}

.hero:after {
  z-index: 1 !important;
  pointer-events: none;
}

.hero-grid {
  z-index: 2 !important;

  grid-template-columns: minmax(0, 1.02fr) minmax(460px, 0.98fr);

  gap: 44px;
}

.hero-visual {
  z-index: 2;
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.42));
}

.hero-visual::before {
  display: none !important;
}

.hero-content {
  max-width: 660px;
  justify-self: end;
  padding-bottom: 135px;
}

.hero-content h1 {
  max-width: 660px;

  font-size: clamp(48px, 5.45vw, 76px);

  line-height: 0.9;

  margin-bottom: 22px;
}

.hero-content .lead {
  max-width: 600px;
}

/* Horaires : on garde uniquement l’image du planning complet */
.planning-people {
  display: none !important;
}

.planning-img {
  margin-top: 28px;
}

/* FAQ : l’image remonte légèrement pour lier la section équipe et FAQ */
.faq {
  overflow: visible;
  padding-top: 0;
}

.faq-photo {
  margin-top: -78px !important;

  position: relative;

  z-index: 2;
}

.faq-box {
  position: relative;
  z-index: 3;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero-bg {
    inset: 0 !important;
    background-size: cover !important;
    background-position: left top !important;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-content {
    justify-self: start;
    max-width: 100%;
    padding-bottom: 35px;
  }

  .hero-content h1 {
    font-size: clamp(42px, 12vw, 58px);
    max-width: 520px;
  }

  .faq-photo {
    margin-top: -44px !important;
  }
}

@media (max-width: 520px) {
  .hero-content h1 {
    font-size: 44px;
  }

  .faq-photo {
    margin-top: -28px !important;
  }
}

/* === Corrections v5 demandées === */
.hero {
  isolation: isolate;

  overflow: hidden;
}

.hero-bg {
  z-index: 0 !important;

  inset: -8% -4% 0 -4% !important;

  height: 112% !important;

  width: 108% !important;

  background-image: url("assets/header-background.png") !important;

  background-size: cover !important;

  background-position: left center !important;

  opacity: 1 !important;

  transform: scale(1.08);
}

.hero:after {
  z-index: 1 !important;
  pointer-events: none;
}

.hero-grid {
  z-index: 2 !important;

  grid-template-columns: minmax(0, 1.08fr) minmax(480px, 0.92fr);

  gap: clamp(24px, 4vw, 70px);

  align-items: end;
}

.hero-visual {
  position: relative;

  z-index: 2;

  min-height: 650px;

  overflow: visible;

  justify-content: flex-start;
}

.hero-visual::before {
  display: none !important;
}

.hero-visual .hero-people {
  width: min(720px, 54vw);

  transform: translateX(-25px);
}

.hero-content {
  position: relative;

  z-index: 3;

  padding-bottom: 140px;

  max-width: 650px;
}

.hero-content h1 {
  max-width: 650px;

  font-size: clamp(54px, 5.4vw, 76px);

  line-height: 0.88;

  white-space: normal;
}

.hero-content .lead {
  max-width: 590px;
}

/* Mots de fond alignés à gauche sous les titres */
.courses:before,
.planning:before {
  left: max(21px, calc((100vw - 1120px) / 2)) !important;

  right: auto !important;

  text-align: left !important;

  transform: none !important;

  z-index: 0 !important;

  pointer-events: none;
}

.courses .container,
.planning .container {
  position: relative;
  z-index: 1;
}

/* Horaires : une seule image, pas de superposition */
.planning-people {
  display: none !important;
}

.planning-img {
  z-index: 1 !important;

  margin-top: 28px !important;

  filter: none !important;
}

/* FAQ : image plus liée à la section équipe */
.faq {
  overflow: visible !important;

  margin-top: 0;
}

.faq-grid {
  align-items: end !important;
}

.faq-photo {
  position: relative;

  z-index: 3;

  margin-top: -155px !important;

  margin-bottom: 0;

  width: min(790px, 60vw) !important;

  max-width: none !important;

  align-self: end;
}

.faq-box {
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .hero-bg {
    inset: -4% -20% 0 -20% !important;
    width: 140% !important;
    height: 108% !important;
    background-position: center top !important;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-content {
    max-width: 100%;
    padding: 38px 0 30px;
  }

  .hero-content h1 {
    max-width: 100%;
    font-size: clamp(42px, 10vw, 62px);
  }

  .hero-visual {
    min-height: 0;
    justify-content: center;
  }

  .hero-visual .hero-people {
    width: min(760px, 108vw);
    transform: none;
  }

  .faq-photo {
    width: min(660px, 112vw) !important;
    margin-top: -80px !important;
    margin-left: -22px !important;
  }
}

@media (max-width: 520px) {
  .hero-bg {
    background-size: cover !important;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .courses:before,
  .planning:before {
    left: 14px !important;
  }

  .faq-photo {
    width: 122% !important;
    margin-top: -55px !important;
    margin-left: -30px !important;
  }
}

/* === Corrections v6 === */
.hero {
  min-height: 760px !important;
}

.hero-bg {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-size: 100% 100% !important;
  background-position: center center !important;
  transform: none !important;
}

.hero-grid {
  gap: clamp(44px, 6vw, 90px) !important;
}

.hero-content h1 {
  max-width: 620px !important;
  font-size: clamp(50px, 5vw, 68px) !important;
  line-height: 0.9 !important;
}

.actions {
  gap: 20px !important;
}

.planning-img {
  display: block !important;
  width: 100% !important;
  margin-bottom: 0 !important;
}

.planning .container {
  padding-bottom: 0 !important;
}

.planning {
  padding-bottom: 0 !important;
}

.faq-photo {
  margin-top: -105px !important;
}

.trial-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.trial-modal.is-open {
  display: flex;
}

.trial-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.trial-modal__box {
  position: relative;
  width: min(520px, 100%);
  background: #fff;
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.trial-modal__box h2 {
  font-size: 38px;
  margin: 8px 0 22px;
  color: #222;
}

.trial-modal__close {
  position: absolute;
  right: 16px;
  top: 12px;
  border: 0;
  background: transparent;
  font-size: 34px;
  cursor: pointer;
  line-height: 1;
}

.trial-modal label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 16px;
}

.trial-modal input,
.trial-modal select {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 14px 13px;
  font:
    600 15px "Bai Jamjuree",
    Arial,
    sans-serif;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 900px) {
  .hero-bg {
    background-size: cover !important;
  }
  .hero-grid {
    gap: 24px !important;
  }
  .faq-photo {
    margin-top: -60px !important;
  }
  .planning {
    padding-bottom: 40px !important;
  }
}

@media (max-width: 520px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .trial-modal__box {
    padding: 26px 20px;
  }
  .trial-modal__box h2 {
    font-size: 32px;
  }
}

/* === Corrections v7 ===
   Header : background plus grand, sur toute la section, avec pattern visible.
   Planning : téléchargement PDF direct.
*/
.hero {
  min-height: 760px !important;

  padding-bottom: 0 !important;

  overflow: hidden !important;
}

.hero-bg {
  inset: -8% -6% -8% -6% !important;

  width: 112% !important;

  height: 116% !important;

  background-image: url("assets/header-background.png") !important;

  background-size: cover !important;

  background-position: left center !important;

  background-repeat: no-repeat !important;

  transform: translate3d(0, 0, 0);
}

.hero:after {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.35) 38%,
    rgba(0, 0, 0, 0.86) 62%,
    rgba(0, 0, 0, 0.96) 100%
  ) !important;
}

.hero-grid {
  gap: clamp(64px, 8vw, 110px) !important;
}

.hero-content {
  min-width: 0;
}

.hero-content h1 {
  max-width: 760px !important;

  white-space: normal !important;
}

.actions {
  gap: 20px !important;
}

.planning-people {
  display: none !important;
}

.download-btn {
  color: #fff !important;
}

.download-btn img {
  filter: brightness(0) invert(1) !important;
}

@media (max-width: 900px) {
  .hero-bg {
    inset: -5% -30% -5% -8% !important;

    width: 138% !important;

    height: 110% !important;

    background-size: cover !important;

    background-position: left top !important;
  }

  .hero-grid {
    gap: 24px !important;
  }
}


/* === v8 : réseaux sociaux + favicon === */
.socials a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  transition:transform .25s ease, filter .25s ease, opacity .25s ease;
}
.socials a:hover{
  transform:translateY(-3px) scale(1.08);
}
.socials a:hover img{
  filter: brightness(0) saturate(100%) invert(75%) sepia(94%) saturate(1370%) hue-rotate(359deg) brightness(101%) contrast(102%);
}
.socials img{
  transition:filter .25s ease, transform .25s ease;
}


/* === v10 : ajustements mobile + partenaires === */
.partners .logos{
  justify-content:center;
}
.partners .logos img{
  flex:0 1 auto;
}

@media(max-width:520px){
  .hero{
    overflow:hidden !important;
  }
  .hero-content{
    width:100%;
    max-width:100%;
  }
  .hero .actions{
    width:100%;
    display:grid !important;
    grid-template-columns:1fr;
    gap:14px !important;
    padding:0;
    margin:22px 0 0;
    justify-items:center;
  }
  .hero .actions .btn{
    width:min(100%, 320px) !important;
    margin:0 auto;
  }
}

/* === v11 : correction mobile hero pleine largeur + CTA centrés === */
@media (max-width: 640px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  .hero {
    width: 100%;
    max-width: 100vw;
    overflow: hidden !important;
  }

  .hero-bg {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: left top !important;
    transform: none !important;
  }

  .hero .container,
  .hero-grid {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .hero-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    justify-self: center !important;
    align-items: center !important;
    text-align: center !important;
  }

  .hero-content .lead,
  .hero-content h1,
  .hero-content .eyebrow {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .hero .actions {
    width: 100% !important;
    max-width: 330px !important;
    margin: 24px auto 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: stretch !important;
    justify-content: center !important;
    gap: 14px !important;
  }

  .hero .actions .btn {
    width: 100% !important;
    max-width: 330px !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 14px 12px !important;
    text-align: center !important;
    white-space: normal !important;
  }

  .hero-visual {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    justify-content: center !important;
  }

  .hero-visual .hero-people {
    max-width: 105% !important;
    width: 105% !important;
    transform: none !important;
    margin: 0 auto !important;
  }
}

/* === v12 : mobile hero - image après les CTA === */
@media (max-width: 640px) {
  .hero-content {
    order: 1 !important;
  }

  .hero-visual {
    order: 2 !important;
    margin-top: 22px !important;
  }
}


/* === Corrections v13 : inscription + loader === */
.site-loader{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#101010;
  transition:opacity .45s ease, visibility .45s ease;
}
.site-loader.is-hidden{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
.loader-logo{
  width:92px;
  height:92px;
  object-fit:contain;
  animation:loaderSpin 1.2s linear infinite;
  filter:drop-shadow(0 0 24px rgba(247,198,0,.25));
}
@keyframes loaderSpin{to{transform:rotate(360deg)}}
body.is-loading{overflow:hidden;}

.signup-navbar{
  position:fixed;
  background:rgba(16,16,16,.92);
  backdrop-filter:blur(14px);
}
.signup-main{
  background:#fff;
  min-height:100vh;
}
.signup-hero{
  padding:160px 0 70px;
  background:#101010;
  color:#fff;
  position:relative;
  overflow:hidden;
}
.signup-hero:before{
  content:"";
  position:absolute;
  inset:0;
  background:url('assets/header-background.png') center/cover no-repeat;
  opacity:.45;
}
.signup-hero .container{
  position:relative;
  z-index:1;
}
.signup-hero h1{
  margin-bottom:18px;
}
.signup-hero h1 span{
  color:#fff;
}
.signup-form-section{
  padding:50px 0 80px;
}
.form-embed-wrap{
  background:#fff;
  border-radius:18px;
  box-shadow:0 18px 60px rgba(0,0,0,.08);
  overflow:hidden;
  padding:0;
}
.form-embed-wrap iframe{
  display:block;
  width:100%;
  max-width:100%;
  min-height:2132px;
  border:0;
}

@media(max-width:900px){
  .signup-navbar{width:100%;left:0;transform:none;}
  .signup-hero{padding:130px 0 55px;text-align:center;}
  .signup-form-section{padding:28px 0 55px;}
  .form-embed-wrap{border-radius:12px;}
  .loader-logo{width:76px;height:76px;}
}


/* === Corrections v14 : page inscription + scroll propre === */
html,
body{
  max-width:100%;
  overflow-x:hidden;
}

/* Scrollbar du site plus clean */
html::-webkit-scrollbar{width:10px;}
html::-webkit-scrollbar-track{background:#101010;}
html::-webkit-scrollbar-thumb{background:var(--yellow);border-radius:999px;border:2px solid #101010;}
html{scrollbar-width:thin;scrollbar-color:var(--yellow) #101010;}

.signup-page{
  background:#fff;
}

.signup-page .navbar{
  left:0 !important;
  right:0 !important;
  transform:none !important;
  width:100% !important;
  max-width:none !important;
  padding-left:max(22px,calc((100vw - 1120px)/2));
  padding-right:max(22px,calc((100vw - 1120px)/2));
}

.signup-hero{
  padding:155px 0 55px !important;
}

.signup-hero .container{
  text-align:center;
  max-width:920px;
}

.signup-hero h1{
  font-size:clamp(44px,6vw,76px) !important;
  line-height:.92 !important;
}

.signup-hero .lead{
  margin-left:auto;
  margin-right:auto;
  color:#f1f1f1;
}

.signup-form-section{
  padding:34px 0 80px !important;
  background:linear-gradient(180deg,#f7f4ea 0,#fff 110px);
}

.signup-form-container{
  width:min(980px,calc(100% - 32px)) !important;
}

.form-embed-wrap{
  width:100%;
  max-width:100%;
  background:#fff;
  border-radius:18px;
  box-shadow:0 22px 70px rgba(0,0,0,.10);
  overflow:hidden;
  border:1px solid rgba(0,0,0,.06);
}

.form-embed-wrap iframe{
  display:block;
  width:100% !important;
  max-width:100% !important;
  height:2460px !important;
  min-height:2460px !important;
  border:0 !important;
  overflow:hidden !important;
  background:#fff;
}

@media(max-width:900px){
  .signup-page .navbar{
    padding-left:22px;
    padding-right:22px;
  }
  .signup-hero{
    padding:126px 0 42px !important;
  }
  .signup-form-container{
    width:100% !important;
  }
  .signup-form-section{
    padding:0 0 45px !important;
    background:#fff;
  }
  .form-embed-wrap{
    border-radius:0;
    box-shadow:none;
    border:0;
  }
  .form-embed-wrap iframe{
    height:2820px !important;
    min-height:2820px !important;
  }
}

@media(max-width:520px){
  .signup-hero h1{
    font-size:42px !important;
  }
  .form-embed-wrap iframe{
    height:3050px !important;
    min-height:3050px !important;
  }
}


/* === Corrections v17 : loader propre Hostinger === */
.site-loader{
  position:fixed !important;
  inset:0 !important;
  z-index:99999 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#101010 !important;
  transition:opacity .45s ease, visibility .45s ease !important;
}
.site-loader.is-hidden{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}
.loader-logo{
  width:92px !important;
  height:92px !important;
  object-fit:contain !important;
  animation:loaderSpin 1.2s linear infinite !important;
  filter:drop-shadow(0 0 24px rgba(247,198,0,.25)) !important;
}
@media(max-width:520px){.loader-logo{width:76px !important;height:76px !important;}}


/* === V18 : loader corrigé, jamais dans le flux de la page === */
.site-loader{position:fixed!important;inset:0!important;z-index:999999!important;background:#101010!important;display:flex!important;align-items:center!important;justify-content:center!important;transition:opacity .35s ease,visibility .35s ease!important;}
.site-loader.is-hidden{opacity:0!important;visibility:hidden!important;pointer-events:none!important;}
.loader-logo{width:92px!important;height:92px!important;max-width:92px!important;object-fit:contain!important;animation:loaderSpin 1.2s linear infinite!important;}
@media(max-width:520px){.loader-logo{width:76px!important;height:76px!important;max-width:76px!important;}}
