/*
Theme Name: Timoteo Churrasqueiras
Theme URI: https://timoteochurrasqueiras.com.br
Description: Tema WordPress completo baseado no site Timoteo Churrasqueiras
Author: Timoteo Churrasqueiras
Version: 1.0
Text Domain: timoteo
*/

/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  color: #333;
  background: #fff;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
p { margin-bottom: 1em; }

/* ========== VARIAVEIS ========== */
:root {
  --vermelho: #ED3237;
  --vermelho-escuro: #c8272c;
  --preto: #000000;
  --branco: #ffffff;
  --cinza-escuro: #1a1a1a;
  --cinza-texto: #444;
  --cinza-claro: #f5f5f5;
}

/* ========== SKIP LINK ========== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--vermelho);
  color: #fff;
  padding: 8px 16px;
  z-index: 99999;
  transition: top 0.3s;
}
.skip-link:focus { top: 0; }

/* ========== HEADER ========== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 9000;
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.site-logo img { height: 60px; width: auto; }

/* NAV DESKTOP */
#primary-menu {
  display: flex;
  gap: 36px;
}
#primary-menu li a {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 0;
  position: relative;
  transition: color 0.3s;
}
#primary-menu li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--vermelho);
  transition: width 0.3s;
}
#primary-menu li a:hover,
#primary-menu li.current-menu-item a { color: var(--vermelho); }
#primary-menu li a:hover::after,
#primary-menu li.current-menu-item a::after { width: 100%; }

/* SEARCH TOGGLE */
.header-search-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 6px;
  margin-left: 10px;
  transition: color 0.3s;
}
.header-search-btn:hover { color: var(--vermelho); }

.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.search-overlay.active { display: flex; }
.search-overlay form {
  display: flex;
  width: 600px;
  max-width: 90vw;
}
.search-overlay input[type="search"] {
  flex: 1;
  padding: 14px 20px;
  font-size: 18px;
  border: none;
  outline: none;
  font-family: 'Montserrat', sans-serif;
}
.search-overlay button[type="submit"] {
  background: var(--vermelho);
  color: #fff;
  border: none;
  padding: 14px 24px;
  font-size: 18px;
  cursor: pointer;
}
.search-close {
  position: absolute;
  top: 30px;
  right: 40px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

/* MOBILE HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: var(--vermelho);
  border: none;
  padding: 10px 12px;
  border-radius: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}

/* MOBILE NAV */
#mobile-menu {
  display: none;
  background: #111;
  padding: 0;
}
#mobile-menu.open { display: block; }
#mobile-menu ul { }
#mobile-menu ul li a {
  display: block;
  padding: 14px 30px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s, color 0.2s;
}
#mobile-menu ul li a:hover {
  background: var(--vermelho);
  color: #fff;
}

/* ========== HERO BANNER ========== */
.tc-hero {
  position: relative;
  width: 100%;
  height: 420px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.tc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.38);
}
.tc-hero h1 {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
  padding: 0 20px;
  letter-spacing: 0.5px;
}
.tc-hero--home { height: 560px; }

/* SLIDER */
.tc-slider { position: relative; overflow: hidden; }
.tc-slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.tc-slide {
  min-width: 100%;
  height: 560px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.tc-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tc-slider-btn:hover { background: var(--vermelho); }
.tc-slider-btn.prev { left: 20px; }
.tc-slider-btn.next { right: 20px; }
.tc-slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.tc-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  border: none;
  transition: background 0.3s;
}
.tc-slider-dot.active { background: var(--vermelho); }

/* ========== SECAO GENERICA ========== */
.tc-section { padding: 80px 20px; }
.tc-section--bg-dark {
  background: var(--cinza-escuro);
  color: #fff;
}
.tc-section--bg-light { background: var(--cinza-claro); }
.tc-container {
  max-width: 1140px;
  margin: 0 auto;
}
.tc-section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--vermelho);
  text-align: center;
  margin-bottom: 16px;
}
.tc-section-subtitle {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
}
.tc-section-subtitle .destaque { color: var(--vermelho); }
.tc-section-subtitle--white { color: #fff; }
.tc-section-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--cinza-texto);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

/* ========== GRID DE PRODUTOS (HOME) ========== */
.tc-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.tc-product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.tc-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.tc-product-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.tc-product-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.tc-product-card__title {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  line-height: 1.3;
}
.tc-product-card__title .destaque { color: var(--vermelho); }
.tc-product-card__link {
  margin-top: auto;
  display: inline-block;
  color: var(--vermelho);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-top: 12px;
  transition: color 0.3s;
}
.tc-product-card:hover .tc-product-card__link { color: var(--vermelho-escuro); }

/* ========== SECAO BLOG ========== */
.tc-blog-cta {
  background-image: url('https://timoteochurrasqueiras.com.br/wp-content/uploads/2021/06/banner-empresa-timoteo-churrasqueiras.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 80px 20px;
}
.tc-blog-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.60);
}
.tc-blog-cta .tc-container { position: relative; z-index: 2; text-align: center; }
.tc-blog-cta h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.tc-blog-cta p {
  color: rgba(255,255,255,0.88);
  font-size: 16px;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== CTA ORCAMENTO ========== */
.tc-cta {
  position: relative;
  padding: 90px 20px;
  background-image: url('https://timoteochurrasqueiras.com.br/wp-content/uploads/2021/06/banner-2-empresa-timoteo-churrasqueiras.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
  overflow: hidden;
}
.tc-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
}
.tc-cta .tc-container { position: relative; z-index: 2; }
.tc-cta h2 {
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.tc-cta p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
}

/* ========== BOTOES ========== */
.tc-btn {
  display: inline-block;
  padding: 16px 52px;
  background: var(--vermelho);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
}
.tc-btn:hover {
  background: var(--vermelho-escuro);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(237,50,55,0.4);
}
.tc-btn--outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.tc-btn--outline:hover {
  background: #fff;
  color: var(--vermelho);
  box-shadow: none;
}

/* ========== PAGE EMPRESA ========== */
.tc-empresa-intro {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.tc-empresa-intro h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 28px;
  color: #1a1a1a;
}
.tc-empresa-intro p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--cinza-texto);
  margin-bottom: 16px;
}
.tc-antes-depois {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 50px 0;
}
.tc-antes-depois__col h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #1a1a1a;
}
.tc-antes-depois__col img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.tc-mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.tc-mvv-card {
  background: var(--vermelho);
  color: #fff;
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
}
.tc-mvv-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  text-decoration: underline;
}
.tc-mvv-card p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* ========== PAGE PRODUTOS ========== */
.tc-products-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

/* ========== PAGE PRODUTO INTERNA ========== */
.tc-product-inner {
  display: flex;
  gap: 60px;
  align-items: center;
  padding: 80px 20px;
  max-width: 1140px;
  margin: 0 auto;
}
.tc-product-inner__img { flex: 0 0 300px; }
.tc-product-inner__img img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.tc-product-inner__text { flex: 1; }
.tc-product-inner__text h2 {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}
.tc-product-inner__text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--cinza-texto);
}

/* ========== PAGE CONTATO ========== */
.tc-contato-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
  padding: 80px 20px;
  max-width: 1140px;
  margin: 0 auto;
}
.tc-contato-info h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a1a1a;
}
.tc-contato-info p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--cinza-texto);
  margin-bottom: 28px;
}
.tc-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  color: #333;
}
.tc-contact-item i {
  color: var(--vermelho);
  font-size: 18px;
  width: 22px;
  flex-shrink: 0;
}
.tc-contact-item a { color: #333; transition: color 0.3s; }
.tc-contact-item a:hover { color: var(--vermelho); }

/* FORM CONTATO */
.tc-form h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
}
.tc-form-group { margin-bottom: 18px; }
.tc-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tc-form-group input,
.tc-form-group textarea,
.tc-form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  font-family: 'Montserrat', sans-serif;
  color: #333;
  background: #fafafa;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.tc-form-group input:focus,
.tc-form-group textarea:focus {
  border-color: var(--vermelho);
  box-shadow: 0 0 0 3px rgba(237,50,55,0.1);
  background: #fff;
}
.tc-form-group textarea { resize: vertical; min-height: 130px; }
.tc-form-group input::placeholder,
.tc-form-group textarea::placeholder { color: #aaa; }

/* MAPA */
.tc-map-section { padding: 0 20px 80px; max-width: 1140px; margin: 0 auto; }
.tc-map-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  text-align: center;
}
.tc-map-section iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* ========== FOOTER ========== */
#site-footer {
  background: #111;
  color: #fff;
  padding: 60px 20px 24px;
}
.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.footer-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 50px;
  margin-bottom: 40px;
}
.footer-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.footer-info-item .fi-icon {
  color: var(--vermelho);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-info-item a,
.footer-info-item span {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}
.footer-info-item a:hover { color: var(--vermelho); }
.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 36px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 36px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 17px;
  transition: background 0.3s, border-color 0.3s;
}
.footer-social a:hover {
  background: var(--vermelho);
  border-color: var(--vermelho);
}
.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: #fff; }

/* BACK TO TOP */
.back-to-top {
  display: none;
  position: fixed;
  bottom: 100px;
  right: 4%;
  z-index: 8000;
  width: 42px;
  height: 42px;
  background: var(--vermelho);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.2s;
}
.back-to-top.visible { display: flex; }
.back-to-top:hover {
  background: var(--vermelho-escuro);
  transform: translateY(-3px);
}

/* ========== WHATSAPP BTN ========== */
.tc-whatsapp-fab {
  position: fixed;
  bottom: 30px;
  right: 4%;
  z-index: 8999;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tc-whatsapp-fab__label {
  background: #fff;
  color: #555;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 30px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
}
.tc-whatsapp-fab__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1EBEA5, #019C84);
  color: #fff;
  font-size: 26px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform 0.2s;
  text-decoration: none;
}
.tc-whatsapp-fab__btn:hover { transform: scale(1.1); }

/* ========== BREADCRUMB ========== */
.tc-breadcrumb {
  padding: 12px 20px;
  max-width: 1140px;
  margin: 0 auto;
  font-size: 13px;
  color: #888;
}
.tc-breadcrumb a { color: var(--vermelho); }
.tc-breadcrumb a:hover { text-decoration: underline; }

/* ========== BLOG ========== */
.tc-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.tc-blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.tc-blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.14);
}
.tc-blog-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.tc-blog-card__body { padding: 22px; }
.tc-blog-card__meta {
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
}
.tc-blog-card__title {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  line-height: 1.4;
}
.tc-blog-card__excerpt {
  font-size: 14px;
  color: var(--cinza-texto);
  line-height: 1.6;
  margin-bottom: 16px;
}
.tc-blog-card__link {
  color: var(--vermelho);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tc-blog-card__link:hover { text-decoration: underline; }

/* ========== RESPONSIVO ========== */
@media (max-width: 1024px) {
  .tc-products-grid { grid-template-columns: repeat(2, 1fr); }
  .tc-products-page-grid { grid-template-columns: repeat(2, 1fr); }
  .tc-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .tc-mvv-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 768px) {
  #primary-menu { display: none; }
  .hamburger { display: flex; }
  .header-search-btn { display: none; }
  .tc-hero { height: 280px; }
  .tc-hero h1 { font-size: 26px; }
  .tc-hero--home, .tc-slider .tc-slide { height: 350px; }
  .tc-section { padding: 50px 20px; }
  .tc-products-grid { grid-template-columns: 1fr; }
  .tc-products-page-grid { grid-template-columns: 1fr; }
  .tc-blog-grid { grid-template-columns: 1fr; }
  .tc-contato-wrap { grid-template-columns: 1fr; }
  .tc-product-inner { flex-direction: column; }
  .tc-product-inner__img { flex: none; width: 100%; }
  .tc-antes-depois { grid-template-columns: 1fr; }
  .footer-info-grid { grid-template-columns: 1fr; }
  .tc-cta h2 { font-size: 24px; }
  .tc-btn { padding: 14px 36px; font-size: 14px; }
}
@media (max-width: 480px) {
  .header-inner { padding: 0 16px; }
  .tc-hero h1 { font-size: 20px; }
  .tc-whatsapp-fab__label { display: none; }
}
