body {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.6;
}

.container {
  max-width: 960px;
  margin: auto;
  padding: 40px 20px;
}

.header {
  border-bottom: 1px solid #e5e5e5;
}

.logo {
  margin: 0;
  font-size: 2.2rem;
}

.baseline {
  margin-top: 5px;
  color: #666;
}

.intro {
  margin-top: 40px;
  font-size: 1.1rem;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.pillars div {
  padding: 20px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
}

.actions {
  margin: 40px 0;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  margin-right: 10px;
  background: #d52b1e;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.btn.secondary {
  background: #555;
}

.footer {
  border-top: 1px solid #e5e5e5;
  margin-top: 60px;
  font-size: 0.9rem;
  color: #666;
}

.footer a {
  color: #666;
  text-decoration: none;
}
.toplink {
  display: inline-block;
  margin-bottom: 12px;
  color: #666;
  text-decoration: none;
  font-size: 0.95rem;
}

.prose h2 { margin-top: 36px; }
.prose h3 { margin-top: 26px; }

.small { font-size: 0.92rem; }
.muted { color: #666; }

.notice {
  border: 1px solid #e5e5e5;
  background: #fafafa;
  padding: 14px 16px;
  margin: 18px 0 28px;
}

.form {
  display: grid;
  gap: 14px;
  max-width: 680px;
  margin-top: 16px;
}

.form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.form input,
.form select,
.form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
}

.checkbox {
  font-weight: 500 !important;
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
}

.checkbox input { margin-top: 3px; }

.player {
  border: 1px solid #e5e5e5;
  background: #111;
  color: #fff;
  border-radius: 10px;
  overflow: hidden;
  margin: 18px 0 18px;
}

.player-inner {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 18px;
}

.player-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #d52b1e;
  color: #fff;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 8px;
}

.player-text {
  margin: 0;
  text-align: center;
  max-width: 520px;
  color: rgba(255,255,255,0.9);
}
.latest h2 { margin-top: 60px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.card {
  border: 1px solid #e5e5e5;
  text-decoration: none;
  color: #111;
  background: #fff;
}

.thumb{
  position: relative;
  aspect-ratio: 16/9;
  background: #111;
  overflow: hidden;
}

.thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 34px;
  background: rgba(0,0,0,.22);
  opacity: 0;
  transition: opacity .2s ease;
}

.card:hover .play{
  opacity: 1;
}

.card-body { padding: 14px 14px 16px; }
.meta { color: #666; font-size: 0.92rem; margin-top: 6px; }
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  height: 42px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
}

.brand-baseline {
  font-size: 0.95rem;
  color: #666;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
}

.brand-baseline {
  font-size: 0.95rem;
  color: #666;
}

.page-title {
  margin: 14px 0 0;
  color: #666;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 600px) {
  .brand-logo {
    height: 44px;
    max-width: 180px;
  }
  .brand-name { font-size: 1.35rem; }
  .brand-baseline { font-size: 0.92rem; }
}
video { background: #000; }

/* Recherche sur la home */
.home-search {
  max-width: 720px;
  margin: 40px auto;
  display: flex;
  gap: 10px;
}

.home-search__input {
  flex: 1;
  padding: 14px 16px;
  font-size: 16px;
  border-radius: 999px;
  border: 1px solid #ddd;
}

.home-search__btn {
  padding: 14px 22px;
  font-size: 15px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
}

/* ===== Barre de recherche (style "YouTube-like") ===== */
.home-search{
  width: 100%;
  max-width: 900px;
  margin: 12px auto 0;
  display: flex;
  align-items: center;
  gap: 0;
}

.home-search__input{
  flex: 1;
  height: 46px;
  padding: 0 16px;
  font-size: 16px;
  border: 1px solid #d9d9d9;
  border-right: none;
  border-radius: 999px 0 0 999px;
  outline: none;
  background: #fff;
}

.home-search__input::placeholder{
  color: #9a9a9a;
}

.home-search__input:focus{
  border-color: #bdbdbd;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.home-search__btn{
  width: 52px;
  height: 46px;
  border: 1px solid #d9d9d9;
  border-left: none;
  border-radius: 0 999px 999px 0;
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-search__btn:hover{
  background: #f6f6f6;
}

.home-search__btn:active{
  transform: translateY(1px);
}

.home-search__btn svg{
  width: 20px;
  height: 20px;
}

/* Responsive: si écran étroit */
@media (max-width: 560px){
  .home-search{
    max-width: 100%;
  }
}

/* ===== Barre de recherche (style "YouTube-like") ===== */
.home-search{
  width: 100%;
  max-width: 900px;
  margin: 12px auto 0;
  display: flex;
  align-items: center;
  gap: 0;
}

.home-search__input{
  flex: 1;
  height: 46px;
  padding: 0 16px;
  font-size: 16px;
  border: 1px solid #d9d9d9;
  border-right: none;
  border-radius: 999px 0 0 999px;
  outline: none;
  background: #fff;
}

.home-search__input::placeholder{
  color: #9a9a9a;
}

.home-search__input:focus{
  border-color: #bdbdbd;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.home-search__btn{
  width: 52px;
  height: 46px;
  border: 1px solid #d9d9d9;
  border-left: none;
  border-radius: 0 999px 999px 0;
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-search__btn:hover{
  background: #f6f6f6;
}

.home-search__btn:active{
  transform: translateY(1px);
}

.home-search__btn svg{
  width: 20px;
  height: 20px;
}

/* Responsive: si écran étroit */
@media (max-width: 560px){
  .home-search{
    max-width: 100%;
  }
}

/* ===== Barre de recherche (style "YouTube-like") ===== */
.home-search{
  width: 100%;
  max-width: 900px;
  margin: 12px auto 0;
  display: flex;
  align-items: center;
  gap: 0;
}

.home-search__input{
  flex: 1;
  height: 46px;
  padding: 0 16px;
  font-size: 16px;
  border: 1px solid #d9d9d9;
  border-right: none;
  border-radius: 999px 0 0 999px;
  outline: none;
  background: #fff;
}

.home-search__input::placeholder{
  color: #9a9a9a;
}

.home-search__input:focus{
  border-color: #bdbdbd;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.home-search__btn{
  width: 52px;
  height: 46px;
  border: 1px solid #d9d9d9;
  border-left: none;
  border-radius: 0 999px 999px 0;
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-search__btn:hover{
  background: #f6f6f6;
}

.home-search__btn:active{
  transform: translateY(1px);
}

.home-search__btn svg{
  width: 20px;
  height: 20px;
}

/* Responsive: si écran étroit */
@media (max-width: 560px){
  .home-search{
    max-width: 100%;
  }
}
.home-search{
  display:flex !important;
  align-items:center !important;
  width:100% !important;
  max-width:900px !important;
  margin:12px auto 0 !important;
}

.home-search__input{
  flex:1 !important;
  height:46px !important;
  padding:0 16px !important;
  font-size:16px !important;
  border:1px solid #d9d9d9 !important;
  border-right:none !important;
  border-radius:999px 0 0 999px !important;
  outline:none !important;
  background:#fff !important;
  box-sizing:border-box !important;
}

.home-search__btn{
  width:52px !important;
  height:46px !important;
  border:1px solid #d9d9d9 !important;
  border-left:none !important;
  border-radius:0 999px 999px 0 !important;
  background:#fff !important;
  cursor:pointer !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 !important;
  margin:0 !important;
  appearance:none !important;
  -webkit-appearance:none !important;
  box-sizing:border-box !important;
}

.home-search__btn svg{
  width:20px !important;
  height:20px !important;
}

/* ===== Logo Helvetia Video : plus grand + responsive ===== */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo{
  width: clamp(44px, 5vw, 72px);
  height: auto;
  display: block;
}

/* Le bloc texte s’adapte mieux */
.brand-text{
  line-height: 1.1;
}

.brand-name{
  font-size: clamp(20px, 2.2vw, 34px);
  font-weight: 800;
  display: block;
}

.brand-baseline{
  font-size: clamp(13px, 1.2vw, 16px);
  opacity: 0.8;
  display: block;
  margin-top: 4px;
}

/* Mobile: on réduit un peu et on évite que ça casse */
@media (max-width: 560px){
  .brand{
    gap: 10px;
  }
  .brand-logo{
    width: 46px;
  }
  .brand-name{
    font-size: 20px;
  }
  .brand-baseline{
    font-size: 13px;
  }
}
.brand-logo{ width: clamp(75px, 10vw, 160px); }
.player{
  width: min(720px, 100%);
}
/* ===========================
   Page Publier – HelvetiaVideo
   =========================== */

.page{
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 18px 64px;
}

.toplink{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:.95rem;
  color:#555;
  text-decoration:none;
}
.toplink:hover{ text-decoration:underline; }

.lead{
  color:#666;
  max-width:72ch;
  margin-bottom:18px;
}

.grid{
  display:grid;
  gap:18px;
}

@media (min-width: 980px){
  .grid.two{
    grid-template-columns: 1fr 1.1fr;
  }
}

.card{
  border:1px solid rgba(0,0,0,.1);
  border-radius:16px;
  padding:18px;
  background:#fafafa;
}

.card h2{
  margin-top:0;
}

.row{
  display:grid;
  gap:12px;
}

@media (min-width:720px){
  .row.two{
    grid-template-columns:1fr 1fr;
  }
}

label{
  font-size:.9rem;
  color:#444;
  margin-bottom:4px;
  display:block;
}

input, select, textarea{
  width:100%;
  padding:12px;
  border-radius:12px;
  border:1px solid #ccc;
  font:inherit;
}

textarea{
  min-height:140px;
  resize:vertical;
}

input:focus, select:focus, textarea:focus{
  border-color:#111;
  outline:none;
}

.checks{
  display:grid;
  gap:10px;
  margin-top:12px;
}

.check{
  display:flex;
  gap:10px;
  padding:12px;
  border:1px solid #ddd;
  border-radius:12px;
  background:#fff;
}

.actions{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:14px;
}

button{
  border:0;
  background:#111;
  color:#fff;
  padding:12px 18px;
  border-radius:999px;
  font-weight:700;
  cursor:pointer;
}

button:hover{
  background:#000;
}

.muted{
  color:#666;
  font-size:.9rem;
}

.footerlinks{
  margin-top:18px;
  font-size:.9rem;
}
.mt { margin-top: 12px; }

.pagehead { margin-bottom: 1.25rem; }

.notice{
  margin-top: .75rem;
  padding: .75rem 1rem;
  border-radius: 10px;
  background: rgba(0,0,0,.04);
}

.actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.actions-meta { display: grid; gap: 2px; }

/* ===== Page Publier (isolée) ===== */
.page.publier .pagehead { margin-bottom: 1.25rem; }

.page.publier .mt { margin-top: 12px; }

.page.publier .notice{
  margin-top: .75rem;
  padding: .75rem 1rem;
  border-radius: 10px;
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.08);
}

.page.publier .grid{
  display: grid;
  gap: 18px;
  margin-top: 16px;
}

@media (min-width: 980px){
  .page.publier .grid.two{
    grid-template-columns: 1fr 1.1fr;
  }
}

.page.publier .card{
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  padding: 18px;
  background: #fafafa;
}

.page.publier label{
  font-size: .9rem;
  color: #444;
  margin-bottom: 6px;
  display: block;
}

.page.publier input,
.page.publier select,
.page.publier textarea{
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #ccc;
  font: inherit;
  box-sizing: border-box;
}

.page.publier input:focus,
.page.publier select:focus,
.page.publier textarea:focus{
  border-color: #111;
  outline: none;
}

.page.publier .check{
  display: flex;
  gap: 10px;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
}

.page.publier .actions{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.page.publier .actions-meta{
  display: grid;
  gap: 2px;
}

.page.publier button{
  border: 0;
  background: #111;
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.page.publier button:hover{ background: #000; }
/* ===== PATCH BEAU: Page Publier uniquement ===== */
.page.publier{
  max-width: 1040px;
  margin: 0 auto;
  padding: 32px 18px 72px;
}

body{
  background: #f6f6f6; /* léger fond, plus “premium” */
}

.page.publier .pagehead{
  margin-bottom: 18px;
}

.page.publier .notice{
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  padding: 14px 16px;
}

/* ✅ IMPORTANT: évite l’étirement des cartes (le gros vide à gauche) */
.page.publier .grid.two{
  align-items: start; /* NE PLUS étirer */
}

.page.publier .card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.page.publier .card h2{
  margin: 0 0 14px;
  font-size: 1.35rem;
}

/* liste plus clean */
.page.publier ul.clean{
  margin: 0;
  padding-left: 18px;
}
.page.publier ul.clean li{
  margin: 10px 0;
}

/* champs plus “soft” */
.page.publier label{
  font-size: .92rem;
  color: #333;
  margin-bottom: 6px;
}

.page.publier input,
.page.publier select,
.page.publier textarea{
  background: #fff;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 14px;
  padding: 12px 14px;
  transition: box-shadow .15s ease, border-color .15s ease;
}

.page.publier input:focus,
.page.publier select:focus,
.page.publier textarea:focus{
  border-color: rgba(0,0,0,.35);
  box-shadow: 0 0 0 4px rgba(0,0,0,.06);
  outline: none;
}

/* ✅ FIX checkboxes: texte bien DANS la carte + alignement */
.page.publier .check{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

.page.publier .check input{
  flex: 0 0 auto;
  margin-top: 3px;
}

.page.publier .check span{
  flex: 1;
  line-height: 1.35;
}

/* bouton plus élégant */
.page.publier button{
  background: #111;
  border-radius: 999px;
  padding: 12px 18px;
}

.page.publier .actions{
  margin-top: 16px;
}
/* ===== FORCE OVERRIDE: Publier ===== */
.page.publier .grid.two{ align-items: start !important; }

.page.publier .card{
  background: #fff !important;
  border: 1px solid rgba(0,0,0,.10) !important;
  border-radius: 18px !important;
  padding: 22px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.06) !important;
}

.page.publier .notice{
  background: #fff !important;
  border: 1px solid rgba(0,0,0,.10) !important;
  border-radius: 14px !important;
  padding: 14px 16px !important;
}

.page.publier input,
.page.publier select,
.page.publier textarea{
  background: #fff !important;
  border: 1px solid rgba(0,0,0,.16) !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
  box-sizing: border-box !important;
}

.page.publier input:focus,
.page.publier select:focus,
.page.publier textarea:focus{
  border-color: rgba(0,0,0,.45) !important;
  box-shadow: 0 0 0 4px rgba(0,0,0,.06) !important;
  outline: none !important;
}

.page.publier .check{
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(0,0,0,.10) !important;
  border-radius: 14px !important;
  background: #fff !important;
}

.page.publier .check input{
  margin-top: 3px !important;
}

.page.publier button{
  background: #111 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 12px 18px !important;
  font-weight: 700 !important;
}

/* ===== FIX CHECKBOX RENDU (publier) ===== */
.page.publier .checks{
  display: grid !important;
  gap: 12px !important;
}

.page.publier .check{
  display: grid !important;
  grid-template-columns: 22px 1fr !important;
  align-items: start !important;
  gap: 12px !important;
}

.page.publier .check input[type="checkbox"]{
  width: 18px !important;
  height: 18px !important;
  margin: 2px 0 0 0 !important;
}

.page.publier .check span,
.page.publier .check .check-text{
  line-height: 1.35 !important;
  color: #222 !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.header-top {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo-wrap {
  display: flex;
  align-items: center;
}

.site-logo {
  height: 70px;
  width: auto;
  display: block;
}

.search-form {
  flex: 1;
  display: flex;
  align-items: center;
  max-width: 700px;
  margin: 0 auto;
}

.search-form input {
  flex: 1;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #d0d0d0;
  border-right: none;
  border-radius: 999px 0 0 999px;
  font-size: 15px;
  outline: none;
  background: #fff;
}

.search-form input:focus {
  border-color: #d32f2f;
box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.15);
}

.search-form button {
  height: 40px;
  padding: 0 20px;
  border: 1px solid #d32f2f;
  border-radius: 0 999px 999px 0;
  background: #d32f2f;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.search-form button:hover {
  background: #b71c1c;
  border-color: #b71c1c;
}
.publish-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.publish-btn:hover {
  background: #000;
}

.header-nav {
  display: flex;
  justify-content: center;
  gap: 42px;
  padding: 12px 20px 18px;
  max-width: 900px;
  margin: 0 auto;
}

.header-nav a {
  color: #444;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  position: relative;
  transition: color 0.2s ease;
}

.header-nav a:hover {
  color: #000;
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: #d32f2f;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.header-nav a:hover {
  color: #000;
}

.header-nav a:hover::after {
  transform: scaleX(1);
}

@media (max-width: 900px) {
  .header-top {
    flex-wrap: wrap;
  }

  .logo-wrap {
    order: 1;
  }

  .publish-btn {
    order: 2;
    margin-left: auto;
  }

  .search-form {
    order: 3;
    flex: 1 0 100%;
    max-width: 100%;
  }
}
.logo-wrap {
  display: flex;
  align-items: center;
}
.header-top {
  min-height: 80px;
}
.site-logo {
  height: 90px;
  width: auto;
  display: block;
}

.header-top {
  padding: 10px 20px;
}

.header-nav {
  padding-top: 0;
}
.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.header-top {
  display: grid;
  grid-template-columns: 140px 1fr 220px;
  align-items: center;
  gap: 28px;
  padding: 18px 28px 10px;
  max-width: 1600px;
  margin: 0 auto;
}

.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}

.site-logo {
  height: 100px;
  width: auto;
  display: block;
}

.search-form {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.search-form input {
  flex: 1;
  height: 50px;
  padding: 0 20px;
  border: 1px solid #e03a34;
  border-right: none;
  border-radius: 999px 0 0 999px;
  font-size: 15px;
  outline: none;
  background: #fff;
}

.search-form input:focus {
  border-color: #d32f2f;
  box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.12);
}

.search-form button {
  height: 52px;
  padding: 0 28px;
  border: 1px solid #d32f2f;
  border-radius: 0 999px 999px 0;
  background: #d32f2f;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.publish-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  justify-content: center;
  gap: 38px;
  padding: 10px 20px 18px;
  max-width: 1100px;
  margin: 0 auto;
}

.header-nav a {
  color: #222;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}
.header-top {
  display: grid;
  grid-template-columns: 140px 1fr 220px;
  align-items: center; /* clé ici */
}

.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}

 .site-logo {
  height: 90px;
  transform: translateY(4px);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.video-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.video-thumb-wrap {
  aspect-ratio: 16 / 9;
  background: #e9e9e9;
  border-radius: 18px;
  overflow: hidden;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-thumb-placeholder {
  background: linear-gradient(135deg, #1e1e1e, #3a3a3a);
}

.video-info {
  padding-top: 10px;
}

.video-title {
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 6px;
}

.video-meta {
  margin: 0;
  color: #666;
  font-size: 15px;
}

@media (max-width: 1200px) {
  .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 28px;
}

.video-card {
  min-width: 0;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.video-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.video-thumb-wrap {
  aspect-ratio: 16 / 9;
  background: #e9e9e9;
  overflow: hidden;
  border-radius: 0; /* OK car contenu dans carte */
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1f1f1f, #3a3a3a);
}

.video-info {
  padding: 14px 16px 16px;
}

.video-title {
  font-size: 20px;
  line-height: 1.25;
  margin: 0 0 6px;
}

.video-meta {
  margin: 0;
  color: #666;
  font-size: 15px;
}

@media (max-width: 1100px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}
.video-thumb-wrap {
  position: relative;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: white;
  background: rgba(0,0,0,0.25);
  opacity: 0;
  transition: 0.2s ease;
}

.video-card:hover .play-overlay {
  opacity: 1;
}
.home-main {
  padding-top: 56px;
  padding-bottom: 80px;
}

.hero-intro {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.hero-intro h1 {
  font-size: 46px;
  line-height: 1.05;
  margin: 0 0 14px;
}

.hero-intro p {
  font-size: 21px;
  line-height: 1.4;
  color: #555;
  margin: 0;
}

.home-section {
  margin-top: 56px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: 34px;
  margin: 0;
}

.section-link {
  color: #d32f2f;
  text-decoration: none;
  font-weight: 700;
}

.publish-strip {
  margin-top: 72px;
  padding: 28px 32px;
  border-radius: 22px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.publish-strip h2 {
  margin: 0 0 8px;
  font-size: 30px;
}

.publish-strip p {
  margin: 0;
  color: #666;
}

.publish-btn-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.site-footer {
  border-top: 1px solid #e5e5e5;
  padding: 26px 0 40px;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  font-weight: 700;
  color: #222;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #666;
  text-decoration: none;
}

.footer-links a:hover {
  color: #111;
}

@media (max-width: 900px) {
  .hero-intro h1 {
    font-size: 36px;
  }

  .hero-intro p {
    font-size: 18px;
  }

  .publish-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
.video-featured {
  margin-bottom: 28px;
}

.video-featured-card {
  display: block;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}

.video-featured-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.video-featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
}

.video-featured-overlay h3 {
  margin: 0;
  font-size: 28px;
}
.video-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.video-views {
  margin: 6px 0 0;
  font-size: 13px;
  color: #9ca3af;
}
.video-views {
  margin: 6px 0 0;
  font-size: 13px;
  color: #9ca3af;
}

.video-featured {
  margin-bottom: 28px;
}

.video-featured-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
}

.video-featured-link {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  text-decoration: none;
  color: inherit;
}

.video-featured-thumb-wrap {
  position: relative;
}

.video-featured-thumb {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.video-featured-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-featured-title {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.2;
}

@media (max-width: 900px) {
  .video-featured-link {
    grid-template-columns: 1fr;
  }

  .video-featured-thumb {
    min-height: 220px;
  }

  .video-featured-title {
    font-size: 22px;
  }
}
/* ===== Watch page player ===== */
.card .video-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  margin-top: 0;
}

.card .video-wrapper video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}
.video-featured-desc {
  margin: 10px 0 14px;
  color: #555;
  font-size: 16px;
  line-height: 1.45;
}