/* RZ Transport / RoadZenith. Industriel-editorial : Archivo Black, geometrie nette,
   black & tan du logo (encre #1B1817, papier neutre, cuivre en touche rare). Radius 0 partout. */
:root {
  --ink: #1b1817;
  --ink-2: #3c3835;
  --ink-3: #6f6a65;
  --paper: #fafaf9;
  --paper-2: #efeeec;
  --line: #d9d7d3;
  --line-dark: #37332f;
  --copper: #b57c55;
  --copper-text: #96613e;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  font-family: "Archivo", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.display { font-family: "Archivo Black", "Archivo", sans-serif; font-weight: 400; text-transform: uppercase; line-height: 0.98; letter-spacing: -0.01em; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--copper); outline-offset: 2px;
}

/* ---------- boutons : carres, uppercase ---------- */
.btn {
  display: inline-block; padding: 15px 26px;
  font-family: "Archivo", sans-serif; font-weight: 600; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.09em;
  text-decoration: none; cursor: pointer; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn:hover { background: var(--copper-text); border-color: var(--copper-text); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-copper { background: var(--copper-text); border-color: var(--copper-text); color: #fff; }
.btn-copper:hover { background: var(--ink); border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-ghost-dark { background: transparent; color: var(--paper); border-color: rgba(250,250,249,0.4); }
.btn-ghost-dark:hover { border-color: var(--copper); color: var(--copper); background: transparent; }

/* ---------- header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 28px; height: 70px; max-width: 1400px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand b { font-family: "Archivo Black", sans-serif; font-weight: 400; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.02em; }
.brand small { display: block; font-size: 0.66rem; color: var(--ink-3); letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; }
nav.main { margin-left: auto; display: flex; gap: 26px; align-items: center; }
nav.main a:not(.btn) { text-decoration: none; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); border-bottom: 2px solid transparent; padding: 4px 0; }
nav.main a:not(.btn):hover { color: var(--ink); border-bottom-color: var(--copper); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); padding: 9px 11px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; }

/* ---------- hero : split asymetrique, photo pleine hauteur ---------- */
.hero { border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); min-height: 560px; }
.hero-copy { padding: 72px 48px 64px max(28px, calc((100vw - 1400px) / 2 + 28px)); display: flex; flex-direction: column; justify-content: center; }
.hero-copy .over { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper-text); margin-bottom: 22px; }
.hero-copy h1 { font-size: clamp(2.1rem, 4.4vw, 3.9rem); max-width: 13ch; }
.hero-copy h1 .alt { color: var(--copper); }
.hero-copy p { margin: 26px 0 34px; max-width: 46ch; font-size: 1.06rem; color: var(--ink-2); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-media { position: relative; min-height: 380px; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- bande stats : encre ---------- */
.stats { background: var(--ink); color: var(--paper); }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1400px; margin: 0 auto; }
.stat { padding: 34px 28px; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: none; }
.stat b { font-family: "Archivo Black", sans-serif; font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.7rem); display: block; line-height: 1; }
.stat span { font-size: 0.85rem; color: rgba(250,250,249,0.62); display: block; margin-top: 8px; }

/* ---------- marquee partenaires ---------- */
.refs { border-bottom: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.refs .lane { display: flex; align-items: center; gap: 0; white-space: nowrap; padding: 22px 0; }
.refs .set { display: inline-flex; align-items: center; }
.refs .set span { font-family: "Archivo Black", sans-serif; font-size: 1.5rem; text-transform: uppercase; color: var(--ink); opacity: 0.28; padding: 0 44px; }
@media (prefers-reduced-motion: no-preference) {
  .refs .lane { animation: slide 36s linear infinite; width: max-content; }
  @keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
}

/* ---------- sections ---------- */
section.block { padding: 96px 0; }
.sec-title { font-size: clamp(1.7rem, 3.2vw, 2.6rem); max-width: 22ch; }
.sec-intro { margin-top: 18px; max-width: 58ch; color: var(--ink-2); }

/* services : rangees typographiques */
.cap-rows { margin-top: 54px; border-top: 1px solid var(--line); }
.cap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 18px 48px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.cap h3 { font-family: "Archivo Black", sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(1.25rem, 2.4vw, 1.9rem); line-height: 1.05; transition: color 0.2s; }
.cap:hover h3 { color: var(--copper-text); }
.cap p { color: var(--ink-2); font-size: 0.97rem; max-width: 52ch; }

/* engagements : 3 colonnes texte */
.why { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 46px; }
.why-cols div { border-top: 3px solid var(--ink); padding-top: 20px; }
.why-cols b { font-family: "Archivo Black", sans-serif; font-weight: 400; text-transform: uppercase; font-size: 1.02rem; display: block; margin-bottom: 10px; }
.why-cols p { font-size: 0.95rem; color: var(--ink-2); }

/* sante : section encre, photo qui fuit a droite */
.sante { background: var(--ink); color: var(--paper); }
.sante-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); }
.sante-copy { padding: 90px 56px 90px max(28px, calc((100vw - 1400px) / 2 + 28px)); }
.sante-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); max-width: 18ch; }
.sante-copy > p { margin: 20px 0 40px; max-width: 50ch; color: rgba(250,250,249,0.72); }
.sante-list { list-style: none; display: grid; gap: 26px; }
.sante-list li { border-left: 3px solid var(--copper); padding-left: 20px; }
.sante-list b { display: block; font-weight: 600; margin-bottom: 4px; }
.sante-list span { color: rgba(250,250,249,0.65); font-size: 0.95rem; }
.sante-media { position: relative; min-height: 420px; }
.sante-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* flotte : banniere photo + bande specs */
.flotte h2 { margin-bottom: 18px; }
.flotte .sec-intro { margin-bottom: 48px; }
.flotte-photo { width: 100%; height: clamp(280px, 44vw, 460px); object-fit: cover; }
.flotte-band { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-top: none; }
.flotte-band > div { padding: 26px 26px 30px; border-left: 1px solid var(--line); }
.flotte-band > div:first-child { border-left: none; }
.flotte-band b { font-family: "Archivo Black", sans-serif; font-weight: 400; font-size: 1.5rem; display: block; margin-bottom: 6px; }
.flotte-band span { font-size: 0.9rem; color: var(--ink-2); }

/* reservation */
.resa { background: var(--paper-2); border-top: 1px solid var(--line); }
.resa-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 72px; align-items: start; }
.resa-points { list-style: none; display: grid; gap: 22px; margin-top: 40px; }
.resa-points li { border-left: 3px solid var(--ink); padding-left: 18px; }
.resa-points b { display: block; font-weight: 600; }
.resa-points span { color: var(--ink-2); font-size: 0.94rem; }
form.devis { background: var(--paper); border: 1px solid var(--line); padding: 36px 34px; display: grid; gap: 18px; }
form.devis label { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; display: grid; gap: 7px; color: var(--ink-2); }
form.devis input, form.devis textarea, form.devis select {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font: inherit; font-size: 0.98rem; border-radius: 0;
}
form.devis input::placeholder, form.devis textarea::placeholder { color: #a09b95; }
form.devis button { justify-self: start; }
form.devis .note { font-size: 0.85rem; color: var(--ink-3); text-transform: none; letter-spacing: 0; }

/* ---------- contact / footer ---------- */
.contact { background: var(--ink); color: var(--paper); padding: 90px 0 0; }
.contact h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.contact .lead { margin: 18px 0 42px; max-width: 52ch; color: rgba(250,250,249,0.72); }
.contact-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-bottom: 70px; }
.contact-cols b { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--copper); margin-bottom: 10px; font-weight: 600; }
.contact-cols p, .contact-cols a { color: rgba(250,250,249,0.85); font-size: 0.97rem; }
.wordmark { overflow: hidden; border-top: 1px solid var(--line-dark); }
.wordmark span {
  display: block; text-align: center;
  font-family: "Archivo Black", sans-serif; text-transform: uppercase;
  font-size: clamp(3rem, 12vw, 10.5rem); line-height: 0.9;
  color: transparent; -webkit-text-stroke: 1px rgba(250,250,249,0.22);
  transform: translateY(12%);
  user-select: none;
}
.foot { border-top: 1px solid var(--line-dark); }
.foot .wrap { display: flex; gap: 14px 30px; flex-wrap: wrap; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; font-size: 0.85rem; color: rgba(250,250,249,0.55); }
.foot a { color: rgba(250,250,249,0.75); text-decoration: none; }
.foot a:hover { color: var(--copper); }

/* ---------- pages annexes ---------- */
.legal .wrap { padding: 70px 28px; max-width: 840px; }
.legal h1 { font-family: "Archivo Black", sans-serif; font-weight: 400; text-transform: uppercase; font-size: 1.9rem; margin-bottom: 34px; }
.legal h2 { font-size: 1.1rem; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink-2); font-size: 0.97rem; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .sante-grid, .resa-grid { grid-template-columns: 1fr; }
  .hero-copy, .sante-copy { padding: 56px 28px; }
  .hero-media { min-height: 300px; }
  .stats .grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: none; }
  .stat { border-top: 1px solid var(--line-dark); }
  .stat:nth-child(-n+2) { border-top: none; }
  .why-cols { grid-template-columns: 1fr; gap: 30px; }
  .flotte-band { grid-template-columns: 1fr 1fr; }
  .flotte-band > div { border-top: 1px solid var(--line); }
  .flotte-band > div:nth-child(3) { border-left: none; }
  .contact-cols { grid-template-columns: 1fr; gap: 30px; }
  .cap { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 680px) {
  nav.main {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 20px 28px; gap: 18px; align-items: flex-start;
  }
  nav.main.open { display: flex; }
  .nav-toggle { display: block; }
  section.block { padding: 64px 0; }
  .stats .grid { grid-template-columns: 1fr 1fr; }
}
