/* ===========================================================
   Landing page « Prospecter à l’ère de l’IA » — InovaSkills
   Reprend le design system de inovaskills.eu (thème sombre)
   =========================================================== */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.6rem, 1rem + 5vw, 5rem);
  --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem;

  --brand-magenta: #b0207e; --brand-pink: #e02a92; --brand-fuchsia: #f0479a;
  --brand-orange: #f4863f; --brand-amber: #fbc02d;
  --grad-brand: linear-gradient(115deg, var(--brand-magenta) 0%, var(--brand-pink) 32%, var(--brand-orange) 68%, var(--brand-amber) 100%);

  --color-surface: rgba(255,255,255,.05);
  --color-border: rgba(255,255,255,.11);
  --color-text: #fdf7fb;
  --color-text-muted: rgba(253,247,251,.72);
  --radius-md: .875rem; --radius-lg: 1.25rem; --radius-xl: 1.75rem;
  --shadow-lg: 0 30px 80px rgba(0,0,0,.55);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --container: 1200px;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #180b14; color: var(--color-text);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: var(--text-base); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1100px 620px at 88% -6%, rgba(83,27,60,.95), transparent 70%),
    radial-gradient(900px 560px at 4% 32%, rgba(53,19,39,.85), transparent 72%),
    radial-gradient(1000px 700px at 60% 108%, rgba(83,27,60,.7), transparent 74%);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Sora', 'Plus Jakarta Sans', sans-serif; line-height: 1.12; letter-spacing: -.02em; margin: 0; font-weight: 700; }
p { margin: 0; }
::selection { background: var(--brand-pink); color: #fff; }

.bg-aura { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bg-aura span { position: absolute; border-radius: 50%; filter: blur(120px); }
.bg-aura span:nth-child(1) { width: 46vw; height: 46vw; top: -14vw; left: -10vw; background: var(--brand-pink); opacity: .30; }
.bg-aura span:nth-child(2) { width: 38vw; height: 38vw; top: 22vw; right: -12vw; background: var(--brand-orange); opacity: .16; }
.bg-aura span:nth-child(3) { width: 34vw; height: 34vw; bottom: -8vw; left: 30vw; background: var(--brand-magenta); opacity: .22; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-6); position: relative; z-index: 1; }
section { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .18em; font-weight: 700; color: var(--brand-amber);
}
.eyebrow::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: var(--grad-brand); }
.grad-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }

/* Boutons (identiques au site) */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: .95rem 1.7rem; border-radius: 999px; border: 0;
  font-size: var(--text-sm); font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .3s var(--ease);
  overflow: hidden; isolation: isolate;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .45s var(--ease); }
.btn-primary { background-image: var(--grad-brand); color: #fff; box-shadow: 0 10px 28px rgba(224,42,146,.32); }
.btn-primary::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; background: linear-gradient(115deg, var(--brand-amber), var(--brand-pink)); transition: opacity .5s var(--ease); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(224,42,146,.42); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary:hover svg { transform: translateX(3px); }
.btn:focus-visible { outline: 2px solid var(--brand-amber); outline-offset: 3px; }
.btn-sm { padding: .7rem 1.25rem; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 90; height: var(--header-h); display: flex; align-items: center; transition: background .5s var(--ease), box-shadow .5s var(--ease), height .5s var(--ease); }
.site-header.is-stuck { height: 68px; background: rgba(24,11,20,.74); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); box-shadow: 0 1px 0 var(--color-border), 0 12px 40px rgba(0,0,0,.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); }
.brand img { height: 62px; width: auto; transition: height .5s var(--ease); }
.site-header.is-stuck .brand img { height: 46px; }

/* Hero */
.hero { padding-top: calc(var(--header-h) + clamp(var(--space-12), 7vw, var(--space-24))); padding-bottom: clamp(var(--space-10), 5vw, var(--space-16)); }
.hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: var(--text-3xl); font-weight: 800; margin-top: var(--space-5); text-wrap: balance; }
.hero h1 .line { display: inline-block; overflow: hidden; padding-bottom: .08em; vertical-align: bottom; }
.hero h1 .line > span { display: inline-block; animation: lineUp .95s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .1s; }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
.hero-lead { font-size: var(--text-lg); font-weight: 500; line-height: 1.45; color: var(--color-text-muted); max-width: 40ch; margin-top: var(--space-6); text-wrap: balance; animation: fadeUp .9s .25s var(--ease) both; }
.hero-cta { margin-top: var(--space-10); display: flex; flex-direction: column; align-items: center; gap: var(--space-6); animation: fadeUp .9s .35s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }
.facts li { font-size: var(--text-sm); color: var(--color-text-muted); padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--color-border); background: var(--color-surface); }
.facts b { color: var(--color-text); }

/* Deux blocs */
.duo { padding-block: clamp(var(--space-8), 4vw, var(--space-16)); }
.duo-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(var(--space-5), 2.5vw, var(--space-8)); align-items: stretch; }
.card {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl);
  padding: clamp(var(--space-6), 3.2vw, var(--space-12));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: border-color .5s var(--ease), background .5s var(--ease);
}
.card:hover { border-color: rgba(240,71,154,.35); background: rgba(255,255,255,.065); }
.card h2 { font-size: var(--text-xl); margin-top: var(--space-4); text-wrap: balance; }
.card-lead { margin-top: var(--space-4); font-size: var(--text-lg); font-weight: 500; line-height: 1.45; }
.list-title { margin-top: var(--space-8); font-weight: 700; color: var(--color-text); }
.gains { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: var(--space-3); }
.gains li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: start; padding: var(--space-4); border-radius: var(--radius-md); background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); }
.gains p { color: var(--color-text-muted); }
.gains strong { color: var(--color-text); font-weight: 700; }
.ico { width: 2.5rem; height: 2.5rem; flex: none; display: grid; place-items: center; border-radius: .75rem; font-size: 1.2rem; line-height: 1; background: linear-gradient(135deg, rgba(224,42,146,.22), rgba(251,192,45,.16)); border: 1px solid rgba(255,255,255,.1); }
.takeaway { margin-top: var(--space-6); padding-left: var(--space-5); border-left: 3px solid; border-image: var(--grad-brand) 1; font-weight: 500; }
.prereq { margin-top: var(--space-6); display: flex; align-items: center; gap: var(--space-3); font-size: var(--text-sm); font-weight: 600; color: var(--color-text-muted); }
.prereq .ico { width: 2.1rem; height: 2.1rem; font-size: 1rem; }

.card-trainer { display: flex; flex-direction: column; }
.trainer-photo { margin: var(--space-5) 0 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.4; border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow-lg); }
.trainer-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; filter: brightness(.95) saturate(1.04); transition: transform 1.2s var(--ease); }
.card-trainer:hover .trainer-photo img { transform: scale(1.04); }
.trainer-name { font-size: var(--text-xl); margin-top: var(--space-6) !important; }
.creds { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: var(--space-3); }
.creds li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: start; color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.5; }
.creds b { color: var(--color-text); }
.creds svg { width: 22px; height: 22px; color: var(--brand-fuchsia); margin-top: 1px; }

/* Tarif */
.price-band { padding-block: clamp(var(--space-6), 3vw, var(--space-10)); }
.price {
  text-align: center; padding: clamp(var(--space-8), 4vw, var(--space-12)) var(--space-6);
  border-radius: var(--radius-xl); position: relative; overflow: hidden;
  background: linear-gradient(115deg, rgba(176,32,126,.20), rgba(224,42,146,.12) 40%, rgba(251,192,45,.12));
  border: 1px solid rgba(240,71,154,.28);
}
.price-label { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .18em; font-weight: 700; color: var(--brand-amber); }
.price-amount { font-family: 'Sora', sans-serif; font-weight: 800; font-size: var(--text-3xl); line-height: 1.05; margin-top: var(--space-3); }
.price-amount small { font-size: .38em; font-weight: 700; color: var(--color-text); letter-spacing: .02em; }
.price-detail { margin-top: var(--space-3); font-size: var(--text-lg); font-weight: 500; }

/* Réservation */
.booking { padding-block: clamp(var(--space-8), 4vw, var(--space-16)) clamp(var(--space-12), 6vw, var(--space-24)); }
.booking-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: clamp(var(--space-6), 3.2vw, var(--space-12)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.booking-head { text-align: center; }
.booking-head h2 { font-size: var(--text-2xl); margin-top: var(--space-4); }
.booking-head p { margin-top: var(--space-3); color: var(--color-text-muted); }
.weez-slot { margin: var(--space-8) auto 0; max-width: 760px; border-radius: var(--radius-lg); background: #fff; color: #1e1119; overflow: hidden; min-height: 220px; padding: var(--space-2); }
.weez-slot iframe { display: block; width: 100% !important; border: 0; }
.weez-slot > a.weezevent-widget-integration { display: flex; min-height: 200px; align-items: center; justify-content: center; color: var(--brand-magenta); font-weight: 700; }
.weez-placeholder { min-height: 220px; display: grid; place-items: center; align-content: center; gap: var(--space-3); padding: var(--space-8); text-align: center; color: #6d5f68; background: #fbf8fa; border: 2px dashed #e8dde5; border-radius: var(--radius-lg); }
.weez-placeholder svg { width: 40px; height: 40px; color: var(--brand-pink); }

/* Footer */
.site-footer { position: relative; z-index: 1; border-top: 1px solid var(--color-border); padding-block: var(--space-10) calc(var(--space-10) + 80px); color: var(--color-text-muted); font-size: var(--text-sm); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-5); }
.footer-inner img { height: 48px; width: auto; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--brand-fuchsia); }

/* Public visé */
.hero-audience { margin-top: var(--space-4); font-size: var(--text-sm); font-weight: 700; letter-spacing: .02em; color: var(--color-text); padding: .4rem 1rem; border-radius: 999px; background: linear-gradient(115deg, rgba(224,42,146,.18), rgba(251,192,45,.12)); border: 1px solid rgba(240,71,154,.3); animation: fadeUp .9s .3s var(--ease) both; }
.facts li { display: inline-flex; align-items: center; gap: .5rem; }
.facts svg { width: 17px; height: 17px; color: var(--brand-fuchsia); flex: none; }
.facts .fact-hot { border-color: rgba(251,192,45,.45); background: rgba(251,192,45,.08); }
.facts .fact-hot svg { color: var(--brand-amber); }
.price-meta { margin-top: var(--space-2); color: var(--color-text-muted); font-size: var(--text-sm); }
.price-meta b { color: var(--brand-amber); }
.price .btn { margin-top: var(--space-6); }

/* LinkedIn / WhatsApp */
.btn-linkedin { background: #0a66c2; color: #fff; box-shadow: 0 10px 26px rgba(10,102,194,.3); align-self: flex-start; margin-top: var(--space-6); }
.btn-linkedin:hover { transform: translateY(-3px); background: #0958a8; box-shadow: 0 16px 32px rgba(10,102,194,.42); }
.btn-wa { background: #25d366; color: #06331b; box-shadow: 0 10px 26px rgba(37,211,102,.32); }
.btn-wa:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(37,211,102,.45); }
.booking-help { margin-top: var(--space-8); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-4); color: var(--color-text-muted); font-weight: 600; }
.wa-float {
  position: fixed; right: clamp(16px, 2.5vw, 28px); bottom: clamp(16px, 2.5vw, 28px); z-index: 100;
  display: inline-flex; align-items: center; gap: var(--space-3);
  background: #25d366; color: #06331b; text-decoration: none; font-weight: 700; font-size: var(--text-sm);
  padding: 14px 18px 14px 14px; border-radius: 999px; box-shadow: 0 14px 34px rgba(37,211,102,.4);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; flex: none; }
.wa-float:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 20px 44px rgba(37,211,102,.5); }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 999px; border: 2px solid rgba(37,211,102,.6); animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .75; } 70% { transform: scale(1.35); opacity: 0; } 100% { opacity: 0; } }

/* FAQ */
.faq { padding-block: 0 clamp(var(--space-12), 6vw, var(--space-24)); }
.faq-inner { display: grid; grid-template-columns: .8fr 1.6fr; gap: clamp(var(--space-6), 4vw, var(--space-16)); align-items: start; }
.faq-head h2 { font-size: var(--text-2xl); margin-top: var(--space-4); }
.faq-list { display: grid; gap: var(--space-3); }
.faq-list details { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: border-color .4s var(--ease); }
.faq-list details[open] { border-color: rgba(240,71,154,.35); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-5); font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:focus-visible { outline: 2px solid var(--brand-amber); outline-offset: 2px; border-radius: var(--radius-md); }
.faq-list .sign { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: rgba(255,255,255,.1); }
.faq-list .sign::before, .faq-list .sign::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--brand-fuchsia); border-radius: 2px; transform: translate(-50%,-50%); transition: transform .4s var(--ease); }
.faq-list .sign::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-list details[open] .sign::after { transform: translate(-50%,-50%) rotate(0deg); }
.faq-list details p { padding: 0 var(--space-5) var(--space-5); color: var(--color-text-muted); }
.faq-list details p b { color: var(--color-text); }

/* Bouton fixe (mobile) */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: flex; position: fixed; left: var(--space-4); right: calc(var(--space-4) + 68px); bottom: calc(var(--space-4) + env(safe-area-inset-bottom)); z-index: 95; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .wa-float { padding: 14px; bottom: calc(var(--space-4) + env(safe-area-inset-bottom)); right: var(--space-4); }
  .wa-float .label { display: none; }
  .sticky-cta.is-hidden { opacity: 0; pointer-events: none; transform: translateY(16px); }
}

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .12s; }

/* Responsive */
@media (max-width: 960px) {
  .duo-grid { grid-template-columns: 1fr; }
  .faq-inner { grid-template-columns: 1fr; }
  .trainer-photo { aspect-ratio: 4 / 3.6; }
}
@media (max-width: 560px) {
  :root { --header-h: 72px; }
  .container { padding-inline: var(--space-5); }
  .brand img { height: 48px; }
  .site-header .btn-sm { display: none; }
  .gains li { padding: var(--space-3); gap: var(--space-3); }
  .booking-card { padding: var(--space-6) var(--space-3); }
  .weez-slot { padding: 0; border-radius: var(--radius-md); }
  .facts { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: var(--space-2); }
  .facts li { justify-content: flex-start; padding: .55rem .75rem; font-size: .8rem; line-height: 1.3; text-align: left; border-radius: .9rem; }
  .facts svg { width: 15px; height: 15px; }
  .footer-inner { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
