@font-face { font-family: 'Sora'; src: url('fonts/Sora-Variable.ttf') format('truetype'); font-weight: 100 800; font-display: swap; }
@font-face { font-family: 'proxima_nova'; src: url('fonts/ProximaNovaA-Regular.ttf') format('truetype'); font-weight: 400 500; font-display: swap; }
@font-face { font-family: 'proxima_nova'; src: url('fonts/ProximaNovaA-Semibold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'proxima_nova'; src: url('fonts/ProximaNovaA-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'proxima_nova'; src: url('fonts/ProximaNovaA-Extrabld.ttf') format('truetype'); font-weight: 800; font-display: swap; }

:root {
  --red: #ff2400;
  --red-dark: #d81e00;
  --ink: #222222;
  --ink-title: #252121;
  --grey-bg: #f6f6f6;
  --line: #e5e5e5;
  --beige: #f2ebd5;
  --teal: #a0d9d9;
  --blue: #1979c3;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: 'proxima_nova', Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, .title { font-family: 'Sora', sans-serif; color: var(--ink-title); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }

/* ---------- Header ---------- */
.topbar { background: var(--grey-bg); font-size: 14px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.topbar .flags { display: flex; gap: 12px; }
.topbar .flags span { width: 16px; height: 16px; border-radius: 50%; display: inline-block; }
.flag-fr { background: linear-gradient(90deg, #0055a4 33%, #fff 33% 66%, #ef4135 66%); }
.flag-uk { background: #012169 radial-gradient(circle, #c8102e 22%, #fff 23% 34%, transparent 35%); }
.topbar .links { display: flex; gap: 28px; align-items: center; }
.topbar .links a { display: inline-flex; gap: 6px; align-items: center; }
.topbar .recrute { color: var(--red); }

.header-main .container { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; padding-bottom: 16px; }
.header-main .logo img { height: 28px; width: auto; }
.header-actions { display: flex; gap: 12px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; height: 32px; border-radius: 12px; font-weight: 600; font-size: 14px; }
.pill-beige { background: var(--beige); color: #000; text-transform: uppercase; }
.pill-teal { background: var(--teal); color: var(--blue); }
.pill-teal span { color: #000; }


/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin: 16px auto 0;
  max-width: 1280px;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #111 url('img/banderole-rrs.jpg') center / cover no-repeat;
}
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.15) 100%); }
.hero-inner { position: relative; padding: 48px 56px; max-width: 640px; color: var(--white); }
.stripes { display: flex; gap: 6px; margin-bottom: 18px; }
.stripes i { width: 12px; height: 28px; background: var(--red); transform: skewX(-20deg); display: block; }
.hero h1 { color: var(--white); font-size: 44px; line-height: 1.1; margin: 0 0 12px; text-transform: uppercase; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero p.lead { font-size: 18px; margin: 0 0 28px; line-height: 1.45; }

/* ---------- Form ---------- */
.reveal-form { display: flex; gap: 10px; flex-wrap: wrap; }
.reveal-form input[type=email] {
  flex: 1 1 260px;
  height: 52px;
  border: 2px solid transparent;
  border-radius: 5px;
  padding: 0 16px;
  font: 500 16px 'proxima_nova', Arial, sans-serif;
  color: var(--ink);
  outline: none;
}
.reveal-form input[type=email]:focus { border-color: var(--red); }
.reveal-form input.invalid { border-color: var(--red); background: #fff3f1; }
.hp { position: absolute; left: -9999px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px;
  background: var(--red); color: var(--white);
  border: 0; border-radius: 5px; cursor: pointer;
  font: 600 15px 'Sora', sans-serif; text-transform: uppercase; letter-spacing: .02em;
  transition: background .15s;
}
.btn:hover { background: var(--red-dark); }
.btn:disabled { opacity: .6; cursor: wait; }
.form-error { min-height: 22px; margin: 10px 0 0; color: #ffb4a6; font-weight: 600; }
.legal { font-size: 12px; opacity: .8; margin: 6px 0 0; line-height: 1.4; }
.legal a { text-decoration: underline; }

/* ---------- Page code promo ---------- */
.code-card {
  position: relative; background: var(--white); color: var(--ink);
  border-radius: 12px; padding: 36px 32px; text-align: center; max-width: 520px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.hero-code { justify-content: center; }
.hero-code .hero-inner { max-width: 600px; padding: 48px 16px; display: flex; justify-content: center; }
.code-card h1 { color: var(--ink-title); font-size: 28px; margin: 0 0 8px; }
.code-card .sub { margin: 0 0 24px; font-size: 16px; }
.code-box {
  font: 700 34px 'Sora', sans-serif; letter-spacing: .06em; color: var(--red);
  border: 2px dashed var(--red); border-radius: 8px; padding: 18px 12px; margin-bottom: 24px;
  user-select: all; word-break: break-all;
}
.code-card .btn { width: 100%; }
.code-card .once { font-size: 12px; color: #666; margin: 12px 0 0; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: none; align-items: center; justify-content: center; padding: 16px; z-index: 100; }
.modal.open { display: flex; }
.modal-box { background: var(--white); border-radius: 12px; max-width: 460px; width: 100%; padding: 32px 28px; text-align: center; border-top: 6px solid var(--red); }
.modal-box .check { width: 52px; height: 52px; border-radius: 50%; background: #e7f6ec; color: #1a8a3c; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.modal-box h2 { font-size: 20px; margin: 0 0 10px; }
.modal-box p { margin: 0 0 20px; line-height: 1.5; font-size: 16px; }
.countdown { font: 700 56px 'Sora', sans-serif; color: var(--red); line-height: 1; }
.countdown-label { font-size: 13px; color: #666; margin-top: 6px; }
.modal-box .now { display: inline-block; margin-top: 18px; font-size: 13px; text-decoration: underline; color: #555; }

/* ---------- Réassurance ---------- */
.reassurance { max-width: 1280px; margin: 0 auto; padding: 28px 16px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; border-bottom: 1px solid var(--line); }
.reassurance div { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--red); }
.reassurance img { width: 38px; height: 38px; flex: none; }

/* ---------- Footer ---------- */
footer { background: var(--grey-bg); margin-top: 48px; font-size: 13px; }
footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-top: 40px; padding-bottom: 32px; }
footer h3 { font-size: 16px; margin: 0 0 12px; }
footer p { line-height: 1.6; margin: 0 0 10px; }
footer ul { list-style: none; padding: 0; margin: 0; line-height: 2; }
footer a:hover { color: var(--red); }
.socials { display: flex; gap: 10px; margin-top: 12px; }
.socials a { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--white); display: inline-flex; align-items: center; justify-content: center; }
.socials a:hover { background: var(--red); color: var(--white); }
.copyright { border-top: 1px solid var(--line); text-align: center; padding: 14px 16px; font-size: 12px; color: #777; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .topbar .links a:not(.tel) { display: none; }
  .reassurance { grid-template-columns: repeat(2, 1fr); }
  footer .container { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .header-main .logo img { height: 22px; }
  .pill { padding: 0 10px; font-size: 12px; }
  .pill .txt { display: none; }
  .hero { min-height: 0; }
  .hero-inner { padding: 36px 16px; }
  .hero h1 { font-size: 30px; }
  .hero p.lead { font-size: 16px; }
  .btn { width: 100%; }
  .code-card { padding: 28px 18px; }
  .code-box { font-size: 26px; }
  .reassurance { grid-template-columns: 1fr; }
}
