/* EE911 — site commercial. Identité de l'application : orange sécurité sur
   marine profond. Aucune ressource externe (fonts système, zéro traceur). */

:root {
  --orange: #e8590c;
  --orange-dark: #c94e0a;
  --navy: #10141d;
  --navy-2: #171c28;
  --ink: #1c2333;
  --muted: #66707f;
  --line: #e3e6ea;
  --bg: #ffffff;
  --bg-soft: #f6f7f8;
  --radius: 10px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: 1.75rem; text-align: center; margin-bottom: 1.5em; }
p { margin: 0 0 1em; }
a { color: var(--orange); }
section { padding: 72px 24px; }
section > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

/* ---- Boutons ---- */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 7px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--lg { padding: 13px 26px; font-size: 1.05rem; }
.btn--block { display: block; text-align: center; }

/* ---- Barre haute ---- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 24px;
  background: var(--navy); color: #fff;
}
.brand {
  display: flex; align-items: center; gap: 9px;
  color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1.15rem; letter-spacing: .02em;
}
.topbar__nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar__nav > a:not(.btn) {
  color: #cfd4dc; text-decoration: none; font-size: .95rem;
}
.topbar__nav > a:not(.btn):hover { color: #fff; }
.topbar .btn--ghost { color: #fff; }
.lang-switch { display: inline-flex; gap: 2px; }
.lang-switch a {
  color: #8b94a3; text-decoration: none; font-size: .8rem; font-weight: 700;
  padding: 3px 6px; border-radius: 4px;
}
.lang-switch a:hover { color: #fff; }
html[lang="fr"] .lang-switch a[data-lang="fr"],
html[lang="en"] .lang-switch a[data-lang="en"],
html[lang="de"] .lang-switch a[data-lang="de"],
html[lang="nl"] .lang-switch a[data-lang="nl"],
html[lang="it"] .lang-switch a[data-lang="it"] { color: #fff; background: #2a3244; }

/* ---- Hero ---- */
.hero {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px;
  align-items: center;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 88px 24px 96px;
}
.hero > * { max-width: none; margin: 0; }
.hero__text { justify-self: end; max-width: 560px; }
.hero__kicker {
  color: var(--orange); font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; font-size: .8rem;
}
.hero h1 { font-size: 2.3rem; }
.hero__sub { color: #b9c0cb; font-size: 1.05rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.hero__email {
  flex: 1 1 240px;
  padding: 12px 14px;
  border-radius: 7px; border: 1px solid #3a4356;
  background: #0c0f16; color: #fff;
  font: inherit;
}
.hero__email::placeholder { color: #6b7485; }
.hero__offer { flex-basis: 100%; color: #9aa3b1; font-size: .9rem; }
.hero__visual { justify-self: start; }

/* Vignette « plan d'évacuation » (SVG inline dans index.html) */
.plancard {
  width: min(480px, 92vw);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  overflow: hidden;
  transform: rotate(1.5deg);
}
.plancard svg { display: block; width: 100%; height: auto; }

/* ---- Bandeau normes ---- */
.strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 48px;
  background: var(--bg-soft); border-bottom: 1px solid var(--line);
  padding: 18px 24px; font-size: .95rem; color: var(--muted); text-align: center;
}
.strip strong { color: var(--ink); }

/* ---- Fonctionnalités ---- */
.features__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.features__grid article {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; background: #fff;
}
.features__grid h3 { font-size: 1.02rem; }
.features__grid p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---- Étapes ---- */
.how { background: var(--bg-soft); }
.how__steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px; counter-reset: step; list-style: none; padding: 0;
}
.how__steps li {
  counter-increment: step;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px;
}
.how__steps li::before {
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--orange); color: #fff; font-weight: 700;
  margin-bottom: 10px;
}
.how__steps strong { display: block; }
.how__steps span { color: var(--muted); font-size: .9rem; }

/* ---- Conformité ---- */
.conformity__intro { text-align: center; color: var(--muted); max-width: 640px; }
.conformity__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px; margin-top: 28px;
}
.conformity__grid article {
  border: 1px solid var(--line); border-left: 4px solid var(--orange);
  border-radius: var(--radius); padding: 20px 22px;
}
.conformity__grid p { color: var(--muted); font-size: .93rem; margin: 0; }
.conformity__note {
  margin-top: 28px; text-align: center;
  color: var(--muted); font-size: .85rem; max-width: 720px;
}

/* ---- Modèle simple ---- */
.offer-simple { background: var(--bg-soft); text-align: center; }
.offer-simple__text { max-width: 640px; font-size: 1.1rem; }
.offer-simple__more { max-width: 640px; color: var(--muted); }
.offer-simple__cta {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-top: 26px;
}
.offer-simple .btn--ghost { color: var(--ink); }

/* ---- CTA final ---- */
.cta-final {
  background: var(--navy); color: #fff; text-align: center;
}
.cta-final h2 { margin-bottom: 1em; }

/* ---- Pied de page ---- */
.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  align-items: center;
  padding: 26px 24px; background: var(--navy-2); color: #9aa3b1; font-size: .9rem;
}
.footer > div { display: flex; align-items: center; gap: 8px; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer a { color: #cfd4dc; text-decoration: none; }
.footer a:hover { color: #fff; }

/* ---- Pages annexes (mentions légales) ---- */
.legal { max-width: 720px; margin: 0 auto; padding: 48px 24px; }
.legal h1 { font-size: 1.6rem; }
.legal h2 { text-align: left; font-size: 1.1rem; margin-top: 2em; }
.legal p { color: var(--muted); }

/* ---- Responsive ---- */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; }
  .hero__text { justify-self: stretch; max-width: none; }
  .hero__visual { justify-self: center; }
  .hero h1 { font-size: 1.7rem; }
  .topbar__nav > a:not(.btn) { display: none; }
}
