/* ==========================================================================
   Flex Groupe Sécurité — feuille de style principale
   ========================================================================== */

:root {
  --green: #12b524;
  --green-strong: #0b8f1b;
  --green-soft: #e8f7ea;
  --ink: #0b0f0d;
  --ink-2: #141a17;
  --ink-3: #1e2622;
  --text: #2a332e;
  --muted: #5d6862;
  --line: #e2e7e3;
  --bg: #ffffff;
  --bg-alt: #f4f6f4;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(11, 15, 13, .08);
  --shadow-lg: 0 24px 60px rgba(11, 15, 13, .18);
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.08; margin: 0 0 .5em; letter-spacing: .2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ico { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -0.2em; }
.ico--lg { width: 34px; height: 34px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--green); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 15px; letter-spacing: .3px;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 1em 1.7em; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 8px 22px rgba(18, 181, 36, .32); }
.btn--primary:hover { background: var(--green-strong); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.section--dark .btn--ghost, .hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover { border-color: var(--green); color: var(--green); }
.btn--light { background: #fff; color: var(--ink); }
.btn--outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--ink); }

/* ---------- Eyebrow / titles ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  letter-spacing: 2.4px; text-transform: uppercase; color: var(--green-strong); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--green); }
.eyebrow--light { color: var(--green); }
.title { font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; text-transform: uppercase; }
.subtitle { font-size: 24px; margin-top: 1.4em; }
.muted { color: var(--muted); }

/* ---------- Top bar ---------- */
.topbar { background: #050706; color: #b9c4bd; font-size: 14px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar__tag { margin: 0; letter-spacing: 1.5px; text-transform: uppercase; font-size: 12px; font-weight: 600; color: var(--green); }
.topbar__links { display: flex; gap: 24px; align-items: center; }
.topbar__links li, .topbar__links a { display: inline-flex; align-items: center; gap: 8px; }
.topbar__links a:hover { color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 15, 13, .92);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s ease, box-shadow .3s ease;
}
/* Blur on a pseudo-element: backdrop-filter on .header itself would trap the fixed mobile menu inside it */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
}
.header.is-scrolled { background: rgba(255,255,255,.96); box-shadow: 0 6px 24px rgba(0,0,0,.08); border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { height: 50px; width: auto; }
.brand__dark { display: none; }
.header.is-scrolled .brand__light { display: none; }
.header.is-scrolled .brand__dark { display: block; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 26px; }
.nav ul a {
  color: #e6ece8; font-weight: 600; font-size: 15px; position: relative; padding: 6px 0;
}
.nav ul a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--green); transition: width .25s ease;
}
.nav ul a:hover::after, .nav ul a.is-active::after { width: 100%; }
.header.is-scrolled .nav ul a { color: var(--ink); }
.nav__cta { padding: .7em 1.2em; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; position: relative; }
.burger span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform .3s ease, opacity .3s ease; border-radius: 2px; }
.header.is-scrolled .burger span { background: var(--ink); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #cfd8d2;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(18,181,36,.18), transparent 60%),
    linear-gradient(160deg, #0b0f0d 0%, #111915 55%, #0b0f0d 100%);
  padding: 72px 0 96px;
}
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.hero__inner > *, .about > *, .events > *, .formation > *, .contact > * { min-width: 0; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero__title {
  color: #fff; font-size: clamp(44px, 6.4vw, 84px); font-weight: 800; text-transform: uppercase; font-style: italic; margin-bottom: 24px;
}
.hero__title span { color: var(--green); }
.hero__lead { font-size: 19px; max-width: 560px; color: #c2ccc6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 44px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 28px; }
.hero__facts strong { display: block; font-family: var(--font-head); font-size: 30px; color: #fff; line-height: 1.1; }
.hero__facts span { font-size: 14px; color: #9eaaa3; line-height: 1.4; display: block; margin-top: 4px; }

.hero__media { position: relative; }
.hero__photo { margin: 0; position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.hero__photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(5,7,6,.75));
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero__photo figcaption {
  position: absolute; left: 20px; bottom: 18px; z-index: 2; color: #fff; font-size: 14px; font-weight: 600;
  display: inline-flex; gap: 8px; align-items: center;
}
.hero__photo figcaption .ico { color: var(--green); }
.hero__media::after {
  content: ""; position: absolute; z-index: -1; right: -22px; top: -22px; width: 60%; height: 60%;
  border: 2px solid rgba(18,181,36,.5); border-radius: 22px;
}
.hero__badge {
  position: absolute; left: -36px; top: 38px; z-index: 3;
  display: flex; align-items: center; gap: 14px;
  background: #fff; color: var(--ink); border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow-lg);
}
.hero__badge .ico { color: var(--green); }
.hero__badge strong { display: block; font-family: var(--font-head); font-size: 22px; text-transform: uppercase; line-height: 1; }
.hero__badge span { font-size: 13px; color: var(--muted); }

/* ---------- Ribbon ---------- */
.ribbon { background: var(--green); overflow: hidden; padding: 16px 0; }
.ribbon__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.ribbon__track span {
  font-family: var(--font-head); font-weight: 800; font-size: 22px; text-transform: uppercase; color: #fff;
  padding: 0 28px; display: inline-flex; align-items: center; gap: 28px; white-space: nowrap; letter-spacing: 1px;
}
.ribbon__track span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); margin-left: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--ink); color: #b9c4bd; }
.section--dark .title { color: #fff; }
.section__head { max-width: 760px; margin-bottom: 56px; }
.section__intro { font-size: 18px; color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.about__quote {
  position: absolute; right: -24px; bottom: -32px; max-width: 320px;
  background: var(--ink); color: #fff; padding: 24px 26px; border-radius: var(--radius); border-left: 4px solid var(--green);
  box-shadow: var(--shadow-lg);
}
.about__quote p { margin: 0; font-family: var(--font-head); font-style: italic; font-weight: 700; font-size: 23px; line-height: 1.2; }
.checklist { margin: 26px 0 30px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.checklist .ico { color: #fff; background: var(--green); border-radius: 50%; padding: 4px; width: 24px; height: 24px; margin-top: 1px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green-strong); }
.link-arrow .ico { transition: transform .2s ease; }
.link-arrow:hover .ico { transform: translateX(4px); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; position: relative; overflow: hidden;
}
.card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card__icon {
  width: 58px; height: 58px; border-radius: 14px; background: var(--green-soft); color: var(--green-strong);
  display: grid; place-items: center; margin-bottom: 22px;
}
.card__icon .ico { width: 28px; height: 28px; }
.card h3 { font-size: 26px; text-transform: uppercase; margin-bottom: 6px; }
.card__tag { font-size: 13px; font-weight: 700; color: var(--green-strong); letter-spacing: .4px; margin-bottom: 14px; }
.card p:last-child { margin: 0; color: var(--muted); font-size: 16px; }

/* Packs */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pack {
  background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 38px 32px;
  display: flex; flex-direction: column; position: relative; transition: transform .3s ease, border-color .3s ease;
}
.pack:hover { transform: translateY(-6px); border-color: rgba(18,181,36,.5); }
.pack--featured { background: linear-gradient(165deg, #12301a 0%, var(--ink-2) 70%); border-color: rgba(18,181,36,.55); }
.pack__num { font-family: var(--font-head); font-size: 64px; font-weight: 800; color: rgba(255,255,255,.08); position: absolute; right: 26px; top: 14px; line-height: 1; }
.pack h3 { color: #fff; font-size: 32px; text-transform: uppercase; }
.pack__claim { font-size: 18px; color: #dfe7e2; min-height: 3.3em; }
.pack ul { display: grid; gap: 12px; margin: 10px 0 30px; flex: 1; }
.pack li { display: flex; gap: 10px; font-size: 15.5px; }
.pack li .ico { color: var(--green); margin-top: 4px; }
.pack .btn { align-self: flex-start; }

/* Events */
.events { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin-top: 34px; }
.feature { display: flex; gap: 14px; }
.feature > .ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--green-soft); color: var(--green-strong); }
.feature h3 { font-size: 20px; text-transform: uppercase; margin-bottom: 4px; }
.feature p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.5; }
.events__media { position: relative; padding-bottom: 60px; }
.events__img { border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow-lg); }
.events__img--main { width: 82%; aspect-ratio: 3 / 4; }
.events__img--sub { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 3 / 4; border: 6px solid #fff; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.step { background: #fff; border-radius: var(--radius); padding: 32px 26px; border: 1px solid var(--line); position: relative; }
.step__n {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); color: #fff; font-family: var(--font-head); font-size: 24px; font-weight: 800; margin-bottom: 20px;
  box-shadow: 0 0 0 6px var(--green-soft);
}
.step h3 { font-size: 24px; text-transform: uppercase; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Formation */
.formation { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.formation__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 4; object-fit: cover; box-shadow: var(--shadow); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tags span { padding: 8px 14px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); }
.cert { display: flex; gap: 18px; align-items: center; margin-top: 28px; padding: 18px; border-radius: var(--radius); border: 1px dashed #c7d2ca; background: #fbfcfb; }
.cert img { width: 130px; border-radius: 6px; box-shadow: var(--shadow); cursor: zoom-in; }
.cert p { margin: 0; font-size: 15px; color: var(--muted); }
.cert strong { color: var(--ink); }

/* Strengths */
.strengths { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.strength { grid-column: span 2; background: #fff; border-radius: var(--radius); padding: 32px 28px; border: 1px solid var(--line); }
.strength:nth-child(4) { grid-column: 2 / span 2; }
.strength > .ico { width: 40px; height: 40px; color: var(--green); margin-bottom: 16px; }
.strength h3 { font-size: 23px; text-transform: uppercase; }
.strength p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 16px; grid-auto-flow: dense; }
.gallery__item { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-sm); cursor: zoom-in; background: var(--bg-alt); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; color: #fff; font-weight: 600; font-size: 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
}

/* CTA */
.cta {
  background:
    linear-gradient(100deg, rgba(8,90,20,.94), rgba(18,181,36,.85)),
    url("../images/checkpoint-entree-site.jpg") center 30% / cover no-repeat;
  color: #fff; padding: 80px 0;
}
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta__kicker { font-family: var(--font-head); font-style: italic; font-size: 26px; margin: 0 0 4px; opacity: .9; }
.cta__title { color: #fff; font-size: clamp(38px, 5vw, 64px); font-style: italic; font-weight: 800; text-transform: uppercase; margin: 0; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.contact__list { display: grid; gap: 18px; margin: 30px 0; }
.contact__list li { display: flex; gap: 16px; align-items: center; }
.contact__ico .ico { width: 22px; height: 22px; }
.contact__ico { width: 48px; height: 48px; border-radius: 12px; background: var(--ink); color: var(--green); display: grid; place-items: center; flex-shrink: 0; }
.contact__list small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); font-weight: 600; }
.contact__list div > a, .contact__list div > span { font-weight: 700; color: var(--ink); }
.contact__list div > a:hover { color: var(--green-strong); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 240px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.4); }

.form { background: var(--bg-alt); border-radius: 18px; padding: 40px; border: 1px solid var(--line); }
.form h3 { font-size: 28px; text-transform: uppercase; margin-bottom: 24px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 13px 14px; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid #d5ddd7; border-radius: 10px; transition: border-color .2s ease, box-shadow .2s ease;
}
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 4px rgba(18,181,36,.15); }
.form .is-invalid { border-color: #d0342c; }
.form__note { font-size: 13px; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form__note.is-error { color: #b42318; }
.form__note.is-ok { color: var(--green-strong); font-weight: 600; }

/* Footer */
.footer { background: #050706; color: #9aa69f; padding: 72px 0 0; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; }
.footer__brand img { width: 220px; margin-bottom: 18px; }
.footer__brand p { font-family: var(--font-head); font-style: italic; font-size: 20px; color: #dfe7e2; max-width: 300px; }
.footer h4 { color: #fff; font-size: 18px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer a:hover { color: var(--green); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); padding: 22px 24px; font-size: 13px; }
.footer__bottom p { margin: 0; }

/* Floating actions */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37,211,102,.45);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float .ico { width: 30px; height: 30px; }
.to-top {
  position: fixed; right: 30px; bottom: 92px; z-index: 90; width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: var(--ink); color: #fff; font-size: 18px; opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5,7,6,.94); display: flex; align-items: center; justify-content: center; padding: 40px 70px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 8px; object-fit: contain; }
.lightbox__cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #dfe7e2; margin: 0; }
.lightbox__close { position: absolute; top: 14px; right: 20px; background: none; border: 0; color: #fff; font-size: 44px; line-height: 1; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; font-size: 32px; line-height: 1; }
.lightbox__nav:hover { background: var(--green); }
.lightbox__prev { left: 14px; }
.lightbox__next { right: 14px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Legal page */
.legal { padding: 80px 0 110px; }
.legal .container { max-width: 860px; }
.legal h2 { font-size: 28px; text-transform: uppercase; margin-top: 2em; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav ul { gap: 18px; }
  .nav ul a { font-size: 14px; }
  .hero__badge { left: -12px; }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--ink);
    flex-direction: column; align-items: stretch; gap: 0; padding: 20px 24px 32px;
    transform: translateX(100%); transition: transform .35s ease; overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a, .header.is-scrolled .nav ul a { display: block; color: #fff; font-size: 20px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-family: var(--font-head); text-transform: uppercase; letter-spacing: .5px; }
  .nav ul a::after { display: none; }
  .nav__cta { margin-top: 24px; }
  .brand img { height: 42px; }

  .hero { padding: 48px 0 72px; }
  .hero__inner, .about, .events, .formation, .contact { grid-template-columns: 1fr; gap: 48px; }
  .hero__media { max-width: 520px; margin: 0 auto; width: 100%; }
  .hero__photo { aspect-ratio: 4 / 4.2; }
  .hero__badge { left: 12px; top: auto; bottom: -26px; }
  .hero__photo figcaption { top: 16px; bottom: auto; background: rgba(5,7,6,.6); padding: 6px 12px; border-radius: 999px; }
  .about__quote { right: 12px; }
  .cards, .packs { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .strengths { grid-template-columns: 1fr 1fr; }
  .strength, .strength:nth-child(4) { grid-column: auto; }
  .formation__media { max-width: 460px; }
  .events__media { max-width: 560px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .gallery__item--tall { grid-row: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 84px 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .topbar__tag, .hide-sm { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__links { gap: 16px; font-size: 13px; }
  .topbar__links li:nth-child(2) a { font-size: 0; gap: 0; }
  .topbar__links li:nth-child(2) .ico { font-size: 16px; }
  .hero__facts { grid-template-columns: 1fr; gap: 14px; }
  .hero__facts li { display: flex; gap: 14px; align-items: baseline; }
  .hero__facts strong { min-width: 84px; font-size: 26px; }
  .hero__facts span { margin: 0; }
  .hero__actions .btn { width: 100%; }
  .cards, .packs, .steps, .strengths, .features, .form__row { grid-template-columns: 1fr; }
  .form__row { gap: 0; }
  .about__quote { position: relative; right: auto; bottom: auto; margin: -40px 16px 0; }
  .pack__claim { min-height: 0; }
  .gallery { grid-auto-rows: 160px; gap: 10px; }
  .form { padding: 26px 20px; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta__actions .btn { flex: 1; }
  .cert { flex-direction: column; align-items: flex-start; }
  .lightbox { padding: 40px 12px; }
  .section { padding: 68px 0; }
  .wa-float { right: 16px; bottom: 16px; }
  .to-top { right: 23px; bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
[tabindex="-1"]:focus { outline: none; }
