/* ======= RESET & BASE ======= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:    #E8650A;
  --orange-dk: #C04F00;
  --yellow:    #F5C800;
  --blue:      #1340A8;
  --blue-lt:   #1A52D4;
  --blue-dk:   #0D2A6E;
  --white:     #FFFFFF;
  --off-white: #F8F4EE;
  --gray:      #6B7280;
  --dark:      #141820;
  --card-bg:   #FFFFFF;
  --shadow:    0 4px 24px rgba(0,0,0,.12);
  --radius:    12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--off-white);
  color: var(--dark);
  overflow-x: hidden;
}

/* ======= HEADER ======= */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--blue-dk);
  border-bottom: 3px solid var(--yellow);
  transition: box-shadow .3s;
}
#header.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,.35); }

.header-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex; align-items: center; gap: 24px;
}

.logo-wrap { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon {
  width: 44px; height: 44px;
  background: var(--yellow);
  color: var(--blue-dk);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  display: grid; place-items: center;
  border-radius: 8px;
  font-weight: 900;
}
.logo-icon.sm { width: 36px; height: 36px; font-size: 22px; }
.logo-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px; color: var(--yellow); letter-spacing: 1px;
  display: block;
}
.logo-name.sm { font-size: 20px; }
.logo-sub { font-size: 11px; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: 1px; }

#main-nav { display: flex; gap: 4px; margin-left: auto; }
.nav-link {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-weight: 600; font-size: 14px;
  padding: 8px 14px; border-radius: 6px;
  transition: all .2s;
  text-transform: uppercase; letter-spacing: .5px;
}
.nav-link:hover, .nav-link.active {
  color: var(--yellow);
  background: rgba(245,200,0,.12);
}

.btn-admin {
  background: var(--orange);
  color: #fff; text-decoration: none;
  padding: 8px 16px; border-radius: 6px;
  font-weight: 700; font-size: 13px;
  white-space: nowrap;
  transition: background .2s;
}
.btn-admin:hover { background: var(--orange-dk); }

.hamburger {
  display: none; background: none; border: none;
  color: var(--yellow); font-size: 26px; cursor: pointer;
  margin-left: auto;
}

/* ======= HERO ======= */
.hero {
  min-height: 100vh;
  background: url('FRENTE_DA_LOJA.jpg') center/cover no-repeat;
  position: relative;
  display: flex; align-items: center;
  padding: 100px 24px 60px;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(13,42,110,.92) 0%, rgba(13,42,110,.7) 55%, rgba(232,101,10,.55) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 680px; margin: 0 auto 0 8%;
}
.hero-eyebrow {
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px;
  color: var(--yellow); margin-bottom: 16px;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(60px, 9vw, 110px);
  line-height: .95; color: #fff;
  margin-bottom: 24px;
}
.hero-title span { color: var(--yellow); }
.hero-desc {
  font-size: 17px; color: rgba(255,255,255,.85);
  line-height: 1.6; margin-bottom: 36px; max-width: 520px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-phones { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-phones span {
  color: rgba(255,255,255,.75); font-weight: 600; font-size: 15px;
}

.hero-badge {
  position: absolute; right: 8%; bottom: 12%;
  width: 120px; height: 120px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
  z-index: 2;
}
.hero-badge span { font-family: 'Bebas Neue'; font-size: 40px; color: var(--blue-dk); line-height: 1; }
.hero-badge small { font-size: 11px; font-weight: 700; color: var(--blue-dk); text-transform: uppercase; line-height: 1.3; }

/* ======= BUTTONS ======= */
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: #fff; text-decoration: none;
  padding: 14px 28px; border-radius: 8px;
  font-weight: 700; font-size: 15px;
  border: none; cursor: pointer;
  transition: transform .15s, background .2s;
}
.btn-primary:hover { background: var(--orange-dk); transform: translateY(-2px); }
.btn-primary.full { width: 100%; text-align: center; }

.btn-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,.6);
  color: #fff; text-decoration: none;
  padding: 13px 28px; border-radius: 8px;
  font-weight: 700; font-size: 15px;
  transition: all .2s;
}
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }

/* ======= HIGHLIGHTS ======= */
.highlights {
  background: var(--blue-dk);
  padding: 48px 24px;
}
.highlights .container {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 24px;
}
.highlight-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(245,200,0,.2);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform .2s, border-color .2s;
}
.highlight-card:hover { transform: translateY(-4px); border-color: var(--yellow); }
.hi-icon { font-size: 38px; margin-bottom: 12px; }
.highlight-card h3 { color: var(--yellow); font-family: 'Barlow Condensed'; font-size: 20px; margin-bottom: 8px; }
.highlight-card p { color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.5; }

/* ======= SECTIONS ======= */
.section { padding: 96px 24px; }
.section-alt { background: var(--white); }
.container { max-width: 1280px; margin: 0 auto; }

.section-header {
  text-align: center; margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  background: rgba(232,101,10,.1);
  color: var(--orange);
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  padding: 6px 16px; border-radius: 20px;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(38px, 5vw, 56px);
  color: var(--dark); line-height: 1;
  margin-bottom: 12px;
}
.section-title span { color: var(--orange); }
.section-desc { color: var(--gray); font-size: 16px; max-width: 520px; margin: 0 auto; }

/* ======= FILTER ======= */
.filter-bar {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 40px;
}
.filter-btn {
  background: var(--white); border: 2px solid #E5E7EB;
  color: var(--dark); padding: 9px 20px;
  border-radius: 40px; font-weight: 600; font-size: 14px;
  cursor: pointer; transition: all .2s;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--blue); border-color: var(--blue); color: #fff;
}

/* ======= PRODUCTS GRID ======= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  border: 1px solid #E5E7EB;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,.15); }

.product-body { padding: 20px; }
.product-cat {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--orange);
  margin-bottom: 6px;
}
.product-name { font-family: 'Barlow Condensed'; font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.product-desc { font-size: 13px; color: var(--gray); line-height: 1.5; margin-bottom: 14px; }
.product-price {
  font-size: 22px; font-weight: 900; color: var(--blue);
  font-family: 'Barlow Condensed';
}
.empty-state {
  grid-column: 1/-1; text-align: center;
  padding: 60px 20px; color: var(--gray);
}
.empty-state p { font-size: 18px; }

/* ======= NEWS GRID ======= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.news-card {
  background: var(--card-bg); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.news-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,.15); }
.news-img-wrap { width: 100%; height: 200px; overflow: hidden; background: var(--blue-dk); display: flex; align-items: center; justify-content: center; }
.news-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.news-img-placeholder { font-size: 60px; }
.news-body { padding: 22px; }
.news-date { font-size: 12px; color: var(--orange); font-weight: 700; margin-bottom: 8px; }
.news-title { font-family: 'Barlow Condensed'; font-size: 22px; font-weight: 700; margin-bottom: 8px; line-height: 1.2; }
.news-excerpt { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* ======= SOBRE ======= */
.sobre-section { background: var(--off-white); }
.sobre-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.sobre-img-wrap { position: relative; }
.sobre-img {
  width: 100%; border-radius: 16px;
  box-shadow: 0 16px 56px rgba(0,0,0,.2);
  display: block;
}
.sobre-badge-wrap {
  position: absolute; bottom: -24px; right: -24px;
}
.sobre-badge {
  background: var(--yellow);
  border-radius: 50%; width: 110px; height: 110px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.sb-num { font-family: 'Bebas Neue'; font-size: 36px; color: var(--blue-dk); line-height: 1; }
.sb-txt { font-size: 10px; font-weight: 700; color: var(--blue-dk); text-transform: uppercase; line-height: 1.3; }

.sobre-text { padding: 12px 0; }
.sobre-text p { color: var(--gray); font-size: 16px; line-height: 1.7; margin-bottom: 18px; }
.sobre-list { list-style: none; margin-bottom: 28px; }
.sobre-list li { padding: 8px 0; font-size: 15px; font-weight: 600; color: var(--dark); border-bottom: 1px solid #E5E7EB; }

/* ======= CONTATO ======= */
.contato-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px;
}
.contato-info { display: flex; flex-direction: column; gap: 20px; }
.ci-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--off-white); padding: 20px; border-radius: var(--radius);
}
.ci-icon { font-size: 28px; flex-shrink: 0; }
.ci-card h4 { font-weight: 700; margin-bottom: 4px; font-size: 16px; }
.ci-card p { color: var(--gray); font-size: 14px; }

.contato-social { display: flex; gap: 12px; flex-wrap: wrap; }
.cs-btn {
  flex: 1; min-width: 100px;
  text-align: center; padding: 12px 16px;
  border-radius: 8px; font-weight: 700; font-size: 14px;
  text-decoration: none; transition: filter .2s;
}
.cs-btn:hover { filter: brightness(1.1); }
.cs-wa { background: #25D366; color: #fff; }

.contato-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-input {
  background: #F9FAFB; border: 2px solid #E5E7EB;
  border-radius: 8px; padding: 13px 16px;
  font-family: 'Barlow', sans-serif; font-size: 15px; color: var(--dark);
  transition: border-color .2s;
  width: 100%; resize: vertical;
}
.form-input:focus { outline: none; border-color: var(--blue); }

/* ======= FOOTER ======= */
.footer {
  background: var(--dark); color: rgba(255,255,255,.65);
  padding: 40px 24px;
}
.footer-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 20px; text-align: center;
}
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: rgba(255,255,255,.6); text-decoration: none; font-size: 14px; font-weight: 600; transition: color .2s; }
.footer-links a:hover { color: var(--yellow); }
.footer-copy { font-size: 13px; }

/* ======= FLOATING BUTTONS ======= */
.float-buttons {
  position: fixed; bottom: 28px; right: 24px;
  display: flex; flex-direction: column;
  gap: 12px; z-index: 900;
}
.fab {
  width: 52px; height: 52px;
  border-radius: 50%; display: grid; place-items: center;
  text-decoration: none; color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: transform .2s, box-shadow .2s;
}
.fab:hover { transform: scale(1.12); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.fab svg { width: 24px; height: 24px; }
.fab-wa { background: #25D366; }

/* ======= MODAL ======= */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.6); z-index: 2000;
  align-items: center; justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #fff; border-radius: 16px;
  max-width: 680px; width: 100%; max-height: 90vh;
  overflow-y: auto; position: relative;
  padding: 40px;
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: #F3F4F6; border: none; border-radius: 50%;
  width: 34px; height: 34px; font-size: 16px;
  cursor: pointer; display: grid; place-items: center;
}
#modal-content img { width: 100%; border-radius: 8px; margin-bottom: 20px; }
#modal-content h2 { font-family: 'Bebas Neue'; font-size: 34px; margin-bottom: 8px; }
#modal-content .news-date { color: var(--orange); font-weight: 700; font-size: 13px; margin-bottom: 16px; }
#modal-content p { color: var(--gray); line-height: 1.7; font-size: 15px; }

/* ======= RESPONSIVE ======= */
@media (max-width: 900px) {
  #main-nav { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--blue-dk); padding: 16px; gap: 0; }
  #main-nav.open { display: flex; }
  .nav-link { padding: 12px 16px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .hamburger { display: block; }
  .btn-admin { display: none; }
  .sobre-inner { grid-template-columns: 1fr; }
  .sobre-badge-wrap { bottom: -10px; right: 10px; }
  .contato-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-content { margin-left: 0; }
  .hero-badge { right: 5%; bottom: 5%; width: 90px; height: 90px; }
  .hero-badge span { font-size: 30px; }
}



/* ======= TAGS DE PRODUTO ======= */
.prod-tag { position:absolute; top:10px; left:10px; color:#fff; font-size:11px; font-weight:700; padding:4px 10px; border-radius:20px; z-index:2; box-shadow:0 2px 8px rgba(0,0,0,.2); }
.prod-tag-modal { display:inline-block; color:#fff; font-size:12px; font-weight:700; padding:4px 12px; border-radius:20px; margin-bottom:8px; }

.prod-more { display:inline-block; margin-top:10px; font-size:12px; font-weight:700; color:#1340A8; }

/* ======= NOTÍCIA RICH CONTENT ======= */
.news-rich-content { font-size:15px; line-height:1.8; color:#444; }
.news-rich-content h1,.news-rich-content h2,.news-rich-content h3 { font-family:'Bebas Neue',sans-serif; color:#0D2A6E; margin:16px 0 8px; }
.news-rich-content h1 { font-size:32px; }
.news-rich-content h2 { font-size:26px; }
.news-rich-content h3 { font-size:20px; }
.news-rich-content p  { margin-bottom:12px; }
.news-rich-content ul,.news-rich-content ol { padding-left:20px; margin-bottom:12px; }
.news-rich-content li { margin-bottom:4px; }
.news-rich-content strong { font-weight:700; color:#141820; }
.news-rich-content em { font-style:italic; }
.news-rich-content a  { color:#1340A8; }
.news-rich-content img { max-width:100%; border-radius:8px; margin:10px 0; }
.news-rich-content blockquote { border-left:4px solid #E8650A; padding:10px 16px; background:#FFF7ED; border-radius:0 8px 8px 0; margin:12px 0; font-style:italic; }

/* ======= MAPS ======= */
.maps-link { display:none; font-size:13px; font-weight:700; color:#1340A8; text-decoration:none; margin-top:6px; }
.maps-link:hover { text-decoration:underline; }
.maps-embed-wrap { margin-top:14px; border-radius:12px; overflow:hidden; box-shadow:0 4px 16px rgba(0,0,0,.1); }

/* ======= MODAL PRODUTO ======= */
#product-modal .modal-box { max-width:600px; }

/* ======= BARRA DE PESQUISA – HEADER ======= */
.header-search {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(245,200,0,.4);
  border-radius: 8px; overflow: hidden;
  margin-left: auto;
}
.header-search-input {
  background: transparent; border: none; outline: none;
  color: #fff; padding: 7px 14px; font-size: 13px;
  font-family: 'Barlow', sans-serif; width: 220px;
}
.header-search-input::placeholder { color: rgba(255,255,255,.5); }
.header-search-btn {
  background: var(--yellow); color: var(--blue-dk);
  border: none; padding: 7px 14px; font-size: 12px;
  font-weight: 700; cursor: pointer; font-family: 'Barlow', sans-serif;
  transition: background .2s;
}
.header-search-btn:hover { background: #e0b400; }

/* ======= BARRA DE PESQUISA – PRODUTOS ======= */
.product-search-bar {
  margin-bottom: 20px;
  display: flex; justify-content: center;
}
.product-search-input {
  width: 100%; max-width: 520px;
  background: #fff; border: 2px solid #E5E7EB;
  border-radius: 40px; padding: 13px 22px;
  font-size: 15px; font-family: 'Barlow', sans-serif;
  color: var(--dark); outline: none;
  transition: border-color .2s, box-shadow .2s;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.product-search-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(19,64,168,.12);
}
.product-search-input::placeholder { color: #9CA3AF; }

/* ======= FOOTER ADMIN LINK ======= */
.footer-admin-link {
  color: rgba(255,255,255,.35) !important;
  font-size: 12px !important;
  border-left: 1px solid rgba(255,255,255,.15);
  padding-left: 14px !important;
  margin-left: 4px;
  transition: color .2s !important;
}
.footer-admin-link:hover { color: var(--yellow) !important; }

/* ======= RESPONSIVE HEADER SEARCH ======= */
@media (max-width: 900px) {
  .header-search { display: none; }
}

/* ======= LOGO IMAGEM HEADER ======= */
.logo-wrap { display:flex; align-items:center; text-decoration:none; flex-shrink:0; }
.logo-img { height: 48px; width: auto; object-fit: contain; display: block; }

/* ======= LOGO IMAGEM FOOTER ======= */
.footer-logo-img { height: 44px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .85; }



/* ======= PARCEIROS ======= */
.parceiros-section {
  background: var(--off-white);
  padding: 40px 24px;
  border-top: 1px solid #E5E7EB;
}
.parceiros-title {
  text-align: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px; color: var(--dark);
  margin-bottom: 24px; letter-spacing: 1px;
}
.parceiros-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.parceiro-item {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 12px 20px;
  display: flex; align-items: center; justify-content: center;
  min-width: 120px; max-width: 180px;
  transition: box-shadow .2s, transform .2s;
}
.parceiro-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); transform: translateY(-2px); }
.parceiro-item img { max-height: 60px; max-width: 140px; object-fit: contain; filter: grayscale(30%); transition: filter .2s; }
.parceiro-item:hover img { filter: grayscale(0%); }
.parceiro-item.sem-logo { font-weight: 700; font-size: 14px; color: var(--dark); }

/* ======= PRODUTO — IMAGEM CORRIGIDA ======= */
.product-img {
  position: relative;
  width: 100%;
  height: 210px;
  background: #F8F9FB;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid #E5E7EB;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  display: block;
  background: #F8F9FB;
  transition: transform .3s;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.prod-emoji { font-size: 60px; line-height: 1; }
.prod-tag {
  position: absolute; top: 10px; left: 10px;
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 20px;
  z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
