/* ══════════════════════════════════════════════════
   OYA FILMS — Feuille de style principale
   ══════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }

/* ══ FOND NOIR GLOBAL ══ */
html, body {
  background-color: #080808 !important;
}

/* Sections héritées du thème — forcer fond sombre */
.theme-bg,
.it-blog-2-area,
.site-main,
.watchlist-contens,
main,
.iq-main-slider,
.iq-breadcrumb-one {
  background-color: #0d0d0d !important;
}

/* Sécurité : masquer tout rtl-panel/rtl-box résiduel */
.rtl-box,
.rtl-panel,
.rtl-btn,
#flip,
#back-to-top { display: none !important; }

/* ══ HEADER ══ */
.oya-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 0.5px solid rgba(255,255,255,0.07);
  padding: 0 4vw;
  display: flex;
  align-items: center;
  height: 60px;
  gap: 2rem;
}


.oya-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #f0ebe0;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.oya-logo span { color: #c8b89a; }

.oya-nav {
  display: flex;
  align-items: center;
  list-style: none;
  flex: 1;
  margin: 0;
  padding: 0;
}

.oya-nav-item { position: relative; }

.oya-nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(232,228,220,0.65);
  text-decoration: none;
  padding: 0 14px;
  height: 60px;
  transition: color 0.2s;
  white-space: nowrap;
}
.oya-nav-link:hover,
.oya-nav-item:hover > .oya-nav-link {
  color: #f0ebe0;
  text-decoration: none;
}
.oya-nav-link .arrow {
  font-size: 8px;
  opacity: 0.5;
  transition: transform 0.2s;
  display: inline-block;
}
.oya-nav-item:hover > .oya-nav-link .arrow { transform: rotate(180deg); }

.oya-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  background: rgba(14,14,14,0.98);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
  min-width: 160px;
  backdrop-filter: blur(20px);
  z-index: 200;
}
.oya-nav-item:hover .oya-dropdown { display: block; }
.oya-dropdown a {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: rgba(232,228,220,0.65);
  text-decoration: none;
  padding: 10px 16px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.oya-dropdown a:hover { background: rgba(200,184,154,0.08); color: #f0ebe0; }
.oya-dropdown a + a { border-top: 0.5px solid rgba(255,255,255,0.05); }

/* Header droite */
.oya-header-right { display: flex; align-items: center; gap: 10px; }

/* Recherche */
.oya-search-wrap { position: relative; display: flex; align-items: center; }

.oya-search-input {
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #f0ebe0 !important;
  -webkit-text-fill-color: #f0ebe0 !important;
  font-size: 12px;
  font-family: 'DM Sans', sans-serif;
  padding: 0 36px 0 34px;
  height: 34px;
  width: 0;
  opacity: 0;
  transition: width 0.35s cubic-bezier(.4,0,.2,1), opacity 0.25s, border-color 0.2s;
  outline: none;
}
.oya-search-input::placeholder { color: rgba(232,228,220,0.4) !important; opacity: 1; }
.oya-search-input:focus { border-color: rgba(200,184,154,0.4); }
.oya-search-wrap.open .oya-search-input { width: 200px; opacity: 1; }

.oya-search-icon {
  position: absolute;
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(232,228,220,0.45);
  pointer-events: none;
  transition: color 0.2s;
  z-index: 1;
}
.oya-search-wrap.open .oya-search-icon { color: #c8b89a; }

.oya-search-btn {
  position: absolute;
  right: 0;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(232,228,220,0.5);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  z-index: 2;
}
.oya-search-wrap:not(.open) .oya-search-btn {
  position: static;
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.12);
}
.oya-search-btn:hover { color: #c8b89a; background: rgba(200,184,154,0.08); }

.oya-search-results {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 280px;
  background: rgba(14,14,14,0.98);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  z-index: 300;
}
.oya-search-wrap.open .oya-search-results { display: block; }

.oya-results-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(232,228,220,0.25);
  padding: 10px 14px 6px;
}
.oya-result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}
.oya-result-item:hover { background: rgba(200,184,154,0.06); }
.oya-result-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(200,184,154,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #c8b89a;
  flex-shrink: 0;
}
.oya-result-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #e8e4dc;
}
.oya-result-cat {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  color: rgba(232,228,220,0.3);
  margin-top: 1px;
}
.oya-results-divider {
  height: 0.5px;
  background: rgba(255,255,255,0.06);
  margin: 0 14px;
}
.oya-no-results {
  padding: 16px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: rgba(232,228,220,0.3);
  text-align: center;
}

/* Hamburger mobile */
.oya-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.oya-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: rgba(232,228,220,0.6);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Menu mobile drawer */
.oya-mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8,8,8,0.97);
  z-index: 99;
  padding: 2rem 4vw;
  overflow-y: auto;
  flex-direction: column;
  gap: 0;
}
.oya-mobile-menu.open { display: flex; }

.oya-mobile-item {
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
}
.oya-mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(232,228,220,0.75);
  text-decoration: none;
  padding: 14px 0;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}
.oya-mobile-link:hover { color: #f0ebe0; }
.oya-mobile-sub {
  display: none;
  padding-bottom: 8px;
}
.oya-mobile-sub.open { display: block; }
.oya-mobile-sub a {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(232,228,220,0.45);
  text-decoration: none;
  padding: 8px 0 8px 16px;
  border-left: 1px solid rgba(200,184,154,0.2);
  margin-left: 4px;
}
.oya-mobile-sub a:hover { color: #c8b89a; }

/* ══ HERO SLIDER ══ */
.oya-hero {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 480px;
  max-height: 900px;
  overflow: hidden;
  background: #080808;
}

.oya-hero-track {
  display: flex;
  height: 100%;
  transition: transform .9s cubic-bezier(.77,0,.18,1);
  will-change: transform;
}

.oya-slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
}

.oya-slide-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.06);
  transition: transform 8s ease;
  will-change: transform;
}
.oya-slide.active .oya-slide-bg { transform: scale(1); }

.oya-slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.35) 60%, transparent 100%);
  pointer-events: none;
}

.oya-slide-content {
  position: absolute;
  bottom: 5vh;
  left: 5vw;
  z-index: 3;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.oya-slide-tag {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #c8b89a;
  border: 0.5px solid rgba(200,184,154,.4);
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 1.2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s .2s, transform .6s .2s;
}
.oya-slide.active .oya-slide-tag { opacity: 1; transform: translateY(0); }

.oya-slide-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  color: #f0ebe0;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s .35s, transform .7s .35s;
}
.oya-slide.active .oya-slide-title { opacity: 1; transform: translateY(0); }

.oya-slide-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(12px, 1.5vw, 14px);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(232,228,220,.7);
  margin-bottom: 1.8rem;
  max-width: 520px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s .5s, transform .6s .5s;
}
.oya-slide.active .oya-slide-desc { opacity: 1; transform: translateY(0); }

.oya-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #0d0d0d;
  background: #c8b89a;
  padding: 11px 28px;
  border-radius: 8px;
  text-decoration: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s .65s, transform .6s .65s, background .2s;
}
.oya-slide.active .oya-slide-btn { opacity: 1; transform: translateY(0); }
.oya-slide-btn:hover { background: #e0cead; color: #0d0d0d; text-decoration: none; }

.oya-hero-nav {
  position: absolute;
  bottom: 2.5rem;
  right: 4vw;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.oya-hero-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #000;
  border: 0.5px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s;
  line-height: 1;
}
.oya-hero-btn:hover { background: #222; }

.oya-dots { display: flex; gap: .5rem; align-items: center; }

.oya-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  transition: all .3s;
}
.oya-dot.active { width: 22px; border-radius: 3px; background: #c8b89a; }

/* ══ SECTIONS ══ */
.oya-section { padding: 3.5rem 0 2rem; background: #0d0d0d; }

.oya-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 4vw;
  margin-bottom: .6rem;
}

.oya-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #f0ebe0;
  letter-spacing: -.01em;
}

.oya-section-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #c8b89a;
  text-decoration: none;
}
.oya-section-link:hover { opacity: .7; text-decoration: none; color: #c8b89a; }

.oya-section-nav {
  display: flex;
  justify-content: flex-end;
  gap: .5rem;
  padding: 0 4vw;
  margin-bottom: .8rem;
}

.oya-section-arrow {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  border: 0.5px solid rgba(255,255,255,.15);
  color: #e8e4dc;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  user-select: none;
}
.oya-section-arrow:hover { background: rgba(200,184,154,.18); border-color: rgba(200,184,154,.4); color: #c8b89a; }
.oya-section-arrow:active { transform: scale(.93); }

/* ══ CARDS ══ */
.oya-cards-outer { position: relative; padding: 0 4vw; }

.oya-cards-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
}
.oya-cards-track::-webkit-scrollbar { display: none; }

.oya-card {
  flex-shrink: 0;
  width: 200px;
  scroll-snap-align: start;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #1a1a1a;
  cursor: pointer;
  transition: transform .3s;
  text-decoration: none;
}
.oya-card:hover { transform: translateY(-4px); }

.oya-card-img {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.oya-card:hover .oya-card-img { transform: scale(1.04); }

.oya-card-body { padding: .75rem 1rem 1rem; }

.oya-card-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #e8e4dc;
  margin-bottom: .3rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.oya-card-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: rgba(232,228,220,.38);
  letter-spacing: .04em;
}

.oya-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .3s;
  border-radius: 10px;
}
.oya-card:hover .oya-card-overlay { opacity: 1; }

.oya-play-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #c8b89a;
  display: flex; align-items: center; justify-content: center;
  color: #0d0d0d;
  font-size: 16px;
  transform: scale(.8);
  transition: transform .3s;
}
.oya-card:hover .oya-play-btn { transform: scale(1); }

/* ══ PODCASTS ══ */
.oya-podcast-card {
  flex-shrink: 0;
  width: 220px;
  scroll-snap-align: start;
  background: #161616;
  border-radius: 10px;
  overflow: hidden;
  border: 0.5px solid rgba(255,255,255,.07);
}

.oya-podcast-thumb { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }

.oya-podcast-body { padding: .75rem 1rem; }

.oya-podcast-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #e8e4dc;
  margin-bottom: .6rem;
  line-height: 1.3;
}

.oya-podcast-body audio { width: 100%; height: 32px; filter: invert(1) brightness(.6); }

/* ══ DIVIDER ══ */
.oya-divider { height: 0.5px; background: rgba(255,255,255,.06); margin: 0 4vw; }

/* ══ FOOTER ══ */
.oya-footer {
  background: #080808 !important;
  border-top: 0.5px solid rgba(255,255,255,.06);
  padding: 2.5rem 4vw;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.oya-footer a { color: #c8b89a; text-decoration: none; }
.oya-footer a:hover { opacity: .7; }
.oya-footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  border: 0.5px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.5);
  font-size: 14px;
  transition: background .2s;
}
.oya-footer-social a:hover { background: rgba(200,184,154,.15); color: #c8b89a; }

/* ══ BACK TO TOP ══ */
#oya-top {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #c8b89a;
  color: #0d0d0d;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  text-decoration: none;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
  z-index: 999;
}
#oya-top.visible { opacity: 1; pointer-events: all; }

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) { .oya-hero { height: 80vh; } }

@media (max-width: 860px) {
  .oya-nav { display: none; }
  .oya-hamburger { display: flex; }
  .oya-search-wrap.open .oya-search-input { width: 160px; }
}

@media (max-width: 768px) {
  .oya-hero { height: 70vh; min-height: 420px; }
  .oya-hero-btn { width: 34px; height: 34px; font-size: 15px; }
  .oya-slide-content { bottom: 7vh; }
  .oya-card { width: 170px; }
  .oya-podcast-card { width: 190px; }
}

@media (max-width: 600px) {
  .oya-hero { height: 100svh; min-height: 380px; max-height: 700px; }
  .oya-slide-content { bottom: 9vh; left: 5vw; right: 5vw; max-width: 100%; }
  .oya-slide-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .oya-slide-btn { font-size: 10px; padding: 9px 20px; }
  .oya-hero-nav { bottom: 1.2rem; }
  .oya-hero-btn { width: 32px; height: 32px; font-size: 14px; }
  .oya-dot { width: 5px; height: 5px; }
  .oya-dot.active { width: 18px; }
  .oya-slide-bg::after {
    background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.1) 100%);
  }
  .oya-card { width: 155px; }
  .oya-podcast-card { width: 175px; }
}
