/* Design system LF 2027 — dérivé des visuels officiels EB-PARTNERS GROUP */
:root {
  --teal-900: #0B5568;
  --teal-700: #0E6B80;
  --teal-500: #138BA3;
  --teal-400: #1597B0;
  --cyan: #22C3DD;
  --navy: #0B2E3F;
  --charcoal: #3B4045;
  --muted: #5B6770;
  --bg: #FFFFFF;
  --bg-soft: #F1F5F7;
  --line: #D5E2E7;
  --ok: #138A5B;
  --warn: #B7791F;
  --err: #B42318;
  --radius: 20px;
  --shadow: 0 18px 40px -22px rgba(11, 46, 63, .35);
  --grad: linear-gradient(100deg, var(--teal-900) 0%, var(--teal-700) 45%, var(--teal-400) 100%);
  --f-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --f-body: "Poppins", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--f-body); color: var(--navy); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--teal-700); }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(860px, 100% - 32px); }
.eyebrow { font-family: var(--f-head); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: .78rem; color: var(--teal-500); margin: 0 0 .5rem; }
.note { color: var(--muted); font-size: .9rem; margin-top: 1.2rem; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--f-head); font-weight: 700; font-size: .95rem; letter-spacing: .02em; color: #fff; background: var(--grad); border: 0; border-radius: 999px; padding: .85rem 1.5rem; text-decoration: none; cursor: pointer; box-shadow: 0 10px 24px -12px rgba(14, 107, 128, .8); transition: transform .15s, box-shadow .15s, opacity .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(14, 107, 128, .9); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-sm { padding: .55rem 1.1rem; font-size: .85rem; }
.btn-ghost { background: #fff; color: var(--teal-700); border: 2px solid var(--teal-700); box-shadow: none; }
.btn-light { background: #fff; color: var(--teal-700); box-shadow: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* Barre haute */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand .sep { width: 2px; height: 40px; background: var(--charcoal); opacity: .6; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a:not(.btn) { color: var(--navy); text-decoration: none; font-weight: 500; font-size: .92rem; }
.nav a:not(.btn):hover { color: var(--teal-500); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; background:
  radial-gradient(1200px 500px at 80% -10%, rgba(34, 195, 221, .16), transparent 60%),
  linear-gradient(180deg, #F7FAFB 0%, #EAF1F4 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(19, 139, 163, .18) 1.2px, transparent 1.2px); background-size: 22px 22px; mask-image: linear-gradient(90deg, #000 0, transparent 30%); opacity: .7; pointer-events: none; }
.hero::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -120px; height: 220px; background: linear-gradient(100deg, rgba(14, 107, 128, .18), rgba(34, 195, 221, .25)); transform: rotate(-3deg); border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.title-card { background: var(--grad); color: #fff; border-radius: var(--radius); padding: 30px 32px 34px; box-shadow: var(--shadow); text-align: center; }
.title-card h1 { margin: 0; display: grid; gap: 4px; }
.title-card .caps { font-weight: 900; font-size: clamp(1.6rem, 3.4vw, 2.6rem); text-transform: uppercase; letter-spacing: .01em; }
.title-card .light { font-family: var(--f-body); font-weight: 300; font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
.title-card .pill-title { margin-top: 10px; background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(34,195,221,.35)); border-radius: 12px; padding: 10px 14px; font-weight: 700; font-size: clamp(1.05rem, 2.1vw, 1.55rem); }
.title-card .pill-title b { color: #9BEFFC; }
.facts { display: flex; flex-wrap: wrap; gap: 18px 28px; margin: 28px 0 24px; align-items: center; }
.fact { display: flex; align-items: center; gap: 12px; }
.fact svg { width: 46px; height: 46px; fill: var(--teal-700); flex: none; }
.fact div { display: grid; }
.fact .big { font-family: var(--f-head); font-weight: 900; font-size: 2.6rem; line-height: 1; color: var(--navy); }
.fact .big i { font-style: normal; color: var(--teal-500); font-size: .8em; }
.fact .band { margin-top: 4px; background: var(--grad); color: #fff; font-family: var(--f-head); font-weight: 800; text-transform: uppercase; padding: 3px 12px; border-radius: 8px; font-size: 1.05rem; }
.fact.place strong { font-family: var(--f-head); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; }
.fact .spaced { letter-spacing: .32em; text-transform: uppercase; font-size: .72rem; color: var(--muted); border-top: 2px solid var(--teal-700); padding-top: 4px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.countdown { display: flex; gap: 10px; margin-top: 22px; }
.countdown div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px 12px; min-width: 70px; text-align: center; box-shadow: 0 6px 16px -12px rgba(11,46,63,.5); }
.countdown b { display: block; font-family: var(--f-head); font-size: 1.5rem; font-weight: 800; color: var(--teal-700); line-height: 1.1; }
.countdown span { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.hero-speakers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: end; }
.sp { position: relative; margin: 0; border: 2px solid var(--teal-500); border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #fff, #E5EFF2); aspect-ratio: 9 / 16; }
.sp:nth-child(odd) { transform: translateY(18px); }
.sp img { position: absolute; inset: auto 0 0 0; width: 100%; height: 92%; object-fit: cover; object-position: top; }
.sp::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(0deg, rgba(34,195,221,.45), transparent); }
.sp figcaption { position: absolute; z-index: 1; left: 0; bottom: 0; right: 0; padding: 8px; color: #fff; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; text-align: center; text-shadow: 0 1px 4px rgba(0,0,0,.6); }

/* Sections */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-soft); }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card .num { font-family: var(--f-head); font-weight: 900; font-size: 2rem; color: transparent; -webkit-text-stroke: 1.5px var(--teal-500); }
.card p { margin: 0; color: var(--muted); }
.audience { margin-top: 26px; padding: 16px 20px; border-left: 4px solid var(--teal-500); background: var(--bg-soft); border-radius: 0 12px 12px 0; }

/* Programme */
.tabs { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin: 18px 0 26px; flex-wrap: wrap; }
.tabs button { border: 0; background: transparent; font-family: var(--f-head); font-weight: 700; font-size: .9rem; padding: .6rem 1.2rem; border-radius: 999px; color: var(--navy); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--grad); color: #fff; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.timeline li { display: grid; grid-template-columns: 80px 1fr; gap: 16px; align-items: center; background: #fff; border-radius: 14px; padding: 14px 18px; border: 1px solid var(--line); }
.timeline time { font-family: var(--f-head); font-weight: 800; color: var(--teal-700); }
.timeline li.mod { border-left: 5px solid var(--teal-500); }
.timeline li.mod em { display: inline-block; font-style: normal; font-family: var(--f-head); font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; background: var(--teal-700); border-radius: 6px; padding: 2px 8px; margin-right: 10px; }
.timeline li.brk { background: transparent; border-style: dashed; color: var(--muted); }

/* Formateurs */
.speakers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 28px; }
.sp-card { position: relative; margin: 0; border: 2px solid var(--teal-500); border-radius: 22px; background: linear-gradient(180deg, #F7FAFB, #E3EEF1); height: 380px; overflow: hidden; }
.sp-card img { position: absolute; right: 0; bottom: 0; height: 92%; width: 82%; object-fit: cover; object-position: top; }
.sp-card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 26%; background: linear-gradient(0deg, rgba(34,195,221,.4), transparent); }
.sp-card .vname { position: absolute; left: 10px; bottom: 18px; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--f-body); font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-700); z-index: 1; }
.sp-card .vname b { font-family: var(--f-head); font-weight: 800; }

/* Tarifs */
.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 28px; }
.price { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.price.featured { border: 2px solid var(--teal-500); }
.price .ribbon { position: absolute; top: -14px; right: 22px; background: var(--grad); color: #fff; font-family: var(--f-head); font-weight: 800; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; padding: 5px 12px; border-radius: 999px; }
.price .amount { font-family: var(--f-head); font-size: 2.1rem; font-weight: 900; color: var(--teal-700); margin: .2em 0; }
.price .amount small { font-family: var(--f-body); font-size: .9rem; font-weight: 500; color: var(--muted); }
.price .sub { color: var(--muted); margin-top: 0; }
.price ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; }
.price li::before { content: "✓"; color: var(--teal-500); font-weight: 700; margin-right: 8px; }

/* Formulaire */
#form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; margin-top: 24px; }
.stepper { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 22px; counter-reset: s; }
.stepper li { flex: 1; counter-increment: s; font-family: var(--f-head); font-weight: 700; font-size: .82rem; color: var(--muted); border-bottom: 4px solid var(--line); padding-bottom: 8px; }
.stepper li::before { content: counter(s) ". "; }
.stepper li.on { color: var(--teal-700); border-color: var(--teal-500); }
.step { border: 0; padding: 0; margin: 0; }
legend { font-family: var(--f-head); font-weight: 800; font-size: 1.25rem; margin-bottom: 14px; padding: 0; }
h4 { margin: 22px 0 10px; font-size: 1rem; color: var(--teal-700); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.grid2 .full { grid-column: 1 / -1; }
label { display: grid; gap: 6px; font-size: .86rem; font-weight: 500; color: var(--charcoal); }
input, select { font: inherit; font-size: .95rem; color: var(--navy); border: 1.5px solid var(--line); border-radius: 12px; padding: .7rem .85rem; background: #fff; width: 100%; }
input:focus, select:focus { border-color: var(--teal-500); outline: 3px solid rgba(34,195,221,.25); }
input[aria-invalid="true"] { border-color: var(--err); }
label.check { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0; font-weight: 400; }
label.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--teal-700); }
label.inline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; font-size: .95rem; }
.qty { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { border: 0; background: var(--bg-soft); width: 42px; font-size: 1.2rem; cursor: pointer; color: var(--teal-700); }
.qty input { width: 64px; text-align: center; border: 0; border-radius: 0; }
.formulas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.formula { position: relative; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer; display: block; }
.formula input { position: absolute; opacity: 0; }
.formula b { display: block; font-family: var(--f-head); font-size: .9rem; }
.formula small { color: var(--muted); }
.formula:has(input:checked) { border-color: var(--teal-500); background: rgba(34,195,221,.07); box-shadow: inset 0 0 0 1px var(--teal-500); }
.person { border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-top: 12px; }
.person h5 { margin: 0 0 10px; font-family: var(--f-head); font-size: .85rem; color: var(--teal-700); display: flex; justify-content: space-between; }
.person h5 span { color: var(--muted); font-weight: 600; }
.person .grid2 { grid-template-columns: repeat(4, 1fr); }
.actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.recap { background: var(--bg-soft); border-radius: 14px; padding: 16px 18px; margin-bottom: 16px; }
.recap table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.recap td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.recap td.n { text-align: right; white-space: nowrap; }
.recap tr.total td { font-family: var(--f-head); font-weight: 800; font-size: 1.05rem; color: var(--teal-700); border-bottom: 0; }
.pay-methods { display: grid; gap: 10px; }
.method { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; cursor: pointer; }
.method input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--teal-700); flex: none; }
.method span { display: grid; }
.method small { color: var(--muted); font-weight: 400; }
.method:has(input:checked) { border-color: var(--teal-500); background: rgba(34,195,221,.07); }
.method:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.hint { font-size: .85rem; color: var(--warn); }
.error { color: var(--err); background: #FEF3F2; border-radius: 10px; padding: 10px 14px; }
.alert { background: #FFF8E6; border: 1px solid #F3D48B; border-radius: 14px; padding: 14px 18px; }

/* Infos */
.info-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-top: 10px; }
summary { cursor: pointer; font-weight: 600; }
.contact-card { background: var(--grad); color: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.contact-card a:not(.btn) { color: #fff; }
.contact-card .phones { display: grid; font-family: var(--f-head); font-weight: 800; font-size: 1.45rem; }
.contact-card .phones a { text-decoration: none; }
.link { font-weight: 600; }

.footer { background: var(--navy); color: #cfe3ea; padding: 28px 0; font-size: .85rem; }
.footer-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer .brand { background: #fff; border-radius: 14px; padding: 6px 12px; }
.footer .brand img { height: 36px; }
.footer a { color: #fff; }

/* Page statut */
.status-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; margin: 48px auto; text-align: center; }
.status-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; font-size: 2rem; color: #fff; background: var(--grad); }
.status-icon.ok { background: var(--ok); }
.status-icon.ko { background: var(--err); }
.spinner { width: 34px; height: 34px; border: 4px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.status-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; text-align: left; background: var(--bg-soft); border-radius: 14px; padding: 16px 20px; margin: 20px 0; }
.status-card dt { color: var(--muted); }
.status-card dd { margin: 0; font-weight: 600; }
.status-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

@media (max-width: 960px) {
  .hero-grid, .info-grid { grid-template-columns: 1fr; }
  .speakers { grid-template-columns: repeat(2, 1fr); }
  .person .grid2 { grid-template-columns: 1fr 1fr; }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 640px) {
  .brand img { height: 36px; }
  .cards-3, .prices, .grid2, .formulas, .person .grid2 { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .title-card { padding: 22px 18px; }
  .hero-speakers { gap: 8px; }
  .sp-card { height: 300px; }
  #form { padding: 20px 16px; }
  .timeline li { grid-template-columns: 58px 1fr; padding: 12px; }
  .stepper li { font-size: .72rem; }
  .actions { flex-direction: column-reverse; }
  .actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .spinner { transition: none; animation: none; } }
