/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: white;
  color: #222;
  line-height: 1.6;
}

/* LINKS */
a {
  text-decoration: none;
  color: inherit;
}

/* IMAGES */
img {
  max-width: 100%;
  display: block;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* NAVBAR */
.nav-header {
  background-color: #0C5B94;
  padding: 0.5rem 0;
  color: black;
  font-family: Arial, sans-serif;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {

  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 52px;
  width: 92px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-item>a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 10px;
  display: inline-block;
  transition: color 0.3s;
}

.nav-item>a:hover {
  color: #FFCC00;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  color: #0C5B94;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  display: none;
  min-width: 180px;
  z-index: 10;
}

.dropdown a {
  display: block;
  padding: 10px 16px;
  color: #0C5B94;
  text-decoration: none;
  font-weight: normal;
}

.dropdown a:hover {
  background-color: #f2f2f2;
}

.nav-item:hover .dropdown {
  display: block;
}

/* LOGO */
.logo {
  width: 90px;
  height: auto;
}

/* NAVBAR */
.navbar {
  display: flex;
  gap: 25px;
}

.navbar a {
  font-weight: bold;
  color: #222;
  transition: 0.3s;
}

.navbar a:hover {
  color: #FFCC00;
}
.bloc.blocParrainage {
    width: 70%;
    margin-left: 15%;
    margin-right: 15%;
}
.email-highlight {
  
    color: #0C5B94;
    font-weight: bold;
    text-decoration: underline;
}
/* SECTION */
.section {
  padding: 55px 20px;
  text-align: center;
}
p.reponse {
 font-style: italic;
  text-align: center;
}
/* TITLES */
.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color:#0C5B94;
}

/* PARAGRAPHS */
.section p {
  max-width: 800px;
  margin: auto;
  font-size: 1.1rem;
}

/* BUTTONS */
.btn-yellow {
  display: inline-block;
  background-color: #FFCC00;
  color:black;
  padding: 14px 28px;
  border-radius: 5px;
  font-weight: bold;
  transition: 0.3s;
}

.btn-yellow:hover {
  background-color: #e6b800;
}

.btn-dark {
  display: inline-block;
  margin-top: 15px;
  background-color: white;
  color: black;
  border: 1px solid black;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  transition: 0.3s;
}

.btn-dark:hover {
  background-color: black;
  color: white;
}

/* FOOTER */
.footer {
  background-color: #0C5B94 !important;
  color: white !important;
  text-align: center;
  padding: 30px 20px;

}

.burger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 34px;
  cursor: pointer;
}

.actu-title {
  animation: fadeDown 0.8s ease;
}

.animated-card {
  animation: fadeUp 0.9s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.animated-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.actus-title {
  animation: fadeDown 0.8s ease;
}

.animated-actu {
  animation: fadeUp 0.9s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.animated-actu:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.fireworks {
  position: relative;
  height: 50px;
  margin-top: 5px;
}

.fireworks span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  animation: explode 1.8s infinite ease-out;
}

.fireworks span:nth-child(1) {
  left: 35%;
  background: #ffd43b;
  color: #ffd43b;
  animation-delay: 0s;
}

.fireworks span:nth-child(2) {
  left: 50%;
  background: #ff6b6b;
  color: #ff6b6b;
  animation-delay: 0.6s;
}

.fireworks span:nth-child(3) {
  left: 65%;
  background: #4dabf7;
  color: #4dabf7;
  animation-delay: 1.2s;
}

.actu-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.actus-blocs {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.bloc-actu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 320px;
  background: white;
  border-radius: 14px;
  padding: 16px;
  box-sizing: border-box;
}

.download-btn {
  margin-top: auto;
  display: inline-block;
  padding: 12px 18px;
  background: #1268a3;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

p.gazette {
    color: #0C5B94;
    font-weight: bold;
}


/* Animation */
@keyframes slide {

  0%,
  45% {
    transform: translateX(0);
  }

  50%,
  95% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 768px) {

  .presentation {
    flex-direction: column;
  }

  .slider {
    width: 100%;
    height: 350px;
  }
}

@keyframes explode {
  0% {
    transform: scale(0);
    opacity: 1;
  }

  70% {
    opacity: 1;
    box-shadow:
      0 -18px 0 2px currentColor,
      18px 0 0 2px currentColor,
      -18px 0 0 2px currentColor,
      0 18px 0 2px currentColor,
      14px -14px 0 2px currentColor,
      -14px 14px 0 2px currentColor,
      -14px -14px 0 2px currentColor,
      14px 14px 0 2px currentColor;
  }

  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {

  .nav-header {
    position: relative;
  }

  .nav-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
  }

  .nav-logo img {
    width: 70px;
    height: auto;
    margin-bottom: 0;
  }

  .burger {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: #0C5B94;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }

  .nav-item>a {
    width: 100%;
    display: block;
    text-align: center;
    padding: 14px;
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .dropdown {
    position: static;
    display: block;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    background: #0a4d7c;
  }

  .dropdown a {
    color: white;
    text-align: center;
    padding: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .section {
    padding: 40px 15px;
  }

  .section h2 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .section p {
    font-size: 1rem;
    line-height: 1.8;
  }

  .btn-yellow,
  .btn-dark {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

}