/* ==========================================================================
   Blasting Rental — stylesheet
   ========================================================================== */

:root {
  --ink: #16191d;
  --ink-2: #23282e;
  --ink-3: #343b43;
  --steel: #5d6670;
  --muted: #6b7480;
  --line: #dfe3e8;
  --bg: #ffffff;
  --bg-soft: #f3f5f7;
  --accent: #f5a400;
  --accent-dark: #c98400;
  --accent-ink: #16191d;
  --white: #ffffff;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(22, 25, 29, .06), 0 8px 24px rgba(22, 25, 29, .08);
  --container: 1180px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: inherit; }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); text-transform: uppercase; }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem;
  font-weight: 600; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: var(--radius);
  font-weight: 600; font-size: .98rem; text-decoration: none; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
  font-family: var(--font-body);
}
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-dark); color: var(--accent-ink); }
.btn-outline { border-color: currentColor; color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-3); color: var(--white); }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--white);
  border-bottom: 3px solid var(--accent);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; }
.brand {
  display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .03em;
}
.brand:hover { color: var(--white); }
.brand-mark {
  width: 34px; height: 34px; background: var(--accent); color: var(--ink);
  display: grid; place-items: center; border-radius: 4px; font-size: 1rem; flex-shrink: 0;
}
.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer;
}
.nav-toggle .bar { width: 24px; height: 2px; background: var(--white); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ink); padding: .5rem 16px 1.25rem; border-bottom: 3px solid var(--accent);
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a {
  display: block; padding: .75rem 0; text-decoration: none; color: #d6dbe1; font-weight: 500;
  border-bottom: 1px solid var(--ink-3);
}
.site-nav li a:hover, .site-nav li a[aria-current="page"] { color: var(--accent); }
.nav-extra { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; }
.lang-switch {
  color: #d6dbe1; text-decoration: none; font-weight: 600; font-size: .9rem;
  border: 1px solid var(--ink-3); padding: .4rem .7rem; border-radius: var(--radius);
}
.lang-switch:hover { color: var(--accent); border-color: var(--accent); }

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex; align-items: center; gap: 1.5rem; position: static; padding: 0; border: 0; background: none;
  }
  .site-nav ul { display: flex; gap: 1.4rem; }
  .site-nav li a { border: 0; padding: .5rem 0; font-size: .95rem; }
  .nav-extra { margin: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background:
    linear-gradient(110deg, rgba(22,25,29,.97) 0%, rgba(22,25,29,.88) 50%, rgba(22,25,29,.55) 100%),
    repeating-linear-gradient(135deg, #2a3037 0 2px, #1d2126 2px 18px);
}
.hero::after {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 420px; height: 420px;
  border: 40px solid rgba(245,164,0,.12); border-radius: 50%;
}
.hero-inner { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 80px; display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 980px) { .hero-inner { grid-template-columns: 1.15fr .85fr; padding-top: 104px; padding-bottom: 112px; } }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: 1.15rem; color: #c9d0d8; max-width: 38rem; margin-bottom: 1.8rem; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.hero-figure { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin-top: 2.5rem; }
.hero-stats div { border-left: 3px solid var(--accent); padding-left: .8rem; }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--white); line-height: 1; }
.hero-stats span { font-size: .85rem; color: #aab3bd; }

/* Bandeau de page interne */
.page-hero {
  background:
    linear-gradient(110deg, rgba(22,25,29,.97), rgba(22,25,29,.85)),
    repeating-linear-gradient(135deg, #2a3037 0 2px, #1d2126 2px 18px);
  color: var(--white); padding: 56px 0 60px;
}
.page-hero h1 { color: var(--white); margin-bottom: .3em; }
.page-hero p { color: #c9d0d8; font-size: 1.1rem; max-width: 46rem; margin: 0; }
.breadcrumb { font-size: .85rem; color: #9aa4af; margin-bottom: 1rem; }
.breadcrumb a { color: #c9d0d8; }
.breadcrumb span[aria-hidden] { margin: 0 .4rem; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--ink); color: #c9d0d8; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: #aab3bd; }

.grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Cartes produit */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { aspect-ratio: 4 / 3; background: var(--ink-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.25rem 1.25rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .35rem; }
.card-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.card-tag { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: .4rem; }
.card-link { font-weight: 600; text-decoration: none; color: var(--ink); display: inline-flex; gap: .4rem; align-items: center; }
.card-link::after { content: "→"; transition: transform .15s; }
.card-link:hover::after { transform: translateX(3px); }
.card-link-cover { position: relative; }
.card-link-cover::before { content: ""; position: absolute; inset: 0; }

/* Avantages / features */
.feature { padding: 1.5rem; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.section-dark .feature { background: var(--ink-2); border-color: var(--ink-3); }
.feature h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.feature p { margin: 0; font-size: .95rem; color: var(--muted); }
.section-dark .feature p { color: #aab3bd; }
.icon {
  width: 48px; height: 48px; border-radius: var(--radius); background: var(--accent); color: var(--ink);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.icon svg { width: 26px; height: 26px; }

/* Étapes */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; position: relative; padding-top: 3.4rem; }
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0;
  font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--accent);
}
.steps h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.steps p { margin: 0; font-size: .95rem; }

/* Secteurs */
.sector { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.sector .icon { margin: 0; flex-shrink: 0; }
.sector h3 { font-size: 1.2rem; margin-bottom: .2rem; }
.sector p { margin: 0; font-size: .93rem; color: var(--muted); }
.sector-list { list-style: none; margin: .5rem 0 0; padding: 0; font-size: .9rem; color: var(--steel); }
.sector-list li::before { content: "— "; color: var(--accent-dark); }

/* Bandeau CTA */
.cta-band { background: var(--accent); color: var(--ink); padding: 56px 0; }
.cta-band .container { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.cta-band h2 { margin: 0 0 .2em; }
.cta-band p { margin: 0; font-size: 1.05rem; }

/* Fiche produit */
.product-layout { display: grid; gap: 2.5rem; }
@media (min-width: 980px) { .product-layout { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.product-figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.product-intro p { font-size: 1.05rem; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.check-list li { position: relative; padding-left: 1.8rem; margin-bottom: .6rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 1rem; height: .55rem;
  border-left: 3px solid var(--accent-dark); border-bottom: 3px solid var(--accent-dark); transform: rotate(-45deg);
}
.spec-table { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--white); }
.spec-table th, .spec-table td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 45%; font-weight: 600; color: var(--ink); }
.spec-table td.todo { color: var(--muted); font-style: italic; }
.spec-table caption { text-align: left; font-size: .85rem; color: var(--muted); padding-bottom: .6rem; caption-side: top; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table-wrap .spec-table tr:last-child th, .table-wrap .spec-table tr:last-child td { border-bottom: 0; }
.compare-table th[scope="col"] { background: var(--ink); color: var(--white); font-weight: 600; width: auto; }
.compare-table td { min-width: 9rem; }
.dot { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; background: var(--accent); }

.aside-box { background: var(--bg-soft); border-radius: var(--radius); padding: 1.5rem; border-left: 4px solid var(--accent); }
.aside-box h3 { font-size: 1.3rem; }

/* Notes de remplacement */
.placeholder-note {
  font-size: .85rem; background: #fff7e3; border: 1px dashed var(--accent-dark); color: #6b4c00;
  padding: .6rem .8rem; border-radius: var(--radius); margin: 0 0 1.5rem;
}

/* Prose */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.8rem; margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }

/* FAQ */
.faq { max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font-weight: 600; color: var(--ink); list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .9rem; font-size: 1.4rem; color: var(--accent-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1.1rem; color: var(--muted); }

/* Formules */
.plan { padding: 1.75rem 1.5rem; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); background: var(--white); }
.plan h3 { margin-bottom: .2rem; }
.plan .plan-sub { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.plan .check-list { margin: 0; font-size: .95rem; }

/* Formulaire */
.contact-layout { display: grid; gap: 2.5rem; }
@media (min-width: 980px) { .contact-layout { grid-template-columns: 1.4fr .8fr; } }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; color: var(--ink); }
.field .req { color: #b3261e; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: .7rem .8rem; border: 1px solid #c3c9d0; border-radius: var(--radius); background: var(--white); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent-dark); outline: 2px solid var(--accent); outline-offset: 0; }
.field textarea { min-height: 140px; resize: vertical; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: grid; gap: .5rem; }
@media (min-width: 640px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks label {
  display: flex; gap: .6rem; align-items: center; font-weight: 500; margin: 0;
  border: 1px solid #c3c9d0; border-radius: var(--radius); padding: .6rem .8rem; cursor: pointer;
}
.checks input { width: 1.1rem; height: 1.1rem; accent-color: var(--accent-dark); }
.form-hint { font-size: .85rem; color: var(--muted); margin-top: .8rem; }
.form-status { margin-top: 1rem; padding: .8rem 1rem; border-radius: var(--radius); background: #e8f5ec; color: #1d5b31; display: none; }
.form-status.is-visible { display: block; }
.contact-card { background: var(--ink); color: #c9d0d8; border-radius: var(--radius); padding: 1.75rem; }
.contact-card h2 { color: var(--white); font-size: 1.6rem; }
.contact-card dl { margin: 0; }
.contact-card dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-top: 1.1rem; }
.contact-card dd { margin: .2rem 0 0; color: var(--white); }
.contact-card a { color: var(--white); }

/* ---------- Pied de page ---------- */
.site-footer { background: #0f1114; color: #9aa4af; padding: 56px 0 28px; font-size: .93rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { font-size: 1rem; color: var(--white); letter-spacing: .08em; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: #c9d0d8; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid #23282e; margin-top: 2.5rem; padding-top: 1.25rem; font-size: .82rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

/* Utilitaires */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.text-muted { color: var(--muted); }
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 980px) { .split { grid-template-columns: 1fr 1fr; } }
