/* ===== Design tokens (brand: navy #24273F / cyan #67D9F4 / gray #BFBFBF / charcoal #262626) ===== */
:root {
  --navy: #24273F;
  --navy-soft: #2E3255;
  --navy-deep: #1A1C2E;
  --cyan: #67D9F4;
  --cyan-soft: rgba(103, 217, 244, 0.12);
  --gray: #BFBFBF;
  --charcoal: #262626;
  --paper: #FFFFFF;
  --tint: #F5F7FB;
  --border: #E6E9F0;
  --border-dark: rgba(255,255,255,0.12);

  --font: 'Barlow', ui-sans-serif, system-ui, sans-serif;

  --container: 1180px;
  --radius: 16px;
  --shadow: 0 20px 50px -20px rgba(36, 39, 63, 0.25);
  --ease: cubic-bezier(.16,1,.3,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.15; }
p { line-height: 1.7; color: #4b4f5c; margin: 0 0 1rem; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

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

/* ===== Progress bar ===== */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--cyan), #a5ecfb);
  z-index: 1000; transition: width .1s linear;
}

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 18px 0;
  transition: background .3s var(--ease), padding .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(36, 39, 63, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 0;
  box-shadow: 0 10px 30px -15px rgba(0,0,0,.4);
}
.header-inner { display: flex; align-items: center; gap: 32px; }
.brand { flex-shrink: 0; }
.brand-logo { height: 56px; width: auto; transition: height .3s var(--ease); }
.site-header.scrolled .brand-logo { height: 46px; }

.main-nav { display: flex; align-items: center; gap: 28px; margin-right: auto; margin-left: 12px; }
.nav-link {
  font-size: 15px; font-weight: 500; color: var(--gray);
  position: relative; padding: 4px 0; transition: color .2s;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--cyan); transition: width .25s var(--ease);
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1.5px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--cyan); color: var(--navy); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(103,217,244,.55); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; flex-shrink: 0;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  padding-top: 100px;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35;
}
.hero-glow-1 { width: 520px; height: 520px; background: var(--cyan); top: -180px; right: -120px; }
.hero-glow-2 { width: 420px; height: 420px; background: #4b5a9a; bottom: -200px; left: -140px; opacity: .4; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 40%, transparent 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 780px; }

.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 18px;
}
.eyebrow-on-dark { color: var(--cyan); }
.eyebrow.center { display: block; text-align: center; }

.hero-title { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.02em; margin-bottom: 22px; }
.text-accent { color: var(--cyan); }
.hero-subtitle { font-size: 18px; color: rgba(255,255,255,.75); max-width: 600px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-value { font-size: 26px; font-weight: 800; color: #fff; }
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,.6); }
.hero-stat-divider { width: 1px; height: 34px; background: rgba(255,255,255,.18); }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.35); border-radius: 20px; z-index: 2;
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 2px; background: var(--cyan);
  animation: scrollcue 1.8s infinite;
}
@keyframes scrollcue { 0% { opacity: 1; top: 8px; } 70% { opacity: 0; top: 20px; } 100% { opacity: 0; top: 8px; } }

/* ===== Sections ===== */
.section { padding: 110px 0; }
.section-light { background: var(--paper); }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy); color: #fff; }

.section-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -0.01em; margin-bottom: 18px; }
.section-title.on-dark { color: #fff; }
.section-title.center { text-align: center; }
.section-subtitle { font-size: 17px; color: #6a6f7c; max-width: 560px; }
.section-subtitle.center { margin: 0 auto 56px; text-align: center; }
.section-tint .section-subtitle.center { margin-bottom: 56px; }

/* ===== Sobre ===== */
.sobre-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.sobre-text .section-title { margin-top: 6px; }
.value-card {
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 20px; display: flex; align-items: center; gap: 14px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.sobre-values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--cyan-soft); color: var(--navy);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.value-icon svg { width: 22px; height: 22px; }
.value-card h3 { font-size: 16px; font-weight: 600; }

/* ===== Services ===== */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 8px; }
.service-card {
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 24px; transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: var(--cyan);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; margin: 0; }

/* ===== Casos ===== */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.case-card {
  background: rgba(255,255,255,.05); border: 1px solid var(--border-dark); border-radius: var(--radius);
  padding: 36px 28px; text-align: center; transition: transform .28s var(--ease), background .28s;
}
.case-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.08); }
.case-value { display: block; font-size: 2.6rem; font-weight: 800; color: var(--cyan); margin-bottom: 14px; letter-spacing: -0.02em; }
.case-card p { color: rgba(255,255,255,.75); margin: 0; font-size: 15px; }

/* ===== Contato ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-list { display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--navy);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-label { display: block; font-size: 13px; color: #8a8f9c; margin-bottom: 2px; }
.contact-list a { font-weight: 600; color: var(--navy); transition: color .2s; }
.contact-list a:hover { color: var(--cyan); }
.contact-list span { font-weight: 600; color: var(--navy); }

.contact-form { background: var(--tint); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 13px; font-weight: 600; color: var(--navy); }
.form-row input, .form-row textarea {
  font-family: inherit; font-size: 15px; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--border); background: #fff; resize: vertical; transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px var(--cyan-soft);
}
.form-note { font-size: 13.5px; margin: 12px 0 0; text-align: center; min-height: 18px; }
.form-note.success { color: #1b8a5a; }
.form-note.error { color: #c0392b; }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 44px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-logo { height: 34px; opacity: .9; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-nav a:hover { color: var(--cyan); }
.footer-copy { font-size: 13px; color: rgba(255,255,255,.4); margin: 0; width: 100%; text-align: center; padding-top: 24px; margin-top: 24px; border-top: 1px solid rgba(255,255,255,.08); }

/* ===== Aviso de privacidade (nomes pouco genéricos de propósito, para não colidir com listas de bloqueio de anúncios) ===== */
.axf-notice {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 950;
  max-width: 620px; margin: 0 auto;
  background: var(--navy); color: #fff;
  border-radius: 14px; padding: 20px 24px;
  box-shadow: 0 20px 50px -15px rgba(0,0,0,.45);
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between;
  transform: translateY(140%); opacity: 0; transition: transform .4s var(--ease), opacity .4s var(--ease);
  pointer-events: none;
}
.axf-notice.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.axf-notice p { color: rgba(255,255,255,.8); font-size: 14px; margin: 0; flex: 1 1 260px; }
.axf-notice a { color: var(--cyan); text-decoration: underline; }
.axf-notice-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-ghost-dark { background: transparent; color: rgba(255,255,255,.7); border: 1.5px solid rgba(255,255,255,.25); padding: 10px 18px; font-size: 14px; }
.btn-ghost-dark:hover { color: #fff; border-color: rgba(255,255,255,.5); }
.axf-notice .btn-primary { padding: 10px 20px; font-size: 14px; }

/* ===== WhatsApp FAB ===== */
.whatsapp-fab {
  position: fixed; bottom: 26px; right: 26px; z-index: 800;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(37,211,102,.6);
  transition: transform .25s var(--ease);
}
.whatsapp-fab svg { width: 28px; height: 28px; }
.whatsapp-fab:hover { transform: scale(1.08); }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .sobre-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(78vw, 320px);
    background: var(--navy-deep); flex-direction: column; align-items: flex-start;
    padding: 110px 32px 32px; gap: 22px; margin: 0;
    transform: translateX(100%); transition: transform .35s var(--ease);
    box-shadow: -20px 0 50px rgba(0,0,0,.35);
  }
  .main-nav.open { transform: translateX(0); }
  .nav-link { font-size: 17px; }
  .nav-toggle { display: flex; }
  .btn-nav-cta { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .sobre-values { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
  .hero { padding-top: 120px; }
}

@media (max-width: 520px) {
  .hero-stats { gap: 18px; }
  .hero-stat-divider { display: none; }
  .contact-form { padding: 24px; }
}
