/* ==========================================================================
   ProtegeFire — Projeto demonstrativo (Macaíba Online & Host)
   Estilo principal — HTML5 + CSS3 puro, sem frameworks/dependências.
   ========================================================================== */

/* ---------- Reset básico ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1, h2, h3, h4,
p, ul, ol, figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

input, textarea, select, button {
  font-family: inherit;
}

/* ---------- Tokens de design ---------- */
:root {
  --red: #C0272D;
  --red-dark: #8F1A1F;
  --red-darker: #6E1417;
  --yellow: #F2B705;
  --yellow-dark: #C99200;
  --graphite: #1F2226;
  --graphite-soft: #35393E;
  --gray-900: #202225;
  --gray-600: #5B6067;
  --gray-400: #8A9098;
  --gray-200: #E3E3E5;
  --gray-100: #F4F4F5;
  --off-white: #FBF7F0;
  --white: #FFFFFF;

  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container-w: 1180px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 3px rgba(31, 34, 38, 0.08);
  --shadow-md: 0 8px 24px rgba(31, 34, 38, 0.10);
  --shadow-lg: 0 16px 40px rgba(31, 34, 38, 0.14);

  /* Curva de easing única usada em hover, reveal e entrada do Hero —
     transições consistentes em todo o site (premium, sem bounce/elastic). */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 220ms var(--ease-premium);
  --reveal-duration: 700ms;
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-base);
  color: var(--graphite);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.15;
  color: var(--graphite);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  color: var(--gray-600);
}

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

section {
  padding-block: clamp(56px, 8vw, 100px);
}

/* ---------- Foco visível / acessibilidade ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--yellow-dark);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--graphite);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), color var(--transition), border-color var(--transition);
  border: 2px solid transparent;
  min-height: 48px;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* Microinteração de toque/clique — feedback tátil discreto, comum a todos os botões */
.btn:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 100ms;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--yellow);
  color: var(--graphite);
}

.btn-secondary:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}

.btn-outline:hover {
  background: var(--red);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--red-dark);
  border-color: var(--white);
}

.btn-whatsapp {
  background: var(--graphite);
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-nav {
  display: none;
}

.eyebrow {
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-weight: 700;
  margin-top: 8px;
  transition: gap var(--transition);
}

.link-arrow:hover {
  gap: 12px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(180%) blur(8px);
  box-shadow: 0 1px 0 rgba(31, 34, 38, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-text {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--graphite);
}

.brand-text strong {
  color: var(--red);
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a:not(.btn) {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--graphite-soft);
  position: relative;
  padding-block: 6px;
}

.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width var(--transition);
}

.main-nav a:not(.btn):hover::after,
.main-nav a:not(.btn):focus-visible::after {
  width: 100%;
}

.main-nav a:not(.btn):hover {
  color: var(--red);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  /* Mantém o botão clicável acima do painel do menu (fixed, z-index: 495)
     durante toda a transição de abertura/fechamento — sem isso, um clique
     rápido durante a animação pode ser interceptado por um link do menu. */
  position: relative;
  z-index: 496;
}

.menu-toggle:hover {
  background: var(--gray-100);
}

.menu-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--graphite);
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 21, 23, 0.5);
  z-index: 490;
}

.nav-overlay[hidden] {
  display: none;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  padding-top: calc(72px + clamp(48px, 7vw, 90px));
  padding-bottom: clamp(56px, 8vw, 90px);
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(242, 183, 5, 0.10), transparent 60%),
    linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 1.8rem + 3vw, 4rem);
  color: var(--graphite);
  margin-bottom: 14px;
}

.hero h1 span {
  color: var(--red);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem);
  font-weight: 700;
  color: var(--graphite-soft);
  margin-bottom: 14px;
}

.hero-text {
  font-size: 1.02rem;
  max-width: 46ch;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-graphic {
  width: min(420px, 90vw);
  height: auto;
}

/* Camada decorativa por trás da ilustração — único alvo do parallax sutil
   (nunca aplicado ao conteúdo principal). --parallax-y é definido via JS,
   com fallback seguro para 0px quando o script não roda. */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8%;
  background: radial-gradient(closest-side, rgba(242, 183, 5, 0.18), transparent 72%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  transform: translateY(var(--parallax-y, 0px));
}

/* ---------- Entrada do Hero ao carregar a página ----------
   Sequência: eyebrow → título → subtítulo → texto → botões → ilustração.
   100% CSS (não depende de JavaScript) — se as animações não forem
   suportadas, os elementos permanecem com a opacidade padrão (visíveis). */
@media (prefers-reduced-motion: no-preference) {
  @keyframes heroRise {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  @keyframes heroVisualRise {
    from { opacity: 0; transform: translateY(12px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }

  .hero .eyebrow,
  .hero h1,
  .hero .hero-subtitle,
  .hero .hero-text,
  .hero .hero-actions {
    animation: heroRise 650ms var(--ease-premium) both;
  }

  .hero .eyebrow       { animation-delay: 60ms; }
  .hero h1              { animation-delay: 150ms; }
  .hero .hero-subtitle  { animation-delay: 270ms; }
  .hero .hero-text      { animation-delay: 370ms; }
  .hero .hero-actions   { animation-delay: 470ms; }

  .hero-visual {
    animation: heroVisualRise 800ms var(--ease-premium) both;
    animation-delay: 320ms;
  }

  /* Chama do escudo — flicker contínuo e quase imperceptível (elemento
     decorativo, único movimento em loop de toda a página). */
  @keyframes flameFlicker {
    0%, 100% { transform: scale(1) translateY(0); opacity: 1; }
    50%      { transform: scale(1.015) translateY(-1px); opacity: 0.96; }
  }

  .flame-flicker {
    animation: flameFlicker 3200ms ease-in-out infinite;
    transform-origin: 229px 197px;
  }
}

/* ==========================================================================
   FAIXA DE DESTAQUES
   ========================================================================== */
.highlights {
  padding-block: 0;
  background: var(--graphite);
}

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

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.highlight-item:nth-child(2n) {
  border-right: none;
}

.highlight-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.highlight-label {
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
}

/* ==========================================================================
   SOBRE
   ========================================================================== */
.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}

.about-graphic {
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
}

.about-content p {
  margin-bottom: 16px;
}

.about-content h2 {
  margin-bottom: 18px;
}

/* ==========================================================================
   SEÇÕES — cabeçalho comum
   ========================================================================== */
.section-heading {
  max-width: 680px;
  margin-bottom: 44px;
}

.section-heading.light .eyebrow {
  color: var(--yellow-dark);
}

.section-lead {
  margin-top: 14px;
  font-size: 1.02rem;
}

/* ==========================================================================
   SERVIÇOS
   ========================================================================== */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: #FCE9EA;
  color: var(--red);
  margin-bottom: 18px;
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
}

/* Microinterações de hover — apenas em dispositivos com hover real (mouse),
   nunca exigidas para uso/compreensão do conteúdo no touch/mobile. */
@media (hover: hover) and (pointer: fine) {
  .service-card:hover .service-icon {
    background: var(--red);
    color: var(--white);
    transform: scale(1.06);
  }
}

.service-card h3 {
  margin-bottom: 10px;
}

/* ==========================================================================
   SOLUÇÕES PARA O NEGÓCIO
   ========================================================================== */
.business {
  background: var(--gray-100);
}

.business-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.business-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--red);
  transition: transform var(--transition), box-shadow var(--transition), border-top-color var(--transition);
}

.business-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

@media (hover: hover) and (pointer: fine) {
  .business-card:hover {
    border-top-color: var(--yellow);
  }
}

.business-card h3 {
  margin-bottom: 10px;
  color: var(--red-dark);
}

/* ==========================================================================
   DIFERENCIAIS
   ========================================================================== */
.differentials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.differential-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 4px;
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FEF6DC;
  color: var(--yellow-dark);
  font-weight: 800;
  margin-bottom: 6px;
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
}

@media (hover: hover) and (pointer: fine) {
  .differential-item:hover .check {
    background: var(--yellow-dark);
    color: var(--white);
    transform: scale(1.08);
  }
}

.differential-item h3 {
  margin-bottom: 2px;
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-banner {
  background: linear-gradient(120deg, var(--red-darker) 0%, var(--red) 55%, var(--red-dark) 100%);
  position: relative;
}

.cta-inner {
  text-align: center;
  max-width: 760px;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 14px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ==========================================================================
   CONTATO
   ========================================================================== */
.contact {
  background: var(--gray-100);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.contact-list div {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
  font-weight: 700;
}

.contact-list a {
  font-weight: 700;
  color: var(--graphite);
  transition: color var(--transition);
}

.contact-list a:hover {
  color: var(--red);
}

.placeholder-tag {
  font-size: 0.72rem;
  color: var(--gray-400);
  font-style: italic;
  margin-top: 2px;
}

.map-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-visual {
  height: 160px;
  width: 100%;
  background: var(--gray-200);
}

.map-info {
  padding: 20px 22px;
}

.map-info p {
  margin-bottom: 4px;
}

.map-note {
  color: var(--gray-400);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

/* ---------- Formulário ---------- */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}

.form-note {
  font-size: 0.85rem;
  color: var(--gray-400);
  background: var(--gray-100);
  border-left: 3px solid var(--yellow);
  padding: 12px 14px;
  border-radius: 6px;
  margin-bottom: 22px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-row-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.form-row-group .form-row {
  margin-bottom: 0;
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--graphite-soft);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.96rem;
  color: var(--graphite);
  background: var(--white);
  transition: border-color var(--transition);
  min-height: 48px;
}

.contact-form textarea {
  min-height: 100px;
  resize: vertical;
}

.contact-form input:hover,
.contact-form textarea:hover,
.contact-form select:hover {
  border-color: var(--gray-400);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--red);
}

.form-feedback {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.2em;
  color: var(--red-dark);
}

.form-row-group + .form-row {
  margin-top: 18px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--graphite);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  color: var(--white);
  font-size: 1.2rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 12px;
  max-width: 34ch;
  font-size: 0.9rem;
}

.footer-links h3,
.footer-contact h3 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-contact a,
.footer-contact li {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--yellow);
}

.footer-bottom {
  padding-block: 20px;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-credit {
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   BOTÃO FLUTUANTE WHATSAPP
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1F2226;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 400;
  transition: transform var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* Entrada única ao carregar — depois disso o botão permanece estável,
   sem pulsar/vibrar continuamente (100% CSS, independe de JS). */
@media (prefers-reduced-motion: no-preference) {
  @keyframes floatButtonIn {
    from { opacity: 0; transform: translateY(16px) scale(0.9); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }

  .whatsapp-float {
    animation: floatButtonIn 500ms var(--ease-premium) both;
    animation-delay: 900ms;
  }
}

/* ==========================================================================
   ANIMAÇÕES — reveal on scroll
   ========================================================================== */
/* Sem JavaScript (ou antes dele carregar), o conteúdo permanece
   totalmente visível — a ocultação só é ativada pela classe "js",
   adicionada via script síncrono no <head>. Assim, se o JS falhar
   ou demorar, nenhuma seção fica invisível. */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--reveal-duration) var(--ease-premium),
              transform var(--reveal-duration) var(--ease-premium);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger — quando várias seções revelam juntas (mesmo scroll), os cards de
   cada grade aparecem em pequena sequência em vez de todos de uma vez.
   Puramente CSS: apenas atrasa a transição já disparada pelo IntersectionObserver.
   Isolado em prefers-reduced-motion: no-preference para garantir atraso zero
   quando o usuário pedir menos movimento (a regra global já zera a duração,
   mas o delay é resetado aqui explicitamente por clareza e segurança). */
@media (prefers-reduced-motion: no-preference) {
  .js .services-grid .service-card:nth-child(1) { transition-delay: 0ms; }
  .js .services-grid .service-card:nth-child(2) { transition-delay: 70ms; }
  .js .services-grid .service-card:nth-child(3) { transition-delay: 140ms; }
  .js .services-grid .service-card:nth-child(4) { transition-delay: 210ms; }
  .js .services-grid .service-card:nth-child(5) { transition-delay: 280ms; }
  .js .services-grid .service-card:nth-child(6) { transition-delay: 350ms; }

  .js .business-grid .business-card:nth-child(1) { transition-delay: 0ms; }
  .js .business-grid .business-card:nth-child(2) { transition-delay: 90ms; }
  .js .business-grid .business-card:nth-child(3) { transition-delay: 180ms; }

  .js .differentials-grid .differential-item:nth-child(1) { transition-delay: 0ms; }
  .js .differentials-grid .differential-item:nth-child(2) { transition-delay: 70ms; }
  .js .differentials-grid .differential-item:nth-child(3) { transition-delay: 140ms; }
  .js .differentials-grid .differential-item:nth-child(4) { transition-delay: 210ms; }

  .js .highlights-grid .highlight-item:nth-child(1) { transition-delay: 0ms; }
  .js .highlights-grid .highlight-item:nth-child(2) { transition-delay: 60ms; }
  .js .highlights-grid .highlight-item:nth-child(3) { transition-delay: 120ms; }
  .js .highlights-grid .highlight-item:nth-child(4) { transition-delay: 180ms; }
}

/* CTA — mesma revelação, com leve escala para reforçar o momento de chamada final */
.js .reveal.reveal-scale {
  transform: translateY(20px) scale(0.98);
}

.js .reveal.reveal-scale.is-visible {
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   RESPONSIVO — TABLET (>=600px)
   ========================================================================== */
@media (min-width: 600px) {
  .hero-actions {
    flex-wrap: nowrap;
  }

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

  .business-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .form-row-group {
    grid-template-columns: 1fr 1fr;
  }

  .highlights-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .highlight-item {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: none;
    justify-content: center;
  }

  .highlight-item:last-child {
    border-right: none;
  }
}

/* ==========================================================================
   RESPONSIVO — DESKTOP PEQUENO (>=900px)
   ========================================================================== */
@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    display: flex;
    flex-direction: row;
    background: none;
    box-shadow: none;
    padding: 0;
    height: auto;
    width: auto;
  }

  .main-nav ul {
    flex-direction: row;
  }

  .btn-nav {
    display: inline-flex;
  }

  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .about-inner {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .differentials-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

/* ==========================================================================
   RESPONSIVO — DESKTOP GRANDE (>=1200px)
   ========================================================================== */
@media (min-width: 1200px) {
  .container {
    padding-inline: 24px;
  }
}

/* ==========================================================================
   MENU MOBILE (< 900px)
   ========================================================================== */
@media (max-width: 899px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 84vw);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 96px 28px 40px;
    box-shadow: -12px 0 30px rgba(0,0,0,0.12);
    transform: translateX(100%);
    transition: transform 280ms ease;
    z-index: 495;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
  }

  .main-nav ul li {
    width: 100%;
  }

  .main-nav a:not(.btn) {
    display: block;
    width: 100%;
    padding: 14px 6px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--gray-100);
  }

  .btn-nav {
    display: inline-flex;
    margin-top: 20px;
    width: 100%;
  }
}

/* ==========================================================================
   TELAS MUITO PEQUENAS (<380px) — ajustes finos
   ========================================================================== */
@media (max-width: 380px) {
  .container {
    padding-inline: 16px;
  }

  .btn-lg {
    padding: 13px 20px;
    font-size: 0.92rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    right: 14px;
    bottom: 14px;
  }
}
