/* ==========================================================================
   Level Up — Formation Growth E-commerce
   Feuille de style unique du site statique.

   1. Polices          5. En-tête & pied de page   9. Avis
   2. Variables        6. Héros                   10. Lieu, FAQ
   3. Base             7. Sections & cartes       11. Formulaires
   4. Boutons, icônes  8. Experts                 12. Pages internes
   ========================================================================== */

/* 1. Polices (hébergées localement) ------------------------------------- */
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Source Sans Pro"; src: url("../fonts/source-sans-pro-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans Pro"; src: url("../fonts/source-sans-pro-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Sans Pro"; src: url("../fonts/source-sans-pro-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../fonts/work-sans.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* 2. Variables (design system) ------------------------------------------ */
:root {
  --primary: #06AEF5;
  --primary-deep: #0055BE;
  --link: #1BA6D7;
  --black: #000;
  --ink: #05151A;
  --text: #444;
  --muted: #B2B3B2;
  --nav: #999;
  --line: #EDEDED;
  --surface: #F6F6F6;
  --dash: #D4E6ED;
  --star: #FCB900;
  --success: #76A725;
  --youtube: #C4302B;

  --font: "Inter", "Source Sans Pro", sans-serif;
  --font-alt: "Source Sans Pro", sans-serif;

  --container: 1192px;
  --narrow: 750px;
  --radius-card: 20px;
  --radius-pill: 25px;
  --header-h: 66px;
}

/* 3. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-alt); font-size: 16px; line-height: 1.5; color: var(--black); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; transition: color .3s; }
a:hover { color: var(--primary); }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 10px; }
.narrow { max-width: var(--narrow); margin: 0 auto; padding: 0 10px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.section { padding: 5em 0; }
.section--surface { background: var(--surface); }
.section--black { background: var(--black); color: #fff; }
.section--gradient { background: #000; color: #fff; position: relative; }
.section--gradient::before { content: ""; position: absolute; inset: 0; background: radial-gradient(at bottom right, var(--primary) 0%, #000 100%); opacity: .37; pointer-events: none; }
.section--gradient > * { position: relative; }

.eyebrow { font-family: var(--font); font-size: 1.2rem; font-weight: 600; line-height: 1.2; text-transform: uppercase; color: var(--muted); text-align: center; }
.title { font-family: var(--font); font-size: 2.4rem; font-weight: 800; line-height: 1.2; text-align: center; margin-bottom: 20px; }
.title--black { font-weight: 900; }
.lead { font-family: "Barlow", var(--font); font-weight: 500; font-size: 1.1rem; line-height: 1.6; text-align: center; margin-bottom: 20px; }
.text { font-family: var(--font); font-size: 1.1rem; line-height: 1.6; color: var(--text); }
.text p + p, .text p + ul, .text ul + p { margin-top: 1em; }
.text strong { color: var(--black); }
.text ul { padding-left: 1.4em; }
.highlight { background: linear-gradient(transparent 0, #FFF4D6 0); }

/* 4. Boutons & icônes ---------------------------------------------------- */
.btn { display: inline-block; font-family: var(--font); font-size: .9rem; font-weight: 600; line-height: 1; text-transform: uppercase; color: #fff; background: var(--primary); border: 0; border-radius: var(--radius-pill); padding: 15px 30px; cursor: pointer; transition: background .3s, transform .3s; }
.btn:hover { color: #fff; background: #0596d4; }
.btn--lg { padding: 20px 40px; border-radius: 30px; }
.btn--youtube { background: var(--youtube); display: inline-flex; align-items: center; gap: 8px; }
.btn--youtube:hover { background: #a82824; }
.btn--form { font-family: "Work Sans", var(--font); font-size: 1rem; letter-spacing: 1px; }
.btn-row { text-align: center; margin-top: 20px; }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; display: inline-block; vertical-align: -.125em; }

.socials { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.socials a { display: grid; place-items: center; width: 22px; height: 22px; background: #fff; color: #000; border-radius: 2px; font-size: 13px; transition: opacity .3s; }
.socials a:hover { opacity: .8; color: #000; }

.meta-list { list-style: none; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 20px; font-family: var(--font); font-size: 1.1rem; font-weight: 600; color: #fff; }
.meta-list li { display: flex; align-items: center; gap: 6px; }
.meta-list .icon { color: #fff; }

.check-list { list-style: none; padding: 0; font-family: var(--font-alt); }
.check-list li { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.check-list .icon { color: var(--success); font-size: 18px; }

/* 5. En-tête & pied de page ---------------------------------------------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; height: var(--header-h); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; padding: 0 20px; }
.logo img { width: 160px; height: auto; }
.nav ul { list-style: none; display: flex; padding: 0; }
.nav a { display: block; padding: 13px 20px; font-family: var(--font); font-weight: 500; color: var(--nav); }
.nav a:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 26px; padding: 8px; cursor: pointer; }

.site-footer { background: #000; border-top: 1px solid #EBEBEB; padding: 49px 0 58px; text-align: center; }
.site-footer .nav ul { justify-content: center; }
.site-footer .nav { padding: 20px 0 50px; border-bottom: 1px solid #0b1f29; margin-bottom: 30px; }
.site-footer .nav a { font-weight: 600; color: var(--nav); }
.site-footer .logo { display: inline-block; padding: 40px 0; }
.site-footer .logo img { width: 160px; margin: 0 auto; }
.site-footer p { margin-top: 30px; font-size: 15px; color: var(--muted); }
.site-footer--simple p { color: #777474; }

/* 6. Héros --------------------------------------------------------------- */
.hero { position: relative; z-index: 2; color: #fff; text-align: center; background: #000; padding: 85px 20px 90px; margin-bottom: -50px;
  /* pointe en forme de flèche sous le bandeau (50px) */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), calc(50% + 50px) calc(100% - 50px), 50% 100%, calc(50% - 50px) calc(100% - 50px), 0 calc(100% - 50px)); }
.hero--home { min-height: 100vh; padding: 116px 20px 146px; display: flex; align-items: center; justify-content: center; background: #000 url("../img/salle-de-formation.jpg") center bottom / cover no-repeat; }
.hero--home::before { content: ""; position: absolute; inset: 0; background: #000; opacity: .82; }
.hero--home > * { position: relative; max-width: 800px; }
.hero--page { background: #000; min-height: 300px; display: flex; flex-direction: column; justify-content: center; padding-top: 70px; }
.hero--page::before { content: ""; position: absolute; inset: 0; background: radial-gradient(at bottom right, var(--primary) 0%, #000 100%); opacity: .37; }
.hero--page > * { position: relative; }
.hero--navy::before { background: radial-gradient(at bottom right, var(--primary-deep) 40%, #000 100%); }
.hero .socials { gap: 20px; }
.hero__kicker { font-family: var(--font); font-size: 1.1rem; color: var(--muted); margin-bottom: 20px; }
.hero__title { font-family: var(--font); font-size: 2.9rem; font-weight: 800; line-height: 1.4; letter-spacing: -1px; margin-bottom: 20px; }
.hero__title .accent { color: var(--primary); }
.hero__sub { font-family: var(--font); font-size: 1.1rem; color: var(--muted); margin-bottom: 30px; }
.hero h1 { font-family: var(--font); font-size: 2.9rem; font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.hero--page .btn { margin-top: 0; }
.profile h1 { font-size: 2rem; font-weight: 700; line-height: 1.2; margin: 0; }
.hero--page:has(.profile) { padding-top: 75px; }
.hero .meta-list { font-size: 1.1rem; }
.hero .meta-list .muted { color: var(--muted); }

.after-hero { padding-top: calc(4em + 50px); }
.intro { padding-bottom: 1em; }

/* 7. Sections & cartes --------------------------------------------------- */
.intro .eyebrow { margin-bottom: 16px; }
.intro .title { margin-bottom: 32px; }
.intro .text strong { color: inherit; }
.intro .text .highlight, .intro .text .highlight strong { color: #000; }

.learn { padding: 2em 0 5em; }
.learn__card { max-width: 780px; margin: 0 auto; background: #000; color: #fff; border-radius: var(--radius-card); padding: 1rem 0 40px; }
.learn__card .title { font-size: 2rem; color: #fff; margin: 0; padding: 26px 20px 30px; }
.learn__card .btn-row { margin-top: 30px; }
.learn__card ul { font-family: var(--font); font-size: 1.1rem; line-height: 1.8; color: var(--muted); padding: 0 30px 0 60px; }

.audience { display: grid; gap: 20px; margin: 20px 0; }
.audience__item { display: flex; align-items: center; gap: 30px; background: #fff; border-radius: 60px; padding: 15px 40px 15px 12px; }
.audience__icon { flex: none; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--primary); color: #000; font-size: 45px; }
.audience__item h3 { font-family: var(--font); font-size: 1.4rem; font-weight: 700; line-height: 1; margin-bottom: 15px; }
.audience__item p { font-family: var(--font); font-size: .95rem; line-height: 1.5; color: #000; }

/* 8. Experts ------------------------------------------------------------- */
.experts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 47px 52px; margin: 30px 26px 40px; }
.experts--4 { grid-template-columns: repeat(4, 1fr); gap: 11px; margin: 25px 15px 20px; }
.experts--5 { grid-template-columns: repeat(5, 1fr); gap: 11px; margin: 25px 15px 20px; }
.expert { border: 1px dashed var(--primary); border-radius: var(--radius-card); padding: 16px; text-align: center; display: flex; flex-direction: column; }
.experts--4 .expert, .experts--5 .expert { padding: 10px; }
.expert img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.expert h3 { font-family: var(--font-alt); font-size: 1.75rem; font-weight: 600; line-height: 1.2; color: var(--primary); margin: 20px 0 15px; }
.expert h3 a { color: inherit; }
.experts--4 .expert h3, .experts--5 .expert h3 { font-size: 1.4rem; margin: 20px 0 10px; }
.expert p { font-family: var(--font); font-size: 1rem; line-height: 1.5; color: #fff; }
.experts--4 .expert p, .experts--5 .expert p { font-size: .9rem; }
.expert .socials { margin-top: auto; padding-top: 20px; }
.expert--text { justify-content: center; padding: 16px 20px; }
.expert--text .title { font-size: 2.4rem; color: #fff; margin-bottom: 20px; }
.expert--text p { font-size: 1.1rem; font-weight: 500; line-height: 1.6; }
.expert--text strong { color: var(--primary); font-weight: 500; }

/* Tarifs */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; max-width: 800px; margin: 20px auto; padding: 0 26px; }
.price-card { border: 1px dashed var(--dash); border-radius: 15px; padding: 2em 1em; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.price-card--dark { background: #000; color: #fff; text-align: center; }
.price-card--light { background: #fff; padding: 2em; }
.price-card__label { font-family: var(--font); font-weight: 600; color: var(--muted); }
.price { font-family: var(--font); font-size: 3.4rem; font-weight: 800; line-height: 1.2; color: var(--primary); }
.price-card__more { border: 1px dashed var(--primary); padding: 10px; text-align: left; }
.price-card__more p + p { margin-top: 1em; }
.price-card--light h3 { font-family: var(--font); font-size: 1.2rem; font-weight: 600; }
.funding { font-size: 1.3rem; line-height: 1.5; text-align: center; margin: 20px 0; }
.funding img { width: 120px; margin: 20px auto 0; }

/* 9. Avis ---------------------------------------------------------------- */
.reviews { position: relative; padding: 0 30px; margin: 20px 0; }
.reviews__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.reviews__track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; background: #fff; color: #1c2022; border-radius: var(--radius-card); font-family: var(--font); overflow: hidden; }
.review__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px 10px; border-bottom: 1px solid var(--line); }
.review__avatar { width: 32px; height: 32px; border-radius: 50%; background: #e6e6e6; display: grid; place-items: center; color: #aaa; font-size: 15px; }
.review__name { font-weight: 700; font-size: 15px; line-height: 1.2; }
.review__stars { color: #f0ad4e; font-size: 15px; letter-spacing: 2px; }
.review__g { margin-left: auto; width: 24px; height: 24px; }
.review__text { padding: 16px 20px 20px; font-size: 14px; line-height: 1.6; }
.reviews__btn { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; padding: 6px; }
.reviews__btn--prev { left: 0; }
.reviews__btn--next { right: 0; }
.google-badge { display: block; width: 172px; margin: 50px auto 0; }

/* 10. Lieu & FAQ --------------------------------------------------------- */
.venue { display: grid; grid-template-columns: 1fr 400px; background: var(--surface); border-radius: 12px; overflow: hidden; margin-top: 20px; }
.venue__map { min-height: 350px; background: var(--surface) url("../img/plan-acces.jpg") center / cover no-repeat; }
.venue__info { padding: 2em; display: grid; gap: 20px; align-content: start; font-size: 16px; }
.venue__info h3 { font-family: var(--font); font-size: 1.4rem; font-weight: 700; color: var(--primary); }
.venue__info h3 + p { margin-top: -10px; }

.faq { margin-top: 20px; }
.faq details { background: #000; border-bottom: 1px solid #333; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 15px 30px; font-family: "Barlow", var(--font); font-size: 1rem; font-weight: 600; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .3s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq__answer { background: var(--surface); padding: 30px 30px; font-family: var(--font-alt); font-size: 16px; line-height: 1.6; }

/* 11. Formulaires -------------------------------------------------------- */
.form { max-width: 780px; margin: 30px auto 0; display: grid; gap: 20px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea {
  width: 100%; font-family: var(--font); font-size: 16px; font-weight: 500; color: #fff; background: var(--ink); border: 0; border-radius: var(--radius-pill); padding: 6px 16px; line-height: 1.4; min-height: 47px; }
.form textarea { min-height: 145px; padding-top: 10px; resize: vertical; }
.form ::placeholder { color: #8a9599; opacity: 1; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.form .hp { display: none !important; }
.form__actions { text-align: center; }
.form__title { font-family: var(--font); font-size: 1.5rem; font-weight: 800; margin-top: 10px; }
.form__note { font-family: var(--font); font-size: 1rem; line-height: 1.6; }
.form__check { display: flex; gap: 6px; align-items: flex-start; font-family: var(--font); font-weight: 500; line-height: 1.5; }
.form__check input { margin-top: 5px; }
.form-message { padding: 12px 16px; border-radius: 10px; font-family: var(--font); text-align: center; }
.form-message--ok { background: #e6f7ee; color: #0a7a3d; }
.form-message--error { background: #fdecea; color: #a12a20; }

/* 12. Pages internes ----------------------------------------------------- */
/* Page intervenant */
.profile__photo { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; margin: 0 auto 30px; }
.profile__role { font-family: var(--font); color: var(--muted); margin-top: 10px; }
.profile .socials { margin-top: 20px; }
.breadcrumbs { font-size: 14px; color: var(--text); text-align: center; margin-top: 30px; }
.breadcrumbs span { margin: 0 6px; }

/* Page live */
.lives { max-width: 954px; margin: 0 auto; display: grid; gap: 20px; padding: 0 10px; }
.live { background: #fff; border-radius: 5px; padding: 32px; }
.lives-title { margin-top: 1em; }
.live__replay { display: inline-flex; align-items: center; gap: 6px; background: var(--youtube); color: #fff; font-family: var(--font); font-size: 13px; font-weight: 600; border-radius: 20px; padding: 8px 14px; }
.live__replay:hover { color: #fff; background: #a82824; }
.live h3 { font-family: var(--font); font-size: 1.4rem; font-weight: 700; line-height: 1.4; margin: 20px 0; }
.live__guests { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.guest { display: flex; align-items: center; gap: 20px; font-family: var(--font); }
.guest img { width: 83px; height: 83px; border-radius: 50%; object-fit: cover; }
.guest strong { display: block; color: #000; font-size: 1.05rem; }
.guest span { color: var(--text); font-size: .95rem; }

/* Page inscription */
.signup { display: grid; grid-template-columns: 327px 1fr; gap: 26px; max-width: 964px; margin: 0 auto; padding: 0 10px; }
.signup__aside { background: var(--surface); border: 1px dashed var(--dash); border-radius: 15px; padding: 32px; text-align: center; }
.signup__aside .price { font-size: 2.9rem; }
.signup__aside > p:not(.price) { font-family: var(--font); font-weight: 500; font-size: 1.1rem; margin: 10px 0 20px; }
.signup__aside .check-list { text-align: left; }
.signup .form { margin-top: 20px; max-width: none; }
.rating { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 50px; font-family: var(--font); font-size: 14px; }
.rating img { width: 70px; }
.rating .stars { color: var(--star); letter-spacing: 2px; font-size: 16px; }

/* Plan & mentions */
.prose { max-width: 730px; margin: 0 auto; padding: 0 10px; font-family: var(--font); font-size: 1rem; line-height: 1.75; }
.prose > ul { padding: 0 40px 0 2.6em; }
.prose h2 { font-family: var(--font); font-size: 2.4rem; font-weight: 900; margin: 1.2em 0 .8em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.4em; }
.prose ul ul { list-style: circle; }
.prose ul ul ul { list-style: square; }
.legal { font-family: var(--font-alt); font-size: 1rem; line-height: 1.55; }
.after-hero:has(.legal) { padding-top: calc(2em + 50px); }
.legal h2 { font-family: var(--font-alt); font-size: 2rem; font-weight: 400; line-height: 1.2; margin: 1em 0 .6em; }
.legal p { margin-bottom: 1em; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .site-header .nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: #000; display: none; }
  .site-header .nav.is-open { display: block; }
  .site-header .nav ul { flex-direction: column; }
  .site-header .nav a { padding: 14px 20px; border-top: 1px solid #111; }
  .experts { grid-template-columns: 1fr 1fr; margin: 30px 0 20px; gap: 20px; }
  .experts--4, .experts--5 { grid-template-columns: repeat(3, 1fr); }
  .venue { grid-template-columns: 1fr; }
  .signup { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .section { padding: 3em 0; }
  .title, .expert--text .title, .prose h2 { font-size: 2rem; }
  .hero__title, .hero h1 { font-size: 2.2rem; }
  .eyebrow { font-size: 1rem; }
  .text { font-size: 1.2rem; }
  .learn__card ul { padding: 0 20px 0 40px; }
  .audience__item { flex-direction: column; align-items: flex-start; border-radius: var(--radius-card); padding: 20px; gap: 15px; }
  .experts, .experts--4, .experts--5 { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; padding: 0; gap: 20px; }
  .reviews__track { grid-auto-columns: 100%; }
  .live__guests { grid-template-columns: 1fr; gap: 16px; }
  .site-footer .nav ul { flex-direction: column; }
}

.section--form { padding: 7em 0; }
