/* Cinepulse Corporate/Trust Hub — Premium (FR)
   UI refresh inspired by the dark, high-contrast look common to Cinepulse properties.
   Font: DM Sans (loaded in HTML).
*/

:root{
  /* Core */
  --bg:#090201;
  --bg2:#120609;
  --surface:#12080b;
  --surface2:#1a0c12;
  --line:rgba(255,255,255,.10);
  --line2:rgba(255,255,255,.14);
  --text:#f7f1f4;
  --muted:rgba(247,241,244,.70);

  /* Brand accents (premium, not neon) */
  --accent:#b40f2e;     /* deep cine red */
  --accent2:#d81b3a;    /* rich highlight */

  /* Status */
  --good:#22c55e;
  --warn:#f59e0b;
  --bad:#ef4444;

  /* Layout */
  --shadow: 0 22px 70px rgba(0,0,0,.68);
  --radius: 18px;
  --radius2: 26px;
  --max: 1120px;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family:"DM Sans", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(180,15,46,.18), transparent 60%),
    radial-gradient(1100px 700px at 50% 115%, rgba(126,12,32,.10), transparent 62%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color:var(--text);
  line-height:1.55;
}

a{color:inherit}
.wrap{max-width:var(--max); margin:0 auto; padding:24px}

/* Top navigation */
.topbar{
  position:sticky; top:0; z-index:50;
  background:rgba(9,2,1,.72);
  backdrop-filter:saturate(1.25) blur(12px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.topbar .wrap{
  display:flex; align-items:center; gap:14px;
  padding:14px 24px;
  flex-wrap:wrap;
}

.brand{
  display:flex; align-items:center; gap:12px;
  text-decoration:none;
  min-width: 0;
  flex: 0 0 auto;
  gap: 0;
}
.brand img{
  width:auto; height:30px; max-width:240px;
  object-fit:contain;
  border-radius:6px;
  border:0;
  box-shadow:none;
}
.brand .name{font-weight:850; letter-spacing:.2px}
.brand .sub{
  font-weight:700; color:rgba(247,247,251,.62); font-size:12px;
  letter-spacing:.12em; text-transform:uppercase;
}

.nav{margin-left:auto; display:flex; flex-wrap:wrap; gap:8px}
.nav a{
  text-decoration:none;
  color:rgba(247,247,251,.68);
  padding:10px 12px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:750;
  font-size:14px;
}
.nav a:hover{
  color:var(--text);
  border-color:rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
}
.nav a[aria-current="page"]{
  color:var(--text);
  border-color:rgba(180,15,46,.45);
  background:rgba(180,15,46,.12);
}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.02);
  color:var(--text);
  font-weight:850;
  font-size:14px;
  text-decoration:none;
  cursor:pointer;
}
.btn:hover{filter:brightness(1.06)}
.btn:focus-visible{
  outline:2px solid rgba(180,15,46,.7);
  outline-offset:2px;
}
.btn.primary{
  border-color: transparent;
  background: linear-gradient(135deg, #b40f2e, #6f0b1d);
  color:#fdf2f5;
  box-shadow: 0 20px 60px rgba(180,15,46,.22);
}
.btn.ghost{background:rgba(255,255,255,.01)}

/* Hero */
.hero{padding:34px 0 10px}
.hero-grid{display:grid; grid-template-columns: 1.2fr .8fr; gap:16px; align-items:stretch}
@media (max-width: 920px){
  .hero-grid{grid-template-columns:1fr}
  .nav{display:none}
  .topbar .wrap{flex-direction:column; align-items:flex-start}
  .brand{min-width:auto; width:auto}
  .brand img{height:28px; max-width:100%}
  .topbar .btn.primary{width:100%; justify-content:center}
}

/* Cards */
.card{
  background:
    linear-gradient(180deg, rgba(20,10,13,.88), rgba(9,5,8,.88));
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--radius2);
  box-shadow:var(--shadow);
  overflow:hidden;
  position:relative;
}
.card:before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(800px 280px at 20% 0%, rgba(180,15,46,.12), transparent 60%),
    radial-gradient(520px 240px at 90% 0%, rgba(126,12,32,.08), transparent 60%);
  opacity:.85;
  pointer-events:none;
}
.card .pad{padding:22px; position:relative}

h1{margin:0 0 10px; font-size:44px; line-height:1.05; letter-spacing:-.03em}
.lead{color:rgba(247,247,251,.72); font-size:16px; margin:0 0 18px}

.kv{display:flex; flex-wrap:wrap; gap:10px; margin-top:14px}
.kv .chip{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  color:rgba(247,247,251,.72);
  padding:8px 10px;
  border-radius:999px;
  font-size:13px;
  font-weight:750;
}
.kv .chip strong{color:var(--text)}
.kv .chip em{color:var(--accent2); font-style:normal; font-weight:900}

.callout{
  display:flex; gap:12px; align-items:flex-start;
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(180,15,46,.42);
  background: linear-gradient(180deg, rgba(180,15,46,.14), rgba(255,255,255,.02));
}
.callout .icon{
  width:34px; height:34px; border-radius:14px;
  display:grid; place-items:center;
  border:1px solid rgba(180,15,46,.35);
  background: rgba(180,15,46,.18);
  flex: 0 0 auto;
}
.callout strong{display:block; margin-bottom:4px}

.aside-grid{display:grid; gap:12px}
.aside-item{
  padding:14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.02);
}
.label{
  font-size:12px;
  color:rgba(247,247,251,.62);
  text-transform:uppercase;
  letter-spacing:.14em;
}
.value{margin-top:6px; font-weight:900}

section{padding:18px 0}
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between; gap:12px;
  margin:18px 0 12px;
}
h2{margin:0; font-size:22px; letter-spacing:-.01em}
.hint{color:rgba(247,247,251,.70); font-size:14px; margin:0}

.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:14px}
.grid-2{display:grid; grid-template-columns:repeat(2,1fr); gap:14px}
@media (max-width: 920px){ .grid-3,.grid-2{grid-template-columns:1fr} }

.box{
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  overflow:hidden;
  position:relative;
}
.box:hover{border-color:rgba(180,15,46,.35)}
.box .pad{padding:18px}
.box h3{margin:0 0 8px; font-size:16px; letter-spacing:-.01em}
.box p{margin:0; color:rgba(247,247,251,.70); font-size:14px}

.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.02);
}
.table th,.table td{
  padding:12px;
  border-bottom:1px solid rgba(255,255,255,.08);
  font-size:14px;
  vertical-align:top;
}
.table th{color:rgba(247,247,251,.62); text-align:left; font-weight:900}
.table tr:last-child td{border-bottom:0}

.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  font-size:12px;
  font-weight:900;
  color:rgba(247,247,251,.72);
}
.dot{width:8px;height:8px;border-radius:99px;background:var(--good)}
.dot.warn{background:var(--warn)}
.dot.bad{background:var(--bad)}

.small-link{
  color:rgba(247,247,251,.74);
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,0);
}
.small-link:hover{
  color:var(--text);
  border-bottom-color: rgba(180,15,46,.6);
}

footer{padding:26px 0 40px; color:rgba(247,247,251,.62); font-size:13px}
footer a{color:var(--text); text-decoration:none}
footer a:hover{text-decoration:underline}

/* Cookie banner: Refuser = same prominence as Accepter */
.cookie{
  position:fixed; left:16px; right:16px; bottom:16px; z-index:60;
  max-width:var(--max); margin:0 auto;
  display:none;
}
.cookie .inner{
  display:flex; gap:12px; align-items:center; justify-content:space-between;
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(15,16,21,.82);
  backdrop-filter:saturate(1.2) blur(12px);
  box-shadow:var(--shadow);
}
.cookie p{margin:0; color:rgba(247,247,251,.70); font-size:13px}
.cookie .btns{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.cookie .btn{padding:10px 12px; font-size:13px}
