/* Adantex - estilos complementares ao Tailwind (CDN).
   Cores centralizadas aqui: ajuste --brand para casar 100% com a paleta do tema antigo. */
:root {
  --brand: #1d4f91;
  --brand-dark: #163d70;
  --ink: #333333;
  --muted: #666666;
  --alt-bg: #f5f5f5;
  --topbar-bg: #1d4f91;
  --footer-bg: #1f1f1f;
  --footer-bottom: #141414;
  --wrap: 1200px;
}

html { scroll-behavior: smooth; }
body { font-size: 15px; line-height: 1.7; color: var(--ink); }
img { max-width: 100%; height: auto; }
a { transition: color .2s, background-color .2s, opacity .2s; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.ic { width: 1.05em; height: 1.05em; fill: currentColor; display: inline-block; vertical-align: -0.15em; flex-shrink: 0; }
.ic-sm { width: .9em; height: .9em; }

.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

/* Barra superior */
.topbar { background: var(--topbar-bg); color: #fff; }
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: .4em; }
.topbar a:hover { color: #fff; }

/* Cabeçalho */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.logo img { max-height: 70px; width: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav a { display: block; padding: 10px 14px; font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); }
.main-nav a:hover, .main-nav a.active { color: var(--brand); }
.main-nav .has-sub { position: relative; display: flex; align-items: center; }
.main-nav .sub-toggle { display: none; background: none; border: 0; padding: 8px; color: inherit; cursor: pointer; }
.main-nav .sub { position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s; z-index: 60; }
.main-nav .sub a { text-transform: none; font-weight: 400; padding: 10px 18px; border-bottom: 1px solid #eee; }
.main-nav .has-sub:hover > .sub, .main-nav .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.menu-toggle { display: none; width: 42px; height: 42px; background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; padding: 8px; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1023px) {
  .menu-toggle { display: flex; }
  .site-header .wrap { flex-wrap: wrap; }
  .main-nav { display: none; width: 100%; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 12px; }
  .main-nav > ul > li { border-top: 1px solid #eee; }
  .main-nav .has-sub { flex-wrap: wrap; justify-content: space-between; }
  .main-nav .has-sub > a { flex: 1; }
  .main-nav .sub-toggle { display: block; }
  .main-nav .sub { position: static; width: 100%; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; background: #fafafa; }
  .main-nav .has-sub.open > .sub { display: block; }
  .main-nav .has-sub:hover > .sub { display: none; }
  .main-nav .has-sub.open:hover > .sub { display: block; }
}

/* Slider */
.hero { position: relative; background: #111; }
.hero .swiper { height: calc(100vh - 120px); height: calc(100svh - 120px); min-height: 460px; max-height: 980px; }
.hero-slide { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; background-size: cover; background-position: center; color: #fff; }
.hero-slide::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.hero-content { position: relative; z-index: 2; padding: 0 16px; }
.hero-title { font-size: clamp(30px, 6vw, 64px); font-weight: 800; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; }
.hero-sub { font-size: clamp(16px, 2.4vw, 26px); margin-top: 10px; font-weight: 600; }
.hero .btn { margin-top: 26px; }
.hero .swiper-button-next, .hero .swiper-button-prev { color: #fff; }
.hero .swiper-pagination-bullet { background: #fff; opacity: .6; }
.hero .swiper-pagination-bullet-active { opacity: 1; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; background: var(--brand); color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; padding: 13px 28px; border-radius: 3px; border: 0; cursor: pointer; }
.btn:hover { background: var(--brand-dark); color: #fff; }
.btn-sm { padding: 9px 20px; font-size: 13px; }
.btn-wa { background: #25d366; }
.btn-wa:hover { background: #1da851; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Seções */
.sec { padding: 70px 0; }
.sec-alt { background: var(--alt-bg); }
.sec-title { font-size: clamp(24px, 3vw, 32px); font-weight: 700; text-align: center; margin-bottom: 42px; color: var(--ink); }
.sec-title::after { content: ""; display: block; width: 60px; height: 3px; background: var(--brand); margin: 14px auto 0; }
.page-band { background: var(--alt-bg); padding: 44px 0; border-bottom: 1px solid #e8e8e8; }
.band-title { font-size: clamp(24px, 3.4vw, 36px); font-weight: 700; text-transform: uppercase; color: var(--ink); }
.prose-ad p { margin-bottom: 1.1em; }
.prose-ad h2, .prose-ad h3 { font-weight: 700; margin: 1.6em 0 .6em; font-size: 20px; color: var(--ink); }
.prose-ad ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1.1em; }
.prose-ad li { margin-bottom: .4em; }
.prose-ad a { color: var(--brand); text-decoration: underline; }
.prose-ad a.btn { color: #fff; text-decoration: none; margin-top: .4em; }
.prose-ad ul.spec-list { list-style: none; padding-left: 0; }

/* Caixas de destaque */
.features { background: #fff; }
.feature { text-align: center; padding: 28px 18px; }
.feature .ic { width: 46px; height: 46px; color: var(--brand); margin-bottom: 12px; }
.feature h3 { font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.iconbox { display: flex; gap: 16px; align-items: flex-start; }
.iconbox-ic { flex-shrink: 0; width: 58px; height: 58px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; }
.iconbox-ic .ic { width: 26px; height: 26px; }
.iconbox-title { font-weight: 700; font-size: 17px; margin-bottom: 4px; }

/* Cards */
.prod-card { text-align: center; }
.prod-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .35s; }
.prod-card a:hover img { transform: scale(1.04); }
.prod-title { font-size: 17px; font-weight: 700; margin: 16px 0 12px; }
.prod-title a:hover { color: var(--brand); }
.prod-mini img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.post-card { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.post-thumb { display: block; overflow: hidden; }
.post-thumb img, .img-placeholder { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .35s; }
.img-placeholder { background: #e5e5e5 linear-gradient(135deg, #eee 25%, #e2e2e2 25%, #e2e2e2 50%, #eee 50%, #eee 75%, #e2e2e2 75%) 0 0 / 28px 28px; }
.post-thumb:hover img { transform: scale(1.04); }
.post-title { font-size: 17px; font-weight: 700; padding: 16px 18px 20px; }
.post-title a:hover { color: var(--brand); }

/* Contadores */
.counter-num { font-size: clamp(34px, 4.5vw, 52px); font-weight: 800; color: var(--brand); line-height: 1.1; }
.counter-label { font-weight: 600; margin-top: 6px; }

/* Produto */
.spec-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.spec-list li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.spec-list li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }

/* Contato */
.form-field { display: block; margin-bottom: 16px; }
.form-field span { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.form-field input, .form-field textarea { width: 100%; border: 1px solid #d5d5d5; border-radius: 3px; padding: 11px 14px; font: inherit; background: #fff; }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 3px; display: none; }
.form-status.ok { display: block; background: #e7f6ec; color: #1d6b35; border: 1px solid #b9e2c6; }
.form-status.err { display: block; background: #fdecec; color: #8a1f1f; border: 1px solid #f3c1c1; }
.recaptcha-note { font-size: 12px; color: var(--muted); margin-top: 10px; }
.grecaptcha-badge { visibility: hidden; }

/* Rodapé */
.site-footer { background: var(--footer-bg); color: #bbb; }
.site-footer a { color: #ddd; }
.site-footer a:hover { color: #fff; }
.footer-heading { color: #fff; font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; text-align: center; margin-bottom: 40px; }
.footer-title { color: #fff; font-weight: 700; font-size: 17px; text-transform: uppercase; margin-bottom: 16px; }
.footer-list li { display: flex; align-items: center; gap: .6em; margin-bottom: 10px; }
.footer-list a { display: inline-flex; align-items: center; gap: .6em; }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }
.footer-bottom { background: var(--footer-bottom); color: #999; }

.to-top { position: fixed; right: 24px; bottom: 92px; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .25s; z-index: 40; }
.to-top.show { opacity: .9; visibility: visible; }
.to-top .ic { width: 26px; height: 26px; }

.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; background: rgba(20,20,20,.96); color: #eee; z-index: 70; box-shadow: 0 -4px 18px rgba(0,0,0,.25); }
.cookie-bar a { color: #fff; text-decoration: underline; }
.cookie-bar[hidden] { display: none; }

/* Botão flutuante de WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.3); z-index: 65; }
.wa-float:hover { background: #1da851; color: #fff; transform: scale(1.06); }
.wa-float .ic { width: 34px; height: 34px; }
body.cookie-open .wa-float, body.cookie-open .to-top { margin-bottom: 96px; }
@media (max-width: 767px) { body.cookie-open .wa-float, body.cookie-open .to-top { margin-bottom: 170px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
