* {
    margin: 0;
    padding: 0;
}

/* Styles globale */
body {
    font-family: Arial, sans-serif;
}

header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 70px;
  background-color: #e1e7f2;
  color: rgb(255, 255, 255);
  padding: 0 1rem;
  display: flex;
  align-items: center;
  z-index: 1000;
  overflow: visible;
}

nav {
  display: flex;
  align-items: center;
  width: 100%;
  padding-right: 2.5rem; /* pour deplacer legerment à droite les links */
}

.logo {
  height: 60px;
  display: flex;
  align-items: flex-start;
}

.logo img {
  height: 160px;
  position: relative;
  top: -50px;
  image-rendering: auto;
}

/* pousse les liens complètement à droite */
.nav-links {
  margin-left: auto;
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  color: rgb(58, 58, 58);
  text-decoration: none;
}

.nav-links li::after {
  content: '';
  width: 0%;
  height: 2px;
  background: #FFA500;
  display: block;
  margin: auto;
  transition: 0.5s;
}

.nav-links li:hover::after {
  width: 100%;
}

.hero {
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/RennNDSM74.jpg);
    background-size: cover;
    text-align: center;
    color: #fff;
    padding: 200px;
    padding-top: 140px; /* si ton logo est grand */
    margin: 15px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 10px;
}

.cta-button {
    cursor: pointer;
    background: #FFA500;
    color: #fff;
    padding: 10px 25px;
    border-radius: 7px;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s ease;
    display: inline-block;
}

.cta-button:hover{
    background: #fff;
    color: #FFA500;
}

.citation{
    display: flex;
    padding: 50px;
    margin-top: 20px;
    font-size: 1.8rem;
    font-style: italic;
    color: #e1e7f2de;
}

.about {
    background-color: #f4f4f4;
    text-align: center;
    padding: 50px 0;
}

.about h2 {
    margin-bottom: 20px;
}

.slider-1 {
    overflow: hidden;
    width: 100%;
    padding: 30px 0;
    background: #fff; /* ou transparent si tu veux */
}

.slider-1 .slider {
    display: flex;
    gap: 30px;
    animation: defilement 60s linear infinite;
}

.slider-1 img {
    height: 300px;     /* Ajuste la taille selon tes besoins */
    width: auto;
    flex-shrink: 0;
    border-radius: 10px; /* Optionnel pour coins arrondis */
}

@keyframes defilement {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); } /* car on a 3x les images */
}

/* Animation */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s ease forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1.5s ease forwards;
    animation-delay: 0.5s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: none;
    }
}

/* citation photo */
.bande-citation {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.bande-content {
  max-width: 800px;
  margin: 0 auto;
}

.bande-image {
  max-width: 35%;
  height: auto;
  border-radius: 12px;
}

/* Hero contenu */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* NOS VALEURS */
.valeurs {
    background-color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.valeurs-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.valeur-card {
    background: #f4f4f4;
    border-radius: 10px;
    padding: 25px;
    width: 280px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.valeur-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.valeur-card h3 {
    margin-bottom: 10px;
    color: #222;
}

.valeur-card p {
    color: #555;
}

.contact-quick {
    background-color: #fff;
    text-align: center;
    padding: 60px 20px;
    color: #222;
    border-top: 2px solid #eee;
}

.contact-quick h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #FFA500;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
    margin: 40px;
}

.contact-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 260px;
    max-width: 400px;
    transition: transform 0.3s ease;
}

.contact-card img {
    width: 40px;
    height: 40px;
}

.contact-card strong {
    font-size: 18px;
    color: #222;
}

.contact-card p {
    margin-top: 5px;
    font-size: 16px;
    color: #555;
}

/* ----- Horaires ----- */
.horaire {
    background-color: #f8f8f8;
    padding: 40px 20px;
    margin: 40px auto;
    max-width: 800px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.horaire h3 {
    font-size: 2em;
    color: #0c1847;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.horaire-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    background-color: #ffffff;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    font-size: 1.1em;
}

.horaire-detail strong {
    color: #333;
    font-weight: bold;
}

.horaire-detail p {
    color: #555;
    margin: 0;
}

.logo-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px auto 0 auto; /* espace avant le footer */
  height: auto;
}

.logo-bottom img {
  width: 800px; /* Ajuste ici la taille désirée */
  height: auto;
}

footer {
    background-color: #222222;
    color: #ffffff;
    text-align: center;
    padding: 1.875rem;
}

.condition a {
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    display: inline-block;
    margin: 25px;
    margin-bottom: 35px;
    transition: 0.4s ease;
}

.condition a:hover {
    color: #FFA500;
}

