/* ===== VARIABLES CSS ===== */
:root {
  --primary-color: #DAA520; /* doré */
  --bg-dark: #0d0d0d;
  --text-light: #0e0101;
  --text-dark: #0a0a0a;
  --section-bg: #1b1b1b;
}



/* HEADER GLOBAL */
/* ===== HEADER 3D ULTRA PREMIUM ===== */
header {
  width: 100%;
  height: 64px;
  position: fixed;
  top: 0;
  z-index: 1000;
  background: linear-gradient(145deg, #AAEDFE, #88D4F5); /* dégradé premium */
  border-bottom: 1px solid #DAA520; /* doré */
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  box-shadow:
    0 8px 20px rgba(0,0,0,0.2),
    0 2px 4px rgba(255,255,255,0.3) inset;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  perspective: 1000px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 30px;
  height: 100%;
}

/* Logo & liens en relief */
header a,
header .nav-links a,
header .hamburger span {
  transform: translateZ(15px);
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover effect */
header a:hover,
header .nav-links a:hover {
  transform: translateZ(20px) scale(1.05);
  color: #DAA520; /* doré premium */
}

/* Hamburger micro-animé */
header .hamburger:hover span {
  background-color: #DAA520;
  transform: translateZ(10px) rotate(5deg);
}

/* Effet scroll */
header.scrolled {
  transform: translateZ(0) scale(1.02);
  box-shadow:
    0 15px 35px rgba(0,0,0,0.25),
    0 4px 6px rgba(255,255,255,0.2) inset;
}

/* ===== FOOTER 3D PREMIUM ===== */
footer {
  width: 100%;
  background: linear-gradient(135deg, #AAEDFE, #88D4F5);
  border-top: 2px solid #DAA520;
  transform-style: preserve-3d;
  box-shadow:
    0 -8px 20px rgba(0,0,0,0.2),
    0 -2px 4px rgba(255,255,255,0.3) inset;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

/* Footer links hover doré */
footer a:hover {
  color: #DAA520;
  transform: translateZ(5px) scale(1.05);
}


/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 1.5px;
  line-height: 1;
  flex-shrink: 0;
  text-decoration: none;          /* 🔥 PAS DE SOULIGNEMENT */
}

/* Sécurité totale (hover / focus / click) */
.logo:hover,
.logo:focus,
.logo:active {
  text-decoration: none;
  color: var(--primary-color);
}

.logo img {
  height: 36px;
  width: auto;
  display: block;
}


/* MENU */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;                  /* espace entre les liens */
  margin-left: auto;           /* pousse à droite */
}

.nav-links a {
  font-size: 1.5rem;
  font-weight: 500;
  text-decoration: none;
  color: #080808;
  padding: 6px 0;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger visible sur mobile */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* SIDE MENU (mobile) */
#sideMenu {
  position: fixed;
  top: 64px;              /* sous le header */
  right: -250px;           /* caché hors écran */
  width: 250px;
  height: calc(100vh - 64px);
  background: #0d0d0d;
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 20px;
  transition: right 0.3s ease;
  z-index: 1000;
}

#sideMenu.active {
  right: 0;               /* menu visible */
}

#sideMenu a {
  color: #fff;
  font-size: 1.3rem;
  text-decoration: none;
  transition: color 0.3s;
}

#sideMenu a:hover {
  color: #DAA520;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 60vh; /* hauteur réduite */
  max-height: 600px;
  overflow: hidden;

  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-slide {
  position: absolute;
  inset: 0;
   background-size: contain;    /* image entière visible */
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0; /* caché par défaut */
  transform: scale(1.05);
  transition: opacity 0.8s ease, transform 1.2s ease;
  will-change: opacity, transform;
  backface-visibility: hidden;

  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1; /* visible */
  transform: scale(1);
  z-index: 1;
}


.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
  
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  color: #DAA520;
  margin-bottom: 20px;
}

.hero-content p {
  max-width: 700px;
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.hero-content button {
  padding: 15px 35px;
  border: none;
  background: #DAA520;
  color: #000;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s;
}

.hero-content button:hover {
  transform: scale(1.05);
}



/* ===== ICONES HUMAINES PREMIUM ===== */
.icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}


.icon-student-real {
  width: 78px;
  height: 78px;
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* Effet premium au survol */
.service-card:hover .icon-student-real {
  transform: translateY(-6px) scale(1.06);
  filter: drop-shadow(0 12px 22px rgba(0,0,0,0.25));
}

.icon-family-real {
  width: 88px;
  height: 88px;
  transition: transform 0.45s ease, filter 0.45s ease;
}

/* Effet premium */
.service-card:hover .icon-family-real {
  transform: translateY(-6px) scale(1.05);
  filter: drop-shadow(0 14px 26px rgba(0,0,0,0.3));
}

.icon-visitor-real {
  width: 84px;
  height: 84px;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.service-card:hover .icon-visitor-real {
  transform: translateY(-6px) scale(1.06);
  filter: drop-shadow(0 14px 28px rgba(0,0,0,0.35));
}


.flag-ca {
  display: inline-block;
  width: 36px;
  height: 24px;
  margin-left: 8px;
  background: linear-gradient(
    to right,
    #d52b1e 0%,
    #d52b1e 25%,
    #ffffff 25%,
    #ffffff 75%,
    #d52b1e 75%,
    #d52b1e 100%
  );
  position: relative;
  border-radius: 3px;
  vertical-align: middle;
}

/* Feuille d'érable */
.flag-ca::after {
  content: "🍁";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-size: 16px;
}

/* RESPONSIVE */
/* ===== MENU MOBILE FULL SCREEN ===== */
@media (max-width: 768px) {
  .hero-slide {
    transform: scale(1.02);
  }

  .hero-content h1 {
    font-size: 1.9rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
  .icon-visitor-real {
    width: 64px;
    height: 64px;
  }
  
   .icon-family-real {
    width: 68px;
    height: 68px;
  }

   .icon-student-real {
    width: 60px;
    height: 60px;
  }

  .hamburger {
    display: flex;
    background: none;
    border: none;
    z-index: 1100;
  }

  .nav-links {
    position: fixed;
    inset: 0;                     /* plein �cran */
    background: #0d0d0d;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: transform 0.4s ease;
    z-index: 1000;
  }

  .nav-links a {
    font-size: 2rem;
    color: white;
  }
}

#situation {
  padding: 10px;
  margin: 10px 0;
  width: calc(100% - 20px); /* même largeur que les autres champs */
  max-width: 400px; /* facultatif */
  display: block; /* ou inline-block si tu veux côte à côte avec un autre champ */
}



.cta-section {
  text-align: center;
  margin: 60px 0; 
  position: relative;
  padding: 60px 20px;

}

.cta-button {
  display: inline-flex;           /* permet de centrer le texte facilement */
  justify-content: center;        /* centre horizontalement */
  align-items: center;            /* centre verticalement */
  gap: 10px;
  padding: 18px 36px;             /* bouton plus grand */
  font-size: 28px;                /* agrandit le texte */
  font-weight: 700;               /* texte plus visible */
  text-decoration: none;
  color: #DAA520;
  background: #000;
  color: #fff;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
  background: #DAA520;
  color: #000;
  transform: translateY(-4px);
}


/* ===== SECTIONS ===== */
section {
  padding: 60px 30px;
  text-align: center;
  opacity: 1;
  transform: translateY(0);
  transition: transform 1s ease-out, opacity 1s ease-out;
  will-change: transform, opacity;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

section h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 40px;
}

section p {
  font-size: 1rem;
  color: var(--text-dark);
  max-width: 800px;
  margin: 0 auto 30px;
}

/* ===== SERVICES ===== */
.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px 0;
  max-width: 1000px;   /* limite largeur globale */
  margin: 0 auto;      /* centre la section */
}

.service-card {
  background: linear-gradient(145deg, #AAEDFE, #88D4F5); /* dégradé premium */
  border-radius: 100px;  /* arrondi des coins */
  overflow: hidden;      /* pour que l'image à l'intérieur suive l'arrondi */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1); /* optionnel : ombre douce pour un effet "premium" */
  padding: 10px;
  font-size: 14px;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(255,215,0,0.3);
}

.service-card img {
  width: 100%;
  height: 180px;
  min-height: 180px;
  object-fit: cover;
  background: #333;
  transition: transform 0.5s;
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card .content {
  padding: 20px;
}

.service-card .content h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.service-card .content p {
  color: #0a0a0a;
  font-size: 0.95rem;
}

/* ===== FORMULAIRE CONTACT ===== */

.btn-submit {
  width: 100%;
  padding: 14px 20px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #DAA520, #b8962e);
  color: #111;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(218,165,32,0.35);
}

/* Hover pro */
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(218,165,32,0.45);
}

/* Clic */
.btn-submit:active {
  transform: translateY(0);
  box-shadow: 0 6px 15px rgba(218,165,32,0.3);
}

/* Accessibilité */
.btn-submit:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(218,165,32,0.4);
}

.form-message {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  display: none;
  text-align: center;
}

/* Succès */
.form-message.success {
  display: block;
  background: rgba(218, 165, 32, 0.15);
  color: #8a6d1d;
  border: 1px solid #DAA520;
}

/* Erreur */
.form-message.error {
  display: block;
  background: rgba(220, 53, 69, 0.12);
  color: #842029;
  border: 1px solid #dc3545;
}

.contact-form select {
  padding: 14px;
  margin: 12px 0;
  border: 1.6px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  background: #fff;
  cursor: pointer;
}

.contact-form select:focus {
  outline: none;
  border-color: #DAA520;
  box-shadow: 0 0 0 3px rgba(218,165,32,0.15);
}

#paysSelect {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
#paysSelect:disabled {
  opacity: 0.4;
  transform: translateY(-5px);
}


/* Animation fade-in */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-message {
  animation: fadeInUp 0.6s ease-out;
}

.contact-form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
}

/* .contact-form input,
.contact-form textarea {
  padding: 14px;
  margin: 12px 0;
  border: 1.6px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
} */

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #DAA520;
  box-shadow: 0 0 0 3px rgba(218,165,32,0.15);
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  margin: 12px 0;
  border: 1.6px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #DAA520;
  box-shadow: 0 0 0 3px rgba(218,165,32,0.15);
}


.contact-card {
  border: 2px solid #DAA520;
  border-radius: 20px;
  padding: 35px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
  position: relative;
}


.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 35px;
  height: 4px;
  width: 70px;
  background: #DAA520;
  border-radius: 10px;
}



/* ===== FOOTER ===== */
/* footer {
  background: #aaedfe;
  color: #0a0a0a;
  padding: 50px 30px 20px;
  font-size: 0.9rem;
  border-top: 1px solid #333;
} */

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.footer-links a,
.footer-contact a,
.footer-social a {
  color: #0a0a0a;
  transition: color 0.3s;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-social a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #333;
  padding-top: 15px;
  color: #888;
  font-size: 0.8rem;
}

/* ===== BACK TO TOP ===== */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary-color);
  color: var(--bg-dark);
  padding: 12px 15px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  display: none;
  transition: transform 0.3s, background 0.3s;
}

.service-card .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.service-card .icon svg {
  width: 80px;
  height: 80px;
  transition: transform 0.3s;
}

.service-card:hover .icon svg {
  transform: scale(1.1);
}

#page-loader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: #DAA520; /* or premium */
  animation: letterGlow 2s infinite;
}

@keyframes letterGlow {
  0% { letter-spacing: 2px; opacity: 0.4; }
  50% { letter-spacing: 6px; opacity: 1; }
  100% { letter-spacing: 2px; opacity: 0.4; }
}


/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 768px) {
   .blog-container {
    margin-top: 120px; /* plus d'espace en haut sur desktop */
  }
  .contact-card {
    padding: 24px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;
  }

  body {
    overflow-x: hidden;
  }

  header {
    height: 64px;
    padding: 0;
  }

  .header-container {
    padding: 0 20px;
  }

  /* Hamburger */
  .hamburger {
    display: flex;
    z-index: 1100;
  }

  /* Menu fullscreen */
  .nav-links {
    position: fixed;
    inset: 0;
    background: #0d0d0d;
    height: 100dvh;   /* Safari iOS 16+ */
    min-height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    will-change: transform;
    transition: transform 0.4s ease;
    z-index: 1000;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 2rem;
    color: white;
  }

  /* HERO */
  .hero {
    height: 50dvh;
    padding: 0 20px;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero button {
    padding: 12px 25px;
    font-size: 0.95rem;
  }

  section {
    padding: 80px 20px;
  }

  section p {
    font-size: 0.95rem;
  }

  /* Footer */
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links,
  .footer-contact,
  .footer-social {
    margin-bottom: 20px;
  }

  #back-to-top {
    bottom: 20px;
    right: 20px;
    padding: 10px 13px;
  }

  /* Fix parallax mobile */
  .hero::before {
    background-attachment: scroll;
  }

  .services-container {
    grid-template-columns: 1fr; /* une colonne */
    gap: 20px;                  /* moins d’espace entre les cases */
    padding: 20px 10px;
  }

  .service-card {
    max-width: 300px;           /* largeur réduite */
    text-decoration: none !important;
  }

  .service-card img {
    height: 140px;              /* hauteur plus compacte */
    min-height: 140px;
  }

  .service-card .content h3 {
    font-size: 1.1rem;          /* titre plus petit */
  }

  .service-card .content p {
    font-size: 0.9rem;          /* texte plus compact */
  }
}

/* Pour très grands écrans */
@media (min-width: 1200px) {
  .blog-container {
    margin-top: 150px; /* encore plus d'espace sur très grands écrans */
  }
}



@media (max-width: 480px) {

  .logo {
    font-size: 1.3rem;
  }

  .logo img {
    height: 30px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .services-container {
    grid-template-columns: 1fr;
  }
}

/* SUPPRIMER TOUT SOULIGNEMENT */
a,
a:hover,
a:focus,
a:active,
.service-card,
.service-card:hover {
  text-decoration: none !important;
}

/* A PROPOS */

.about-section {
  padding: 60px 50px;
  text-align: center;
  background-color: #f9f9f9;
}

.about-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #1a1a1a;
}

/* Carte principale */
.about-card {
  background-color: #ffffff;
  border: 2px solid #007BFF;
  border-radius: 12px;
  padding: 30px 25px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Animation au survol */
.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Icône de la carte */
.card-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

/* Titre de la carte */
.about-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #007BFF;
}

/* Texte de la carte */
.about-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

/* Liste missions */
.missions-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.missions-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 1rem;
  color: #555;
}

.mission-icon {
  font-size: 1.5rem;
  margin-right: 12px;
  flex-shrink: 0;
}

/* Animation entrée au scroll */


.animated-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

header h1 {
  margin-bottom: 10px;
  font-size: 2rem;
}

.btn-back {
  color: #fff;
  text-decoration: underline;
  font-weight: 500;
}

.blog-container {
  max-width: 1000px;
  margin: 50px auto;
  padding: 0 20px;
}

.blog-container {
  max-width: 1000px;
  margin: 80px auto 50px auto; /* 100px en haut, 50px en bas */
  padding: 0 20px;
}


/* Articles */

.blog-article.in-view {
  opacity: 1;
  transform: translateY(0);
}


.blog-content {
  padding: 20px;
}

.blog-content h2 {
  margin-bottom: 15px;
}

.blog-content p {
  color: #555;
}

.blog-article {
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 30px;
  overflow: hidden;
  background: #fff;
  opacity: 0;
  transform: translateY(50px);
  transition: transform 1s ease-out, opacity 1s ease-out;
}

.blog-article:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.blog-article {
  margin-bottom: 40px; /* espace entre articles */
}

.blog-icon {
  font-size: 30px; /* ou 25px selon ce que tu veux */
  text-align: center;
  margin-bottom: 10px;
}


.blog-article h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.blog-article p {
  color: #555;
  .blog-content p {
  font-size: 16px;       /* taille du texte */
  line-height: 1.5;      /* espacement entre lignes pour lisibilité */
  word-wrap: break-word;  /* casse les mots trop longs */
  overflow-wrap: break-word; /* support moderne */
  max-width: 100%;        /* ne dépasse pas la largeur du bloc */
}
}

/* Animation entrée */
.animated-card {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.animated-card.in-view {
  opacity: 1;
  transform: translateY(0);
}


/* Tous les champs sauf email */
form input:not([type="email"]),
form textarea,
form select {
  text-transform: uppercase;
}

/* Email toujours en minuscule */
form input[type="email"] {
  text-transform: lowercase;
}



/* -------------------------
   Blog & Articles Animés
---------------------------*/
.blog-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

/* Article simplifié, plus de bordure ni ombre */
.blog-article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0; /* plus d'espacement artificiel */
  border: none; /* supprime la “case” */
}

/* Icône */
.blog-icon {
  font-size: 30px; /* taille icône ajustable */
  color: #0d6efd;
  margin-bottom: 10px;
}

/* Contenu texte */
.blog-content h2 {
  margin: 5px 0;
  font-size: 1.5rem;
}

.blog-content p {
  font-size: 16px;
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}



/* --- Carte générale --- */
.about-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  margin: 20px auto; /* centré horizontalement */
  max-width: 900px; /* largeur max pour écran large */
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.7;
  color: #333;
}

/* --- Effet animation au survol --- */
.animated-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* --- Titres --- */
.about-card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #DAA520; /* rouge Canada */
  display: flex;
  align-items: center;
  gap: 8px; /* espace entre le texte et le SVG */
}

.about-card h4 {
  font-size: 1.4rem;
  margin-top: 25px;
  color: #333;
}

.about-card h5, .about-card h6 {
  font-size: 1.2rem;
  margin-top: 20px;
  color: #DAA520;
}

/* --- Paragraphes --- */
.about-card p {
  font-size: 1rem;
  margin-bottom: 15px;
  text-align: justify;
}

/* --- Listes --- */
.about-card ul, .about-card ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

/* --- Listes ordonnées stylisées pour étapes --- */
.about-card ol.styled-ol {
  counter-reset: step-counter;
  list-style: none;
  padding-left: 0;
}

.about-card ol.styled-ol li {
  position: relative;
  padding-left: 50px;
  margin-bottom: 20px;
}

.about-card ol.styled-ol li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #DAA520;
  color: #fff;
  text-align: center;
  line-height: 35px;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* --- SVG drapeau dans le texte --- */
.about-card svg {
  vertical-align: middle;
  margin-right: 8px;
}

/* --- Listes internes dans un <li> --- */
.about-card li ul {
  margin-top: 10px;
  margin-left: 20px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .about-card {
    padding: 20px;
  }

  .about-card h3 {
    font-size: 1.5rem;
  }

  .about-card h4 {
    font-size: 1.2rem;
  }

  .about-card p {
    font-size: 0.95rem;
  }
}


.custom-list {
  list-style: none;
  padding-left: 0;
}

.custom-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}

.custom-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #DAA520;
  font-weight: bold;
}

.cta-box {
  background: #f8f9fa;
  padding: 15px;
  border-left: 4px solid #DAA520;
  border-radius: 8px;
}

.destinations-wrapper {
  max-width: 1100px;
  margin: auto;
  padding: 60px 20px;
  text-align: center;
}

.section-header h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.section-header p {
  color: #555;
}

.destinations-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.destination-card {
  text-decoration: none;
  color: #000;
  width: 180px;
  text-align: center;
  transition: 0.3s ease;
}

.flag-circle {
  font-size: 50px;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
  width: 110px;
  height: 110px;
  line-height: 110px;
  border-radius: 50%;
  background: #f5f5f5;
  display: inline-block;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: 0.3s ease;
}

.flag-circle img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #AAEDFE;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.destination-card:hover .flag-circle img {
  transform: scale(1.1);
}

.pointer-gif {
  width: 35px;
  height: 35px;
  animation: bounce-pointer 1s infinite, pulse 1.5s infinite;
}

@keyframes bounce-pointer {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.carousel-item {
  height: 600px;
}

.carousel-item img {
  height: 600px;
  object-fit: cover;
}

/* Overlay sombre */
.carousel-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  top: 0;
  left: 0;
}

/* Centrage du contenu */
.carousel-caption-custom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  width: 90%;
}

.carousel-caption-custom h1 {
  font-size: 48px;
  font-weight: 700;
}

.carousel-caption-custom p {
  font-size: 20px;
  margin-bottom: 20px;
}


.carousel-caption-custom p {
    font-size: 16px;
  }

  html {
  scroll-behavior: smooth;
}


.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 30px;
  padding: 15px 20px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 5;
}

.hero-prev {
  left: 20px;
}

.hero-next {
  right: 20px;
}

.hero-prev:hover,
.hero-next:hover {
  background: #FF6B00;
  transform: translateY(-50%) scale(1.1);
}

/* Indicateurs */
.hero-dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 5;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  background: #FF6B00;
  transform: scale(1.3);
}

.success-section {
  text-align: center;
  padding: 50px 20px;
  background: #f9f9f9;
}

.success-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.success-section p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.success-carousel {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
}

.success-slide {
  display: none;
}

.success-slide.active {
  display: block;
}

.success-slide img {
  width: 50%;
  border-radius: 0px;
}

/* flèches */
.success-prev, .success-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 5px;
}

.success-prev { left: 10px; }
.success-next { right: 10px; }