:root {
  --charcoal: #151616;
  --charcoal-2: #1f2121;
  --red: #D51113;
  --red-dark: #a50d0f;
  --cream: #f4f2ec;
  --white: #ffffff;
  --gray: #626262;
  --gray-light: #e7e5df;
  --line: #dcd9d2;
  --shadow: 0 18px 40px rgba(21, 22, 22, 0.08);
  --radius: 16px;
  --font-head: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(21, 22, 22, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--red);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}
.brand-name strong {
  color: var(--red);
  font-weight: 800;
}

.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.98rem;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.22s ease;
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { width: 100%; }

.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-phone:hover { background: var(--red-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav { display: none; }
.mobile-nav.open { display: block; background: var(--charcoal); padding: 8px 0 20px; }
.mobile-nav ul { list-style: none; text-align: center; }
.mobile-nav a { display: block; color: #fff; padding: 12px; font-weight: 500; }
.mobile-nav .btn-phone { margin: 12px auto; width: fit-content; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(213,17,19,0.16), transparent 60%),
    linear-gradient(135deg, #101111 0%, #1c1e1e 55%, #141515 100%);
  color: #fff;
  overflow: hidden;
}

.hazard-stripes {
  height: 10px;
  background:
    repeating-linear-gradient(
      45deg,
      var(--red) 0 14px,
      #fff 14px 28px
    );
  opacity: 0.85;
}
.hazard-stripes.hazard-bottom { margin-top: 0; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 90px 0 84px;
}

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.eyebrow.dark { color: var(--red); }

.hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--red); }
.hero h1 .accent-line {
  position: relative;
  white-space: nowrap;
}
.hero h1 .accent-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 8px;
  background: var(--red);
  border-radius: 4px;
  opacity: 0.55;
  z-index: -1;
}

.hero-lead {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.2s;
  line-height: 1.2;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(213,17,19,0.35); }
.btn-ghost { border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn-block { width: 100%; }

.hero-logo {
  display: flex;
  justify-content: center;
}
.hero-logo img {
  width: min(340px, 90%);
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.12);
}

/* ---------- Trustbar ---------- */

.trustbar {
  background: var(--red);
  color: #fff;
}
.trustbar-inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
  padding: 18px 0;
  text-align: center;
}
.trust-item { font-size: 0.98rem; }
.trust-item strong {
  font-family: var(--font-head);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  margin-right: 4px;
}

/* ---------- Sections ---------- */

.section { padding: 84px 0; }

.section-dark {
  background: var(--charcoal);
  color: #f4f2ec;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.9rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin-bottom: 14px;
}
.section-head p:last-child { color: var(--gray); }

/* ---------- Services grid ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border-top: 4px solid transparent;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 54px rgba(21,22,22,0.13);
  border-top-color: var(--red);
}
.card-icon {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  background: rgba(213,17,19,0.08);
  margin-bottom: 18px;
}
.card h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.card p { color: var(--gray); font-size: 0.96rem; }

/* ---------- About ---------- */

.split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-copy h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 18px;
}
.split-copy > p:not(.eyebrow) { color: rgba(244,242,236,0.8); }

.checklist {
  list-style: none;
  margin-top: 26px;
  display: grid;
  gap: 12px;
}
.checklist li {
  position: relative;
  padding-left: 32px;
  font-weight: 500;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.split-badge {
  text-align: center;
  padding: 26px;
}
.badge-big {
  border: 2px dashed rgba(213,17,19,0.7);
  border-radius: 24px;
  padding: 46px 30px;
  margin-bottom: 20px;
  background: rgba(255,255,255,0.03);
}
.badge-number {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 4rem;
  color: var(--red);
  line-height: 1;
}
.badge-label {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.2rem;
}
.badge-note { color: rgba(244,242,236,0.7); font-style: italic; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}
.contact-info { display: grid; gap: 20px; }
.contact-line {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
  background: #fff;
}
a.contact-line:hover { border-color: var(--red); transform: translateY(-2px); }
.contact-line svg { color: var(--red); flex-shrink: 0; margin-top: 2px; }
.contact-line strong { font-weight: 600; }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--cream);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(213,17,19,0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input.invalid,
.form-group textarea.invalid { border-color: var(--red); background: #fff5f5; }

.form-check { display: flex; align-items: flex-start; gap: 10px; }
.form-check input { width: auto; margin-top: 4px; }
.form-check label { margin: 0; font-weight: 400; font-size: 0.86rem; }

.form-status {
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
}
.form-status.success { color: #1a7f37; }
.form-status.error { color: var(--red); }

/* ---------- Footer ---------- */

.site-footer { background: var(--charcoal); color: #fff; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 40px 0;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-name { font-size: 1.5rem; }
.footer-nav ul { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,0.8); font-size: 0.94rem; transition: color 0.2s; }
.footer-nav a:hover { color: var(--red); }
.footer-contact { display: flex; flex-direction: column; gap: 6px; text-align: right; }
.footer-contact a { color: rgba(255,255,255,0.9); font-weight: 500; }
.footer-contact a:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 0; }
.footer-bottom p { color: rgba(255,255,255,0.55); font-size: 0.86rem; text-align: center; }

/* ---------- Mentions légales ---------- */

.legal-page { padding: 70px 0 90px; }
.legal-page h1 {
  font-family: var(--font-head);
  font-size: 2.6rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.legal-page h2 { margin: 28px 0 10px; font-size: 1.25rem; }
.legal-page p, .legal-page li { color: var(--gray); font-size: 0.95rem; }
.legal-page ul { padding-left: 22px; margin: 8px 0; }

/* ---------- Responsive ---------- */

@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 56px 0 60px; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-logo { order: -1; }
  .hero-logo img { width: min(220px, 70%); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .main-nav, .header-inner > .btn-phone { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-contact { text-align: center; }
  .footer-nav ul { justify-content: center; }
}