:root{
  --bg0:#07070b;
  --bg1:#0b0b12;
  --txt:#f6f6ff;
  --muted:rgba(246,246,255,.72);

  --pink:#ff2f7d;
  --orange:#ff6a00;
  --yellow:#ffd400;
  --cyan:#00d6ff;

  --card:rgba(255,255,255,.040);
  --card2:rgba(255,255,255,.020);
  --border:rgba(255,255,255,.10);
  --border2:rgba(255,255,255,.065);

  --shadow:0 20px 60px rgba(0,0,0,.62);
  --shadowSoft:0 14px 40px rgba(0,0,0,.50);
  --shadowHot:0 18px 55px rgba(255,47,125,.18), 0 14px 46px rgba(255,106,0,.14);

  --container:1120px;

  --radius-xl:22px;
  --radius-lg:18px;
  --radius-md:14px;

  --fz:16.8px;
  --fz-sm:15.2px;
  --fz-btn:17.2px;
  --fz-btn-sticky:17.6px;

  --section-gap:3.1rem;

  /* Sticky CTA safe */
  --sticky-h: 96px;
  --sticky-gap: 20px;
  --sticky-safe: calc(var(--sticky-h) + var(--sticky-gap) + env(safe-area-inset-bottom, 0px));

  /* Cookies banner height estimate (pour être au-dessus du sticky) */
  --cookie-gap: 14px;
}

@media (max-width:520px){
  :root{
    --sticky-h: 118px;
    --sticky-gap: 22px;
  }
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
  font-size:var(--fz);
  line-height:1.55;
  color:var(--txt);
  background: var(--bg0);
  padding-bottom: var(--sticky-safe);
  position:relative;
  overflow-x:hidden;
}

body.no-banner{padding-bottom:0}
body.no-banner .sticky-cta{display:none}

a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:1.1rem;
}
@media (max-width:900px){
  .container{padding:1rem}
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  pointer-events:none;
  background:
    radial-gradient(900px 520px at 12% -12%, rgba(255,47,125,.18), transparent 68%),
    radial-gradient(900px 520px at 88% -14%, rgba(255,106,0,.16), transparent 70%),
    linear-gradient(180deg, var(--bg0) 0%, #07070b 26%, var(--bg1) 100%);
}
body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  opacity:.05;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

/* TOPBAR */
.topbar{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  gap:1rem;
  padding-top:1.1rem;
  padding-bottom:.85rem;
}
.topbar-spacer{height:1px}

.topbar .brand{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:.45rem;
  text-decoration:none;
  min-width:0;
}

.topbar .brand img{
  width:92px;
  height:92px;
  object-fit:contain;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.18);
  box-shadow:0 16px 44px rgba(0,0,0,.58);
}

.topbar .brand-title{
  font-weight:1000;
  letter-spacing:-.02em;
  text-transform:uppercase;
  line-height:1.05;
  text-align:center;
  white-space:normal;
  max-width:18ch;
  font-size:1.18rem;
  text-shadow:0 10px 30px rgba(0,0,0,.45);
}

.pill{
  justify-self:end;
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding:.52rem .85rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.22);
  color:rgba(255,255,255,.92);
  font-weight:900;
  font-size:.98rem;
}

@media (max-width:900px){
  .topbar{
    grid-template-columns: 1fr;
    justify-items:center;
    gap:.75rem;
    padding-top:1rem;
  }
  .pill{justify-self:center}
  .topbar .brand img{width:84px;height:84px;border-radius:18px}
  .topbar .brand-title{font-size:1.08rem; max-width:16ch}
}
@media (max-width:520px){
  .topbar .brand-title{font-size:1.00rem; max-width:15ch}
  .pill{font-size:.95rem}
}

/* CARDS */
.card{
  background:linear-gradient(180deg, var(--card), var(--card2));
  border:1px solid var(--border2);
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow);
  position:relative;
}
.card::before{
  content:"";
  position:absolute;
  inset:-1px;
  pointer-events:none;
  border-radius:inherit;
  background:
    radial-gradient(540px 280px at 12% 12%, rgba(255,47,125,.10), transparent 60%),
    radial-gradient(520px 280px at 86% 18%, rgba(255,106,0,.09), transparent 62%);
  opacity:.90;
}
.card > *{position:relative}

/* HERO */
.hero{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:1.15rem;
  align-items:stretch;
  margin-top:.2rem;
}
@media (max-width:900px){
  .hero{
    grid-template-columns:1fr;
    grid-template-areas:"media" "card";
  }
}
.hero-card{
  overflow:hidden;
  padding:1.25rem;
  min-height:660px;
  display:flex;
  flex-direction:column;
}
@media (max-width:900px){
  .hero-card{min-height:auto; grid-area:card}
}
h1{
  margin:.15rem 0 .55rem 0;
  font-size:2.35rem;
  line-height:1.08;
  letter-spacing:-.02em;
}
@media (max-width:900px){
  h1{font-size:2.02rem}
}
.badges{
  display:flex;
  flex-wrap:wrap;
  gap:.55rem;
  margin:.55rem 0 .85rem 0;
}
.badge{
  border:1px solid rgba(255,255,255,.11);
  background:rgba(0,0,0,.25);
  color:#fff;
  padding:.40rem .70rem;
  border-radius:999px;
  font-size:.95rem;
  font-weight:900;
}
.badge.hot{
  border-color:rgba(255,47,125,.28);
  background:rgba(255,47,125,.10);
}
.hero-points{
  margin:.4rem 0 .95rem 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:.55rem;
  font-size:var(--fz-sm);
}
.hero-points li{
  display:flex;
  gap:.60rem;
  align-items:flex-start;
  color:rgba(255,255,255,.92);
}
.hero-points li i{
  font-style:normal;
  font-weight:1000;
  color:var(--yellow);
  text-shadow:0 10px 25px rgba(0,0,0,.35);
}
.city-highlight{
  padding:1.05rem;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(520px 240px at 18% 18%, rgba(0,214,255,.06), transparent 62%),
    radial-gradient(520px 240px at 82% 20%, rgba(255,212,0,.05), transparent 62%),
    rgba(0,0,0,.18);
  color:rgba(255,255,255,.92);
}
.cta-box{
  margin-top:1.15rem;
  padding:1rem;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.22);
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:20px;
  padding:1.12rem 1.25rem;
  font-weight:1000;
  letter-spacing:.01em;
  border:0;
  cursor:pointer;
  user-select:none;
  text-align:center;
}
.btn-primary{
  width:100%;
  max-width:560px;
  color:#ffffff;
  font-size:var(--fz-btn);
  background:linear-gradient(90deg, var(--pink), var(--orange));
  box-shadow:var(--shadowHot);
  position:relative;
}
.btn-primary::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:inherit;
  pointer-events:none;
  background:linear-gradient(90deg, rgba(255,212,0,.40), rgba(0,214,255,.20));
  opacity:.12;
}
.btn-primary:hover{filter:brightness(1.05)}
.btn-primary:active{transform:translateY(1px)}

.hero-media{
  padding:1rem;
  display:flex;
  align-items:stretch;
  min-height:660px;
}
@media (max-width:900px){
  .hero-media{min-height:auto; grid-area:media}
}
.hero-click{
  display:block;
  width:100%;
  height:100%;
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
  border-radius:var(--radius-xl);
}
.hero-click:focus{
  outline:2px solid rgba(255,255,255,.18);
  outline-offset:2px
}
.hero-media img{
  width:100%;
  height:100%;
  border-radius:var(--radius-xl);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:var(--shadow);
  object-fit:cover;
}

/* SECTIONS */
.section{margin-top:var(--section-gap)}
.section-title{
  margin:0 0 .75rem 0;
  font-size:1.70rem;
  font-weight:1000;
  letter-spacing:-.01em;
}
.section-subtitle{
  margin:0 0 2.4rem 0;
  color:var(--muted);
  max-width:70ch;
}
.columns-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1rem;
}
@media (max-width:900px){
  .columns-3{grid-template-columns:1fr}
}
.info-card{
  padding:1.05rem;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.18);
  box-shadow:var(--shadowSoft);
}
.info-card h3{
  margin:.15rem 0 .45rem 0;
  font-size:1.06rem
}
.info-card p{
  margin:0;
  color:var(--muted);
  font-size:var(--fz-sm)
}

.extra-profiles-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:.9rem;
}
@media (max-width:900px){
  .extra-profiles-grid{grid-template-columns:repeat(2,1fr)}
}
.extra-profile{
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
}
.extra-profile img{
  width:100%;
  height:auto;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  transition:transform .16s ease, filter .16s ease, box-shadow .16s ease;
  object-fit:cover;
}
.extra-profile:hover img{
  transform:translateY(-2px);
  filter:brightness(1.06);
  box-shadow:0 22px 66px rgba(255,47,125,.14);
}

.links-wrap{
  display:flex;
  flex-wrap:wrap;
  gap:.62rem;
  font-size:1.02em;
  margin-top:.25rem;
}
.links-wrap a{
  color:#ffffff;
  border:1px solid rgba(255,47,125,.20);
  background:rgba(255,47,125,.08);
  padding:.42rem .70rem;
  border-radius:999px;
  font-weight:900;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}
.links-wrap a:hover{filter:brightness(1.06)}

/* FOOTER */
.footer-legal{
  margin-top:2.2rem;
  text-align:center;
  color:var(--muted);
  font-size:var(--fz-sm);
  padding-bottom: calc(var(--sticky-safe) + 1.2rem);
}
.footer-links{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  text-align:center;
}
.footer-link{
  font-weight:1000;
  color:rgba(255,212,0,.92);
}
.footer-cookie-link{
  color:rgba(0,214,255,.92);
}
.footer-cookie-link:hover{filter:brightness(1.06)}
.footer-backlink{
  text-align:center;
  color:rgba(255,255,255,.78);
  font-size:var(--fz-sm);
}
.footer-backlink-pre{
  text-align:center;
  margin-bottom: calc(var(--sticky-safe) + 1.2rem);
}
.footer-backlink-line{
  margin:0;
  text-align:center;
}
.footer-note{
  margin-top:.65rem;
  line-height:1.55;
}

/* STICKY CTA bas */
.sticky-cta{
  position:fixed;
  left:0;
  right:0;
  bottom: env(safe-area-inset-bottom, 0px);
  padding:.82rem;
  background:rgba(7,7,11,.88);
  backdrop-filter:blur(12px);
  border-top:1px solid rgba(255,255,255,.08);
  display:flex;
  justify-content:center;
  z-index:60;
}
.sticky-cta .btn-primary{
  width:min(860px, 94vw);
  padding:1.18rem 1.25rem;
  border-radius:22px;
  font-size:var(--fz-btn-sticky);
  color:#ffffff;
}

/* =========================================================
   COOKIE BANNER (NOUVEAU)
   - s'affiche tant que pas de choix
   - au-dessus du sticky CTA
   ========================================================= */
.cookie-banner{
  position:fixed;
  left:0;
  right:0;

  /* au-dessus du sticky (si sticky actif) */
  bottom: calc(var(--sticky-safe) + var(--cookie-gap));
  z-index: 90;

  display:none;
  padding: 0 .95rem;
}

body.no-banner .cookie-banner{
  bottom: calc(env(safe-area-inset-bottom, 0px) + var(--cookie-gap));
}

.cookie-banner.is-visible{display:block}

.cookie-card{
  max-width: min(980px, 94vw);
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(12px);
  box-shadow: 0 22px 70px rgba(0,0,0,.62);
  padding: 1.0rem 1.05rem;
}

.cookie-title{
  font-weight: 1000;
  letter-spacing: -.01em;
  font-size: 1.05rem;
  margin-bottom: .35rem;
}

.cookie-text{
  color: rgba(255,255,255,.84);
  font-size: var(--fz-sm);
  line-height: 1.45;
}

.cookie-links{
  margin-top: .55rem;
  display:flex;
  gap:.65rem;
  justify-content:center;
  flex-wrap:wrap;
}

.cookie-link{
  font-weight: 900;
  color: rgba(255,212,0,.92);
  text-decoration:none;
}
.cookie-link:hover{filter:brightness(1.06)}

.cookie-actions{
  margin-top: .85rem;
  display:flex;
  gap:.7rem;
  justify-content:center;
  flex-wrap:wrap;
}

.cookie-btn{
  border-radius: 999px;
  padding: .70rem 1.05rem;
  font-weight: 1000;
  border: 1px solid rgba(255,255,255,.14);
  cursor:pointer;
  background: rgba(255,255,255,.06);
  color: #fff;
}

.cookie-btn-ghost{
  background: rgba(0,0,0,.18);
}

.cookie-btn-primary{
  border: 0;
  background: linear-gradient(90deg, var(--pink), var(--orange));
  box-shadow: 0 18px 55px rgba(255,47,125,.18), 0 14px 46px rgba(255,106,0,.14);
}

.cookie-btn:hover{filter:brightness(1.05)}
.cookie-btn:active{transform:translateY(1px)}

@media (max-width:520px){
  .cookie-card{padding: .95rem}
}

/* Safety: pas de rail CTA */
.cta-rail,
.rail-card,
.rail-btn,
.rail-kicker{
  display:none !important;
}
/* ================================
   Legal page (mentions.html)
   ================================ */
body.legal .legal-wrap {
  max-width: 980px;
}

body.legal .legal-title {
  margin: 0 0 22px 0;
  font-size: 2rem;
}

body.legal .legal-block {
  margin: 18px 0;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

body.legal .legal-block h2 {
  margin: 0 0 10px 0;
  font-size: 1.15rem;
}

body.legal .legal-block p {
  margin: 10px 0;
  line-height: 1.7;
}

body.legal .legal-note {
  opacity: 0.8;
  font-size: 0.95rem;
}

body.legal .legal-date {
  opacity: 0.9;
}

body.legal .legal-actions {
  margin-top: 26px;
  display: flex;
  justify-content: center;
}
