/* ==========================================
   NVO987.eu – Agenda Culturel Paris (LUX UI)
   French Luxury • Gold accents • Soft link highlight
   ========================================== */

:root{
  --bg:#f4f1ec;
  --bg2:#ece6df;

  --text:#141414;
  --muted:#6b7280;

  --card:#ffffff;
  --border:rgba(0,0,0,0.10);

  --primary:#0c1e3b;
  --accent:#7a1f2b;

  --gold:#d4af37;
  --gold-soft:rgba(212,175,55,0.22);

  --radius:18px;
  --shadow:0 10px 35px rgba(0,0,0,0.08);

  --font:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

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

html{ scroll-behavior:smooth; }

body{
  font-family:var(--font);
  background:linear-gradient(180deg,var(--bg),var(--bg2));
  color:var(--text);
  line-height:1.65;
  min-height:100vh;
}

/* CONTAINER */
.container{
  width:100%;
  max-width:1120px;
  margin:0 auto;
  padding:0 18px;
}

/* ==========================================
   GLOBAL LINKS (lux highlight)
   ========================================== */

a{
  color:var(--accent);
  font-weight:900;
  text-decoration:none;
  position:relative;
  padding:2px 6px;
  border-radius:8px;
  background:transparent;
  transition:0.2s ease;
}

a:hover{
  background:var(--gold-soft);
  box-shadow:0 0 0 1px rgba(212,175,55,0.45) inset;
  color:var(--primary);
}

/* ==========================================
   NAVBAR
   ========================================== */

.topbar{
  position:sticky;
  top:0;
  z-index:2000;
  background:rgba(244,241,236,0.92);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(0,0,0,0.08);
}

.topbar-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 0;
  gap:20px;
}

.brand{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}

.brand-name{
  font-weight:950;
  font-size:18px;
  color:var(--accent);
  letter-spacing:0.02em;
}

.brand-tag{
  font-size:12px;
  font-weight:700;
  color:var(--muted);
  margin-top:4px;
}

.nav{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.nav a{
  background:transparent;
  text-decoration:none;
  font-weight:950;
  font-size:14px;
  color:var(--primary);
  padding:7px 14px;
  border-radius:999px;
  transition:0.22s ease;
}

.nav a:hover{
  background:rgba(12,30,59,0.10);
  color:var(--accent);
  box-shadow:0 0 0 1px rgba(212,175,55,0.35) inset;
}

/* ==========================================
   HERO (BANNER IMAGE)
   ========================================== */

.hero{
  margin:26px auto;
  border-radius:22px;
  overflow:hidden;
  background-image:url("banner.jpg");
  background-size:cover;
  background-position:center;
  min-height:360px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 18px 55px rgba(0,0,0,0.18);
  position:relative;
}

/* No dark overlay */
.hero::after{ display:none; }

.hero-text{
  position:relative;
  z-index:2;
  text-align:center;
  padding:36px 46px;
  max-width:860px;

  background:rgba(255,255,255,0.10);
  border:1px solid rgba(255,255,255,0.38);
  border-radius:18px;
  backdrop-filter:blur(14px);

  box-shadow:0 18px 55px rgba(0,0,0,0.25);
}

.hero-text h1{
  font-size:54px;
  font-weight:950;
  color:#ffffff;
  letter-spacing:0.02em;
  text-shadow:0 6px 16px rgba(0,0,0,0.75);
}

/* ==========================================
   MAIN
   ========================================== */

.main{
  padding:25px 0 55px 0;
}

/* Sections */
.section{
  margin-bottom:48px;
}

/* Fix "titles floating in air" */
.section-header{
  margin-bottom:18px;
  padding-bottom:10px;
  border-bottom:1px solid rgba(0,0,0,0.08);
  position:relative;
}

.section-header::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-1px;
  width:110px;
  height:3px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--gold),rgba(212,175,55,0.10));
}

.section-header h2{
  font-size:34px;
  font-weight:950;
  color:var(--primary);
  letter-spacing:-0.02em;
}

.section-header p{
  margin-top:10px;
  color:var(--muted);
  font-size:14px;
  max-width:760px;
}

/* ==========================================
   CONTROLS
   ========================================== */

.controls{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin:18px 0 20px 0;
}

.controls input,
.controls select{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:14px;
  padding:13px 14px;
  font-size:14px;
  outline:none;
  transition:0.2s ease;
  box-shadow:0 6px 20px rgba(0,0,0,0.04);
}

.controls input{
  flex:1;
  min-width:240px;
}

.controls select{
  min-width:170px;
  font-weight:950;
}

.controls input:focus,
.controls select:focus{
  border-color:rgba(212,175,55,0.75);
  box-shadow:0 0 0 4px rgba(212,175,55,0.18);
}

/* ==========================================
   STATUS BOX
   ========================================== */

.status{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:14px;
  padding:14px 16px;
  font-weight:950;
  font-size:14px;
  margin-bottom:20px;
  box-shadow:0 8px 25px rgba(0,0,0,0.06);
}

.status.success{ border-left:6px solid #16a34a; }
.status.info{ border-left:6px solid #2563eb; }
.status.warn{ border-left:6px solid #f59e0b; }
.status.error{ border-left:6px solid #dc2626; }

/* ==========================================
   EVENTS GRID
   ========================================== */

.grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.event-card{
  background:var(--card);
  border:1px solid rgba(0,0,0,0.08);
  border-radius:18px;
  padding:18px;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  gap:12px;
  min-height:250px;
  transition:0.22s ease;
  position:relative;
}

/* Luxury gold frame accent */
.event-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:18px;
  border:1px solid rgba(212,175,55,0.22);
  pointer-events:none;
}

.event-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 50px rgba(0,0,0,0.12);
}

.event-card h3{
  font-size:17px;
  font-weight:950;
  line-height:1.25;
  color:var(--text);
}

.event-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  font-size:13px;
  font-weight:850;
  color:var(--muted);
}

.event-location{
  font-size:13px;
  font-weight:950;
  color:var(--primary);
  margin-top:4px;
}

.event-desc{
  font-size:14px;
  color:rgba(20,20,20,0.92);
  flex:1;
  margin-top:4px;
}

/* Button */
.btn{
  display:inline-block;
  text-decoration:none;
  background:var(--primary);
  color:#fff;
  padding:11px 14px;
  border-radius:14px;
  font-size:13px;
  font-weight:950;
  transition:0.2s ease;
  text-align:center;
  box-shadow:0 10px 25px rgba(12,30,59,0.18);
}

.btn:hover{
  background:var(--accent);
}

/* ==========================================
   LEGAL / SOURCES CARDS
   ========================================== */

.legal-card,
.sources-card{
  background:var(--card);
  border:1px solid rgba(0,0,0,0.08);
  border-radius:18px;
  padding:28px;
  box-shadow:var(--shadow);
  position:relative;
}

/* Gold outline */
.legal-card::before,
.sources-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:18px;
  border:1px solid rgba(212,175,55,0.22);
  pointer-events:none;
}

.legal-card h3{
  font-size:18px;
  font-weight:950;
  margin-top:22px;
  margin-bottom:10px;
  color:var(--primary);
}

.legal-card h3:first-child{
  margin-top:0;
}

.legal-card p{
  font-size:14px;
  color:rgba(20,20,20,0.92);
  margin-bottom:12px;
}

.sources-card ul{
  padding-left:18px;
  margin-top:10px;
  margin-bottom:6px;
}

.sources-card li{
  margin-bottom:10px;
  font-size:14px;
  color:rgba(20,20,20,0.92);
}

/* Sources links more "premium clickable" */
.sources-card a{
  display:inline-block;
  background:rgba(212,175,55,0.14);
  border:1px solid rgba(212,175,55,0.28);
  padding:4px 10px;
  border-radius:999px;
  font-weight:950;
  color:var(--accent);
  transition:0.2s ease;
}

.sources-card a:hover{
  background:rgba(212,175,55,0.26);
  border-color:rgba(212,175,55,0.55);
  color:var(--primary);
}

.small-note{
  margin-top:10px;
  font-size:13px;
  color:var(--muted);
}

.muted{ color:var(--muted); }

/* ==========================================
   FOOTER
   ========================================== */

.footer{
  margin-top:35px;
  padding:34px 0;
  border-top:1px solid rgba(0,0,0,0.10);
  background:rgba(244,241,236,0.75);
}

.footer-inner{
  text-align:center;
  font-size:14px;
  color:rgba(20,20,20,0.85);
  line-height:1.8;
}

.footer-inner a{
  display:inline-block;
  background:rgba(212,175,55,0.14);
  border:1px solid rgba(212,175,55,0.28);
  padding:4px 10px;
  border-radius:999px;
  color:var(--accent);
  font-weight:950;
}

.footer-inner a:hover{
  background:rgba(212,175,55,0.26);
  border-color:rgba(212,175,55,0.55);
  color:var(--primary);
}

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

@media (max-width:980px){
  .grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .hero-text h1{
    font-size:42px;
  }
}

@media (max-width:640px){
  .grid{
    grid-template-columns:1fr;
  }

  .topbar-inner{
    flex-direction:column;
    align-items:flex-start;
  }

  .nav{
    justify-content:flex-start;
    width:100%;
    gap:10px;
  }

  .hero{
    min-height:280px;
    margin:18px 14px;
  }

  .hero-text{
    padding:24px 18px;
  }

  .hero-text h1{
    font-size:30px;
  }

  .section-header h2{
    font-size:26px;
  }

  .section{
    margin-bottom:38px;
  }
     }
