* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial;
}

/* NAVBAR */
.navbar {
  background-color: #1f3f6d !important;
  color: #efefef;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
  position: sticky; /* reste en haut lors du scroll */
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: none; /* pas de changement au scroll */
}

/* Logo */
.logo {
  font-weight: bold;
  font-size: 20px;
}
.logo img {
  height: 80px;
}

.logo span {
  opacity: 0.7;
  font-size: 16px;
}

/* Liens de navigation */
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px; /* espace entre les liens */
}

.nav-links a{
  color:#ffffff !important;
  text-decoration:none;
  font-size:16px;
  padding:6px 10px;
  border-radius:5px;
  transition:all 0.3s ease;
}

/* état visité */
.nav-links a:visited{
  color:#ffffff !important;
}

/* quand on passe la souris */
.nav-links a:hover{
  color:#ffffff !important;
  background-color:rgba(255,255,255,0.08);
}

/* quand on clique */
.nav-links a:active{
  color:#f5f5f5 !important;
}

/* Bouton Faire un don */
.don-btn {
  background-color: #f2b632;
  color: #1f3f6d;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.don-btn:hover {
  background-color: #f5f5f5;
  transform: translateY(-2px);
}

/* Responsive Navbar */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 15px;
    padding: 15px 30px;
  }

  .nav-links {
    flex-direction: column;
    gap: 15px;
  }
}
.don-btn:hover {
  background-color: #fdd835;
  transform: translateY(-2px);
}

/* Responsive Navbar */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 15px;
    padding: 15px 30px;
  }

  .nav-links {
    flex-direction: column;
    gap: 15px;
  }
}
.hero {
  background: #163a67;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  height: 100vh; /* prend toute la hauteur de l'écran */
  padding: 0 80px; /* on peut réduire le padding si besoin */
}

.hero img {
  width: 400px;
  border-radius: 12px;
}

.hero h1 {
  font-size: 60px;
  margin: 10px 0;
}

.date {
  letter-spacing: 2px;
  font-size: 14px;
  opacity: 0.7;
}

.desc {
  max-width: 420px;
  line-height: 1.6;
  opacity: 0.9;
}

.buttons {
  margin-top: 25px;
  display: flex;
  gap: 20px;
}

.btn-yellow {
  background: #f2b632;
  color: black;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  color: white;
}

/* SECTION PROGRAMME */
.programme {
  text-align: center;
  padding: 80px 20px;
  background: #fffbfbf3;
}
.programme-date {
  text-align: center;
  font-size: 14px;
  color: #f2b632; /* gris doux */
  margin-bottom: 5px;
  font-weight: 500;
}

.programme h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.subtitle {
  color: #777;
  margin-bottom: 40px;
  font-size: 16px;
}

/* Timeline */
.timeline {
  max-width: 800px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.event {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 20px;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.event.important {
  border-left: 4px solid #cbe923;
  background-color: #f7f7df;
}

.event.gray {
  background-color: #efefef;
}

.time {
  font-weight: bold;
  font-size: 18px;
  color: #1f3f6d;
  width: 90px;
}

.event-text {
  font-size: 16px;
  color: #333;
}

/* Select créneau */
#creneau {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-top: 10px;
  font-size: 14px;
  background-color: #fff;
  color: #333;
  appearance: none; /* supprime la flèche native */
  cursor: pointer;
}

#creneau:focus {
  outline: none;
  border-color: #1f3f6d;
  box-shadow: 0 0 5px rgba(31, 63, 109, 0.5);
}
/* Titre et sous-titre Programme */
.programme-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 10px;
  color: #1f3f6d; /* bleu foncé */
}

.subtitle {
  text-align: center;
  color: #777;
  margin-bottom: 40px;
  font-size: 16px;
}

/* Timeline (inchangé) */
.timeline {
  max-width: 800px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Responsive Timeline */
@media (max-width: 768px) {
  .timeline {
    gap: 10px;
  }
  .event {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .time {
    width: auto;
  }
}
/* Participer fullscreen */
.participer {
  background: #f8f8f8;
  display: flex;
  flex-direction: column;
  justify-content: center; /* centre verticalement */
  align-items: center;     /* centre horizontalement */
  min-height: 100vh;       /* prend toute la hauteur de l'écran */
  padding: 0 20px;         /* padding horizontal seulement */
  text-align: center;
}

.participer h1, .participer-text {
  margin-bottom: 40px;
}

.participer-text {
  color: #555;
  margin-bottom: 40px;
}

.form-card {
  background: white;
  max-width: 500px;
  width: 100%;             /* pour être responsive */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.form-tabs {
  display: flex;
  margin-bottom: 20px;
}

.form-tabs button {
  flex: 1;
  padding: 10px;
  border: none;
  background: #ddd;
  cursor: pointer;
}

.form-tabs .active {
  background: #1f3f6d;
  color: white;
  border-radius: 6px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
  margin-bottom: 15px;
  width: 100%;
}

.form-group input,
.form-group select {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.submit-btn {
  margin-top: 5%;
  width: 100%;
  background: #fcf701;
  border: none;
  padding: 12px;
  border-radius: 40px;
  font-weight: bold;
  cursor: pointer;
}

.footer {
  background-color: #1f3f6d;
  color: #fff;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  font-family: 'Orbitron', sans-serif;
}

/* Logo footer */
.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

/* Container des liens + bouton + réseaux */
.footer-links-container {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Liens du footer */
.footer-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  color: #fff; /* blanc par défaut */
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #cbe923; /* jaune au hover */
  text-shadow: 0 0 10px #cbe923;
  background: rgba(28, 20, 139, 0.05);
}

/* Bouton Faire un don */
.don-btn-footer {
  background-color: #f2b632;
  color: #1f3f6d;
  font-weight: bold;
  padding: 8px 18px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.don-btn-footer:hover {
  background-color: #fdd835;
  color: black;
}

/* Réseaux sociaux horizontaux à droite du bouton */
.footer-socials-inline {
  display: flex;
  gap: 15px;
  align-items: center;
}

.footer-socials-inline a {
  display: inline-block;
  filter: invert(100%); /* logos blancs */
  width: 30px;
  height: 30px;
  object-fit: contain;
  transition: transform 0.3s, filter 0.3s;
}

.footer-socials-inline a:hover {
  transform: scale(1.1);
  filter: brightness(150%);
}

/* Copyright */
.footer-copy {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #888;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-links-container {
    flex-direction: column;
    gap: 15px;
  }

  .footer-socials-inline {
    justify-content: center;
  }

  .footer-logo {
    font-size: 1.3rem;
  }
}

.social-icon{
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.footer-socials a {
  color: #ffffff;
  font-size: 1.5rem;
  transition: 0.3s;
}

.footer-socials a:hover {
  color: #ebebeb;
  text-shadow: 0 0 15px #ffffff;
}

/* Copyright */
.footer-copy {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #888;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    gap: 15px;
  }

  .footer-socials {
    gap: 15px;
  }

  .footer-logo {
    font-size: 1.3rem;
  }
}
/* CONTACT SECTION */

.contact {
  background: #f6f6f6;
  padding: 80px 20px;
  text-align: center;
}

.contact-title {
  font-size: 40px;
  margin-bottom: 10px;
}

.contact-subtitle {
  color: #777;
  margin-bottom: 40px;
}

/* CONTACT LAYOUT */

/* Conteneur contact */
.contact-container {
  display: flex;
  gap: 50px;
  max-width: 1100px;
  margin: auto;
  align-items: flex-start;
}

/* Partie gauche : carte */
.contact-map {
  flex: 1;
}

.contact-map iframe {
  width: 100%;
  height: 350px; /* Hauteur identique au tableau */
  border-radius: 10px;
}

/* Partie droite : tableau + image */
.contact-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Tableau contact */
.contact-table {
  width: 100%;
  height: 350px; /* Même hauteur que la carte */
  border-collapse: collapse;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-table th{
background:#1f3f6d;
color:white;
padding:15px;
text-align:left;
width:120px;
}

.contact-table td{
padding:15px;
border-bottom:1px solid #eee;
}

.contact-table tr:last-child td{
border-bottom:none;
}
/* ------------------ SECTION FAIRE UN DON ------------------ */
.don-section {
  padding: 80px 20px;
  text-align: center;
  background: #f8f8f8;
}

.don-section h1 {
  font-size: 42px;
  color: #1f3f6d;
  margin-bottom: 10px;
}

.don-text {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}

.don-table {
  width: 100%;
  max-width: 700px;
  margin: auto;
  border-collapse: collapse;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden;
  background: white;
}

.don-table th, .don-table td {
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.don-table th {
  background-color: #1f3f6d;
  color: white;
}

.don-table tr:last-child td {
  border-bottom: none;
}

/* Boutons paiement */
.don-table .don-btn {
  display: inline-block;
  background-color: #f2b632;
  color: #1f3f6d;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.don-table .don-btn:hover {
  background-color: #fdd835;
}

/* Montants prédéfinis et input */
.don-amounts {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.amount-btn {
  padding: 8px 15px;
  border: 1px solid #1f3f6d;
  border-radius: 6px;
  background: white;
  color: #1f3f6d;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

.amount-btn:hover {
  background: #1f3f6d;
  color: white;
}

.amount-input {
  width: 100px;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  text-align: center;
}