
/* Fond de page (sans image) */
html, body { min-height: 100%; }
body{
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfa 100%);
  color: #333;

}

/* Image ARCHERS en décor, fixée en bas-droite, visible partout */
body::after{
  content:"";
  position: fixed;
  right: clamp(0px, 4vw, 32px);
  bottom: clamp(0px, 4vw, 32px);
  width: min(56vw, 560px);
  aspect-ratio: 1 / 1;
  background: url("../img/ARCHERS.png") no-repeat center / contain; /* <-- ici */
  opacity: .15;
  pointer-events: none;
  z-index: 0;
}


/* S'assure que le contenu passe au-dessus de l'illustration */
nav, header, section, footer { position: relative; z-index: 1; }

/* Mobile : plus petit, et on peut remonter l'image */
@media (max-width: 600px){
  body::after{
    right: 8px;
    bottom: 8px;
    width: min(78vw, 380px);   /* plus petit sur téléphone */
    opacity: .18;              /* un poil plus présent si tu veux */
  }
}

/* Si l’utilisateur préfère moins d’effets, on simplifie */
@media (prefers-reduced-motion: reduce){
  body::after{ position: absolute; } /* évite le rendu fixed */
}


a {
  color: #7e58a0;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ===== NAVIGATION ===== */
nav {
  background: #3b9f5a;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  font-weight: bold;
  position: relative;
  z-index: 1000;
}

nav .logo {
  font-size: 1.3rem;
  display: flex;
  align-items: center;
}

nav .burger {
  font-size: 1.8rem;
  cursor: pointer;
  display: none;
  background: none;
  border: none;
  color: white;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

nav ul li a,
nav ul li button {
  color: white;
  text-decoration: none;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  transition: color 0.3s;
}

nav ul li a:hover,
nav ul li button:hover {
  color: #e1e1e1;
}

/* Responsive burger */
@media screen and (max-width: 768px) {
  nav .burger {
    display: block;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background: #3b9f5a;
    flex-direction: column;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #eee;
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    margin: 10px 0;
  }
body {
  padding-top: 0;
}
}

/* === HEADER === */
header {
  background: linear-gradient(to right, #3a9d5d, #7e58a0);
  color: white;
  text-align: center;
  padding: 120px 20px 80px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.cta {
  display: inline-block;
  padding: 12px 25px;
  background-color: #7e58a0;
  color: white;
  border-radius: 30px;
  font-weight: bold;
  transition: background 0.3s;
}

.cta:hover {
  background-color: #68408f;
}

/* === SECTION === */
section {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
}

ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  margin: 10px 0;
}

/* === FOOTER === */
footer {
  text-align: center;
  padding: 20px;
  background-color: #3a9d5d;
  color: white;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  nav .burger {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    background-color: #3a9d5d;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    padding: 15px;
    text-align: center;
  }
}

/* === FADE-IN === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === GALERIE === */
.galerie-photos .galerie {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.galerie a {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  aspect-ratio: 4/3;
  background: #fff;
}

.galerie a:hover {
  transform: scale(1.03);
}

.galerie img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === CARTE === */
#map {
  height: 400px;
  border-radius: 10px;
  border: 3px solid #3a9d5d;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-top: 20px;
}

/* === TITRES DE SECTIONS === */
section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #7e58a0;
  position: relative;
  padding-left: 10px;
  border-left: 5px solid #3a9d5d;
}

/* === FORMULAIRE MODERNE BÉNÉVOLE - CHARTRE GRAPHIQUE VERT & VIOLET === */

.benevole-form {
  max-width: 900px;
  margin: 40px auto;
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  font-family: 'Segoe UI', sans-serif;
}

.benevole-form label {
  font-weight: 600;
  margin-bottom: 5px;
  color: #3a9d5d;
  display: block;
}

.benevole-form input[type="text"],
.benevole-form input[type="email"],
.benevole-form input[type="tel"],
.benevole-form select,
.benevole-form textarea {
  width: 100%;
  padding: 12px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  transition: border 0.3s;
  margin-top: 5px;
  margin-bottom: 20px;
}

.benevole-form input:focus,
.benevole-form select:focus,
.benevole-form textarea:focus {
  outline: none;
  border-color: #7e58a0;
  box-shadow: 0 0 0 3px rgba(126, 88, 160, 0.1);
}

.benevole-form fieldset {
  border: none;
  background: #f9f7fd;
  border-left: 5px solid #7e58a0;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.benevole-form legend {
  font-weight: 700;
  color: #7e58a0;
  margin-bottom: 10px;
}

.benevole-form input[type="checkbox"],
.benevole-form input[type="radio"] {
  margin-right: 8px;
}

.benevole-form .cta {
  background: linear-gradient(to right, #3a9d5d, #7e58a0);
  color: white;
  padding: 14px 28px;
  font-weight: bold;
  font-size: 16px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s;
}

.benevole-form .cta:hover {
  background: linear-gradient(to right, #2f7e4c, #68408f);
}

/* === TOOLTIPS === */
.tooltip {
  position: relative;
  display: inline-block;
  color: #7e58a0;
  font-weight: bold;
  cursor: help;
}

.tooltip .tooltip-text {
  visibility: hidden;
  width: 250px;
  background-color: #7e58a0;
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 10px;
  position: absolute;
  z-index: 2;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* === Responsive === */
@media (max-width: 768px) {
  .benevole-form {
    padding: 25px 20px;
  }
}

.modern-footer {
  background-color: #3a9d5d;
  color: #ccc;
  padding: 50px 20px 30px;
  font-size: 14px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: auto;
  gap: 30px;
}

.footer-column {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-column h3, .footer-column h4 {
  color: white;
  margin-bottom: 15px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #fff;
}

.newsletter form {
  display: flex;
  margin-bottom: 10px;
}

.newsletter input {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid #7e58a0;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
}

.newsletter button {
  padding: 8px 14px;
  background-color: #7e58a0;
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-weight: bold;
}

.newsletter button:hover {
  background-color: #2f7e4c;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
}

.social-icons img {
  width: 24px;
  height: 24px;
  opacity: 0.8;
  transition: 0.3s;
}

.social-icons img:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  color: #aaa;
  font-size: 13px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-column {
    margin-bottom: 30px;
  }

  .newsletter form {
    flex-direction: column;
  }

  .newsletter input, .newsletter button {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 10px;
  }

.social-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-icons a svg {
  transition: transform 0.2s ease, fill 0.2s ease;
}

.social-icons a:hover svg {
  transform: scale(1.1);
  fill: #7e58a0; /* violet ou autre couleur hover */
}


/* --- Overlay animé lors de l'envoi du formulaire --- */
.submit-anim-overlay {
  position: fixed;
  inset: 0;
  display: none;                  /* caché par défaut */
  place-items: center;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(3px);
  z-index: 9999;
}

.submit-anim-overlay.is-visible {
  display: grid;                  /* devient visible au submit */
}

.submit-anim-wrap {
  text-align: center;
  transform: translateY(10px);
  animation: sa-fadeUp 220ms ease-out forwards;
}

.archer-anim {
  width: min(40vw, 280px);
  height: auto;
  opacity: 0;
  transform: translateY(14px) scale(0.92) rotate(-2deg);
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.15));
  animation:
    sa-popIn 600ms cubic-bezier(.2,.75,.2,1) 60ms forwards,
    sa-breathe 2200ms ease-in-out 720ms infinite alternate;
}

.submit-anim-text {
  margin-top: .6rem;
  font-weight: 600;
  opacity: 0;
  animation: sa-fadeIn 360ms ease 240ms forwards;
  color: #0b3d35; /* vert sombre de ta charte */
}

/* Keyframes */
@keyframes sa-popIn {
  0%   { opacity: 0; transform: translateY(18px) scale(0.88) rotate(-3deg); }
  60%  { opacity: 1; transform: translateY(-2px) scale(1.03) rotate(0deg); }
  100% { opacity: 1; transform: translateY(0)    scale(1.00) rotate(0deg); }
}
@keyframes sa-fadeIn { to { opacity: 1; } }
@keyframes sa-fadeUp { to { transform: translateY(0); } }
@keyframes sa-breathe {
  from { transform: translateY(0) scale(1.00); }
  to   { transform: translateY(-3px) scale(1.01); }
}

/* Respecte les préférences d’accessibilité */
@media (prefers-reduced-motion: reduce) {
  .archer-anim, .submit-anim-wrap, .submit-anim-text {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

  /* ===== Pantin Sponsors Ticker (namespacé) ===== */
:root{ --ps-h:60px; --ps-bg:rgba(15,21,32,.85); --ps-b:rgba(255,255,255,.1) }
/* Ajoute de l'espace en bas pour ne pas masquer le contenu */
body{ padding-bottom: var(--ps-h) }

.pantin-sponsors{
  position:fixed; left:0; right:0; bottom:0; height:var(--ps-h); z-index:70;
  background: linear-gradient(90deg, rgba(124,58,237,.08), rgba(23,163,74,.08)), var(--ps-bg);
  border-top:1px solid var(--ps-b);
  backdrop-filter: blur(8px);
  box-shadow: 0 -10px 30px rgba(0,0,0,.28);
}
.pantin-sponsors .ps-close{
  position:absolute; right:8px; top:6px; width:28px; height:28px; line-height:26px;
  border-radius:8px; border:1px solid var(--ps-b);
  background:rgba(255,255,255,.08); color:#fff; cursor:pointer; font-weight:800;
}
.pantin-sponsors .ps-viewport{
  height:100%; overflow:hidden;
  /* bords fondus */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
}
.pantin-sponsors .ps-track{
  display:flex; align-items:center; gap:42px; height:100%;
  will-change: transform;
  animation: ps-scroll 40s linear infinite;
  padding: 0 56px;
}
.pantin-sponsors .ps-track:hover{ animation-play-state: paused; }
.pantin-sponsors img{
  height:32px; width:auto; display:block;
  filter: grayscale(100%) opacity(.85);
  transition: filter .2s ease, transform .2s ease;
}
.pantin-sponsors img:hover{ filter: grayscale(0%) opacity(1); transform: translateY(-1px); }

@keyframes ps-scroll { from{ transform: translateX(0) } to{ transform: translateX(-50%) } }
/* Respecte prefers-reduced-motion */
@media (prefers-reduced-motion: reduce){
  .pantin-sponsors .ps-track{ animation: none }
  .pantin-sponsors img{ transform:none !important }
}
