/*
Theme Name: Festival Gastronomico de Pato Branco
Theme URI: https://festivalpatobranco.com.br
Author: Festival Gastronomico de Pato Branco
Description: Tema de pagina unica para o 5o Festival Gastronomico de Pato Branco - Edicao de Rua (16 a 20 de setembro de 2026).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: festival-pato-branco
*/

/* ===== Tokens ===== */
:root {
  --fpb-bg: #10161d;
  --fpb-card: #171f28;
  --fpb-surface: #1e2833;
  --fpb-border: #2b3744;
  --fpb-text: #f5efe6;
  --fpb-muted: #b3a99b;
  --fpb-primary: #7c1d2b;        /* bordo */
  --fpb-primary-contrast: #fff6ea;
  --fpb-accent: #e8a020;         /* mostarda */
  --fpb-accent-contrast: #22160a;
  --fpb-orange: #c9541c;         /* laranja queimado */
  --fpb-display: "Playfair Display", Georgia, serif;
  --fpb-body: "Lato", "Helvetica Neue", Arial, sans-serif;
  --fpb-max: 1152px;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fpb-bg);
  color: var(--fpb-text);
  font-family: var(--fpb-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--fpb-display); line-height: 1.15; margin: 0; }
.fpb-container { width: 100%; max-width: var(--fpb-max); margin: 0 auto; padding: 0 24px; }
.fpb-eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .3em;
  text-transform: uppercase; color: var(--fpb-accent); margin: 0;
}
.fpb-rule { width: 96px; height: 4px; border-radius: 999px; background: var(--fpb-accent); margin: 16px auto 0; }
.fpb-section { padding: 96px 0; }
.fpb-section--slate {
  background-color: #131a22;
  background-image: linear-gradient(rgba(19,26,34,.94), rgba(19,26,34,.94)),
    repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 7px);
}
.fpb-section--wood {
  background-color: #1a1310;
  background-image: linear-gradient(rgba(26,19,16,.92), rgba(26,19,16,.92)),
    repeating-linear-gradient(90deg, rgba(201,84,28,.10) 0 3px, transparent 3px 14px);
}
.fpb-center { text-align: center; }

/* ===== Header / Hero ===== */
.fpb-hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.fpb-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fpb-hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(16,22,29,.90), rgba(16,22,29,.76) 45%, var(--fpb-bg));
}
.fpb-nav {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; width: 100%; max-width: var(--fpb-max); margin: 0 auto; padding: 24px;
}
.fpb-brand { display: flex; align-items: center; gap: 12px; font-family: var(--fpb-display); font-size: 20px; font-weight: 700; }
.fpb-brand img { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; box-shadow: 0 10px 25px rgba(0,0,0,.45); }
.fpb-brand span em { font-style: normal; color: var(--fpb-accent); }
.fpb-menu { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.fpb-menu a { color: rgba(245,239,230,.82); transition: color .2s; }
.fpb-menu a:hover { color: var(--fpb-accent); }
.fpb-hero__content { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px 24px 96px; }
.fpb-hero__content h1 { max-width: 900px; font-size: clamp(38px, 6vw, 72px); font-weight: 900; margin-top: 16px; }
.fpb-hero__sub { display: block; margin-top: 12px; font-size: clamp(20px, 3vw, 38px); font-style: italic; font-weight: 500; color: var(--fpb-accent); }
.fpb-hero__text { max-width: 620px; margin: 24px 0 0; font-size: 18px; color: rgba(245,239,230,.88); }
.fpb-btn {
  display: inline-block; margin-top: 40px; padding: 16px 40px; border-radius: 999px;
  background: var(--fpb-primary); color: var(--fpb-primary-contrast);
  font-size: 18px; font-weight: 700; box-shadow: 0 14px 30px rgba(124,29,43,.35);
  transition: transform .2s;
}
.fpb-btn:hover { transform: scale(1.05); }

/* ===== Sobre ===== */
.fpb-sobre { max-width: 780px; margin: 0 auto; text-align: center; }
.fpb-sobre h2 { margin-top: 12px; font-size: clamp(30px, 4vw, 48px); }
.fpb-sobre p { color: rgba(245,239,230,.88); font-size: 18px; }
.fpb-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: 32px; font-weight: 700; }

/* ===== Restaurantes ===== */
.fpb-grid-rest { display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); margin-top: 56px; }
.fpb-card-rest {
  background: var(--fpb-card); border: 1px solid var(--fpb-border); border-radius: 18px;
  padding: 24px; text-align: center; box-shadow: 0 18px 40px rgba(0,0,0,.35);
  transition: transform .25s;
}
.fpb-card-rest:hover { transform: translateY(-8px); }
.fpb-card-rest img { width: 80px; height: 80px; margin: 0 auto; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(232,160,32,.45); }
.fpb-card-rest h3 { margin-top: 20px; font-size: 20px; }
.fpb-card-rest .fpb-frase { margin: 12px 0 0; font-size: 14px; font-style: italic; color: var(--fpb-muted); }
.fpb-card-rest .fpb-end { margin: 16px 0 0; font-size: 12px; color: var(--fpb-muted); }

/* ===== Pratos ===== */
.fpb-grid-pratos { display: grid; gap: 32px; grid-template-columns: repeat(3, 1fr); margin-top: 56px; }
.fpb-card-prato {
  background: var(--fpb-card); border: 1px solid var(--fpb-border); border-radius: 18px;
  overflow: hidden; box-shadow: 0 22px 45px rgba(0,0,0,.4);
}
.fpb-card-prato__media { position: relative; overflow: hidden; }
.fpb-card-prato__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s; }
.fpb-card-prato:hover .fpb-card-prato__media img { transform: scale(1.08); }
.fpb-preco {
  position: absolute; top: 16px; right: 16px; padding: 6px 16px; border-radius: 999px;
  background: var(--fpb-accent); color: var(--fpb-accent-contrast); font-weight: 900; font-size: 14px;
}
.fpb-card-prato__body { padding: 24px; }
.fpb-card-prato__body .fpb-rest { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--fpb-accent); margin: 0; }
.fpb-card-prato__body h3 { margin-top: 8px; font-size: 24px; }
.fpb-card-prato__body p { margin: 12px 0 0; font-size: 14px; color: var(--fpb-muted); }

/* ===== Footer ===== */
.fpb-footer { background: var(--fpb-card); border-top: 1px solid var(--fpb-border); }
.fpb-footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; padding: 64px 0 0; }
.fpb-footer h3 { font-family: var(--fpb-body); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--fpb-accent); }
.fpb-footer ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; font-size: 14px; color: var(--fpb-muted); }
.fpb-social { display: flex; gap: 12px; margin-top: 24px; }
.fpb-social a {
  width: 40px; height: 40px; border-radius: 50%; background: var(--fpb-surface);
  display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s;
}
.fpb-social a:hover { background: var(--fpb-primary); color: var(--fpb-primary-contrast); }
.fpb-apoio { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.fpb-apoio span {
  border: 1px solid var(--fpb-border); background: var(--fpb-surface); border-radius: 10px;
  padding: 8px 16px; font-size: 12px; font-weight: 700;
}
.fpb-copy { margin-top: 56px; border-top: 1px solid var(--fpb-border); padding: 24px 0; text-align: center; font-size: 12px; color: var(--fpb-muted); }

/* ===== Responsivo ===== */
@media (max-width: 1024px) {
  .fpb-grid-rest { grid-template-columns: repeat(2, 1fr); }
  .fpb-grid-pratos { grid-template-columns: repeat(2, 1fr); }
  .fpb-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .fpb-menu { display: none; }
  .fpb-section { padding: 64px 0; }
  .fpb-grid-rest, .fpb-grid-pratos, .fpb-footer__grid { grid-template-columns: 1fr; }
}
