/* =========================================================
   HOME.CSS — PAGE ACCUEIL
   ========================================================= */

/* -------------------------
   HERO / BANNIÈRE
   ------------------------- */
/* =========================================================
   HERO ACCUEIL — IMAGE RÉELLE + CONTENU
   ========================================================= */

.hero-accueil {
  position: relative;
  overflow: hidden;
}

/* Image de fond réelle */
.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Overlay gradient */
.hero-overlay-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  /*background: linear-gradient(
    to left,
    rgba(40, 53, 135, 0.75) 0%,
    rgba(40, 53, 135, 0.55) 65%,
    rgba(40, 53, 135, 0.25) 85%,
    rgba(40, 53, 135, 0.00) 100%
  );*/
  background: linear-gradient(
    to left,
    rgba(40, 53, 135, 0.20) 0%,
    rgba(40, 53, 135, 0.20) 100%
  );
}

/* Zone superposée */
.hero-layer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 25% 10% 30% 10% 25%;
}

/* Colonnes */
.hero-col {
  display: flex;
}

/* IMAGE — bas gauche */
.hero-col-em {
  align-items: flex-end;
  justify-content: flex-start;
}

.hero-col-em img {
  max-width: 100%;
  height: auto;
}

/* IMAGE — bas droite */
.hero-col-rp {
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-col-rp img {
  max-width: 100%;
  height: auto;
}

/* TEXTE DESKTOP */
.hero-col-text {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
}

.hero-col-text .hero-intent {
  color: #ffffff;
}

/* TEXTE MOBILE */
.hero-text-mobile {
  display: none;
  background: var(--color-blue);
  color: #ffffff;
  padding: 3rem 1.5rem;
  text-align: center;
}

/* =========================================================
   RESPONSIVE MOBILE
   ========================================================= */

@media (max-width: 768px) {
  .hero-layer {
    grid-template-columns: 50% 50%;
  }

  .hero-col-text,
  .hero-col-empty {
    display: none;
  }

  .hero-text-mobile {
    display: block;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-layer {
    grid-template-columns: 30% 5% 30% 5% 30%;
  }

}

/* -------------------------
   LETTRE – IMAGES ASSOCIÉES
   ------------------------- */

.letter-images {
  display: grid;
  gap: 2rem;
  margin: 3rem 0;
}

/* Conteneur = maître de la hauteur */
.letter-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3; /* ajuste si besoin */
}

/* Image = remplit le conteneur */
.letter-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Desktop */
@media (min-width: 900px) {
  .letter-images {
    grid-template-columns: 1fr 1fr;
  }
}

/* -------------------------
   CITATION / MESSAGE CENTRAL
   ------------------------- */
.political-quote {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem 2.5rem;

  background: #f4f6fb;
  border-left: 5px solid var(--color-blue);

  font-family: var(--font-quote);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-main);
}

.political-quote p {
  margin: 0 0 1rem;
}

.political-quote p:last-child {
  margin-bottom: 0;
}
.political-quote {
  background: transparent;
  border-left: 3px solid var(--color-blue);
  padding-left: 1.8rem;
  font-size: 1rem;
}
/* CITATION AVEC IMAGE */

.quote-with-image {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  margin: 4rem 0;
}

/* Image */
.quote-image img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
}

/* Desktop : image à gauche */
@media (min-width: 900px) {
  .quote-with-image {
    grid-template-columns: 1fr 1.5fr;
  }
}
@media (min-width: 900px) {
  .political-quote {
    margin: 0;
  }
}

/* -------------------------
  SIGNATURE TEXTE – LETTRE
   ------------------------- */

.letter-signature {
  margin-top: 3rem;
  display: flex;
  justify-content: flex-end; /* aligné à droite */
}

.signature-text {
  font-family: "Kalam", cursive;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--color-blue);
  line-height: 1;
  white-space: nowrap;
}


/* =========================
   SECTION PROCURATION
========================= */

.procuration-section {
  background: #f9fafc;
  padding: 4rem 0;
  border-top: 1px solid rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

.procuration-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* Badge */
.procuration-badge {
  display: inline-block;
  background: #f1dd00;
  color: #283587;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  animation: badgePulse 3s ease-in-out infinite;
}

/* Animation légère */
@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

/* Contenu */
.procuration-content p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.procuration-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* Bouton */
.cta-button.secondary {
  background: #283587;
  color: white;
  transition: all 0.25s ease;
}

.cta-button.secondary:hover {
  background: #1e2a6d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Lien secondaire */
.cta-link {
  font-weight: 600;
  color: #283587;
  text-decoration: underline;
}

.cta-link:hover {
  color: #f1dd00;
}

/* Responsive */
@media (min-width: 768px) {
  .procuration-actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* ================================
   IMAGE MISE EN AVANT
================================ */

.home-image-highlight {
  padding: 5rem 0;
}

.highlight-image-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.highlight-image-wrapper img {
  max-width: 400px;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.highlight-image-wrapper img:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}