/*
Theme Name: Refrigeracao Fabricio
Theme URI: https://www.refrigeracaofabricio.com.br/
Author: Visi Marketing
Author URI: https://visimarketing.com.br/
Description: Landing page institucional da Refrigeracao Fabricio, equipamentos para cozinha profissional em Jundiai desde 1984. Fogoes, fornos, freezers, balcoes e vitrines para restaurantes, padarias, acougues e lanchonetes. Hero com banner da marca, carrossel de equipamentos preso ao scroll e integracao com WhatsApp.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.6
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: refrigeracao-fabricio
*/

/* ====================================================================
   Refrigeração Fabrício, landing page B2B
   Estrutura e efeitos espelhados da referência meleve.ind.br
   Paleta: azul #182048 (marca) + vermelho #C01020 (ação) + neutros
   Tipografia: Roboto
   ==================================================================== */

:root {
  /* Marca (azul) */
  --navy-900: #0B1030;
  --navy-800: #101740;
  --navy-700: #1E2860;
  --navy:     #182048;
  --navy-soft:#414B78;

  /* Ação (vermelho) */
  --red:      #C01020;
  --red-600:  #970812;
  /* derivado claro, usado apenas sobre fundo escuro para manter legibilidade */
  --red-soft: #FF5C52;

  /* WhatsApp */
  --wa:     #25d366;
  --wa-dark:#1da851;

  /* Neutros */
  --ink:    #161616;
  --muted:  #6a6a6a;
  --line:   #e6e6e8;
  --bg:     #F4F4F4;
  --bg-2:   #ececec;
  --white:  #ffffff;

  --radius:   18px;
  --radius-sm:12px;
  --shadow:   0 18px 40px -18px rgba(24, 32, 72, .35);
  --shadow-lg:0 40px 80px -30px rgba(24, 32, 72, .45);

  --maxw: 1180px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  --font: 'Roboto', system-ui, -apple-system, sans-serif;

  /* logo oficial do WhatsApp: balão vazado com o fone dentro */
  --wa-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E");
}

/* ---------- Reset / base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: clip;
}

img, picture { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.1; font-weight: 900; letter-spacing: -.03em; }
h1 { font-size: clamp(2.35rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -.02em; }

::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 20px; font-weight: 700;
}
.skip:focus { left: 0; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

.section { padding: clamp(64px, 9vw, 120px) 0; }

.kicker {
  display: inline-block;
  font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.kicker-light { color: var(--red-soft); }

.section-head { max-width: 660px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-sub { color: var(--muted); font-size: 1.08rem; margin-top: 12px; font-weight: 300; }

/* ====================================================================
   BOTÕES
   ==================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font); font-weight: 700; font-size: 1rem;
  padding: 15px 26px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform .85s var(--ease),
              box-shadow .9s var(--ease),
              background-color .8s var(--ease),
              background .8s var(--ease),
              color .8s var(--ease),
              border-color .8s var(--ease);
  will-change: transform;
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-block { width: 100%; justify-content: center; }
.btn:hover { transform: translateY(-4px); }

.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover {
  background: var(--red); color: #fff;
  box-shadow: 0 22px 46px -16px rgba(192, 16, 32, .55);
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--wa), var(--wa-dark));
  color: #fff;
  box-shadow: 0 16px 30px -12px rgba(29, 168, 81, .6);
}
.btn-whatsapp:hover { box-shadow: 0 24px 44px -14px rgba(29, 168, 81, .7); }

.btn-ghost {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--navy); background: var(--navy); color: #fff; }

.wa-ico {
  width: 20px; height: 20px; flex: none;
  background: currentColor;
  -webkit-mask: var(--wa-mask) center / contain no-repeat;
  mask: var(--wa-mask) center / contain no-repeat;
}

/* ====================================================================
   HEADER
   ==================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: 58px;
  transition: padding .5s var(--ease), background .5s var(--ease), box-shadow .5s var(--ease);
}
/* ao rolar, o fundo aparece atrás do header inteiro, sem barra ligando logo e botão */
.site-header.scrolled {
  padding-block: 14px;
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 12px 34px -22px rgba(24,32,72,.45);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
/* dois logos sobrepostos: o branco sobre o hero escuro, o colorido quando o
   header vira branco ao rolar. A troca é um crossfade, sem salto de layout,
   porque o colorido fica posicionado por cima do branco. */
.brand { position: relative; display: inline-flex; }
.brand-logo {
  display: block; height: 38px; width: auto;
  transition: transform .6s var(--ease), opacity .45s var(--ease);
}
.brand-logo-escuro { position: absolute; left: 0; top: 50%; translate: 0 -50%; opacity: 0; }
.site-header.scrolled .brand-logo-claro { opacity: 0; }
.site-header.scrolled .brand-logo-escuro { opacity: 1; }
.brand:hover .brand-logo { transform: scale(1.05); }

/* ====================================================================
   HERO
   ==================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 186px; padding-bottom: 80px;
  background: var(--navy-900);
  color: #f2f2f2;
  overflow: hidden;
}
/* Banner da marca. O gradiente por cima usa a cor da própria parede azul do
   banner (#121C33, a média entre #162138 no topo e #0C162B junto ao rodapé),
   só estendendo essa parede para a esquerda. Ele não altera a arte: o banner é
   bem mais largo que alto, e em telas mais altas o corte lateral aumenta e
   empurraria os equipamentos para baixo do texto. */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-color: #121C33;
  background-image:
    linear-gradient(90deg,
      #121C33 0%, #121C33 24%,
      rgba(18, 28, 51, .94) 42%,
      rgba(18, 28, 51, .55) 58%,
      rgba(18, 28, 51, 0) 72%),
    image-set(
      url('images/banner-home.webp') type('image/webp'),
      url('images/banner-home.jpg') type('image/jpeg'));
  background-size: auto, cover;
  background-position: center, left center;
  background-repeat: no-repeat, no-repeat;
}

.hero-inner { position: relative; z-index: 2; }
.hero-copy { max-width: 760px; }
.eyebrow {
  display: inline-block;
  font-weight: 500; font-size: .85rem;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(192,16,32,.22); color: #fff;
  border: 1px solid rgba(255,92,82,.5);
  margin-bottom: 22px;
}
.hero-copy h1 { color: #fff; margin-bottom: 20px; }
.hero-copy .hl { color: var(--red-soft); }

/* palavra que troca sozinha */
.troca {
  position: relative; display: inline-block; vertical-align: top;
  color: var(--red-soft);
}
/* segura a altura e a largura da caixa, sempre pela palavra mais longa */
.troca-medida { visibility: hidden; }
.troca-item {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  opacity: 0; transform: translateY(.32em); filter: blur(7px);
  transition: opacity .5s var(--ease), transform .6s var(--ease), filter .5s var(--ease);
}
.troca-item.is-ativo { opacity: 1; transform: none; filter: blur(0); }
.troca-item.is-saindo { opacity: 0; transform: translateY(-.32em); filter: blur(7px); }
.lead { font-size: 1.16rem; font-weight: 300; color: #c9ccd8; max-width: 540px; margin-bottom: 32px; }
.lead strong { color: #fff; font-weight: 700; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,.85); background: transparent; }
.hero-actions .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }


.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px;
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--red-soft); border-radius: 3px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot { 0%{opacity:0;top:8px} 40%{opacity:1} 80%{opacity:0;top:24px} 100%{opacity:0} }

/* ====================================================================
   STATS
   ==================================================================== */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding-block: clamp(40px, 6vw, 64px);
}
.stat { text-align: center; padding: 12px; border-right: 1px solid var(--line); cursor: default; }
.stat:last-child { border-right: none; }
.stat-num {
  display: block; font-weight: 900;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  color: var(--navy); line-height: 1; letter-spacing: -.04em;
  transition: color .8s var(--ease), transform .8s var(--ease);
}
.stat:hover .stat-num { color: var(--red); transform: translateY(-4px) scale(1.05); }
.stat-label { display: block; color: var(--muted); font-size: .95rem; margin-top: 10px; transition: color .8s var(--ease); }
.stat:hover .stat-label { color: var(--ink); }

/* ====================================================================
   SOBRE
   ==================================================================== */
.sobre-inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.sobre-media { position: relative; }
.media-frame {
  position: relative; z-index: 2; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white);
}
.media-frame img {
  width: 100%; height: auto; aspect-ratio: 4/3;
  object-fit: cover; object-position: center;
  transition: transform 1s var(--ease);
}
.media-frame:hover img { transform: scale(1.06); }
.media-accent {
  position: absolute; z-index: 1; right: -22px; bottom: -22px;
  width: 70%; height: 70%; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--red), var(--red-600)); opacity: .95;
}
.check-list { list-style: none; margin: 24px 0 30px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; color: var(--ink); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 7px;
  background-color: rgba(192,16,32,.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23C00000' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2l-3.5-3.5L4 14.2 9 19 20 8l-1.5-1.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 15px;
}
.sobre-copy h2 { color: var(--navy); }
.sobre-copy p { color: var(--muted); font-size: 1.06rem; font-weight: 300; margin-top: 8px; }

/* ====================================================================
   DIFERENCIAIS
   ==================================================================== */
.diferenciais { background: var(--white); }
.diferenciais h2 { color: var(--navy); }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.feature {
  padding: 14px 38px; position: relative; text-align: center;
  transition: transform .75s var(--ease);
}
.feature + .feature::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 1px; background: var(--line);
}
.feature:hover { transform: translateY(-6px); }
.feature-ico {
  width: 56px; height: 56px; margin: 0 auto 18px;
  display: grid; place-items: center;
  color: var(--red);
  transition: transform .75s var(--ease), color .75s var(--ease);
}
.feature:hover .feature-ico { transform: scale(1.12) translateY(-2px); color: var(--red-600); }
.feature-ico svg { width: 46px; height: 46px; }
.feature h3 { margin-bottom: 10px; color: var(--navy); transition: color .75s var(--ease); }
.feature:hover h3 { color: var(--red); }
.feature p { color: var(--muted); font-size: 1rem; font-weight: 300; }

/* ====================================================================
   PRODUTOS, carrossel preso ao scroll
   ==================================================================== */
.produtos { background: var(--bg); position: relative; padding: 0; }
.produtos-pin {
  position: sticky; top: 0;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(24px, 4vw, 44px);
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 90px);
}
.produtos-pin .section-head { margin-bottom: 0; }
.produtos-pin h2 { color: var(--navy); }

.produtos-palco { position: relative; }
.produtos-viewport {
  width: 100%; overflow: hidden;
  scrollbar-width: none; -ms-overflow-style: none;
}

/* seta de arraste: só existe no carrossel por toque, ver o bloco de 760px */
.swipe-dica { display: none; }
.produtos-viewport::-webkit-scrollbar { display: none; }
.produtos-track {
  display: flex; gap: 24px;
  padding-inline: max(22px, calc((100vw - var(--maxw)) / 2));
  will-change: transform;
}
.produto {
  flex: 0 0 320px; width: 320px;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .8s var(--ease), border-color .8s var(--ease), box-shadow .8s var(--ease);
  display: flex; flex-direction: column;
}
.produto:hover { transform: translateY(-8px); border-color: var(--navy); box-shadow: var(--shadow); }
.produto-img {
  aspect-ratio: 4/3;
  display: grid; place-items: center; overflow: hidden; padding: 10px;
}
.produto-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 1s var(--ease); }
.produto:hover .produto-img img { transform: scale(1.06); }
.produto-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.produto-body h3 { color: var(--navy); margin-bottom: 6px; }
.produto-body p { color: var(--muted); font-size: .96rem; font-weight: 300; flex: 1; margin-bottom: 16px; }
.produto-cta {
  font-weight: 700; color: var(--red);
  align-self: flex-start; transition: color .7s var(--ease), gap .5s var(--ease);
}
.produto-cta:hover { color: var(--navy); }

/* ====================================================================
   ONDE ATUAMOS
   ==================================================================== */
.atuacao {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 0% 0%, var(--navy-700), var(--navy-900));
  color: #f2f2f2;
}
/* brilho radial que acompanha o cursor */
.atuacao::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%),
              rgba(192,16,32,.42), rgba(192,16,32,.14) 35%, transparent 62%);
  opacity: 0; transition: opacity .8s var(--ease);
}
.atuacao.cursor-active::before { opacity: 1; }
.atuacao > .container { position: relative; z-index: 1; }
.atuacao-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px,6vw,70px); align-items: center; }
.atuacao-copy h2 { color: #fff; }
.atuacao-copy p { color: #c4c8d6; font-size: 1.08rem; font-weight: 300; margin: 8px 0 22px; }

/* tags com realce deslizante seguindo o ponteiro */
.atuacao-tags {
  position: relative; list-style: none;
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px;
}
.pill-tab { position: relative; z-index: 1; }
.pill-tab a {
  display: block; font-size: .88rem; font-weight: 500;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.07);
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.pill-tab a:hover { color: #fff; border-color: rgba(255,92,82,.6); }
.pill-cursor {
  position: absolute; z-index: 0; top: 0; left: 0; width: 0; height: 0;
  border-radius: 999px; background: rgba(192,16,32,.55);
  opacity: 0; pointer-events: none;
  transition: left .5s var(--ease), top .5s var(--ease),
              width .5s var(--ease), height .5s var(--ease), opacity .45s var(--ease);
}

.link-wa {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--red-soft);
  transition: color .6s var(--ease), gap .6s var(--ease);
}
.link-wa:hover { color: #fff; gap: 14px; }

.atuacao-media { display: grid; place-items: center; }
.map-frame {
  width: 100%; aspect-ratio: 4/3.4; max-width: 540px;
  border: 0; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  filter: grayscale(.15) contrast(1.05);
}

/* ====================================================================
   CONTATO
   ==================================================================== */
.contato { background: var(--white); }
.contato-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.contato-text h2 { color: var(--navy); }
.contato-text > p { color: var(--muted); font-weight: 300; margin: 8px 0 26px; font-size: 1.06rem; }
.contato-list { list-style: none; display: grid; gap: 16px; }
.contato-list li { display: flex; align-items: center; gap: 14px; font-size: 1.02rem; color: var(--ink); }
.contato-list a { color: var(--ink); font-weight: 700; transition: color .7s var(--ease); }
.contato-list a:hover { color: var(--red); }
.ci-ico {
  width: 42px; height: 42px; flex: none; border-radius: 12px;
  background-color: rgba(192,16,32,.10);
  background-repeat: no-repeat; background-position: center; background-size: 21px;
  /* mesmo logo do WhatsApp usado nos botões */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23C00000' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E");
}
.ci-fone { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23C00000' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25c1.1.37 2.3.57 3.5.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.2.2 2.4.57 3.5a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.ci-pin  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23C00000' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5A2.5 2.5 0 1112 6.5a2.5 2.5 0 010 5z'/%3E%3C/svg%3E"); }
/* relógio: aro vazado (o traçado interno gira ao contrário para abrir o furo) mais os ponteiros */
.ci-hora { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23C00000' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6a9.4 9.4 0 1 0 0 18.8 9.4 9.4 0 0 0 0-18.8zm0 2a7.4 7.4 0 1 1 0 14.8 7.4 7.4 0 0 1 0-14.8z'/%3E%3Cpath d='M11.1 6.9h1.8v5.4l3.7 2.2-.9 1.6-4.6-2.7z'/%3E%3C/svg%3E"); }

/* Form */
.quote-form {
  background: var(--bg); border: 1px solid transparent;
  border-radius: 20px; padding: clamp(24px, 3vw, 34px);
  color: var(--ink); box-shadow: var(--shadow);
  transition: border-color .7s var(--ease), transform .7s var(--ease), box-shadow .7s var(--ease);
}
.quote-form:hover {
  border-color: var(--red);
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -22px rgba(192, 16, 32, .35);
}
.quote-form h3 { color: var(--navy); margin-bottom: 18px; font-size: 1.3rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font); font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); transition: border-color .5s var(--ease), box-shadow .5s var(--ease); resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(192,16,32,.14);
}
.field input.invalid { border-color: var(--red); box-shadow: 0 0 0 4px rgba(192,16,32,.16); }
.form-note { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 12px; font-weight: 300; }

/* ====================================================================
   FOOTER
   ==================================================================== */
.site-footer { background: var(--navy-900); color: #a8adbf; }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px;
  padding: clamp(48px, 6vw, 72px) 22px clamp(30px, 4vw, 44px);
  align-items: start;
}
.footer-brand img { display: block; height: 44px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 320px; font-size: .96rem; font-weight: 300; }
.footer-nav { display: grid; gap: 12px; }
.footer-nav a, .footer-contact a, .footer-contact span { font-size: .96rem; transition: color .6s var(--ease); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--red-soft); }
.footer-contact { display: grid; gap: 10px; }
.footer-contact a { font-weight: 700; color: #fff; font-size: 1.1rem; }
.footer-social { display: flex; gap: 10px; margin-top: 8px; }
.footer-social a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.2); border-radius: 12px; color: #fff;
  transition: background .6s var(--ease), border-color .6s var(--ease), transform .6s var(--ease);
}
.footer-social svg { width: 19px; height: 19px; }
.footer-social a:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; }
.footer-bottom .container {
  font-size: .85rem; color: #8a8fa3;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}
.footer-credit a { color: var(--red-soft); font-weight: 700; transition: color .6s var(--ease); }
.footer-credit a:hover { color: #fff; }

/* ====================================================================
   WHATSAPP FLOAT
   ==================================================================== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--wa), var(--wa-dark)); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 30px -8px rgba(29,168,81,.7);
  transition: transform .6s var(--ease);
  animation: pulse 2.4s ease-out infinite;
}
.wa-float:hover { transform: scale(1.12); }
.wa-float .wa-ico { width: 30px; height: 30px; }
@keyframes pulse {
  0%   { box-shadow: 0 14px 30px -8px rgba(29,168,81,.7), 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 14px 30px -8px rgba(29,168,81,.7), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 14px 30px -8px rgba(29,168,81,.7), 0 0 0 0 rgba(37,211,102,0); }
}

/* ====================================================================
   REVEAL
   ==================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(46px);
  filter: blur(8px);
  transition: opacity 1.1s var(--ease),
              transform 1.2s var(--ease),
              filter 1.1s var(--ease);
  will-change: opacity, transform, filter;
}
.reveal.in { opacity: 1; transform: none; filter: blur(0); }

/* ====================================================================
   RESPONSIVO
   ==================================================================== */
@media (max-width: 980px) {
  /* tela estreita: o banner é cortado de lado, então o texto passa a ficar
     sobre a imagem e o azul da parede entra por cima, do topo para baixo */
  .hero-bg {
    background-image:
      linear-gradient(180deg,
        #121C33 0%, #121C33 44%,
        rgba(18, 28, 51, .92) 68%,
        rgba(18, 28, 51, .6) 87%,
        rgba(18, 28, 51, 0) 100%),
      image-set(
        url('images/banner-home.webp') type('image/webp'),
        url('images/banner-home.jpg') type('image/jpeg'));
    background-position: center, 68% center;
  }

  .sobre-inner, .atuacao-inner, .contato-inner { grid-template-columns: 1fr; }
  .sobre-media { max-width: 520px; margin-inline: auto; }
  .atuacao-media { order: -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-inner { padding-left: 18px; }
}

@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat { border-bottom: 1px solid var(--line); padding-block: 22px; }
  .stat:nth-last-child(-n+2) { border-bottom: none; }

  /* altura suficiente para o banner respirar abaixo dos botões */
  .hero { min-height: 76vh; padding-top: 150px; }
  .site-header { padding-block: 38px; }
  .site-header.scrolled { padding-block: 12px; }
  .scroll-cue { display: none; }

  .cards-3 { grid-template-columns: 1fr; }
  .feature { padding: 24px 6px; }
  .feature + .feature::before {
    left: 6px; right: 6px; top: 0; bottom: auto; width: auto; height: 1px;
  }

  /* Produtos: desliga o pin e vira carrossel deslizável por toque,
     com dois cards por vez e uma fatia do próximo à mostra */
  .produtos { height: auto !important; }
  .produtos-pin { position: static; min-height: 0; padding-block: 64px; }
  .produtos-viewport {
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; padding-bottom: 10px;
    /* o encaixe respeita a margem lateral do trilho */
    scroll-padding-inline-start: 22px;
  }
  .produtos-track { transform: none !important; gap: 12px; }
  .produto {
    scroll-snap-align: start;
    flex: 0 0 calc(50% - 16px); width: auto;
  }
  .produto-body { padding: 16px 16px 18px; }
  .produto-body h3 { font-size: 1rem; }
  .produto-body p { font-size: .88rem; margin-bottom: 12px; }
  .produto-cta { font-size: .9rem; }

  /* seta que pulsa pedindo o arrasto, some no primeiro toque */
  .swipe-dica {
    display: grid; place-items: center;
    position: absolute; right: 10px; top: 50%; margin-top: -24px;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--navy); color: #fff; border: 0; padding: 0;
    cursor: pointer; z-index: 3;
    box-shadow: 0 10px 26px -8px rgba(24,32,72,.6);
    animation: setaArrasta 1.9s ease-in-out infinite;
    transition: opacity .45s var(--ease), transform .45s var(--ease);
  }
  .swipe-dica svg { width: 21px; height: 21px; }
  .swipe-dica.is-oculta {
    opacity: 0; pointer-events: none;
    transform: scale(.6); animation: none;
  }
  @keyframes setaArrasta {
    0%, 100% { transform: translateX(0);   box-shadow: 0 10px 26px -8px rgba(24,32,72,.6), 0 0 0 0 rgba(192,16,32,.45); }
    50%      { transform: translateX(-9px); box-shadow: 0 10px 26px -8px rgba(24,32,72,.6), 0 0 0 14px rgba(192,16,32,0); }
  }
}

@media (max-width: 540px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { margin-inline: auto; }
  .footer-brand img { margin-inline: auto; }
  .footer-nav, .footer-contact { justify-items: center; }
  .footer-social { justify-content: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .map-frame { max-width: 100%; }
  .brand-logo { height: 32px; }
  .nav-cta { padding: 10px 14px; font-size: .84rem; }
}

/* Acessibilidade: menos movimento.
   Desliga animações em loop e o deslize de entrada, mantém as
   transições de cor e opacidade, que são feedback e não incomodam. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal { transform: none !important; filter: none !important; transition: opacity 1s var(--ease) !important; }
  html { scroll-behavior: auto; }
}
