:root {
  --bleu-principal: #004080;
  --bleu-secondaire: #007acc;
  --gris-clair: #f8f9fb;
  --texte-principal: #012a4a;
  --texte-secondaire: #4a6fa5;
  --ombre-foncee: rgba(0, 0, 0, 0.12);
  --text-dark: #1c1c1c;
  --jaune-clair: #ffeb3b;
  --fond-glass: rgba(255, 255, 255, 0.05);
  --orange-accent: #ff7f50;
  --gris-clair: #f8f9fa;
  --texte-principal: #212529;
  --shadow-card: rgba(0, 64, 128, 0.15);
  --transition-time: 0.35s;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --jaune-or: #ffeb3b;
  --blanc-glass: rgba(255 255 255 / 0.15);
  --texte-slogan: #cfd8dc;
  --ombre-legere: rgba(0,0,0,0.1);
  --gradient-logo-main: linear-gradient(90deg, #ffffff, #cfd8dc);
  --gradient-logo-span: linear-gradient(90deg, #ff0000, #ffffff);
    }

    body {
      margin: 0;
      font-family: 'Segoe UI', sans-serif;
      background-color: var(--gris-fond);
      color: var(--text-dark);
    }


/* HEADER PRINCIPAL */
header#main-header {
  background: linear-gradient(135deg, var(--bleu-principal) 20%, var(--bleu-secondaire) 80%);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 10px 30px var(--ombre-foncee);
  padding: 1.2rem 1rem;
  position: sticky;
  top: 0;
  z-index: 1100;
  transform: translateY(-100%);
  animation: slideDownFade 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  border-bottom: 2px solid var(--jaune-or);
}

/* Animation d'apparition + fondu */
@keyframes slideDownFade {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0%);
    opacity: 1;
  }
}

/* CONTENEUR FLEX */
.container.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 0 1rem;
}

/* LOGO + TEXTE */
.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  user-select: none;
  cursor: default;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.15));
}

/* Logo SVG */
.logo-svg {
  width: 56px;
  height: 48px;
  object-fit: contain;
  transition: transform 0.35s ease;
}
.logo-svg:hover {
  transform: rotate(-7deg) scale(1.05);
  filter: drop-shadow(0 4px 6px rgba(255,255,255,0.6));
}

/* Texte du logo */
.logo-text {
  display: flex;
  flex-direction: column;
  user-select: none;
}

/* TEXTE PRINCIPAL DU LOGO */
.logo {
  font-family: 'Segoe UI Black', 'Arial Black', sans-serif;
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: 1.4px;
  background: var(--gradient-logo-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s ease;
}

/* Mot AFRIQUE en dégradé rouge/blanc */
.logo span {
  background: var(--gradient-logo-span);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  letter-spacing: 1.7px;
  margin-left: 6px;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
}

/* SLOGAN subtil et aérien */
.slogan {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--texte-slogan);
  margin-top: -0.35rem;
  letter-spacing: 0.07em;
  font-style: italic;
  text-shadow: 0 0 6px rgba(25, 118, 210, 0.7);
  user-select: none;
}

/* NAVIGATION PRINCIPALE */
nav#navbar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: 'Segoe UI Semibold', 'Arial', sans-serif;
}

/* LISTE DES LIENS */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2.8rem;
  margin: 0;
  padding: 0;
}

/* ELEMENTS LI */
.nav-links li {
  position: relative;
}

/* LIENS */
.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  transition: 
    color 0.3s ease, 
    background-color 0.3s ease,
    box-shadow 0.25s ease;
  user-select: none;
  position: relative;
  cursor: pointer;
}

/* Icones FontAwesome */
.nav-links a i {
  font-size: 1.15rem;
  transition: color 0.3s ease;
}

/* Effet soulignement animé et surbrillance */
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 3px;
  border-radius: 3px;
  background: var(--gradient-logo-span);
  box-shadow: 0 0 8px var(--gradient-logo-span);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 10;
}

/* Hover sur lien */
.nav-links a:hover {
  color: var(--gradient-logo-span);
  background-color: rgba(255 235 59 / 0.12);
  box-shadow: 0 2px 12px rgba(255 235 59 / 0.4);
}
.nav-links a:hover i {
  color: var(--gradient-logo-span);
}
.nav-links a:hover::after {
  width: 100%;
}

/* Burger menu mobile */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  padding: 0.2rem 0;
  transition: transform 0.3s ease;
  user-select: none;
}
.burger:hover {
  transform: scale(1.1);
}
.burger span {
  height: 3.5px;
  width: 28px;
  background: white;
  border-radius: 3px;
  box-shadow: 0 0 3px rgba(255,255,255,0.8);
  transition: all 0.3s ease;
}

/* Responsive: menu mobile */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bleu-principal);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    flex-direction: column;
    gap: 1.3rem;
    width: 230px;
    padding: 1.3rem 1.5rem;
    display: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 6px 25px var(--ombre-foncee);
    z-index: 1200;
    font-size: 1.05rem;
  }

  .nav-links.active {
    display: flex;
    animation: fadeSlideIn 0.4s ease forwards;
  }

  @keyframes fadeSlideIn {
    from {
      opacity: 0;
      transform: translateY(-15px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .burger {
    display: flex;
  }
}


/* SECTION HERO ENTIÈREMENT REVISITÉE */
.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  background-color: #000;
  isolation: isolate;
  box-shadow: inset 0 -100px 80px rgba(0, 0, 0, 0.4);
}

/* SLIDESHOW EN ARRIÈRE-PLAN */
.hero-slideshow {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fadeSlide 15s infinite;
  transition: transform 0.6s ease;
  filter: brightness(0.7) contrast(1.05) saturate(1.2);
  will-change: opacity, transform;
}

.slide:nth-child(1) {
  animation-delay: 0s;
}
.slide:nth-child(2) {
  animation-delay: 5s;
}
.slide:nth-child(3) {
  animation-delay: 10s;
}

/* ANIMATION SLIDE FONDU */
@keyframes fadeSlide {
  0%   { opacity: 0; transform: scale(1.1);}
  10%  { opacity: 1; transform: scale(1);}
  33%  { opacity: 1; transform: scale(1);}
  43%  { opacity: 0; transform: scale(1);}
  100% { opacity: 0; transform: scale(1);}
}

/* CONTENU PAR DESSUS */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  padding: 2.5rem 3.5rem;
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.65), rgba(13, 71, 161, 0.6));
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeIn 1s ease 0.5s forwards;
  opacity: 0;
}

/* TEXTE DU TITRE */
.hero-content h1 {
  font-size: 3.2rem;
  margin-bottom: 1.2rem;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  font-weight: 900;
  background: linear-gradient(90deg, #ffffff, #f5f5f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.1);
  animation: slideUpFade 1s ease-out 0.7s forwards;
  opacity: 0;
}

/* TEXTE DESCRIPTIF */
.hero-content p {
  font-size: 1.4rem;
  letter-spacing: 1.4px;
  font-weight: 500;
  color: #e3f2fd;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  animation: slideUpFade 1.2s ease-out 1s forwards;
  opacity: 0;
}

/* ANIMATIONS APPARITION */
@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes slideUpFade {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
  .hero {
    height: 450px;
    padding: 0 1rem;
  }

  .hero-content {
    padding: 2rem 1.5rem;
    border-radius: 10px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }
}


/* section activite */

.titre-section {
  text-align: center;
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #0d47a1, #42a5f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  margin-bottom: 4rem;
  animation: fadeInTitle 1s ease forwards;
  opacity: 0;
}

.section_activities {
  padding: 6rem 1.5rem;
  background: linear-gradient(135deg, #e3f2fd 0%, #f2f9ff 100%);
  position: relative;
  overflow: hidden;
}

.section_activities h2 {
  text-align: center;
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(90deg, #0d47a1, #1976d2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 4px 10px rgba(13, 71, 161, 0.2);
}

.activities {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 3rem;
}

/* === CARD REVISITÉE === */
.card {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(13, 71, 161, 0.15);
  transition: all 0.4s ease;
  position: relative;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 25px 55px rgba(13, 71, 161, 0.25);
}

/* === IMAGE === */
.card-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent);
  z-index: 1;
}

/* === ICÔNE === */
.icon-wrapper {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #1976d2, #42a5f5);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: -35px auto 1.4rem;
  box-shadow: 0 8px 28px rgba(25, 118, 210, 0.3);
  z-index: 2;
  position: relative;
  transition: background 0.3s ease, transform 0.3s ease;
}

.card:hover .icon-wrapper {
  background: linear-gradient(135deg, #ff0000, #ff0000);
  transform: rotate(5deg);
}

.icon-wrapper i {
  font-size: 2rem;
  color: white;
}

/* === TITRE === */
.card h3 {
  text-align: center;
  font-size: 1.7rem;
  font-weight: 900;
  color: #0d47a1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0.5rem 0 1rem;
  position: relative;
  z-index: 2;
}

/* === PARAGRAPHE === */
.card p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  text-align: center;
  padding: 0 1.8rem;
  margin-bottom: 1.5rem;
  z-index: 2;
}

/* === LISTE === */
.card ul {
  padding: 0 2rem 2rem;
  list-style: none;
  font-weight: 600;
  font-size: 1rem;
  color: #1976d2;
}

.card ul li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.6rem;
  transition: color 0.3s ease;
}

.card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #ff0000;
  font-weight: bold;
  font-size: 1.1rem;
}

.card:hover ul li {
  color: #ff0000;
}

/* Animation d'apparition douce */
@keyframes fadeInTitle {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Soulignement animé */
.titre-section::after {
  content: '';
  display: block;
  margin: 0.6rem auto 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #ff0000, #ff0000);
  border-radius: 2px;
  animation: underlineGrow 1.2s ease forwards;
}

@keyframes underlineGrow {
  0% {
    width: 0;
    opacity: 0;
  }
  100% {
    width: 80px;
    opacity: 1;
  }
}

.card.formation-double {
  padding-bottom: 2rem;
}

.card.formation-double .formation-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 0 2rem;
  margin-top: 1rem;
}

.card.formation-double .formation-item h4 {
  font-size: 1.2rem;
  color: #0d47a1;
  font-weight: 800;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card.formation-double .formation-item p {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
  margin: 0;
  text-align: left;
}

.card.formation-double .formation-item i {
  color: #1976d2;
}

/* Responsive */
@media (max-width: 768px) {
  .card.formation-double .formation-list {
    padding: 0 1rem;
  }

  .card.formation-double .formation-item h4 {
    font-size: 1.1rem;
  }

  .card.formation-double .formation-item p {
    font-size: 0.95rem;
  }
}

/* === Responsive === */
@media (max-width: 768px) {
  .section_activities {
    padding: 3rem 1rem;
  }

  .section_activities h2 {
    font-size: 2.3rem;
  }

  .activities {
    grid-template-columns: 1fr;
  }

  .card-image {
    height: 160px;
  }

   .titre-section {
    font-size: 2.3rem;
    letter-spacing: 1.5px;
  }

  .titre-section::after {
    width: 60px;
  }
}


/* section partenaires */
.section_partenaires {
  padding: 3rem 1rem 3.5rem; /* moins haut */
  background: linear-gradient(135deg, #e6f0ff 0%, #cce0ff 100%);
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.section_partenaires h2 {
  font-size: 2.4rem;          /* un peu plus petit */
  font-weight: 900;
  color: #004080;
  margin-bottom: 2rem;        /* réduit */
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-shadow: 1px 1px 3px rgba(0, 64, 128, 0.3);
}

.partners-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.8rem 2.5rem;       /* un peu moins d’espacement vertical, horizontal raisonnable */
  max-width: 900px;          /* moins large */
  margin: 0 auto;
}

.partner-card {
  background: white;
  border-radius: 14px;       /* un peu moins arrondi */
  padding: 1rem 1.6rem;      /* padding réduit */
  width: 140px;              /* plus compact */
  height: 90px;              /* hauteur réduite */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 6px 10px rgba(0, 64, 128, 0.12),
    inset 0 0 6px rgba(30, 144, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,0.05));
}

.partner-card img {
  max-height: 60px;         /* image plus petite */
  max-width: 100%;
  object-fit: contain;
  transition: filter 0.3s ease, transform 0.3s ease;
  filter: grayscale(60%);
}

.partner-card:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow:
    0 14px 20px rgba(0, 64, 128, 0.3),
    inset 0 0 12px rgba(30, 144, 255, 0.35);
}

.partner-card:hover img {
  filter: grayscale(0);
  transform: scale(1.05);
  filter: drop-shadow(0 0 4px #1e90ffaa);
}

/* Responsive */
@media (max-width: 768px) {
  .partners-wrapper {
    gap: 1.5rem 2rem;
  }

  .partner-card {
    width: 120px;
    height: 75px;
    padding: 0.8rem 1.2rem;
  }

  .partner-card img {
    max-height: 50px;
  }
}

@media (max-width: 480px) {
  .partners-wrapper {
    gap: 1rem 1.5rem;
  }

  .partner-card {
    width: 100px;
    height: 65px;
    padding: 0.6rem 1rem;
  }

  .partner-card img {
    max-height: 40px;
  }
}



/* section apropos */
/* ===== À PROPOS - Style Prestige ===== */

.section_apropos {
  max-width: 1150px;
  margin: 6rem auto;
  padding: 3rem 2rem;
  background: linear-gradient(145deg, #f5faff, #e8f1ff);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(13, 71, 161, 0.12);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #0d1b2a;
  animation: fadeInUp 1.2s ease both;
}

.section_apropos > h1 {
  font-size: 3.2rem;
  font-weight: 900;
  text-align: center;
  background: linear-gradient(to right, #0d47a1, #42a5f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 4rem;
  position: relative;
}

.section_apropos > h1::after {
  content: "";
  width: 120px;
  height: 4px;
  background: linear-gradient(to right, #ff9800, #ffc107);
  display: block;
  margin: 1.2rem auto 0;
  border-radius: 2px;
  animation: underlineGrow 1s ease forwards;
}

/* Blocs de contenu (mission, vision) */
.section {
  background: #ffffffd1;
  border-left: 6px solid #2196f3;
  border-radius: 14px;
  padding: 2rem 2.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  animation: fadeInUp 1s ease both;
}

.section h2 {
  font-size: 2rem;
  color: #1565c0;
  text-align: center;
  margin-bottom: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  position: relative;
}

.section h2::before {
  content: "◆";
  color: #ffc107;
  font-size: 1.6rem;
  position: absolute;
  left: -2rem;
  top: 0;
  animation: spin 6s linear infinite;
}

.section p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #37474f;
  text-align: center;
  background: #f7fbff;
  border-left: 4px solid #64b5f6;
  padding: 1.2rem 1.5rem;
  border-radius: 10px;
}

/* Animations */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes underlineGrow {
  0% { width: 0; opacity: 0; }
  100% { width: 120px; opacity: 1; }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
  .section_apropos > h1 {
    font-size: 2.4rem;
  }

  .section h2 {
    font-size: 1.6rem;
  }

  .section p {
    font-size: 1.05rem;
  }
}



/*section contact */

.section_contact {
  background: linear-gradient(135deg, #e3f2fd, #f0f7ff);
  padding: 6rem 2rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #00264d;
  position: relative;
  overflow: hidden;
}

.section_contact::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle at center, #64b5f6, transparent);
  opacity: 0.3;
  border-radius: 50%;
  z-index: 0;
}

.section_contact h2 {
  font-size: 3rem;
  font-weight: 900;
  text-align: center;
  color: #004080;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
  text-shadow: 1px 1px 6px rgba(0, 64, 128, 0.2);
}

.contact-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1080px;
  margin: 0 auto;
  gap: 3rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.contact-details {
  flex: 1;
  background: #ffffffbb;
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 64, 128, 0.1);
}

.contact-details h3 {
  font-size: 1.6rem;
  color: #0d47a1;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-details ul {
  list-style: none;
  padding: 0;
  color: #003366;
  font-size: 1.1rem;
  line-height: 2;
}

.contact-details li i {
  margin-right: 10px;
  color: #1565c0;
}

.contact-details .socials a {
  display: inline-block;
  margin-right: 15px;
  color: #1565c0;
  font-size: 1.4rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.contact-details .socials a:hover {
  transform: scale(1.2);
  color: #ff9800;
}

/* Form stylé */
form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 64, 128, 0.15);
  transition: box-shadow 0.3s ease;
}

form:hover, form:focus-within {
  box-shadow: 0 20px 45px rgba(0, 64, 128, 0.25);
}

input, textarea {
  font-size: 1.1rem;
  padding: 1rem 1.2rem;
  border: 2px solid #c1d1f7;
  border-radius: 12px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  font-family: inherit;
}

input:focus, textarea:focus {
  border-color: #004080;
  box-shadow: 0 0 8px #004080aa;
  background: #f0f7ff;
}

input::placeholder, textarea::placeholder {
  color: #7a8ba6;
  font-style: italic;
}

button {
  font-weight: 700;
  font-size: 1.2rem;
  background: linear-gradient(45deg, #0055cc, #3399ff);
  color: white;
  padding: 1rem 0;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(51, 153, 255, 0.6);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

button:hover, button:focus {
  background: linear-gradient(45deg, #004080, #007acc);
  box-shadow: 0 10px 20px rgba(0, 64, 128, 0.8);
  transform: scale(1.05);
}

button:active {
  transform: scale(0.97);
  box-shadow: 0 4px 10px rgba(0, 64, 128, 0.7);
}

/* Responsive */
@media (max-width: 900px) {
  .contact-wrapper {
    flex-direction: column;
  }

  .contact-details, form {
    width: 100%;
  }

  .section_contact h2 {
    font-size: 2.4rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .section_contact {
    padding: 2rem 1rem;
  }

  .contact-wrapper {
    gap: 1rem;
  }

  .contact-details,
  form {
    padding: 0.5rem 0.9rem;
    box-shadow: 0 8px 20px rgba(0, 64, 128, 0.12);
    border-radius: 16px;
  }

  .contact-details h3 {
    font-size: 1.4rem;
    text-align: center;
  }

  .contact-details ul {
    font-size: 1rem;
    text-align: center;
  }

  .contact-details .socials {
    text-align: center;
    margin-top: 1rem;
  }

  .contact-details .socials a {
    font-size: 1.3rem;
    margin: 0 10px;
  }

  form {
    gap: 0.9rem;
  }

  input,
  textarea {
    font-size: 1rem;
    padding: 0.9rem 1rem;
  }

  button {
    font-size: 1.1rem;
    padding: 0.9rem 0;
  }
}

@media (max-width: 480px) {
  .section_contact h2 {
    font-size: 2rem;
  }

  .contact-details h3 {
    font-size: 1.2rem;
  }

  .contact-details ul {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  input,
  textarea {
    font-size: 0.95rem;
    padding: 0.8rem 0.9rem;
  }

  button {
    font-size: 1rem;
    padding: 0.8rem 0;
  }
}



/* footer */
footer {
  background: radial-gradient(ellipse at bottom, #002855, #001933);
  color: white;
  padding: 4rem 2rem 2rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 80%);
  z-index: 0;
  animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.05; }
  50% { transform: scale(1.5); opacity: 0.1; }
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.footer-section {
  flex: 1 1 250px;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1.2rem;
  font-weight: 800;
  color: #ffca28;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 1.3rem;
  border-left: 4px solid #ffca28;
  padding-left: 0.6rem;
}

.footer-section p,
.footer-section ul {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: #e0e0e0;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.6rem;
}

.footer-section ul li a {
  color: #e0e0e0;
  text-decoration: none;
  position: relative;
  padding-left: 0.4rem;
  transition: color 0.3s ease;
}

.footer-section ul li a::before {
  content: '➤';
  position: absolute;
  left: -1rem;
  color: #ffca28;
  font-size: 0.8rem;
}

.footer-section ul li a:hover {
  color: #ffca28;
}

.social-icons a {
  color: white;
  margin-right: 1rem;
  font-size: 1.4rem;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  color: #ffca28;
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #b0c4de;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-section h3,
  .footer-section h4 {
    border-left: none;
    padding-left: 0;
  }

  .social-icons {
    justify-content: center;
  }
}

