 :root {
      --navy:#1C2429;
      --gold:#F5C542;
      --bronze:#CD7F32;
      --gold-soft:#FFF1B8;
      --gray:#4F4F54;
      --light:#F4F5F6;
    }

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

    body {
      font-family: 'Raleway', sans-serif;
      background:#fff;
      color:var(--gray);
      line-height:1.65;
    }

    /* ===== HEADER ===== */
    header {
      position:fixed;
      top:0; left:0;
      width:100%;
      background:#0b1425 /*var(--navy)*/;
      z-index:1000;
    }

    .nav {
      max-width:1200px;
      margin:auto;
      padding:14px 20px;
      display:flex;
      align-items:center;
      justify-content:space-between;
    }


 .nav-links {
  display:flex;
  align-items:center;
  gap:35px;
}

.nav-item {
  display:flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  color:#fff;
  font-weight:500;
  font-size:14px;
  opacity:.85;
  transition:.3s ease;
}

.nav-item img {
  width:18px;
  height:18px;
}

.nav-item:hover {
  color:#d29b2d;
  opacity:1;
}


/* Mobile */
@media (max-width: 900px){

  .menu {
    align-items: flex-start;   /* ⬅️ au lieu de center */
    padding-left: 30px;
  }

  .menu a {
    width: 100%;
    text-align: left;
  }

  .nav-item {
    display: flex;
    align-items: center;       /* ⬅️ icône + texte bien centrés verticalement */
    gap: 14px;
    font-size: 18px;
  }

  .nav-item img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
  }

  .menu .cta {
    margin-top: 20px;
    align-self: stretch;
    text-align: center;
  }
}
    .brand {
      display:flex;
      align-items:center;
      gap:16px;
    }

    .brand img.logo {
      height:42px;
    }

    .brand img.safe {
      height:43px;
     }

    .nav a.cta {
      background:var(--bronze);
      color:#000;
      padding:10px 18px;
      text-decoration:none;
      font-weight:600;
      font-size:14px;
    }

    /* ===== HERO ===== */
    .hero {
      /*padding:140px 20px 100px;*/
      padding: 90px 20px 40px;
      text-align:center;
     /* background:linear-gradient(to bottom,#fff,var(--light));*/
        background: linear-gradient(2deg, rgb(189 194 197 / 11%) 0%, rgb(255 255 255 / 23%) 55%, rgb(251 251 251 / 31%) 100%), url(/assets/formations/hero-event.png) center / cover no-repeat;

    }

    .hero h1 {
      font-weight:300;
      font-size:44px;
      margin-bottom:22px;
      letter-spacing:.5px;
    }

    .hero h1 span {
      color:var(--gold);
      font-weight:600;
    }

    .hero p {
      max-width:760px;
      margin:auto;
      font-size:19px;
      margin-bottom:42px;
      color:white;
    }

    .hero .cta-main {
      background:var(--navy);
      color:#fff;
      padding:14px 34px;
      text-decoration:none;
      font-weight:600;
      font-size:16px;
    }

    /* ===== SECTIONS ===== */
    section {
      padding:80px 20px;
    }

    .container {
      max-width:1200px;
      margin:auto;
      padding: 0 10px;
    }

    .section-title {
      text-align:center;
      margin-bottom:60px;
    }

    .section-title h2 {
      font-weight:300;
      font-size:34px;
      margin-bottom:12px;
    }

    .section-title span {
      color:var(--gold);
      font-weight:600;
    }

    /* ===== GRID / CARDS ===== */
    .grid-3 {
      display:grid;
      grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
      gap:40px;
    }

    .card {
      border:1px solid #e6e6e6;
      padding:42px 32px;
      text-align:center;
      background:#fff;
    }

    .card i {
      font-size:38px;
      color:var(--gold);
      margin-bottom:22px;
    }

    .card h3 {
      font-weight:600;
      margin-bottom:14px;
      color:var(--navy);
    }

    /* ===== METHOD ===== */
    .method {
      background:var(--light);
      text-align:center;
    }

    .rings {
      display:flex;
      justify-content:center;
      gap:22px;
      margin-top:40px;
      flex-wrap:wrap;
    }

    .ring {
      width:140px;
      height:140px;
      border-radius:50%;
      border:2px solid var(--gold);
      display:flex;
      align-items:center;
      justify-content:center;
      font-weight:600;
      background:#fff;
      color:var(--navy);
      letter-spacing:.5px;
    }

    /* ===== EVENTS ===== */
    .events {
      background:#fff;
    }

    /* ===== CTA ===== */
    .cta {
      background:var(--navy);
      color:#fff;
      text-align:center;
    }

    .cta h2 {
      font-weight:300;
      margin-bottom:24px;
      letter-spacing:.5px;
    }

    .cta a {
      background:var(--gold);
      color:#000;
      padding:14px 34px;
      text-decoration:none;
      font-weight:600;
    }

       /* ---------- Footer ---------- */
    footer{
      background:#111;
      color:#aaa;
      padding:28px 0;
      font-size:13px;
    }
    footer a {
      text-decoration:none;
    }
    .footer-grid{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:14px;
      flex-wrap:wrap;
    }
    .footer-grid a{ color:#ddd; opacity:.9; }
    .footer-grid a:hover{ color:var(--gold); opacity:1; }


    .menu {
  display:flex;
  align-items:center;
  gap:28px;
}

/* Desktop menu - */
/* -------------- */
@media (min-width: 901px) {
  .menu {
    display: flex;
    align-items: center;
    gap: 28px;
    position: static;
    height: auto;
    width: auto;
    background: transparent;
    padding: 0;
  }
}
*/

.menu a {
  color:#fff;
  text-decoration:none;
  font-size:14px;
  font-weight:500;
  letter-spacing:0.4px;
}

.menu a:hover {
  color:var(--gold);
}

.menu .cta {
  background:var(--gold);
  color:#000;
  padding:10px 18px;
  font-weight:600;
}

 .menu a.active {
    color:var(--gold);
  } 


    @media(max-width:768px){
      .hero h1 { font-size:30px; }
      section { padding:60px 20px; }
    }


    /* ===== METHOD SECTION ===== */

.method {
  background: #f4f4f4;
  padding: 100px 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 70px;
}

.section-title h2 {
  font-weight: 300;
  font-size: 36px;
  color: #4f4f54;
}

.section-title span {
  color: #d29b2d; /* Gold plus profond */
  font-weight: 600;
}

.section-sub {
  margin-top: 15px;
  font-size: 16px;
  color: #777;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== RINGS LAYOUT ===== */

.rings {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  text-align: center;
}

.ring-card h3 {
  margin-top: 25px;
  font-weight: 500;
  font-size: 20px;
  color: #4f4f54;
}

/* ===== CIRCLE STYLE ===== */

.ring-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px solid #d29b2d;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.ring-circle:hover {
  background: #1c2429;
  color: #ffffff;
  border-color: #1c2429;
}

/* ===== FOUNDATION STACK ===== */

.foundation-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.layer {
  font-weight: 600;
  font-size: 16px;
  color: #1c2429;
}

.ring-circle:hover .layer {
  color: #d29b2d;
}

/* ===== FLOW ===== */

.infinity {
  font-size: 60px;
  font-weight: 600;
  color: #1c2429;
}

.ring-circle:hover .infinity {
  color: #d29b2d;
}

/* ===== ICONS ===== */

.ring-circle i {
  font-size: 48px;
  color: #1c2429;
}

.ring-circle:hover i {
  color: #d29b2d;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
  .rings {
    gap: 40px;
  }

  .ring-circle {
    width: 150px;
    height: 150px;
  }
}


/* === METHOD (icônes) === */
.method-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 34px;
  align-items: start;
  justify-items: center;
  margin-top: 40px;
}

.method-item{
  text-align: center;
}

.method-ring{
  width: 180px;
  height: 180px;
  border-radius: 999px;
  border: 2px solid var(--gold);
  background: #fff;
  display: grid;
  place-items: center;
  padding: 22px;
}

.method-ring img{
  width: 160%;
  height: 160%;
  object-fit: contain;
  display: block;
}

.method-label{
  margin-top: 16px;
  font-size: 20px;
  font-weight: 400;
  color: var(--gray);
}

/* Responsive */
@media (max-width: 980px){
  .method-grid{
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }
}
@media (max-width: 520px){
  .method-grid{
    grid-template-columns: 1fr;
  }
  .method-ring{
    width: 168px;
    height: 168px;
  }
}

.pillar-icon {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.pillar-icon img {
  max-height: 250px;
  width: auto;
  display: block;
}

/* Option premium hover subtil */
.card {
  border: 1px solid #e8e8e8;
  padding: 50px 35px;
  text-align: center;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
/*
.hero {

  position: relative;
 /* background: linear-gradient(135deg, #1c2429 0%, #162027 100%);
  color: #fff;*/
 /*  padding: 130px 20px 40px;
  padding: 170px 20px 150px;
  overflow: hidden;
}*/

/*
.hero {
  position: relative;
  background: linear-gradient(135deg, #1c2429 0%, #162027 100%);
  color: #fff;
  padding: 170px 20px 150px;
  overflow: hidden;
} */

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: auto;
  text-align: center;
}

.hero h1 {
  font-weight: 300;
  font-size: 50px;
  margin-bottom: 25px;
}

.hero h1 span {
  color: #d29b2d;
  font-weight: 600;
}

.hero p {
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 40px;
}

/* CTA */
.cta-main {
  background: #d29b2d;
  color: #000;
  padding: 14px 34px;
  font-weight: 600;
  text-decoration: none;
}

/* ROBOT BACKGROUND */
/*.hero-robot {
  position: absolute;
  right: -80px;
  bottom: -40px;
  width: 500px;
  height: 500px;
  background: url("togo.png") no-repeat center;
  background-size: contain;
  opacity: 0.05;             
  filter: grayscale(100%);
  pointer-events: none;
  z-index: 1;
} */

.hero-robot {
  position: absolute;
  right: 0px;
  bottom: -120px;
  width: 520px;
  height: 520px;

  background: url("togo.png") no-repeat center;
  background-size: contain;

  opacity: 0.8;                 /* ⬅️ plus visible */
  pointer-events: none;
  z-index: 1;
}


.hero-sub {
  font-size: 19px;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 50px;
}
.hero-credibility {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.partner-label {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 600;
}

.safe-badge {
  width: 110px;
  height: auto;
}

/* ===== MOBILE FIRST NAV ===== */


.burger {
  display: none; /* caché en desktop */
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
}


.burger span {
  display: block;
  height: 2px;
  background: #ffffff;
  transition: all 0.3s ease;
}

/* Animation en croix */
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* Mobile layout */
@media (max-width: 900px) {

  .burger {
    display: flex; /* visible uniquement mobile */
    z-index: 1;
  }

  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: #0b1425; /*var(--navy);*/
    flex-direction: column;
    padding-top: 120px;
    gap: 30px;
    align-items: center;
    transition: 0.3s ease;
    display: flex; /* important */
  }

  .menu a {
    font-size: 18px;
  }
  .menu.active {
    right: 0;
  }



  body.menu-open {
    overflow: hidden;
  }

}




/* ================================
   HERO EVENTS WIDGET — PREMIUM
   (garde tes classes)
   ================================ */

.hero-events-widget{
  width: 360px;
  max-width: 92vw;
  padding: 26px 28px;
  background: rgba(12,18,26,0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(245,197,66,0.22);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  color: #fff;
}

.hero-events-list{
  display:flex;
  flex-direction:column;
  gap: 16px;
}

/* item */
.hero-event-item{
  display:block;
  text-decoration:none;
  padding: 14px 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.hero-event-item:hover{
  transform: translateX(6px);
  border-color: rgba(245,197,66,0.28);
  background: rgba(255,255,255,0.05);
}

/* date (kicker) */
.hero-event-date{
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 6px;
  opacity: .95;
}

/* title */
.hero-event-title{
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 6px;

  /* évite que ça casse la card sur petits écrans */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* meta */
.hero-event-meta{
  font-size: 12px;
  color: rgba(255,255,255,0.72);
  line-height: 1.35;
}

/* link calendar */
.hero-event-calendar{
  display:block;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.10);

  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  text-decoration:none;
  transition: letter-spacing .2s ease, opacity .2s ease;
}

.hero-event-calendar:hover{
  letter-spacing: .3px;
  opacity: .95;
}

/* ================================
   PLACEMENT dans le HERO
   (si ton hero est en grid 2 colonnes)
   -> optionnel selon ton layout
   ================================ */
@media (min-width: 981px){
  .hero-events-widget{
    margin-left: auto; /* pousse à droite si dans une colonne */
  }
}

/* mobile */
@media (max-width: 520px){
  .hero-events-widget{
    width: 100%;
    padding: 18px 18px;
  }
  .hero-event-item{
    padding: 12px 10px;
  }
}