:root{
  --brand-red:#c40014;
  --brand-green:#0a8f3e;
  --ink:#0f172a;
  --muted:#64748b;
  --bg:#f6f7fb;
}

body{
  background:var(--bg);
  color:var(--ink);
}

/* Navbar */
.site-navbar{
  background:var(--brand-red);
}
.site-navbar .nav-link{
  font-weight:700;
  opacity:.95;
}
.site-navbar .nav-link:hover{
  opacity:1;
}
.navbar-brand img{
  height:70px;        /* augmente ici si nécessaire */
  width:auto;
  transition: all .3s ease;
}

/* Dropdown */
.dropdown-menu{
  border-radius:16px;
  border:1px solid rgba(15,23,42,.10);
  box-shadow: 0 18px 50px rgba(2,6,23,.18);
  padding:.5rem;
}
.dropdown-item{
  border-radius:12px;
  padding:.55rem .75rem;
  font-weight:600;
}

/* Slider */
.hero-slider .carousel-item{
  min-height: 520px;
  background:#0b1220;
  color:#fff;
  position:relative;
  overflow:hidden;
}

.hero-slider .slide-bg{
  position:absolute;
  inset:0;
  background:center/cover no-repeat;
  filter:saturate(1.05);
  transform:scale(1.03);
}

.hero-slider .overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.25));
}

.hero-slider .content{
  position:relative;
  z-index:2;
  padding: 5rem 0;
}

.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.45rem .75rem;
  border-radius:999px;
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
  font-weight:800;
  font-size:.9rem;
}

.hero-title{
  letter-spacing:-.03em;
  font-weight:900;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height:1.05;
}

.hero-lead{
  color: rgba(255,255,255,.82);
  font-size:1.1rem;
}

.btn-brand{
  background:var(--brand-red);
  border-color:var(--brand-red);
}
.btn-brand:hover{
  filter:brightness(.95);
}

/* Soft shadow */
.shadow-soft{
  box-shadow: 0 10px 30px rgba(2,6,23,.08);
}

/* Footer */
.site-footer{
  background: linear-gradient(180deg, var(--brand-green), #086b30);
  color:#fff;
}
.site-footer a{
  color: rgba(255,255,255,.92);
  text-decoration:none;
}
.site-footer a:hover{
  text-decoration:underline;
}

.quote-card{
  background: #fff;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  padding: 18px;
}
.quote-mark{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(196,0,20,.10);
  border: 1px solid rgba(196,0,20,.18);
  color: var(--brand-red);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  font-size: 28px;
  line-height: 1;
}

.info-tile{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:14px 14px;
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
}
.info-tile .icon{
  width:44px;height:44px;
  border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  background: rgba(196,0,20,.10);
  border: 1px solid rgba(196,0,20,.18);
  color: var(--brand-red);
  font-size: 20px;
  flex: 0 0 auto;
}

.search-bar{ border-radius: 22px; }
.star-card{
  border-radius: 20px;
  overflow: hidden;
}
.star-card:hover{
  transform: translateY(-2px);
  transition: .15s ease;
}
.star-name{
  font-size: 1.05rem;
  letter-spacing: -.01em;
}
.star-actions .btn{ border-radius: 999px; }

.star-thumb{
  aspect-ratio: 4/5;      /* portrait */
  overflow: hidden;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  background: #f3f4f6;
}
.star-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

.toc-link{
  display:block;
  padding:12px 14px;
  border-radius:16px;
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  text-decoration:none;
  color: var(--ink);
  font-weight:800;
}
.toc-link:hover{ transform: translateY(-1px); transition:.15s ease; }

.reg-mini-card{
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  border-radius:18px;
  padding:14px;
}

.reg-thumb{ border-radius:18px; overflow:hidden; cursor:pointer; }
.reg-thumb img{ aspect-ratio: 3/4; object-fit: cover; }
.reg-thumb:hover{ transform: translateY(-2px); transition:.15s ease; }

.reg-cover img{ aspect-ratio: 4/5; object-fit: cover; }

.star-cover img{
  aspect-ratio: 4/5;
  object-fit: cover;
}
.info-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid rgba(15,23,42,.08);
}
.info-row:last-child{ border-bottom:none; }
.info-row .label{ color: rgba(0,0,0,.55); font-weight:700; }
.info-row .value{ text-align:right; font-weight:800; color: var(--ink); }

.search-bar{ border-radius: 22px; }

.star-card{
  border-radius: 20px;
  overflow: hidden;
}
.star-card:hover{
  transform: translateY(-2px);
  transition: .15s ease;
}
.star-thumb{
  aspect-ratio: 4/5;  /* portrait */
  overflow: hidden;
  background: #f3f4f6;
}
.star-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}
.star-name{
  font-size: 1.05rem;
  letter-spacing: -.01em;
}
.star-actions .btn{ border-radius: 999px; }