/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

main {
  position: relative;
  z-index: 0;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: background-color, transform;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

/* Styles des logos */
.logo {
  position: relative;
  display: inline-block;
}

.logo img {
  height: 50px; /* Ajustez selon votre logo */
  width: auto;
  transition: opacity 0.3s ease;
}

.logo-scrolled {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.header.scrolled .logo-default {
  opacity: 0;
}

.header.scrolled .logo-scrolled {
  opacity: 1;
}

/* Pour le burger menu en mobile */
@media (max-width: 768px) {
  .header.scrolled .burger-line {
    background-color: white; /* Ou la couleur qui contraste avec votre logo foncé */
  }

  /* Si besoin d'adapter la couleur du burger quand le menu est ouvert */
  .nav.active .burger-line {
    background-color: white !important;
  }
}

.nav ul {
  display: flex;
  list-style: none;
}

.nav ul li {
  margin-left: 30px;
}

.nav ul li a {
  text-decoration: none;
  color: #003366;
  font-weight: 600;
  transition: color 0.3s;
  position: relative;
  font-size: 1.2rem;
}

.nav ul li a:hover {
  color: #d72b3f;
}

.nav ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #d72b3f;
  transition: width 0.3s;
}

.nav ul li a:hover::after {
  width: 100%;
}

.header.scrolled {
  background-color: #225b9e;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.header.scrolled .nav ul li a {
  color: white;
}

.header.scrolled .nav ul li a:hover {
  color: #d72b3f;
}

.header.scrolled .nav ul li a::after {
  background-color: #d72b3f;
}

/* Styles du burger menu */
.burger-menu {
  display: none; /* Caché par défaut sur desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.burger-line {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #003366;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.header.scrolled .burger-line {
  background-color: white;
}

/* État ouvert du burger */
.burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: white;
}

.burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: white;
}

/* Styles responsives */
@media (max-width: 768px) {
  .burger-menu {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #003366;
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .nav.active {
    right: 0;
  }

  .nav ul {
    flex-direction: column;
  }

  .nav ul li {
    margin: 15px 0;
  }

  .nav ul li a {
    color: white;
    font-size: 1.2rem;
  }

  .header.scrolled .nav ul li a {
    color: white;
  }
}

/* Bouton Voter dans le header */
.header-voter-btn {
  background-color: #225b9e;
  color: white;
  padding: 10px 25px;
  border-radius: 30px; /* Bords plus arrondis */
  text-decoration: none;
  font-weight: bold;
  margin-left: 20px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header.scrolled .header-voter-btn {
  background-color: white;
  color: #225b9e;
}

/* Effet hover - version normale */
.header-voter-btn:hover {
  background-color: #154071;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Effet hover - version scrolled */
.header.scrolled .header-voter-btn:hover {
  background-color: white;
  color: #154071;
}

/* Effet "pulse" subtil au survol */
.header-voter-btn:hover::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: inherit;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Version mobile */
@media (max-width: 768px) {
  .header-voter-btn {
    padding: 8px 15px;
    font-size: 14px;
    margin-left: 10px;
  }

  .header-voter-btn:hover {
    transform: none; /* Désactive l'effet de levée sur mobile */
  }
}

/* Bouton WhatsApp flottant */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366; /* Vert WhatsApp */
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-btn:hover {
  background-color: #128c7e; /* Vert WhatsApp foncé */
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .header-voter-btn {
    margin-left: 10px;
    padding: 8px 15px;
    font-size: 14px;
  }

  .whatsapp-btn {
    width: 50px;
    height: 50px;
    font-size: 25px;
  }
}

/* Sections full page */
.full-page {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

/* Hero section */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/src/netanyahou_uniforme.png") no-repeat center center/cover;
  color: white;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 40px;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* Profession de foi section */
.profession-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.profession-text {
  flex: 1;
}

.profession-text h2 {
  font-size: 2.5rem;
  color: #003366;
  margin-bottom: 30px;
  position: relative;
}

.profession-text h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: #d72b3f;
}

.profession-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.profession-image {
  flex: 1;
}

.profession-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.share-buttons {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.share-buttons p {
  margin-bottom: 0;
  font-weight: 600;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: transform 0.3s;
}

.share-btn:hover {
  transform: translateY(-3px);
}

.facebook {
  background-color: #3b5998;
}

.twitter {
  background-color: #1da1f2;
}

.whatsapp {
  background-color: #25d366;
}

/* Qui sommes-nous section */
#qui-sommes-nous {
  background-color: #225c9e17;
  text-align: center;
}

#qui-sommes-nous h2 {
  font-size: 2.5rem;
  color: #003366;
  margin-bottom: 15px;
}

#qui-sommes-nous .subtitle {
  font-size: 1.2rem;
  margin-bottom: 50px;
  color: #666;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.team-member {
  background-color: white;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 5px solid #f0f0f0;
}

.team-member h3 {
  color: #003366;
  margin-bottom: 5px;
}

.team-member p {
  color: #666;
  font-size: 0.9rem;
}
/* Processus en 3 étapes */
/* Processus en 3 étapes - Version responsive */
.adhesion-process {
  text-align: center;
  padding: 0 15px; /* Ajout de padding pour mobile */
}

.steps {
  display: flex;
  flex-direction: row; /* Disposition horizontale par défaut */
  justify-content: center;
  gap: 15px; /* Espacement réduit */
  margin-top: 30px;
}

/* Style pour les navigateurs WebKit (scroll discret) */
.steps::-webkit-scrollbar {
  height: 5px;
}

.steps::-webkit-scrollbar-thumb {
  background: #225b9e;
  border-radius: 10px;
}

.step {
  width: 30vw; /* Largeur minimale pour chaque étape */
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  flex-shrink: 0; /* Empêche le rétrécissement */
}

.step-number {
  width: 40px;
  height: 40px;
  background: #003366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto 15px;
}

@media (max-width: 900px) {
  .adhesion-process {
    padding: 0 10px;
  }

  .steps {
    flex-direction: column; /* Passage en colonne sur mobile */
    gap: 20px;
    overflow-x: visible; /* Désactive le scroll horizontal */
  }

  .step {
    min-width: 100%; /* Pleine largeur */
    padding: 25px;
  }
}

/* Correction spécifique pour les très petits écrans */
@media (max-width: 480px) {
  .step {
    padding: 20px 10px;
  }
}

.step-button {
  display: inline-block;
  background: #003366; /* Bleu Likoud */
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  margin-top: 20px;
  font-weight: bold;
  position: relative;
  overflow: hidden;
  border: 2px solid #003366;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 4px 6px rgba(0, 51, 102, 0.1);
}

/* Animation au survol */
.step-button:hover {
  background: transparent;
  color: #003366;
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(0, 51, 102, 0.2);

  /* Effet de vague bleue */
  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(0, 51, 102, 0.2),
      transparent
    );
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
  }
}

/* Animation active au clic */
.step-button:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(0, 51, 102, 0.2);
}

/* Déclenche l'animation de vague */
.step-button:hover::before {
  left: 100%;
}

/* Version pour écrans tactiles */
@media (hover: none) {
  .step-button:hover {
    background: #003366;
    color: white;
    transform: none;
  }
}

/* Page d'adhésion */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

.form-sidebar {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
  align-self: start;
}
/* Footer */
.footer {
  background-color: #003366;
  color: white;
  padding: 30px 0;
  text-align: center; 
}

.footer p {
  margin-bottom: 15px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #d72b3f;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 992px) {
  .profession-content,
  .adhesion-content {
    flex-direction: column;
  }

  .profession-image,
  .profession-text,
  .adhesion-form,
  .voting-info {
    width: 100%;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav ul {
    margin-top: 20px;
  }

  .nav ul li {
    margin-left: 15px;
    margin-right: 15px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}
