/* =========================
   BDE ORIZON — STYLE GLOBAL (LIGHT)
   Charte : #1800ad + palette
   Fond premium sans lignes / sans répétitions visibles
   ========================= */

/* ===== Reset ===== */
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

/* ===== Variables ===== */
:root{
  --orz-blue: #1800ad;
  --orz-black: #000000;
  --orz-peach: #ffb0a3;
  --orz-ice: #d1e3e3;
  --orz-slate: #335459;
  --orz-mint: #abe3d4;

  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: rgba(255,255,255,.82);

  --text: #111318;
  --muted: rgba(17,19,24,.70);
  --muted2: rgba(17,19,24,.55);

  --stroke: rgba(17,19,24,.10);
  --stroke-2: rgba(17,19,24,.14);
  --shadow: 0 14px 40px rgba(17,19,24,.12);

  --radius: 18px;
  --radius-sm: 14px;

  --font-title: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  --font-text: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;

  --container: 1100px;
}

/* ===== Base + Fond premium (sans bandes/lignes) ===== */
html, body { min-height: 100%; }

body{
  color: var(--text);
  font-family: var(--font-text);
  overflow-x: hidden;

  background:
    radial-gradient(1000px 650px at 15% 10%, rgba(24,0,173,.14), transparent 60%),
    radial-gradient(850px 560px at 85% 18%, rgba(255,176,163,.14), transparent 60%),
    radial-gradient(1000px 700px at 55% 95%, rgba(171,227,212,.12), transparent 62%),
    linear-gradient(180deg, #f7f7ff 0%, #ffffff 45%, #f9f8ff 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

/* Grain ultra léger pour casser les “lignes” */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 220px 220px;
}

/* ===== Helpers ===== */
.container{ width: min(var(--container), 92%); margin: 0 auto; }
.section{ padding: 72px 0; }
.spacer{ height: 18px; }

.muted{ color: var(--muted); }
.tiny{ font-size: .86rem; color: var(--muted2); }
.lead{ color: var(--muted); line-height: 1.65; margin: 0 0 16px; }
.text{ line-height: 1.7; }

.accent{ color: var(--orz-blue); }

code{
  background: rgba(24,0,173,.08);
  padding: 2px 7px;
  border-radius: 10px;
  border: 1px solid rgba(24,0,173,.12);
}

/* ===== Titres ===== */
.h1, .h2, .h3{
  font-family: var(--font-title);
  letter-spacing: .2px;
}
.h1{ font-size: clamp(2rem, 4.1vw, 3.15rem); margin: 0 0 12px; font-weight: 800; letter-spacing: -0.5px; }
.h2{ font-size: clamp(1.35rem, 2.6vw, 2.05rem); margin: 0 0 10px; font-weight: 700; }
.h3{ font-size: 1.12rem; margin: 0 0 8px; font-weight: 700; }

/* Soulignement élégant titres section */
.section .h2{
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}
.section .h2::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42%;
  height: 3px;
  background: linear-gradient(90deg, var(--orz-blue), transparent);
  border-radius: 2px;
}

/* ===== Cards ===== */
.card{
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(24,0,173,.14);
}

.box-pad{ padding: 28px; }

/* ===== NAV ===== */
.nav{
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4%;
  background: var(--surface-2);
  border-bottom: 1px solid var(--stroke);
  backdrop-filter: blur(14px);
}

.brand{ display: flex; align-items: center; gap: 10px; }
.brand-logo{ width: 36px; height: 36px; object-fit: contain; }
.brand-text{ font-weight: 900; letter-spacing: .8px; color: var(--orz-blue); }

.menu{ display: flex; gap: 10px; align-items: center; }
.menu-link{
  font-weight: 850;
  opacity: .92;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.menu-link:hover{
  background: rgba(24,0,173,.06);
  border-color: rgba(24,0,173,.12);
}
.menu-link.is-active{
  background: rgba(24,0,173,.10);
  border-color: rgba(24,0,173,.16);
  color: var(--orz-blue);
}

.burger{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--stroke-2);
  background: #fff;
  cursor: pointer;
}
.burger span{
  display: block;
  height: 2px;
  width: 18px;
  margin: 5px auto;
  background: rgba(17,19,24,.88);
  border-radius: 2px;
}

/* ===== HERO ===== */
.hero{ position: relative; padding: 74px 0 44px; }
.hero-bg{
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(24,0,173,.10), rgba(24,0,173,0) 55%),
    radial-gradient(650px 360px at 22% 20%, rgba(255,176,163,.20), transparent 62%),
    radial-gradient(700px 400px at 78% 30%, rgba(171,227,212,.16), transparent 62%);
}
.hero-grid{
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  align-items: start;
}

.pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(24,0,173,.08);
  border: 1px solid rgba(24,0,173,.14);
  color: var(--orz-blue);
  font-weight: 900;
  margin: 0 0 12px;
}

.hero-card .glass{
  padding: 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

/* Mini list */
.mini-list{ display: flex; flex-direction: column; gap: 10px; margin: 12px 0; }
.mini-item{
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(24,0,173,.06);
  border: 1px solid rgba(24,0,173,.10);
}
.mini-item:hover{ background: rgba(24,0,173,.08); }
.mini-title{ font-weight: 950; color: #111; }
.mini-meta{ color: var(--muted); font-size: .92rem; margin-top: 3px; }

/* ===== Buttons ===== */
.cta-row{ display: flex; gap: 12px; flex-wrap: wrap; margin: 12px 0 16px; }

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 999px;
  font-weight: 950;
  border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease, background .12s ease;
}
.btn:hover{ transform: translateY(-2px); filter: brightness(1.02); box-shadow: 0 10px 22px rgba(24,0,173,.18); }
.btn.full{ width: 100%; }
.btn:active{ transform: translateY(0); box-shadow: none; }

.btn-primary{
  background: var(--orz-blue);
  color: #fff;
  border-color: rgba(24,0,173,.22);
}
.btn-secondary{
  background: #fff;
  border-color: rgba(24,0,173,.20);
  color: var(--orz-blue);
}
.btn-ghost{
  background: transparent;
  border-color: rgba(17,19,24,.16);
  color: rgba(17,19,24,.86);
}

/* ===== Stats ===== */
.stats{ display:flex; gap:14px; flex-wrap:wrap; margin-top:6px; }
.stat{
  background: rgba(24,0,173,.06);
  border: 1px solid rgba(24,0,173,.10);
  border-radius: 16px;
  padding: 12px 14px;
  min-width: 140px;
}
.stat-n{ font-weight: 950; font-size: 1.18rem; color: #111; }
.stat-l{ color: var(--muted); font-weight: 850; font-size: .9rem; }

/* ===== Split / Chips ===== */
.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}
.list{ margin: 10px 0 0; padding-left: 18px; color: var(--muted); line-height: 1.7; }

.chips{ display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }
.chip{
  font-weight: 950;
  color: var(--orz-blue);
  background: rgba(24,0,173,.08);
  border: 1px solid rgba(24,0,173,.14);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: .9rem;
}

/* ===== Grids ===== */
.grid-3{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

/* ===== Team ===== */
.person{ text-align:center; padding: 18px; }

/* Le cercle bleu dégradé (fond) */
.avatar{
  width: 96px;
  height: 96px;
  margin: 8px auto 14px;
  border-radius: 999px;
  padding: 6px;
  background: radial-gradient(
    circle at 30% 30%,
    #3f5efb 0%,
    #1b2a78 60%,
    #0b1240 100%
  );
  box-shadow: 0 10px 24px rgba(17,19,24,.12);
}

/* L’image à l’intérieur : transparente + centrée */
.avatar img{
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;      /* remplit le cercle */
  object-position: center;/* centre la personne */
  background: transparent;
  display: block;
}
}

.person-name{ font-weight: 950; font-size: 1.15rem; }
.person-role{ margin-top: 6px; color: var(--orz-blue); font-weight: 900; line-height: 1.25; }
.person-class{ margin-top: 6px; font-size: .9rem; color: rgba(17,19,24,.62); font-weight: 800; }

/* ===== Events ===== */
.events-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.event{ padding: 18px; }

.event-top{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.badge{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 950;
  font-size: .82rem;
  background: rgba(24,0,173,.08);
  border: 1px solid rgba(24,0,173,.14);
  color: var(--orz-blue);
}

.event-date{
  color: rgba(17,19,24,.62);
  font-weight: 900;
  font-size: .9rem;
}

.event-prices{
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(17,19,24,.75);
  line-height: 1.7;
}
.event-prices li{ margin: 4px 0; }

.event-note{
  margin: 10px 0 0;
  color: rgba(17,19,24,.74);
  line-height: 1.6;
  font-size: .95rem;
}

.ha-embed{
  margin-top: 12px;
  width: 100%;
}
.ha-embed iframe{
  display: block;
  width: 100%;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
}

/* ===== Contact / Quote ===== */
.contact-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }

.quote-text{ font-size: 1.18rem; font-weight: 950; line-height: 1.45; margin: 0; }
.quote-by{ margin: 10px 0 0; color: var(--muted2); font-weight: 900; }

/* ===== Footer ===== */
.footer{
  padding: 26px 0;
  border-top: 1px solid var(--stroke);
  background: #fff;
}
.footer-row{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer::before{
  content:"";
  display:block;
  height: 4px;
  background: linear-gradient(90deg, var(--orz-blue), rgba(24,0,173,.45));
}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr 1fr; }
  .events-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px){
  .menu{
    display: none;
    flex-direction: column;
    gap: 8px;
    position: absolute;
    top: 62px;
    right: 12px;
    padding: 12px;
    border-radius: var(--radius);
    border: 1px solid var(--stroke);
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(14px);
  }
  .nav.open .menu{ display: flex; }
  .burger{ display: block; }

  .grid-3{ grid-template-columns: 1fr; }
  .events-grid{ grid-template-columns: 1fr; }
  .contact-row{ grid-template-columns: 1fr; }
}
