/* ============================================================
   RealJet Informática — Sistema de Design Global
   Fase 1: variáveis, componentes, navbar, footer,
   WhatsApp flutuante e sistema de animações.
   ============================================================ */

/* ---------- 1. Custom Properties ---------- */
:root {
  /* Paleta oficial RealJet */
  --navy:        #1A2B5E; /* Azul principal  */
  --blue:        #2C4099; /* Azul médio      */
  --cyan:        #00B5E2; /* Ciano           */
  --magenta:     #E8303A; /* CTA principal   */
  --yellow:      #F5C800; /* Decorativo      */
  --offwhite:    #F5F0E8; /* Background      */
  --ink:         #0D0D0D; /* Texto principal */
  --gray:        #5A5A5A; /* Texto secundário*/
  --white:       #ffffff;
  --wa-green:    #25D366; /* WhatsApp        */

  /* Tipografia */
  --font-title: 'Sora', system-ui, sans-serif;
  --font-body:  'Inter', system-ui, sans-serif;

  /* Espaçamento e raios */
  --radius-sm: 8px;
  --radius:    16px;
  --radius-lg: 24px;
  --header-h:  76px;
  --maxw:      1200px;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(26, 43, 94, .08);
  --shadow:    0 8px 28px rgba(26, 43, 94, .12);
  --shadow-lg: 0 18px 50px rgba(26, 43, 94, .18);

  /* Transições */
  --t-fast: .18s ease;
  --t:      .3s ease;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--offwhite);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  line-height: 1.15;
  font-weight: 700;
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.section-head p  { color: var(--gray); font-size: 1.075rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--cyan);
  margin-bottom: .9rem;
}

.bg-navy     { background: var(--navy);     color: var(--white); }
.bg-offwhite { background: var(--offwhite); }
.bg-white    { background: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy .section-head p { color: rgba(255,255,255,.8); }
.text-cyan   { color: var(--cyan); }

/* ---------- 4. Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: .98rem;
  padding: .85rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast),
              background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--magenta);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(232, 48, 58, .32);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(232, 48, 58, .42); }

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { box-shadow: var(--shadow); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.btn-ghost-light:hover { background: var(--white); color: var(--navy); }

.btn-wa { background: var(--wa-green); color: var(--white); }
.btn-wa:hover { box-shadow: 0 12px 28px rgba(37, 211, 102, .4); }

.btn-block { width: 100%; }

/* ---------- 5. Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
  border-top: 4px solid transparent;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .card-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  margin-bottom: 1.2rem;
  background: rgba(0, 181, 226, .12);
  color: var(--cyan);
}
.card .card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.card p  { color: var(--gray); }

.card-list { margin-top: 1.1rem; display: grid; gap: .6rem; }
.card-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--gray);
  font-size: .96rem;
}
.card-list li::before {
  content: "";
  position: absolute; left: 0; top: .45em;
  width: 1.05rem; height: 1.05rem;
  background: var(--cyan);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

.accent-navy:hover    { border-top-color: var(--navy); }
.accent-cyan:hover    { border-top-color: var(--cyan); }
.accent-magenta:hover { border-top-color: var(--magenta); }

.card-link {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.2rem;
  font-family: var(--font-title);
  font-weight: 600; font-size: .92rem;
  color: var(--blue);
}
.card-link:hover { color: var(--magenta); }
.card-link svg { width: 1.05em; height: 1.05em; transition: transform var(--t-fast); }
.card-link:hover svg { transform: translateX(4px); }

/* ---------- 6. Navbar ---------- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(245, 240, 232, .82);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  transition: box-shadow var(--t), background var(--t);
}
.navbar.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(245, 240, 232, .94);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo img { height: 42px; width: auto; }
.nav-logo { display: flex; align-items: center; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .35rem;
}
.nav-links a {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: .96rem;
  padding: .5rem .85rem;
  border-radius: var(--radius-sm);
  color: var(--navy);
  transition: background var(--t-fast), color var(--t-fast);
}
.nav-links a:hover { background: rgba(26, 43, 94, .08); }
.nav-links a.active {
  background: rgba(0, 181, 226, .16);
  color: var(--blue);
}
.nav-actions { display: flex; align-items: center; gap: .75rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 9px; right: 9px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t-fast), top var(--t);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Empurra o conteúdo abaixo do header fixo */
.page { padding-top: var(--header-h); }

/* ---------- 7. Hero interno (páginas) ---------- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: clamp(2.5rem, 6vw, 3.5rem) 0;
  min-height: 320px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(420px circle at 88% 18%, rgba(0,181,226,.22), transparent 60%),
    radial-gradient(420px circle at 8% 92%, rgba(232,48,58,.18), transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3rem); }
.page-hero p  { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-top: 1rem; max-width: 640px; }

.breadcrumb {
  display: flex; gap: .5rem; align-items: center;
  font-size: .88rem; color: rgba(255,255,255,.75);
  margin-bottom: 1rem;
}
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span { color: var(--cyan); }

/* ---------- 8. Métricas / counters ---------- */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.metric {
  text-align: center;
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(255,255,255,.14);
}
.metric:last-child { border-right: none; }
.metric .num {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  color: var(--white);
  line-height: 1;
}
.metric .num.accent { color: var(--cyan); }
.metric .label { margin-top: .6rem; color: rgba(255,255,255,.78); font-size: .95rem; }

/* ---------- 9. WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--wa-green);
  display: grid; place-items: center;
  z-index: 1100;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  transition: transform var(--t), box-shadow var(--t);
  animation: wa-pulse 2.4s infinite;
}
.wa-float svg { width: 32px; height: 32px; fill: var(--white); }
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 36px rgba(37, 211, 102, .6);
}
@keyframes wa-pulse {
  0%   { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- 10. Footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.78);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}
.footer h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}
.footer-brand img { height: 40px; margin-bottom: 1rem; background: var(--white); padding: 8px 14px; border-radius: 10px; }
.footer-brand p { font-size: .94rem; line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: .75rem; margin-top: 1.2rem; }
.footer-social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  transition: background var(--t-fast), transform var(--t-fast);
}
.footer-social a:hover { background: var(--cyan); transform: translateY(-2px); }
.footer-social svg { width: 20px; height: 20px; fill: var(--white); }

.footer-links li { margin-bottom: .65rem; }
.footer-links a { font-size: .94rem; transition: color var(--t-fast); }
.footer-links a:hover { color: var(--cyan); }

.footer-contact li {
  display: flex; gap: .65rem; align-items: flex-start;
  font-size: .92rem; margin-bottom: .8rem;
}
.footer-contact svg { width: 18px; height: 18px; fill: var(--cyan); flex-shrink: 0; margin-top: .2rem; }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  font-size: .85rem;
}
.footer-bottom a { color: var(--cyan); }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- 11. Animações reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 12. Grids utilitários ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split img, .media-frame {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.media-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: grid; place-items: center;
  color: rgba(255,255,255,.6);
  overflow: hidden;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 13. Pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 1rem; }
.pill {
  display: flex; align-items: center; gap: .8rem;
  background: var(--white);
  border-radius: 50px;
  padding: .85rem 1.4rem;
  box-shadow: var(--shadow-sm);
  font-weight: 500;
  font-size: .96rem;
}
.pill svg { width: 22px; height: 22px; color: var(--cyan); flex-shrink: 0; }

/* ---------- 14. Timeline ---------- */
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before {
  content: "";
  position: absolute; left: 18px; top: 0; bottom: 0;
  width: 2px; background: rgba(26,43,94,.18);
}
.timeline-item { position: relative; padding: 0 0 2.2rem 3.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: 9px; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--cyan);
  border: 4px solid var(--offwhite);
  box-shadow: 0 0 0 2px var(--cyan);
}
.timeline-item:nth-child(even) .timeline-dot { background: var(--magenta); box-shadow: 0 0 0 2px var(--magenta); }
.timeline-year { font-family: var(--font-title); font-weight: 700; color: var(--blue); font-size: 1.2rem; }
.timeline-item p { color: var(--gray); margin-top: .25rem; }

/* Timeline horizontal (processo de instalação) */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.4rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
}
.step-num {
  width: 48px; height: 48px;
  margin: 0 auto 1rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 700; font-size: 1.2rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.step p { color: var(--gray); font-size: .92rem; }

/* ---------- 15. Tabela comparativa ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 560px;
}
.compare th, .compare td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid rgba(26,43,94,.1); }
.compare thead th { font-family: var(--font-title); background: var(--offwhite); }
.compare th:nth-child(3), .compare td:nth-child(3) {
  background: rgba(26,43,94,.04);
}
.compare thead th:nth-child(3) { background: var(--navy); color: var(--white); }
.compare tbody tr:last-child td { border-bottom: none; }

/* ---------- 16. Tabs / filtros ---------- */
.tabs {
  display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center;
  margin-bottom: 2.5rem;
}
.tab {
  font-family: var(--font-title);
  font-weight: 600; font-size: .95rem;
  padding: .65rem 1.4rem;
  border-radius: 50px;
  border: 2px solid rgba(26,43,94,.18);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: all var(--t-fast);
}
.tab:hover { border-color: var(--cyan); }
.tab.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Tabs de âncora (segmentos) */
.anchor-tabs {
  position: sticky;
  top: var(--header-h);
  z-index: 500;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.anchor-tabs .container { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; padding-block: .75rem; }
.anchor-tabs a {
  font-family: var(--font-title);
  font-weight: 600; font-size: .95rem;
  padding: .55rem 1.2rem; border-radius: 50px;
  color: var(--navy);
  transition: background var(--t-fast), color var(--t-fast);
}
.anchor-tabs a:hover { background: rgba(0,181,226,.14); color: var(--blue); }

/* ---------- 17. Strip de parceiros / clientes ---------- */
.strip { background: var(--white); padding: 2.5rem 0; }
.strip-label {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 1.6rem;
}
.logos {
  display: flex; flex-wrap: wrap; gap: 2.5rem;
  justify-content: center; align-items: center;
}
.logos .logo-item {
  font-family: var(--font-title);
  font-weight: 700; font-size: 1.3rem;
  color: var(--gray);
  filter: grayscale(1); opacity: .7;
  transition: filter var(--t), opacity var(--t), color var(--t);
}
.logos .logo-item:hover { filter: grayscale(0); opacity: 1; color: var(--navy); }

/* Cards de clientes (brasão) */
.clients-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.client-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  display: flex; align-items: center; gap: .9rem;
  box-shadow: var(--shadow-sm);
  font-size: .92rem; font-weight: 500;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.client-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.client-card .crest {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 8px;
  background: rgba(0,181,226,.14);
  display: grid; place-items: center;
  color: var(--blue); font-weight: 700; font-family: var(--font-title);
}
.cliente-hidden { display: none; }
.cliente-entrar { animation: clienteEntrar .35s ease both; }
@keyframes clienteEntrar {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- 18. Faixa CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4rem);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px circle at 80% 20%, rgba(0,181,226,.25), transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 1.8rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-bullets {
  display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap;
  margin-top: 1.8rem; font-size: .92rem; color: rgba(255,255,255,.85);
}
.cta-bullets li { display: flex; align-items: center; gap: .5rem; }
.cta-bullets svg { width: 18px; height: 18px; color: var(--cyan); }

/* ---------- 19. Formulário de contato ---------- */
.form { display: grid; gap: 1.2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-title);
  font-weight: 600; font-size: .9rem; color: var(--navy);
}
.field label .req { color: var(--magenta); }
.field input,
.field select,
.field textarea {
  padding: .8rem 1rem;
  border: 2px solid rgba(26,43,94,.16);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,181,226,.18);
  outline: none;
}
.field .error-msg { color: var(--magenta); font-size: .82rem; min-height: 1em; display: none; }
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: var(--magenta); }
.field.invalid .error-msg { display: block; }

.form-success {
  display: none;
  background: rgba(37,211,102,.12);
  border: 1.5px solid var(--wa-green);
  color: #0a7a3a;
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  font-weight: 500;
}
.form-success.show { display: block; }

/* Bloco de informações de contato */
.contact-info {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem;
}
.contact-info h3 { color: var(--white); margin-bottom: 1.4rem; }
.contact-info .info-item {
  display: flex; gap: .9rem; align-items: flex-start;
  margin-bottom: 1.3rem;
}
.contact-info .info-item svg { width: 22px; height: 22px; fill: var(--cyan); flex-shrink: 0; margin-top: .15rem; }
.contact-info .info-item strong { display: block; color: var(--white); margin-bottom: .15rem; font-family: var(--font-title); }
.contact-info .info-item span,
.contact-info .info-item a { color: rgba(255,255,255,.82); font-size: .94rem; }
.contact-info .info-item a:hover { color: var(--cyan); }

/* ---------- 20. Mini-cards ---------- */
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.mini-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border-bottom: 4px solid var(--cyan);
}
.mini-card .mini-num { font-family: var(--font-title); font-weight: 800; font-size: 1.8rem; color: var(--blue); }
.mini-card h4 { margin: .4rem 0; }
.mini-card p { color: var(--gray); font-size: .9rem; }

/* ============================================================
   RESPONSIVO — mobile-first breakpoints: 1280 / 900 / 768 / 375
   ============================================================ */
@media (max-width: 1280px) {
  :root { --maxw: 1120px; }
}

@media (max-width: 900px) {
  /* Navbar mobile */
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--offwhite);
    padding: .75rem 1.25rem 1.5rem;
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform var(--t);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: .9rem 1rem; border-radius: var(--radius-sm); }
  .nav-actions .btn { display: none; }

  .grid-4, .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: none; }
  .metric { border-bottom: 1px solid rgba(255,255,255,.14); }
  .metric:nth-last-child(-n+2) { border-bottom: none; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .split, .clients-grid,
  .mini-cards { grid-template-columns: 1fr; }
  .split .media-order { order: -1; }
  .form-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: clamp(2.5rem, 9vw, 4rem) 0; }
  .cta-actions .btn,
  .page-hero .btn { width: 100%; }
}

@media (max-width: 375px) {
  .container { padding-inline: 1rem; }
  .wa-float { width: 54px; height: 54px; bottom: 1.25rem; right: 1.25rem; }
  .wa-float svg { width: 28px; height: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .metrics-grid, .grid-4 { grid-template-columns: 1fr; }
  .metric { border-right: none; }
  .logos { gap: 1.5rem; }
  .logos .logo-item { font-size: 1.1rem; }
}

/* ============================================================
   21. Equipamentos para locação (frota) + mídia de produto
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(26, 43, 94, .1);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card.hidden { display: none; }

/* Mídia de produto: placeholder por trás + imagem opcional por cima */
.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #eef1f6, #dfe4ee);
  display: grid;
  place-items: center;
}
.product-media .ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: .5rem;
  text-align: center;
  color: var(--gray);
}
.product-media .ph svg { width: 40px; height: 40px; color: var(--blue); opacity: .55; }
.product-media .ph span { font-family: var(--font-title); font-weight: 600; font-size: .8rem; line-height: 1.2; }
.product-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--white);
  padding: .6rem;
}

.brand-tag {
  align-self: flex-start;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  padding: .25rem .65rem;
  border-radius: 50px;
  margin-bottom: .55rem;
}
.brand-hp      { background: #0096D6; }
.brand-xerox   { background: #DA1F26; }
.brand-brother { background: #F5C800; color: var(--ink); }
.brand-epson   { background: #003399; }
.brand-canon   { background: #BC0024; }
.brand-samsung { background: #1428A0; }

.product-card h3 { font-size: 1.05rem; margin-bottom: .65rem; }

.spec-pills { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.spec-pill {
  font-size: .74rem;
  font-weight: 500;
  background: rgba(0, 181, 226, .1);
  color: var(--blue);
  padding: .28rem .6rem;
  border-radius: 50px;
}

.rental-tag {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .78rem;
  font-weight: 600;
  color: #0a7a3a;
}
.rental-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wa-green);
}

/* Mídia ilustrativa nos cards da página Equipamentos */
.brand-media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, #eef1f6, #dfe4ee);
  display: grid;
  place-items: center;
}
.brand-media .ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--gray);
  text-align: center;
  padding: .5rem;
}
.brand-media .ph svg { width: 46px; height: 46px; color: var(--blue); opacity: .5; }
.brand-media .ph span { font-family: var(--font-title); font-weight: 600; font-size: .85rem; }
.brand-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--white);
  padding: .8rem;
}

/* Card CTA "Ver todos os equipamentos" (fantasma) */
.product-card--ver-mais {
  border: 2px dashed rgba(26, 43, 94, .35);
  background: var(--offwhite);
  justify-content: center;
  text-align: center;
}
.product-media--cta {
  background: var(--blue);
  display: grid;
  place-items: center;
}
.product-media--cta svg { width: 56px; height: 56px; }
.product-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex: 1;
}
.ver-mais-label { margin: 0; font-size: .9rem; color: var(--gray); }
.ver-mais-btn { display: inline-flex; align-items: center; gap: .5rem; }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
}
