/* ===================== */
/* === STYLES GÉNÉRAUX SHARED STYLE (PAGES SECONDAIRES) === */
/* ===================== */

body {
  margin: 0;
  padding: 0;
  font-family: 'Tw Cen MT Std Semi Medium';
  color: #111;
  background-color: #ffffff;
} 

/* ======================= */
/* === IMAGE DE COUVERTURE === */
/* ======================= */

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  animation: fadeInHero 0.3s ease forwards;
  position: absolute;
}


@keyframes fadeInHero {
  from {
    opacity: 0;
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  color: #f4f1e9;
}

.hero-text h1 {
  font-size: 3.5em;
  font-weight: 300;
  margin: 0;
  border-bottom: 2px solid #f4f1e9;
  display: inline-block;
  padding-bottom: 5px;
}

/* ===================== */
/* === CONTENU TEXTE === */
/* ===================== */

.content {
  max-width: 800px;
  margin: 60px auto 80px auto;
  padding: 0 20px;
  font-size: 1.05em;
  line-height: 1.8;
}

.content p {
  margin-bottom: 20px;
}

/* ======================= */
/* === LIENS EN BAS DE PAGE === */
/* ======================= */

.page-links {
  margin-top: 40px;
  font-size: 0.95em;
  text-align: left;
}

.page-links a {
  position: relative;
  display: inline-block;
  margin: 10px;
  color: #222;
  text-decoration: none;
  font-weight: 500;
}

.page-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.page-links a:hover::after {
  transform: scaleX(1);
  background-color: #b38b5d;
}

/* ======================= */
/* === RESPONSIVE === */
/* ======================= */

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 1.8em;
  }

  .hero-text {
    left: 20px;
  }

  .content {
    padding: 0 15px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 240px;
  }

  .hero-text h1 {
    font-size: 1.5em;
  }

  .page-links {
    font-size: 0.9em;
  }

  .page-links a {
    margin: 5px;
  }
}
