/* =========================================================
   Raoux Prestations — Design v4 : Industriel / Split-screen
   Palette: noir · rouge entreprise · jaune sécurité
   Type: Oswald (titres) + Saira (texte) + Saira Condensed (UI)
   Layout: hero divisé diagonal, panneaux horizontaux,
   transitions de sections en biais
   ========================================================= */

:root {
  --black: #0a0a0a;
  --ink: #131313;
  --panel: #1c1c1c;
  --panel-light: #242424;
  --red: #e01e1e;
  --red-dark: #b01515;
  --red-bright: #ff2a2a;
  --yellow: #f5c400;
  --yellow-dark: #c9a300;
  --white: #f0f0f0;
  --grey: #8a8a8a;
  --grey-dark: #555;
  --grey-light: #c0c0c0;
  --line: rgba(255,255,255,.08);
  --line-red: rgba(224,30,30,.22);

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Saira', system-ui, sans-serif;
  --font-cond: 'Saira Condensed', 'Arial Narrow', sans-serif;

  --container: 1200px;
}

/* ===== Reset ===== */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Layout ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.section { padding: 110px 0; position: relative; }

/* ===== Safety stripe ===== */
.stripe {
  height: 8px;
  background: repeating-linear-gradient(
    -45deg,
    var(--yellow) 0, var(--yellow) 16px,
    var(--black) 16px, var(--black) 32px
  );
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 38px;
  font-family: var(--font-cond);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: all .25s ease;
  cursor: pointer;
  border: none;
}
.btn-red {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}
.btn-red:hover {
  background: transparent;
  border-color: var(--yellow);
  color: var(--yellow);
}
.btn-link {
  font-family: var(--font-cond);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--yellow);
  transition: color .25s, letter-spacing .25s;
}
.btn-link:hover { color: var(--red-bright); letter-spacing: .1em; }

/* ===== Top bar ===== */
.topbar {
  background: var(--red);
  padding: 8px 0;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
}
.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--white);
}
.topbar-zone { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; opacity: .8; }
.topbar-links { display: flex; align-items: center; gap: 14px; }
.topbar-phone {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: color .25s;
}
.topbar-email {
  font-size: 16px;
  font-weight: 500;
  transition: color .25s;
}
.topbar-links a:hover { color: var(--yellow); }
.topbar-sep { opacity: .4; font-size: 16px; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 36px; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(10,10,10,.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: padding .3s ease, background .3s ease;
}
.header.scrolled {
  padding: 10px 40px;
  background: rgba(10,10,10,.97);
}
.logo img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--grey-light);
  transition: color .25s;
}
.nav a:hover { color: var(--white); }
.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 10px 24px;
  transition: background .25s, color .25s;
}
.nav-cta:hover { background: var(--yellow); color: var(--black) !important; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  display: block;
  width: 26px; height: 3px;
  background: var(--white);
  transition: transform .3s, opacity .3s;
}
.burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Shared typographic utilities ===== */
.accent { color: var(--red); }
.lead {
  font-size: 18px;
  color: var(--grey-light);
  line-height: 1.7;
}
.hero-buttons { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* ===== Stats ===== */
.stats {
  background: var(--black);
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.stats::before, .stats::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    -45deg, var(--yellow) 0, var(--yellow) 12px,
    var(--black) 12px, var(--black) 24px
  );
}
.stats::before { top: 0; }
.stats::after { bottom: 0; }
.stats-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 20px;
  border-left: 3px solid var(--red);
  transition: border-color .25s;
}
.stat-item:hover { border-left-color: var(--yellow); }
.stat-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--grey-light);
  line-height: 1.3;
}

/* ===== Section headings ===== */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--red);
  margin-bottom: 24px;
}
.section-eyebrow::before {
  content: '';
  width: 36px; height: 2px;
  background: var(--red);
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--white);
}
h2 .accent { display: inline; }
.section-head-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}
.section-head-center .section-eyebrow { justify-content: center; }

/* ===== Expertise ===== */
.expertise { background: var(--ink); }
.expertise-body {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 60px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.expertise-col p {
  font-size: 16px;
  color: var(--grey-light);
  line-height: 1.8;
}
.expertise-link { white-space: nowrap; }

/* ===== Services — horizontal panels ===== */
.services { background: var(--black); }
.panels {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.panel {
  display: grid;
  grid-template-columns: 80px 80px 1fr auto;
  align-items: center;
  gap: 40px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 36px 44px;
  transition: transform .3s ease, background .3s, border-color .3s;
  position: relative;
  overflow: hidden;
}
.panel::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--red);
  transition: width .3s ease;
}
.panel:hover {
  transform: translateX(8px);
  background: var(--panel-light);
  border-color: var(--line-red);
}
.panel:hover::after { width: 8px; }
.panel-featured {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.panel-featured::after { background: var(--yellow); }
.panel-featured:hover { background: var(--red-dark); }
.panel-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--grey-dark);
  line-height: 1;
}
.panel-featured .panel-num { color: rgba(255,255,255,.3); }
.panel-icon {
  width: 56px; height: 56px;
  color: var(--yellow);
}
.panel-featured .panel-icon { color: var(--white); }
.panel-body h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.1;
}
.panel-body p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.6;
  max-width: 500px;
}
.panel-featured .panel-body p { color: rgba(255,255,255,.85); }
.panel-link {
  font-family: var(--font-cond);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--yellow);
  white-space: nowrap;
  transition: color .25s;
}
.panel-featured .panel-link { color: var(--white); }
.panel-link:hover { color: var(--red-bright); }
.panel-featured .panel-link:hover { color: var(--yellow); }

/* ===== Engagements ===== */
.engagements {
  background: var(--ink);
  border-top: 1px solid var(--line);
}
.engagements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.engagements-text h2 { margin-bottom: 24px; }
.engagements-lead {
  font-size: 16px;
  color: var(--grey-light);
  line-height: 1.8;
  max-width: 460px;
}
.feature-list { display: flex; flex-direction: column; gap: 0; }
.feature-list li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.feature-list li:first-child { border-top: 1px solid var(--line); }
.feature-icon {
  flex-shrink: 0;
  width: 50px; height: 50px;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s;
}
.feature-list li:hover .feature-icon { background: var(--yellow); color: var(--black); }
.feature-icon svg { width: 26px; height: 26px; }
.feature-list strong {
  display: block;
  font-family: var(--font-cond);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}
.feature-list span {
  font-size: 14px;
  color: var(--grey);
}

/* ===== Contact ===== */
.contact { background: var(--black); }
.contact-card-large {
  background: var(--panel);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 0;
  position: relative;
  overflow: hidden;
}
.contact-card-large::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    -45deg, var(--yellow) 0, var(--yellow) 14px,
    var(--black) 14px, var(--black) 28px
  );
}
.contact-left {
  padding: 60px 50px;
  border-right: 1px solid var(--line);
}
.contact-left h2 { margin-bottom: 24px; }
.contact .section-eyebrow { color: var(--yellow); }
.contact .section-eyebrow::before { background: var(--yellow); }
.contact h2 .accent { color: var(--yellow); }
.contact-lead {
  font-size: 16px;
  color: var(--grey-light);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 420px;
}
.contact-right {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  background: rgba(224,30,30,.04);
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.contact-info:last-child { border-bottom: none; padding-bottom: 0; }
.contact-label {
  font-family: var(--font-cond);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--grey);
  margin-bottom: 2px;
}
.contact-info a, .contact-info strong {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--white);
  transition: color .25s;
  letter-spacing: .01em;
}
.contact-info a:hover { color: var(--yellow); }

/* ===== Footer ===== */
.footer {
  background: var(--ink);
  border-top: 2px solid var(--red);
  padding: 0 0 32px;
}
.footer-stripe {
  height: 6px;
  background: repeating-linear-gradient(
    -45deg, var(--yellow) 0, var(--yellow) 14px,
    var(--black) 14px, var(--black) 28px
  );
  margin-bottom: 32px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-logo img { height: 44px; width: auto; }
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-family: var(--font-cond);
  font-size: 15px;
  font-weight: 500;
  color: var(--grey-light);
  transition: color .25s;
}
.footer-links a:hover { color: var(--yellow); }
.footer-copy {
  font-family: var(--font-cond);
  font-size: 13px;
  color: var(--grey-dark);
  letter-spacing: .04em;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .container { padding: 0 24px; }
  .section { padding: 70px 0; }
  .topbar { display: none; }
  .header { top: 0; padding: 14px 24px; }
  .header.scrolled { padding: 10px 24px; }
  .nav {
    position: fixed;
    top: 0; right: 0;
    width: 280px;
    height: 100vh;
    background: var(--ink);
    flex-direction: column;
    gap: 0;
    padding: 80px 28px 28px;
    transform: translateX(100%);
    transition: transform .35s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,.4);
    z-index: 99;
    border-left: 3px solid var(--red);
  }
  .nav.open { transform: translateX(0); }
  .nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .nav-cta { margin-top: 12px; text-align: center; }
  .header-actions { display: none; }
  .burger { display: flex; z-index: 101; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .expertise-body { grid-template-columns: 1fr; gap: 24px; }
  .expertise-link { white-space: normal; }
  .panels { padding: 0 24px; }
  .panel {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 24px;
  }
  .panel-num { font-size: 32px; }
  .panel-icon { width: 44px; height: 44px; }
  .panel-link { margin-top: 8px; }
  .engagements-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-card-large { grid-template-columns: 1fr; }
  .contact-left { padding: 40px 28px; border-right: none; border-bottom: 1px solid var(--line); }
  .contact-right { padding: 40px 28px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
  .lead { font-size: 16px; }
  .topbar-phone { font-size: 18px; }
  .topbar-email { font-size: 13px; }
  .contact-info a, .contact-info strong { font-size: 22px; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat-item { border-left: 3px solid var(--red); padding-left: 16px; }
  .section-head-center { margin-bottom: 40px; }
  .footer-copy { font-size: 12px; }
}

/* ===== Hero — full-bleed cinematic photo ===== */
.hero {
  margin-top: 36px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 40px 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/img_hero1.jpg') center 40% / cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1.15); } }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,.75) 0%, rgba(10,10,10,.45) 35%, rgba(10,10,10,.55) 65%, rgba(10,10,10,.92) 100%),
    linear-gradient(90deg, rgba(10,10,10,.6) 0%, transparent 60%);
}
.hero-stripes-top, .hero-stripes-bottom {
  position: absolute;
  left: 0; right: 0;
  height: 6px;
  z-index: 5;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0, var(--yellow) 14px, var(--black) 14px, var(--black) 28px);
}
.hero-stripes-top { top: 0; }
.hero-stripes-bottom { bottom: 0; }
.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  text-align: left;
  padding-bottom: 40px;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-cond);
  font-size: 15px;
  font-weight: 600;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-bottom: 28px;
  opacity: 0;
  animation: heroFade .8s ease forwards;
  animation-delay: .2s;
}
.hero-kicker span { width: 40px; height: 3px; background: var(--red); }
.hero h1 {
  font-size: clamp(56px, 9vw, 128px);
  line-height: .88;
  margin-bottom: 30px;
  text-shadow: 0 4px 30px rgba(0,0,0,.5);
  opacity: 0;
  animation: heroFade .8s ease forwards;
  animation-delay: .4s;
}
.hero .lead {
  font-size: 19px;
  color: var(--white);
  max-width: 520px;
  margin: 0 0 44px;
  line-height: 1.7;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
  opacity: 0;
  animation: heroFade .8s ease forwards;
  animation-delay: .6s;
}
.hero-buttons {
  justify-content: flex-start;
  opacity: 0;
  animation: heroFade .8s ease forwards;
  animation-delay: .8s;
}
@keyframes heroFade { to { opacity: 1; } }

.hero-bottom-bar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding: 28px 0 36px;
}
.hero-bottom-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 32px;
}
.hero-bottom-item:first-child { padding-left: 0; }
.hero-bottom-item strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .02em;
}
.hero-bottom-item small {
  font-family: var(--font-cond);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--yellow);
}
.hero-bottom-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.2);
}
.hero-bottom-item a { transition: color .25s; }
.hero-bottom-item:hover strong { color: var(--yellow); }

@media (max-width: 960px) {
  .hero { margin-top: 0; min-height: auto; padding: 100px 24px 0; }
  .hero-content { padding-bottom: 30px; }
  .hero-bottom-bar { flex-wrap: wrap; gap: 12px; padding: 20px 0 28px; }
  .hero-bottom-item { padding: 0 16px; }
  .hero-bottom-item:first-child { padding-left: 0; }
  .hero-bottom-divider { display: none; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 50px; }
  .hero-kicker { font-size: 12px; letter-spacing: .1em; }
  .hero-kicker span { width: 24px; }
  .hero .lead { font-size: 16px; }
  .hero-bottom-bar { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-bottom-item { padding: 0; }
  .hero-bottom-item strong { font-size: 18px; }
  .hero-buttons { flex-direction: column; align-items: stretch; gap: 16px; }
  .btn { width: 100%; }
}

/* ===== Header brand (text-only, no logo image) ===== */
.brand-name {
  display: flex;
  flex-direction: column;
  color: var(--white);
  line-height: .85;
  transition: color .25s;
}
.brand-name:hover { color: var(--yellow); }
.brand-name span {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .05em;
}
.brand-name small {
  margin-top: 7px;
  font-family: var(--font-cond);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .28em;
  color: var(--yellow);
}

@media (max-width: 960px) {
  .brand-name span { font-size: 26px; }
}

@media (max-width: 520px) {
  .brand-name span { font-size: 24px; }
  .brand-name small { font-size: 8px; }
}
