
/* ----------------------------------------------------------------
	Hero Double
-----------------------------------------------------------------*/



html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #002b5c; /* ton bleu marine */
}

.section-univers {
  min-height: 100vh; /* occupe toute la hauteur visible */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


.hero-double {
  padding: 80px 20px;
  background-color: #002b5c; /* bleu marine */
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  transition: background 0.6s ease;
  }

.hero-title {
  color: #ffffff; /* texte blanc pour contraste */
}

.hero-subtitle {
  font-family: "Poppins", "Montserrat", sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: #ffffff;  /* texte blanc pour contraste */
  text-align: center;
  letter-spacing: 0.4px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* léger relief */
  margin-bottom: 40px;
}

.cards-wrapper {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-card {
  position: relative;
  border-radius: 20px;
  width: 340px;
  height: 420px;
  text-decoration: none;
  color: white;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

/* Glassmorphism layer */
.glass-layer {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.05); /* plus opaque */
  backdrop-filter: blur(2px); /* réduit le flou */
  color: #002b5c; /* texte bleu foncé pour contraste */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255,255,255,0.3);
  transition: backdrop-filter 0.3s ease, background 0.3s ease;
}

.hero-card:hover .glass-layer {
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,0.25);
}

.card-content {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  text-align: left;
  z-index: 2;
}
/* Carte fond clair (Espace Saison Été) */
.card-blanche {
  color: #333333; /* texte principal */
}

.card-blanche h2 {
  color: #333333; /* titre */
  font-weight: 700;
}

.card-blanche p {
  color: #002b5c; /* texte descriptif bleu doux */
}

.card-blanche a {
  color: #002b5c; /* lien bleu foncé */
  font-weight: 600;
  text-decoration: none;
}

.card-blanche a:hover {
  color: #004080; /* bleu plus intense au survol */
  text-decoration: underline;
}

/* Carte fond bleu (Espace Pro) */
.card-bleue {
  color: #ffffff; /* texte principal */
}

.card-bleue h2 {
  color: #ffffff; /* titre */
  font-weight: 700;
}

.card-bleue p {
  color: #e8e8e8; /* texte descriptif légèrement grisé */
}

.card-bleue a {
  color: #ffffff; /* lien blanc */
  font-weight: 600;
  text-decoration: none;
}

.card-bleue a:hover {
  color: #f0f0f0; /* blanc doux au survol */
  text-decoration: underline;
}

/* Option lisibilité */
.card-blanche h2, .card-bleue h2 {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.card-content h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.card-content p {
  font-size: 1rem;
  margin-bottom: 20px;
}

/* Style général pour les CTA */
.cta {
  font-weight: 600;
  text-decoration: none;
}

/* Carte blanche : texte bleu foncé */
.card-blanche .cta {
  color: #002b5c; /* ton bleu foncé */
}

.card-blanche .cta:hover {
  color: #004080; /* bleu plus intense au survol */
  text-decoration: underline;
}

/* Carte bleue : texte blanc */
.card-bleue .cta {
  color: #ffffff;
}

.card-bleue .cta:hover {
  color: #f0f0f0;
  text-decoration: underline;
}

/* Images de fond */
.particuliers {
  background-image: url('images/miniature-particuliers.jpg'); /* image bois clair */
}

.professionnels {
  background-image: url('images/miniature-pro.jpg'); /* image voilier bleu */
}
 


/* Mobile */
@media (max-width: 700px) {
  .hero-card {
    width: 100%;
    max-width: 380px;
    height: 360px;
  }
}
/* Animation d’apparition */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
  }
  60% {
    opacity: 1;
    transform: translateY(0px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0px) scale(1);
  }
}

/* Application aux cartes */
.hero-card {
  opacity: 0;
  animation: fadeSlideUp 1s ease forwards;
}

/* Décalage subtil entre les deux cartes */
.hero-card:nth-child(1) {
  animation-delay: 0.15s;
}

.hero-card:nth-child(2) {
  animation-delay: 0.35s;
}
#wrapper {
    background-color: #002b5c !important;
}
