/* Remorquage Burstall Conrad — feuille de style */
:root {
  --red: #d71920;
  --red-dark: #a8121a;
  --ink: #111418;
  --ink-2: #1c2128;
  --steel: #5b6470;
  --line: #e3e6ea;
  --paper: #f5f6f8;
  --white: #fff;
  --amber: #f2b705;
  --radius: 14px;
  --max: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red); }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.45rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red); margin-bottom: .8rem;
}
.lead { font-size: 1.15rem; color: var(--steel); max-width: 62ch; }

/* ---------- Bandeau urgence ---------- */
.topbar { background: var(--red); color: var(--white); font-size: .9rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.topbar a { color: var(--white); font-weight: 700; text-decoration: none; }
.topbar .lang { opacity: .9; }

/* ---------- En-tête ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17, 20, 24, .96); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1.5rem; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: #cfd4da; text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav .btn { color: var(--white); }
.menu-toggle {
  display: none; background: none; border: 0; color: var(--white); cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
}
.menu-toggle span { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: .2s; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--red); color: var(--white); text-decoration: none; font-weight: 700;
  padding: .85rem 1.35rem; border-radius: 999px; border: 2px solid var(--red);
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: var(--white); }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Héros ---------- */
.hero {
  background:
    radial-gradient(1000px 500px at 85% 20%, rgba(215,25,32,.28), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--white); padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem);
  overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 span { color: var(--red); }
.hero .lead { color: #b9c0c8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 2.2rem; }
.hero-stats { display: flex; gap: 2.4rem; flex-wrap: wrap; }
.hero-stats strong { display: block; font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--white); }
.hero-stats small { color: #8f98a3; font-size: .85rem; }
.hero-photo { position: relative; }
.hero-photo img {
  width: 100%; border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover;
  box-shadow: 0 30px 60px rgba(0,0,0,.45); transform: rotate(1.5deg);
}
.hero-photo .badge {
  position: absolute; left: -22px; bottom: -22px; background: var(--white); color: var(--ink);
  padding: .9rem 1.1rem; border-radius: 12px; box-shadow: 0 14px 30px rgba(0,0,0,.3);
  font-weight: 700; font-size: .9rem; display: flex; align-items: center; gap: .6rem;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.2); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--paper); }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark .lead { color: #aab2bc; }
.section-head { max-width: 760px; margin-bottom: 2.8rem; }

/* Services */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; transition: border-color .15s, transform .15s, box-shadow .15s;
}
.card:hover { border-color: #c9ced5; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(17,20,24,.07); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(215,25,32,.09); color: var(--red); margin-bottom: 1rem;
}
.card .icon svg { width: 24px; height: 24px; }
.card p { color: var(--steel); margin: 0; font-size: .97rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.tags span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; font-size: .9rem; color: var(--steel); }

/* Entreprise */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.8rem; }
.fact { border-left: 3px solid var(--red); padding: .2rem 0 .2rem 1rem; }
.fact strong { display: block; font-family: var(--display); font-size: 1.9rem; line-height: 1.1; }
.fact span { color: var(--steel); font-size: .92rem; }
.clients { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.clients span { background: var(--ink); color: var(--white); padding: .3rem .75rem; border-radius: 6px; font-size: .82rem; font-weight: 700; letter-spacing: .03em; }

/* Remorquage exclusif */
.exclusive { display: grid; grid-template-columns: auto 1fr; gap: 2.5rem; align-items: center;
  background: var(--ink-2); border-radius: 20px; padding: clamp(1.8rem, 4vw, 3rem); }
.exclusive img { width: 200px; background: var(--white); border-radius: 14px; padding: .8rem; }
.exclusive .btn { margin-top: .6rem; }

/* Récupération */
.recover { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.1rem; }
.recover a.card { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.recover .card h3 { margin-bottom: .35rem; }
.recover .more { margin-top: auto; padding-top: 1rem; font-weight: 700; color: var(--red); }
.notice {
  display: flex; gap: 1rem; background: #fff7e0; border: 1px solid #f3dc8c; border-radius: 12px;
  padding: 1.1rem 1.3rem; margin-bottom: 2rem; color: #6b5200;
}
.notice svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 12px; background: var(--ink-2); }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figure.wide { grid-column: span 2; grid-row: span 2; }
.gallery figure.wide img { aspect-ratio: auto; }

/* Carrière */
.career { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: start; }
.checklist { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.checklist li { padding: .5rem 0 .5rem 2rem; position: relative; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .85rem; width: 18px; height: 18px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }
.address-card { background: var(--paper); border-radius: var(--radius); padding: 1.6rem; }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; }
.contact .card { background: var(--ink-2); border-color: rgba(255,255,255,.08); color: var(--white); }
.contact .card:hover { border-color: rgba(255,255,255,.2); box-shadow: none; }
.contact .card p { color: #aab2bc; }
.contact .big { font-family: var(--display); font-size: 1.75rem; font-weight: 700; color: var(--white); text-decoration: none; display: block; margin: .2rem 0 .3rem; white-space: nowrap; }
.contact .big[href^="mailto"] { font-size: 1.15rem; font-family: var(--font); white-space: normal; overflow-wrap: anywhere; padding: .45rem 0; }
.contact .card p { overflow-wrap: anywhere; }
.contact .big:hover { color: var(--red); }
.contact .label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--red); }
.map { margin-top: 1.1rem; border-radius: var(--radius); overflow: hidden; border: 0; width: 100%; height: 340px; filter: grayscale(.4); }

/* Liens utiles */
.links { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.links ul { list-style: none; padding: 0; margin: 0; }
.links li { padding: .55rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; }
.links li a { text-decoration: none; color: var(--ink); font-weight: 600; }
.links li a:hover { color: var(--red); }
.links li span { color: var(--steel); white-space: nowrap; }

/* Pages procédure */
.page-hero { background: var(--ink); color: var(--white); padding: 3.5rem 0 3rem; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero .lead { color: #aab2bc; }
.breadcrumb { font-size: .9rem; margin-bottom: 1rem; }
.breadcrumb a { color: #aab2bc; text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.steps li { counter-increment: s; position: relative; padding: 1.2rem 1.3rem 1.2rem 4.2rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.steps li::before { content: counter(s); position: absolute; left: 1.2rem; top: 1.05rem; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--red); color: var(--white); display: grid; place-items: center; font-weight: 800; font-family: var(--display); font-size: 1.15rem; }
.steps small { display: block; color: var(--steel); margin-top: .3rem; }
.agency { scroll-margin-top: 100px; margin-bottom: 3.5rem; }
.agency-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.agency-tabs a { text-decoration: none; padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; background: var(--white); }
.agency-tabs a:hover { border-color: var(--red); color: var(--red); }

/* Pied de page */
.footer { background: #0b0d10; color: #8f98a3; padding: 3.5rem 0 2rem; font-size: .93rem; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer img { height: 40px; width: auto; margin-bottom: 1rem; }
.footer h4 { color: var(--white); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 1rem; }
.footer a { color: #c4cad1; text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.07); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* Bouton d'appel mobile */
.call-fab {
  display: none; position: fixed; right: 1rem; bottom: 1rem; z-index: 60;
  background: var(--red); color: var(--white); border-radius: 999px; padding: .95rem 1.3rem;
  font-weight: 800; text-decoration: none; box-shadow: 0 10px 30px rgba(215,25,32,.45);
  align-items: center; gap: .5rem;
}
.call-fab svg { width: 20px; height: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .container, .split, .career { grid-template-columns: 1fr; }
  .hero-photo { max-width: 560px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .exclusive { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; background: var(--ink); flex-direction: column; align-items: stretch;
    gap: 0; padding: .5rem 1.25rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.08);
    transform: translateY(-120%); transition: transform .25s ease; z-index: -1;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav .btn { margin-top: 1rem; justify-content: center; border-bottom: 0; }
  .call-fab { display: inline-flex; }
  .topbar .hide-sm { display: none; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .footer .cols { grid-template-columns: 1fr; }
  .hero-photo .badge { left: 10px; bottom: -18px; }
  .gallery figure.wide { grid-column: span 2; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
