/* ================================================
   AUTOCARS PONSOT — Feuille de style principale
   Charte graphique Pantone :
   Pantone 234 CP #BC0069 / Pantone 285 CP #0061A0
   Pantone 232 CP #E07FA8 / Pantone 284 CP #6CAEE4
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- Variables --- */
:root {
  --primary:        #BC0069;   /* Pantone 234 CP */
  --primary-dark:   #8C004E;   /* teinte foncée */
  --primary-light:  #F5DCE9;   /* teinte claire */
  --secondary:      #0061A0;   /* Pantone 285 CP */
  --secondary-dark: #004B7C;   /* teinte foncée */
  --secondary-light:#6CAEE4;   /* Pantone 284 CP */
  --accent-pink:    #E07FA8;   /* Pantone 232 CP */
  --dark:           #1A1A2E;
  --gray-dark:      #374151;
  --gray:           #6B7280;
  --gray-light:     #F3F4F6;
  --white:          #FFFFFF;
  --font:           'Inter', sans-serif;
  --transition:     0.3s ease;
  --shadow-sm:      0 2px 8px rgba(0,0,0,0.08);
  --shadow:         0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:      0 8px 40px rgba(0,0,0,0.14);
  --radius:         10px;
  --radius-lg:      20px;
  --container:      1200px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--dark); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }

/* --- Utilitaires --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--gray { background: var(--gray-light); }
.section--dark { background: var(--dark); color: var(--white); }
.section--primary { background: var(--primary); color: var(--white); }

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section--dark .section-tag,
.section--primary .section-tag { color: rgba(255,255,255,0.7); }

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.7;
}
.section--dark .section-subtitle,
.section--primary .section-subtitle { color: rgba(255,255,255,0.75); }

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* --- Boutons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(188,0,105,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}
.btn-secondary:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,97,160,0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-ghost:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ================================================
   NAVIGATION
   ================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow);
}
.navbar.scrolled .nav-link { color: var(--dark); }
.navbar.scrolled .nav-link:hover { color: var(--primary); }
.navbar.scrolled .nav-logo-text { color: var(--dark); }

.navbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 48px;
  width: auto;
}
.nav-logo-placeholder {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo-placeholder span:first-child {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.05em;
  opacity: 0.85;
}
.nav-logo-placeholder span:last-child {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
}
.navbar.scrolled .nav-logo-placeholder span { color: var(--dark); }
.navbar.scrolled .nav-logo-placeholder span:first-child { color: var(--gray); }
.navbar.scrolled .nav-logo-placeholder span:last-child { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  padding: 8px 16px;
  border-radius: 50px;
  color: var(--white);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
  background: rgba(255,255,255,0.15);
}
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  background: var(--primary-light);
  color: var(--primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 4px;
  gap: 2px;
}
.navbar.scrolled .lang-switcher { background: var(--gray-light); }
.lang-btn {
  padding: 4px 10px;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  transition: all var(--transition);
}
.navbar.scrolled .lang-btn { color: var(--gray); }
.lang-btn.active {
  background: var(--white);
  color: var(--primary);
}
.navbar.scrolled .lang-btn.active {
  background: var(--primary);
  color: var(--white);
}

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--dark); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 80px; left: 0; right: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 24px;
  z-index: 999;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link {
  color: var(--dark);
  padding: 12px 16px;
  border-radius: var(--radius);
}
.mobile-menu .nav-link:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* ================================================
   HERO
   ================================================ */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(26,26,46,0.75) 0%, rgba(0,97,160,0.55) 100%),
    url('../img/ponsot_1.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
/* Fallback si pas d'image */
.hero-bg-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1A1A2E 0%, #0061A0 50%, #BC0069 100%);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px 24px 80px;
  color: var(--white);
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  color: rgba(255,255,255,0.9);
}
.hero-tag::before {
  display: none;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  max-width: 680px;
}
.hero h1 span { color: #E07FA8; }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll {
  display: none;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.4);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ================================================
   STATS / CHIFFRES CLÉS
   ================================================ */
.stats {
  padding: 60px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 32px 24px;
  border-right: 1px solid var(--gray-light);
  transition: all var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--gray-light); }
.stat-number {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--gray);
  font-weight: 500;
}

/* ================================================
   SERVICES (home preview)
   ================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--gray-light);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}
.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body { padding: 28px; }
.service-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}
.service-card-body p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 20px;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  transition: gap var(--transition);
}
.service-card-link:hover { gap: 10px; }
.service-card-link::after { content: '→'; }

/* ================================================
   ENGAGEMENTS / WHY US
   ================================================ */
.engagements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.engagement-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.engagement-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
}
.engagement-item h4 {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 1rem;
}
.engagement-item p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.65;
}

/* ================================================
   TÉMOIGNAGES
   ================================================ */
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.testimonial-stars { color: #F59E0B; font-size: 1.1rem; margin-bottom: 16px; }
.testimonial-text {
  font-size: 0.9rem;
  color: var(--gray-dark);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}
.testimonial-name { font-weight: 600; font-size: 0.875rem; }
.testimonial-date { font-size: 0.75rem; color: var(--gray); }

/* ================================================
   PARTENAIRES
   ================================================ */
.partners-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  flex-wrap: nowrap;
  margin-top: 40px;
}
.partner-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 24px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  flex: 1;
  max-width: 220px;
}
.partner-badge:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.partner-badge-logo {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
}
.partner-badge-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray);
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ================================================
   CTA BROCHURE
   ================================================ */
.brochure-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.brochure-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px; height: 500px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.brochure-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brochure-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 10px;
}
.brochure-text p { color: rgba(255,255,255,0.8); }
.brochure-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ================================================
   FOOTER
   ================================================ */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p {
  margin-top: 16px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 280px;
}
.footer-logo-placeholder {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.footer-logo-placeholder span:first-child {
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}
.footer-logo-placeholder span:last-child {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}
.footer-col h4 {
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--primary); }
.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 12px;
}
.footer-contact p span:first-child,
.footer-contact p i { color: var(--primary); font-size: 0.9rem; flex-shrink: 0; margin-top: 2px; width: 16px; }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--primary); }

/* ================================================
   PAGE HEADER (pages intérieures)
   ================================================ */
.page-header {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--secondary-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px; height: 600px;
  background: rgba(188,0,105,0.1);
  border-radius: 50%;
}
.page-header-content { position: relative; z-index: 1; }
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 12px; }
.page-header p { font-size: 1.05rem; color: rgba(255,255,255,0.75); max-width: 540px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.breadcrumb a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ================================================
   SERVICES PAGE
   ================================================ */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.service-full-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.service-full-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-full-img {
  height: 240px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255,255,255,0.4);
  overflow: hidden;
  position: relative;
}
.service-full-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.service-full-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.service-full-body {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-full-body h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.service-full-body p { color: var(--gray); line-height: 1.7; margin-bottom: 16px; font-size: 0.9rem; }
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}
.service-tag-item {
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Flotte */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.fleet-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.fleet-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.fleet-icon { font-size: 2.4rem; margin-bottom: 16px; color: var(--secondary); }
.fleet-card h3 { font-weight: 700; margin-bottom: 8px; }
.fleet-card .capacity {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.fleet-card p { font-size: 0.875rem; color: var(--gray); line-height: 1.6; }
.fleet-features { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; justify-content: center; }
.fleet-feature {
  background: var(--gray-light);
  color: var(--gray-dark);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.73rem;
  font-weight: 500;
}

/* Lignes régulières */
.lignes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.ligne-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.ligne-card:hover { border-color: var(--secondary); box-shadow: var(--shadow); }
.ligne-logo {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.ligne-logo.zou { background: linear-gradient(135deg, #FF6B35, #E91E8C); }
.ligne-logo.casa { background: linear-gradient(135deg, #0061A0, #004B7C); }
.ligne-card h4 { font-weight: 700; margin-bottom: 6px; }
.ligne-card p { font-size: 0.875rem; color: var(--gray); line-height: 1.6; }

/* ================================================
   ENTREPRISE PAGE
   ================================================ */
.histoire-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}
.histoire-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
  background: var(--gray-light);
  position: relative;
}
.histoire-img img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.histoire-content .section-tag { display: block; }
.timeline {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--gray-light);
}
.timeline-item {
  position: relative;
  padding-bottom: 28px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
}
.timeline-year { font-weight: 800; color: var(--primary); font-size: 0.9rem; }
.timeline-text { font-size: 0.875rem; color: var(--gray); line-height: 1.6; }

/* Stats sous l'intro histoire */
.histoire-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-light);
}
.hist-stat {
  text-align: center;
}
.hist-stat strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}
.hist-stat span {
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
  display: block;
}

/* Timeline horizontale */
.timeline-h {
  display: flex;
  position: relative;
  margin-top: 56px;
  padding: 0 32px;
}
.timeline-h::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 64px;
  right: 64px;
  height: 2px;
  background: linear-gradient(to right, var(--secondary-light), #b8d9f0, var(--secondary-light));
  z-index: 0;
}
.timeline-h-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.timeline-h-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--secondary-light);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--secondary-light);
  flex-shrink: 0;
  z-index: 1;
}
.timeline-h-year {
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--secondary);
  margin-top: 12px;
  text-align: center;
  white-space: nowrap;
}
.timeline-h-text {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--gray);
  text-align: center;
  line-height: 1.5;
  padding: 0 6px;
}

/* Citation fondateur */
.histoire-quote {
  margin: 48px auto 0;
  max-width: 780px;
  padding: 28px 36px;
  background: var(--gray-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.histoire-quote p {
  font-style: italic;
  color: var(--gray-dark);
  line-height: 1.75;
  font-size: 0.95rem;
  margin: 0;
}
.histoire-quote cite {
  display: block;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  font-style: normal;
  color: var(--primary);
}

.valeurs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.valeur-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
}
.valeur-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.valeur-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  margin: 0 auto 20px;
}
.valeur-card h3 { font-weight: 700; margin-bottom: 10px; }
.valeur-card p { font-size: 0.875rem; color: var(--gray); line-height: 1.65; }

.rse-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.rse-points { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.rse-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.rse-check {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 1rem;
}
.rse-point h5 { font-weight: 600; margin-bottom: 4px; }
.rse-point p { font-size: 0.875rem; color: var(--gray); line-height: 1.6; }

/* Recrutement */
.recrutement-card {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  margin-top: 48px;
}
.recrutement-card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; }
.recrutement-card p { color: rgba(255,255,255,0.8); font-size: 0.9rem; line-height: 1.65; }

/* ================================================
   CONTACT PAGE
   ================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  margin-top: 48px;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow-sm);
}
.contact-info-card h4 {
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-info-card h4 span,
.contact-info-card h4 i { color: var(--primary); font-size: 1rem; width: 18px; }
.contact-info-card p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.7;
}
.contact-info-card a { color: var(--primary); }

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow);
}
.form-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; }
.form-card p { color: var(--gray); font-size: 0.875rem; margin-bottom: 32px; }

.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--dark);
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(188,0,105,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 24px;
}
.form-check input { width: auto; margin-top: 2px; }

/* ================================================
   MENTIONS LÉGALES
   ================================================ */
.mentions-content {
  max-width: 800px;
  margin: 0 auto;
}
.mentions-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--dark);
}
.mentions-content p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 12px;
}

/* ================================================
   ANIMATIONS
   ================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--gray-light); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .histoire-layout { grid-template-columns: 1fr; }
  .histoire-img { height: 300px; }
  .histoire-stats { grid-template-columns: repeat(2, 1fr); }
  .timeline-h { flex-direction: column; gap: 0; padding-left: 32px; padding-right: 0; }
  .timeline-h::before { top: 0; bottom: 0; left: 39px; right: auto; width: 2px; height: auto; }
  .timeline-h-item { flex-direction: row; align-items: flex-start; gap: 16px; padding-bottom: 28px; }
  .timeline-h-item:last-child { padding-bottom: 0; }
  .timeline-h-dot { flex-shrink: 0; margin-top: 3px; }
  .timeline-h-year, .timeline-h-text { text-align: left; margin-top: 0; padding: 0; white-space: normal; }
  .timeline-h-year { margin-bottom: 4px; }
  .histoire-quote { padding: 24px; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .nav-links, .nav-right .btn { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .services-full-grid { grid-template-columns: 1fr; }
  .fleet-grid { grid-template-columns: 1fr 1fr; }
  .engagements-grid { grid-template-columns: 1fr; }
  .testimonials-track { grid-template-columns: 1fr; }
  .brochure-inner { flex-direction: column; text-align: center; }
  .brochure-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .valeurs-grid { grid-template-columns: 1fr; }
  .rse-layout { grid-template-columns: 1fr; }
  .recrutement-card { grid-template-columns: 1fr; text-align: center; }
  .lignes-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .lang-switcher { display: flex; }
}

@media (max-width: 480px) {
  .fleet-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 24px; }
}
