/* Embaixada Carioca — Superholistic Visual Readability Lock
   Trava pontual para corrigir textos claros em fundos claros e textos escuros em fundos escuros
   nas seções editoriais, SEO/GEO/AIO, eventos, reviews e blocos de informação. */

:root{
  --ec-ink:#00405a;
  --ec-ink-soft:#485156;
  --ec-cream:#f6efde;
  --ec-gold:#f59b1e;
  --ec-gold-deep:#c47e15;
  --ec-green:#335d4a;
  --ec-dark:#002f3f;
}

/* 1) Seções claras: nunca usar branco/creme como texto principal */
.momentos,
.visao,
.avaliacoes,
.eventos,
.form-section,
.faq-section,
.geo-aio-section,
.quick-answers-section,
.gsc-ctr-block,
section[style*="background:var(--areia"],
section[style*="background: var(--areia"],
section[style*="background:#f8f4"],
section[style*="background: #f8f4"],
section[style*="background:#f6ef"],
section[style*="background: #f6ef"],
section[style*="background:#ede2"],
section[style*="background: #ede2"]{
  color:var(--ec-ink) !important;
}

.momentos .sec-head h2,
.momentos .sec-head .lede,
.visao .sec-head h2,
.visao .sec-head .lede,
.avaliacoes .sec-head h2,
.avaliacoes .sec-head .lede,
.eventos .sec-head h2,
.eventos .sec-head .lede,
.faq-section .sec-head h2,
.faq-section .sec-head .lede,
.geo-aio-section h2,
.geo-aio-section h3,
.geo-aio-section p,
.quick-answers-section h2,
.quick-answers-section h3,
.quick-answers-section p,
.gsc-ctr-block h2,
.gsc-ctr-block h3,
.gsc-ctr-block p,
section[style*="background:var(--areia"] h2,
section[style*="background:var(--areia"] h3,
section[style*="background:var(--areia"] p,
section[style*="background: #f8f4"] h2,
section[style*="background: #f8f4"] h3,
section[style*="background: #f8f4"] p,
section[style*="background:#f8f4"] h2,
section[style*="background:#f8f4"] h3,
section[style*="background:#f8f4"] p{
  color:var(--ec-ink) !important;
  opacity:1 !important;
  text-shadow:none !important;
  filter:none !important;
  mix-blend-mode:normal !important;
  -webkit-text-fill-color:currentColor !important;
}

/* 2) Itálicos editoriais em destaque: laranja do botão reservar */
.sec-head h2 .serif,
.visao-text h2 .serif,
.hero h1 .serif,
h2 .serif,
h2 em,
.eventos h2 em,
.momentos h2 em,
.avaliacoes h2 em,
.visao h2 em,
section[style*="background:var(--areia"] h2 em,
section[style*="background:#f8f4"] h2 em{
  color:var(--ec-gold) !important;
  -webkit-text-fill-color:var(--ec-gold) !important;
  opacity:1 !important;
  text-shadow:none !important;
}

/* 3) Eyebrow em fundos claros: escuro/laranja, legível e discreto */
.eyebrow,
.sec-head .num,
.reviews p[style*="letter-spacing"],
section[style*="background:var(--areia"] .eyebrow,
section[style*="background:#f8f4"] .eyebrow{
  color:var(--ec-gold-deep) !important;
  opacity:1 !important;
  text-shadow:none !important;
  filter:none !important;
}

/* 4) Eventos e hero editorial em fundo claro: remover efeito fantasma */
.eventos-hero h1,
.eventos-hero h2,
.eventos-hero p,
.eventos-hero .lede,
.page-hero h1,
.page-hero h2,
.page-hero p,
.editorial-hero h1,
.editorial-hero h2,
.editorial-hero p,
section[id="eventos"] h2,
section[id="eventos"] p,
section[aria-label*="Eventos"] h2,
section[aria-label*="Eventos"] p{
  color:var(--ec-ink) !important;
  opacity:1 !important;
  text-shadow:none !important;
  filter:none !important;
  mix-blend-mode:normal !important;
  -webkit-text-fill-color:currentColor !important;
}

/* 5) Reviews em fundo claro */
#reviews,
#reviews *:not(.btn):not(a),
section[id="reviews"],
section[id="reviews"] *:not(.btn):not(a){
  text-shadow:none !important;
  filter:none !important;
  opacity:1 !important;
}
#reviews h2,
#reviews h3,
#reviews p,
#reviews .mq .q,
#reviews .rating .label,
section[id="reviews"] h2,
section[id="reviews"] h3,
section[id="reviews"] p{
  color:var(--ec-ink) !important;
  -webkit-text-fill-color:var(--ec-ink) !important;
}
#reviews .stars,
#reviews .rating .n .star,
section[id="reviews"] .stars{
  color:var(--ec-gold) !important;
  -webkit-text-fill-color:var(--ec-gold) !important;
}

/* 6) Seções escuras: texto precisa ser creme/branco, nunca verde/cinza escuro */
.capacity,
.feijoada,
.sunset-dj-section,
section[style*="background:var(--azul1"],
section[style*="background: var(--azul1"],
section[style*="background:#00405a"],
section[style*="background: #00405a"],
section[style*="background:#002f3f"],
section[style*="background: #002f3f"]{
  color:var(--ec-cream) !important;
}
.capacity h2,
.capacity h3,
.capacity h4,
.capacity p,
.feijoada h2,
.feijoada h3,
.feijoada h4,
.feijoada p,
.sunset-dj-section h2,
.sunset-dj-section h3,
.sunset-dj-section h4,
.sunset-dj-section p,
.sunset-info-item h4,
.sunset-info-item p,
.sunset-info-text h4,
.sunset-info-text p,
section[style*="background:var(--azul1"] h2,
section[style*="background:var(--azul1"] h3,
section[style*="background:var(--azul1"] p,
section[style*="background:#00405a"] h2,
section[style*="background:#00405a"] h3,
section[style*="background:#00405a"] p,
section[style*="background:#002f3f"] h2,
section[style*="background:#002f3f"] h3,
section[style*="background:#002f3f"] p{
  color:var(--ec-cream) !important;
  -webkit-text-fill-color:var(--ec-cream) !important;
  opacity:1 !important;
  text-shadow:none !important;
  filter:none !important;
  mix-blend-mode:normal !important;
}

.capacity .eyebrow,
.feijoada .eyebrow,
.sunset-dj-section .eyebrow,
.sunset-info-text h4,
section[style*="background:var(--azul1"] .eyebrow,
section[style*="background:#00405a"] .eyebrow,
section[style*="background:#002f3f"] .eyebrow{
  color:var(--ec-gold) !important;
  -webkit-text-fill-color:var(--ec-gold) !important;
}

/* 7) Cards e textos internos em dark blocks */
.sunset-info-box,
.sunset-info-item,
.b2b-card,
.info-card,
.faq-item,
.qa-card{
  text-shadow:none !important;
  filter:none !important;
}

.sunset-info-box .sunset-info-item,
.sunset-info-item{
  background:rgba(255,255,255,.08) !important;
  border-color:rgba(246,239,222,.22) !important;
}

/* 8) Não aplicar nos botões e links de CTA */
.btn,
.btn *,
.btn-reservar,
.btn-reservar *,
.hero-ctas .btn,
.hero-ctas .btn *,
a[href*="tagme"],
a[href*="wa.me"],
a[href*="whatsapp"]{
  text-shadow:none !important;
  filter:none !important;
}

/* 9) Seleção visual: manter legível para debug */
::selection{
  background:var(--ec-gold) !important;
  color:var(--ec-ink) !important;
}

/* 10) Cardápio do café: correção específica para os cards ruins do print.
   Deve vencer CSS legado, inline e locks anteriores sem alterar os cards claros. */
html body main .cardapio-grid .cardapio-card:is(.cardapio-card--escuro,.cardapio-card--verde-escuro,.cardapio-card--amarelo-escuro,.cardapio-card--cafe,.cardapio-card--roxo),
html body main .cardapio-grid .cardapio-card:is(.cardapio-card--escuro,.cardapio-card--verde-escuro,.cardapio-card--amarelo-escuro,.cardapio-card--cafe,.cardapio-card--roxo) *{
  color:#f6efde !important;
  -webkit-text-fill-color:#f6efde !important;
  opacity:1 !important;
  text-shadow:none !important;
  filter:none !important;
  mix-blend-mode:normal !important;
}

html body main .cardapio-grid .cardapio-card:is(.cardapio-card--escuro,.cardapio-card--verde-escuro,.cardapio-card--amarelo-escuro,.cardapio-card--cafe,.cardapio-card--roxo) :is(.cardapio-card-nota,.item-sub,.item-desc,.item-add){
  color:#dbe7d0 !important;
  -webkit-text-fill-color:#dbe7d0 !important;
  opacity:1 !important;
}

html body main .cardapio-grid .cardapio-card:is(.cardapio-card--escuro,.cardapio-card--verde-escuro,.cardapio-card--amarelo-escuro,.cardapio-card--cafe,.cardapio-card--roxo) :is(.item-preco,.cardapio-destaque-mini strong,.metodo-icone){
  color:#ffc62e !important;
  -webkit-text-fill-color:#ffc62e !important;
  opacity:1 !important;
}

html body main .cardapio-grid .cardapio-card:is(.cardapio-card--escuro,.cardapio-card--verde-escuro,.cardapio-card--amarelo-escuro,.cardapio-card--cafe,.cardapio-card--roxo) .cardapio-lista li{
  border-bottom-color:rgba(246,239,222,.16) !important;
}

html body main .cardapio-grid .cardapio-card:is(.cardapio-card--amarelo,.cardapio-card--verde,.cardapio-card--verde-agua),
html body main .cardapio-grid .cardapio-card:is(.cardapio-card--amarelo,.cardapio-card--verde,.cardapio-card--verde-agua) :is(h3,.item-nome){
  color:#00405a !important;
  -webkit-text-fill-color:#00405a !important;
  opacity:1 !important;
}

html body main .cardapio-grid .cardapio-card:is(.cardapio-card--amarelo,.cardapio-card--verde,.cardapio-card--verde-agua) :is(.item-sub,.item-desc,.item-add,.cardapio-card-nota){
  color:#485156 !important;
  -webkit-text-fill-color:#485156 !important;
  opacity:1 !important;
}

html body main .cardapio-grid .cardapio-card:is(.cardapio-card--amarelo,.cardapio-card--verde,.cardapio-card--verde-agua) .item-preco{
  color:#9a6500 !important;
  -webkit-text-fill-color:#9a6500 !important;
  opacity:1 !important;
}

html body main .cardapio-grid .cardapio-card--verde-agua .cardapio-lista--2col li{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  gap:.5rem !important;
  align-items:baseline !important;
}
