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

:root {
  --bg: #060b13;
  --bg-soft: #0d1624;
  --surface: #09121f;
  --border: #ffffff1f;
  --text: #edf4ff;
  --text-soft: #9eb1cb;
  --blue: #1747a4;
  --blue-bright: #087bff;
  --red: #eb2328;
  --gold: #f0b24d;
  --header-color: #000817;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 0, #3d72ff33, transparent 26%),
    radial-gradient(circle at 82% 8%, #eb232829, transparent 24%),
    linear-gradient(135deg, #0d1c33, #050912 55%, #060b13);
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Barlow', sans-serif;
}

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

/* HEADER */

.header {
  height: 82px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--header-color);
  border-bottom: 1px solid #1747a4;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(15px);
}

/* LOGO ET TEXTE SUR LA MÊME LIGNE */

.header .logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: auto;
  flex-shrink: 0;
}

.header .logo img {
  width: 65px;
  height: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  text-align: left;
}

.logo-text strong {
  font-family: 'Rajdhani', sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 1px;
  color: white;
  white-space: nowrap;
}

.logo-text small {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #168aff;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navigation a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px;
  font-weight: 700;
  transition: .2s;
}

.navigation a:hover {
  color: #168aff;
}

.member-button {
  background: linear-gradient(100deg, #087bff, #1747e9);
  padding: 13px 22px;
  border-radius: 30px;
}

.menu-button {
  display: none;
  background: transparent;
  border: 0;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

/* HERO */

.hero {
  min-height: 540px;
  display: flex;
  align-items: center;
  padding: 65px 9%;
  background:
    linear-gradient(90deg, #050b17 0%, #050b17dd 35%, #050b1740 100%),
    url("../images/truck.jpg") center 55% / cover no-repeat;
  border-bottom: 1px solid #1747a4;
}

.hero-content {
  max-width: 600px;
}

.red-label {
  color: #ff263c;
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(45px, 6vw, 76px);
  line-height: .95;
  font-weight: 700;
  margin: 18px 0;
}

.hero h1 span {
  color: #168aff;
}

.hero p {
  max-width: 450px;
  color: #c8d7ef;
  font-size: 18px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-block;
  padding: 15px 23px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  transition: .2s;
}

.button:hover {
  transform: translateY(-3px);
  filter: brightness(1.2);
}

.blue-button {
  background: linear-gradient(100deg, #087bff, #1747e9);
}

.outline-button {
  border: 1px solid #168aff;
  background: #050b17cc;
}

.red-button {
  background: linear-gradient(100deg, #eb2328, #b80035);
}

/* STATISTIQUES */

.stats {
  width: 88%;
  margin: -1px auto 65px;
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #071327ed;
  border: 1px solid #1747a4;
  border-radius: 18px;
  box-shadow: 0 15px 40px #0008;
}

.stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 12px;
  border-right: 1px solid #1747a4;
}

.stat:last-child {
  border: 0;
}

.stat span {
  font-size: 32px;
}

.stat strong,
.stat small {
  display: block;
}

.stat strong {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
}

.stat small {
  color: var(--text-soft);
  font-size: 10px;
}

/* SECTIONS */

.section,
.feature-grid,
.join-banner {
  width: 88%;
  max-width: 1300px;
  margin: 0 auto 60px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 22px;
}

.section-heading h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 38px;
}

.see-more {
  color: #168aff;
  font-weight: 700;
  padding-bottom: 10px;
}

/* CONVOIS */

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.event-card {
  overflow: hidden;
  border: 1px solid #1747a4;
  border-radius: 15px;
  background: #071327;
  transition: .25s;
}

.event-card:hover {
  transform: translateY(-5px);
  border-color: #168aff;
}

.event-image {
  height: 170px;
  background-image:
    linear-gradient(0deg, #071327, transparent 65%),
    url("../images/truck.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}

.image-two {
  background-position: 65% center;
}

.image-three {
  background-position: 35% center;
}

.event-image span {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 9px 13px;
  border-radius: 9px;
  background: #071327ed;
  border: 1px solid #168aff;
  text-align: center;
  font-weight: 700;
}

.event-info {
  padding: 17px;
}

.event-info h3,
.feature-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 21px;
}

.event-info p {
  color: var(--text-soft);
  margin: 9px 0;
}

.event-info a {
  display: block;
  margin-top: 17px;
  padding: 10px;
  text-align: center;
  border: 1px solid #087bff;
  border-radius: 25px;
  color: #168aff;
  font-weight: 700;
  font-size: 13px;
}

/* CARTES */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px;
  min-height: 145px;
  border: 1px solid #1747a4;
  border-radius: 15px;
  background: linear-gradient(120deg, #0d1b30, #07101e);
  transition: .2s;
}

.feature-card:hover {
  border-color: #eb2328;
  transform: translateY(-4px);
}

.feature-card > span {
  font-size: 34px;
}

.feature-card p {
  color: var(--text-soft);
  font-size: 14px;
  margin-top: 7px;
  line-height: 1.4;
}

.feature-card b {
  color: #168aff;
  font-size: 23px;
}

/* BANNIÈRE */

.join-banner {
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid #1747a4;
  border-right: 3px solid #eb2328;
  border-radius: 15px;
  background:
    linear-gradient(90deg, #071c46ed, #071327dd),
    url("../images/truck.jpg") center / cover;
}

.join-banner h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 27px;
}

.join-banner p {
  color: var(--text-soft);
  margin-top: 8px;
}

/* FOOTER */

.footer {
  padding: 35px 6%;
  text-align: center;
  border-top: 1px solid #1747a4;
  background: #040a14;
}

.footer img {
  width: 150px;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 22px;
  color: var(--text-soft);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
}

.footer p,
.footer small {
  display: block;
  color: #72849d;
  margin-top: 10px;
}

/* VERSION MOBILE */

@media (max-width: 800px) {
  .header {
    height: 75px;
    padding: 0 5%;
  }

  .header .logo {
    gap: 8px;
  }

  .header .logo img {
    width: 55px;
  }

  .logo-text strong {
    font-size: 15px;
  }

  .logo-text small {
    font-size: 9px;
    letter-spacing: 3px;
  }

  .menu-button {
    display: block;
  }

  .navigation {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--header-color);
    border-bottom: 1px solid #1747a4;
  }

  .navigation.open {
    display: flex;
  }

  .navigation a {
    padding: 14px;
    border-bottom: 1px solid #ffffff12;
  }

  .member-button {
    text-align: center;
    margin-top: 12px;
  }

  .hero {
    min-height: 690px;
    padding: 55px 6%;
    align-items: flex-start;
    background-position: 60% center;
    background-image:
      linear-gradient(90deg, #050b17e8, #050b1780),
      url("../images/truck.jpg");
    background-size: cover;
  }

  .hero h1 {
    font-size: clamp(43px, 11vw, 65px);
  }

  .hero p {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .stats {
    width: 92%;
    grid-template-columns: repeat(2, 1fr);
    padding: 10px;
    margin-bottom: 45px;
  }

  .stat {
    justify-content: flex-start;
    border-right: 1px solid #1747a4;
    border-bottom: 1px solid #1747a4;
    gap: 9px;
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(3),
  .stat:nth-child(4) {
    border-bottom: 0;
  }

  .stat span {
    font-size: 25px;
  }

  .stat strong {
    font-size: 17px;
  }

  .stat small {
    font-size: 9px;
  }

  .section,
  .feature-grid,
  .join-banner {
    width: 92%;
    margin-bottom: 40px;
  }

  .section-heading {
    align-items: flex-start;
    gap: 10px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .see-more {
    font-size: 12px;
    white-space: nowrap;
  }

  .event-grid {
    grid-template-columns: 1fr;
  }

  .event-image {
    height: 190px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 120px;
  }

  .join-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }

  .join-banner h2 {
    font-size: 23px;
  }

  .join-banner .button {
    width: 100%;
  }

  .footer-links {
    gap: 15px;
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .header .logo img {
    width: 45px;
  }

  .logo-text strong {
    font-size: 13px;
  }

  .logo-text small {
    font-size: 8px;
    letter-spacing: 2px;
  }

  .hero h1 {
    font-size: 39px;
  }

  .stat {
    padding: 8px 4px;
  }

  .stat span {
    font-size: 20px;
  }
}
