@charset "UTF-8";

/* Base → animações → navegação → seções → cardápio → rodapé → responsividade */
:root {
  --cor-fundo: #0c0c09;
  --cor-destaque: #bb5d2a;
  --cor-destaque-clara: #e07b3f;
  --cor-texto: oklch(80% 0.011 106.6);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--cor-fundo);
  font-family: "Poppins", sans-serif;
  color: oklch(88% 0.011 106.6);
}

h2 {
  color: var(--cor-destaque);
  font-size: 32px;
}

h3 {
  color: var(--cor-destaque);
  font-size: 24px;
}

p {
  font-size: 18px;
  line-height: 1.6;
}

:focus-visible {
  outline: 2px solid var(--cor-destaque-clara);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10;
  padding: 12px;
  background: var(--cor-fundo);
  color: var(--cor-destaque-clara);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- Animações ---------- */

/* As seções aparecem ao entrar e desaparecem ao sair pelo topo. */
@keyframes revealIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes revealOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-40px); }
}

/* Animação para o texto inicial (acontece logo que o site carrega) */
@keyframes fadeIn {
  from { opacity: 0.85; }
  to { opacity: 1; }
}

.reveal-inicial {
  animation: fadeIn 0.6s ease-out forwards;
}

@supports (animation-timeline: view()) {
  .reveal {
    animation: revealIn linear both, revealOut linear forwards;
    animation-timeline: view();
    animation-range: entry 45% cover 45%, exit 0% exit 50%;
  }
}

/* ---------- Nav ---------- */
nav {
  width: 100%;
  text-align: center;
  background: oklch(15.3% 0.006 107.1);
  margin-top: 1em;
  padding: 10px 0;
}

nav a {
  color: var(--cor-destaque);
  text-decoration: none;
  margin: 0 10px;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--cor-destaque-clara);
}

.color-default {
  color: var(--cor-texto);
}

.center {
  text-align: center;
}

.sub-logo {
  display: grid;
  font-family: 'Caveat', 'Segoe Script', cursive;
}

/* ---------- Header ---------- */
.container-nav {
  background-color: oklch(46.634% 0.02488 107.368 / 0.082);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 0 0;
  gap: 10px;
}

.container-nav h1 {
  font-weight: 100;
  color: var(--cor-destaque);
  font-family: "Cinzel", serif;
  font-size: clamp(32px, 5vw, 64px);
  white-space: nowrap;
  margin: 0;
}

.sub-logo p {
  font-size: 22px;
  color: var(--cor-destaque);
  font-weight: 700;
  line-height: normal;
}

/* ---------- Quem somos ---------- */
.container-main {
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.container-main p {
  text-align: justify;
}

/* ---------- Chef ---------- */
.container-main-flex {
  display: flex;
  padding: 50px 20px;
  gap: 20px;
  max-width: 1000px;
  margin: 10px auto 0;
  align-items: center;
}

.bio-img {
  width: 30%;
  height: 22rem;
  object-fit: cover;
  border-radius: 8px;
}

.container-main-flex p {
  text-align: justify;
}

/* ---------- Aviso de Reserva ---------- */
.aviso-cardapio {
  max-width: 800px;
  margin: 40px auto;
  text-align: center;
  background-color: oklch(46.634% 0.02488 107.368 / 0.1);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid oklch(46.634% 0.02488 107.368 / 0.3);
}

.aviso-cardapio p {
  font-size: 16px;
  margin-bottom: 8px;
}

.aviso-cardapio .aviso-destaque {
  color: var(--cor-destaque);
  font-weight: 600;
  margin-bottom: 0;
}

/* ---------- Cardápio e Acordeão ---------- */
.cardapio-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  margin-bottom: 30px;
}

.acordeao-item {
  margin-bottom: 15px;
  border: 1px solid oklch(30% 0.01 107.1);
  border-radius: 8px;
  overflow: hidden;
}

.acordeao-header {
  width: 100%;
  background-color: oklch(15% 0.006 107.1);
  border: none;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s;
  font-family: inherit;
  list-style: none;
  gap: 16px;
}

.acordeao-header::-webkit-details-marker {
  display: none;
}

.acordeao-header .categoria-titulo {
  min-width: 0;
}

.acordeao-header:hover {
  background-color: oklch(20% 0.006 107.1);
}

.categoria-titulo {
  margin: 0;
  font-size: 22px;
  color: var(--cor-destaque);
}

.icone-seta {
  font-size: 20px;
  color: var(--cor-destaque);
  transition: transform 0.3s ease;
}

.acordeao-item[open] .icone-seta {
  transform: rotate(180deg);
}

.acordeao-item[data-closing] .icone-seta {
  transform: rotate(0deg);
}

.acordeao-conteudo {
  background-color: var(--cor-fundo);
}

/* Lista de pratos dentro do acordeão */
.menu-grid {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  list-style: none;
}

.prato-card {
  padding: 15px 20px;
  border-bottom: 1px solid oklch(20% 0.006 107.1);
}

.prato-card:last-child {
  border-bottom: none;
}

.prato-card h4 {
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--cor-destaque-clara); /* Cor mais clara para leitura */
}

.prato-card p {
  font-size: 15px;
  line-height: 1.4;
}

/* ---------- Cuia ---------- */
.cuia {
  display: flex;
  justify-content: center;
  height: 300px;
  margin-top: 40px;
}

.cuia img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

/* ---------- Footer ---------- */
footer {
  background-color: oklch(12% 0.006 107.1);
  padding: 50px 20px 20px;
  border-top: 1px solid oklch(30% 0.01 107.1);
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  align-items: start;
}

.footer-info h3 {
  color: var(--cor-destaque);
  font-size: 20px;
  margin-bottom: 12px;
  border-bottom: 1px solid #bb5d2a;
  display: inline-block;
  padding-bottom: 4px;
}

.footer-info p {
  font-size: 15px;
  color: var(--cor-texto);
}

.footer-map iframe {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  filter: grayscale(100%) invert(90%) hue-rotate(180deg); /* Deixa o mapa escuro para combinar */
}

.footer-copy {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid oklch(20% 0.006 107.1);
  font-size: 13px;
  color: oklch(60% 0.011 106.6);
}

.footer-copy a {
  color: inherit;
  text-decoration: none;
}

.footer-copy a:hover {
  color: var(--cor-destaque-clara);
  text-decoration: underline;
}

.telefone-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.telefone-link:hover {
  color: var(--cor-destaque-clara);
}

.whatsapp-btn {
  display: inline-flex;
  background-color: #128c2c;
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.3s;
  margin: 10px 0;
}

.whatsapp-btn:hover {
  background-color: #25d365af;
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .container-nav h1 {
    white-space: normal;
    text-align: center;
    font-size: 38px;
  }

  .container-main-flex {
    flex-direction: column;
    padding: 30px 20px;
  }

  .bio-img {
    width: 100%;
    height: 250px;
  }

  .bio-img:nth-child(2) {
    display: none;
  }

  .container-main p,
  .container-main-flex p {
    text-align: left;
    font-size: 16px; /* Mais confortável no celular */
  }

  .cuia {
    height: 150px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-info h3 {
    border-bottom: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-inicial { animation: none; }
  .icone-seta, nav a, .acordeao-header, .whatsapp-btn { transition: none; }
}
