/*
 * Visual do Fanes (css/style.css continua sendo a base).
 * Fontes do Caliope: Anton nos títulos, Bricolage Grotesque no texto e Geist Mono nos
 * rótulos pequenos. Aqui também ficam o hero, o selo "Aberto agora" (js/casa.js),
 * o card de visita e os depoimentos. Carregado depois de style.css, responsive.css e pedido.css.
 */

/* ================= fontes (arquivos em /fonts, licença OFL) ================= */
@font-face {
  font-family: 'Anton';
  src: url('../fonts/anton.woff2') format('woff2');
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-grotesque.woff2') format('woff2');
  font-display: swap;
  font-weight: 200 800;
  font-style: normal;
}

@font-face {
  font-family: 'Geist Mono';
  src: url('../fonts/geist-mono.woff2') format('woff2');
  font-display: swap;
  font-weight: 100 900;
  font-style: normal;
}

/* Fallbacks em Arial com métricas ajustadas: o texto não pula enquanto a fonte carrega. */
@font-face {
  font-family: 'Anton Fallback';
  src: local('Arial');
  size-adjust: 90.69%;
  ascent-override: 129.7022%;
  descent-override: 36.2886%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Bricolage Grotesque Fallback';
  src: local('Arial');
  font-weight: 200 800;
  size-adjust: 111.0361%;
  ascent-override: 83.7565%;
  descent-override: 24.3164%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Geist Mono Fallback';
  src: local('Arial');
  font-weight: 100 900;
  size-adjust: 134.5893%;
  ascent-override: 74.6716%;
  descent-override: 21.9185%;
  line-gap-override: 0%;
}

:root {
  --fanes-dark: #222831;
  --fanes-dark-deep: #16191e;
  --fanes-yellow: #ffbe33;
  --fanes-yellow-hover: #ffcd5c;
  /* amarelo escurecido para texto pequeno em fundo claro (contraste AA) */
  --fanes-yellow-ink: #9a6a00;
  --fanes-ink: #1a1d23;
  --fanes-muted: #5d6470;
  --fanes-line: rgba(34, 40, 49, 0.12);
  --fanes-open: #3ddc84;
  --fanes-open-ink: #1a8a4a;
  --fanes-closed: #ff6b5b;
  --font-display: 'Anton', 'Anton Fallback', Impact, sans-serif;
  --font-text: 'Bricolage Grotesque', 'Bricolage Grotesque Fallback', system-ui, sans-serif;
  --font-mono: 'Geist Mono', 'Geist Mono Fallback', ui-monospace, monospace;
}

/* ================= base ================= */
body {
  font-family: var(--font-text);
  color: var(--fanes-ink);
}

h1,
h2,
.navbar-brand,
.footer_section h4,
.footer_section .footer-logo,
.offer_section .box .detail-box h5 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

a:focus-visible,
button:focus-visible,
li:focus-visible {
  outline: 3px solid var(--fanes-yellow);
  outline-offset: 3px;
}

.heading_container h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.05;
}

.heading_container p:not(.eyebrow) {
  max-width: 36rem;
  color: var(--fanes-muted);
}

/* Rótulo pequeno acima dos títulos ("Feito na hora", "Reservas"...). */
.eyebrow,
.heading_container p.eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fanes-yellow-ink);
}

.about_section .eyebrow,
.offer_section .eyebrow {
  color: var(--fanes-yellow);
}

/* ================= botões: texto escuro no amarelo (branco no amarelo quase não se lia) ================= */
.user_option .order_online,
.slider_section .detail-box a.btn1,
.offer_section .box .detail-box a,
.food_section .btn-box a,
.about_section .detail-box a,
.book_section .form_container button,
.visit_ctas .btn1,
.client_section .owl-carousel .owl-nav .owl-prev,
.client_section .owl-carousel .owl-nav .owl-next {
  background-color: var(--fanes-yellow);
  color: var(--fanes-dark);
  font-weight: 700;
  transition: background-color 0.2s, transform 0.2s;
}

.user_option .order_online:hover,
.slider_section .detail-box a.btn1:hover,
.offer_section .box .detail-box a:hover,
.food_section .btn-box a:hover,
.about_section .detail-box a:hover,
.book_section .form_container button:hover,
.visit_ctas .btn1:hover {
  background-color: var(--fanes-yellow-hover);
  color: var(--fanes-dark);
  transform: translateY(-1px);
}

/* ================= cabeçalho ================= */
.navbar-brand span {
  font-weight: 400;
  font-size: 34px;
  letter-spacing: 0.03em;
}

.custom_nav-container .navbar-nav .nav-item .nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.user_option .order_online {
  padding: 9px 26px;
}

/* Foto do fundo escurecida à esquerda: o texto do hero lê bem em qualquer tela. */
.bg-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 25, 30, 0.88) 0%, rgba(22, 25, 30, 0.55) 55%, rgba(22, 25, 30, 0.15) 100%);
}

/* ================= hero ================= */
.slider_section {
  padding: 40px 0 90px;
}

.slider_section .detail-box {
  margin-bottom: 0;
}

.slider_section .detail-box h1 {
  margin: 22px 0 20px;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 400;
  line-height: 0.95;
}

.slider_section .detail-box h1 span {
  display: block;
  color: var(--fanes-yellow);
}

.slider_section .detail-box p {
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.slider_section .btn-box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.slider_section .detail-box a.btn1,
.slider_section .detail-box a.btn2 {
  margin: 0;
  padding: 13px 28px;
  border-radius: 45px;
}

.slider_section .detail-box a.btn2 {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  font-weight: 600;
}

.slider_section .detail-box a.btn2:hover {
  border-color: var(--fanes-yellow);
  color: var(--fanes-yellow);
}

.hero_facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  max-width: 34rem;
  margin: 36px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  list-style: none;
}

.hero_facts span {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hero_facts strong {
  font-weight: 600;
  color: #ffffff;
}

/* ================= selo "Aberto agora" (js/casa.js) ================= */
.casa-status {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 8px;
  margin: 0;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  line-height: 1.4;
  color: #ffffff;
}

.casa-status:empty {
  display: none;
}

.casa-status strong {
  font-weight: 700;
}

.casa-status span:not(.casa-status__dot) {
  opacity: 0.78;
}

.casa-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fanes-closed);
}

.casa-status.is-open .casa-status__dot {
  background: var(--fanes-open);
  animation: casa-pulse 2s infinite;
}

@keyframes casa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .casa-status.is-open .casa-status__dot { animation: none; }
}

/* ================= ofertas ================= */
.offer_section .box {
  gap: 6px;
  padding: 24px;
  border-radius: 18px;
}

.offer_section .box .detail-box h5 {
  font-size: 1.9rem;
  line-height: 1.05;
}

.offer_section .box .detail-box h6 {
  margin: 8px 0 16px;
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.offer_section .box .detail-box h6 span {
  margin-right: 6px;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1;
  vertical-align: -5px;
  color: var(--fanes-yellow);
}

.offer_section .box .detail-box a {
  padding: 10px 24px;
}

.offer_section .box .detail-box a i {
  margin-left: 6px;
}

/* ================= cardápio ================= */
.food_section .filters_menu li {
  margin: 4px;
  padding: 7px 22px;
  font-weight: 600;
  transition: background-color 0.2s;
}

.food_section .filters_menu li:not(.active):hover {
  background-color: #f1f2f3;
}

.food_section .box .detail-box h5 {
  font-size: 1.2rem;
  font-weight: 700;
}

.food_section .box .detail-box p {
  min-height: 4.5em;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.food_section .box .options {
  align-items: center;
}

.food_section .box .detail-box h6 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--fanes-yellow);
}

/* ================= sobre ================= */
.about_section .detail-box p {
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

/* ================= card de visita (reservas) ================= */
.book_section .row {
  align-items: flex-start;
}

.visit_card {
  overflow: hidden;
  border: 1px solid var(--fanes-line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 40px -24px rgba(34, 40, 49, 0.45);
}

.visit_map {
  height: 200px;
  background: #e9ebee;
}

.visit_map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.visit_body {
  padding: 22px 24px 24px;
}

.visit_body .casa-status {
  border-color: var(--fanes-line);
  background: #f4f5f7;
  color: var(--fanes-ink);
}

.visit_body .casa-status.is-open strong {
  color: var(--fanes-open-ink);
}

.visit_body h3 {
  margin: 14px 0 4px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  text-transform: uppercase;
}

.visit_address {
  margin: 0 0 12px;
  color: var(--fanes-muted);
}

.visit_hours {
  margin: 0;
}

.visit_hours div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--fanes-line);
}

.visit_hours dt {
  font-weight: 600;
}

.visit_hours dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  text-align: right;
  color: var(--fanes-muted);
}

.visit_ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.visit_ctas a {
  flex: 1 1 auto;
  padding: 11px 18px;
  border-radius: 45px;
  font-weight: 700;
  text-align: center;
}

.visit_ctas .btn2 {
  background: var(--fanes-dark);
  color: #ffffff;
  transition: background-color 0.2s;
}

.visit_ctas .btn2:hover {
  background: #3a4250;
  color: #ffffff;
}

/* ================= depoimentos ================= */
.client_section .box .detail-box {
  border-radius: 16px;
}

.client_section .box .detail-box p {
  line-height: 1.6;
}

.client_section .box .detail-box .client_stars {
  margin-bottom: 8px;
  letter-spacing: 3px;
  color: var(--fanes-yellow);
}

.client_section .box .detail-box h6 + p {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.client_avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 76px;
  height: 76px;
  border: 4px solid var(--fanes-yellow);
  border-radius: 50%;
  background: var(--fanes-dark);
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--fanes-yellow);
}

/* ================= rodapé ================= */
.footer_section {
  background-color: var(--fanes-dark-deep);
}

.footer_section h4 {
  font-size: 1.6rem;
  letter-spacing: 0.03em;
}

.footer_section .footer-logo {
  font-size: 2.6rem;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.footer_section .casa-status {
  margin-bottom: 12px;
}

.footer_hours {
  margin: 0;
}

.footer_hours div {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.footer_hours dt {
  font-weight: 600;
}

.footer_hours dd {
  margin: 0;
  color: #dbdbdb;
}

.footer_section .footer-info {
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ================= telas pequenas ================= */
@media (max-width: 575px) {
  .slider_section .btn-box a.btn1,
  .slider_section .btn-box a.btn2 {
    flex: 1 1 100%;
    text-align: center;
  }

  .offer_section .box {
    flex-direction: column;
    text-align: center;
  }

  .offer_section .box .img-box {
    margin: 0 0 12px;
  }
}
