:root {
  --y: #ffd400;
  --k: #000;
  --w: #fff;
  --g: #1a1a1a;
  --m: #b8b8b8;
  --f:
    "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Arial,
    sans-serif;
  --pad: clamp(1.25rem, 5vw, 4rem);
}
* {
  box-sizing: border-box;
  margin: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}
body {
  font-family: var(--f);
  background: var(--k);
  color: var(--w);
  line-height: 1.55;
  font-size: 1.0625rem;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--y);
  outline-offset: 3px;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--pad);
}
section {
  padding: clamp(3.5rem, 9vw, 6.5rem) 0;
}
h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
}
h1 {
  font-size: clamp(2.6rem, 8vw, 5.6rem);
  max-width: 14ch;
}
h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 2rem;
}
.btn {
  display: inline-block;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--y);
  transition: transform 0.15s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn.p {
  background: var(--y);
  color: var(--k);
}
.btn.o {
  color: var(--y);
}
/* header */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--k);
  border-bottom: 1px solid #2a2a2a;
}
header .wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: 4rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.02em;
  margin-right: auto;
}
.logo img {
  height: 2.2rem;
  width: auto;
}
nav {
  display: flex;
  gap: 1.4rem;
}
nav a {
  text-decoration: none;
  color: var(--m);
  font-weight: 600;
}
nav a:hover {
  color: var(--y);
}
header .btn {
  padding: 0.5rem 1.1rem;
}
@media (max-width: 720px) {
  nav {
    display: none;
  }
}
/* hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  background: linear-gradient(135deg, #1a1a1a, #000);
  overflow: hidden;
}
.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.hero .wrap {
  position: relative;
  padding-top: 6rem;
  padding-bottom: 3.5rem;
}
.hero p.lead {
  font-size: 1.25rem;
  max-width: 34ch;
  margin: 1.5rem 0 2rem;
  color: #e6e6e6;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.facts {
  background: var(--y);
  color: var(--k);
}
.facts ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem 2rem;
  padding-block: 1.4rem;
}
.facts strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
}
/* avantages */
#avantages {
  background: var(--w);
  color: var(--k);
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.cards img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  background: var(--y);
  border-radius: 6px;
  margin-bottom: 1rem;
}
.cards h3 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}
/* cours */
.tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.tabs button {
  font: inherit;
  font-weight: 600;
  background: none;
  color: var(--w);
  border: 2px solid #444;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
}
.tabs button[aria-selected="true"] {
  background: var(--y);
  border-color: var(--y);
  color: var(--k);
}
.tabs small {
  opacity: 0.7;
  margin-left: 0.3rem;
  font-weight: 400;
}
.slot {
  border-top: 1px solid #333;
}
.slot summary {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.2rem 1rem;
  padding: 1.1rem 0;
  cursor: pointer;
  list-style: none;
  align-items: baseline;
}
.slot summary::-webkit-details-marker {
  display: none;
}
.slot time {
  color: var(--y);
  font-weight: 800;
  font-size: 1.2rem;
}
.slot .n {
  font-size: 1.3rem;
  font-weight: 600;
}
.slot .c {
  grid-column: 2;
  color: var(--m);
  font-size: 0.95rem;
}
.slot p {
  padding: 0 0 1.2rem 7.5rem;
  color: #ddd;
  max-width: 60ch;
}
@media (max-width: 560px) {
  .slot p {
    padding-left: 0;
  }
}
.note {
  color: var(--m);
  margin-top: 1.5rem;
  font-size: 0.95rem;
}
/* tarifs */
#tarifs {
  background: var(--w);
  color: var(--k);
}
.seg {
  display: inline-flex;
  flex-wrap: wrap;
  border: 2px solid var(--k);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 2rem;
}
.seg label {
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  font-weight: 600;
}
.seg input {
  position: absolute;
  opacity: 0;
}
.seg input:checked + span {
  background: var(--k);
  color: var(--y);
  margin: -0.6rem -1.2rem;
  padding: 0.6rem 1.2rem;
  display: block;
}
.seg label:has(input:focus-visible) {
  outline: 3px solid var(--y);
  outline-offset: -3px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.plan {
  border: 2px solid var(--k);
  border-radius: 8px;
  padding: 1.5rem;
  position: relative;
}
.plan.best {
  background: var(--y);
}
.plan b {
  display: block;
  font-size: 3rem;
  line-height: 1;
  font-weight: 800;
}
.plan span.u {
  font-size: 1rem;
  font-weight: 400;
}
.plan h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}
.tag {
  position: absolute;
  top: -0.8rem;
  right: 1rem;
  background: var(--k);
  color: var(--y);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
}
.incl {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
}
.incl li {
  list-style: none;
}
.incl li::before {
  content: "✓ ";
  font-weight: 800;
}
/* faq */
details.q {
  border-top: 1px solid #333;
}
details.q summary {
  padding: 1.1rem 0;
  font-weight: 600;
  font-size: 1.15rem;
  cursor: pointer;
}
details.q p {
  padding-bottom: 1.2rem;
  color: #ddd;
  max-width: 65ch;
}
/* contact */
#contact {
  background: var(--g);
}
.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}
.contact iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 8px;
  background: #333;
}
.perm {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}
.perm li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #333;
  padding: 0.5rem 0;
}
.perm span:last-child {
  color: var(--y);
  text-align: right;
}
footer {
  padding: 2rem 0;
  color: var(--m);
  font-size: 0.9rem;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  justify-content: space-between;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}
