/* ==========================================================================
   Site Étude contre la violence : header co-brandé + bandeau « étude »
   CSS autonome (sans Tailwind) chargé après app.css par app/etude-header.php
   ========================================================================== */

/* ---------- Header co-brandé ---------- */
.cobrand-hide { display: none !important; }

.cobrand {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  padding-left: 1rem;
}

.cobrand-logo {
  height: 34px;
  width: auto;
  max-width: none;
}

.cobrand-text {
  display: none;
  font-size: .8rem;
  line-height: 1.35;
  color: #032156;
}

.cobrand-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
  padding-right: 1rem;
}

.cobrand-logo-right {
  height: 30px;
  width: auto;
  max-width: none;
}

html.dark .cobrand-text { color: #fff; }

@media (min-width: 640px) {
  .cobrand-text { display: block; }
}

@media (min-width: 781px) {
  .cobrand { gap: 2rem; padding-left: 1.5rem; }
  .cobrand-right { padding-right: 1.5rem; }
  .cobrand-logo { height: 44px; }
  .cobrand-logo-right { height: 42px; }
  .cobrand-text { font-size: .875rem; }
}

/* ---------- Bandeau « étude » (hero) ---------- */
.study-hero {
  position: relative;
  background-color: #032156;
  color: #fff;
}

.study-hero__inner {
  padding-top: 6rem;            /* laisse la place au header fixe (mobile) */
  padding-bottom: 2.25rem;
  text-align: center;
}

.study-hero__title {
  margin: 0 0 .5rem;
  color: #fff;
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1.15;
}

.study-hero__highlight { color: #5DDAF5; }

.study-hero__subtitle {
  margin: 0;
  font-size: 1.125rem;
}

.study-hero__bar {
  height: 1.25rem;
  background-color: #FFF200;
}

@media (min-width: 781px) {
  .study-hero__inner { padding-top: 9.5rem; padding-bottom: 3rem; }
  .study-hero__title { font-size: 3.5rem; }
  .study-hero__subtitle { font-size: 1.5rem; }
  .study-hero__bar { height: 1.75rem; }
}
