:root{
  --blue:#0B3D91;
  --gold:#F5C400;
  --bg:#f7f9fc;
  --card:#ffffff;
  --text:#222222;
}

/* ========================== */
/* BANDEAU INSTITUTIONNEL CNOSCG */
/* ========================== */
.cnoscg-banner {
  width: 100%;
  background: var(--blue);
  color: white;
  text-align: center;
  padding: 10px 15px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  animation: bannerFade 1.2s ease-out forwards;
  text-transform: uppercase;
  border-bottom: 4px solid var(--gold);
}

.cnoscg-banner::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #009639, #FCD116, #CE1126);
}

@keyframes bannerFade {
  from { opacity: 0; transform: translateY(-15px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* RESET SIMPLE */
*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

body{
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* HEADER INSTITUTIONNEL AVEC LOGO */
.header-block {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px auto 10px auto;
  max-width: 1100px;
  padding: 10px 20px;
}

/* ANIMATION DU TITRE PRINCIPAL */
.main-title {
  font-size: 32px;
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;

  position: relative;
  opacity: 0;
  animation: titleFade 1.2s ease-out forwards 0.5s;
}

.main-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  animation: underlineGrow 1s ease-out forwards 1s;
}

@keyframes titleFade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes underlineGrow {
  from { width: 0%; }
  to   { width: 100%; }
}

.logo-cnoscg-small {
  height: 80px;
}

.subtitle {
  font-size: 17px;
  color: #444;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* SECTION HERO */
.hero{
  background: linear-gradient(135deg, #0B3D91, #2f6ed8);
  color:white;
  padding: 40px 20px 50px 20px;
}

.hero-inner{
  max-width:1100px;
  margin:auto;
  display:flex;
  flex-wrap:wrap;
  gap:30px;
  align-items:flex-start;
}

.hero-text{
  flex:1 1 320px;
}

.hero-text h2{
  font-size:30px;
  margin-bottom:15px;
}

.hero-text p{
  font-size:16px;
  max-width:600px;
}

.hero-actions{
  margin-top:20px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.hero-info{
  flex:0.9 1 260px;
  background:rgba(255,255,255,0.08);
  border-radius:12px;
  padding:18px 20px;
}

.hero-badge{
  display:inline-block;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(245,196,0,0.95);
  color:#111;
  font-weight:700;
  margin-bottom:10px;
}

.hero-list{
  list-style:disc;
  margin-left:20px;
  font-size:14px;
}

/* BOUTONS */
.btn{
  display:inline-block;
  padding:10px 20px;
  border-radius:999px;
  font-weight:600;
  text-decoration:none;
  font-size:15px;
  cursor:pointer;
  border:2px solid transparent;
}

.btn.primary{
  background:white;
  color:var(--blue);
}

.btn.secondary{
  background:transparent;
  color:white;
  border-color:white;
}

.logo-cnoscg {
  height: 80px;
  margin-bottom: 15px;
}

/* ================================================ */
/* SECTION MOT DU PRÉSIDENT - PREMIUM INSTITUTIONNEL */
/* ================================================ */
.president-section-institutionnel {
  background: white;
  padding: 70px 20px;
  border-top: 6px solid var(--blue);
  opacity: 0;
  animation: fadeInPresident 1.2s ease-out forwards;
}

@keyframes fadeInPresident {
  from { opacity: 0; transform: translateY(25px); }
  to   { opacity: 1; transform: translateY(0); }
}

.president-header {
  text-align: center;
  margin-bottom: 40px;
}

.president-header h2 {
  font-size: 32px;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.president-wrapper {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 35px;
  background: #ffffff;
  border-radius: 16px;
  border-left: 7px solid var(--blue);
  border-right: 7px solid var(--gold);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.president-photo-box {
  width: 50%;
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  padding: 12px;
  background: white;
  border-radius: 10px;
  border: 3px solid var(--blue);
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.guinea-flag-bar {
  position: absolute;
  left: -14px;
  top: 0;
  width: 14px;
  height: 100%;
  border-radius: 6px 0 0 6px;
  background: linear-gradient(to bottom, #009639, #FCD116, #CE1126);
}

.president-photo-institutionnel {
  width: 100%;
  border-radius: 6px;
  display: block;
  opacity: 0;
  animation: fadePhotoPresident 1.3s ease-out forwards 0.3s;
}

@keyframes fadePhotoPresident {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

.president-speech {
  width: 50%;
  font-size: 20px;
  color: #222;
  line-height: 1.8;
  text-align: justify;
  font-family: "Georgia", serif;
  border-left: 5px solid var(--gold);
  padding-left: 25px;
  opacity: 0;
  animation: slideInPresident 1.4s ease-out forwards 0.45s;
}

@keyframes slideInPresident {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

.president-signature {
  margin-top: 25px;
  color: var(--blue);
  font-size: 20px;
  font-weight: 700;
  font-family: "Georgia", serif;
  position: relative;
  display: inline-block;
}

.president-signature::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--blue), var(--gold));
  border-radius: 3px;
}

@media (max-width: 900px) {
  .president-wrapper {
    flex-direction: column;
    text-align: center;
    border-left: none;
    border-right: none;
    border-top: 7px solid var(--blue);
    border-bottom: 7px solid var(--gold);
    padding: 25px;
  }

  .president-photo-box,
  .president-speech {
    width: 100%;
  }

  .president-photo-institutionnel {
    max-width: 280px;
    margin: auto;
  }

  .guinea-flag-bar {
    height: 180px;
    left: -10px;
  }

  .president-speech {
    border-left: none;
    border-top: 5px solid var(--gold);
    padding-left: 0;
    padding-top: 20px;
  }
}

/* ------------------------------------- */
/* SECTION VERIFICATION OBSERVATEUR */
/* ------------------------------------- */
.verif-section{
  padding:50px 20px;
}

.verif-container{
  max-width:900px;
  margin:auto;
}

.verif-container h2{
  font-size:26px;
  color:var(--blue);
  margin-bottom:8px;
}

.verif-intro{
  font-size:15px;
  color:#555;
  margin-bottom:20px;
}

.card{
  background:var(--card);
  border-radius:12px;
  padding:20px;
  box-shadow:0 4px 12px rgba(11,61,145,0.08);
}

.form-row{
  display:flex;
  gap:10px;
  margin-top:10px;
}

input[type="tel"]{
  flex:1;
  padding:10px 12px;
  border-radius:8px;
  border:1px solid #ccd6f0;
  font-size:15px;
}

.small{
  font-size:13px;
  color:#666;
}

.result{
  margin-top:18px;
  display:none;
  align-items:center;
  gap:18px;
}

.avatar{
  width:110px;
  height:110px;
  border-radius:8px;
  object-fit:cover;
  border:2px solid #eef2ff;
}

.info{
  flex:1;
}

.badge{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  background:var(--gold);
  color:#111;
  font-weight:700;
  margin-bottom:6px;
  font-size:13px;
}

.success-text{
  font-size:14px;
  color:#1a6e2b;
  margin-bottom:6px;
}

.field{
  margin:3px 0;
}

.alert{
  display:none;
  margin-top:12px;
  padding:10px 12px;
  border-radius:8px;
  font-size:14px;
}

.alert-warning{
  background:#fff7e6;
  border:1px solid #ffe3a3;
  color:#7a4b00;
}

.alert-error{
  background:#ffecec;
  border:1px solid #ffb3b3;
  color:#8a1f1f;
}

/* SECTION DOCUMENTS */
.docs-section{
  background:white;
  padding:50px 20px;
}

.docs-container{
  max-width:1100px;
  margin:auto;
}

.docs-container h2{
  font-size:26px;
  color:var(--blue);
  margin-bottom:8px;
}

.docs-intro{
  font-size:15px;
  color:#555;
  margin-bottom:22px;
}

.docs-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;
}

.doc-card{
  background:var(--card);
  border-radius:10px;
  padding:18px;
  box-shadow:0 3px 10px rgba(0,0,0,0.05);
}

.doc-card h3{
  font-size:18px;
  margin-bottom:6px;
  color:#222;
}

.doc-card p{
  font-size:14px;
  color:#555;
  margin-bottom:10px;
}

.doc-link{
  font-size:14px;
  color:var(--blue);
  text-decoration:none;
  font-weight:600;
}

/* SECTION MISSION */
.mission-section{
  padding:40px 20px 60px 20px;
}

.mission-container{
  max-width:900px;
  margin:auto;
}

.mission-container h2{
  font-size:24px;
  color:var(--blue);
  margin-bottom:10px;
}

.mission-container p{
  font-size:15px;
  color:#444;
}

/* FOOTER */
.footer{
  background:#0B3D91;
  color:white;
  padding:18px 20px;
}

.footer-inner{
  max-width:1100px;
  margin:auto;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  font-size:13px;
}

.footer-logo{
  height:32px;
  margin-right:8px;
}

.footer-left{
  display:flex;
  align-items:center;
  gap:6px;
}

/* RESPONSIVE GLOBAL */
@media (max-width: 900px) {
  .president-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .header-block {
    flex-direction: column;
    text-align: center;
  }

  .logo-cnoscg-small {
    height: 70px;
  }

  .main-title {
    font-size: 26px;
  }

  .hero-inner{
    flex-direction:column;
  }

  .form-row{
    flex-direction:column;
  }
}

/* SECTION ÉQUIPE DE COORDINATION */
.team-section {
  padding: 50px 20px;
  background: #ffffff;
  text-align: center;
}

.team-section h2 {
  font-size: 28px;
  color: #0B3D91;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.team-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 15px;
}

.team-carousel::-webkit-scrollbar {
  height: 8px;
}

.team-carousel::-webkit-scrollbar-thumb {
  background: #0B3D91;
  border-radius: 10px;
}

.team-card {
  background: #f7f9fc;
  min-width: 240px;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.team-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

.team-card h3 {
  margin: 10px 0 4px;
  font-size: 18px;
  color: #0B3D91;
}

.team-card p {
  color: #444;
  font-size: 14px;
  margin: 0;
}

@media (max-width: 700px) {
  .team-card {
    min-width: 200px;
  }
}

/* =============================== */
/* HEADER PREMIUM DÉFILANT — V3 LUXE */
/* =============================== */

/* Conteneur global */
.header-block {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    padding: 12px 0;
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 0 15px rgba(245,196,0,0.45),
                0 0 30px rgba(245,196,0,0.30);
}

/* Bande défilante */
.header-marquee {
    display: inline-flex;
    align-items: center;
    gap: 40px;

    animation: marqueeSlide 30s linear infinite;
}

/* Duplication fluide */
.header-marquee > * {
    margin-right: 40px;
}

/* Animation infinie */
@keyframes marqueeSlide {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Glow doré luxe */
.header-block:hover {
    box-shadow: 0 0 22px rgba(245,196,0,0.7),
                0 0 40px rgba(245,196,0,0.55);
}

.header-marquee:hover {
    animation-play-state: paused;
}

/* VERSION MOBILE */
@media (max-width: 700px) {

    .header-marquee {
        animation: marqueeSlide 18s linear infinite;
        gap: 25px;
    }

    /* Sur mobile : éviter pause tactile */
    .header-marquee:hover {
        animation-play-state: running;
    }
}
