:root {
  /*
    Le CSS (Cascading Style Sheets) sert à décorer la page HTML :
    couleurs, tailles, espaces, alignements, animations simples, etc.

    Les variables CSS commencent par --.
    Elles permettent de changer facilement plusieurs couleurs au même endroit.
  */

  /* À MODIFIER : change les couleurs principales du site. */
  --color-background: hwb(347 3% 35%);
  --color-surface: hsl(210, 2%, 78%);
  --color-text: oklab(31.596000000000004% 0.0145 -0.07236);
  --color-dark: hsl(215, 66%, 31%);
  --color-muted: #000103;
  --color-primary: lch(32.44% 35.38 289.3);
  --color-primary-dark: #a8883d;
  --color-accent: hsl(215, 69%, 28%);
  --color-border: hsl(215, 50%, 39%);

  --shadow-card: -8px 8px 0 hwb(246 16% 69%);
  --radius-large: 0;
  --radius-medium: 0;
}

/*
  Mobile first :
  On écrit d'abord le style pour les téléphones.
  Ensuite, avec une media query, on adapte la page aux écrans plus grands.
*/

/* Ce petit reset rend les tailles plus faciles à comprendre. */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background:
    radial-gradient(circle at top right, rgba(200, 174, 102, 0.22), transparent 28%),
    var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
}

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

/* HEADER */
.site-header {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-link {
  color: var(--color-text);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: 120px;
  height: auto;
}

.nav-link {
  padding-bottom: 4px;
  border-bottom: 2px solid var(--color-primary);
  font-size: 1rem;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--color-primary);
}

/* HERO */
.hero {
  min-height: calc(100vh - 86px);
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: 40px 0 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
}

.hero__content {
  max-width: 680px;
}

.hero__label,
.section__label {
  margin: 0 0 12px;
  color: var(--color-primary);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  /*
    clamp() permet d'avoir un titre responsive :
    - taille minimum : 3.4rem
    - taille idéale : 15vw
    - taille maximum : 8.5rem
  */
  margin-bottom: 20px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(3.4rem, 15vw, 8.5rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

h1 span {
  display: block;
  color: var(--color-primary);
}

h2 {
  margin-bottom: 16px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 8px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 1.35rem;
  text-transform: uppercase;
}

.hero__text {
  max-width: 560px;
  margin-bottom: 24px;
  color: var(--color-muted);
  font-size: 1.15rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border: 2px solid #000000;
  border-radius: 0;
  background: var(--color-primary);
  color: #000000;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: -6px 6px 0 #000000;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

/* :hover s'active quand la souris passe sur le bouton. */
.button:hover {
  background: var(--color-dark);
  color: #ffffff;
  box-shadow: -10px 10px 0 var(--color-primary);
  transform: translate(4px, -4px);
}

.hero__image-card {
  overflow: hidden;
  padding: 10px;
  border: 2px solid #000000;
  border-radius: var(--radius-large);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.hero__image {
  width: 100%;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
}

/* BANDE DE MOTS-CLÉS */
.tag-strip {
  overflow: hidden;
  border-top: 2px solid #000000;
  border-bottom: 2px solid #000000;
  background: var(--color-primary);
  color: #000000;
}

.tag-strip p {
  width: max-content;
  margin: 0;
  padding: 14px 20px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  animation: slide-tags 18s linear infinite;
}

/* Cette animation CSS fait glisser la bande, sans JavaScript. */
@keyframes slide-tags {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* SECTIONS */
.section {
  width: min(100% - 40px, 1040px);
  margin: 0 auto;
  padding: 56px 0;
}

.section > p {
  max-width: 720px;
  color: var(--color-muted);
}

.word-stroke {
  color: var(--color-background);
  text-shadow:
    -2px 2px 0 var(--color-dark),
    0 0 0 var(--color-dark);
  -webkit-text-stroke: 1px var(--color-dark);
}

.cards {
  display: grid;
  gap: 18px;
}

.card {
  position: relative;
  padding: 24px;
  border: 2px solid #000000;
  border-radius: var(--radius-medium);
  background: var(--color-surface);
  color: var(--color-dark);
  box-shadow: -5px 5px 0 #000000;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: -10px 10px 0 var(--color-primary);
  transform: translate(5px, -5px);
}

.card__number {
  margin-bottom: 24px;
  color: var(--color-primary-dark);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.card__emoji {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 2.7rem;
}

.card p {
  margin-bottom: 0;
  color: #334155;
}

.conclusion {
  margin-bottom: 40px;
  padding: 32px 24px;
  border: 2px solid #000000;
  border-radius: var(--radius-large);
  background: var(--color-primary);
  color: #000000;
  box-shadow: -8px 8px 0 #000000;
}

.conclusion .section__label,
.conclusion p {
  color: #000000;
}

.conclusion p {
  margin-bottom: 0;
}

.footer {
  padding: 28px 20px;
  text-align: center;
  color: var(--color-primary);
}

.footer p {
  margin-bottom: 0;
}

/*
  Responsive design :
  Un site responsive s'adapte à la taille de l'écran.
  Ici, à partir de 768px, la page utilise plus d'espace horizontal.
*/
@media (min-width: 768px) {
  .site-header {
    padding: 28px 0;
  }

  .brand {
    width: auto;
  }

  .brand img {
    width: 160px;
  }

  .hero {
    padding: 56px 0 72px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .hero__image {
    height: 460px;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .conclusion {
    padding: 48px;
  }
}
.bottom-banner {
  max-width: 1200px; /* Limits how wide it gets on big computer screens */
  margin: 40px auto;  /* Centers the banner and adds space above/below it */
  padding: 0 20px;    /* Keeps it from touching the absolute edges of the screen */
}

.banner-image {
  width: 100%;        /* Forces it to stretch across the available width */
  height: 250px;      /* Forces it into a perfect, wide rectangle height */
  object-fit: cover;  /* MAGIC: Crops the image perfectly so it never looks stretched or squished! */
  border-radius: 12px;/* Rounds the corners to match the rest of your site style */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); /* Adds a cool, subtle shadow underneath */
}





/* PAGE TRACKS */


      .video-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        max-width: 1200px;
        margin: 40px auto;
        padding: 0 20px;
      }
      
      .video-card {
        background: rgba(255, 255, 255, 0.04);
        border-radius: 16px;
        padding: 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.08);
        transition: transform 0.2s ease;
      }

      .video-card:hover {
        transform: translateY(-5px);
      }
      
      .video-card h3 {
        color: hsl(225, 50%, 22%);
        margin: 5px 0;
        font-size: 1.3rem;
      }
      
      .video-card p {
        color: #ffb3c1;
        font-size: 0.95rem;
        margin: 0;
        line-height: 1.4;
      }
      
      .back-btn-container {
        text-align: center;
        margin: 50px 0;
      }

      /* --- NEW VIDEO BANNER BUTTONS (The ones you were looking for!) --- */
      .video-link-wrapper {
        position: relative;
        display: block;
        width: 100%;
        height: 200px;
        overflow: hidden;
        border-radius: 8px;
        margin-bottom: 16px;
        background-color: #000;
      }

      .video-thumbnail {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.8;
        transition: all 0.3s ease;
      }

      .play-button-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: #ffb3c1;
        color: #0d0c10;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        padding-left: 4px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.5);
        transition: all 0.2s ease;
      }

      /* Hover effects */
      .video-link-wrapper:hover .video-thumbnail {
        transform: scale(1.05);
        opacity: 0.9;
      }

      .video-link-wrapper:hover .play-button-overlay {
        background: #fff;
        transform: translate(-50%, -50%) scale(1.1);
      }