/* =========================================
   ALOYSЕ MOTORS — MODIFICATIONS RAPIDES
   1. Les couleurs sont en haut dans :root
   2. Les photos sont expliquées dans README.md
   3. Le texte se modifie directement dans index.html
========================================= */

:root {
  --bg: #050607;
  --bg-soft: #0b0d0f;
  --card: #101214;
  --text: #f4f4f2;
  --muted: #a9acad;
  --orange: #f58220;
  --line: rgba(255,255,255,.12);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: Arial, Helvetica, sans-serif; line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.site-header {
  position: fixed; z-index: 20; top: 0; left: 0; width: 100%;
  height: 82px; padding: 10px clamp(20px, 4vw, 70px);
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(to bottom, rgba(5,6,7,.92), rgba(5,6,7,.25));
  backdrop-filter: blur(8px);
}
.brand img { width: 130px; height: 60px; object-fit: contain; object-position: left center; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 12px; letter-spacing: .12em; }
.nav a { opacity: .85; transition: .2s; }
.nav a:hover { color: var(--orange); opacity: 1; }
.nav .nav-cta { border: 1px solid var(--orange); color: var(--orange); padding: 10px 16px; }
.menu-toggle { display: none; background: transparent; border: 0; color: white; font-size: 26px; }

.hero {
  min-height: 100vh; position: relative; display: flex; align-items: center;
  overflow: hidden; padding: 120px clamp(20px, 8vw, 150px) 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 65% 42%, rgba(245,130,32,.15), transparent 25%),
              linear-gradient(120deg, #0c0e10 0%, #050607 48%, #0b0c0d 100%);
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,6,7,.96) 0%, rgba(5,6,7,.72) 42%, rgba(5,6,7,.18) 100%); }
.hero-content { position: relative; max-width: 760px; z-index: 1; }
.eyebrow { color: var(--orange); font-size: 11px; font-weight: bold; letter-spacing: .2em; margin: 0 0 18px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(48px, 7vw, 94px); line-height: .98; letter-spacing: -.045em; margin-bottom: 28px; font-weight: 600; }
h1 span, h2 span { color: var(--orange); }
.hero-text { color: var(--muted); max-width: 620px; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button { display: inline-block; padding: 15px 22px; font-size: 11px; letter-spacing: .14em; font-weight: bold; transition: .25s; }
.button-primary { background: var(--orange); color: #111; }
.button-primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.button-ghost { border: 1px solid rgba(255,255,255,.35); }
.button-ghost:hover { border-color: white; }
.hero-scroll { position: absolute; bottom: 34px; right: 6vw; z-index: 2; font-size: 9px; letter-spacing: .2em; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.hero-scroll span { width: 55px; height: 1px; background: var(--orange); }

.section { padding: 110px clamp(20px, 8vw, 150px); }
.section-dark { background: var(--bg-soft); }
.section-black { background: #030405; }
.section-heading { max-width: 850px; margin-bottom: 55px; }
h2 { font-size: clamp(40px, 5vw, 72px); line-height: 1.02; letter-spacing: -.04em; margin-bottom: 0; font-weight: 600; }
.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.expertise-card { padding: 35px 30px 25px 0; border-bottom: 1px solid var(--line); margin-right: 30px; }
.expertise-card:nth-child(3) { margin-right: 0; }
.number { color: var(--orange); font-size: 12px; letter-spacing: .15em; margin-bottom: 70px; }
.expertise-card h3 { font-size: 26px; margin-bottom: 12px; }
.expertise-card p, .text-panel p, .section-intro { color: var(--muted); }

.split-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 680px; }
.image-panel { min-height: 500px; }
.text-panel { padding: 90px clamp(35px, 7vw, 120px); background: #0c0e10; display: flex; flex-direction: column; justify-content: center; }
.text-panel h2 { margin-bottom: 30px; }
.text-link { color: var(--orange); font-size: 11px; letter-spacing: .15em; font-weight: bold; margin-top: 20px; }
.text-link span { margin-left: 8px; font-size: 18px; }

.row-heading { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.section-intro { max-width: 380px; margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-item { aspect-ratio: 1 / .8; }
.gallery-item.large { grid-row: span 2; aspect-ratio: auto; }
.gallery-item.wide { grid-column: span 2; aspect-ratio: auto; min-height: 280px; }

.placeholder-image, .placeholder-bg {
  position: relative; background:
  linear-gradient(135deg, rgba(245,130,32,.09), transparent 45%),
  repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 11px),
  #0c0f12;
  overflow: hidden;
}
.placeholder-image::after, .placeholder-bg::after {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(245,130,32,.18); pointer-events: none;
}
.placeholder-image span, .placeholder-note {
  position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%,-50%);
  text-align: center; color: rgba(245,130,32,.8); font-size: 11px; letter-spacing: .15em; width: 90%;
}
.placeholder-image small, .placeholder-note small { color: var(--muted); letter-spacing: .06em; display: block; margin-top: 7px; }

.cta-band { padding: 120px 20px; text-align: center; background: linear-gradient(135deg, #18130e, #08090a 45%, #0b0c0d); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band h2 { margin: 0 auto 35px; }

.contact-section { background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-card { background: var(--bg-soft); padding: 34px; min-height: 220px; }
.contact-label { color: var(--orange); font-size: 10px; font-weight: bold; letter-spacing: .18em; display: block; margin-bottom: 38px; }
.contact-card p { font-size: 20px; line-height: 1.55; }
.contact-card a:not(.text-link) { transition: .2s; }
.contact-card a:not(.text-link):hover { color: var(--orange); }

.footer { padding: 50px clamp(20px, 8vw, 150px); background: #030405; border-top: 1px solid var(--line); display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 30px; color: var(--muted); font-size: 11px; letter-spacing: .05em; }
.footer img { width: 130px; height: 70px; object-fit: contain; }
.footer p { margin: 0; }
.footer-small { text-align: right; }

@media (max-width: 850px) {
  .site-header { height: 70px; }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #080a0c; padding: 25px; flex-direction: column; align-items: flex-start; border-top: 1px solid var(--line); }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .expertise-grid, .contact-grid { grid-template-columns: 1fr; }
  .expertise-card, .expertise-card:nth-child(3) { margin-right: 0; padding-right: 0; }
  .split-section { grid-template-columns: 1fr; }
  .text-panel { padding: 70px 30px; }
  .row-heading { display: block; }
  .section-intro { margin-top: 25px; }
  .footer { grid-template-columns: 1fr; }
  .footer-small { text-align: left; }
}
@media (max-width: 600px) {
  .hero { min-height: 760px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(5,6,7,.96), rgba(5,6,7,.55)); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery-item.large { grid-row: auto; grid-column: span 2; min-height: 300px; }
  .gallery-item.wide { grid-column: span 2; min-height: 220px; }
  .section { padding-top: 80px; padding-bottom: 80px; }
}
