body{
  font-family: Arial, sans-serif;
  background: #f5f8ff;
  margin: 0;
  padding: 0;
  color: #1a1a1a;
}

.container{
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

header{
  background: #0b4dbb;
  color: white;
  padding: 24px 20px;
}

header h1{
  margin: 0;
  font-size: 32px;
}
.programs{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.program{
  background: #f9f9f9;
  border-radius: 10px;
  padding: 14px;
}

.program h3{
  margin-top: 0;
  color: #0b4dbb;
  font-size: 16px;
}

header p{
  margin: 8px 0 0;
  opacity: 0.95;
}

.card{
  background: white;
  border-radius: 12px;
  padding: 18px;
  margin: 16px 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

h2{
  margin-top: 0;
  color: #0b4dbb;
}

strong{
  color: #0b4dbb;
}
nav{
  margin-top: 12px;
}

nav a{
  color: white;
  text-decoration: none;
  margin-right: 14px;
  padding: 6px 10px;
  border-radius: 8px;
  display: inline-block;
}
.flag-icon {
  width: 18px;
  height: 12px;
  object-fit: cover;
  margin-right: 6px;
  vertical-align: middle;
  border-radius: 2px;
}
nav a:hover{
  background: rgba(255,255,255,0.18);
}
h2{
  scroll-margin-top: 120px;
}
footer{
  background: #0b4dbb;
  color: white;
  margin-top: 40px;
  padding: 24px 0;
  text-align: center;
}

footer p{
  margin: 6px 0;
  font-size: 14px;
}

header h1{
  margin:0;
}
.hero-img{
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 12px;
  margin: 12px 0;
}

header p{
  margin:6px 0 0;
}
.tagline{
  font-size: 16px;
  color: #444;
  margin: 8px 0 0;
}
.pricing{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.price-box{
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 14px;
  background: #ffffff;
}

.price{
  font-size: 20px;
  font-weight: bold;
  color: #0b4dbb;
  margin: 8px 0;
}

.note{
  margin: 0;
  color: #555;
  font-size: 14px;
}
/* Fix: rendre le menu cliquable (évite qu'un bloc recouvre la barre) */
.topbar { position: relative; z-index: 9999; }
.nav, .nav a { position: relative; z-index: 10000; }

/* Fix 2: si un bloc (hero/overlay) recouvre le menu, on force le header au-dessus */
.topbar {
  position: sticky;
  top: 0;
  z-index: 2147483647;
}

.topbar, .topbar * {
  pointer-events: auto !important;
}

/* Empêche les overlays/pseudo-elements de bloquer les clics sur la barre */
.hero::before, .hero::after,
.banner::before, .banner::after,
.overlay, .backdrop {
  pointer-events: none !important;
}

/* Au cas où une image pleine page recouvre */
.hero img, .banner img {
  pointer-events: none;
}
.lang-chooser{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:12px;
}
.lang-landing{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding: 28px;
  text-align: center;
}

.brand-logo{
  width: 110px;
  height: auto;
}

.lang-dropdown{
  position: relative;
}

.lang-btn{
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
}

.lang-menu{
  position: absolute;
  top: 48px;
  left: 0;
  right: 0;
  display: none;
  background: #111;
  border: 1px solid #333;
  border-radius: 12px;
  overflow: hidden;
  min-width: 220px;
}

.lang-menu.show{
  display: block;
}

.lang-menu a{
  display: block;
  padding: 12px 14px;
  text-decoration: none;
  color: #fff;
}

.lang-menu a:hover{
  background: #1d1d1d;
}

.lang-menu a.disabled{
  opacity: 0.5;
  cursor: not-allowed;
}

.primary-cta{
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  background: #ffffff;
  color: #000;
  text-decoration: none;
  font-weight: 600;
}
.langlink.disabled{
  opacity: 0.5;
  cursor: not-allowed;
  text-decoration: none;
}
.lang .langlink.disabled{
  color: #b0b0b0 !important;
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
/* Compact, accessible navigation on laptops, tablets, and phones */
.menu-toggle {
  display: none;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.menu-toggle-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.menu-toggle-label {
  font-size: 0.9rem;
}

/* Shared accessibility, contrast, and trust refinements */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2147483647;
  padding: 10px 14px;
  border-radius: 6px;
  background: #ffffff;
  color: #062b63;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.15s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #ffcc33 !important;
  outline-offset: 3px;
}

.highlight .status-box,
.highlight .status-box strong {
  color: #111827;
}

.cta h2,
.cta h3 {
  color: #ffffff;
}

.whatsapp-float,
.btn-whatsapp,
.btn.whatsapp {
  background: #117a3f !important;
  color: #ffffff !important;
}

.privacy-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
  font-weight: 400 !important;
}

.privacy-consent input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 3px;
}

.privacy-consent a,
.footer-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin: 8px 0 0;
}

.trust-note {
  padding: 18px 22px;
  border-left: 5px solid #d8aa2b;
  border-radius: 10px;
  background: #fff7dd;
  color: #111827;
}

.policy-page {
  background: #f4f7fb;
  color: #374151;
  line-height: 1.7;
}

.policy-page .topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 14px 8%;
  background: #0f4fbf;
  color: #ffffff;
}

.policy-page .brand {
  color: #ffffff;
  font-weight: 700;
}

.policy-page .brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  padding: 4px;
}

.policy-page .topbar nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.policy-page .topbar nav a {
  color: #ffffff;
  margin: 0;
}

.policy-page .policy-hero {
  padding: 64px 8%;
  background: linear-gradient(rgba(6, 43, 99, 0.84), rgba(6, 43, 99, 0.84)), url("hero-contact-v1.webp") center/cover;
  color: #ffffff;
}

.policy-page .policy-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
}

.policy-page .policy-hero p {
  max-width: 760px;
  margin: 14px 0 0;
}

.policy-page .policy-content {
  max-width: 900px;
  margin: 40px auto 70px;
  padding: 34px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.policy-page .policy-content h2 {
  margin-top: 34px;
  color: #062b63;
}

.policy-page .policy-content a {
  color: #0b4dbb;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 700px) {
  .policy-page .policy-content {
    margin: 24px 5% 50px;
    padding: 22px;
  }
}

.price-card .note,
.program-card .note {
  color: #4b5563;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1400px) {
  .topbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center !important;
    gap: 10px !important;
    padding: 9px 4% !important;
  }

  .topbar .brand {
    min-width: 0;
  }

  .topbar .brand img {
    width: 48px !important;
    height: 48px !important;
    flex-shrink: 0;
  }

  .topbar .brand span {
    font-size: 1rem !important;
    line-height: 1.15;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
  }

  .topbar nav {
    display: none !important;
    grid-column: 1 / -1;
    width: 100%;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
    flex-direction: column !important;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    margin-top: 0 !important;
    padding: 8px 0 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }

  .topbar.nav-open nav {
    display: flex !important;
  }

  .topbar nav a {
    display: flex !important;
    align-items: center;
    min-height: 44px;
    width: 100%;
    margin: 0 !important;
    padding: 9px 12px !important;
    border-radius: 6px;
    box-sizing: border-box;
  }

  .topbar nav a:hover,
  .topbar nav a:focus {
    background: rgba(255, 255, 255, 0.12);
  }

  body.mobile-menu-open {
    overflow: hidden;
  }
}

.content-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.content-card{
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 24px;
}

.clean-list{
  margin: 0;
  padding-left: 18px;
}

.clean-list li{
  margin: 10px 0;
}
.form-card{
  margin: 40px 0 80px;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 24px;
}

.reg-form{
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.reg-form label{
  display: grid;
  gap: 8px;
  font-weight: 500;
}

.reg-form input,
.reg-form select,
.reg-form textarea{
  padding: 12px 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
}

.form-note{
  margin-top: 6px;
  font-size: 14px;
  opacity: 0.8;
}
.contact-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 30px 0 80px;
}

.contact-card{
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 24px;
}

.small-note{
  margin-top: 10px;
  font-size: 13px;
  opacity: 0.75;
}

.btn.whatsapp{
  display: inline-block;
  margin-top: 10px;
}
.success-note{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #eaf6ea;
  border: 1px solid #bfe3bf;
  font-size: 14px;
}
.contact-pro{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 30px 0 80px;
}

.contact-pro-card{
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 24px;
  background: #fff;
}

.contact-pro-card.primary{
  border: 2px solid #cfe3ff;
  background: #f7fbff;
}

.contact-pro-card .big{
  font-size: 18px;
  margin: 10px 0;
}
.section-divider{
  margin: 30px 0;
  border: none;
  border-top: 1px solid #ddd;
}
.pricing-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 30px 0;
}

.pricing-card{
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 24px;
  background: #fff;
}

.pricing-card .price{
  font-size: 18px;
  font-weight: 600;
  margin: 12px 0;
}

.pricing-note{
  margin: 50px 0 80px;
  text-align: center;
}

.hero{
  background-image: url("hero.jpg");
  background-size: cover;
  background-position: center;
  padding: 100px 20px;
  color: white;
}

.hero-content{
  max-width: 900px;
  margin: auto;
  background: rgba(0, 0, 0, 0.55);
  padding: 40px;
  border-radius: 12px;
}

.hero h1{
  font-size: 42px;
  margin-bottom: 10px;
}

.hero h2{
  font-size: 26px;
  margin-bottom: 20px;
}

.hero-text{
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.hero-sub{
  margin-bottom: 30px;
  font-size: 16px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img{
  height: 42px;
  width: auto;
  display: block;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo{
  height: 42px;
  width: auto;
  display: block;
}
/* ==================================================
   HOMEPAGE HERO — ALLIANCE ANGLOPHONE
   ================================================== */

.hero-home {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 100px 24px;
  overflow: hidden;

  background-image:
    linear-gradient(
      90deg,
      rgba(2, 25, 68, 0.97) 0%,
      rgba(2, 33, 87, 0.91) 48%,
      rgba(2, 33, 87, 0.45) 100%
    ),
   url("hero-home-v2.webp");

  background-size: cover;
  background-position: center;
  color: #ffffff;
}

/* Decorative golden light */
.hero-home::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -150px;
  top: -180px;
  border-radius: 50%;
  background: rgba(215, 168, 79, 0.20);
  filter: blur(10px);
}

/* Decorative soft blue circle */
.hero-home::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: 12%;
  bottom: -210px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-home .hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.hero-home .hero-content > * {
  max-width: 760px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 9px 15px;

  border: 1px solid rgba(215, 168, 79, 0.60);
  border-radius: 999px;

  background: rgba(215, 168, 79, 0.12);
  color: #f4c766;

  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-home h1 {
  margin: 0 0 22px;
  max-width: 820px;

  color: #ffffff;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: 1.05;
  letter-spacing: -0.035em;

  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
}

.hero-lead {
  margin: 0 0 28px;
  max-width: 700px;

  color: rgba(255, 255, 255, 0.90);
  font-size: 1.15rem;
  line-height: 1.75;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 32px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;

  font-size: 0.94rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.hero-points span::before {
  content: "✓";
  color: #f4c766;
  font-weight: 900;
}

.hero-home .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.hero-home .btn {
  min-width: 205px;
  padding: 14px 22px;
  border-radius: 12px;

  font-weight: 800;
  text-align: center;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.hero-home .btn:hover {
  transform: translateY(-2px);
}

.hero-home .btn-primary {
  background: linear-gradient(135deg, #e0ad4c, #f5ca71);
  color: #022157;
  box-shadow: 0 12px 30px rgba(215, 168, 79, 0.24);
}

.hero-home .btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.hero-home .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.93rem;
  font-weight: 600;
}

/* Mobile version */
@media (max-width: 768px) {
  .hero-home {
    min-height: auto;
    padding: 76px 18px;
    background-position: 65% center;
  }

  .hero-home h1 {
    font-size: clamp(2.25rem, 11vw, 3.3rem);
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-points {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-points span {
    width: 100%;
  }

  .hero-home .btn-row {
    flex-direction: column;
  }

  .hero-home .btn {
    width: 100%;
  }

  .hero-kicker {
    font-size: 0.76rem;
  }
}
/* Final French homepage hero refinements */

.hero-home {
  background-image:
    linear-gradient(
      90deg,
      rgba(2, 25, 68, 0.98) 0%,
      rgba(2, 33, 87, 0.94) 48%,
      rgba(2, 33, 87, 0.52) 100%
    ),
    url("hero-home-v2.webp");
}

.hero-home .hero-content > * {
  max-width: 700px;
}

.hero-home h1 {
  max-width: 720px;
}
/* ==================================================
   HOMEPAGE SECTIONS AND CARDS
   ================================================== */

.home-page {
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
}

.home-page .section-white {
  padding: 84px 24px;
  background:
    radial-gradient(
      circle at top right,
      rgba(215, 168, 79, 0.10),
      transparent 28%
    ),
    #ffffff;
}

.home-page .section-white:nth-of-type(even) {
  background:
    radial-gradient(
      circle at bottom left,
      rgba(24, 91, 191, 0.08),
      transparent 30%
    ),
    #f6f8fc;
}

.home-page .section-title {
  max-width: 820px;
  margin: 0 auto 44px;
  text-align: center;
}

.home-page .section-title h2 {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 18px;

  color: #022157;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

.home-page .section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;

  width: 72px;
  height: 4px;

  border-radius: 999px;
  background: linear-gradient(90deg, #d7a84f, #f4c766);
  transform: translateX(-50%);
}

.home-page .section-title p {
  margin: 0;
  color: #52627a;
  font-size: 1.08rem;
  line-height: 1.75;
}

.home-page .grid {
  width: min(1180px, 100%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.home-page .card {
  position: relative;
  overflow: hidden;

  padding: 30px;
  border: 1px solid rgba(2, 33, 87, 0.10);
  border-radius: 22px;

  background:
    linear-gradient(145deg, #ffffff 0%, #f8faff 100%);

  box-shadow:
    0 12px 30px rgba(2, 33, 87, 0.07);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.home-page .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 5px;

  background: linear-gradient(90deg, #185bbf, #d7a84f);
}

.home-page .card:hover {
  transform: translateY(-6px);
  border-color: rgba(215, 168, 79, 0.45);

  box-shadow:
    0 20px 40px rgba(2, 33, 87, 0.13);
}

.home-page .card h3 {
  margin: 0 0 14px;
  color: #022157;
  font-size: 1.28rem;
  line-height: 1.3;
}

.home-page .card p {
  margin: 0;
  color: #52627a;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .home-page .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .home-page .section-white {
    padding: 64px 18px;
  }

  .home-page .grid {
    grid-template-columns: 1fr;
  }

  .home-page .card {
    padding: 25px;
  }
}
