/*
Theme Name: Toner Black Institucional
Theme URI: https://www.tonerblack.com.br
Author: Toner Black
Description: Tema institucional focado em atendimento rápido por WhatsApp e telefone.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: tonerblack
*/

:root {
  --background: #ffffff;
  --foreground: #0c111d;
  --blue: #1257d6;
  --blue-dark: #0c3fa5;
  --blue-soft: #eaf1ff;
  --green: #18a956;
  --muted: #667085;
  --line: #e6eaf0;
  --ink-soft: #202939;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --font-sans: var(--font-geist-sans);
  --font-mono: var(--font-geist-mono);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-geist-sans, Inter), Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 36px;
  padding: 0 clamp(22px, 5vw, 76px);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(12,17,29,.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  width: fit-content;
  font-size: 25px;
  letter-spacing: -1.5px;
}
.brand span { font-weight: 450; }
.brand strong { font-weight: 800; }
.brand i {
  width: 8px;
  height: 8px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--blue);
}
.custom-brand .custom-logo-link { display: inline-flex; align-items: center; }
.custom-brand .custom-logo { display: block; width: auto; max-width: 220px; max-height: 54px; }

nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 600; color: #3b4658; }
nav a { transition: color .2s ease; }
nav a:hover { color: var(--blue); }

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border-radius: 999px;
  color: white;
  background: var(--blue);
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}
.header-cta:hover { transform: translateY(-2px); background: var(--blue-dark); }

.hero {
  position: relative;
  min-height: 710px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: white;
  background: #10141c;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background-image: var(--hero-image, url("assets/images/estoque-detalhe.webp"));
  background-position: center 52%;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.01);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,10,16,.96) 0%, rgba(7,10,16,.84) 43%, rgba(7,10,16,.32) 72%, rgba(7,10,16,.12) 100%),
    linear-gradient(0deg, rgba(7,10,16,.56), transparent 48%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 44px));
  margin: 0 auto;
  padding: 82px 0 44px;
}
.eyebrow { display: flex; gap: 12px; margin-bottom: 24px; }
.eyebrow span {
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(8px);
}
.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(52px, 6.5vw, 96px);
  line-height: .93;
  letter-spacing: -.065em;
  font-weight: 770;
}
.hero h1 em { color: #6da0ff; font-style: normal; }
.hero-content > p {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.79);
  font-size: 18px;
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 23px;
  border-radius: 12px;
  font-weight: 750;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button svg:last-child { margin-left: 6px; }
.button-whatsapp { background: var(--green); color: white; }
.button-whatsapp:hover { background: #128d47; }
.button-call { border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.09); backdrop-filter: blur(10px); }
.button-call:hover { background: rgba(255,255,255,.16); }

.quick-proof {
  display: flex;
  gap: 0;
  margin-top: 58px;
}
.quick-proof div {
  min-width: 180px;
  padding: 0 25px;
  border-left: 1px solid rgba(255,255,255,.18);
}
.quick-proof div:first-child { padding-left: 0; border-left: 0; }
.quick-proof strong, .quick-proof span { display: block; }
.quick-proof strong { margin-bottom: 4px; font-size: 15px; }
.quick-proof span { color: rgba(255,255,255,.55); font-size: 12px; }

.trust-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 42px;
  padding: 23px 5vw;
  border-bottom: 1px solid var(--line);
  color: #344054;
  font-size: 13px;
  font-weight: 650;
}
.trust-bar span { display: flex; align-items: center; gap: 8px; }
.trust-bar svg { color: var(--blue); }

.section {
  width: min(1280px, calc(100% - 44px));
  margin: 0 auto;
  padding: 112px 0;
}
.section-heading {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 46px;
}
.section-kicker {
  display: inline-block;
  margin-bottom: 15px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.section-kicker.light { color: #8db2ff; }
.section-heading h2, .company-copy h2, .speed-copy h2, .final-cta h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 60px);
  line-height: 1.03;
  letter-spacing: -.052em;
}
.section-heading p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product-card {
  min-height: 395px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f7f9fc;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 20px 60px rgba(15,34,70,.1); }
.product-toner { background: #0e1625; color: white; }
.product-ink { background: var(--blue-soft); }
.product-company { background: #f3f4f6; }
.card-number { align-self: flex-end; color: #98a2b3; font-size: 12px; font-weight: 750; }
.product-toner .card-number { color: rgba(255,255,255,.45); }
.tag { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.product-toner .tag { color: #73a4ff; }
.product-card h3 { max-width: 320px; margin: 14px 0 10px; font-size: 29px; line-height: 1.08; letter-spacing: -.035em; }
.product-card p { max-width: 340px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.product-toner p { color: rgba(255,255,255,.62); }
.product-card > a { display: flex; align-items: center; justify-content: space-between; padding-top: 19px; border-top: 1px solid rgba(102,112,133,.22); font-size: 14px; font-weight: 730; }
.product-toner > a { border-color: rgba(255,255,255,.14); }

.speed-banner {
  width: min(1380px, calc(100% - 28px));
  min-height: 470px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 70px;
  margin: 0 auto;
  padding: 70px clamp(28px, 6vw, 95px);
  border-radius: 28px;
  color: white;
  background:
    linear-gradient(90deg, rgba(7,22,55,.97), rgba(12,63,165,.86)),
    url("assets/images/estoque-detalhe.webp") center 52% / cover;
}
.speed-copy h2 { font-size: clamp(55px, 6vw, 90px); }
.speed-copy p { max-width: 600px; margin: 22px 0 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.7; }
.speed-contact { padding: 34px; border: 1px solid rgba(255,255,255,.19); border-radius: 22px; background: rgba(3,13,35,.34); backdrop-filter: blur(16px); }
.speed-contact > span { display: block; margin-bottom: 8px; color: #a9c3f6; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.speed-contact > a { display: block; margin-bottom: 28px; font-size: clamp(30px, 3vw, 43px); font-weight: 800; letter-spacing: -.04em; }
.speed-contact > div { display: flex; gap: 10px; }
.mini-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 1; padding: 14px 17px; border-radius: 10px; background: white; color: #0d3b91; font-weight: 780; }
.mini-button.outline { color: white; background: transparent; border: 1px solid rgba(255,255,255,.28); }

.company { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(54px, 8vw, 120px); }
.company-gallery { position: relative; height: 650px; }
.company-gallery img { position: absolute; display: block; object-fit: cover; border-radius: 20px; }
.gallery-main { inset: 0 26% 8% 0; width: 74%; height: 92%; }
.gallery-small { right: 0; bottom: 0; width: 43%; height: 55%; border: 8px solid white; }
.gallery-badge { position: absolute; top: 7%; right: 2%; width: 160px; height: 160px; display: flex; flex-direction: column; justify-content: center; padding: 22px; border-radius: 50%; color: white; background: var(--blue); box-shadow: 0 20px 45px rgba(18,87,214,.3); }
.gallery-badge strong { font-size: 23px; letter-spacing: -.04em; }
.gallery-badge span { margin-top: 4px; font-size: 12px; line-height: 1.3; opacity: .75; }
.company-copy p { margin: 25px 0 30px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.company-copy ul { display: grid; gap: 14px; padding: 0; margin: 0 0 34px; list-style: none; }
.company-copy li { display: flex; align-items: center; gap: 11px; font-size: 14px; font-weight: 650; color: #344054; }
.company-copy li svg { flex: 0 0 auto; color: var(--blue); }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--blue); font-size: 15px; font-weight: 780; }
.text-link:hover svg { transform: translateX(4px); }
.text-link svg { transition: transform .2s ease; }

.final-cta {
  width: min(1380px, calc(100% - 28px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  margin-bottom: 90px;
  padding: 78px clamp(28px, 6vw, 92px);
  border-radius: 28px;
  color: white;
  background:
    linear-gradient(90deg, rgba(7,22,55,.97), rgba(12,63,165,.86)),
    url("assets/images/estoque-detalhe.webp") center 52% / cover;
}
.contact-panel { display: grid; gap: 10px; }
.contact-panel > a { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 18px; padding: 19px 20px; border: 1px solid rgba(255,255,255,.13); border-radius: 13px; background: rgba(255,255,255,.045); }
.contact-panel > a:hover { background: rgba(255,255,255,.08); }
.contact-panel span { display: flex; align-items: center; gap: 8px; color: #91b6ff; font-size: 13px; font-weight: 720; }
.contact-panel strong { font-size: 17px; }

footer {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 38px;
  padding: 52px max(5vw, calc((100vw - 1280px) / 2));
  color: #9ca5b4;
  background: #080c14;
  font-size: 12px;
  line-height: 1.75;
}
footer strong { color: white; font-size: 12px; }
footer p { margin: 8px 0 0; }
footer a:hover { color: white; }
.brand-footer { color: white; font-size: 24px; }
.footer-brand > p { margin-top: 6px; color: #6f798a; }

.floating-whatsapp {
  position: fixed;
  z-index: 60;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 17px;
  border-radius: 999px;
  color: white;
  background: var(--green);
  box-shadow: 0 14px 35px rgba(0,0,0,.22);
  font-size: 13px;
  font-weight: 780;
  transition: transform .2s ease;
}
.floating-whatsapp:hover { transform: translateY(-3px); }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { min-height: 760px; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,10,16,.93), rgba(7,10,16,.55)); }
  .section-heading, .speed-banner, .company, .final-cta { grid-template-columns: 1fr; }
  .section-heading, .speed-banner, .company, .final-cta { gap: 44px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card:last-child { grid-column: span 2; min-height: 310px; }
  .company-gallery { height: 600px; }
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .site-header { height: 70px; padding: 0 18px; }
  .brand { font-size: 22px; }
  .header-cta { padding: 11px 14px; font-size: 12px; }
  .header-cta svg { display: none; }
  .hero { min-height: 760px; align-items: end; }
  .hero-photo { background-position: 58% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(6,9,15,.98) 8%, rgba(6,9,15,.82) 60%, rgba(6,9,15,.38)); }
  .hero-content { width: calc(100% - 34px); padding: 95px 0 34px; }
  .eyebrow { margin-bottom: 18px; }
  .eyebrow span:last-child { display: none; }
  .hero h1 { font-size: clamp(47px, 15vw, 68px); }
  .hero-content > p { font-size: 16px; line-height: 1.55; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .quick-proof { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .quick-proof div { min-width: 0; padding: 0 12px; }
  .quick-proof div:nth-child(3) { display: none; }
  .trust-bar { justify-content: flex-start; padding: 20px 20px; gap: 12px 0; }
  .trust-bar span { width: 50%; padding-right: 10px; font-size: 11px; line-height: 1.3; }
  .section { width: calc(100% - 34px); padding: 78px 0; }
  .section-heading { gap: 20px; margin-bottom: 30px; }
  .section-heading h2, .company-copy h2, .final-cta h2 { font-size: 40px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card, .product-card:last-child { grid-column: auto; min-height: 330px; padding: 23px; }
  .speed-banner { width: calc(100% - 18px); min-height: auto; padding: 55px 22px; border-radius: 20px; }
  .speed-copy h2 { font-size: 56px; }
  .speed-contact { padding: 23px 18px; }
  .speed-contact > a { font-size: 29px; }
  .speed-contact > div { display: grid; }
  .company-gallery { height: 490px; }
  .gallery-main { right: 18%; width: 82%; }
  .gallery-small { width: 45%; height: 47%; }
  .gallery-badge { width: 125px; height: 125px; top: 4%; right: 0; }
  .gallery-badge strong { font-size: 19px; }
  .final-cta { width: calc(100% - 18px); padding: 60px 22px; }
  .final-cta { margin-bottom: 58px; }
  .contact-panel > a { grid-template-columns: 1fr auto; }
  .contact-panel > a > svg { display: none; }
  .contact-panel strong { font-size: 14px; }
  footer { grid-template-columns: 1fr; gap: 26px; padding: 45px 24px 92px; }
  .floating-whatsapp span { display: none; }
  .floating-whatsapp { width: 54px; height: 54px; justify-content: center; padding: 0; border-radius: 50%; }
}

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