:root{
  --vert:#064f25;
  --vert-2:#0a7a36;
  --jaune:#d6a900;
  --jaune-2:#f2c300;
  --rouge:#9f151c;
  --rouge-2:#c91d26;

  --fond:#07140c;
  --fond-soft:#0d1f13;
  --card:#ffffff;
  --texte:#101827;
  --muted:#5f6875;
  --blanc:#ffffff;

  --ombre:0 18px 45px rgba(0,0,0,.22);
  --radius:22px;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Poppins', Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(10,122,54,.35), transparent 30%),
    radial-gradient(circle at top right, rgba(159,21,28,.25), transparent 32%),
    linear-gradient(135deg,#07140c,#10130b);
  color:var(--texte);
  line-height:1.6;
  overflow-x:hidden;
}

a{
  color:inherit;
}

img{
  max-width:100%;
  display:block;
}

/* HEADER */

.site-header,
header{
  width:100%;
  position:sticky;
  top:0;
  z-index:999;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:13px 28px;
  background:linear-gradient(90deg,var(--vert),var(--jaune),var(--rouge));
  box-shadow:0 10px 30px rgba(0,0,0,.35);
  border-bottom:1px solid rgba(255,255,255,.18);
}

/* LOGO */

.logo{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  color:var(--blanc);
  min-width:260px;
}

.logo-img{
  width:74px;
  height:54px;
  object-fit:contain;
  background:rgba(255,255,255,.95);
  padding:6px 10px;
  border-radius:16px;
  box-shadow:0 8px 20px rgba(0,0,0,.25);
}

.logo-text{
  display:flex;
  flex-direction:column;
  line-height:1.15;
}

.logo-text strong{
  font-size:1.45rem;
  font-weight:950;
  color:var(--blanc);
  letter-spacing:.3px;
}

.logo-text span{
  font-size:.8rem;
  color:#fff7c2;
  font-weight:700;
}

/* NAVIGATION */

.nav-menu,
nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:9px;
}

.nav-menu a,
nav a{
  text-decoration:none;
  color:var(--blanc);
  font-weight:800;
  font-size:.92rem;
  padding:10px 13px;
  border-radius:999px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.18);
  transition:.25s ease;
  white-space:nowrap;
}

.nav-menu a:hover,
.nav-menu a.active,
nav a:hover{
  background:var(--blanc);
  color:var(--vert);
  transform:translateY(-2px);
}

/* HAMBURGER */

.hamburger,
#hamburger{
  display:none;
  border:0;
  background:rgba(0,0,0,.25);
  color:var(--blanc);
  width:50px;
  height:50px;
  border-radius:15px;
  font-size:1.8rem;
  cursor:pointer;
  align-items:center;
  justify-content:center;
}

/* HERO */

main{
  width:100%;
}

.hero{
  min-height:72vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:95px 20px 75px;
  background:
    linear-gradient(rgba(7,20,12,.72),rgba(7,20,12,.82)),
    radial-gradient(circle at 20% 15%,rgba(214,169,0,.35),transparent 32%),
    radial-gradient(circle at 80% 20%,rgba(201,29,38,.28),transparent 32%),
    linear-gradient(135deg,var(--vert),#111,var(--rouge));
}

.hero-content{
  width:min(1050px,100%);
  margin:auto;
}

.badge{
  display:inline-block;
  color:#fff7c2;
  background:rgba(0,0,0,.28);
  border:1px solid rgba(242,195,0,.55);
  padding:9px 18px;
  border-radius:999px;
  font-weight:900;
  margin-bottom:18px;
}

.hero h1{
  font-size:clamp(2.1rem,6vw,4.5rem);
  line-height:1.05;
  color:var(--blanc);
  margin-bottom:18px;
  font-weight:950;
  text-shadow:0 6px 25px rgba(0,0,0,.5);
}

.hero p{
  max-width:820px;
  margin:0 auto 22px;
  font-size:1.1rem;
  color:#f0f5ec;
}

/* BOUTONS */

.hero-actions,
.hero-buttons{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:14px;
  margin:30px 0;
}

.btn,
.hero button,
.quick-links a,
.download-btn,
.install-buttons button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-decoration:none;
  border:none;
  border-radius:999px;
  padding:14px 24px;
  cursor:pointer;
  font-weight:900;
  transition:.25s ease;
}

.btn:hover,
.hero button:hover,
.quick-links a:hover,
.download-btn:hover,
.install-buttons button:hover{
  transform:translateY(-3px);
}

.primary{
  background:linear-gradient(135deg,var(--vert-2),var(--vert));
  color:white;
  box-shadow:0 12px 25px rgba(10,122,54,.35);
}

.secondary{
  background:linear-gradient(135deg,var(--jaune-2),var(--jaune));
  color:#171000;
  box-shadow:0 12px 25px rgba(214,169,0,.28);
}

.whatsapp{
  background:linear-gradient(135deg,var(--rouge-2),var(--rouge));
  color:white;
  box-shadow:0 12px 25px rgba(201,29,38,.32);
}

/* AUDIO / DOWNLOAD */

.media-box{
  max-width:590px;
  margin:22px auto 0;
  padding:18px;
  border-radius:var(--radius);
  background:rgba(255,255,255,.92);
  box-shadow:var(--ombre);
}

audio{
  width:100%;
  display:block;
  margin:0 auto 14px;
  border-radius:12px;
}

.download-btn{
  width:100%;
  background:linear-gradient(90deg,var(--vert),var(--jaune),var(--rouge));
  color:white;
}

/* STATS */

.stats{
  width:min(1200px,100%);
  margin:0 auto;
  padding:60px 20px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:20px;
}

.stat{
  border:0;
  border-radius:var(--radius);
  background:linear-gradient(180deg,#ffffff,#f8f8f0);
  color:var(--texte);
  padding:26px 18px;
  min-height:145px;
  box-shadow:var(--ombre);
  cursor:pointer;
  transition:.25s ease;
  border-top:7px solid var(--vert);
}

.stat:nth-child(3n+2){
  border-top-color:var(--jaune);
}

.stat:nth-child(3n+3){
  border-top-color:var(--rouge);
}

.stat:hover{
  transform:translateY(-8px);
}

.number,
.stat .number{
  display:block;
  font-size:2rem;
  font-weight:950;
  color:var(--vert);
  margin-bottom:8px;
}

.stat p{
  color:var(--muted);
  font-weight:800;
}

/* PROFESSEURS */

.professeurs{
  padding:75px 20px;
  background:
    linear-gradient(rgba(6,79,37,.92),rgba(6,79,37,.96)),
    radial-gradient(circle at top right,rgba(214,169,0,.3),transparent 32%);
  text-align:center;
}

.section-title{
  max-width:850px;
  margin:0 auto 42px;
}

.section-title span{
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:var(--jaune-2);
}

.section-title h2,
.professeurs h2{
  font-size:clamp(1.8rem,4vw,3rem);
  margin:8px 0 12px;
  color:white;
}

.section-title p,
.professeurs p{
  color:rgba(255,255,255,.88);
  max-width:760px;
  margin:auto;
}

.prof-list{
  width:min(1200px,100%);
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:24px;
}

.prof{
  background:white;
  color:var(--texte);
  border-radius:var(--radius);
  padding:14px;
  box-shadow:var(--ombre);
  transition:.25s ease;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.4);
}

.prof:hover{
  transform:translateY(-8px);
}

.prof img{
  width:100%;
  height:265px;
  object-fit:cover;
  object-position:center top;
  border-radius:18px;
  margin-bottom:14px;
  background:#eee;
  filter:brightness(1.08) contrast(1.05) saturate(1.06);
}

.prof h3{
  color:var(--vert);
  font-size:1.1rem;
  margin-bottom:6px;
}

.prof p{
  color:var(--muted);
  font-size:.95rem;
}

/* FOOTER */

footer{
  text-align:center;
  padding:30px 15px;
  background:linear-gradient(90deg,var(--vert),var(--jaune),var(--rouge));
  color:white;
  font-weight:800;
}

footer p{
  color:white;
  margin:4px 0;
}

footer a{
  color:white;
  font-weight:950;
}

/* ANCIENNES CLASSES */

.install-app{
  background:white;
  padding:50px 20px;
  border-radius:var(--radius);
  margin:40px auto;
  max-width:850px;
  text-align:center;
  box-shadow:var(--ombre);
}

.install-app h2{
  color:var(--vert);
}

.install-app p{
  color:var(--muted);
}

.install-buttons{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:16px;
}

.stat.simulateur{
  background:linear-gradient(135deg,var(--vert),var(--jaune));
  color:#111;
  border-top-color:var(--rouge);
}

.pdf.et.audio{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:linear-gradient(135deg,var(--jaune),var(--rouge));
  color:white;
  border-top-color:var(--vert);
}

.pdf.et.audio img{
  width:30px;
  height:30px;
}

/* ACCESSIBILITÉ */

a:focus,
button:focus,
nav a:focus{
  outline:3px solid var(--jaune-2);
  outline-offset:3px;
}

/* RESPONSIVE */

@media(max-width:1050px){
  .site-header,
  header{
    padding:12px 16px;
  }

  .hamburger,
  #hamburger{
    display:flex;
  }

  .nav-menu,
  nav{
    position:absolute;
    top:86px;
    right:14px;
    width:min(330px,calc(100vw - 28px));
    display:none;
    flex-direction:column;
    align-items:stretch;
    background:#fff;
    padding:18px;
    border-radius:22px;
    box-shadow:0 22px 50px rgba(0,0,0,.35);
    border:3px solid var(--jaune);
  }

  .nav-menu.show,
  nav.show{
    display:flex;
  }

  .nav-menu a,
  nav a{
    color:var(--vert);
    background:#f4fff7;
    padding:13px 16px;
    border-radius:14px;
  }

  .nav-menu a:hover,
  .nav-menu a.active,
  nav a:hover{
    background:linear-gradient(90deg,var(--vert),var(--jaune));
    color:white;
  }

  .logo{
    min-width:auto;
  }

  .logo-img{
    width:68px;
    height:50px;
  }

  .logo-text strong{
    font-size:1.15rem;
  }

  .logo-text span{
    display:none;
  }

  .stats{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:600px){
  .site-header,
  header{
    gap:10px;
  }

  .logo-img{
    width:62px;
    height:46px;
  }

  .logo-text strong{
    font-size:1rem;
  }

  .hero{
    min-height:auto;
    padding:70px 16px 50px;
  }

  .hero h1{
    font-size:2.05rem;
  }

  .hero p{
    font-size:1rem;
  }

  .hero-actions,
  .hero-buttons{
    flex-direction:column;
  }

  .btn,
  .download-btn,
  .hero button,
  .quick-links a{
    width:100%;
  }

  .stats{
    grid-template-columns:1fr;
    padding:40px 16px;
  }

  .prof-list{
    grid-template-columns:1fr;
  }

  .prof{
    max-width:350px;
    margin:auto;
  }

  .prof img{
    height:285px;
  }

  .install-buttons{
    flex-direction:column;
  }
}

.ios-install-banner{
  position:fixed;
  left:15px;
  right:15px;
  bottom:15px;
  z-index:2000;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:14px 16px;
  border-radius:18px;
  background:#ffffff;
  color:#111827;
  box-shadow:0 20px 45px rgba(0,0,0,.35);
  border:3px solid var(--jaune);
}

.ios-install-banner strong{
  color:var(--vert);
}

.ios-install-banner p{
  margin:4px 0 0;
  color:#444;
  font-size:.9rem;
}

.ios-install-banner button{
  border:none;
  border-radius:999px;
  background:var(--rouge);
  color:white;
  padding:10px 14px;
  font-weight:800;
  cursor:pointer;
}

@media(max-width:600px){
  .ios-install-banner{
    flex-direction:column;
    align-items:flex-start;
  }

  .ios-install-banner button{
    width:100%;
  }
}

.adnpme-social-footer{
  margin-top:70px;
  padding:60px 25px;
  background:linear-gradient(135deg,#064f25,#d6a900,#9f151c);
  border-radius:35px 35px 0 0;
  position:relative;
  overflow:hidden;
}

.adnpme-social-footer::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(rgba(0,0,0,.25),rgba(0,0,0,.45));
}

.social-title{
  position:relative;
  z-index:2;
  text-align:center;
  margin-bottom:35px;
  color:white;
}

.social-title span{
  display:inline-block;
  padding:10px 20px;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  font-weight:900;
  margin-bottom:18px;
  backdrop-filter:blur(10px);
}

.social-title h2{
  font-size:2rem;
  margin-bottom:15px;
  font-weight:950;
}

.social-footer-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:22px;
}

.social-footer-card{
  display:flex;
  align-items:center;
  gap:18px;
  padding:22px;
  border-radius:24px;
  text-decoration:none;
  color:white;
  transition:.35s;
  box-shadow:0 18px 40px rgba(0,0,0,.22);
}

.social-footer-card:hover{
  transform:translateY(-8px) scale(1.02);
}

.social-logo{
  width:58px;
  height:58px;
  object-fit:contain;
  background:white;
  padding:10px;
  border-radius:18px;
}

.whatsapp-card{
  background:linear-gradient(135deg,#128c45,#25d366);
}

.tiktok-card{
  background:linear-gradient(135deg,#111,#ff0050);
}

.youtube-card{
  background:linear-gradient(135deg,#a10000,#ff0000);
}

.social-footer-card h3{
  margin:0 0 8px;
  font-size:1.05rem;
  font-weight:950;
}

.social-footer-card p{
  margin:0;
  line-height:1.6;
  font-size:.92rem;
  opacity:.95;
}

@media(max-width:700px){
  .adnpme-social-footer{
    padding:45px 18px;
  }

  .social-title h2{
    font-size:1.6rem;
  }

  .social-footer-grid{
    grid-template-columns:1fr;
  }
}

.bulletin{
  position:relative;
  overflow:hidden;
}

.watermark{
  position:absolute;
  top:45%;
  left:50%;
  transform:translate(-50%, -50%) rotate(-28deg);
  font-size:clamp(3rem, 10vw, 7rem);
  font-weight:950;
  color:rgba(6,79,37,.08);
  white-space:nowrap;
  pointer-events:none;
  z-index:0;
}

.bulletin > *:not(.watermark){
  position:relative;
  z-index:2;
}

.bulletin-head{
  text-align:center;
  margin-bottom:18px;
}

.bulletin-head p{
  color:#5b6472;
  font-weight:800;
}

.infos-bulletin{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:10px;
  background:#f8fafc;
  padding:14px;
  border-radius:18px;
  margin-bottom:16px;
}

.infos-bulletin p{
  margin:0;
  text-align:left;
}