/*==========================================================
   FIDETECHL FORMATION — DESIGN SYSTEM
   Palette : Bleu clair #3297fc · Rouge #e63946 · Blanc
==========================================================*/
:root {
  --primary: #3297fc;
  --primary-dark: #1a7ae0;
  --primary-light: #64b0ff;
  --primary-rouge-fonce: #bd0010;
  --primary-glow: rgba(50,151,252,.18);
  --accent: #e63946;
  --accent-light: #ff5c6a;
  --dark: #101c2e;
  --dark-soft: #162033;
  --text-dark: #1c2a3d;
  --text-mid: #4b5e73;
  --text-light: #7a8b9e;
  --bg-light: #f3f7fb;
  --bg-white: #ffffff;
  --shadow-sm: 0 2px 6px rgba(50,151,252,.06);
  --shadow-md: 0 6px 20px rgba(50,151,252,.1);
  --shadow-lg: 0 14px 36px rgba(50,151,252,.14);
  --shadow-card: 0 4px 14px rgba(0,0,0,.06);
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --transition: .35s cubic-bezier(.4,0,.2,1);
  --transition-fast: .2s ease;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--bg-white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 72px;
  overflow-x: hidden;
}

main { flex: 1; }
.container {
  width: 100%; max-width: 1200px;
  margin: 0 auto; padding: 0 1.25rem;
}
img { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.25; color: var(--text-dark); }

/* ========== SCROLL REVEAL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
}
.reveal.reveal-right {
  opacity: 0;
  transform: translateX(50px);
}
.reveal.reveal-scale {
  opacity: 0;
  transform: scale(.92);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ========== NAVBAR (pure CSS) ========== */
.site-navbar {
  position: fixed; top: 0; left: 0; right: 0;
  width: 100%;
  background: linear-gradient(135deg, #2b8bf2 0%, #3297fc 50%, #4da6fd 100%);
  box-shadow: 0 2px 20px rgba(50,151,252,.25);
  padding: .65rem 0;
  transition: background .4s, padding .4s, box-shadow .4s;
  z-index: 1050;
  overflow-x: hidden;
}
.site-navbar.scrolled {
  background: rgba(42,135,240,.92);
  padding: .45rem 0;
  box-shadow: 0 4px 30px rgba(50,151,252,.2);
  backdrop-filter: blur(12px);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-width: 0;
  gap: .5rem;
}
.navbar-brand {
  display: flex; align-items: center; gap: .5rem;
  text-decoration: none; color: #fff;
  min-width: 0; flex-shrink: 0;
}
.navbar-logo {
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4);
  transition: var(--transition);
}
.navbar-logo:hover { border-color: #fff; transform: rotate(8deg) scale(1.08); }
.brand-text { font-size: 1.15rem; color: #fff; letter-spacing: .3px; white-space: nowrap; }
.brand-sub { display: inline; color: var(--primary-rouge-fonce);}
.navbar-menu {
  display: flex; align-items: center; gap: .25rem;
  list-style: none; margin: 0; padding: 0;
}
.navbar-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: .5rem;
  flex-shrink: 0;
  margin-left: .25rem;
}
.navbar-toggle span {
  display: block; width: 24px; height: 2px; background: #fff;
  border-radius: 2px; transition: transform .3s, opacity .3s;
}
.navbar-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggle.active span:nth-child(2) { opacity: 0; }
.navbar-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-navbar .nav-link {
  color: rgba(255,255,255,.82);
  font-weight: 500; font-size: .9rem;
  padding: .45rem .85rem; border-radius: var(--radius);
  transition: var(--transition);
  position: relative; text-decoration: none; display: inline-block;
}
.site-navbar .nav-link::after {
  content: '';
  position: absolute; bottom: 2px; left: 50%; width: 0; height: 2px;
  background: #fff; border-radius: 1px;
  transition: width .3s, left .3s;
}
.site-navbar .nav-link:hover::after { width: 60%; left: 20%; }
.site-navbar .nav-link:hover { color: #fff; background: rgba(255,255,255,.15); }
.nav-link-highlight {
  background: var(--accent) !important; color: #fff !important;
  border-radius: 50px !important; padding: .45rem 1.1rem !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(230,57,70,.3);
}
.nav-link-highlight::after { display: none !important; }
.nav-link-highlight:hover {
  background: var(--accent-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230,57,70,.35);
}
@media (max-width: 768px) {
  .navbar-toggle { display: flex; }
  .navbar-inner { min-height: 48px; }
  .navbar-brand { flex: 1 1 auto; min-width: 0; }
  .brand-text {
    font-size: .92rem;
    white-space: normal;
    line-height: 1.05;
    display: inline-block;
  }
  .brand-sub {
    color: var(--primary-rouge-fonce);
    display: block;
  }
  .navbar-menu {
    display: none; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0;
    background: linear-gradient(180deg, #2b8bf2, #3297fc);
    padding: 1rem; gap: .5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
  }
  .navbar-menu.open { display: flex !important; }
  .navbar-menu li { width: 100%; }
  .site-navbar .nav-link { display: block; padding: .6rem 1rem; }
}

/* ========== SECTION HEADERS ========== */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-title {
  font-size: 2.2rem; font-weight: 800; color: var(--text-dark);
  position: relative; display: inline-block; margin-bottom: .75rem;
}
.section-title::after {
  content: ''; display: block; width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px; margin: .6rem auto 0;
  transition: width .4s;
}
.section-header:hover .section-title::after { width: 100px; }
.section-subtitle { color: var(--text-mid); font-size: 1.05rem; max-width: 650px; margin: 0 auto; }

/* ========== HERO ========== */
.hero-section {
  position: relative; overflow: hidden;
  background: url('/images/baniere-background.jpg') center/cover no-repeat;
  color: #fff;
  padding: 5rem 0 4rem; min-height: 92vh;
  display: flex; align-items: center;
}
.hero-bg-pattern {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(160deg, rgba(20, 60, 120, 0.411) 0%, rgba(2, 74, 145, 0.425) 40%, rgba(20,60,120,.65) 75%, rgba(10,40,90,.75) 100%);
}
.hero-container { position: relative; z-index: 1; display: flex; align-items: center; gap: 3rem; }
.hero-chad-stripes {
  display: flex; gap: 5px; align-self: stretch; flex-shrink: 0;
  padding: 1rem 0; margin-right: .5rem; margin-left: 4px;
}
.hero-chad-stripes span {
  width: 6px; border-radius: 3px; opacity: .7;
  transition: opacity .4s, height .4s;
}
.hero-chad-stripes span:nth-child(1) { background: #002664; }
.hero-chad-stripes span:nth-child(2) { background: #FECB00; }
.hero-chad-stripes span:nth-child(3) { background: #C60C30; }
.hero-chad-stripes:hover span { opacity: 1; }
.hero-left { flex: 1; min-width: 0; }
.hero-right { flex: 0 0 340px; }
.hero-title {
  font-size: 2.8rem; font-weight: 900; line-height: 1.15;
  margin-bottom: 1.25rem; color: #fff;
}
.hero-highlight { color: var(--primary-rouge-fonce); }
.hero-description { font-size: 1.05rem; color: rgba(255,255,255,.78); line-height: 1.7; margin-bottom: 2rem; }
.hero-description strong { color: #fff; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.btn-hero-primary {
  display: inline-block; padding: .85rem 2rem; border-radius: 50px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 1rem;
  border: none; cursor: pointer; transition: var(--transition);
  box-shadow: 0 4px 18px rgba(230,57,70,.3);
}
.btn-hero-primary:hover {
  background: var(--accent-light); color: #fff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 28px rgba(230,57,70,.35);
}
.btn-hero-secondary {
  display: inline-block; padding: .85rem 2rem; border-radius: 50px;
  background: transparent; color: #fff; font-weight: 600; font-size: 1rem;
  border: 2px solid rgba(255,255,255,.45); cursor: pointer; transition: var(--transition);
}
.btn-hero-secondary:hover {
  border-color: #fff; background: rgba(255,255,255,.12); color: #fff;
  transform: translateY(-3px);
}
.hero-scroll-hint { color: rgba(255,255,255,.4); font-size: .85rem; }
.hero-scroll-hint i { animation: bounce 2s infinite; display: inline-block; margin-right: .35rem; }
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
.hero-flyer-frame {
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.2), 0 0 40px rgba(255,255,255,.08);
  border: 3px solid rgba(255,255,255,.2);
  transition: transform .5s cubic-bezier(.4,0,.2,1), box-shadow .5s;
  position: relative;
}
.hero-flyer-frame:hover {
  transform: scale(1.04) rotate(-1.5deg);
  box-shadow: 0 28px 70px rgba(0,0,0,.25), 0 0 50px rgba(255,255,255,.12);
}
.hero-flyer-img { display: block; width: 100%; height: auto; }

/* ========== SERVICES ========== */
.section-services { padding: 5rem 0; background: var(--bg-light); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card {
  background: #fff; border-radius: var(--radius-lg); padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-card); border: 1px solid rgba(50,151,252,.06);
  transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transition: height .4s;
}
.service-card:hover::before { height: 6px; }
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(50,151,252,.12);
}
.service-icon {
  font-size: 2.4rem; color: var(--primary); margin-bottom: 1rem;
  transition: var(--transition);
}
.service-card:hover .service-icon { transform: scale(1.15); color: var(--primary-dark); }
.service-title { font-size: 1.35rem; font-weight: 700; color: var(--text-dark); margin-bottom: .8rem; }
.service-list { list-style: none; padding: 0; }
.service-list li {
  padding: .4rem 0 .4rem 1.4rem; position: relative;
  color: var(--text-mid); font-size: .92rem;
  transition: var(--transition-fast);
}
.service-list li:hover { color: var(--text-dark); padding-left: 1.7rem; }
.service-list li::before {
  content: ''; position: absolute; left: 0; top: .75rem;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary-light);
  transition: var(--transition-fast);
}
.service-list li:hover::before { background: var(--primary); transform: scale(1.3); }
.service-note { font-size: .82rem; color: var(--primary); font-style: italic; margin-top: .8rem; }

/* ========== SPECIALISED SERVICES ========== */
.section-specialised { padding: 5rem 0; background: #fff; }
.specialised-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.spec-card {
  background: var(--bg-light); border-radius: var(--radius-lg); padding: 2rem 1.5rem;
  text-align: center; transition: var(--transition);
  border: 1px solid transparent; position: relative; overflow: hidden;
}
.spec-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(50,151,252,.04), rgba(230,57,70,.03));
  opacity: 0; transition: opacity .4s;
}
.spec-card:hover::after { opacity: 1; }
.spec-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.spec-icon {
  font-size: 2rem; color: var(--accent); margin-bottom: .8rem;
  position: relative; z-index: 1;
  transition: var(--transition);
}
.spec-card:hover .spec-icon { transform: scale(1.2) rotate(-5deg); color: var(--primary); }
.spec-card h4 { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: .5rem; position: relative; z-index: 1; }
.spec-card p { font-size: .88rem; color: var(--text-mid); margin: 0; position: relative; z-index: 1; }

/* ========== ABOUT ========== */
.section-about { padding: 5rem 0; background: var(--bg-light); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-image {
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); transition: var(--transition);
}
.about-image:hover { transform: scale(1.02); box-shadow: 0 18px 40px rgba(50,151,252,.15); }
.about-image img { display: block; width: 100%; height: auto; object-fit: cover; transition: transform .6s; }
.about-image:hover img { transform: scale(1.04); }
.about-full-name { font-size: 1rem; color: var(--primary); font-weight: 600; font-style: italic; margin-bottom: 1rem; }
.about-content p { color: var(--text-mid); font-size: .95rem; line-height: 1.75; }
.about-stats { display: flex; gap: 2rem; margin-top: 2rem; }
.stat-item {
  text-align: center; padding: 1rem;
  border-radius: var(--radius); transition: var(--transition);
}
.stat-item:hover { background: rgba(50,151,252,.06); transform: translateY(-4px); }
.stat-number {
  display: block; font-size: 2rem; font-weight: 800; color: var(--primary);
  transition: var(--transition);
}
.stat-item:hover .stat-number { transform: scale(1.1); }
.stat-label { font-size: .8rem; color: var(--text-light); text-transform: uppercase; letter-spacing: .5px; }

/* ========== CONTACT ========== */
.section-contact { padding: 5rem 0; background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info-block { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.2rem; background: var(--bg-light); border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid transparent;
}
.contact-info-item:hover {
  background: #fff;
  border-color: rgba(50,151,252,.15);
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}
.contact-info-item i {
  font-size: 1.4rem; color: var(--primary); margin-top: .15rem; flex-shrink: 0;
  transition: var(--transition);
}
.contact-info-item:hover i { transform: scale(1.2); color: var(--accent); }
.contact-info-item strong { display: block; color: var(--text-dark); font-size: .9rem; margin-bottom: .2rem; }
.contact-info-item p { margin: 0; font-size: .88rem; color: var(--text-mid); }
.contact-info-item a { color: var(--primary); }
.contact-info-item a:hover { color: var(--primary-dark); }
.contact-cta-card {
  background: linear-gradient(135deg, #075e2a 0%, #128C7E 100%);
  color: #fff; border-radius: var(--radius-xl); padding: 2.5rem 2rem; text-align: center;
  transition: var(--transition);
}
.contact-cta-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(18,140,126,.25); }
.contact-cta-icon { font-size: 3rem; margin-bottom: 1rem; transition: var(--transition); }
.contact-cta-card:hover .contact-cta-icon { transform: scale(1.15) rotate(-8deg); }
.contact-cta-card h3 { color: #fff; margin-bottom: .6rem; }
.contact-cta-card p { color: rgba(255,255,255,.85); font-size: .92rem; }
.btn-whatsapp {
  display: inline-block; margin-top: 1.2rem; padding: .75rem 2rem;
  background: #25D366; color: #fff; border-radius: 50px;
  font-weight: 600; font-size: 1rem; transition: var(--transition);
  box-shadow: 0 4px 16px rgba(37,211,102,.3);
}
.btn-whatsapp:hover {
  background: #1ebd5a; color: #fff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
}

/* ========== FOOTER ========== */
.site-footer {
  background: linear-gradient(160deg, #1a7ae0 0%, #2b8bf2 40%, #3297fc 75%, #4da6fd 100%);
  color: rgba(255,255,255,.9); padding: 3.5rem 0 1.5rem;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 2rem; margin-bottom: 2rem; }
.footer-logo-link img {
  border-radius: 50%; border: 2px solid rgba(255,255,255,.35);
  transition: var(--transition);
}
.footer-logo-link img:hover { border-color: #fff; transform: rotate(10deg) scale(1.1); }
.footer-tagline { font-size: .82rem; color: var(--primary-light); font-weight: 600; margin-top: .6rem; }
.footer-desc { font-size: .82rem; color: rgba(255,255,255,.65); line-height: 1.6; margin-top: .4rem; }
.footer-heading {
  font-size: .95rem; font-weight: 700; color: #fff;
  margin-bottom: .8rem; padding-bottom: .4rem;
  border-bottom: 2px solid rgba(255,255,255,.35);
  display: inline-block;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a {
  color: rgba(255,255,255,.75); font-size: .88rem;
  transition: var(--transition); display: inline-block;
}
.footer-links a:hover { color: #fff; padding-left: 6px; }
.footer-links i { margin-right: .35rem; transition: var(--transition-fast); }
.footer-links a:hover i { color: #fff; }
.footer-contact-list li { font-size: .82rem; display: flex; align-items: flex-start; gap: .4rem; }
.footer-contact-list i { color: rgba(255,255,255,.85); margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
  text-align: center; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.18);
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.55); margin: .2rem 0; }
.footer-dev a { color: rgba(255,255,255,.6); transition: var(--transition); }
.footer-dev a:hover { color: #fff; }

/* ========== FLYER BELT ========== */
.flyer-belt-section { padding: 2.5rem 0 1.5rem; background: var(--bg-light); overflow: hidden; padding-top: 5rem; }
.flyer-belt-header { text-align: center; margin-bottom: 1.5rem; }
.flyer-belt-header h2 { font-size: 1.5rem; color: var(--text-dark); }
.flyer-belt-header i { color: var(--accent); margin-right: .4rem; }
.flyer-belt-wrapper { overflow: hidden; position: relative; }
.flyer-belt-wrapper::before,
.flyer-belt-wrapper::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2;
  pointer-events: none;
}
.flyer-belt-wrapper::before { left: 0; background: linear-gradient(90deg, var(--bg-light), transparent); }
.flyer-belt-wrapper::after { right: 0; background: linear-gradient(-90deg, var(--bg-light), transparent); }
.flyer-belt-track {
  display: flex; gap: 1.5rem; width: max-content;
  animation: scrollBelt 30s linear infinite;
}
.flyer-belt-item {
  flex: 0 0 260px; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-card); transition: var(--transition);
}
.flyer-belt-item:hover {
  transform: scale(1.06) translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.flyer-belt-item img { display: block; width: 100%; height: 340px; object-fit: cover; transition: transform .5s; }
.flyer-belt-item:hover img { transform: scale(1.05); }
@keyframes scrollBelt {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.flyer-belt-track:hover { animation-play-state: paused; }

/* ========== ACTUALITES ========== */
.actualites-section { padding: 4rem 0 5rem; background: #fff; }
.actualites-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.actu-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-card); border: 1px solid rgba(50,151,252,.05);
  transition: var(--transition);
}
.actu-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(50,151,252,.1);
}
.actu-card-img { overflow: hidden; height: 220px; }
.actu-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.actu-card:hover .actu-card-img img { transform: scale(1.08); }
.actu-card-body { padding: 1.3rem 1.4rem; }
.actu-date {
  display: inline-block; font-size: .75rem; font-weight: 600;
  color: var(--primary); background: var(--primary-glow);
  padding: .2rem .6rem; border-radius: 50px; margin-bottom: .5rem;
}
.actu-title { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: .45rem; line-height: 1.35; }
.actu-text { font-size: .88rem; color: var(--text-mid); line-height: 1.6; margin-bottom: .6rem; }
.actu-link {
  font-size: .85rem; font-weight: 600; color: var(--accent);
  transition: var(--transition);
}
.actu-link:hover { color: var(--accent-light); letter-spacing: .3px; }
.actu-link i { margin-left: .3rem; transition: transform .3s; }
.actu-link:hover i { transform: translateX(6px); }

/* ========== LOGIN PAGE ========== */
.login-page {
  display: flex; align-items: center; justify-content: center;
  min-height: 80vh; padding: 2rem;
  background: var(--bg-light);
}
.login-card {
  background: #fff; border-radius: var(--radius-xl); padding: 2.5rem 2.2rem;
  box-shadow: var(--shadow-lg); max-width: 440px; width: 100%;
  border: 1px solid rgba(50,151,252,.08);
}
.login-card h1 { text-align: center; font-size: 1.5rem; color: var(--text-dark); margin-bottom: 1.5rem; }

/* ========== FLASH MESSAGES ========== */
.flash-container { position: fixed; top: 80px; right: 1rem; z-index: 2000; max-width: 400px; }

/* ========== ADMIN ========== */
.display-title { text-align: center; padding: 1.5rem; font-size: 1.4rem; color: var(--text-dark); }

/* ========== PRICE TAGS ========== */
.price-tag {
  float: right; font-size: .8rem; font-weight: 700;
  color: var(--primary); background: rgba(50,151,252,.1);
  padding: .15rem .55rem; border-radius: 50px; white-space: nowrap;
}
.price-tag-header {
  font-size: .75rem; font-weight: 600;
  color: var(--accent); background: rgba(230,57,70,.1);
  padding: .15rem .55rem; border-radius: 50px; margin-left: .5rem;
}
.service-card--featured {
  border: 2px solid var(--primary);
  box-shadow: 0 6px 32px rgba(50,151,252,.15);
}

/* ========== DIPLÔMES & MÉTHODOLOGIE ========== */
.section-diplomes { padding: 4rem 0; background: var(--bg-light); }
.diplomes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.diplome-block {
  background: #fff; border-radius: var(--radius-xl); padding: 2rem 1.8rem;
  box-shadow: var(--shadow); border: 1px solid rgba(50,151,252,.08);
  transition: var(--transition);
}
.diplome-block:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
}
.diplome-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; color: #fff; font-size: 1.3rem;
}
.diplome-block h3 {
  font-size: 1.15rem; font-weight: 700; color: var(--text-dark); margin-bottom: .8rem;
}
.diplome-block ul { list-style: none; padding: 0; margin: 0; }
.diplome-block ul li {
  padding: .4rem 0; font-size: .92rem; color: var(--text-mid);
  display: flex; align-items: center; gap: .5rem;
}
.diplome-block ul li i { color: var(--primary); font-size: .8rem; }

/* ========== INSCRIPTION ========== */
.section-inscription {
  padding: 4rem 0;
  background:
    linear-gradient(160deg, rgba(50,151,252,.06) 0%, rgba(230,57,70,.04) 100%);
}
.inscription-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.inscription-card {
  background: #fff; border-radius: var(--radius-xl); padding: 2rem 1.8rem;
  box-shadow: var(--shadow); border: 1px solid rgba(50,151,252,.08);
  transition: var(--transition); text-align: center;
}
.inscription-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
}
.inscription-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; color: #fff; font-size: 1.4rem;
}
.inscription-card h3 {
  font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 1rem;
}
.inscription-card ul {
  list-style: none; padding: 0; margin: 0; text-align: left;
}
.inscription-card ul li {
  padding: .35rem 0; font-size: .9rem; color: var(--text-mid);
  border-bottom: 1px dashed rgba(0,0,0,.06);
}
.inscription-card ul li:last-child { border-bottom: none; }
.inscription-vagues {
  display: flex; gap: 1rem; justify-content: center; margin-bottom: 1rem;
}
.vague-item {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(50,151,252,.08); border-radius: var(--radius);
  padding: .6rem 1.2rem;
}
.vague-label {
  font-size: .75rem; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: .5px;
}
.vague-date { font-size: 1.05rem; font-weight: 800; color: var(--text-dark); }
.inscription-parcours {
  font-size: .92rem; color: var(--text-mid); margin-top: .5rem;
}
.paiement-details { display: flex; flex-direction: column; gap: .8rem; }
.paiement-item {
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(50,151,252,.06); border-radius: var(--radius);
  padding: .7rem 1rem;
}
.paiement-label { font-size: .9rem; color: var(--text-mid); }
.paiement-amount {
  font-size: 1.05rem; font-weight: 800; color: var(--primary);
}

/* ========== PARTENAIRES ========== */
.section-partenaires { padding: 4rem 0; background: #fff; }
.partenaires-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.partenaire-item {
  display: flex; align-items: center; gap: .8rem;
  background: var(--bg-light); border-radius: var(--radius);
  padding: 1rem 1.2rem; transition: var(--transition);
  border: 1px solid transparent;
}
.partenaire-item:hover {
  border-color: var(--primary); transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.partenaire-item i {
  font-size: 1.3rem; color: var(--primary); flex-shrink: 0;
}
.partenaire-item span {
  font-size: .88rem; font-weight: 500; color: var(--text-dark);
  overflow-wrap: anywhere;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .specialised-grid { grid-template-columns: repeat(2, 1fr); }
  .diplomes-grid { grid-template-columns: repeat(2, 1fr); }
  .inscription-grid { grid-template-columns: repeat(2, 1fr); }
  .partenaires-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 2.3rem; }
  .hero-right { flex: 0 0 280px; }
}

@media (max-width: 768px) {
  body { padding-top: 66px; }
  .brand-text { font-size: .95rem; }
  .hero-section { padding: 3.5rem 0 3rem; min-height: auto; }
  .hero-container { flex-direction: column; text-align: center; }
  .hero-left { order: 1; }
  .hero-right { order: 0; flex: 0 0 auto; max-width: 280px; margin: 0 auto 2rem; }
  .hero-title { font-size: 2rem; }
  .hero-buttons { justify-content: center; }
  .hero-scroll-hint { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .specialised-grid { grid-template-columns: repeat(2, 1fr); }
  .diplomes-grid { grid-template-columns: 1fr; }
  .inscription-grid { grid-template-columns: 1fr; }
  .partenaires-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { max-height: 350px; }
  .contact-grid { grid-template-columns: 1fr; }
  .actualites-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-links a { overflow-wrap: anywhere; }
  .footer-contact-list li { overflow-wrap: anywhere; }
  .section-title { font-size: 1.8rem; }
  .flyer-belt-item { flex: 0 0 200px; }
  .flyer-belt-item img { height: 260px; }
}

@media (max-width: 576px) {
  body { padding-top: 60px; }
  .brand-text { font-size: .82rem; letter-spacing: 0; line-height: 1.05; }
  .navbar-logo { width: 36px; height: 36px; }
  .hero-title { font-size: 1.6rem; }
  .hero-description { font-size: .92rem; }
  .btn-hero-primary, .btn-hero-secondary { padding: .7rem 1.4rem; font-size: .9rem; }
  .specialised-grid { grid-template-columns: 1fr; }
  .partenaires-grid { grid-template-columns: 1fr; }
  .partenaire-item { padding: .9rem 1rem; }
  .actualites-grid { grid-template-columns: 1fr; }
  .about-stats { flex-direction: column; gap: 1rem; }
  .stat-number { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .inscription-vagues { flex-direction: column; gap: .6rem; }
  .paiement-item { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .section-title { font-size: 1.5rem; }
  .service-card { padding: 1.5rem 1.2rem; }
  .flyer-belt-item { flex: 0 0 180px; }
  .flyer-belt-item img { height: 230px; }
  .actu-card-img { height: 180px; }
}

@media (max-width: 400px) {
  .brand-text { font-size: .74rem; line-height: 1.05; }
  .navbar-logo { width: 32px; height: 32px; }
  .hero-title { font-size: 1.4rem; }
  .hero-right { max-width: 220px; }
  .section-title { font-size: 1.3rem; }
  .actu-card-img { height: 150px; }
  .flyer-belt-item { flex: 0 0 150px; }
  .flyer-belt-item img { height: 200px; }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
  .reveal { opacity: 1; transform: none; }
}
