/* =========================================================
   Marcelo Watson — Consultor em TI
   Design system: azul tecnológico, minimalista, premium
   ========================================================= */

:root {
  --navy-950: #050b1a;
  --navy-900: #071026;
  --navy-800: #0b1a38;
  --navy-700: #0f2450;
  --royal-600: #1547d6;
  --royal-500: #1f5cf0;
  --cyan-400: #2fd8ff;
  --cyan-300: #6ee7ff;
  --blue-100: #e8f1ff;
  --blue-50: #f4f8ff;
  --white: #ffffff;
  --ink-900: #0a1120;
  --ink-700: #2b3a55;
  --ink-500: #5c6c88;
  --ink-300: #9aa8c2;
  --line: #e2e9f7;

  --grad-primary: linear-gradient(135deg, var(--royal-600) 0%, var(--royal-500) 45%, var(--cyan-400) 100%);
  --grad-dark: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  --grad-text: linear-gradient(90deg, var(--royal-500), var(--cyan-400));

  --shadow-sm: 0 2px 10px rgba(10, 26, 64, 0.06);
  --shadow-md: 0 8px 28px rgba(10, 26, 64, 0.10);
  --shadow-lg: 0 20px 50px rgba(10, 26, 64, 0.16);
  --shadow-glow: 0 0 0 1px rgba(47, 216, 255, 0.15), 0 12px 40px rgba(21, 71, 214, 0.25);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --container: 1180px;
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--navy-900);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

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

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--royal-600);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--grad-text);
  border-radius: 2px;
}

.section-head {
  max-width: 680px;
  margin: 0 0 48px;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-top: 12px;
}
.section-head p {
  margin-top: 14px;
  color: var(--ink-500);
  font-size: 1.02rem;
}

.section-pad { padding: 100px 0; }
.bg-tint { background: var(--blue-50); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-primary);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(21, 71, 214, 0.32); }

.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--royal-500); color: var(--royal-600); transform: translateY(-2px); }

.btn-light {
  background: var(--white);
  color: var(--navy-900);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline-light:hover { border-color: var(--cyan-300); color: var(--cyan-300); transform: translateY(-2px); }

.btn-wa {
  background: #ffffff;
  color: var(--navy-900);
  border-color: rgba(255,255,255,0.5);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 64px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 1rem; color: var(--navy-900); }
.brand-text span { font-size: 0.68rem; color: var(--ink-500); letter-spacing: 0.03em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-700);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--grad-text);
  border-radius: 2px;
  transition: width 0.25s var(--ease);
}
.nav-links a:hover { color: var(--navy-900); }
.nav-links a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-actions .btn-primary { padding: 12px 22px; font-size: 0.88rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 92px 0 0 0;
  background: var(--white);
  z-index: 490;
  padding: 28px 24px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.mobile-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  display: block;
  padding: 16px 4px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-900);
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn-primary { margin-top: 24px; width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 168px 0 110px;
  background: var(--grad-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, black, transparent);
  z-index: -2;
}
.hero-glow {
  position: absolute;
  width: 720px; height: 720px;
  right: -220px; top: -220px;
  background: radial-gradient(circle, rgba(47,216,255,0.28), transparent 65%);
  z-index: -1;
  filter: blur(10px);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-content .eyebrow { color: var(--cyan-300); }
.hero-content .eyebrow::before { background: var(--grad-text); }
.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  margin-top: 16px;
}
.hero-content p {
  color: rgba(232, 241, 255, 0.78);
  font-size: 1.08rem;
  margin-top: 20px;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero-tagline {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(232, 241, 255, 0.65);
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-tagline .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 12px var(--cyan-400);
}

/* Isometric cube visual */
.hero-visual {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit {
  position: absolute;
  width: 380px; height: 380px;
  border: 1px solid rgba(110, 231, 255, 0.25);
  border-radius: 50%;
  transform: rotateX(68deg);
}
.orbit.o2 { width: 280px; height: 280px; border-color: rgba(110,231,255,0.15); transform: rotateX(68deg) rotate(35deg); }

.cube-field { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.cube {
  position: absolute;
  width: var(--s, 64px);
  height: var(--s, 64px);
  transform-style: preserve-3d;
  animation: float 6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.cube .face {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.15);
}
.cube .top { background: linear-gradient(135deg, var(--cyan-300), var(--royal-500)); transform: rotateX(90deg) translateZ(calc(var(--s, 64px) / 2)); }
.cube .front { background: linear-gradient(160deg, var(--royal-500), var(--navy-700)); transform: translateZ(calc(var(--s, 64px) / 2)); }
.cube .side { background: linear-gradient(160deg, var(--royal-600), var(--navy-800)); transform: rotateY(90deg) translateZ(calc(var(--s, 64px) / 2)); }

.cube.c1 { --s: 96px; top: 30px; left: 150px; }
.cube.c2 { --s: 54px; top: 220px; left: 40px; --d: 1.2s; }
.cube.c3 { --s: 40px; top: 90px; left: 300px; --d: 2.1s; }
.cube.c4 { --s: 70px; top: 250px; left: 240px; --d: 0.6s; }
.cube.c5 { --s: 30px; top: 30px; left: 30px; --d: 1.8s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotateX(-18deg) rotateY(28deg); }
  50% { transform: translateY(-16px) rotateX(-14deg) rotateY(32deg); }
}

.particle {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--cyan-300);
  box-shadow: 0 0 8px var(--cyan-300);
  opacity: 0.7;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-700);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow .25s var(--ease);
}
.highlight-item:hover { border-color: var(--royal-500); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.highlight-item .ico {
  width: 20px; height: 20px;
  flex: none;
  color: var(--royal-500);
}

.flow-panel {
  background: var(--grad-dark);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
}
.flow-panel::after {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(47,216,255,0.25), transparent 70%);
  top: -80px; right: -80px;
}
.flow-panel h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 24px; position: relative; }
.flow-steps { display: flex; flex-direction: column; gap: 0; position: relative; }
.flow-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.14);
}
.flow-step:last-child { border-bottom: none; }
.flow-step .num {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(47,216,255,0.14);
  border: 1px solid rgba(110,231,255,0.4);
  color: var(--cyan-300);
  font-weight: 700;
  font-size: 0.85rem;
}
.flow-step span.label { color: rgba(232,241,255,0.9); font-weight: 600; font-size: 0.98rem; }

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(21,71,214,0.18);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-primary);
  color: var(--white);
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.card p { color: var(--ink-500); font-size: 0.93rem; }

/* ---------- Differentiators ---------- */
.diff-list { display: flex; flex-direction: column; gap: 0; }
.diff-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.diff-row:first-child { padding-top: 0; }
.diff-row:last-child { border-bottom: none; }
.diff-row .idx {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.diff-row h3 { font-size: 1.1rem; margin-bottom: 6px; }
.diff-row p { color: var(--ink-500); font-size: 0.95rem; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.process-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow .3s var(--ease);
}
.process-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.process-card .num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--royal-500);
  opacity: 0.85;
}
.process-card h3 { font-size: 0.98rem; margin-top: 12px; }
.process-card p { font-size: 0.85rem; color: var(--ink-500); margin-top: 6px; }
.process-card:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px; top: 32px;
  width: 8px; height: 8px;
  border-top: 2px solid var(--cyan-400);
  border-right: 2px solid var(--cyan-400);
  transform: rotate(45deg);
  opacity: 0.6;
}

/* ---------- Projects ---------- */
.project-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow .3s var(--ease);
  display: flex;
  flex-direction: column;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-media {
  height: 170px;
  background: var(--grad-dark);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.project-media::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 26px 26px;
}
.project-media .mono {
  position: relative;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan-300), var(--royal-600));
}
.demo-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(5,11,26,0.55);
  color: var(--cyan-300);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(110,231,255,0.35);
  backdrop-filter: blur(4px);
}
.project-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project-category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--royal-600);
}
.project-body h3 { font-size: 1.05rem; }
.project-body p { color: var(--ink-500); font-size: 0.9rem; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tech-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--blue-100);
  color: var(--royal-600);
}
.project-link {
  margin-top: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-900);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.project-link svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.project-card:hover .project-link svg { transform: translateX(4px); }

/* ---------- Technologies ---------- */
.tech-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.tech-pill {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-700);
  transition: all 0.25s var(--ease);
}
.tech-pill:hover {
  border-color: transparent;
  background: var(--grad-primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* ---------- Domains ---------- */
.domain-panel {
  background: var(--grad-dark);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.domain-panel::before {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,216,255,0.22), transparent 70%);
  right: -120px; top: -140px;
}
.domain-text { position: relative; max-width: 560px; }
.domain-text h2 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2rem); }
.domain-text p { color: rgba(232,241,255,0.75); margin-top: 14px; }
.domain-text .btn { margin-top: 26px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--navy-900);
}
.faq-question .plus {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.faq-question .plus::before, .faq-question .plus::after {
  content: "";
  position: absolute;
  background: var(--royal-500);
  transition: transform 0.3s var(--ease);
}
.faq-question .plus::before { width: 10px; height: 2px; }
.faq-question .plus::after { width: 2px; height: 10px; }
.faq-item.open .faq-question .plus { transform: rotate(45deg); border-color: var(--royal-500); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-answer p { padding: 0 22px 20px; color: var(--ink-500); font-size: 0.92rem; }

/* ---------- CTA ---------- */
.cta-section {
  background: var(--grad-dark);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(47,216,255,0.18), transparent 60%);
}
.cta-section h2 { color: var(--white); font-size: clamp(1.7rem, 3.4vw, 2.5rem); max-width: 760px; margin: 0 auto; position: relative; }
.cta-section p { color: rgba(232,241,255,0.75); margin: 18px auto 0; max-width: 560px; position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; margin-top: 34px; position: relative; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.info-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.25s var(--ease), box-shadow .25s var(--ease);
}
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.info-card .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--royal-600);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.info-card .ico svg { width: 20px; height: 20px; }
.info-card strong { display: block; font-size: 0.95rem; color: var(--navy-900); }
.info-card span { font-size: 0.85rem; color: var(--ink-500); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink-700); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--navy-900);
  background: var(--blue-50);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--royal-500);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-status { grid-column: 1/-1; font-size: 0.88rem; padding: 4px 2px; min-height: 20px; }
.form-status.ok { color: #0a8a5f; }
.form-status.err { color: #d43b3b; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(232,241,255,0.7);
  padding: 64px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { height: 140px; width: auto; margin-bottom: 14px; }
.footer-brand strong { color: var(--white); font-family: var(--font-display); font-size: 1.1rem; display: block; }
.footer-brand .role { font-size: 0.85rem; margin-top: 4px; display: block; }
.footer-brand .slogan { margin-top: 16px; font-size: 0.9rem; color: var(--cyan-300); }
.footer-col h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col span { font-size: 0.88rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--cyan-300); }
.social-row { display: flex; gap: 10px; margin-top: 4px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s var(--ease);
}
.social-row a:hover { background: var(--grad-primary); border-color: transparent; transform: translateY(-3px); }
.social-row svg { width: 16px; height: 16px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #1cb356);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,0.45);
  z-index: 400;
  transition: transform 0.25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.10s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.22s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.28s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.34s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 0.40s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 0.46s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > *, .cube { transition: none !important; animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .nav-links, .header-actions .btn-primary { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 300px; order: -1; }
  .about-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .domain-panel { flex-direction: column; text-align: center; padding: 44px 30px; }
  .domain-text { max-width: 100%; }
}

@media (max-width: 680px) {
  .section-pad { padding: 70px 0; }
  .grid-3, .grid-2, .highlight-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-card:not(:last-child)::after { display: none; }
  .form-grid { grid-template-columns: 1fr; padding: 24px; }
  .diff-row { grid-template-columns: 44px 1fr; }
  .domain-panel { padding: 34px 22px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .btn { padding: 14px 22px; width: 100%; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
