@font-face {
    font-family: 'New Amsterdam';
    src: url('fonts/NewAmsterdam-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

h1 {
  font-size: 3rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: 'Montserrat', 'Arial', sans-serif;
}

header {
    justify-content: space-between;
    background-color: #D03516;
    padding: 2em 3em;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* 🌟 BURGER - visible uniquement en mobile */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 20px;
  cursor: pointer;
  z-index: 1000;
}

.burger span {
  height: 3px;
  background-color: #f5f3e1;
  border-radius: 2px;
  transition: 0.3s;
}

.menu {
    display: flex;
    gap: 1.5em;
}

.menu a {
    color: #f5f3e1;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
}

.menu a:hover{
    color: #211f21;
}

header .logo {
  margin-top : 2em;
  text-align: center;
}

header .logo-img {
  width: 20em;
  height: auto;
}

.contact-button {
    padding: 8px 16px;
    background-color: #f5f3e1;
    color: #211f21;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Montserrat', 'Arial', sans-serif;
    font-weight: bold;
    text-decoration: none;
}

.contact-button:hover {
    background-color: #d6d6d6;
}


.hero-visual {
  background-color: #f5f3e1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-text {
  flex: 1;
  text-align: center;
  z-index: 1;
}

.hero-text h1 {
  font-family: 'New Amsterdam', sans-serif;
  font-size: clamp(32px, 5vw, 64px);
  color: #201e20;
}

.hero-collage {
  gap: 10px;
  max-width: 50%;
}

.hero-collage img {
  width: 90%;
  height: auto;
}

.intro4LTrophy {
  background-color: #e84a2a;
  color: #000000;
  padding: 60px 30px;
}

.content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.image-side img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  width: 500px;
}

.text-side {
  flex: 1;
  min-width: 300px;
}

.text-side h2 {
  font-size: 32px;
  font-family: 'New Amsterdam', sans-serif;
  margin-bottom: 20px;
  width: 100%; /* même largeur que le bloc texte */
}

.text-side p {
  font-size: 18px;
  line-height: 1.6;
  text-align: justify;
  font-family: 'Montserrat', 'Arial', sans-serif;
}

.about-section {
  background-color: #211f21;
  color: #f5f3e1;
  padding: 60px 30px;
}

.about-section .text-side h2 {
  font-size: 32px;
  font-family: 'New Amsterdam', sans-serif;
  margin-bottom: 20px;
  width: 100%;
  color: #e74a29; 
}

.about-section .text-side p {
  font-size: 18px;
  line-height: 1.6;
  text-align: justify;
  font-family: 'Montserrat', 'Arial', sans-serif;
  color: #f5f3e1; 
}

.about-section .image-side img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  width: 500px;
}

.image-side img {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.associations-section {
  padding: 60px 30px;
  background-color: #f5f3e1; 
  text-align: center;
}

.associations-section h2 {
  font-size: 32px;
  font-family: 'New Amsterdam', sans-serif;
  color: #201e20;
  margin-bottom: 40px;
}

.associations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: center;
  justify-items: center; /* ✅ Centre horizontalement les logos */
}

.associations-grid img {
  max-height: 120px;     /* ✅ Fixe une taille cohérente pour tous */
  width: auto;           /* ✅ Garde les proportions */
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.help-section {
  background-color: #e74a29; /* orange-rouge */
  padding: 60px 30px;
}

.help-section a {
  text-decoration: none;
  color: #000000;
}

.help-section a:hover{
  color:#f5f3e1;
}

.help-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.help-section h2 {
  font-size: 32px;
  font-family: 'New Amsterdam', sans-serif;
  color: #f5f3e1; 
  margin-bottom: 30px;
  text-align: left;
}

.help-section p {
  font-size: 18px;
  line-height: 1.6;
  color: #000000; 
  font-family: 'Montserrat', 'Arial', sans-serif;
  text-align: justify;
}

.appli {
  padding-bottom: 3rem;
  background-color: #e84a2a;

}

.appli h2 {
  display: none;
}

.appli iframe {
  display: block;
  margin: 0 auto;
  width: 70%;
  height: calc(70vw * 0.625);
}

.budget-section h2 {
  display: none;
}

.budget-section {
  background-color: #201e20;
  color: #f5f3e1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  gap: 3rem;
  flex-wrap: wrap;
}

.budget-legend {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 3vh;
  color: #f5f3e1;
  max-width: 100%;
  height: 100%;
}

.budget-legend ul {
  list-style: none;
  padding: 0;
}

.budget-legend li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.budget-legend span {
  font-family: 'Montserrat', 'Arial', sans-serif;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border-radius: 4px;
}

.chart-container {
  font-family: 'Montserrat', 'Arial', sans-serif;
  aspect-ratio: 1/1;
  position: relative;
  max-width: 600px;
  max-height: 100%;
  height: auto;       
  width: 100%;        
  margin: 0 2vh; 
}


.chart-container canvas {
  width: 100% !important;
  height: 100% !important;
}

.chart-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'New Amsterdam', sans-serif;
  font-size: 2.5rem;
  color: #f5f3e1;
  pointer-events: none;
}

.don-wrapper {
  width: 100%;          /* prend toute la largeur */
  text-align: center;   /* centre horizontalement le bouton */
  margin-top: 20px;     /* espace au-dessus */
}


.don-button {
  display: inline-block;
  padding: 14px 32px;
  background-color: #e74a29; /* orange-rouge */
  color: #f5f3e1;
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.don-button:hover {
  background-color: #d03516; /* rouge plus foncé */
  transform: scale(1.05);
}

.calendar-section {
  background-color: #e74a29;
  padding: 40px 20px;
  text-align: center;
  color: #fef9e6;
  font-family: 'Montserrat', 'Arial', sans-serif;
}

.calendar-section h2 {
  font-family: 'New Amsterdam', sans-serif;
  font-weight: 900;
  font-size: 32px;
  color: #201e20;
  margin-bottom: 0;
}

.calendar-section h3 {
  font-family: 'New Amsterdam', sans-serif;
  font-size: 5vh;
}

.calendar-section img {
  max-width: 70%;
  height: auto;
  display: block;
  margin: 0 auto; 
  padding: 0 0 5rem 0;
}

.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  max-width: 1100px;
  margin: auto;
}

.day, .day-label {
  background-color: #fef9e6;
  color: #201e20;
  border-radius: 12px;
  padding: 10px;
  min-height: 80px;
  position: relative;
  font-weight: bold;
}

.day-label {
  background: transparent;
  color: #201e20;
  font-weight: bold;
}

.day.event {
  position: relative;
}

.event-bar {
  background-color: #201e20;
  color: #fef9e6;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 12px;
  margin-top: 5px;
  font-weight: normal;
}

.city {
  color: #e74a29;
  font-size: 14px;
  font-weight: 600;
  margin-top: 4px;
}

.event.multi {
  background: none;
  padding: 0;
}

.event-bar.full {
  width: 100%;
  background-color: #201e20;
  padding: 8px 10px;
  border-radius: 12px;
}

.empty {
  background: none;
  border: none;
}


.custom-footer {
  background-color: #e74a29;
  position: relative;
  color: #f5f3e1;
  font-family: 'Montserrat', 'Arial', sans-serif;
  overflow: hidden;
}

.footer-shape {
  width: 100%;      /* largeur = viewport */
}


.footer-shape img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-bottom: -4px; /*Supprime la ligne entre l'image et le footer */
}

.footer-content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  padding: 40px 60px;
  flex-wrap: wrap;
  position: relative;
  background-color: #211f21; 
  border-top: none;
  border-bottom: none;
}

.footer-content::before,
.footer-content::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: #f5f3e1;
}

.footer-content::before {
  left: 33.33%;
}

.footer-content::after {
  left: 66.66%;
}

.footer-col {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  padding: 0 20px;
  width: auto;
}

.footer-col.logo {
  align-items: flex-start;  
  justify-content: flex-start;
  display: flex;
  align-items: center;
}

.footer-col.logo img {
  height: 15rem;
  width: auto;
  margin: 0;
  padding: 0;
  align-content: flex-start;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/*.contact-form label {
  display: none;
  color: #211f21;
}*/

.contact-form input {
  padding: 10px;
  border-radius: 8px;
  border: none;
  resize: vertical;
  font-family: 'Montserrat', 'Arial', sans-serif;
}

.contact-form textarea {
  padding: 10px;
  border-radius: 8px;
  border: none;
  resize: vertical;
  font-family: 'Montserrat', 'Arial', sans-serif;
  height: 10rem;
}

.contact-form button {
  background-color: #e84a2a;
  color: #201e20;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
  font-family: 'New Amsterdam', sans-serif;
  font-size: 3vh;
  margin-top: 10px;
}


.contact-form button:hover {
  background-color: #f07f1a;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap; /* empêche le retour à la ligne */
  border: 0;
}


.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}

.contact-info img {
  width: 20px;
  height: 20px;
}

/* ✅ Bas de page foncé */
.custom-footer .copyright {
  background-color: #211f21;
  text-align: center;
  padding: 15px;
  font-size: 14px;
}

.copyright a{
  text-decoration: none;
  color: #f5f3e1;
}

.copyright a:hover {
  color: #f07f1a;
}

.icon {
  width: 20px;
  height: 20px;
  fill: #f5f3e1;
  margin-right: 10px;
}

.footer-col a {
  color: #f5f3e1;
  text-decoration: none;
}

.footer-col a:hover {
  color: #f07f1a;
}

.politique {
  padding: 20px 400px 0 400px;
  height: 100%;
  background-color: #f5f3e1;
  color: #211f21;
  font-family: 'Montserrat', 'Arial', sans-serif;
}

.politique h1{
  font-family: 'New Amsterdam', sans-serif;
  text-align: center;
}

.politique a{
  text-decoration: none;
  color: #211f21;
  font-weight: bold;
}

.politique a:hover {
  color: #f07f1a;
}

.politique ul {
  list-style-type: disc;
  padding-left: 1.5em;
}

.confident .custom-footer {
  background-color: #f5f3e1;
}

.cookie .custom-footer {
  background-color: #f5f3e1;
}

.tab {
  display: inline-block;
  width: 8vh; 
}


#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: #211f21;
  color: #f5f3e1;
  font-family: 'Montserrat', 'Arial', sans-serif;
  padding: 18px 20px;
  box-shadow: 0 -8px 24px rgba(0,0,0,.25);
  display: none; 
}

#cookie-banner .wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

#cookie-banner p {
  line-height: 1.45;
  font-size: .95rem;
}

#cookie-banner .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#cookie-banner button {
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-family: 'Montserrat', 'Arial', sans-serif;
  cursor: pointer;
}

#cookie-accept { 
  background: #f07f1a; 
  color: #211f21; 
}

#cookie-accept:hover { 
  background:#e84a2a; 
  color: #f5f3e1; 
}

#cookie-refuse { 
  background: #f5f3e1; 
  color: #211f21; 
}

#cookie-refuse:hover { 
  background:#e84a2a; 
  color: #f5f3e1;  
}

#cookie-banner a {
  color:#f07f1a;
}

#cookie-banner a:hover {
  color:#e84a2a;
}


#compteur {
  padding: 3rem;
  display: flex;
  justify-content: center;
  gap: 2.5rem; 
  text-align: center;
}

#compteur .bloc {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#compteur .number {
  font-family: "New Amsterdam", serif; 
  font-size: 5rem;
  font-weight: bold;
  line-height: 1;
}


#compteur .label {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem; 
  margin-top: 0.3rem;
}



@media (max-width: 1300px) {
  
  .nav {
    position: relative;
  }

  .burger {
    display: flex;
    z-index: 1001;
  }

  .menu {
    display: none;
    flex-direction: column;
    background-color: #D03516;
    width: 100%;
    position: static;
    padding: 1rem 0;
  }

  .menu.active {
    display: flex;
  }

  .menu a {
    padding: 1em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
  }

  .contact-button {
    margin-left: auto;
  }

  header .logo-img {
    width: 10em;
    height: auto;
  }

  .hero-visual {
    flex-direction: column;
    padding: 2rem 1rem;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-collage {
    width: 100%;
    max-width: none;
  }

  .hero-collage img{
    gap: 8px;
    width: 80%;
    height: auto;
  }

  .intro4LTrophy .image-side img, .about-section .image-side img {
    width: 100vw;
  height: 45vh;
  object-fit: cover;
  object-position: center center;
  display: block;
  margin: 0 auto;
  }

  .associations-grid {
    gap: 10px;
  }

  .associations-grid img {
    max-height: 2rem;
  }

  h2, .help-section h2 {
    text-align: center;
  }

  .appli {
    display: flex;
    justify-content: center;
    padding: 0;
    width: 100%;
  }

  .appli iframe {
    width: 100%;
    height: calc(100vw * 0.625);
    border: none;
  }

  .calendar-section h2 {
    margin-top: 1rem;
  }

  .calendar-section h3 {
    font-size: 3vh;
  }

  .calendar-section {
    padding: 1rem;
    justify-content: center;
  }

  .calendar-section img {
    max-width: 90%;
    height: auto;
    padding : 0;
  }

  .footer-content::before,
  .footer-content::after {
    display: none;
  }

  .footer-col.logo img {
    height: 7rem;
  }

  .contact-info p {
    align-self: center;
  }

  .budget-section {
    width: 100%;
  }

  .chart-center {
    font-size: 32px;
  }

  .budget-legend {
    font-size: 16px;
  }

  .budget-legend ul {
    width: 200%;
  }

  .budget-legend span {
    display: inline-block;
  }

  .chart-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
  }

  .contact-form form {
    margin: 0;
  }

  .footer-content {
    padding: 40px 0;
  }

  .politique{
    padding: 30px 20px 0 20px;
  }

  .politique h1{
    font-size: 32px;
  }

  .politique h2{
    text-align: left;
  }

  .tab {
    display: flex;
  }

  #cookie-banner{
    padding: 14px;
  }
  #cookie-banner .wrap{
    grid-template-columns: 1fr;
    gap: 10px;
  }
  #cookie-banner p{ 
    font-size: 0.9rem; 
  }
  #cookie-banner .actions{ 
    justify-content: flex-start; 
  }

  #cookie-banner button{ 
    padding: 8px 12px; 
  }

  #compteur {
    width: 90%;     
    margin: 0 auto;  
    gap: 1.5rem;     
    flex-wrap: wrap;
  }

}
