/* =========================================================
   MR INOX — Design System
   Stack: HTML + CSS + JS puro
   Paleta: anthracite/black + aço escovado + vermelho marca
   ========================================================= */

:root {
  /* Backgrounds */
  --bg-0: #0a0a0b;
  --bg-1: #111113;
  --bg-2: #17171a;
  --bg-3: #1f1f23;
  --bg-elev: #25252a;

  /* Steel / neutrals */
  --steel-50:  #fafafa;
  --steel-100: #f1f1f3;
  --steel-200: #d4d4d8;
  --steel-300: #a1a1aa;
  --steel-400: #9a9aa3;
  --steel-500: #82828c;
  --steel-600: #3f3f46;
  --steel-700: #2a2a2e;
  --steel-800: #1c1c1f;

  /* Brand */
  --brand:        #c8102e;
  --brand-bright: #f23a52;
  --brand-dark:   #8b0a1f;
  --brand-glow:   rgba(200, 16, 46, 0.35);

  /* Metallic gradient (brushed steel) */
  --steel-gradient: linear-gradient(135deg, #e5e7eb 0%, #9ca3af 25%, #6b7280 50%, #d1d5db 75%, #e5e7eb 100%);
  --steel-gradient-dark: linear-gradient(135deg, #3a3a3f 0%, #1e1e22 50%, #2a2a2e 100%);

  /* Type */
  --font-display: 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.5);
  --shadow-md: 0 8px 24px rgba(0,0,0,.4);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.55);
  --shadow-brand: 0 12px 40px rgba(200,16,46,.25);

  /* Container */
  --container: 1240px;

  /* Header height */
  --header-h: 76px;

  /* Easing */
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--steel-100);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--brand); color: white; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--steel-700); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

/* =========================================================
   Typography
   ========================================================= */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--steel-50);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); }
h4 { font-size: 1.125rem; }

p { color: var(--steel-300); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-bright);
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--brand-bright);
}

.section-title {
  margin-top: var(--s-3);
  margin-bottom: var(--s-4);
}

.section-lead {
  max-width: 640px;
  color: var(--steel-300);
  font-size: 1.05rem;
}

.text-steel {
  background: var(--steel-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-brand { color: var(--brand-bright); }

/* =========================================================
   Layout
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
}

section {
  padding: clamp(var(--s-8), 9vw, var(--s-10)) 0;
  position: relative;
}

section.tight { padding: var(--s-8) 0; }

.section-header {
  max-width: 720px;
  margin: 0 auto var(--s-8);
  text-align: center;
}
.section-header .section-lead { margin: 0 auto; }

.grid { display: grid; gap: var(--s-5); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 14px 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: var(--r-full);
  transition: all .3s var(--ease-out);
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  border: 1px solid transparent;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--brand);
  color: white;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover {
  background: var(--brand-bright);
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(200,16,46,.45);
}

.btn-ghost {
  background: transparent;
  color: var(--steel-100);
  border-color: var(--steel-600);
}
.btn-ghost:hover {
  background: var(--steel-700);
  border-color: var(--steel-500);
  transform: translateY(-2px);
}

.btn-whats {
  background: #25d366;
  color: white;
}
.btn-whats:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(37, 211, 102, 0.35);
}

.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10,10,11,.75);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.site-header.scrolled {
  background: rgba(10,10,11,.92);
  border-bottom-color: var(--steel-700);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.brand-link img { height: 38px; width: auto; }

.nav-primary {
  display: flex;
  align-items: center;
  gap: var(--s-6);
}
.nav-primary a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--steel-200);
  transition: color .25s;
  position: relative;
}
.nav-primary a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--brand);
  transition: width .3s var(--ease-out);
}
.nav-primary a:hover { color: white; }
.nav-primary a:hover::after,
.nav-primary a.active::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: var(--s-3); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: var(--steel-700);
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--steel-100);
  position: relative;
  transition: all .3s;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--steel-100);
  transition: all .3s;
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after  { top:  7px; }
.menu-toggle.open span { background: transparent; }
.menu-toggle.open span::before { transform: rotate(45deg); top: 0; }
.menu-toggle.open span::after  { transform: rotate(-45deg); top: 0; }

@media (max-width: 980px) {
  /* No mobile, removemos backdrop-filter do header para que o drawer
     (position:fixed dentro do header) use o viewport como containing block.
     Caso contrário o backdrop-filter cria um novo containing block e o
     menu mobile fica com altura/posição quebradas. */
  .site-header {
    background: rgba(10,10,11,.95);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .site-header.scrolled { background: var(--bg-0); }

  .nav-primary {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: var(--s-6) var(--s-5);
    background: var(--bg-1);
    border-top: 1px solid var(--steel-700);
    transform: translateX(100%);
    transition: transform .35s var(--ease-out);
    overflow-y: auto;
    z-index: 99;
  }
  .nav-primary.open { transform: translateX(0); }
  .nav-primary a { font-size: 1.4rem; padding: var(--s-3) 0; }
  .menu-toggle { display: inline-flex; }
  .header-cta .btn:not(.btn-whats) { display: none; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + var(--s-8)) 0 var(--s-9);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(200,16,46,.18), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(120,120,120,.12), transparent 55%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
  z-index: -2;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.012) 0 2px, transparent 2px 6px);
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: var(--s-8);
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-7); }
}

.hero-copy h1 {
  margin-top: var(--s-4);
  margin-bottom: var(--s-5);
}
.hero-copy h1 strong { color: var(--brand-bright); font-weight: 700; }
.hero-copy p {
  font-size: 1.15rem;
  color: var(--steel-300);
  max-width: 560px;
  margin-bottom: var(--s-6);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-6);
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid var(--steel-700);
}
.hero-stats .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  background: var(--steel-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stats .stat span {
  font-size: .82rem;
  color: var(--steel-400);
  text-transform: uppercase;
  letter-spacing: .12em;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--steel-700);
}
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.05);
  transition: transform 8s linear;
}
.hero-visual:hover img { transform: scale(1.12); }
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,10,11,.65) 100%);
}

.hero-badge {
  position: absolute;
  bottom: var(--s-5);
  left: var(--s-5);
  right: var(--s-5);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  background: rgba(17,17,19,.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--steel-600);
  border-radius: var(--r-lg);
}
.hero-badge .badge-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--brand);
  border-radius: var(--r-md);
  flex-shrink: 0;
}
.hero-badge .badge-icon svg { width: 22px; height: 22px; color: white; }
.hero-badge strong { display: block; font-family: var(--font-display); }
.hero-badge span { font-size: .85rem; color: var(--steel-300); }

/* =========================================================
   Trust strip (numbers)
   ========================================================= */
.trust-strip {
  background: var(--bg-1);
  border-top: 1px solid var(--steel-800);
  border-bottom: 1px solid var(--steel-800);
  padding: var(--s-6) 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  text-align: center;
}
.trust-grid .trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--steel-100);
  margin-bottom: var(--s-1);
}
.trust-grid .trust-item span {
  font-size: .82rem;
  color: var(--steel-400);
  text-transform: uppercase;
  letter-spacing: .12em;
}
@media (max-width: 720px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-6); }
}

/* =========================================================
   About / Sobre
   ========================================================= */
.about {
  background: var(--bg-0);
}
.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: var(--s-8);
  align-items: center;
}
@media (max-width: 980px) { .about-grid { grid-template-columns: 1fr; } }

.about-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--steel-700);
}
.about-visual img { width:100%; height:100%; object-fit: cover; }
.about-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(200,16,46,.25) 100%);
  mix-blend-mode: overlay;
}

.about-floating {
  position: absolute;
  bottom: -32px;
  right: -32px;
  width: 220px;
  padding: var(--s-5);
  background: var(--bg-2);
  border: 1px solid var(--steel-700);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.about-floating strong {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  background: var(--steel-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.about-floating span {
  font-size: .85rem;
  color: var(--steel-300);
  display: block;
  margin-top: var(--s-2);
}
@media (max-width: 980px) {
  .about-floating { display: none; }
}

.about-content h2 strong { color: var(--brand-bright); }
.about-content p {
  font-size: 1.05rem;
  margin-top: var(--s-4);
  margin-bottom: var(--s-4);
}
.about-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-6);
}
.about-pillars .pillar {
  display: flex;
  gap: var(--s-3);
  padding: var(--s-4);
  background: var(--bg-2);
  border: 1px solid var(--steel-700);
  border-radius: var(--r-md);
}
.about-pillars .pillar svg { width: 24px; height: 24px; color: var(--brand-bright); flex-shrink:0; }
.about-pillars .pillar h3 { font-size: 1.05rem; margin-bottom: 4px; }
.about-pillars .pillar p { font-size: .92rem; margin: 0; }
@media (max-width: 540px) {
  .about-pillars { grid-template-columns: 1fr; }
}

/* =========================================================
   Products / Produtos
   ========================================================= */
.products {
  background: var(--bg-1);
  border-top: 1px solid var(--steel-800);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
@media (max-width: 980px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .products-grid { grid-template-columns: 1fr; } }

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--steel-700);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all .35s var(--ease-out);
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}
.product-card .product-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.product-card .product-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.product-card:hover .product-image img { transform: scale(1.08); }
.product-card .product-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,10,11,.7));
}
.product-card .product-body {
  padding: var(--s-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card .product-code {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-bright);
  background: rgba(200, 16, 46, .1);
  border: 1px solid rgba(200, 16, 46, .25);
  padding: 3px 10px;
  border-radius: var(--r-full);
  margin-bottom: var(--s-3);
}
.product-card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--s-2);
}
.product-card p {
  font-size: .9rem;
  margin-bottom: var(--s-4);
  flex: 1;
}
.product-card .product-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 600;
  color: var(--brand-bright);
  letter-spacing: .04em;
  transition: gap .25s;
}
.product-card:hover .product-cta { gap: 14px; }
.product-card .product-cta svg { width: 16px; height: 16px; }

/* =========================================================
   Segments
   ========================================================= */
.segments {
  background: var(--bg-0);
}
.segments-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s-4);
}
@media (max-width: 980px) { .segments-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .segments-grid { grid-template-columns: repeat(2, 1fr); } }

.segment-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--s-5) var(--s-3);
  background: var(--bg-2);
  border: 1px solid var(--steel-700);
  border-radius: var(--r-md);
  transition: all .3s var(--ease-out);
}
.segment-card:hover {
  background: var(--bg-3);
  transform: translateY(-4px);
  border-color: var(--brand);
}
.segment-card svg { width: 38px; height: 38px; color: var(--brand-bright); margin-bottom: var(--s-3); }
.segment-card strong {
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--steel-100);
}
.segment-card span { font-size: .78rem; color: var(--steel-400); margin-top: 4px; }

/* =========================================================
   Gallery
   ========================================================= */
.gallery {
  background: var(--bg-1);
  border-top: 1px solid var(--steel-800);
  border-bottom: 1px solid var(--steel-800);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: var(--s-3);
}
@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } }

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  cursor: zoom-in;
  border: 1px solid var(--steel-800);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,10,11,.0);
  transition: background .3s;
}
.gallery-item:hover::after { background: rgba(10,10,11,.35); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5,5,6,.96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--s-5);
}
.lightbox.open { display: flex; animation: fade .25s ease; }
.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
}
.lightbox button {
  position: absolute;
  top: var(--s-5);
  right: var(--s-5);
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--steel-700);
  border-radius: var(--r-full);
  color: white;
  font-size: 1.6rem;
  transition: background .2s;
}
.lightbox button:hover { background: var(--brand); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* =========================================================
   Clients
   ========================================================= */
.clients {
  background: var(--bg-0);
}

/* Infinite logo carousel */
.logo-cloud {
  position: relative;
  overflow: hidden;
  padding: var(--s-5) 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.logo-track {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  width: max-content;
  animation: logo-scroll 90s linear infinite;
  will-change: transform;
}
.logo-cloud:hover .logo-track { animation-duration: 220s; }
.logo-item {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: clamp(120px, 13vw, 170px);
  height: clamp(90px, 9vw, 120px);
  padding: var(--s-2);
  background: var(--bg-1);
  border: 1px solid var(--steel-800);
  border-radius: var(--r-md);
  transition: background .25s, border-color .25s, transform .25s;
}
.logo-item:hover {
  background: var(--bg-2);
  border-color: var(--steel-700);
  transform: translateY(-2px);
}
.logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .75;
  transition: filter .3s, opacity .3s;
  user-select: none;
  -webkit-user-drag: none;
}
.logo-item:hover img {
  filter: none;
  opacity: 1;
}
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
}

/* =========================================================
   CTA banner
   ========================================================= */
.cta-banner {
  position: relative;
  padding: var(--s-9) 0;
  overflow: hidden;
  isolation: isolate;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(200,16,46,.25), transparent 55%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
  z-index: -2;
}
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/slider/banner-13.webp') center/cover;
  opacity: .12;
  z-index: -1;
}
.cta-card {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.cta-card h2 { margin-bottom: var(--s-4); }
.cta-card p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto var(--s-6);
}
.cta-card .btns {
  display: flex;
  gap: var(--s-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   Contact
   ========================================================= */
.contact {
  background: var(--bg-1);
  border-top: 1px solid var(--steel-800);
}
.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: var(--s-7);
}
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info h2 { margin-bottom: var(--s-3); }
.contact-info p { margin-bottom: var(--s-6); }

.contact-list { display: flex; flex-direction: column; gap: var(--s-4); }
.contact-item {
  display: flex;
  gap: var(--s-3);
  padding: var(--s-4);
  background: var(--bg-2);
  border: 1px solid var(--steel-700);
  border-radius: var(--r-md);
  transition: all .25s;
}
.contact-item:hover { border-color: var(--brand); background: var(--bg-3); }
.contact-item .icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--steel-700);
  color: var(--brand-bright);
  border-radius: var(--r-md);
  flex-shrink: 0;
}
.contact-item .icon svg { width: 20px; height: 20px; }
.contact-item strong { display: block; margin-bottom: 2px; font-family: var(--font-display); }
.contact-item span, .contact-item a { font-size: .92rem; color: var(--steel-300); }

.contact-form {
  background: var(--bg-2);
  border: 1px solid var(--steel-700);
  border-radius: var(--r-lg);
  padding: var(--s-6);
}
.contact-form h3 { margin-bottom: var(--s-2); }
.contact-form .form-lead { font-size: .92rem; margin-bottom: var(--s-5); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-field { margin-bottom: var(--s-3); }
.form-field label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--steel-300);
  margin-bottom: 6px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-1);
  border: 1px solid var(--steel-700);
  border-radius: var(--r-md);
  color: var(--steel-100);
  transition: border-color .2s, background .2s;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--bg-0);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-submit { width: 100%; margin-top: var(--s-3); }

.form-note {
  text-align: center;
  font-size: .8rem;
  color: var(--steel-400);
  margin-top: var(--s-3);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--bg-0);
  padding: var(--s-9) 0 var(--s-5);
  border-top: 1px solid var(--steel-800);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr 1fr;
  gap: var(--s-6);
  margin-bottom: var(--s-7);
}
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-5); }
}

.footer-brand img { height: 44px; margin-bottom: var(--s-4); }
.footer-brand p { font-size: .9rem; max-width: 360px; }
.footer-social { display: flex; gap: var(--s-3); margin-top: var(--s-4); }
.footer-social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--bg-2);
  border: 1px solid var(--steel-700);
  border-radius: var(--r-md);
  color: var(--steel-300);
  transition: all .25s;
}
.footer-social a:hover { background: var(--brand); color: white; border-color: var(--brand); }
.footer-social svg { width: 18px; height: 18px; }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel-100);
  margin-bottom: var(--s-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--s-2); }
.footer-col a {
  font-size: .92rem;
  color: var(--steel-400);
  transition: color .2s;
}
.footer-col a:hover { color: var(--brand-bright); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-5);
  border-top: 1px solid var(--steel-800);
  font-size: .82rem;
  color: var(--steel-500);
  flex-wrap: wrap;
  gap: var(--s-3);
}
.footer-bottom a { color: var(--steel-400); }
.footer-bottom a:hover { color: var(--brand-bright); }

/* =========================================================
   Floating WhatsApp
   ========================================================= */
.whats-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 60px; height: 60px;
  display: grid; place-items: center;
  background: #25d366;
  color: white;
  border-radius: var(--r-full);
  box-shadow: 0 12px 32px rgba(37,211,102,.4);
  z-index: 90;
  transition: transform .25s, box-shadow .25s;
  animation: pulseWhats 2.4s infinite;
}
.whats-float:hover { transform: scale(1.08); }
.whats-float svg { width: 30px; height: 30px; }
@keyframes pulseWhats {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* =========================================================
   Page header (sub-pages)
   ========================================================= */
.page-hero {
  padding: calc(var(--header-h) + var(--s-8)) 0 var(--s-7);
  background:
    radial-gradient(ellipse at top right, rgba(200,16,46,.18), transparent 50%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
  border-bottom: 1px solid var(--steel-800);
}
.page-hero .breadcrumb {
  display: flex;
  gap: var(--s-2);
  font-size: .85rem;
  color: var(--steel-500);
  margin-bottom: var(--s-4);
}
.page-hero .breadcrumb a:hover { color: var(--brand-bright); }
.page-hero h1 { margin-bottom: var(--s-3); }
.page-hero p { font-size: 1.1rem; max-width: 720px; }

/* =========================================================
   Product category section (produtos.html)
   ========================================================= */
.category-block { padding: var(--s-7) 0; border-bottom: 1px solid var(--steel-800); }
.category-block:last-of-type { border-bottom: none; }
.category-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: var(--s-5);
  gap: var(--s-4);
  flex-wrap: wrap;
}
.category-header h2 { margin-bottom: var(--s-2); }
.category-header p { max-width: 580px; }

/* =========================================================
   Reveal animations
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* =========================================================
   Helpers
   ========================================================= */
.divider-soft {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--steel-700), transparent);
  margin: 0;
  border: none;
}
.center { text-align: center; }
.mt-6 { margin-top: var(--s-6); }
.mt-8 { margin-top: var(--s-8); }

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