/* ============================================================
   TRANSPORTS A. BLANC — Premium Website Stylesheet
   Identity: Navy #1B2A5B | Red accent #C8102E | White #FFFFFF
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Colors */
  --navy: #1B2A5B;
  --navy-dark: #111D42;
  --navy-light: #2A3F7A;
  --red: #C8102E;
  --red-dark: #A00D24;
  --red-light: #E8344E;
  --white: #FFFFFF;
  --off-white: #F7F8FA;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Sizing */
  --container: 1200px;
  --header-height: 80px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;
  --duration-slow: 0.6s;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(27, 42, 91, 0.05);
  --shadow-md: 0 4px 12px rgba(27, 42, 91, 0.08);
  --shadow-lg: 0 12px 32px rgba(27, 42, 91, 0.12);
  --shadow-xl: 0 24px 48px rgba(27, 42, 91, 0.16);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

ul { list-style: none; }

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

address { font-style: normal; }

/* ---------- Skip Link (a11y) ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
  transition: top var(--duration) var(--ease);
}
.skip-link:focus {
  top: 10px;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  transition: all var(--duration) var(--ease);
  cursor: pointer;
  border: 2px solid transparent;
  gap: 0.5rem;
  white-space: nowrap;
}
.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 16, 46, 0.3);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ---------- Text Utilities ---------- */
.text-accent { color: var(--red); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27, 42, 91, 0.06);
  transition: all var(--duration) var(--ease);
  height: var(--header-height);
}
.header--scrolled {
  box-shadow: var(--shadow-md);
  height: 70px;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.header__logo img {
  height: 55px;
  width: auto;
  transition: height var(--duration) var(--ease);
}
.header--scrolled .header__logo img {
  height: 45px;
}
.header__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.header__link {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease);
  position: relative;
}
.header__link:hover,
.header__link.active {
  color: var(--navy);
}
.header__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
  transition: transform var(--duration) var(--ease);
}
.header__link:hover::after,
.header__link.active::after {
  transform: translateX(-50%) scaleX(1);
}
.header__link--cta {
  background: var(--navy);
  color: var(--white) !important;
  border-radius: var(--radius-full);
  padding: 0.5rem 1.25rem;
  margin-left: 0.5rem;
}
.header__link--cta::after { display: none; }
.header__link--cta:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
}

/* Burger */
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  z-index: 1001;
}
.header__burger span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}
.header__burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.header__burger.active span:nth-child(2) {
  opacity: 0;
}
.header__burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* Image fallback — toujours visible */
.hero__bg-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Vidéo — par-dessus, fade-in quand prête */
.hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.15);
  transform-origin: center center;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero__bg-video.is-playing {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg-video {
    display: none;
  }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(17, 29, 66, 0.92) 0%,
    rgba(27, 42, 91, 0.85) 40%,
    rgba(27, 42, 91, 0.7) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
}
.hero__badge {
  display: inline-block;
  background: rgba(200, 16, 46, 0.15);
  color: var(--red-light);
  border: 1px solid rgba(200, 16, 46, 0.3);
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s var(--ease) both;
}
.hero__title {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s var(--ease) 0.1s both;
}
.hero__title--accent {
  background: linear-gradient(135deg, var(--red-light), var(--red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.8s var(--ease) 0.2s both;
}
.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-4xl);
  animation: fadeInUp 0.8s var(--ease) 0.3s both;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  animation: fadeInUp 0.8s var(--ease) 0.4s both;
}
.hero__stat {
  text-align: center;
}
.hero__stat-number {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}
.hero__stat-suffix {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
  color: var(--red-light);
}
.hero__stat-label {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: var(--space-xs);
  font-weight: 500;
}
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}
.hero__scroll a {
  color: rgba(255, 255, 255, 0.5);
}
.hero__scroll a:hover {
  color: var(--white);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: var(--space-4xl) 0;
}
.section--light {
  background: var(--white);
}
.section--dark {
  background: linear-gradient(160deg, var(--navy-dark) 0%, #0d1830 100%);
}
.section--navy {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
}
.section--contact {
  background: var(--off-white);
}
.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-3xl);
}
.section__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(200, 16, 46, 0.08);
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}
.section__tag--light {
  color: var(--red-light);
  background: rgba(200, 16, 46, 0.15);
}
.section__title {
  font-family: var(--font-primary);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}
.section__title--light { color: var(--white); }
.section__intro {
  font-size: 1.0625rem;
  color: var(--gray-500);
  line-height: 1.7;
}
.section__intro--light { color: rgba(255, 255, 255, 0.7); }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto var(--space-4xl);
  padding-left: var(--space-2xl);
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--red), var(--navy));
  border-radius: 2px;
}
.timeline__item {
  position: relative;
  padding-bottom: var(--space-2xl);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--duration-slow) var(--ease);
}
.timeline__item.visible {
  opacity: 1;
  transform: translateY(0);
}
.timeline__item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-2xl) - 5px);
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--red);
  z-index: 1;
}
.timeline__date {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}
.timeline__content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-xs);
}
.timeline__content p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================================
   HISTOIRE TEAM
   ============================================================ */
.histoire__team {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
  align-items: center;
}
.histoire__team-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.histoire__team-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}
.histoire__team-img:hover img {
  transform: scale(1.03);
}
.histoire__team-text h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: var(--space-md);
}
.histoire__team-text p {
  margin-bottom: var(--space-md);
  color: var(--gray-600);
}
.histoire__values {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}
.histoire__value {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--navy);
}
.histoire__value svg {
  color: var(--red);
  flex-shrink: 0;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.service-card--featured {
  border: 2px solid var(--red);
}
.service-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--navy));
}
.service-card__badge {
  display: inline-block;
  background: rgba(200, 16, 46, 0.08);
  color: var(--red);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}
.service-card__icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  color: var(--white);
}
.service-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-sm);
}
.service-card__desc {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}
.service-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}
.service-card__features li {
  font-size: 0.875rem;
  color: var(--gray-700);
  padding-left: var(--space-lg);
  position: relative;
}
.service-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.service-card__contact {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--gray-200);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9375rem;
}
.service-card__contact svg { color: var(--red); }
.service-card__contact a:hover { color: var(--red); }

/* ============================================================
   STRENGTHS
   ============================================================ */
.strengths {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
}
.strengths__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: var(--space-xl);
}
.strengths__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}
.strength {
  text-align: center;
}
.strength__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 16, 46, 0.08);
  border-radius: var(--radius-md);
  margin: 0 auto var(--space-md);
  color: var(--red);
}
.strength h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-xs);
}
.strength p {
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ============================================================
   FLOTTE
   ============================================================ */
.flotte__showcase {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
  align-items: start;
  margin-bottom: var(--space-3xl);
}
.flotte__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.flotte__image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.flotte__counters {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}
.flotte__counter {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--red);
}
.flotte__counter-icon {
  color: var(--navy);
  flex-shrink: 0;
}
.flotte__counter strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--navy);
}
.flotte__counter p {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin: 0;
}
.flotte__engagements {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  color: var(--white);
}
.flotte__engagements h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}
.flotte__engagements ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.flotte__engagements li {
  font-size: 0.875rem;
  padding-left: var(--space-lg);
  position: relative;
  color: rgba(255, 255, 255, 0.85);
}
.flotte__engagements li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red-light);
  font-weight: 700;
}
.flotte__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.flotte__gallery img {
  border-radius: var(--radius-md);
  width: 100%;
  height: 240px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  transition: transform var(--duration) var(--ease);
}
.flotte__gallery img:hover {
  transform: scale(1.03);
}

/* ============================================================
   ZONES
   ============================================================ */
.zones__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}
.zones__map {
  display: flex;
  justify-content: center;
}
.zones__map img {
  max-height: 450px;
  width: auto;
}
.zones__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.zones__card {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  backdrop-filter: blur(4px);
  transition: all var(--duration) var(--ease);
}
.zones__card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}
.zones__card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.zones__card-icon--local { background: rgba(200, 16, 46, 0.2); color: var(--red-light); }
.zones__card-icon--national { background: rgba(42, 63, 122, 0.3); color: #7B93DB; }
.zones__card-icon--strategic { background: rgba(200, 16, 46, 0.15); color: #FFB84D; }
.zones__card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-xs);
}
.zones__card p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* ============================================================
   RECRUTEMENT
   ============================================================ */
.recrutement__content {
  max-width: 700px;
  margin: 0 auto;
}
.recrutement__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-3xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.recrutement__icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-md);
  margin: 0 auto var(--space-lg);
  color: var(--white);
}
.recrutement__card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-xl);
}
.recrutement__list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}
.recrutement__list li {
  padding-left: var(--space-xl);
  position: relative;
}
.recrutement__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-light));
}
.recrutement__list strong {
  display: block;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: var(--space-xs);
}
.recrutement__list p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}
.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.contact__card {
  background: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.contact__card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--red);
  display: inline-block;
}
.contact__item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  color: var(--gray-600);
  font-size: 0.9375rem;
}
.contact__item svg {
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact__card--services {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
}
.contact__card--services h3 {
  color: var(--white);
  border-bottom-color: var(--red-light);
}
.contact__service {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.contact__service:last-child { border-bottom: none; }
.contact__service-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}
.contact__phone {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--duration) var(--ease);
}
.contact__phone:hover { color: var(--red-light); }

.contact__visual {
  position: relative;
}
.contact__visual > img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 500px;
  object-fit: cover;
  box-shadow: var(--shadow-xl);
}
.contact__overlay-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
  max-width: 250px;
}
.contact__overlay-card img {
  border-radius: var(--radius-sm);
  height: 140px;
  width: 100%;
  object-fit: cover;
  margin-bottom: var(--space-sm);
}
.contact__overlay-card p {
  font-size: 0.75rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-3xl) 0 var(--space-lg);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: var(--space-lg);
}
.footer__brand img {
  margin-bottom: var(--space-md);
  background: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  display: block;
  max-width: 180px;
}
.footer__brand p {
  font-size: 0.875rem;
  line-height: 1.7;
}
.footer__links h4,
.footer__contact h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
}
.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.footer__links a {
  font-size: 0.875rem;
  transition: color var(--duration) var(--ease);
}
.footer__links a:hover { color: var(--white); }
.footer__phone {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-md);
}
.footer__phone:hover { color: var(--red-light); }
.footer__contact p {
  font-size: 0.8125rem;
  line-height: 1.6;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
}
.footer__legal {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.footer__legal a:hover { color: var(--white); }

/* ============================================================
   MODAL
   ============================================================ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.modal.active {
  display: flex;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}
.modal__content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  max-width: 700px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  z-index: 1;
}
.modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 2rem;
  color: var(--gray-400);
  line-height: 1;
  cursor: pointer;
}
.modal__close:hover { color: var(--navy); }
.modal__content h2 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: var(--space-xl);
}
.modal__body h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}
.modal__body p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
  .strengths__grid { grid-template-columns: repeat(2, 1fr); }
  .histoire__team { grid-template-columns: 1fr; }
  .histoire__team-img img { height: 350px; }
  .flotte__showcase { grid-template-columns: 1fr; }
  .flotte__image img { height: 350px; }
  .flotte__gallery { grid-template-columns: repeat(3, 1fr); }
  .zones__content { grid-template-columns: 1fr; text-align: center; }
  .zones__map { margin-bottom: var(--space-xl); }
  .zones__map img { max-height: 300px; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__visual { order: -1; }
  .contact__visual > img { height: 350px; }
  .contact__overlay-card { right: 10px; bottom: -10px; }
  .footer__top { grid-template-columns: repeat(2, 1fr); }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    transition: right var(--duration) var(--ease);
    padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
    z-index: 999;
  }
  .header__nav.active {
    right: 0;
  }
  .header__menu {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: stretch;
  }
  .header__link {
    padding: 0.75rem var(--space-md);
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }
  .header__link--cta {
    text-align: center;
    margin-left: 0;
    margin-top: var(--space-md);
  }
  .header__burger {
    display: flex;
  }

  .section { padding: var(--space-3xl) 0; }
  .section__header { margin-bottom: var(--space-2xl); }

  .hero { min-height: 100svh; }
  .hero__content { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }
  .hero__title { word-break: break-word; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }

  .strengths__grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }

  .flotte__gallery { grid-template-columns: 1fr; }
  .flotte__gallery img { height: 200px; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }
}

@media (max-width: 480px) {
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .strengths__grid { grid-template-columns: 1fr; }
  .contact__overlay-card { display: none; }
  .recrutement__card { padding: var(--space-xl); }
}

/* ---------- Print ---------- */
@media print {
  .header, .hero__scroll, .hero__actions, .btn, .modal { display: none !important; }
  .hero { min-height: auto; padding: var(--space-xl) 0; }
  .hero__overlay { background: none; }
  .hero__title, .hero__subtitle { color: var(--navy) !important; }
  .section--navy { background: var(--gray-100) !important; }
  .section--navy * { color: var(--navy) !important; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
