/* =========================================================
   SITE CSS — all styles for:
   - index.html
   - infos-pratiques.html
   - les-parcours.html
   ========================================================= */

/* =========================
   Tokens (shared)
   ========================= */
:root{
  --bg-hero: #7ec1eb;
  --bg: #ffffff;
  --bg-soft: #F5FAFB;
  --ink: #1d2a3a;
  --muted: #5c7186;
  --brand: #04243b;
  --brand-2: #7ec2eb;
  --line: #E6EEF3;

  --radius: 8px;
  --radius-lg: 18px;

  --shadow: 0 12px 30px rgba(29,42,58,.08);

  --container: 1040px;
  --gutter: clamp(16px, 4vw, 26px);
}

/* =========================
   Base
   ========================= */
*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}
img{ max-width:100%; height:auto; display:block; }
p {font-size: 16px; color: #33433A;}
a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; text-underline-offset: 4px; }
li {margin-bottom: 10px;}

/* Accessibility: skip link */
.skip{
  position:absolute; left:-999px; top:10px;
  padding:10px 12px;
  background:#fff;
  border:1px solid var(--line);
  border-radius: 10px;
  z-index: 9999;
}
.skip:focus{ left: 12px; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width:100%;
}

.section{
  padding: clamp(42px, 6vw, 80px) 0;
}

/* =========================
   Buttons (shared)
   ========================= */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  border-radius: 5px;
  padding: 12px 16px;
  border: 1px solid transparent;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 10px 20px rgba(88,118,166,.20);
  transition: transform .12s ease, filter .12s ease;
}
.btn:hover{ transform: translateY(-1px); filter: brightness(1.03); text-decoration:none; }
.btn:active{ transform: translateY(0); }

.btn--ghost{
  background: transparent;
  color: var(--brand);
  border-color: rgba(88,118,166,.35);
  box-shadow: none;
}

.nav .btn {padding: 5px; background-color: #fff; color: var(--brand); font-size: 14px;}
.nav .btn--ghost {background: var(--brand) !important; color: #fff; border: 1px solid #fff;}

/* =========================
   Header / Nav (shared)
   ========================= */
header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--brand);
}
.nav{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 800;
  color: #fff;
}
.brand__mark{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 18px rgba(88,118,166,.18);
  flex: 0 0 auto;
}
.navlinks{
  display:flex;
  align-items:center;
  gap: 18px;
}
.navlinks a{
  color: rgba(255,255,255,0.4);
  font-weight: 700;
  font-size: 14px;
}
.navlinks a[aria-current="page"]{ color: #fff; }

.navcta{
  display:flex;
  align-items:center;
  gap: 10px;
}

/* Mobile menu button */
.menuBtn{
  display:none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 800;
  color: var(--brand);
}

/* Mobile dropdown panel */
.mobilePanel{
  display:none;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.8);
}
.mobilePanel .container{
  padding-top: 12px;
  padding-bottom: 14px;
  display:grid;
  gap: 10px;
}
.mobilePanel a{
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(230,238,243,.9);
  background: rgba(255,255,255,.8);
  font-weight: 800;
  color: var(--brand);
}
.mobilePanel a:last-child{
  text-align:center;
  background: var(--brand);
  color:#fff;
  border-color: transparent;
}

@media (max-width: 860px){
  .navlinks{ display:none; }
  .navcta .btn--ghost{ display:none; }
  .menuBtn{ display:inline-flex; }
}

/* =========================================================
   INDEX PAGE (index.html)
   ========================================================= */

/* Hero *
.hero{ 
  background: var(--bg-hero); 
  padding: clamp(64px, 10vw, 120px) 0 clamp(52px, 8vw, 100px); 
  text-align:center; 
} */

.hero{
  background-image: url("../img/hero-bkg2.jpg"); /* path relative to the CSS file */
  background-size: cover;           /* fills both width & height */
  background-position: bottom;      /* focus on center of image */
  background-repeat: no-repeat;

  padding: clamp(64px, 10vw, 70px) 0 clamp(72px, 10vw, 140px);
  text-align: center;
}

.hero h1{
  margin: 0 0 8px;
  font-size: clamp(28px, 5vw, 44px);
  letter-spacing: -.02em;
  color: var(--brand);
  font-weight: 900;
}
.hero h2{
  margin: 0 0 22px;
  font-size: clamp(16px, 2.8vw, 20px);
  font-weight: normal;
  color: var(--brand);
}
.hero .eventLine{
  margin-top: 22px;
  display:grid;
  gap: 10px;
  justify-items:center;
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
}
.hero .badge{
  width: 128px;
  height: 128px;
  display:grid;
  place-items:center;
  color: var(--brand);
  font-weight: 900;
  margin-bottom: 20px;
}

/* Section headings */
.h2{
  margin:0 0 14px;
  color: var(--brand);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 900;
}
.lead{
  margin:0 0 18px;
  color: #33433A;
  max-width: 58ch;
  font-size: 16px;
}

/* Programme cards grid */
#programme {
  background-color: #FAF8F1;
    background-image: url("../img/programme-separator.png");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% auto;
  padding-bottom: 160px; /* adjust to image height */
}
.dayTitle{
  margin: 22px 0 10px;
  font-weight: 900;
  color: var(--brand);
  font-size: 18px;
  letter-spacing: .02em;
}
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 920px){
  .cards{ grid-template-columns: 1fr; }
}
.card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px 16px 14px;
  box-shadow: 0 10px 26px rgba(29,42,58,.06);
  min-height: 150px;
  display:flex;
  flex-direction: column;
  gap: 15px;
}
.card h3{
  margin:0;
  font-size: 20px;
  font-weight: 400;
  color: var(--brand);
}
.card .meta{
  margin:-10px 0 0 0;
  color: var(--brand);
  font-size: 16px;
  font-weight: bold;
}
.card .desc{
  margin:0;
  color: #33433A;
  font-size: 14px;
}

.card .time {
  font-weight: bold;
  font-size: 14px;
}


/* Partenaires */

#partenaires {
  text-align: center;
  background-color: #fff;
  background-image: url("../img/parternaires-separator.png");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% auto;
  padding-bottom: 160px; /* adjust to image height */
}
#partenaires h2 {
  margin-bottom: 50px;
}
.partnerBar {
  width: 100%;
}
.logoBox {
  display: inline-block;
  margin-right: 70px;
}
.logoBox img {
  max-height: 70px;
  max-width: 200px;  

}

/* Infos - Split sections (image + text) */
#infos {
  background-color: #FAF8F1;
  padding-top: 50px;
}
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.splitBlock{
  padding: clamp(22px, 4vw, 44px);
}
.mediaBox{
  min-height: 260px;
  display:grid;
  place-items:center;
}
.mediaIcon{
  width: 74px; height: 74px;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
  border: 2px solid rgba(255,255,255,.55);
}
.splitText h3{
  margin:0 0 10px;
  color: var(--brand);
  font-size: 20px;
  font-weight: 900;
}
.splitText p{
  margin:0 0 12px;
  font-size: 16px;
}
.splitText .smallLink{
  color: var(--brand);
  font-weight: 800;
  font-size: 16px;
}
/* reverse layout */
.split--reverse .mediaBox{
  border-right: none;
}

@media (max-width: 920px){
  .split{ grid-template-columns: 1fr; }
  .mediaBox{ border-right: none; border-bottom: 1px solid var(--line); }
  .split--reverse .mediaBox{ border-left: none; }
}

/* =========================================================
   INFOS PRATIQUES (infos-pratiques.html)
   ========================================================= */

/* Page header */


.pageHead{
  background-image: url("../img/hero-bkg2-2.jpg"); /* path relative to the CSS file */
  background-size: cover;           /* fills both width & height */
  background-position: bottom;      /* focus on center of image */
  background-repeat: no-repeat;
  padding: clamp(64px, 10vw, 70px) 0 clamp(72px, 10vw, 140px);
  text-align: center;
  min-height: 300px;
}
.pageTitle{
  margin: 0 0 8px;
  color: var(--brand);
  font-weight: 900;
  font-size: clamp(26px, 4.3vw, 36px);
  letter-spacing: -.02em;
}
.pageIntro{
  margin: 0;
  font-size: 16px;
  max-width: 72ch;
}

/* Layout: main content + sidebar */
.contentWrap{
  background: #FAF8F1;
  padding: 30px 0 50px 0;
}
.twoCol{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(16px, 3vw, 32px);
  align-items:start;
}
.sectionTitle{
  margin: 0 0 10px;
  color: var(--brand);
  font-weight: 900;
  font-size: 26px;
}
.subTitle{
  margin: 22px 0 8px;
  color: var(--brand);
  font-weight: 800;
  font-size: 18px;
}
.p{
  margin: 0 0 10px;
  font-size: 16px;
  max-width: 85ch;
}
.list{
  margin: 8px 0 12px 16px;
  padding: 0;
  color: var(--muted);
  font-weight: 650;
  font-size: 12.5px;
}
.list li{ margin: 6px 0; }

.divider{
  border: none;
  border-top: 1px solid var(--brand);
  margin: 40px 0;
}

/* Sidebar blocks */
.sideStack{
  display:grid;
  gap: 14px;
}

/* Download button */
.downloadBtn{
  width: 100%;
  justify-content: space-between;
  background: var(--brand);
  box-shadow: 0 12px 22px rgba(29,42,58,.10);
}

/* Contact box */
.contactBox{
  border-radius: var(--radius-lg);
  border: 1px solid var(--brand);
  color: rgba(255,255,255,.92);
  padding: 18px;
}
.contactBox h3{
  margin: 0 0 8px;
  color:var(--brand);
  font-weight: 900;
  font-size: 16px;
}
.contactBox p{
  margin: 0 0 12px;
  color:var(--brand);
  font-size: 14px;
}
.contactMail{
  display:flex;
  align-items:center;
  font-weight: 600;
  font-size: 14px;
  color:var(--brand);
  text-decoration:none;
  width: fit-content;
  max-width: 100%;
  word-break: break-word;
}
.mailIcon{
  width: 28px;
  height: 28px;
  display:grid;
  place-items:center;
  flex: 0 0 auto;
}

/* Sticky sidebar on desktop */
.stickySide{
  position: sticky;
  top: 86px;
}
@media (max-width: 920px){
  .twoCol{ grid-template-columns: 1fr; }
  .stickySide{ position: static; top:auto; }
}

/* =========================================================
   PARCOURS (les-parcours.html)
   ========================================================= */

.parcoursWrap{
  padding: 30px 0 50px 0;
  background: #FAF8F1;
}
.parcoursBlock{
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.parcoursGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 32px);
  align-items:start;
}


.parcoursTitle{
  margin: 0 0 10px;
  color: var(--brand);
  font-weight: 900;
  font-size: clamp(20px, 3vw, 28px);
  letter-spacing: -.01em;
}
.parcoursText{
}

/* (kept if you ever use the placeholder again) */
.mapPlaceholder{
  margin-top: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #C9D6E6;
  min-height: 180px;
  display:grid;
  place-items:center;
  box-shadow: 0 10px 26px rgba(29,42,58,.06);
  position: relative;
  overflow:hidden;
}
.mapPlaceholder span{
  position:absolute;
  bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(29,42,58,.55);
}

/* Right stats card */
.statsCard{
  border-radius: var(--radius);
  background: var(--brand);
  color: rgba(255,255,255,.92);
  padding: 18px 18px 16px;
  box-shadow: 0 16px 36px rgba(29,42,58,.16);
  position: sticky;
  top: 86px;
}
.statsCard h3{
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}
.statsGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}
.stat small{
  display:block;
  font-size: 11px;
  color: rgba(255,255,255,.78);
  margin-bottom: 3px;
}
.stat strong{
  display:block;
  font-size: 14px;
  font-weight: 600;
  color:#fff;
}

/* On mobile: stack and remove sticky card */
@media (max-width: 920px){
  .parcoursGrid{ grid-template-columns: 1fr; }
  .statsCard{ position: static; top:auto; }
}

/* =========================================================
   Footer (shared across pages)
   ========================================================= */
footer{
  background: var(--brand);
  padding: 28px 0 18px;
  margin-top: 0px; /* used by inner pages */
}
footer .btn {
  color: #fff !important;
  border: 1px solid #fff;
  padding: 5px 10px;
  font-size: 12px;
}

footer .sm {
  max-width: 24px;
  max-height: 24px;
  margin-top: 10px;

}

.footGrid{
  display:flex;
  grid-template-columns: 1fr 1fr;
  align-items:start;
}
.footLeft{
  display:inline-flex;
  gap: 40px;
  font-size: 12px;
  width: 50%;
}
.footRight h4, .footLeft h4{
  margin:0 0 5px;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
}
.footRight p, .footLeft p{
  margin:0 0 12px;
  font-size: 12px;
  max-width: 60ch;
  color: #fff;
}
.fineprint{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(230,238,243,.9);
  color: rgba(255,255,255,.8);
  font-size: 11px;
  text-align:center;
}
@media (max-width: 920px){
  .footGrid{ grid-template-columns: 1fr; }
  .footLeft{width: 100%;}
  .footRight{display: none;}
}