:root {
  --font-title: 'Bebas Neue', sans-serif;
  --font-text: 'Inter', sans-serif;
}

body {
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.7;
  color: #111;
  background-color: #fff;
  margin: 0;
}

h1, h2, h3 {
  font-weight: 400;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.6em 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: 2rem;
}

p {
  margin: 0 0 1em 0;
}

section {
  padding: 4rem 1.5rem;
}

.container {
  max-width: 100%;
  margin: 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}

a:hover {
  opacity: 0.7;
}

.section-title {
    position: relative;
    display: block;               /* le titre prend toute la largeur disponible */
    text-align: center;           /* centre le texte */
    margin-bottom: 1.2rem;
    font-size: 2rem;
    cursor: default;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;                   /* largeur initiale de la ligne */
    height: 3px;
    background-color: #111;
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 250px;                   /* ligne qui s’allonge */
}

.section-title-white {
    position: relative;
    display: block;               /* le titre prend toute la largeur disponible */
    text-align: center;           /* centre le texte */
    margin-bottom: 1.2rem;
    font-size: 2rem;
    cursor: default;
}

.section-title-white::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;                   /* largeur initiale de la ligne */
    height: 3px;
    background-color: white;
    transition: width 0.3s ease;
}

.section-title-white:hover::after {
    width: 250px;                   /* ligne qui s’allonge */
}


/* Hero section */
#hero {
    position: relative;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('/assets/images/fond-hero.jpg') center/cover no-repeat;
    overflow: hidden;
    color: white;
}

/* Overlay sombre */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1;
}

/* Contenu centré */
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Titres */
.hero-content h1 {
    font-family: var(--font-title);
    font-size: 3rem;
    margin: 0;
}

.hero-content p {
    font-family: var(--font-text);
    font-size: 1.2rem;
}

/* Bouton */
.hero-button {
    padding: 12px 25px;
    background: #ff5c5c;
    color: white;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s, box-shadow 0.3s;
}

.hero-button:hover {
    background-color: #ff7a7a;
    box-shadow: 0 0 10px #ff5c5c;
}

/* Responsive */
@media (max-width: 768px){
    .hero-logo { width: 180px; }
    .hero-content h1 { font-size: 2rem; }
}

/* animation */
@keyframes slideIn {
    0% { transform: translateY(-50px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

