/* ================= VARIABLES ================= */
:root {
  --blue: #0078c8;
  --navy: #1b3a5c;
  --dark: #0d1a2a;
  --light: #f4f7fb;
  --text: #444;
  --white: #fff;
}

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

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
}

/* ================= HERO ================= */
.story-hero {
  position: relative;
  height: 800px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  color: #fff;

  background: linear-gradient(
              rgba(0,0,0,0.1),
              rgba(0,0,0,0.1)
            ),
            url("../../../image/majeste1 (6).jpeg") center/cover no-repeat;
}

/* CONTENU HERO */
.story-hero .hero-content {
  max-width: 650px;
  padding: 0 20px;
}

/* TITRE */
.story-hero h1 {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.2;
}

/* TEXTE */
.story-hero p {
  font-size: 18px;
  margin-top: 10px;
  opacity: 0.9;
  line-height: 1.5;
}

/* ================= SECTION GLOBAL ================= */
.story {
  padding: 80px 20px;
}

/* ================= BLOCK STORY ================= */
.story-block {
  max-width: 1150px;
  margin: 70px auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* IMAGE */
.story-block .image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.story-block .image img:hover {
  transform: scale(1.05);
}

/* TEXTE */
.story-block .text h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 15px;
}

.story-block .text p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
}

/* ================= ALTERNANCE ================= */
.story-block.reverse .image {
  order: 1;
}

.story-block.reverse .text {
  order: 2;
}

/* ================= FINAL ================= */
.story-final {
  max-width: 900px;
  margin: 100px auto;
  text-align: center;
}

.story-final h2 {
  font-size: 30px;
  color: var(--navy);
  margin-bottom: 20px;
}

.story-final p {
  font-size: 16px;
  margin-bottom: 25px;
  color: #444;
}

/* CITATION */
.story-final blockquote {
  background: var(--light);
  padding: 25px;
  border-left: 4px solid var(--blue);
  border-radius: 10px;
  font-style: italic;
  color: #333;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {

  .story-block {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .story-block.reverse .image,
  .story-block.reverse .text {
    order: unset;
  }

  .story-block .image img {
    height: 250px;
  }

  .story-hero {
    height: 380px;
  }

  .story-hero h1 {
    font-size: 28px;
  }

  .story-hero p {
    font-size: 15px;
  }
}