/* =========================================================
   POST — Agência de Marketing Digital
   Design system + base styles
   ========================================================= */

:root {
  --color-primary-dark: #41135B;
  --color-primary: #73086C;
  --color-accent: #D6A92B;
  --color-accent-light: #e8c667;
  --color-light: #F6F6F6;
  --color-white: #FFFFFF;
  --color-ink: #221129;
  --color-ink-soft: #5a4d63;
  --color-border: #e7e1ea;
  --color-success: #1f8a4c;
  --color-error: #c0392b;

  --gradient-brand: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);

  --font-base: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  --container-w: 1180px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  /* Sombras em camadas: contacto + difusa + ambiente, tingidas de roxo */
  --shadow-sm: 0 1px 2px rgba(65, 19, 91, 0.06), 0 4px 14px rgba(65, 19, 91, 0.07);
  --shadow-md: 0 2px 4px rgba(65, 19, 91, 0.05), 0 12px 24px rgba(65, 19, 91, 0.10), 0 28px 56px -16px rgba(65, 19, 91, 0.22);
  --shadow-lg: 0 4px 8px rgba(65, 19, 91, 0.06), 0 24px 48px rgba(65, 19, 91, 0.16), 0 56px 110px -28px rgba(65, 19, 91, 0.38);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --transition: 0.22s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-base);
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--color-primary-dark); }
p { color: var(--color-ink-soft); }

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

/* Skip link (accessibility) */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  padding: 12px 20px;
  z-index: 2000;
  font-weight: 600;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Visually hidden but accessible */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(115, 8, 108, 0.08);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}
.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin-bottom: 14px;
}
.section-lead {
  max-width: 640px;
  font-size: 1.05rem;
  color: var(--color-ink-soft);
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-head .section-lead { margin-inline: auto; }
.text-accent { color: var(--color-accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover, .btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--color-accent-light);
}
.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: rgba(255,255,255,0.12);
  border-color: var(--color-white);
}
.btn-dark {
  background: var(--color-primary-dark);
  color: var(--color-white);
}
.btn-dark:hover, .btn-dark:focus-visible {
  background: var(--color-primary);
  transform: translateY(-2px);
}
.btn-block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 0 0 rgba(65,19,91,0);
  transition: box-shadow var(--transition), padding var(--transition);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(65,19,91,0.1); }
.site-header.is-scrolled .nav { padding-block: 10px; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--color-primary-dark);
}
.brand img { width: 42px; height: 42px; }
.brand .brand-sub {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-ink-soft);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--color-ink);
  position: relative;
  padding: 6px 2px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--color-primary); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 22px; font-size: 0.92rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2.5px;
  background: var(--color-primary-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-dark) 100%);
  background-size: 220% 220%;
  animation: heroGradient 16s ease infinite;
  color: var(--color-white);
  overflow: hidden;
  padding-block: 76px 96px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(214,169,43,0.25), transparent 45%),
    radial-gradient(circle at 8% 90%, rgba(255,255,255,0.08), transparent 40%);
  pointer-events: none;
}
@keyframes heroGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-grid > div:first-child { animation: heroEnterUp 0.8s ease both; }
.hero-art { animation: heroEnterScale 0.9s 0.15s ease both; }
@keyframes heroEnterUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroEnterScale {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero h1 {
  color: var(--color-white);
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  margin-bottom: 20px;
}
.hero h1 span { color: var(--color-accent); }
.hero p.lead {
  color: rgba(255,255,255,0.86);
  font-size: 1.12rem;
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 34px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.75);
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--color-accent); flex-shrink: 0; }

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art .badge-circle {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.18), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}
.hero-art img { width: 58%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.28)); }
.hero-art .ring {
  position: absolute;
  inset: -26px;
  border: 1.5px dashed rgba(255,255,255,0.28);
  border-radius: 50%;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.stat-pill {
  position: absolute;
  background: var(--color-white);
  color: var(--color-primary-dark);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.stat-pill strong { display: block; font-size: 1.1rem; color: var(--color-accent); }
.stat-pill.pill-1 { top: 6%; left: -4%; }
.stat-pill.pill-2 { bottom: 10%; right: -6%; }

/* ---------- Sections ---------- */
.section { padding-block: 88px; }
.section-alt { background: var(--color-light); }
.section-dark {
  background: var(--gradient-brand);
  color: var(--color-white);
}
.section-dark .section-title { color: var(--color-white); }
.section-dark .section-lead { color: rgba(255,255,255,0.82); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  height: 100%;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: rgba(115,8,108,0.08);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { font-size: 0.95rem; }
.card a.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
}
.card a.card-link svg { width: 16px; height: 16px; transition: transform var(--transition); }
.card a.card-link:hover svg { transform: translateX(4px); }

.service-card { display: flex; flex-direction: column; }

/* ---------- Why us / features list ---------- */
.feature-row {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--color-border);
}
.feature-row:last-child { border-bottom: none; }
.feature-row .num {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-accent);
  min-width: 40px;
}
.feature-row h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature-row p { font-size: 0.94rem; }

/* ---------- Stats / results ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-box {
  text-align: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-md);
  padding: 30px 16px;
}
.stat-box .value {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--color-accent);
  display: block;
}
.stat-box .label {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.82);
  margin-top: 6px;
}
.result-note {
  margin-top: 28px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  max-width: 640px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--color-primary-dark);
  background-image: var(--gradient-brand);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--color-white);
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--color-white); font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 460px; }
.cta-banner-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Segments (para quem é) ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: 12px; }
.tag-list li {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.tag-list li svg { width: 16px; height: 16px; color: var(--color-accent); }

/* ---------- Footer ---------- */
.site-footer {
  background: #1c0a29;
  color: rgba(255,255,255,0.72);
  padding-block: 64px 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand img { width: 40px; height: 40px; filter: brightness(0) invert(1); }
.footer-brand span { font-weight: 800; font-size: 1.2rem; color: var(--color-white); }
.footer-about p { color: rgba(255,255,255,0.6); font-size: 0.92rem; max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.footer-social a:hover { background: var(--color-accent); color: var(--color-primary-dark); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { color: var(--color-white); font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 0.92rem; color: rgba(255,255,255,0.68); transition: color var(--transition); }
.footer-col a:hover { color: var(--color-accent); }
.footer-col address { font-style: normal; font-size: 0.92rem; color: rgba(255,255,255,0.68); line-height: 1.9; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.65); }
.footer-bottom a:hover { color: var(--color-accent); }

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  z-index: 900;
  transition: transform var(--transition);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 40px;
  border: 1px solid var(--color-border);
}
.form-row { margin-bottom: 20px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}
.form-label .req { color: var(--color-error); }
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-light);
  color: var(--color-ink);
  transition: border-color var(--transition), background var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-white);
}
textarea.form-control { resize: vertical; min-height: 120px; }
.form-hint { font-size: 0.8rem; color: var(--color-ink-soft); margin-top: 6px; }
.form-error {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--color-error);
  margin-top: 7px;
  font-weight: 500;
}
.form-error svg { width: 14px; height: 14px; flex-shrink: 0; }
.form-row.has-error .form-control {
  border-color: var(--color-error);
  background: #fdf1f0;
}
.form-row.has-error .form-error { display: flex; }
.form-row.is-valid .form-control { border-color: var(--color-success); }

.checkbox-row { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-row input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--color-primary); }
.checkbox-row label { font-size: 0.86rem; color: var(--color-ink-soft); }
.checkbox-row a { color: var(--color-primary); font-weight: 600; }

.form-status {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.form-status.status-error {
  display: flex;
  background: #fdf1f0;
  color: var(--color-error);
  border: 1px solid #f3c9c4;
}

.contact-info-list { display: flex; flex-direction: column; gap: 22px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item .ci-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-item .ci-icon svg { width: 22px; height: 22px; color: var(--color-accent); }
.contact-info-item h3 { color: var(--color-white); font-size: 1rem; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { color: rgba(255,255,255,0.78); font-size: 0.94rem; }
.contact-info-item a:hover { color: var(--color-accent); }

/* ---------- Cookie consent ---------- */
.cookie-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  max-width: 560px;
  margin-inline: auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 22px 24px;
  z-index: 1500;
  display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { font-size: 0.88rem; margin-bottom: 14px; }
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner-actions .btn { padding: 10px 20px; font-size: 0.86rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--gradient-brand);
  color: var(--color-white);
  padding-block: 64px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(214,169,43,0.22), transparent 45%);
}
.page-hero .breadcrumbs {
  position: relative;
  display: flex;
  gap: 8px;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
}
.page-hero .breadcrumbs a:hover { color: var(--color-accent); }
.page-hero h1 { position: relative; color: var(--color-white); font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 14px; }
.page-hero p { position: relative; color: rgba(255,255,255,0.85); max-width: 600px; margin-inline: auto; font-size: 1.05rem; }

/* ---------- Service detail blocks ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding-block: 56px;
  border-bottom: 1px solid var(--color-border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail:nth-child(even) { direction: rtl; }
.service-detail:nth-child(even) > * { direction: ltr; }
.service-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.service-visual svg { position: relative; z-index: 1; width: 118%; height: 118%; }
.service-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 25% 20%, rgba(214,169,43,0.35), transparent 55%);
}
.service-list-inline { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.service-list-inline li { display: flex; gap: 10px; font-size: 0.95rem; color: var(--color-ink-soft); align-items: flex-start; }
.service-list-inline svg { width: 18px; height: 18px; color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }

/* ---------- About page ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { text-align: center; padding: 30px 20px; }
.value-swatch { width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 16px; }
.keyword-cloud { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.keyword-cloud span {
  font-weight: 700;
  color: var(--color-primary);
  font-size: clamp(1rem, 2vw, 1.4rem);
  padding: 8px 4px;
}
.keyword-cloud span:nth-child(2n) { color: var(--color-accent); }
.keyword-cloud span:nth-child(3n) { color: var(--color-primary-dark); }

.mission-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.mission-quote {
  background: var(--color-white);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
  padding: 28px 30px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-sm);
}

/* ---------- Thank you page ---------- */
.thankyou {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 90px;
}
.thankyou-icon {
  width: 92px; height: 92px;
  border-radius: 50%;
  background: rgba(31,138,76,0.1);
  color: var(--color-success);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 26px;
}
.thankyou-icon svg { width: 46px; height: 46px; }
.thankyou h1 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); margin-bottom: 14px; }
.thankyou p { max-width: 480px; margin-inline: auto 24px; }
.thankyou-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.thankyou-steps {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
  max-width: 780px;
  margin-inline: auto;
}

/* ---------- 404 page ---------- */
.error-page {
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 80px;
  background: var(--gradient-brand);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}
.error-page::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(214,169,43,0.22), transparent 45%);
}
.error-content { position: relative; max-width: 520px; }
.error-code {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 8px;
}
.error-page h1 { color: var(--color-white); font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 14px; }
.error-page p { color: rgba(255,255,255,0.82); margin-bottom: 30px; }
.error-rocket { width: 120px; margin: 0 auto 24px; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 16px 24px rgba(0,0,0,0.3)); }

/* ---------- Privacy page ---------- */
.policy-content { max-width: 780px; margin-inline: auto; }
.policy-content h2 { font-size: 1.3rem; margin-top: 40px; margin-bottom: 14px; }
.policy-content h2:first-child { margin-top: 0; }
.policy-content p, .policy-content li { color: var(--color-ink-soft); margin-bottom: 14px; font-size: 0.98rem; }
.policy-content ul { padding-left: 20px; list-style: disc; }
.policy-content ul li { margin-bottom: 8px; }
.policy-content .updated { font-size: 0.85rem; color: var(--color-ink-soft); margin-bottom: 30px; }
.policy-toc {
  background: var(--color-light);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 40px;
}
.policy-toc h2 { margin-top: 0 !important; font-size: 1rem !important; }
.policy-toc ol { padding-left: 20px; }
.policy-toc li { margin-bottom: 6px; }
.policy-toc a { color: var(--color-primary); font-weight: 500; }

/* =========================================================
   Novidade badge + featured banner (Agentes de IA)
   ========================================================= */
.eyebrow-new {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}
.badge-ribbon {
  position: absolute;
  top: 20px; right: -38px;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 5px 42px;
  transform: rotate(38deg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  text-transform: uppercase;
  z-index: 2;
}

.feature-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 55%, #2c0740 100%);
  padding: 56px;
  color: var(--color-white);
}
.feature-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 88% 12%, rgba(214,169,43,0.28), transparent 45%);
  pointer-events: none;
}
.feature-banner-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.feature-banner h2 { color: var(--color-white); }
.feature-banner .section-lead { color: rgba(255,255,255,0.85); }
.feature-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin: 26px 0 30px;
}
.feature-list-grid li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.88);
}
.feature-list-grid svg { width: 18px; height: 18px; color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }
.dogfood-note {
  position: relative;
  background: #F6EFDB;
  border: 1px solid #ecdcae;
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-size: 0.92rem;
  color: #6b5a24;
  margin: 22px 0 26px;
}
.dogfood-note strong { color: #8a6d1f; }
.feature-banner .dogfood-note {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  border-left-color: var(--color-accent);
  color: rgba(255,255,255,0.92);
}
.feature-banner .dogfood-note strong { color: var(--color-accent); }
.feature-banner-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.feature-banner-visual svg { width: 90%; height: 90%; }

/* =========================================================
   Voxel — personas
   ========================================================= */
.section-voxel {
  background: #15091f;
  color: rgba(255,255,255,0.9);
}
.section-voxel .section-title { color: var(--color-white); }
.section-voxel .section-lead { color: rgba(255,255,255,0.72); }
.voxel-brandline {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 10px;
}
.voxel-brandline span { font-weight: 800; letter-spacing: 0.04em; color: var(--color-accent); }
.voxel-brandline img { height: 44px; width: auto; }
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.persona-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  padding: 30px 22px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}
.persona-card:hover { transform: translateY(-6px); border-color: rgba(214,169,43,0.5); }
.persona-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  margin: 0 auto 18px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-base);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--color-white);
}
.persona-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.persona-card h3 { color: var(--color-white); font-size: 1.1rem; margin-bottom: 6px; }
.persona-role { font-size: 0.8rem; color: var(--color-accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; }
.persona-card p { color: rgba(255,255,255,0.68); font-size: 0.9rem; margin-bottom: 16px; }
.persona-card a.card-link { color: var(--color-accent); }
.voxel-disclosure {
  max-width: 640px;
  margin: 36px auto 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.voxel-teaser {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #15091f;
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.voxel-teaser-avatars { display: flex; }
.voxel-teaser-avatars .persona-avatar {
  width: 56px; height: 56px;
  font-size: 1.1rem;
  margin: 0;
  border: 3px solid #15091f;
}
.voxel-teaser-avatars .persona-avatar:not(:first-child) { margin-left: -16px; }
.voxel-teaser-text h3 { color: var(--color-white); font-size: 1.1rem; margin-bottom: 4px; }
.voxel-teaser-text p { color: rgba(255,255,255,0.65); font-size: 0.9rem; }

/* =========================================================
   Scroll-reveal animations
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="left"].is-visible { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="right"].is-visible { transform: translateX(0); }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal="scale"].is-visible { transform: scale(1); }

/* Staggered children inside a reveal group */
[data-reveal-group] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
[data-reveal-group].is-visible > * { opacity: 1; transform: translateY(0); }
[data-reveal-group].is-visible > *:nth-child(1) { transition-delay: 0.02s; }
[data-reveal-group].is-visible > *:nth-child(2) { transition-delay: 0.09s; }
[data-reveal-group].is-visible > *:nth-child(3) { transition-delay: 0.16s; }
[data-reveal-group].is-visible > *:nth-child(4) { transition-delay: 0.23s; }
[data-reveal-group].is-visible > *:nth-child(5) { transition-delay: 0.30s; }
[data-reveal-group].is-visible > *:nth-child(6) { transition-delay: 0.37s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-group] > *,
  .hero-grid > div:first-child, .hero-art,
  .badge-circle, .error-rocket {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 280px; margin-inline: auto; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) { direction: ltr; }
  .service-visual { max-width: 360px; margin-inline: auto; width: 100%; }
  .mission-block { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .thankyou-steps { grid-template-columns: 1fr; }
  .feature-banner { padding: 40px 28px; }
  .feature-banner-grid { grid-template-columns: 1fr; }
  .feature-banner-visual { order: -1; max-width: 340px; margin-inline: auto; width: 100%; }
  .persona-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .voxel-teaser { flex-direction: column; text-align: center; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .brand { font-size: 1.15rem; }
  .brand .brand-sub { white-space: nowrap; }
  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--color-white);
    padding: 20px 24px 26px;
    box-shadow: var(--shadow-md);
    gap: 6px;
    border-top: 1px solid var(--color-border);
    animation: navDrop 0.28s cubic-bezier(0.16,1,0.3,1) both;
  }
  @keyframes navDrop {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .nav.is-open .nav-links a { padding: 12px 4px; width: 100%; }
  .section { padding-block: 60px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .feature-list-grid { grid-template-columns: 1fr; }
  .badge-ribbon { top: 14px; right: -44px; padding: 4px 46px; font-size: 0.64rem; }
  .voxel-teaser-avatars { margin-bottom: 6px; }
  .cta-banner { flex-direction: column; text-align: center; justify-content: center; padding: 40px 26px; }
  .cta-banner-actions { justify-content: center; }
  .form-row-2 { grid-template-columns: 1fr; }
  .form-card { padding: 26px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-pill { display: none; }
  .contact-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  .hero { padding-block: 52px 64px; }
  .btn-lg { padding: 15px 26px; font-size: 0.98rem; }
}

/* =========================================================
   MOTION & 3D — camada de movimento (ver assets/js/motion.js)
   Tudo em transform/opacity. Sem JS, o site fica estático e completo.
   ========================================================= */

/* ---------- Barra de progresso de leitura ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 1100;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent) 60%, #fff3cf);
  box-shadow: 0 0 14px rgba(214, 169, 43, 0.55);
  pointer-events: none;
}

/* ---------- Céu: estrelas + aurora nos heróis ---------- */
.starfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  width: 70vmax; height: 70vmax;
  left: -25vmax; top: -35vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(178, 40, 160, 0.45), transparent 62%);
  animation: aurora 22s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
.hero-grid, .page-hero .container { position: relative; z-index: 1; }
@keyframes aurora {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(18vmax, 12vmax) scale(1.15); }
  100% { transform: translate(40vmax, 4vmax) scale(0.95); }
}

/* Palavra-chave do título com brilho dourado a passar */
.hero h1 span {
  background: linear-gradient(100deg, var(--color-accent) 20%, #fff3cf 40%, var(--color-accent) 60%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5.5s linear infinite;
}
@keyframes shimmer {
  from { background-position: 120% 0; }
  to { background-position: -120% 0; }
}

/* ---------- Cena 3D do herói: medalhão + órbita de serviços ---------- */
.scene {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
  perspective: 1100px;
}
.scene-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
}
.scene-glow {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 169, 43, 0.5), rgba(214, 169, 43, 0) 66%);
  transform: translateZ(-90px);
  animation: glowPulse 5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.65; scale: 1; }
  50% { opacity: 1; scale: 1.08; }
}
.scene-shadow {
  position: absolute;
  left: 26%; right: 26%;
  bottom: 1%;
  height: 7%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(10, 0, 20, 0.55), transparent);
  animation: shadowBreath 10s ease-in-out infinite;
}
@keyframes shadowBreath {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(0.8); opacity: 0.55; }
}

/* Medalhão com espessura real: frente (logótipo), aro em camadas e verso dourado */
.medal {
  --t: 16px;
  position: absolute;
  inset: 9%;
  transform-style: preserve-3d;
  transform: rotateY(-18deg);
  animation: medalIntro 1.8s var(--ease-out-expo) both, medalSway 10s 1.8s ease-in-out infinite;
}
@keyframes medalIntro {
  from { transform: rotateY(-380deg) translateY(30px) scale(0.6); }
  to { transform: rotateY(-24deg) translateY(0) scale(1); }
}
@keyframes medalSway {
  0%, 100% { transform: rotateY(-24deg) translateY(0); }
  50% { transform: rotateY(24deg) translateY(-16px); }
}
.medal-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.medal-front { transform: translateZ(calc(var(--t) / 2)); }
.medal-front img {
  width: 100%;
  height: 100%;
  filter: none;
}
/* O círculo dentro do PNG ocupa 78% da largura, a 10,7% da esquerda e 17% do topo */
.medal-edge,
.medal-back {
  position: absolute;
  left: 10.7%; top: 17%;
  width: 78.2%;
  aspect-ratio: 1;
  border-radius: 50%;
}
/* As nuvens do logótipo são recortes transparentes: este disco dá-lhes cor e fecha o medalhão */
.medal-cloud {
  position: absolute;
  left: 10.7%; top: 17%;
  width: 78.2%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff 55%, #efe4f4);
  transform: translateZ(calc(var(--t) / 2 - 0.6px));
}
.medal-edge {
  background: linear-gradient(90deg, #2a0838 0%, #6d1f7a 35%, #e8c667 50%, #6d1f7a 65%, #2a0838 100%);
  transform: translateZ(var(--z));
}
.medal-back {
  inset: auto;
  left: 10.7%; top: 17%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, #fbe7a6, var(--color-accent) 48%, #8a6a12);
  box-shadow: inset 0 0 0 7px rgba(65, 19, 91, 0.28);
  color: var(--color-primary-dark);
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  letter-spacing: 0.08em;
  transform: rotateY(180deg) translateZ(calc(var(--t) / 2));
}

/* Órbita inclinada; os chips rodam ao contrário para olharem sempre para nós.
   A órbita não tem área (é um ponto no centro): planos grandes a atravessar o
   medalhão criavam costuras no Chrome. O raio usa cqw (largura da .scene). */
.scene { container-type: inline-size; }
.orbit {
  position: absolute;
  left: 50%; top: 50%;
  width: 0; height: 0;
  transform-style: preserve-3d;
  transform: rotateZ(-14deg) rotateX(72deg);
}
.orbit-track {
  position: absolute;
  left: 0; top: 0;
  width: 0; height: 0;
  transform-style: preserve-3d;
  animation: orbitSpin 24s linear infinite;
}
.orbit-pos {
  position: absolute;
  left: 0; top: 0;
  width: 0; height: 0;
  transform-style: preserve-3d;
  transform: rotateZ(var(--a)) translateX(54cqw);
}
.orbit-chip {
  position: absolute;
  left: 0; top: 0;
  width: 52px; height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 24px rgba(10, 0, 20, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: rotateZ(calc(-1 * var(--a))) rotateX(-72deg) rotateZ(14deg);
  animation: chipCounter 24s linear infinite;
}
.orbit-chip svg { width: 26px; height: 26px; }
.chip-ig { background: linear-gradient(45deg, #f9ce34, #ee2a7b 50%, #6228d7); }
.chip-google { background: #fff; }
.chip-fb { background: #1877F2; color: #fff; }
/* Robô com a paleta da marca: roxo do emblema e um fio dourado. */
.chip-ai {
  background: linear-gradient(135deg, #F0C75A, #D6A92B);
  color: #41135B;
  box-shadow: 0 10px 24px rgba(10, 0, 20, 0.35),
              inset 0 1px 0 rgba(255, 255, 255, 0.45),
              0 0 0 1px rgba(65, 19, 91, 0.18);
}
@keyframes orbitSpin {
  from { transform: rotateZ(0deg); }
  to { transform: rotateZ(360deg); }
}
@keyframes chipCounter {
  from { transform: rotateZ(calc(-1 * var(--a))) rotateX(-72deg) rotateZ(14deg); }
  to { transform: rotateZ(calc(-1 * var(--a) - 360deg)) rotateX(-72deg) rotateZ(14deg); }
}

/* ---------- Botões: brilho a varrer + halo ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), translate 0.25s var(--ease-out-expo); }
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.6) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.8s var(--ease-out-expo);
}
.btn-primary:hover::after, .btn-primary:focus-visible::after { transform: translateX(130%); }
.btn-primary:hover, .btn-primary:focus-visible { box-shadow: 0 14px 34px -8px rgba(214, 169, 43, 0.7); }

/* ---------- Cartões: profundidade, ícone que gira, tilt com reflexo ---------- */
.service-card .card-icon {
  background: linear-gradient(135deg, rgba(115, 8, 108, 0.1), rgba(214, 169, 43, 0.2));
  transform: perspective(400px) rotateY(0deg);
  transition: transform 0.8s var(--ease-out-expo), background var(--transition), color var(--transition);
}
.service-card:hover .card-icon {
  transform: perspective(400px) rotateY(360deg);
  background: var(--gradient-brand);
  color: var(--color-accent);
}
.tiltable { position: relative; }
.tilt-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.4), transparent 55%);
  mix-blend-mode: soft-light;
  opacity: 0;
  transition: opacity 0.3s;
}
.tilt-on > .tilt-glare { opacity: 1; }
:is(.service-card, .stat-box, .persona-card, .service-visual, .value-grid > *, .contact-info-item).tilt-on {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
  transition: transform 0.12s linear, box-shadow 0.3s, border-color 0.3s;
  box-shadow: var(--shadow-lg);
}
.stat-box.tilt-on, .persona-card.tilt-on { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5); }

/* ---------- Resultados: aurora dourada + vidro ---------- */
.section-dark { position: relative; overflow: hidden; }
.section-dark::before {
  content: "";
  position: absolute;
  width: 55vmax; height: 55vmax;
  right: -20vmax; bottom: -30vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 169, 43, 0.22), transparent 62%);
  animation: aurora 26s ease-in-out infinite alternate-reverse;
  pointer-events: none;
}
.section-dark > .container { position: relative; z-index: 1; }
.stat-box {
  backdrop-filter: blur(6px);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.stat-box:hover { border-color: rgba(214, 169, 43, 0.5); }

/* ---------- Segmentos e "porquê" ---------- */
.tag-list li { transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.tag-list li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-row .num {
  font-size: 1.6rem;
  line-height: 1;
  background: linear-gradient(160deg, var(--color-accent), var(--color-primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Agente de IA: telemóvel 3D com conversa real ---------- */
.feature-banner-visual.phone-stage {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  aspect-ratio: auto;
  min-height: 470px;
  background: none;
  border: 0;
  overflow: visible;
  perspective: 1200px;
}
.phone-float { animation: phoneFloat 7s ease-in-out infinite; transform-style: preserve-3d; }
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.phone {
  position: relative;
  width: 236px;
  height: 450px;
  padding: 10px;
  border-radius: 38px;
  background: linear-gradient(145deg, #2a1236, #0d0412);
  transform: rotateY(calc(-16deg + var(--ry))) rotateX(calc(6deg + var(--rx)));
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.12),
    inset 0 0 0 4px #1a0a22,
    -2px 0 0 1px #3d1b4d,
    40px 60px 90px -30px rgba(0, 0, 0, 0.65),
    0 0 60px -10px rgba(214, 169, 43, 0.25);
}
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #efe7de;
  display: flex;
  flex-direction: column;
}
.phone-notch {
  position: absolute;
  top: 8px; left: 50%;
  width: 74px; height: 20px;
  margin-left: -37px;
  border-radius: 12px;
  background: #0d0412;
  z-index: 2;
}
.phone-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 34px 12px 10px;
  background: #075E54;
  color: #fff;
  font-size: 0.74rem;
  line-height: 1.2;
}
.phone-head img { width: 30px; height: 30px; border-radius: 50%; background: #fff; }
.phone-head small { display: block; color: rgba(255, 255, 255, 0.75); font-size: 0.66rem; }
.chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 10px;
  overflow: hidden;
  font-size: 0.72rem;
  line-height: 1.38;
}
.chat .msg {
  max-width: 84%;
  padding: 7px 10px;
  border-radius: 10px;
  color: #1b1b1b;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
}
.chat .msg.in { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.chat .msg.out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 2px; }
.chat .typing { display: none; align-self: flex-end; gap: 4px; padding: 9px 11px; border-radius: 10px; background: #d9fdd3; }
.chat .typing i { width: 6px; height: 6px; border-radius: 50%; background: #5d8a63; animation: typingDot 1s infinite; }
.chat .typing i:nth-child(2) { animation-delay: 0.15s; }
.chat .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}
.chat-anim .msg { display: none; }
.chat-anim .msg.show { display: block; animation: msgIn 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.3) both; }
.chat-anim .typing.show { display: inline-flex; }
@keyframes msgIn {
  from { opacity: 0; transform: translateY(10px) scale(0.92); }
  to { opacity: 1; transform: none; }
}
.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--color-primary-dark);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  box-shadow: var(--shadow-lg);
  transition: opacity 0.5s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}
.float-card small { display: block; font-weight: 500; color: var(--color-ink-soft); }
.float-card .fc-icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.float-card .fc-icon svg { width: 18px; height: 18px; }
.fc-telegram { top: 3%; right: -6%; }
.fc-telegram .fc-icon { background: #229ED9; }
.fc-calendar { bottom: -7%; left: -2%; }
.fc-calendar .fc-icon { background: var(--gradient-brand); }
.js-chat .float-card { opacity: 0; transform: translateY(14px) scale(0.9); }
.js-chat.is-booked .float-card { opacity: 1; transform: none; }
.js-chat.is-booked .fc-calendar { transition-delay: 0.35s; }

/* ---------- CTA final: foguete em descolagem ---------- */
.cta-banner { position: relative; overflow: hidden; }
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner::after {
  content: "";
  position: absolute;
  right: -40px; bottom: -60px;
  width: 260px; height: 260px;
  background: url("/assets/img/logo-icon-256.png") center / contain no-repeat;
  opacity: 0.16;
  transform: rotate(-12deg);
  animation: rocketBob 6s ease-in-out infinite;
  transition: translate 1s var(--ease-out-expo), opacity 1s;
  pointer-events: none;
}
.cta-banner:hover::after { translate: 0 -40px; opacity: 0.3; }
@keyframes rocketBob {
  0%, 100% { transform: rotate(-12deg) translateY(0); }
  50% { transform: rotate(-9deg) translateY(-14px); }
}

/* ---------- Botão flutuante: Maria, atendente de IA ---------- */
.wa-float.wa-maria {
  width: 116px; height: 116px;
  right: 16px; bottom: 16px;
  background: none;
  box-shadow: none;
  filter: drop-shadow(0 12px 22px rgba(40, 6, 60, 0.38));
}
.wa-maria::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: waPulse 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0% { transform: scale(0.95); opacity: 0.9; }
  100% { transform: scale(1.18); opacity: 0; }
}
.wa-maria .wa-ring {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  animation: waSpin 26s linear infinite;
}
.wa-maria .wa-ring text {
  fill: #fff;
  font-family: var(--font-base);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
@keyframes waSpin { to { transform: rotate(360deg); } }
.wa-maria .wa-photo {
  position: absolute;
  left: 22%; top: 22%;
  width: 56%; height: 56%;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  object-fit: cover;
  transition: transform 0.4s var(--ease-out-expo);
}
.wa-maria .wa-ring circle { stroke: rgba(255, 255, 255, 0.35); stroke-width: 1.5; }
.wa-maria .wa-badge {
  position: absolute;
  right: 21%; bottom: 21%;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #25D366;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wa-maria .wa-badge svg { width: 13px; height: 13px; color: #fff; }
.wa-float.wa-maria:hover { transform: scale(1.06); }
.wa-maria:hover .wa-ring { animation-play-state: paused; }
.wa-maria:hover .wa-photo { transform: scale(1.06); }
@media (max-width: 760px) {
  .wa-float.wa-maria { width: 84px; height: 84px; right: 8px; bottom: 8px; }
  .wa-maria .wa-badge { width: 20px; height: 20px; }
}

/* ---------- Pausa fora do ecrã ---------- */
.is-offscreen,
.is-offscreen::before,
.is-offscreen::after,
.is-offscreen * { animation-play-state: paused !important; }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .hero-art { width: 100%; max-width: 320px; }
  .scene { width: 100%; }
  .feature-banner-visual.phone-stage { max-width: 360px; min-height: 430px; }
}
@media (max-width: 760px) {
  .orbit-chip { width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 12px; }
  .orbit-chip svg { width: 20px; height: 20px; }
  .phone { width: 210px; height: 410px; }
  .feature-banner-visual.phone-stage { min-height: 400px; }
  .fc-telegram { right: 0; }
  .fc-calendar { left: 0; }
  .cta-banner::after { opacity: 0.1; width: 180px; height: 180px; }
}

/* ---------- Movimento reduzido: tudo parado, nada escondido ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero::after, .page-hero::after, .section-dark::before, .cta-banner::after,
  .hero h1 span, .scene-glow, .scene-shadow, .orbit-track, .phone-float,
  .chat .typing i, .wa-maria .wa-ring, .wa-maria::before {
    animation: none !important;
  }
  .medal { animation: none !important; transform: rotateY(-18deg) !important; }
  .orbit-chip { animation: none !important; transform: rotateZ(calc(-1 * var(--a))) rotateX(-72deg) rotateZ(14deg) !important; }
  .service-card .card-icon, .btn-primary::after { transition: none; }
  .scroll-progress, .starfield { display: none; }
}

/* ---- Pop-up do chat da assistente ------------------------------------- */
.chat-pop {
  position: fixed; inset: 0; z-index: 3000;
  display: none; align-items: flex-end; justify-content: flex-end;
  padding: 20px;
}
.chat-pop.is-open { display: flex; }
.chat-pop__backdrop {
  position: absolute; inset: 0; background: rgba(23, 19, 33, .55);
  backdrop-filter: blur(2px); opacity: 0; transition: opacity .2s ease;
}
.chat-pop.is-open .chat-pop__backdrop { opacity: 1; }
.chat-pop__panel {
  position: relative; width: min(420px, 100%); height: min(660px, calc(100vh - 40px));
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 70px rgba(23, 19, 33, .38);
  display: flex; flex-direction: column;
  transform: translateY(14px) scale(.98); opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
}
.chat-pop.is-open .chat-pop__panel { transform: none; opacity: 1; }
.chat-pop__close {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  appearance: none; border: 0; background: rgba(23, 19, 33, .35); color: #fff;
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
  font-size: 18px; line-height: 1; display: grid; place-items: center;
  backdrop-filter: blur(4px);
}
.chat-pop__close:hover { background: rgba(23, 19, 33, .6); }
.chat-pop__frame { flex: 1; width: 100%; border: 0; background: #fff; }
body.chat-pop-open { overflow: hidden; }
@media (max-width: 640px) {
  .chat-pop { padding: 0; }
  .chat-pop__panel { width: 100%; height: 100%; border-radius: 0; }
}

/* esconde o botão flutuante enquanto o pop-up está aberto */
.chat-pop-open .wa-float { opacity: 0; pointer-events: none; }
