/* FretRoute — Fret léger Nouvelle-Aquitaine */

:root {
  --bg: #f7f4ef;
  --bg-alt: #eeeae3;
  --surface: #ffffff;
  --nav-bg: #141e2e;
  --text: #1a2744;
  --text-muted: #5a6880;
  --accent: #f5a623;
  --accent-dark: #c47f10;
  --dark-bg: #141e2e;
  --dark-surface: #1e2d42;
  --border: #ddd8cf;
  --road-gray: #c8c4bc;
  --road-line: #e8e4dc;
}

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

html { font-size: 16px; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: var(--nav-bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  background: var(--accent);
  color: var(--nav-bg);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  letter-spacing: -0.5px;
}

.brand-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: -0.5px;
}

.nav-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* ── HERO ── */
.hero {
  background: var(--nav-bg);
  padding: 72px 48px 0;
  overflow: hidden;
}

.hero-inner {
  max-width: 680px;
  padding-bottom: 48px;
}

.hero-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  line-height: 1.08;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 24px;
  font-weight: 300;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.3);
  color: var(--accent);
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Road graphic */
.hero-visual {
  position: relative;
  margin: 0 -48px;
  padding-top: 20px;
}

.road-graphic {
  background: linear-gradient(180deg, #1e2d42 0%, #141e2e 100%);
  padding: 40px 48px 0;
  position: relative;
  height: 180px;
  display: flex;
  align-items: flex-end;
}

.road-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(180deg, #0d1520 0%, #0f1a28 100%);
}

.road-line--2 {
  height: 70px;
  background: linear-gradient(180deg, #0d1520 0%, #0b1420 100%);
}

.truck-silhouette {
  position: relative;
  z-index: 2;
  margin-bottom: -4px;
}

.truck-silhouette svg {
  width: 220px;
  height: auto;
}

.road-stripe {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  height: 3px;
  background: repeating-linear-gradient(
    to right,
    var(--accent) 0px,
    var(--accent) 40px,
    transparent 40px,
    transparent 70px
  );
  opacity: 0.6;
  z-index: 1;
}

.road-stripe--2 {
  bottom: 25px;
  opacity: 0.25;
  background: repeating-linear-gradient(
    to right,
    rgba(255,255,255,0.4) 0px,
    rgba(255,255,255,0.4) 30px,
    transparent 30px,
    transparent 60px
  );
}

/* Proof strip */
.hero-proof {
  display: flex;
  align-items: stretch;
  background: var(--bg);
  border-top: 3px solid var(--accent);
  margin: 0 -48px;
}

.proof-stat {
  flex: 1;
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.proof-number {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.proof-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  font-weight: 400;
}

.proof-divider {
  width: 1px;
  background: var(--border);
  margin: 20px 0;
  align-self: stretch;
}

/* ── SECTIONS ── */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-heading {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 680px;
}

/* ── PROBLEM ── */
.problem {
  padding: 80px 48px;
  background: var(--bg);
}

.problem-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

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

.problem-card:hover {
  box-shadow: 0 8px 32px rgba(26,39,68,0.08);
  transform: translateY(-2px);
}

.problem-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(245,166,35,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.problem-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 10px;
}

.problem-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── SOLUTION ── */
.solution {
  padding: 80px 48px;
  background: var(--bg-alt);
}

.solution-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.solution-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.pillar {
  padding: 28px 24px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.pillar-number {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.pillar h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 10px;
}

.pillar p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── TERRITORY ── */
.territory {
  padding: 80px 48px;
  background: var(--dark-bg);
  color: #fff;
}

.territory-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.territory .section-heading { color: #fff; }
.territory .section-body { color: rgba(255,255,255,0.6); }
.territory .section-label { color: var(--accent); }

/* Map visual */
.territory-map {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  background: var(--dark-surface);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
}

.map-region {
  display: flex;
  align-items: center;
  gap: 12px;
}

.map-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(245,166,35,0.25);
  flex-shrink: 0;
}

.map-dot--active {
  box-shadow: 0 0 0 6px rgba(245,166,35,0.2), 0 0 16px rgba(245,166,35,0.4);
}

.map-label {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.map-connector {
  width: 2px;
  height: 20px;
  background: rgba(255,255,255,0.15);
  margin-left: 6px;
}

.map-cities {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 8px;
}

.city {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  padding-left: 16px;
  position: relative;
}

.city::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 1px;
  background: rgba(255,255,255,0.2);
}

.territory-facts {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.territory-facts li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.fact-icon {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── MANIFESTO ── */
.manifesto {
  padding: 80px 48px;
  background: var(--accent);
}

.manifesto-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.manifesto-quote {
  position: relative;
}

.quote-mark {
  font-family: 'Syne', sans-serif;
  font-size: 6rem;
  color: rgba(255,255,255,0.25);
  line-height: 1;
  margin-bottom: -20px;
}

.blockquote {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: #1a2744;
  line-height: 1.35;
  margin-bottom: 20px;
}

.quote-attribution {
  font-size: 0.85rem;
  color: rgba(26,39,68,0.5);
  font-weight: 500;
}

.manifesto-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.mfact {
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 20px;
}

.mfact-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(26,39,68,0.55);
  margin-bottom: 8px;
}

.mfact-value {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  color: #1a2744;
  letter-spacing: -0.02em;
}

.mfact-value span {
  font-size: 1rem;
  font-weight: 600;
}

.mfact-note {
  font-size: 0.75rem;
  color: rgba(26,39,68,0.5);
  margin-top: 4px;
  line-height: 1.4;
}

/* ── FOOTER ── */
.footer {
  padding: 48px;
  background: #0d1420;
  color: rgba(255,255,255,0.4);
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  background: var(--accent);
  color: #0d1420;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.footer-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer-meta {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}

.footer-meta p {
  font-size: 0.78rem;
  line-height: 1.6;
}

.footer-note {
  margin-top: 8px;
  color: rgba(255,255,255,0.25);
  font-style: italic;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav-tagline { display: none; }
  .hero { padding: 48px 24px 0; }
  .hero-headline { font-size: 2.2rem; }
  .road-graphic { height: 120px; }
  .truck-silhouette svg { width: 140px; }
  .hero-proof { flex-direction: column; }
  .proof-divider { height: 1px; width: auto; margin: 0 20px; }
  .proof-stat { padding: 20px 24px; }
  .problem, .solution, .territory, .manifesto { padding: 60px 24px; }
  .problem-cards { grid-template-columns: 1fr; }
  .solution-pillars { grid-template-columns: 1fr 1fr; }
  .territory-inner, .manifesto-inner { grid-template-columns: 1fr; }
  .manifesto-facts { grid-template-columns: 1fr 1fr; }
  .footer { padding: 40px 24px; }
}

@media (max-width: 480px) {
  .solution-pillars { grid-template-columns: 1fr; }
  .manifesto-facts { grid-template-columns: 1fr; }
}