/* ============================================================
   MÉTAL L.R. PLUS INC. — FEUILLE DE STYLE
   Thème monochrome blanc et noir, style éditorial industriel.
   Aucune dépendance.
   ============================================================ */

/* ---------- variables & base ---------- */
:root {
  --bg: #ffffff;
  --bg-2: #f6f7f8;
  --surface: #ffffff;
  --line: #e6e8ea;
  --line-strong: #c9ced3;
  --ink: #0d0f11;
  --text: #14171a;
  --muted: #5a6470;
  --invert-bg: #0d0f11;
  --invert-text: #ffffff;
  --invert-muted: #a6adb4;
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1160px;
  --header-h: 72px;
  --shadow: 0 18px 40px rgba(13, 15, 17, 0.1);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

.section { padding: 96px 0; scroll-margin-top: calc(var(--header-h) + 12px); }

.section-alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

/* ---------- typographie de section ---------- */
.kicker {
  display: inline-block;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.kicker-light { color: var(--ink); }

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

.section-sub { color: var(--muted); max-width: 640px; margin-top: 14px; font-size: 1.05rem; }

.section-head { max-width: 720px; margin-bottom: 48px; }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-icon { width: 1.15em; height: 1.15em; flex: none; }

/* bouton principal : noir plein */
.btn-accent {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--invert-text);
}

.btn-accent:hover { background: #000; }

/* bouton secondaire : contour noir */
.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-ghost:hover { background: var(--ink); color: var(--invert-text); }

.btn-lg { padding: 1rem 1.7rem; font-size: 1.05rem; }

.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.9rem; }

/* variante sur fond sombre (pied de page, photos) */
.on-dark .btn-ghost {
  border-color: var(--invert-text);
  color: var(--invert-text);
}

.on-dark .btn-ghost:hover { background: var(--invert-text); color: var(--ink); }

.link-light { color: var(--invert-text); font-weight: 600; }
.link-light:hover { text-decoration: underline; }

/* ---------- lien d'évitement ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--invert-text);
  padding: 0.6rem 1rem;
  font-weight: 700;
  z-index: 200;
}

.skip-link:focus { left: 12px; top: 12px; }

/* ============================================================
   ENTÊTE
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.header.scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, 0.96); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.65rem; }

.brand-mark { width: 38px; height: 38px; color: var(--ink); flex: none; }

.brand-name { font-size: 1.05rem; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; color: var(--text); }

.brand-name strong { font-weight: 800; color: var(--ink); }

.nav { display: flex; gap: 1.6rem; }

.nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.15s ease;
}

.nav a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 0.9rem; }

/* boutons FR | EN */
.lang-switch {
  display: flex;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-btn[aria-pressed="true"] {
  background: var(--ink);
  color: var(--invert-text);
}

.lang-btn[aria-pressed="false"]:hover { color: var(--ink); }

/* burger (mobile) */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin-inline: auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }

.nav-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ============================================================
   HÉROS (contenu ancré en bas à gauche, comme les sections)
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(88vh - var(--header-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg-2);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.55) contrast(1.05) brightness(1.01);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.97) 18%, rgba(255, 255, 255, 0.82) 50%, rgba(255, 255, 255, 0.3) 100%),
    linear-gradient(to top, var(--bg) 0%, rgba(255, 255, 255, 0) 26%);
}

.hero-inner {
  position: relative;
  padding: 130px 0 120px;
  max-width: 820px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg);
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(2.5rem, 6.2vw, 4.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--ink);
}

.hero-title em {
  display: block;
  font-style: normal;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 6px;
  text-underline-offset: 8px;
  text-decoration-color: var(--ink);
}

.hero-sub { color: #3c434b; font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 620px; margin-top: 22px; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 34px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 40px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.chip-icon { width: 1.05em; height: 1.05em; color: var(--ink); flex: none; }

/* ============================================================
   BANDEAU DÉFILANT (métaux) — bande noire
   ============================================================ */
.ticker {
  background: var(--invert-bg);
  color: var(--invert-text);
  overflow: hidden;
  padding: 0.85rem 0;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: ticker 36s linear infinite;
}

.ticker-item { font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.92rem; white-space: nowrap; }

.ticker-sep { font-size: 0.55rem; opacity: 0.5; }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   SERVICES
   ============================================================ */
.grid { display: grid; gap: 1.2rem; }

.services-grid { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: var(--shadow);
}

.card h3 { font-size: 1.12rem; font-weight: 700; margin-top: 18px; letter-spacing: -0.01em; color: var(--ink); }

.card p { color: var(--muted); font-size: 0.97rem; margin-top: 8px; }

.card-icon {
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 9px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   MÉTAUX ACCEPTÉS
   ============================================================ */
.metals-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }

.metal-card {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.metal-card:hover { border-color: var(--ink); transform: translateY(-3px); }

.metal-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-top: 7px;
  background: var(--ink);
}

.metal-card h3 { font-size: 1.03rem; font-weight: 700; color: var(--ink); }

.metal-examples { color: var(--muted); font-size: 0.88rem; margin-top: 4px; }

.wholesale {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 26px 30px;
}

.wholesale h3 { font-size: 1.15rem; font-weight: 800; color: var(--ink); }

.wholesale p { color: var(--muted); margin-top: 4px; max-width: 560px; }

/* ============================================================
   ÉTAPES
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  position: relative;
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}

.step-number {
  display: inline-block;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  line-height: 1;
}

.step h3 { font-size: 1.15rem; font-weight: 700; margin-top: 16px; color: var(--ink); }

.step p { color: var(--muted); margin-top: 8px; font-size: 0.97rem; }

/* ============================================================
   BANDEAU AVANTAGES — bande noire
   ============================================================ */
.benefits-band {
  padding: 34px 0;
  background: var(--invert-bg);
  color: var(--invert-text);
}

.benefits-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 10px 6px;
}

.benefit .card-icon {
  width: 36px;
  height: 36px;
  padding: 7px;
  flex: none;
  color: var(--invert-text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.benefit h3 { font-size: 0.98rem; font-weight: 700; margin: 0; color: var(--invert-text); }

.benefit p { font-size: 0.85rem; margin-top: 3px; color: var(--invert-muted); }

/* ============================================================
   À PROPOS
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: center;
}

.about-media { position: relative; }

.about-media img {
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  width: 100%;
  filter: grayscale(0.55) contrast(1.03);
}

.about-badge {
  position: absolute;
  bottom: -22px;
  right: -14px;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: var(--shadow);
}

.about-badge strong {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.about-badge span { font-weight: 800; font-size: 1.15rem; letter-spacing: 0.03em; color: var(--ink); }

.about-content .section-title { margin-top: 2px; }

.about-content > p { color: var(--muted); margin-top: 16px; }

.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 26px; }

.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.info-card-head { display: flex; gap: 0.8rem; align-items: flex-start; }

.info-icon { width: 30px; height: 30px; color: var(--ink); flex: none; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }

.info-card h3 { font-size: 1rem; font-weight: 700; color: var(--ink); }

.info-hint { color: var(--muted); font-size: 0.84rem; margin-top: 2px; }

.info-address { font-weight: 600; font-size: 0.95rem; margin-top: 12px; line-height: 1.5; color: var(--ink); }

/* adresse cliquable → Google Maps */
.addr-link {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color 0.15s ease;
}

.addr-link:hover { text-decoration-color: var(--ink); }

.neq-line { color: var(--muted); font-size: 0.9rem; margin-top: 22px; }

.neq-line strong { color: var(--ink); }

/* ============================================================
   CONTACT
   ============================================================ */
.section-contact {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
  background: var(--bg-2);
}

.contact-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.7) brightness(1.05);
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96) 30%, rgba(255, 255, 255, 0.8)),
    linear-gradient(to top, var(--bg), rgba(255, 255, 255, 0) 30%);
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-cta .section-sub { color: #3c434b; }

.contact-call-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-top: 30px;
  box-shadow: var(--shadow);
}

.contact-call-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--ink); }

.contact-call-card p { color: var(--muted); margin-top: 4px; max-width: 360px; }

.contact-phone-line { margin-top: 22px; font-size: 1.5rem; font-weight: 800; letter-spacing: 0.02em; color: var(--ink); }

.contact-phone-line .js-phone { border-bottom: 3px solid var(--ink); }

.contact-email { margin-top: 8px; }

.contact-side { display: grid; gap: 1.2rem; }

.side-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 26px 28px;
}

.side-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 14px; color: var(--ink); }

.side-card .btn { margin-top: 16px; }

.hours-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
}

.hours-list li:last-child { border-bottom: 0; }

.hours-day { color: var(--muted); }

.hours-time { margin-left: auto; font-weight: 700; color: var(--ink); }

.hours-row.today .hours-day,
.hours-row.today .hours-time { color: var(--ink); font-weight: 800; }

.hours-today-pill {
  background: var(--ink);
  color: var(--invert-text);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* ============================================================
   PIED DE PAGE — noir
   ============================================================ */
.footer {
  background: var(--invert-bg);
  color: var(--invert-text);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 48px;
}

.footer h3 {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--invert-text);
  margin-bottom: 14px;
}

.footer .brand-mark,
.footer .brand-name,
.footer .brand-name strong { color: var(--invert-text); }

.footer-tagline { color: var(--invert-muted); margin-top: 14px; font-size: 0.95rem; max-width: 280px; }

.footer-list { display: grid; gap: 8px; color: var(--invert-muted); font-size: 0.94rem; }

.footer-list li strong { color: var(--invert-text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px 0 26px;
  color: var(--invert-muted);
  font-size: 0.86rem;
}

.footer-credit { opacity: 0.7; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1020px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .metals-grid { grid-template-columns: repeat(3, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3.2rem; }
  .about-media img { aspect-ratio: 16 / 9; }
  .about-badge { right: 10px; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.5rem 1.2rem;
    transform: translateY(-130%);
    transition: transform 0.25s ease;
    z-index: 90;
  }

  .nav-open .nav { transform: none; }

  .nav a { padding: 0.9rem 0.2rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }

  .nav a:last-child { border-bottom: 0; }

  .burger { display: flex; }
}

@media (max-width: 700px) {
  .section { padding: 72px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .metals-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .info-cards { grid-template-columns: 1fr; }
  .hero-inner { padding: 90px 0 90px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .contact-call-card .btn { width: 100%; }
  .wholesale { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 560px) {
  .header-call { display: none; }
  .brand-name { font-size: 0.95rem; }
  .metals-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .ticker-track { animation: none; }

  * { transition: none !important; }
}
