/* ============================================================
   OIYNO Atelier — CSS Custom (final)
   ============================================================ */

:root {
  --oiyno-red:    #C8392B;
  --oiyno-amber:  #E8A020;
  --oiyno-green:  #3A6B35;
  --oiyno-cream:  #F5F0E8;
  --oiyno-dark:   #1C1410;
  --oiyno-font-heading: 'Lora', Georgia, serif;
  --oiyno-font-body:    'Istok Web', Arial, sans-serif;
}

body { font-family: var(--oiyno-font-body); color: var(--oiyno-dark); background-color: var(--oiyno-cream); }
h1, h2, h3, h4 { font-family: var(--oiyno-font-heading); }

/* ── Botões OIYNO ── */
.oiyno-btn {
  display: inline-block; padding: 12px 28px; border-radius: 50px;
  font-family: var(--oiyno-font-body); font-weight: 600; font-size: 15px;
  letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  border: 2px solid transparent; line-height: 1.4;
}
.oiyno-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.18); }
.oiyno-btn--amber        { background: var(--oiyno-amber) !important; color: var(--oiyno-dark) !important; border-color: var(--oiyno-amber) !important; }
.oiyno-btn--red          { background: var(--oiyno-red) !important; color: #fff !important; border-color: var(--oiyno-red) !important; }
.oiyno-btn--green        { background: var(--oiyno-green) !important; color: #fff !important; border-color: var(--oiyno-green) !important; }
.oiyno-btn--outline-light { background: transparent; color: #fff !important; border-color: #fff; }
.oiyno-btn--outline-light:hover { background: rgba(255,255,255,0.15); }
.oiyno-hero:not(.oiyno-hero--has-image) .oiyno-btn--outline-light { color: var(--oiyno-dark) !important; border-color: var(--oiyno-dark); }

/* ============================================================
   TIPOGRAFIA GLOBAL — Lora nos títulos nativos do Morelia
   ============================================================ */
.home-title,
.js-product-table h2,
.featured-title,
.section-title,
.home-section-title,
.institutional-message h2,
.welcome-message h2,
[class*="section"] h2,
[class*="section"] h3 {
  font-family: var(--oiyno-font-heading) !important;
  font-weight: 700 !important;
}

/* ============================================================
   BOTÕES NATIVOS DO MORELIA — padronizar no estilo OIYNO
   ============================================================ */

/* Botão principal do tema */
.button-primary,
.btn-primary,
.js-add-to-cart,
[class*="btn-"] {
  border-radius: 50px !important;
  font-family: var(--oiyno-font-body) !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease !important;
}
.button-primary:hover,
.btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18) !important;
}

/* Links de navegação das seções (Ver todos, Acessar, Ver próximos) */
.oiyno-split__panel-link,
.oiyno-editorial__cell-link {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 50px;
  font-family: var(--oiyno-font-body);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 2px solid currentColor;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  margin-top: auto;
}
.oiyno-split__panel-link {
  color: #fff !important;
  border-color: rgba(255,255,255,0.7) !important;
}
.oiyno-split__panel-link:hover {
  background: rgba(255,255,255,0.15) !important;
  border-color: #fff !important;
  transform: translateY(-2px);
}
.oiyno-editorial__cell-link {
  color: var(--oiyno-dark) !important;
  border-color: var(--oiyno-dark) !important;
  border-bottom: 2px solid var(--oiyno-dark) !important;
  padding: 10px 24px !important;
}
.oiyno-editorial__cell-link:hover {
  background: var(--oiyno-dark) !important;
  color: #fff !important;
  transform: translateY(-2px);
}
.oiyno-editorial__cell-link--light {
  color: #fff !important;
  border-color: rgba(255,255,255,0.7) !important;
}
.oiyno-editorial__cell-link--light:hover {
  background: rgba(255,255,255,0.15) !important;
  border-color: #fff !important;
  color: #fff !important;
}

/* ============================================================
   PRODUTOS — Grid 3 colunas, imagem quadrada
   ============================================================ */

/* Logo maior à esquerda */
.js-logo-container img {
  height: 60px !important;
  width: auto !important;
  max-width: none !important;
  opacity: 1 !important;
  display: block !important;
}

/* ============================================================
   1. HERO
   ============================================================ */
.oiyno-hero {
  position: relative; min-height: 88vh;
  background-color: var(--oiyno-cream); background-size: cover; background-position: center 30%;
  display: flex; align-items: flex-end; padding-bottom: 72px; overflow: hidden;
}
.oiyno-hero--has-image { background-color: var(--oiyno-dark); }
.oiyno-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(28,20,16,0.75) 0%, rgba(28,20,16,0.40) 55%, rgba(28,20,16,0.10) 100%);
  z-index: 1;
}
.oiyno-hero__content { position: relative; z-index: 2; max-width: 620px; }
.oiyno-hero__title {
  font-family: var(--oiyno-font-heading); font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700; line-height: 1.1; color: var(--oiyno-dark); margin-bottom: 36px;
}
section.oiyno-hero.oiyno-hero--has-image h1,
section.oiyno-hero.oiyno-hero--has-image .oiyno-hero__title {
  color: #ffffff !important;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6) !important;
}
.oiyno-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: flex-start; }
section.oiyno-hero .oiyno-hero__content { text-align: left !important; margin-left: 0 !important; }
.oiyno-hero__star { position: absolute; z-index: 2; pointer-events: none; }
.oiyno-hero__star--top-right { top: -30px; right: -30px; width: 180px; opacity: 0.85; }
.oiyno-hero__star--mid-right { top: 45%; right: 6%; width: 48px; opacity: 0.65; }

/* ============================================================
   2. DESTAQUES
   ============================================================ */
.oiyno-highlights { background: var(--oiyno-cream); padding: 56px 0 48px; }
.oiyno-highlights__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.oiyno-highlights__heading { font-family: var(--oiyno-font-body); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--oiyno-dark); margin: 0; }
.oiyno-highlights__nav { display: flex; gap: 8px; }
.oiyno-highlights__nav-btn { width: 36px; height: 36px; border: 1.5px solid var(--oiyno-dark); border-radius: 50%; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--oiyno-dark); transition: background 0.15s; }
.oiyno-highlights__nav-btn:hover { background: var(--oiyno-dark); color: #fff; }
.oiyno-highlights__track-wrapper { overflow: hidden; }
.oiyno-highlights__track { display: flex; gap: 16px; overflow-x: auto; scroll-behavior: smooth; padding-bottom: 4px; -ms-overflow-style: none; scrollbar-width: none; }
.oiyno-highlights__track::-webkit-scrollbar { display: none; }
.oiyno-highlight-card { flex: 0 0 230px; border: 1.5px solid #E0D8CC; border-radius: 10px; overflow: hidden; background: #fff; text-decoration: none; color: var(--oiyno-dark); transition: box-shadow 0.2s, transform 0.2s; display: flex; flex-direction: column; }
.oiyno-highlight-card:hover { box-shadow: 0 8px 28px rgba(28,20,16,0.12); transform: translateY(-3px); }
.oiyno-highlight-card__img-wrap { position: relative; height: 140px; overflow: hidden; background: #e8e0d4; }
.oiyno-highlight-card__img { width: 100%; height: 100%; object-fit: cover; }
.oiyno-highlight-card__img-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #e8e0d4, #d4c8b8); }
.oiyno-highlight-card__tag { position: absolute; top: 10px; left: 10px; padding: 3px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.oiyno-highlight-card__tag--red      { background: var(--oiyno-red); }
.oiyno-highlight-card__tag--amber    { background: var(--oiyno-amber); color: var(--oiyno-dark); }
.oiyno-highlight-card__tag--green    { background: var(--oiyno-green); }
.oiyno-highlight-card__tag--red-dark { background: #8B1A10; }
.oiyno-highlight-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.oiyno-highlight-card__title { font-family: var(--oiyno-font-heading); font-size: 15px; font-weight: 600; line-height: 1.3; margin: 0 0 4px; color: var(--oiyno-dark); }
.oiyno-highlight-card__subtitle { font-size: 12px; color: #7a6e62; margin: 0 0 auto; padding-bottom: 8px; }
.oiyno-highlight-card__arrow { display: block; font-size: 16px; color: var(--oiyno-red); margin-top: 8px; }

/* ============================================================
   3. SPLIT
   ============================================================ */
.oiyno-split { position: relative; min-height: 400px; background-color: var(--oiyno-dark); background-size: cover; background-position: center; display: flex; align-items: stretch; }
.oiyno-split__overlay { position: absolute; inset: 0; background: rgba(28,20,16,0.35); z-index: 1; }
.oiyno-split__panels { position: relative; z-index: 2; display: flex; width: 100%; }
.oiyno-split__panel { flex: 1; display: flex; align-items: flex-end; padding: 48px 48px 52px; position: relative; }
.oiyno-split__panel--red   { background: rgba(200,57,43,0.92); }
.oiyno-split__panel--green { background: rgba(58,107,53,0.94); }
.oiyno-split__panel-inner { max-width: 360px; }
.oiyno-split__panel-title { font-family: var(--oiyno-font-heading); font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 700; color: #fff; line-height: 1.1; margin: 0 0 16px; }
.oiyno-split__panel-text { font-size: 16px; color: rgba(255,255,255,0.88); line-height: 1.6; margin: 0 0 28px; }
.oiyno-split__star { position: absolute; top: 28px; right: 28px; width: 80px; opacity: 0.6; pointer-events: none; }

/* ============================================================
   4. EDITORIAL GRID
   ============================================================ */
.oiyno-editorial { background: var(--oiyno-cream); }
.oiyno-editorial__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; min-height: 340px; }
.oiyno-editorial__cell { position: relative; overflow: hidden; border: 1px solid rgba(28,20,16,0.08); }
.oiyno-editorial__cell-inner { padding: 40px 36px; display: flex; flex-direction: column; height: 100%; box-sizing: border-box; position: relative; z-index: 2; }
.oiyno-editorial__cell-overlay { position: absolute; inset: 0; background: rgba(28,20,16,0.48); z-index: 1; }
.oiyno-editorial__cell-bg-wrap { position: absolute; inset: 0; z-index: 0; }
.oiyno-editorial__cell-bg { width: 100%; height: 100%; object-fit: cover; }
.oiyno-editorial__cell-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--oiyno-amber); display: block; margin-bottom: 8px; }
.oiyno-editorial__cell-title { font-family: var(--oiyno-font-heading); font-size: 1.25rem; font-weight: 600; line-height: 1.2; margin: 0 0 10px; color: var(--oiyno-dark); }
.oiyno-editorial__cell-desc { font-size: 14px; line-height: 1.6; color: #5a4e44; margin: 0 0 auto; padding-bottom: 20px; }
.oiyno-editorial__cell--eventos .oiyno-editorial__cell-title,
.oiyno-editorial__cell--eventos .oiyno-editorial__cell-desc { color: #fff; }
.oiyno-editorial__cell--eventos { background: #2a1f1a; }
.oiyno-editorial__star { position: absolute; bottom: 16px; right: -10px; width: 80px; opacity: 0.2; pointer-events: none; }
.oiyno-editorial__calendar-icon { margin: 12px 0 16px; }
.oiyno-editorial__cell--blog    { background: var(--oiyno-cream); }
.oiyno-editorial__cell--reserva { background: #fff; }
.oiyno-editorial__cell--reserva .oiyno-btn--red { margin-top: auto; }

/* ============================================================
   RESPONSIVIDADE — TABLET
   ============================================================ */
@media (max-width: 900px) {
  .oiyno-split__panels   { flex-direction: column; }
  .oiyno-split__panel    { padding: 36px 28px; }
  .oiyno-split__star     { width: 60px; top: 16px; right: 16px; }
  .oiyno-editorial__grid { grid-template-columns: 1fr; }
  .oiyno-hero            { min-height: 70vh; padding-bottom: 48px; }
  .oiyno-hero__star--top-right { width: 120px; top: -10px; right: -10px; }
}

/* ============================================================
   RESPONSIVIDADE — MOBILE
   ============================================================ */
@media (max-width: 600px) {
  .oiyno-hero {
    min-height: 85vh;
    padding-bottom: 40px;
    background-position: center center;
  }
  .oiyno-hero__content {
    padding: 0 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .oiyno-hero__title {
    font-size: 1.9rem;
    line-height: 1.15;
    margin-bottom: 24px;
    overflow-wrap: break-word;
  }
  .oiyno-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }
  .oiyno-hero__actions .oiyno-btn {
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    display: block;
  }
  .oiyno-hero__star--top-right { width: 80px; top: 8px; right: 8px; opacity: 0.75; }
  .oiyno-hero__star--mid-right { display: none; }
  .oiyno-split__panel       { padding: 32px 20px; }
  .oiyno-split__panel-title { font-size: 1.7rem; }
  .oiyno-editorial__cell-inner    { padding: 28px 20px; }
  .oiyno-editorial__cell--eventos { min-height: 180px; }
  .oiyno-highlight-card { flex: 0 0 200px; }
}

/* ============================================================
   BOTÕES — Links de ação viram pills padronizados
   ============================================================ */

a.oiyno-split__panel-link,
a.oiyno-editorial__cell-link {
  display: inline-block !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
  border: 2px solid currentColor !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.18s ease !important;
}

a.oiyno-split__panel-link {
  color: #fff !important;
  border-color: rgba(255,255,255,0.7) !important;
}
a.oiyno-split__panel-link:hover {
  background: rgba(255,255,255,0.15) !important;
}

a.oiyno-editorial__cell-link {
  color: var(--oiyno-dark) !important;
  border-color: var(--oiyno-dark) !important;
}
a.oiyno-editorial__cell-link:hover {
  background: var(--oiyno-dark) !important;
  color: #fff !important;
}

a.oiyno-editorial__cell-link--light {
  color: #fff !important;
  border-color: rgba(255,255,255,0.7) !important;
}
a.oiyno-editorial__cell-link--light:hover {
  background: rgba(255,255,255,0.15) !important;
  color: #fff !important;
}

/* ============================================================
   OIYNO — HERO FINAL PRODUÇÃO
   Data: 2026-05-16
   Estratégia: imagem limpa + conteúdo HTML por cima
   Arquivo: static/css/oiyno-custom.css
   ============================================================ */

.oiyno-final-hero{
  position: relative;
  width: 100%;
  min-height: 820px;
  overflow: hidden;
  background: #1C1410;
  isolation: isolate;
}

.oiyno-final-hero__picture,
.oiyno-final-hero__image{
  display: block;
  width: 100%;
  height: 100%;
}

.oiyno-final-hero__picture{
  position: absolute;
  inset: 0;
  z-index: 1;
}

.oiyno-final-hero__image{
  object-fit: cover;
  object-position: center center;
  min-height: 820px;
  filter: saturate(1.08) contrast(1.04);
}

.oiyno-final-hero__overlay{
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 72% 42%, rgba(232,160,32,0.10) 0%, rgba(0,0,0,0) 36%),
    linear-gradient(90deg, rgba(0,0,0,0.94) 0%, rgba(0,0,0,0.82) 22%, rgba(0,0,0,0.42) 48%, rgba(0,0,0,0.10) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0.02) 52%, rgba(0,0,0,0.40) 100%);
  pointer-events: none;
}

.oiyno-final-hero__content{
  position: relative;
  z-index: 3;
  min-height: 820px;
  width: min(92%, 1440px);
  margin: 0 auto;
  padding: 96px 0 86px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #F5F0E8;
}

.oiyno-final-hero__brand{
  margin-bottom: 20px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(42px, 4.3vw, 76px);
  line-height: 0.9;
  letter-spacing: 0.07em;
  font-weight: 900;
  color: #F5F0E8;
  text-transform: uppercase;
  text-shadow: 0 10px 32px rgba(0,0,0,0.45);
}

.oiyno-final-hero__eyebrow{
  margin-bottom: 38px;
  color: #E8A020;
  font-size: clamp(12px, 1vw, 15px);
  letter-spacing: 0.16em;
  font-weight: 800;
  text-transform: uppercase;
}

.oiyno-final-hero__title{
  margin: 0 0 28px;
  color: #F5F0E8;
  font-family: Impact, 'Arial Narrow', 'Roboto Condensed', sans-serif;
  font-size: clamp(72px, 8.2vw, 152px);
  line-height: 0.86;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-weight: 900;
  text-shadow: 0 12px 36px rgba(0,0,0,0.50);
}

.oiyno-final-hero__title::after{
  content: '✦';
  display: inline-block;
  margin-left: 28px;
  color: #E8A020;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.48em;
  transform: translateY(-0.20em);
}

.oiyno-final-hero__subtitle{
  margin: 0 0 36px;
  max-width: 580px;
  color: rgba(245,240,232,0.92);
  font-size: clamp(18px, 1.45vw, 25px);
  line-height: 1.5;
  font-weight: 400;
  text-shadow: 0 8px 28px rgba(0,0,0,0.65);
}

.oiyno-final-hero__actions{
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.oiyno-final-hero__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 32px;
  border-radius: 0;
  text-decoration: none !important;
  font-size: 14px;
  letter-spacing: 0.08em;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform .22s ease, background-color .22s ease, color .22s ease, border-color .22s ease, opacity .22s ease;
}

.oiyno-final-hero__btn:hover{
  transform: translateY(-2px);
  opacity: 0.96;
}

.oiyno-final-hero__btn--primary{
  background: #E8A020;
  color: #1C1410 !important;
  border: 1px solid #E8A020;
}

.oiyno-final-hero__btn--secondary{
  background: rgba(28,20,16,0.30);
  color: #F5F0E8 !important;
  border: 1px solid rgba(232,160,32,0.70);
  backdrop-filter: blur(4px);
}

.oiyno-final-hero__btn--secondary:hover{
  background: #E8A020;
  color: #1C1410 !important;
  border-color: #E8A020;
}

@media (max-width: 992px){
  .oiyno-final-hero{
    min-height: 740px;
  }

  .oiyno-final-hero__image{
    min-height: 740px;
    object-position: 58% center;
  }

  .oiyno-final-hero__content{
    min-height: 740px;
    padding: 82px 0 70px;
  }
}

@media (max-width: 768px){
  .oiyno-final-hero{
    min-height: 690px;
  }

  .oiyno-final-hero__image{
    min-height: 690px;
    object-position: 62% center;
  }

  .oiyno-final-hero__overlay{
    background:
      linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.76) 44%, rgba(0,0,0,0.30) 100%),
      linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.06) 48%, rgba(0,0,0,0.48) 100%);
  }

  .oiyno-final-hero__content{
    width: calc(100% - 44px);
    min-height: 690px;
    padding: 72px 0 58px;
  }

  .oiyno-final-hero__brand{
    font-size: 42px;
    margin-bottom: 16px;
  }

  .oiyno-final-hero__eyebrow{
    font-size: 11px;
    line-height: 1.5;
    max-width: 300px;
    margin-bottom: 28px;
  }

  .oiyno-final-hero__title{
    font-size: clamp(56px, 16vw, 78px);
    margin-bottom: 24px;
  }

  .oiyno-final-hero__title::after{
    margin-left: 14px;
  }

  .oiyno-final-hero__subtitle{
    max-width: 320px;
    font-size: 17px;
    line-height: 1.48;
    margin-bottom: 28px;
  }

  .oiyno-final-hero__br{
    display: none;
  }

  .oiyno-final-hero__actions{
    gap: 12px;
    width: 100%;
    max-width: 330px;
  }

  .oiyno-final-hero__btn{
    width: 100%;
    min-height: 52px;
    padding: 0 20px;
    font-size: 13px;
  }
}

@media (max-width: 420px){
  .oiyno-final-hero__image{
    object-position: 66% center;
  }

  .oiyno-final-hero__title{
    font-size: 54px;
  }
}
