@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Montserrat:wght@700;800;900&display=swap');
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:#1a2035;background:var(--paper);line-height:1.6}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}.container{width:min(1180px,calc(100% - 40px));margin-inline:auto}.tricolor{height:4px;background:linear-gradient(90deg,var(--navy) 0 38%,#fff 38% 62%,var(--red) 62%)}.site-header{background:#fff;border-bottom:1px solid #e7e9f0;position:sticky;top:0;z-index:1000;box-shadow:0 2px 10px rgba(16,26,73,.04)}.header-inner{width:min(1240px,calc(100% - 42px));min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{display:flex;align-items:center;gap:11px;min-width:248px;flex:0 0 auto}.brand img{width:52px;height:52px;object-fit:contain}.brand-mark{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;border:2px solid #d5b65a;color:var(--navy);font-weight:900;background:#fff;box-shadow:inset 0 0 0 5px #f5f1df}.brand strong{display:block;color:var(--blue);font:900 24px/1 Montserrat,Inter,sans-serif;letter-spacing:.2px}.brand small{display:block;max-width:285px;margin-top:4px;color:#667085;font-weight:700;font-size:9.5px;line-height:1.2;letter-spacing:.035em}.main-nav{display:flex;align-items:center;justify-content:flex-end;gap:20px;font-weight:700;font-size:14px;min-width:0;flex:1}.main-nav a{padding:9px 0;color:#2e3445;white-space:nowrap}.main-nav a:hover,.main-nav a.active{color:var(--red)}.menu-toggle{display:none;background:none;border:0;font-size:29px;color:var(--blue);cursor:pointer}.hero-home{background:var(--navy);color:white;position:relative;overflow:hidden}.hero-home:before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.11) 1.25px,transparent 1.25px);background-size:42px 42px;opacity:.45}.hero-home:after{content:"VI";position:absolute;right:-40px;bottom:-170px;font:900 520px/1 Georgia,serif;color:rgba(255,255,255,.035);letter-spacing:-.08em}.hero-wrap{position:relative;z-index:2;min-height:calc(100vh - 78px);min-height:min(610px,calc(100svh - 78px));padding:30px 0 28px;display:flex;flex-direction:column;justify-content:center}.hero-kicker{display:flex;align-items:center;gap:10px;text-transform:uppercase;font-weight:800;letter-spacing:.09em;font-size:12px}.flag-fr{width:25px;height:16px;background:linear-gradient(90deg,#1f3d8f 0 33%,white 33% 66%,#ef3340 66%);display:inline-block;flex:0 0 auto}.hero-home h1{font:900 clamp(38px,3vw,50px)/.98 Montserrat,Inter,sans-serif;text-transform:uppercase;letter-spacing:-.035em;max-width:920px;margin:14px 0 0}.hero-rule{width:230px;height:5px;margin:20px 0 18px;background:linear-gradient(90deg,#264894 0 38%,white 38% 62%,#ef2b25 62%)}.hero-home .lead{max-width:800px;color:#c7ccda;font-size:16px;line-height:1.5;margin:0}.hero-actions{display:flex;gap:14px;margin-top:21px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 24px;border:1px solid transparent;font-weight:800;text-transform:uppercase;letter-spacing:.02em;cursor:pointer}.btn-primary{background:var(--red);color:#fff}.btn-primary:hover{filter:brightness(.95)}.btn-outline{border-color:#93a0be;color:inherit;background:transparent}.btn-outline:hover{border-color:white}.hero-stats{position:relative;z-index:2;display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-top:1px solid rgba(255,255,255,.09)}.hero-stat{padding:22px 0 25px;border-right:1px solid rgba(255,255,255,.08)}.hero-stat strong{font:900 38px/1 Montserrat,Inter,sans-serif}.hero-stat span{display:block;color:#aeb8d2;font-size:13px;margin-top:7px}.inner-hero{background:#eef1f8;padding:52px 0;border-bottom:1px solid #dde2ef}.breadcrumbs{font-size:13px;color:#69738c;margin-bottom:16px}.inner-hero .eyebrow{color:var(--red)}.inner-hero h1{font:900 clamp(38px,5vw,66px)/1.04 Montserrat,Inter,sans-serif;color:var(--navy);letter-spacing:-.035em;margin:8px 0 18px;max-width:930px}.inner-hero p{font-size:19px;color:#59647d;max-width:830px;margin:0}.section{padding:78px 0}.section-light{background:#fff}.section-navy{background:var(--navy);color:#fff}.eyebrow{text-transform:uppercase;color:var(--red);font-size:12px;font-weight:900;letter-spacing:.12em}.section h2{font:900 clamp(32px,4vw,50px)/1.08 Montserrat,Inter,sans-serif;letter-spacing:-.03em;margin:10px 0 18px}.lead{font-size:18px;color:#687189;max-width:800px}.section-navy .lead{color:#c3cbe0}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:34px}.section-head.narrow>div{max-width:760px}.text-link{font-weight:800;color:var(--red)}.cards-grid,.steps-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.info-card{padding:28px;border:1px solid #e3e6ef;background:white;min-height:220px}.info-card h3{font:800 21px/1.25 Montserrat,Inter,sans-serif;color:var(--navy);margin:10px 0}.info-card p{color:#667085}.section-navy .info-card{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.1)}.section-navy .info-card h3{color:#fff}.section-navy .info-card p{color:#c9d0e1}.num{font:900 30px/1 Montserrat;color:var(--red)}.formation-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.formation-card{background:#fff;border:1px solid #e4e7ef;overflow:hidden;transition:.2s;box-shadow:0 8px 24px rgba(26,36,70,.04)}.formation-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(26,36,70,.10)}.formation-visual{height:165px;background:linear-gradient(135deg,var(--blue),var(--navy));background-size:cover;background-position:center;display:flex;align-items:flex-start;padding:18px;position:relative}.formation-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,transparent 10%,rgba(255,255,255,.08));}.formation-visual span{position:relative;z-index:1;background:var(--red);color:#fff;font-size:11px;font-weight:800;padding:7px 10px;text-transform:uppercase}.formation-body{padding:24px}.formation-body small{color:#6a748d;font-weight:700}.formation-body h3{font:800 24px/1.18 Montserrat;margin:7px 0 12px;color:var(--navy)}.formation-body p{color:#687189;font-size:14px;min-height:67px}.meta{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px;font-size:12px;font-weight:700;color:#4d5770}.split{display:grid;grid-template-columns:1.05fr .95fr;gap:70px;align-items:start}.feature-list,.check-list{list-style:none;padding:0;margin:0}.feature-list li,.check-list li{position:relative;padding:16px 18px 16px 43px;border-bottom:1px solid #e5e8f0}.feature-list li:before,.check-list li:before{content:"✓";position:absolute;left:8px;color:var(--red);font-weight:900}.stats-section{background:#f2f4f9;padding:0}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr)}.stat{padding:35px;border-left:1px solid #dfe3ee}.stat strong{display:block;font:900 44px/1 Montserrat;color:var(--navy)}.stat span{display:block;margin-top:8px;color:#687189}.cta-panel{background:var(--navy);color:white;padding:48px;display:flex;align-items:center;justify-content:space-between;gap:34px;position:relative;overflow:hidden}.cta-panel:after{content:"";position:absolute;width:260px;height:260px;border:42px solid rgba(255,255,255,.035);border-radius:50%;right:-80px;top:-80px}.cta-panel p{color:#c5cce0;max-width:680px}.cta-actions{display:flex;gap:12px;position:relative;z-index:2;flex-wrap:wrap}.form-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:52px;align-items:start}.card{background:#fff;border:1px solid #e1e5ee;box-shadow:0 12px 35px rgba(17,31,72,.05)}.public-form{padding:30px;display:grid;gap:16px}.public-form label{display:grid;gap:7px;font-size:13px;font-weight:800;color:#3f485d}.public-form input,.public-form textarea,.public-form select{width:100%;border:1px solid #ccd3e1;background:#fff;padding:13px 14px;font:inherit;color:#1f2937;border-radius:0}.public-form input:focus,.public-form textarea:focus,.public-form select:focus{outline:2px solid color-mix(in srgb,var(--blue) 30%,transparent);border-color:var(--blue)}.public-form .two{display:grid;grid-template-columns:1fr 1fr;gap:15px}.hp{position:absolute!important;left:-9999px!important}.modules{margin-top:28px;border-top:1px solid #e2e6ef}.module{border-bottom:1px solid #e2e6ef;background:#fff}.module summary{cursor:pointer;display:flex;justify-content:space-between;gap:20px;padding:20px 22px;font-weight:800;color:var(--navy)}.module p{padding:0 22px 22px;color:#667085}.prose{max-width:900px}.rich-text{white-space:normal;color:#576179;font-size:17px}.alert{margin-top:20px;padding:14px 18px;border:1px solid}.alert.success{background:#eefaf2;border-color:#bfe7cd;color:#22613a}.verify-box{max-width:760px;margin:0 auto}.verify-result{margin-top:20px;padding:25px;background:#fff;border-left:5px solid var(--blue);box-shadow:0 10px 28px rgba(0,0,0,.06)}.verify-result.valid{border-color:#2f9d59}.verify-result.invalid{border-color:#c63838}.catalog-filters{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 28px}.catalog-filters button{border:1px solid #d3d9e5;background:white;padding:10px 14px;font-weight:800;cursor:pointer}.catalog-filters button.active{background:var(--navy);color:white}.course-hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:42px;align-items:center}.course-side{background:#fff;padding:28px;border:1px solid #e0e5ef}.course-side dl{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px;margin:0}.course-side dt{font-size:12px;color:#7b8499;font-weight:800;text-transform:uppercase}.course-side dd{margin:0;color:var(--navy);font-weight:800}.site-footer{background:#090f2f;color:#c3c9d9;padding:66px 0 20px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:50px}.footer-grid h4{color:white;margin:0 0 13px}.footer-grid a{display:block;color:#c3c9d9;margin:8px 0}.footer-grid a:hover{color:white}.footer-brand{min-width:0;margin-bottom:18px}.footer-brand .brand-mark{width:46px;height:46px}.footer-brand strong{font-size:23px;color:white}.footer-bottom{border-top:1px solid rgba(255,255,255,.08);margin-top:38px;padding-top:20px;display:flex;justify-content:space-between;gap:30px;font-size:12px}.legal-page{max-width:900px;margin:auto;background:white;padding:40px}.legal-page h2{font-size:28px}.empty-state{padding:35px;border:1px dashed #b8c0d2;color:#667085;text-align:center}
@media(max-width:1280px){.header-inner{width:calc(100% - 32px);gap:14px}.brand{min-width:220px}.brand strong{font-size:21px}.brand small{font-size:8.5px;max-width:245px}.main-nav{gap:13px;font-size:12.5px}.hero-home h1{font-size:46px;max-width:850px}.hero-home .lead{font-size:15.5px;max-width:760px}.cards-grid,.steps-grid{grid-template-columns:repeat(2,1fr)}.formation-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.container{width:min(100% - 36px,1180px)}.header-inner{width:min(100% - 24px,1180px);min-height:58px;gap:10px}.brand{min-width:0;gap:8px}.brand img{width:43px;height:43px}.brand-mark{width:38px;height:38px;font-size:11px}.brand strong{font-size:16px}.brand small{font-size:6.5px;max-width:190px;margin-top:2px}.menu-toggle{display:block}.main-nav{display:none;position:absolute;top:62px;left:0;right:0;background:#fff;border-top:1px solid #e9ebf1;box-shadow:0 14px 32px rgba(13,25,61,.12);padding:16px 20px;flex-direction:column;align-items:stretch;gap:0;font-size:14px}.main-nav.open{display:flex}.main-nav a{padding:13px 0;border-bottom:1px solid #eef0f4}.hero-wrap{min-height:calc(100vh - 62px);min-height:calc(100svh - 62px);padding:30px 0 56px;justify-content:center}.hero-home h1{font-size:clamp(28px,9.4vw,39px);line-height:.96;margin-top:14px;max-width:100%}.hero-rule{width:145px;height:4px;margin:20px 0 20px}.hero-home .lead{font-size:13.5px;line-height:1.55;max-width:100%}.hero-kicker{font-size:9px;line-height:1.35;gap:8px}.flag-fr{width:17px;height:11px}.hero-actions{display:grid;grid-template-columns:1fr;gap:12px;margin-top:24px}.hero-actions .btn{width:100%;min-height:44px;font-size:11px}.hero-stats{grid-template-columns:repeat(2,1fr)}.hero-stat{padding:18px 0}.hero-stat strong{font-size:29px}.inner-hero{padding:38px 0}.inner-hero h1{font-size:40px}.section{padding:54px 0}.section-head{align-items:flex-start;flex-direction:column}.cards-grid,.steps-grid,.formation-grid,.split,.form-grid,.course-hero-grid{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(2,1fr)}.cta-panel{padding:34px 26px;display:block}.cta-actions{margin-top:25px}.public-form .two{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.footer-bottom{flex-direction:column}.course-side dl{grid-template-columns:1fr}.formation-body p{min-height:0}}
@media(max-width:480px){.container{width:calc(100% - 24px)}.hero-home h1{font-size:29px;letter-spacing:-.03em}.brand small{max-width:155px}.btn{padding-inline:16px;font-size:11px}.cards-grid,.steps-grid,.stats-grid,.footer-grid{grid-template-columns:1fr}.hero-stats{grid-template-columns:1fr 1fr}.section h2{font-size:31px}.info-card{min-height:0}.formation-visual{height:135px}.footer-grid{gap:28px}.cta-actions{display:grid}.cta-actions .btn{width:100%}}

/* Mobile hero balance v1.3: keep content natural and anchor CTAs at the bottom of the first screen */
@media(max-width:820px){
  .hero-wrap{
    min-height:calc(100vh - 62px);
    min-height:calc(100svh - 62px);
    padding:32px 0 24px;
    display:grid;
    grid-template-rows:auto auto auto auto minmax(34px,1fr) auto;
    align-content:stretch;
    justify-content:stretch;
  }
  .hero-kicker{grid-row:1;align-self:start}
  .hero-home h1{grid-row:2;margin-top:14px}
  .hero-rule{grid-row:3;margin:18px 0 18px}
  .hero-home .lead{grid-row:4;margin:0}
  .hero-actions{
    grid-row:6;
    align-self:end;
    margin-top:0;
    padding-top:18px;
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
  }
  .hero-actions .btn{min-height:44px}
}
@media(max-width:480px){
  .hero-wrap{padding-top:30px;padding-bottom:22px;grid-template-rows:auto auto auto auto minmax(28px,1fr) auto}
  .hero-home h1{font-size:28px;line-height:.97}
  .hero-home .lead{font-size:13.5px;line-height:1.52}
  .hero-actions{padding-top:14px;gap:9px}
}

/* Mobile global layout polish v1.4 */
@media(max-width:820px){
  /* Give every public page more breathing room on the sides */
  .container{width:calc(100% - 40px);max-width:1180px}

  /* Header: move logo/title away from screen edge and balance menu */
  .header-inner{
    width:calc(100% - 32px);
    min-height:62px;
    padding:0;
    gap:12px;
  }
  .brand{gap:9px;max-width:calc(100% - 48px)}
  .brand img{width:42px;height:42px}
  .brand-mark{width:40px;height:40px}
  .brand>span:last-child{min-width:0}
  .brand strong{font-size:16px;line-height:1.05;white-space:nowrap}
  .brand small{font-size:6.6px;line-height:1.22;max-width:178px;margin-top:3px}
  .menu-toggle{font-size:27px;padding:5px 2px 5px 8px;line-height:1}
  .main-nav{top:66px;padding:18px 20px 22px}

  /* Inner page hero: less cramped, more refined */
  .inner-hero{
    padding:40px 0 42px;
    background:linear-gradient(180deg,#f1f4fa 0%,#eef1f8 100%);
  }
  .inner-hero>.container{padding:0 2px}
  .breadcrumbs{
    font-size:12.5px;
    line-height:1.4;
    margin-bottom:22px;
  }
  .inner-hero .eyebrow{
    display:block;
    font-size:11px;
    line-height:1.35;
    margin-bottom:11px;
  }
  .inner-hero h1{
    font-size:clamp(32px,10vw,42px);
    line-height:1.04;
    letter-spacing:-.035em;
    margin:0 0 20px;
    max-width:100%;
  }
  .inner-hero p{
    font-size:16px;
    line-height:1.62;
    max-width:100%;
    margin:0;
  }

  /* General page sections: consistent mobile rhythm */
  .section{padding:58px 0}
  .section-head{gap:16px;margin-bottom:28px}
  .section h2{
    font-size:clamp(29px,8.7vw,36px);
    line-height:1.1;
    margin:9px 0 14px;
  }
  .lead{font-size:16px;line-height:1.62}
  .rich-text{font-size:16px;line-height:1.7}

  /* Cards should not feel glued together */
  .cards-grid,.steps-grid,.formation-grid{gap:16px}
  .info-card,.formation-card,.card,.course-side{
    border-radius:12px;
    overflow:hidden;
  }
  .info-card{padding:24px;box-shadow:0 9px 24px rgba(20,35,75,.045)}
  .formation-body{padding:22px}
  .formation-body h3{font-size:21px}
  .course-side{padding:23px}

  /* Forms and verification */
  .public-form{padding:23px;gap:15px}
  .verify-box{width:100%}
  .verify-result{padding:22px;border-radius:10px}

  /* Split/list blocks */
  .split{gap:30px}
  .feature-list li,.check-list li{padding-top:14px;padding-bottom:14px}

  /* CTA blocks */
  .cta-panel{border-radius:14px;padding:30px 24px}

  /* Catalogue filters wrap with cleaner spacing */
  .catalog-filters{gap:8px;margin-bottom:24px}
  .catalog-filters button{padding:9px 12px;border-radius:8px}

  /* Formation detail mobile hero */
  .course-hero-grid{gap:26px}
}

@media(max-width:480px){
  .container{width:calc(100% - 36px)}
  .header-inner{width:calc(100% - 28px)}
  .brand strong{font-size:15.5px}
  .brand small{font-size:6.2px;max-width:165px}
  .inner-hero{padding:36px 0 38px}
  .inner-hero h1{font-size:clamp(30px,10.5vw,38px);margin-bottom:18px}
  .inner-hero p{font-size:15.5px;line-height:1.6}
  .section{padding:52px 0}
  .info-card{padding:22px}
  .public-form{padding:20px}
}

/* Desktop header distribution v1.5 */
@media(min-width:1024px){
  .header-inner{
    width:min(1440px,calc(100% - 72px));
    gap:0;
  }
  .brand{
    min-width:0;
    max-width:360px;
    flex:0 0 auto;
  }
  .main-nav{
    margin-left:clamp(58px,5.6vw,105px);
    flex:1 1 auto;
    justify-content:flex-start;
    gap:clamp(18px,1.45vw,30px);
    padding-right:clamp(28px,2.8vw,54px);
  }
}


/* Premium public cards & frames v1.9 */
.cards-grid,.steps-grid{gap:24px}

.info-card{
  position:relative;
  border:1px solid #e1e6f0;
  border-radius:20px;
  overflow:hidden;
  background:linear-gradient(180deg,#ffffff 0%,#fbfcff 100%);
  box-shadow:0 10px 28px rgba(16,26,73,.055);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.info-card:before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:4px;
  background:linear-gradient(90deg,var(--blue),var(--red));
  opacity:.92;
}
.info-card:hover{
  transform:translateY(-4px);
  border-color:#d4dbea;
  box-shadow:0 18px 42px rgba(16,26,73,.10);
}
.info-card h3{margin-top:12px}
.info-card .text-link{display:inline-flex;align-items:center;margin-top:6px}

.section-navy .info-card{
  background:linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.045));
  border-color:rgba(255,255,255,.14);
  box-shadow:0 12px 32px rgba(0,0,0,.10);
}
.section-navy .info-card:hover{
  border-color:rgba(255,255,255,.24);
  box-shadow:0 18px 42px rgba(0,0,0,.16);
}

.formation-grid{gap:26px}
.formation-card{
  border:1px solid #e0e5ef;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 12px 32px rgba(17,31,72,.07);
  transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease;
}
.formation-card:hover{
  transform:translateY(-6px);
  border-color:#d0d8e8;
  box-shadow:0 22px 50px rgba(17,31,72,.13);
}
.formation-visual{
  min-height:175px;
  border-radius:21px 21px 0 0;
}
.formation-visual:after{
  background:linear-gradient(145deg,rgba(255,255,255,.07) 0%,rgba(255,255,255,0) 46%,rgba(5,13,48,.16) 100%);
}
.formation-visual span{
  border-radius:999px;
  padding:8px 13px;
  box-shadow:0 6px 16px rgba(0,0,0,.12);
}
.formation-body{padding:27px 28px 29px}
.formation-body small{
  display:inline-block;
  color:#69758f;
  font-size:12px;
  letter-spacing:.015em;
}
.formation-body h3{margin:9px 0 12px}
.formation-body p{line-height:1.65}
.meta{gap:8px;margin-top:20px}
.meta span{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:5px 10px;
  border:1px solid #e3e8f1;
  border-radius:999px;
  background:#f6f8fc;
}

/* Other framed public elements use the same rounded design language */
.card,.course-side,.cta-panel,.verify-result,.legal-page,.empty-state{
  border-radius:20px;
}
.card,.course-side{
  border-color:#e0e5ef;
  box-shadow:0 12px 32px rgba(17,31,72,.065);
}
.modules{
  border:1px solid #e1e6ef;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 28px rgba(17,31,72,.045);
}
.module:last-child{border-bottom:0}
.public-form input,.public-form textarea,.public-form select{
  border-radius:10px;
}
.catalog-filters button{
  border-radius:999px;
  transition:background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease;
}
.catalog-filters button:hover{transform:translateY(-1px);border-color:#bdc7da}

@media(max-width:820px){
  .cards-grid,.steps-grid,.formation-grid{gap:18px}
  .info-card{border-radius:17px}
  .formation-card{border-radius:18px}
  .formation-visual{min-height:145px;border-radius:17px 17px 0 0}
  .formation-body{padding:23px 22px 24px}
  .card,.course-side,.cta-panel,.verify-result,.legal-page,.empty-state{border-radius:17px}
}


/* Desktop menu alignment + rounded buttons v2.0 */
.nav-home-slot{display:none}

/* Buttons: soft rounded corners, not pill-shaped */
.btn{
  border-radius:10px;
}

@media(min-width:1024px){
  /* Keep brand exactly where it is; move the complete navigation group to the right. */
  .main-nav{
    margin-left:clamp(58px,5.6vw,105px);
    justify-content:flex-end;
    gap:clamp(20px,1.25vw,25px);
    /* Keep a more comfortable right margin: shifts the whole menu left without changing gaps. */
    padding-right:clamp(42px,2.8vw,56px);
    font-size:var(--menu-font-size-desktop,15px);
  }
  .main-nav .nav-home-slot{display:none}
  .main-nav a{
    padding:9px 0;
    line-height:1.15;
  }
}

@media(max-width:820px){
  .btn{border-radius:9px}
}


/* Actualités / JSON articles v2.2 */
.news-index-hero{padding-bottom:58px}
.news-index{background:#f7f8fb}
.news-filters{margin-bottom:30px}
.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.news-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #e0e5ef;border-radius:22px;overflow:hidden;color:var(--navy);text-decoration:none;box-shadow:0 12px 32px rgba(17,31,72,.07);transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease}
.news-card:hover{transform:translateY(-6px);border-color:#d0d8e8;box-shadow:0 22px 50px rgba(17,31,72,.13)}
.news-card-media{height:220px;position:relative;overflow:hidden;background:linear-gradient(145deg,var(--blue),var(--navy))}
.news-card-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s ease}
.news-card:hover .news-card-media img{transform:scale(1.035)}
.news-card-placeholder{height:100%;display:grid;place-items:center;background:radial-gradient(circle at 80% 20%,rgba(255,255,255,.12),transparent 31%),linear-gradient(145deg,var(--blue),var(--navy));color:#fff;font-size:28px;font-weight:900;letter-spacing:.08em}
.news-category{position:absolute;left:18px;top:18px;background:var(--red);color:#fff;border-radius:999px;padding:7px 12px;font-size:11px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;box-shadow:0 7px 18px rgba(0,0,0,.13)}
.news-card-body{padding:25px 26px 27px;display:flex;flex:1;flex-direction:column}
.news-card-body time{font-size:12px;color:#78839b;font-weight:750;text-transform:capitalize}
.news-card-body h2{font-size:25px;line-height:1.12;letter-spacing:-.025em;margin:10px 0 12px}
.news-card-body p{color:#65718a;line-height:1.65;margin:0 0 21px}
.news-read{margin-top:auto;color:var(--red);font-weight:900;font-size:14px}.news-read b{display:inline-block;margin-left:5px;transition:transform .2s ease}.news-card:hover .news-read b{transform:translateX(4px)}
.news-empty{text-align:center;padding:50px 30px}

.news-article{background:#fff}
.news-article-hero{background:linear-gradient(180deg,#eef2f8 0%,#f8f9fc 100%);padding:66px 0 72px;border-bottom:1px solid #e5e9f1}
.news-article-head{max-width:1050px}
.news-article-meta{display:flex;flex-wrap:wrap;align-items:center;gap:11px;margin:28px 0 15px}.news-article-meta span{background:var(--red);color:#fff;border-radius:999px;padding:7px 11px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.045em}.news-article-meta time{color:#707b91;font-size:13px;font-weight:750}
.news-article-hero h1{font-size:clamp(46px,5.4vw,82px);line-height:.98;letter-spacing:-.045em;margin:0;max-width:1180px;color:var(--navy)}
.news-article-intro{font-size:21px;line-height:1.62;color:#5e6c88;max-width:900px;margin:28px 0 0}
.news-cover{margin:-34px auto 0;position:relative;z-index:2;border-radius:24px;overflow:hidden;max-width:1180px;box-shadow:0 22px 55px rgba(17,31,72,.15);background:#dfe5f0}
.news-cover img{width:100%;max-height:590px;object-fit:cover;display:block}
.news-article-layout{max-width:1120px;padding-top:70px;padding-bottom:90px}
.news-content{max-width:900px;margin:0 auto;color:#28334d;font-size:18px;line-height:1.82}
.news-content p{margin:0 0 20px}
.news-overview{font-size:20px;line-height:1.7;padding:30px 32px;border:1px solid #e2e7f0;border-radius:20px;background:#fbfcff;box-shadow:0 10px 28px rgba(17,31,72,.045);margin-bottom:34px}.news-overview p{margin:8px 0 0}
.news-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:0 0 48px}.news-facts>div{padding:18px 20px;border-radius:16px;border:1px solid #e2e7f0;background:#f7f9fd}.news-facts span{display:block;color:#7a859a;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.06em;margin-bottom:5px}.news-facts strong{display:block;font-size:17px;color:var(--navy)}
.news-section{margin:0 0 52px}.news-section h2,.news-tips h2,.news-conclusion h2,.news-faq h2{font-size:37px;line-height:1.08;letter-spacing:-.03em;color:var(--navy);margin:0 0 20px}.news-section .section-intro{font-size:20px;color:#5d6880;font-weight:650}.news-subsection{margin-top:30px;padding-top:25px;border-top:1px solid #e5e9f1}.news-subsection h3{font-size:25px;line-height:1.15;color:var(--navy);margin:0 0 15px}
.news-highlights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:26px 0}.news-highlights>div{display:flex;gap:11px;align-items:flex-start;padding:16px 18px;border:1px solid #dde4ef;border-radius:15px;background:#fff}.news-highlights i{font-style:normal;display:grid;place-items:center;width:25px;height:25px;flex:0 0 25px;border-radius:50%;background:#e9f6ee;color:#1f8a4b;font-size:13px;font-weight:900}.news-highlights span{line-height:1.5;font-weight:700;color:#39445d}
.news-list,.news-numbered{margin:22px 0 26px;padding-left:26px}.news-list li,.news-numbered li{padding-left:7px;margin:10px 0}.news-list li::marker{color:var(--red)}.news-numbered li::marker{color:var(--blue);font-weight:900}
.news-note{margin:28px 0;padding:22px 24px 22px 27px;border-left:5px solid var(--red);border-radius:0 16px 16px 0;background:#fff5f4;box-shadow:0 8px 24px rgba(17,31,72,.035)}.news-note strong{display:block;color:var(--red);font-size:14px;text-transform:uppercase;letter-spacing:.055em;margin-bottom:5px}.news-note p{margin:0;color:#48546c}
.news-tips{margin:55px 0;padding:34px;border-radius:22px;background:var(--navy);color:#fff}.news-tips h2{color:#fff}.news-tip-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.news-tip-grid>div{display:flex;gap:15px;padding:18px;border-radius:15px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.12)}.news-tip-grid b{color:#fff;background:var(--red);width:33px;height:33px;display:grid;place-items:center;flex:0 0 33px;border-radius:10px;font-size:12px}.news-tip-grid p{margin:1px 0 0;color:#eef2ff;line-height:1.55;font-size:16px}
.news-conclusion{margin:50px 0;padding:30px 32px;border-radius:20px;border:1px solid #dfe5ef;background:linear-gradient(135deg,#f7f9fd,#fff)}.news-conclusion p{margin:0;font-size:19px}
.news-faq{margin-top:52px}.news-faq details{border:1px solid #e0e5ef;border-radius:15px;background:#fff;margin:11px 0;overflow:hidden}.news-faq summary{cursor:pointer;list-style:none;padding:19px 52px 19px 20px;font-weight:850;color:var(--navy);position:relative}.news-faq summary::-webkit-details-marker{display:none}.news-faq summary:after{content:'+';position:absolute;right:20px;top:15px;font-size:25px;color:var(--red)}.news-faq details[open] summary:after{content:'−'}.news-faq details p{padding:0 20px 20px;margin:0;color:#59657b}
.news-links{margin-top:46px;padding-top:28px;border-top:1px solid #e2e7f0}.news-links>div{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.news-links a{display:inline-flex;gap:8px;align-items:center;padding:10px 14px;border:1px solid #dde3ed;border-radius:10px;text-decoration:none;color:var(--navy);font-size:14px;font-weight:800;background:#fff}.news-links a:hover{border-color:var(--red);color:var(--red)}

@media(max-width:900px){.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.news-article-hero{padding:48px 0 58px}.news-article-hero h1{font-size:clamp(38px,9vw,58px)}.news-content{font-size:17px}.news-highlights,.news-tip-grid{grid-template-columns:1fr}}
@media(max-width:620px){.news-grid{grid-template-columns:1fr;gap:18px}.news-card{border-radius:18px}.news-card-media{height:190px}.news-card-body{padding:22px}.news-card-body h2{font-size:23px}.news-article-hero{padding:38px 0 50px}.news-article-hero h1{font-size:clamp(34px,11vw,46px)}.news-article-intro{font-size:17px;margin-top:20px}.news-cover{margin:-24px 18px 0;border-radius:17px}.news-article-layout{padding-top:50px;padding-bottom:65px}.news-content{font-size:16px;line-height:1.72}.news-overview,.news-conclusion{padding:23px 21px;border-radius:17px}.news-section{margin-bottom:42px}.news-section h2,.news-tips h2,.news-conclusion h2,.news-faq h2{font-size:30px}.news-section .section-intro{font-size:17px}.news-facts{grid-template-columns:1fr 1fr}.news-tips{padding:25px 21px;border-radius:18px}}


/* Homepage featured formations: exactly 3 cards on desktop */
@media(min-width:1024px){
  .featured-formations-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}

/* Footer brand: keep logo above the site name with breathing room */
.footer-grid a.footer-brand{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  gap:11px;
  width:max-content;
  min-width:0;
  margin:0 0 22px;
}
.footer-grid a.footer-brand .brand-mark{margin:0;}
.footer-grid a.footer-brand strong{line-height:1;}
