/*
Theme Name: Hitalo Buffet
Theme URI: https://64767243hitalosamueldealmeidamonteiro.com
Author: HITALO SAMUEL DE ALMEIDA MONTEIRO
Author URI: https://64767243hitalosamueldealmeidamonteiro.com
Description: Tema WordPress moderno e responsivo para empresa de buffet e serviços de alimentação para eventos. Design limpo, profissional, em tons suaves com acentos dourados.
Version: 1.0.0
Requires at least: 5.5
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hitalo-buffet
Tags: catering, business, responsive, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #3a2f25;
  background: #fdfaf5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #b8860b; text-decoration: none; transition: color .2s ease; }
a:hover { color: #8a6508; }
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; color: #2a2018; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.5rem); }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }

/* ============ LAYOUT ============ */
.container { width: 92%; max-width: 1180px; margin: 0 auto; }
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 14px; }
.section-subtitle { text-align: center; color: #7a6a58; max-width: 640px; margin: 0 auto 50px; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 250, 245, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid #efe7d8;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; gap: 20px;
}
.site-branding a { display: inline-flex; flex-direction: column; line-height: 1.1; color: #2a2018; }
.site-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.4rem; font-weight: 700; }
.site-tagline { font-size: .78rem; color: #8a7a66; letter-spacing: .04em; text-transform: uppercase; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.main-nav a {
  color: #3a2f25; font-weight: 500; font-size: .95rem;
  position: relative; padding: 6px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: #c9a14a; transition: width .25s ease;
}
.main-nav a:hover::after, .main-nav .current-menu-item > a::after { width: 100%; }

.menu-toggle {
  display: none; background: transparent; border: 0; cursor: pointer;
  width: 40px; height: 40px; padding: 0;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px; background: #2a2018;
  margin: 5px auto; transition: transform .25s, opacity .25s;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fdfaf5; border-bottom: 1px solid #efe7d8;
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .main-nav.is-open { max-height: 480px; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 12px 5%; }
  .main-nav li { border-bottom: 1px solid #f3ecdd; }
  .main-nav li:last-child { border-bottom: 0; }
  .main-nav a { display: block; padding: 14px 4px; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  background: linear-gradient(135deg, #c9a14a, #b8860b);
  color: #fff !important; font-weight: 600; letter-spacing: .02em;
  border: 0; cursor: pointer; font-size: 1rem;
  box-shadow: 0 8px 20px -8px rgba(184,134,11,.55);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(184,134,11,.7); filter: brightness(1.05); }
.btn-outline {
  background: transparent; color: #b8860b !important;
  border: 2px solid #c9a14a; box-shadow: none;
}
.btn-outline:hover { background: #c9a14a; color: #fff !important; }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 78vh; display: flex; align-items: center;
  background:
    linear-gradient(135deg, rgba(42,32,24,.65), rgba(42,32,24,.45)),
    radial-gradient(ellipse at top right, #e6c98a 0%, #c9a14a 35%, #8a6508 100%);
  color: #fff; text-align: center; padding: 100px 0;
  background-size: cover; background-position: center;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero p.lead { font-size: clamp(1rem, 1vw + .8rem, 1.25rem); max-width: 720px; margin: 0 auto 36px; color: #f5ecd9; }

/* ============ ABOUT ============ */
.about-grid {
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
}
@media (min-width: 860px) { .about-grid { grid-template-columns: 1.1fr 1fr; gap: 60px; } }
.highlights { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.highlights li {
  display: flex; align-items: flex-start; gap: 12px; font-weight: 500; color: #3a2f25;
}
.highlights li::before {
  content: "✓"; flex: 0 0 28px; height: 28px; border-radius: 50%;
  background: #f5e6c0; color: #8a6508; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; font-size: .9rem;
}
.about-card {
  background: #fff; border-radius: 24px; padding: 40px;
  box-shadow: 0 20px 50px -28px rgba(58,47,37,.25);
  border: 1px solid #f1e7d2;
}

/* ============ SERVICES ============ */
.services { background: #f9f1e1; }
.services-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.service-card {
  background: #fff; border-radius: 20px; padding: 34px 28px;
  text-align: center; border: 1px solid #f1e7d2;
  box-shadow: 0 12px 30px -20px rgba(58,47,37,.18);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px -22px rgba(184,134,11,.35);
}
.service-icon {
  width: 64px; height: 64px; margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5e6c0, #e6c98a);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: #6f5f4d; font-size: .95rem; margin: 0; }

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.testimonial {
  background: #fff; border-radius: 20px; padding: 30px;
  border: 1px solid #f1e7d2;
  box-shadow: 0 12px 30px -20px rgba(58,47,37,.15);
  position: relative;
}
.testimonial::before {
  content: "“"; position: absolute; top: -10px; left: 22px;
  font-family: 'Playfair Display', serif; font-size: 4rem; color: #c9a14a; line-height: 1;
}
.testimonial p { font-style: italic; color: #4a3d2e; }
.testimonial .author { margin-top: 14px; font-weight: 700; color: #2a2018; font-style: normal; }
.testimonial .role { color: #8a7a66; font-size: .85rem; }

/* ============ CONTACT ============ */
.contact { background: #fdfaf5; }
.contact-grid {
  display: grid; gap: 40px; grid-template-columns: 1fr;
}
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info { display: grid; gap: 18px; }
.contact-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; padding: 18px 20px; border-radius: 16px;
  border: 1px solid #f1e7d2;
}
.contact-item .ico {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px;
  background: linear-gradient(135deg, #f5e6c0, #e6c98a);
  display: inline-flex; align-items: center; justify-content: center; font-size: 20px;
}
.contact-item strong { display: block; color: #2a2018; }
.contact-item span, .contact-item a { color: #6f5f4d; font-size: .95rem; word-break: break-word; }

.contact-form {
  background: #fff; padding: 32px; border-radius: 20px;
  border: 1px solid #f1e7d2;
  box-shadow: 0 16px 40px -24px rgba(58,47,37,.2);
}
.form-row { margin-bottom: 16px; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 6px; color: #2a2018; font-size: .9rem; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #e6dbc4; border-radius: 12px;
  font: inherit; color: #2a2018; background: #fdfaf5; transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: #c9a14a; box-shadow: 0 0 0 4px rgba(201,161,74,.15);
}
.form-feedback { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: .9rem; }
.form-feedback.success { background: #e8f5e9; color: #2e7d32; }
.form-feedback.error { background: #fdecea; color: #b71c1c; }

/* ============ PAGE CONTENT ============ */
.page-content, .single-content, .archive-list {
  background: #fff; border-radius: 20px; padding: 40px;
  border: 1px solid #f1e7d2;
  box-shadow: 0 12px 30px -22px rgba(58,47,37,.15);
}
.page-content h1, .single-content h1 { margin-bottom: 20px; }
.page-content h2, .single-content h2 { margin-top: 1.6em; }
.entry-meta { color: #8a7a66; font-size: .85rem; margin-bottom: 18px; }

.archive-list .post-item {
  padding: 24px 0; border-bottom: 1px solid #f1e7d2;
}
.archive-list .post-item:last-child { border-bottom: 0; }
.archive-list h2 { margin: 0 0 6px; font-size: 1.4rem; }
.archive-list h2 a { color: #2a2018; }
.archive-list h2 a:hover { color: #b8860b; }

.error-404 { text-align: center; padding: 80px 0; }
.error-404 .code { font-family: 'Playfair Display', serif; font-size: clamp(5rem, 12vw, 9rem); color: #c9a14a; line-height: 1; margin: 0; }

/* ============ FOOTER ============ */
.site-footer {
  background: #2a2018; color: #d9cdb8; padding: 60px 0 24px; margin-top: 60px;
}
.footer-grid {
  display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 36px;
}
.site-footer h4 {
  color: #f5e6c0; font-family: 'Inter', sans-serif; font-size: .85rem;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px;
}
.site-footer p, .site-footer li { font-size: .92rem; color: #c9bda7; }
.site-footer a { color: #f5e6c0; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom {
  border-top: 1px solid #3d3024; padding-top: 20px; text-align: center;
  font-size: .85rem; color: #a89880;
}

/* ============ UTILITIES ============ */
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
