/* Zanette Import & Export — static site styles */
:root {
  --brand-red: #E30613;
  --brand-red-dark: #b70510;
  --brand-blue: #1B75BC;
  --brand-navy: #12213b;
  --muted: #f4f6f9;
  --muted-fg: #5c6a80;
  --border: #e4e8ef;
  --white: #ffffff;
  --bg: #ffffff;
  --fg: #12213b;
  --radius: 14px;
  --container: 1200px;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; margin: 0; line-height: 1.15; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ------- Header / Nav ------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: #fff; border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.header.scrolled { box-shadow: 0 1px 12px rgba(15,23,42,.06); border-bottom-color: var(--border); }
.nav-inner {
  height: 80px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: none; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; color: rgba(18,33,59,.8); transition: color .2s; }
.nav-links a:not(.nav-cta) { text-transform: uppercase; letter-spacing: .04em; }
.nav-links a:hover, .nav-links a.active { color: var(--brand-red); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-red); color: #fff !important; padding: 10px 20px;
  border-radius: 999px; font-size: 14px; font-weight: 600;
  transition: transform .2s, background .2s;
}
.nav-cta:hover { transform: translateY(-2px); background: var(--brand-red-dark); }
.nav-toggle {
  display: inline-flex; background: none; border: 0; color: var(--brand-navy);
  padding: 8px; align-items: center; justify-content: center;
}
.nav-mobile { display: none; border-top: 1px solid var(--border); background: #fff; }
.nav-mobile.open { display: block; }
.nav-mobile .container { display: flex; flex-direction: column; padding-top: 12px; padding-bottom: 16px; }
.nav-mobile a { padding: 12px 0; font-size: 14px; font-weight: 500; color: var(--brand-navy); }
.nav-mobile a:not(.nav-cta) { text-transform: uppercase; letter-spacing: .04em; }
.nav-mobile .nav-cta { justify-content: center; margin-top: 8px; }

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* ------- Buttons ------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-size: 14px; font-weight: 600;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
  border: 0; cursor: pointer;
}
.btn-primary { background: var(--brand-red); color: #fff; }
.btn-primary:hover { background: var(--brand-red-dark); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,.05); color: #fff;
  border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline {
  background: #fff; color: var(--brand-navy);
  border: 1px solid rgba(18,33,59,.2);
}
.btn-outline:hover { color: var(--brand-red); border-color: var(--brand-red); }
.btn .icon { width: 16px; height: 16px; }

/* ------- Hero (home) ------- */
.hero {
  position: relative; min-height: max(520px, 70svh); overflow: hidden;
  padding-top: 80px; color: #fff;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1s ease;
}
.hero-bg img.active { opacity: 1; animation: slowZoom 12s ease-out both; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(27,117,188,.35), transparent 50%),
    linear-gradient(135deg, rgba(18,33,59,.95), rgba(18,33,59,.7) 55%, rgba(18,33,59,.4));
}
.hero-inner {
  position: relative; min-height: calc(70svh - 80px); display: flex;
  flex-direction: column; justify-content: center; padding-top: 56px; padding-bottom: 56px;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1);
  padding: 6px 16px; border-radius: 999px; font-size: 12px;
  text-transform: uppercase; letter-spacing: .18em; font-weight: 500;
  backdrop-filter: blur(6px); margin-bottom: 24px;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-red); }
.hero h1 {
  font-size: clamp(38px, 6vw, 76px); font-weight: 800; max-width: 900px;
  letter-spacing: -0.03em;
}
.hero h1 .accent { color: inherit; }
.hero p { margin-top: 22px; max-width: 640px; font-size: 18px; color: rgba(255,255,255,.85); }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero-controls { margin-top: 44px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.dots { display: flex; align-items: center; gap: 8px; }
.dots button {
  height: 6px; width: 16px; border-radius: 999px; background: rgba(255,255,255,.25);
  border: 0; transition: all .3s;
}
.dots button.active { width: 40px; background: var(--brand-red); }
.dots button:hover { background: rgba(255,255,255,.5); }
.slide-count { font-size: 12px; text-transform: uppercase; letter-spacing: .2em; color: rgba(255,255,255,.6); }
.arrow-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.05);
  color: #fff; backdrop-filter: blur(6px); transition: color .2s, border-color .2s;
}
.arrow-btn:hover { color: var(--brand-red); border-color: var(--brand-red); }
.arrows { margin-left: auto; display: flex; gap: 8px; }

.hero-stats {
  margin-top: 44px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.15);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 720px;
}
@media (min-width: 640px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) {
  .hero-inner { padding-top: 30px; }
  .badge { font-size: 10px; padding: 5px 12px; letter-spacing: .14em; margin-bottom: 20px; }
}
.stat-k { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.stat-v { margin-top: 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.6); }

/* ------- Page header (subpages) ------- */
.page-header {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--brand-navy), #1a3358 55%, var(--brand-navy));
}
.page-header .inner { position: relative; padding-top: 26px; padding-bottom: 26px; }
.page-header .badge { margin-bottom: 0; }
@media (max-width: 640px) { .page-header .inner { padding-top: 18px; padding-bottom: 18px; } }
.page-header h1 {
  font-size: clamp(36px, 5vw, 60px); font-weight: 800; letter-spacing: -0.03em; max-width: 800px;
}
.page-header h1 .accent { color: inherit; }
.page-header p { margin-top: 20px; font-size: 18px; color: rgba(255,255,255,.85); max-width: 800px; }

/* ------- Generic sections ------- */
.section { padding: 96px 0; }
.page-header + .section { padding-top: 56px; }
@media (max-width: 640px) { .page-header + .section { padding-top: 32px; } }
.section-alt { background: var(--muted); }
.section-white { background: #fff; }
.eyebrow {
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .25em;
  color: var(--brand-red);
}
.section-title {
  margin-top: 16px; font-size: clamp(30px, 4vw, 46px); font-weight: 800;
  color: var(--brand-navy);
}
.section-lede { margin-top: 20px; font-size: 18px; color: var(--muted-fg); max-width: 720px; }

@media (min-width: 700px) {
  #produtos-title { white-space: nowrap; }
}
.text-center { text-align: center; margin-left: auto; margin-right: auto; }

/* ------- Cards grid ------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  border: 1px solid var(--border); background: #fff; border-radius: 20px; padding: 26px;
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(15,23,42,.15); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(227,6,19,.1); color: var(--brand-red);
}
.card-icon.blue { background: rgba(27,117,188,.1); color: var(--brand-blue); }
.card h3 { margin-top: 20px; font-size: 20px; color: var(--brand-navy); font-weight: 700; }
.card p { margin-top: 8px; font-size: 14px; color: var(--muted-fg); }

/* Services (atuacao) — bigger cards */
.card-lg { padding: 32px; border-radius: 24px; position: relative; overflow: hidden; }
.card-lg .card-icon {
  width: 60px; height: 60px; border-radius: 18px;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  color: #fff;
}
.card-lg h3 { margin-top: 22px; font-size: 24px; }
.card-lg p { margin-top: 12px; font-size: 15px; line-height: 1.7; }

/* Product partner cards (produtos) */
.product-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-top: 40px; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.product-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
  opacity: .85;
}
.product-card:hover { border-color: transparent; box-shadow: 0 24px 48px -24px rgba(15,23,42,.2); }
.product-card-logo {
  display: flex; align-items: center; justify-content: center;
  height: 140px; width: 100%; padding: 20px; border-radius: 18px;
  background: var(--muted); transition: background .3s;
}
.product-card:hover .product-card-logo { background: #eef2f8; }
.product-card-logo img { max-height: 90px; max-width: 80%; width: auto; height: auto; object-fit: contain; transition: transform .35s; }
.product-card:hover .product-card-logo img { transform: scale(1.06); }
.product-card-footer {
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border);
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: var(--brand-navy); transition: color .2s;
}
.product-card:hover .product-card-footer { color: var(--brand-red); }
.product-card .product-card-footer .icon { width: 16px; height: 16px; flex-shrink: 0; transition: transform .2s; }
.product-card:hover .product-card-footer .icon { transform: translateX(4px); }

/* Steps */
.steps { margin-top: 56px; display: grid; gap: 16px; }
.step {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px; background: #fff; border: 1px solid var(--border); border-radius: 18px;
  transition: transform .3s, box-shadow .3s;
}
.step:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -18px rgba(15,23,42,.18); }
.step-num {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(27,117,188,.1); color: var(--brand-blue);
  font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 17px; color: var(--brand-navy); font-weight: 700; }
.step p { margin-top: 6px; font-size: 14px; color: var(--muted-fg); }

/* ------- CTA banner (home) ------- */
.cta-banner {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  padding: 40px 48px; border-radius: 24px; color: #fff;
  background: var(--brand-red);
}
.cta-banner-icon {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center;
}
.cta-banner-text { flex: 1 1 320px; }
.cta-banner-text h2 { font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; }
.cta-banner-text p { margin-top: 6px; font-size: 14px; color: rgba(255,255,255,.9); }
.cta-banner-btn {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px;
  background: var(--brand-navy); color: #fff; padding: 14px 24px; border-radius: 999px;
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  transition: transform .2s, background .2s;
}
.cta-banner-btn:hover { transform: translateY(-2px); background: #1a3358; }
.cta-banner-btn .icon { width: 16px; height: 16px; }
@media (max-width: 640px) {
  .cta-banner { padding: 32px 24px; flex-direction: column; align-items: flex-start; }
  .cta-banner-btn { width: 100%; justify-content: center; }
}

/* ------- About page ------- */
.about-grid { display: grid; gap: 60px; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-img { position: relative; }
.about-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; display: block; }
.about-badge {
  position: absolute; right: -20px; bottom: -20px;
  background: var(--brand-red); color: #fff; padding: 22px 26px; border-radius: 16px;
  box-shadow: 0 20px 45px -15px rgba(227,6,19,.5);
}
.about-badge .k { font-size: 34px; font-weight: 800; line-height: 1; }
.about-badge .v { margin-top: 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
@media (max-width: 640px) { .about-badge { display: none; } }

/* ------- Contact page ------- */
.contact-grid { display: grid; gap: 60px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 80px; } }

.wa-card {
  display: flex; align-items: center; gap: 16px;
  padding: 20px; border-radius: 18px; color: #fff;
  background: linear-gradient(135deg, #25D366, #128C7E);
  transition: transform .2s;
}
.wa-card:hover { transform: translateY(-2px); }
.wa-card .icon-wrap {
  width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.15);
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.wa-card .small { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; opacity: .85; }
.wa-card .big { font-size: 17px; font-weight: 700; }
.wa-card .arrow { margin-left: auto; }

.contact-list { margin-top: 36px; display: grid; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .icon-wrap {
  width: 40px; height: 40px; border-radius: 10px; flex: 0 0 auto;
  background: rgba(27,117,188,.1); color: var(--brand-blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-item .t { font-weight: 600; color: var(--brand-navy); }
.contact-item .s { font-size: 14px; color: var(--muted-fg); }

.form-card {
  padding: 36px; border: 1px solid var(--border); border-radius: 24px;
  background: linear-gradient(135deg, var(--muted), #fff);
}
.form-title-small { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: var(--brand-red); }
.form-title { margin-top: 4px; font-size: 24px; font-weight: 700; color: var(--brand-navy); }
form { margin-top: 24px; display: grid; gap: 14px; }
.form-row { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field {
  width: 100%; padding: 14px 16px; border: 1px solid var(--border);
  border-radius: 12px; background: #fff; font-size: 14px; color: var(--brand-navy);
  font-family: inherit; transition: border-color .2s, box-shadow .2s;
}
.field:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(27,117,188,.2); }
textarea.field { resize: vertical; min-height: 130px; }
.form-note { font-size: 13px; color: var(--brand-blue); }

/* ------- Footer ------- */
.footer {
  background: var(--brand-navy); color: rgba(255,255,255,.7); padding: 56px 0;
}
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer img { height: 100px; width: auto; }
.footer h4 { color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; font-family: var(--font-sans); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li, .footer p { font-size: 14px; margin-bottom: 8px; }
.footer a:hover { color: var(--brand-red); }
.footer .otti-link { opacity: .5; transition: opacity .2s; }
.footer .otti-link:hover { opacity: 1; color: inherit; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column; gap: 14px; font-size: 12px;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
@media (max-width: 640px) { .footer { padding-bottom: 88px; } }

/* ------- Floating WhatsApp ------- */
.fab-whats {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 40px -10px rgba(37,211,102,.5);
  transition: transform .2s, bottom .3s;
}
.fab-whats:hover { transform: scale(1.1); }

/* ------- Cookie consent banner ------- */
.cookie-banner {
  display: none; position: fixed; left: 50%; bottom: 24px; z-index: 60;
  transform: translateX(-50%);
  width: calc(100% - 40px); max-width: 720px;
  background: var(--brand-navy); color: rgba(255,255,255,.85);
  padding: 24px 28px; border-radius: 18px;
  box-shadow: 0 24px 50px -15px rgba(0,0,0,.45);
  align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap;
}
.cookie-banner.show { display: flex; }
.cookie-banner-text { flex: 1 1 360px; }
.cookie-banner p { font-size: 14px; line-height: 1.6; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.cookie-banner-actions .btn { padding: 11px 24px; font-size: 13px; }
@media (max-width: 640px) {
  .cookie-banner { bottom: 16px; width: calc(100% - 32px); padding: 20px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1; justify-content: center; }
  .cookie-banner.show ~ .fab-whats { bottom: 150px; }
}

/* ------- Legal pages (política de privacidade) ------- */
.policy-block h2 { font-size: 20px; color: var(--brand-navy); font-weight: 700; }
.policy-block p { margin-top: 10px; color: var(--muted-fg); line-height: 1.7; }
.policy-block a { color: var(--brand-blue); text-decoration: underline; }

/* ------- Section divider ------- */
.divider {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; padding: 40px 0;
}
.divider .line { flex: 1; max-width: 240px; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }
.divider .diamond {
  width: 12px; height: 12px; background: var(--brand-red); transform: rotate(45deg);
  box-shadow: 0 0 0 5px rgba(227,6,19,.12);
}

/* ------- Reveal animation ------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(0.22, 1, 0.36, 1); }
[data-reveal].shown { opacity: 1; transform: translateY(0); }

@keyframes slowZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.hero-inner > .badge, .hero-inner > h1, .hero-inner > p, .hero-inner > .hero-actions { animation: fadeIn .9s ease both; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ------- Skip link (acessibilidade) ------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand-navy); color: #fff; padding: 12px 20px;
  border-radius: 0 0 10px 0; font-size: 14px; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ------- Breadcrumbs ------- */
.breadcrumbs { margin-top: 80px; background: var(--muted); border-bottom: 1px solid var(--border); }
.breadcrumbs ol {
  list-style: none; margin: 0; padding: 14px 0; display: flex; flex-wrap: wrap;
  gap: 8px; align-items: center; font-size: 13px; color: var(--muted-fg);
}
.breadcrumbs a { color: var(--muted-fg); transition: color .2s; }
.breadcrumbs a:hover { color: var(--brand-red); }
.breadcrumbs li[aria-current="page"] { color: var(--brand-navy); font-weight: 600; }
.breadcrumbs .sep { color: var(--border); }

/* ------- Respeita usuarios que preferem menos movimento ------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal], .hero-bg img, .hero-inner > * { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}
