/* =========================================================
   DESIGN SYSTEM
   ========================================================= */
:root {
  --primary: #FF8C42;
  --secondary: #F2C94C;
  --dark: #070B12;
  --light: #f8fafc;
  --glass: rgba(255,255,255,0.06);
  --glass-hover: rgba(255,255,255,0.09);
  --text: #EAF2FF;
  --muted: #B9C2D0;
}

*{margin:0;padding:0;box-sizing:border-box}
html,body{height:100%}

body{
  font-family: 'Roboto', sans-serif;
  background:#05070e;
  color:var(--text);
  line-height:1.6;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,.btn{
  font-family:'Montserrat',sans-serif;
}

a{
  color:inherit;
  text-decoration:none;
}

/* =========================================================
   LAYOUT
   ========================================================= */
.wrap{
  width:min(1150px,92vw);
  margin:0 auto;
}

.section{
  padding:64px 0;
}
.section.compact{
  padding:40px 0;
}

.center{
  text-align:center;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 28px;
  border-radius:50px;
  font-weight:800;
  background:var(--primary);
  color:#0b0f18;
  transition:all .25s ease;
}

.btn:hover{
  transform:translateY(-2px);
  filter:brightness(1.05);
}

.btn-gold{
  background:linear-gradient(90deg,var(--secondary),var(--primary));
  color:#0b0f18;
  box-shadow:0 12px 30px rgba(242,201,76,.25);
}

/* =========================================================
   TOPBAR
   ========================================================= */
.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 20px;
  background:rgba(5,7,14,.85);
  border-bottom:1px solid rgba(255,255,255,.06);
  font-size:.9rem;
}

.topbar .right a{
  margin-left:14px;
  opacity:.85;
}
.topbar a:hover{opacity:1}

/* =========================================================
   HERO – BASE (HOME + PAGES)
   ========================================================= */
.hero{
  position:relative;
  height:100vh;
  min-height:560px;
  overflow:hidden;
  background:#05070e;
  border-radius:26px;
  box-shadow:0 30px 90px rgba(0,0,0,.55);
}

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

.hero h1{
  font-size:clamp(34px,6vw,64px);
  line-height:1.08;
  margin-bottom:10px;
}

.hero .sub{
  font-size:clamp(15px,2.6vw,20px);
  color:rgba(234,242,255,.75);
}

/* =========================================================
   HERO SLIDER (HOME)
   ========================================================= */
.hero .slides{
  position:absolute;
  inset:0;
  z-index:0;
}

.hero .slides img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity 1.6s ease;
  transform:scale(1.03);
  filter:contrast(1.06) saturate(1.12);
}

.hero .slides img.active{
  opacity:1;
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:
    radial-gradient(1200px 520px at 20% 30%, rgba(0,123,140,.22), transparent 55%),
    radial-gradient(900px 480px at 80% 25%, rgba(242,201,76,.14), transparent 55%),
    linear-gradient(to bottom, rgba(0,0,0,.15), rgba(0,0,0,.65));
}

/* =========================================================
   HERO EDITORIAL (CONCEPT / ABOUT / TEXT PAGES)
   ========================================================= */
.hero--concept{
  background-size:cover !important;
  background-position:center !important;
  background-repeat:no-repeat !important;
  background-color:#05070e !important;
}

/* désactive le slider sur pages texte */
.page-text .hero .slides{
  display:none !important;
}

/* =========================================================
   TEXT PAGES (RESPONSIVE)
   ========================================================= */
.page-text .wrap{
  width:min(920px,92vw);
}

.page-text h1{
  text-transform:uppercase;
}

.page-text h2{
  font-size:clamp(20px,4.8vw,32px);
  margin:28px 0 14px;
  text-align:left;
}

.page-text p{
  font-size:clamp(15px,2.6vw,18px);
  line-height:1.65;
  color:rgba(234,242,255,.86);
  text-align:left;
}

.page-text .muted{
  color:rgba(234,242,255,.6);
}

/* =========================================================
   CARDS
   ========================================================= */
.card{
  background:var(--glass);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:20px;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
  transition:transform .18s ease,background .18s ease;
}

.card:hover{
  transform:translateY(-3px);
  background:var(--glass-hover);
}

/* =========================================================
   FOOTER
   ========================================================= */
footer{
  margin-top:60px;
  padding:40px 20px;
  text-align:center;
  border-top:1px solid rgba(255,255,255,.08);
  font-size:.9rem;
  color:rgba(234,242,255,.7);
}

footer a:hover{
  color:var(--secondary);
}

/* =========================================================
   MOBILE
   ========================================================= */
@media(max-width:760px){
  .hero{
    min-height:520px;
    border-radius:18px;
  }
  .hero-content{
    padding:0 12px;
  }
}
