@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Barlow:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: #F4F5F7;
  color: #1B2635;
}

a { color: inherit; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ---------- NAV ---------- */
header.nav {
  background: #0F1E30;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-brand img {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  object-fit: cover;
}
.nav-brand span {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.5px;
  color: #EDEFF2;
  text-transform: uppercase;
}
.nav-brand span em {
  font-style: normal;
  color: #D8323F;
}
.phones { display: flex; flex-direction: column; gap: 6px; }
.phones a {
  color: #14243A;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #D8323F;
  align-self: flex-start;
}
.nav-call {
  display: none;
  color: #EDEFF2;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 4px;
}
.nav-right { display: flex; align-items: center; gap: 34px; }
.nav-cta {
  background: #D8323F;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  padding: 10px 20px;
  border-radius: 4px;
}
.nav-cta:hover { opacity: 0.88; }
.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: #AEB7C4;
  font-weight: 500;
  transition: color .15s ease;
}
.nav-links a:hover { color: #EDEFF2; }

/* ---------- HERO ---------- */
.hero {
  background: #0F1E30;
  color: #EDEFF2;
  position: relative;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(15,30,48,0.94) 0%, rgba(15,30,48,0.82) 45%, rgba(15,30,48,0.55) 100%);
  z-index: 1;
}
.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 2px solid rgba(200,35,46,0.12);
  z-index: 2;
}
.hero::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -60px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 2px solid rgba(200,35,46,0.18);
  z-index: 2;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 108px 0 96px;
  max-width: 680px;
}
.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #D8323F;
  margin-bottom: 22px;
}
.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 52px;
  line-height: 1.12;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero h1 em {
  font-style: normal;
  color: #D8323F;
}
.hero p {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.6;
  color: #B8C0CB;
  max-width: 540px;
}
.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 16px;
}
.btn {
  display: inline-block;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity .15s ease;
}
.btn:hover { opacity: 0.88; }
.btn-primary {
  background: #D8323F;
  color: #fff;
}
.btn-secondary {
  border: 1px solid rgba(255,255,255,0.28);
  color: #EDEFF2;
}

/* ---------- SECTION SHARED ---------- */
section { padding: 96px 0; }
.section-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #D8323F;
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #14243A;
  max-width: 620px;
}
.section-lead {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.65;
  color: #4A5566;
  max-width: 620px;
}

/* ---------- ACTIVITES ---------- */
.activites { background: #F4F5F7; }
.activ-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
}
.activ-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.mark {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  border: 2px solid #D8323F;
  position: relative;
}
.mark::before, .mark::after {
  content: "";
  position: absolute;
  background: #D8323F;
}
.mark::before { top: 50%; left: -6px; right: -6px; height: 2px; transform: translateY(-50%); }
.mark::after { left: 50%; top: -6px; bottom: -6px; width: 2px; transform: translateX(-50%); }
.activ-item p {
  font-size: 16px;
  line-height: 1.55;
  color: #313D4E;
}

/* ---------- PRODUITS ---------- */
.produits {
  background: #14243A;
  color: #EDEFF2;
}
.produits .section-title { color: #EDEFF2; }
.produits .section-lead { color: #AEB7C4; }

.cat-block { margin-top: 64px; }
.cat-label {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #D8323F;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.brand-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #EDEFF2;
  border: 1px solid #D8323F;
  border-radius: 4px;
  padding: 6px 12px;
  margin: -8px 0 18px;
}
.cat-intro {
  font-size: 16.5px;
  line-height: 1.65;
  color: #AEB7C4;
  max-width: 760px;
  margin: -8px 0 28px;
}
.kit-box {
  background: #1B2E48;
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid #D8323F;
  border-radius: 10px;
  padding: 26px 28px;
  margin-bottom: 28px;
}
.kit-box h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 16px;
  color: #EDEFF2;
}
.kit-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 32px;
}
.kit-list li {
  font-size: 14.5px;
  line-height: 1.5;
  color: #A8B1BE;
  padding-left: 18px;
  position: relative;
}
.kit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #D8323F;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: #1B2E48;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 26px 24px;
}
.card-photo { padding: 0 0 24px; overflow: hidden; }
.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #0F1E30;
  display: block;
  margin-bottom: 20px;
}
.card-photo h4, .card-photo p { padding-left: 24px; padding-right: 24px; }
.card h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
  color: #EDEFF2;
}
.card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: #A8B1BE;
}

/* ---------- ACTUALITES ---------- */
.actus { background: #F4F5F7; }
.actu {
  margin-top: 40px;
  background: #fff;
  border: 1px solid #E2E5EA;
  border-radius: 10px;
  overflow: hidden;
}
.actu-main {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}
.actu-main > img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
}
.actu-body { padding: 36px 36px 32px; }
.actu-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #D8323F;
  margin-bottom: 14px;
  line-height: 1.6;
}
.actu-body h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #14243A;
  margin-bottom: 16px;
}
.actu-body p {
  font-size: 15.5px;
  line-height: 1.65;
  color: #313D4E;
  margin-bottom: 12px;
}
.actu-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  border-top: 1px solid #E2E5EA;
}
.actu-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.actu-gallery img.top { object-position: center 25%; }

/* ---------- REALISATION ---------- */
.realisation { background: #14243A; }
.realisation .section-title { color: #EDEFF2; }
.realisation .section-lead { color: #AEB7C4; }
.gallery-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  border: 1px solid rgba(255,255,255,0.08);
}

/* ---------- CONTACT ---------- */
.contact { background: #F4F5F7; }
.contact-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-row .k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #D8323F;
  width: 90px;
  flex: none;
  margin-top: 3px;
}
.contact-row .v {
  font-size: 16px;
  color: #313D4E;
  line-height: 1.5;
}
.quote-box {
  background: #14243A;
  color: #EDEFF2;
  border-radius: 10px;
  padding: 34px 32px;
}
.quote-box h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 19px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.quote-box p {
  font-size: 15px;
  line-height: 1.6;
  color: #AEB7C4;
  margin-bottom: 22px;
}
#quote-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#quote-form input,
#quote-form textarea {
  width: 100%;
  background: #0F1E30;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 4px;
  padding: 12px 14px;
  font-family: 'Barlow', sans-serif;
  font-size: 14.5px;
  color: #EDEFF2;
}
#quote-form input::placeholder,
#quote-form textarea::placeholder { color: #7E8A99; }
#quote-form input:focus,
#quote-form textarea:focus {
  outline: none;
  border-color: #D8323F;
}
#quote-form .consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.5;
  color: #AEB7C4;
}
#quote-form .consent input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  accent-color: #D8323F;
  flex: none;
}
#quote-form .consent a { color: #EDEFF2; }
#quote-form textarea { resize: vertical; }
#quote-form button {
  margin-top: 4px;
  border: none;
  cursor: pointer;
}
#quote-form-status {
  font-size: 14px;
  margin: 0;
  min-height: 18px;
}
#quote-form-status.ok { color: #7FD99A; }
#quote-form-status.err { color: #E58787; }

/* ---------- FOOTER ---------- */
footer {
  background: #0B1524;
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #7E8A99;
  letter-spacing: 0.5px;
}
.footer-inner strong { color: #C4CAD4; font-weight: 500; }

@media (max-width: 860px) {
  .wrap { padding: 0 24px; }
  .hero h1 { font-size: 38px; }
  .hero-video { display: none; }
  .nav-call { display: inline-block; }
  .nav-right { gap: 12px; }
  .hero { background-image: url('video/hero_poster.jpg'); background-size: cover; background-position: center; }
  .activ-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .kit-list { grid-template-columns: 1fr; }
  .actu-main { grid-template-columns: 1fr; }
  .actu-main > img { min-height: 220px; height: 240px; }
  .actu-gallery { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 540px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* ---------- PAGES INTERIEURES ---------- */
.page-hero { background: #14243A; color: #EDEFF2; padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; top: -140px; right: -100px; width: 420px; height: 420px; border-radius: 50%; border: 2px solid rgba(200,35,46,0.16); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 42px; line-height: 1.12; text-transform: uppercase; letter-spacing: 0.5px; max-width: 760px; }
.page-hero h1 em { font-style: normal; color: #D8323F; }
.page-hero p.lead { margin-top: 20px; font-size: 18px; line-height: 1.6; color: #B8C0CB; max-width: 680px; }
.crumbs { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: #8F9BAB; margin-bottom: 18px; }
.crumbs a { color: #AEB7C4; text-decoration: none; }
.crumbs a:hover { color: #EDEFF2; }
.page-section { padding: 72px 0; }
.page-section.alt { background: #fff; }
.page-section.dark { background: #14243A; color: #EDEFF2; }
.page-section.dark .section-title { color: #EDEFF2; }
.page-section.dark .prose p, .page-section.dark .prose li { color: #AEB7C4; }
.prose { max-width: 780px; margin-top: 22px; }
.prose p { font-size: 16.5px; line-height: 1.7; color: #313D4E; margin-bottom: 14px; }
.prose ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 8px 0 14px; }
.prose li { font-size: 16px; line-height: 1.6; color: #313D4E; padding-left: 22px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: #D8323F; }
.prose a, .legal a { color: #D8323F; font-weight: 600; }
.feature-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid #E2E5EA; border-radius: 10px; padding: 24px 22px; }
.page-section.alt .feature { background: #F4F5F7; }
.feature h3 { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 17px; text-transform: uppercase; letter-spacing: 0.3px; color: #14243A; margin-bottom: 10px; }
.feature p { font-size: 15px; line-height: 1.6; color: #4A5566; }
.steps { margin-top: 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { border-top: 3px solid #D8323F; padding-top: 16px; counter-increment: step; }
.step::before { content: "0" counter(step); font-family: 'JetBrains Mono', monospace; font-size: 13px; color: #D8323F; letter-spacing: 1px; }
.step h3 { margin-top: 8px; font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 17px; text-transform: uppercase; color: #14243A; }
.step p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: #4A5566; }
.img-row { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.img-row img { width: 100%; height: 230px; object-fit: cover; border-radius: 8px; display: block; border: 1px solid #E2E5EA; }
.cta-band { background: #14243A; color: #EDEFF2; padding: 56px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 26px; text-transform: uppercase; max-width: 560px; }
.cta-band .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.dl-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; padding: 12px 20px; border: 1px solid #D8323F; border-radius: 4px; color: #14243A; font-weight: 600; text-decoration: none; font-size: 15px; }
.dl-link:hover { background: #D8323F; color: #fff; }
.more-link { display: inline-block; margin: -4px 0 24px; color: #EDEFF2; font-weight: 600; text-decoration: none; border-bottom: 1px solid #D8323F; font-size: 15px; }
.legal { max-width: 800px; }
.legal h2 { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 22px; text-transform: uppercase; letter-spacing: 0.3px; color: #14243A; margin: 36px 0 12px; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.7; color: #313D4E; margin-bottom: 10px; }
.legal ul { padding-left: 20px; margin-bottom: 10px; }
.todo { background: #FFF1A8; color: #6B4E00; padding: 1px 6px; border-radius: 3px; font-weight: 600; }
.clients-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.client { background: #fff; border: 1px solid #E2E5EA; border-top: 3px solid #D8323F; border-radius: 8px; padding: 22px 20px; }
.client h3 { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 16px; text-transform: uppercase; color: #14243A; margin-bottom: 8px; }
.client p { font-size: 14.5px; line-height: 1.55; color: #4A5566; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: #9AA6B5; text-decoration: none; }
.footer-links a:hover { color: #EDEFF2; }
@media (max-width: 860px) {
  .page-hero h1 { font-size: 30px; }
  .feature-grid, .img-row, .clients-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-width: 540px) {
  .feature-grid, .img-row, .steps, .clients-grid { grid-template-columns: 1fr; }
}
