/* ==========================================================
   LAGUNA SITES SP — Folha de estilos principal
   Organização:
   1. Variáveis  2. Base  3. Utilitários  4. Botões
   5. Header     6. Hero  7. Seções       8. Serviços
   9. Vantagens 10. Planos 11. Portfólio 12. Processo
  13. FAQ      14. Formulário 15. CTA final 16. Rodapé
  17. WhatsApp flutuante / Modal  18. Animações  19. Responsivo
   ========================================================== */

/* ---------- 1. VARIÁVEIS ---------- */
:root {
  --navy: #0B1120;
  --navy-2: #111A2E;
  --navy-3: #1A2540;
  --blue: #2563EB;
  --blue-600: #1D4ED8;
  --cyan: #06B6D4;
  --white: #FFFFFF;
  --soft: #F1F5F9;
  --line: #E2E8F0;
  --text: #0F172A;
  --muted: #475569;
  --muted-light: #94A3B8;
  --wa: #25D366;

  --grad: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  --grad-text: linear-gradient(90deg, #60A5FA 0%, var(--cyan) 100%);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 2px 8px rgba(15, 23, 42, .04);
  --shadow: 0 10px 30px -10px rgba(15, 23, 42, .18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 17, 32, .35);
  --shadow-blue: 0 12px 30px -10px rgba(37, 99, 235, .55);

  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

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

h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

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

::selection { background: var(--cyan); color: var(--navy); }

/* ---------- 3. UTILITÁRIOS ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}
.container--narrow { max-width: 860px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 1000;
  background: var(--blue);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.icon {
  width: 1.15em; height: 1.15em;
  flex-shrink: 0;
}

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--cyan); }
.eyebrow__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, .2);
  animation: pulse 2s infinite;
}

/* ---------- 4. BOTÕES ---------- */
.btn {
  --btn-pad-y: 13px;
  --btn-pad-x: 24px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon[aria-hidden] use[href="#i-arrow"] { transform: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:hover svg:last-child:not(:first-child) { transform: translateX(4px); }

.btn--primary {
  background: var(--grad);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn--primary::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .7s var(--ease);
}
.btn--primary:hover::after { transform: translateX(100%); }
.btn--primary:hover { box-shadow: 0 18px 40px -12px rgba(37, 99, 235, .7); }

.btn--ghost {
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  border-color: rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .45); }

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

.btn--light {
  background: var(--white);
  color: var(--blue-600);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .35);
}
.btn--light:hover { background: var(--soft); }

.btn--sm { --btn-pad-y: 10px; --btn-pad-x: 18px; font-size: .8rem; }
.btn--lg { --btn-pad-y: 16px; --btn-pad-x: 30px; }
.btn--xl { --btn-pad-y: 20px; --btn-pad-x: 38px; font-size: 1.02rem; }
.btn--block { width: 100%; white-space: normal; }

/* ---------- 5. HEADER ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.header.is-scrolled {
  background: rgba(11, 17, 32, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px -15px rgba(0, 0, 0, .5);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  flex-shrink: 0;
}
.logo__mark svg { width: 40px; height: 40px; transition: transform .4s var(--ease); }
.logo:hover .logo__mark svg { transform: rotate(-8deg) scale(1.05); }
.logo__text {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}
.logo__accent { color: var(--cyan); font-weight: 600; }
.logo__sp {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 2px 6px;
  margin-left: 4px;
  border-radius: 6px;
  background: rgba(6, 182, 212, .16);
  color: var(--cyan);
  transform: translateY(-3px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  position: relative;
  display: block;
  padding: 8px 12px;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .78);
  border-radius: 8px;
  transition: color .2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--white); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  border-radius: 12px;
  padding: 0;
  position: relative;
  z-index: 120;
}
.nav-toggle span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- 6. HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 80px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.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% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
}
.hero__glow--1 { width: 560px; height: 560px; background: var(--blue); top: -180px; right: -120px; animation: drift 14s ease-in-out infinite; }
.hero__glow--2 { width: 420px; height: 420px; background: var(--cyan); bottom: -200px; left: -140px; opacity: .3; animation: drift 18s ease-in-out infinite reverse; }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero__title {
  font-size: clamp(2rem, 3.9vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.07;
}
.hero__subtitle {
  margin-top: 22px;
  max-width: 580px;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  color: rgba(255, 255, 255, .72);
}
.hero__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__highlights {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 12px 28px;
}
.hero__highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .93rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .85);
}
.hero__highlights .icon {
  width: 22px; height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(6, 182, 212, .16);
  color: var(--cyan);
}

/* Composição de dispositivos */
.hero__visual {
  position: relative;
  aspect-ratio: 1.12 / 1;
  width: 100%;
  max-width: 620px;
  justify-self: end;
}
.device { position: absolute; }
.device__screen {
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.device--laptop {
  width: 84%;
  left: 4%; top: 10%;
  animation: float 7s ease-in-out infinite;
}
.device--laptop .device__screen {
  aspect-ratio: 16 / 10;
  border: 10px solid #1E293B;
  border-bottom-width: 14px;
  border-radius: 14px 14px 0 0;
  box-shadow: var(--shadow-lg);
}
.device__base {
  height: 14px;
  margin: 0 -7%;
  background: linear-gradient(#334155, #1E293B);
  border-radius: 0 0 14px 14px;
  position: relative;
}
.device__base::before {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  width: 18%; height: 5px;
  transform: translateX(-50%);
  background: #0F172A;
  border-radius: 0 0 8px 8px;
}
.device--tablet {
  width: 34%;
  right: 0; bottom: 6%;
  animation: float 8s ease-in-out infinite .8s;
}
.device--tablet .device__screen {
  aspect-ratio: 3 / 4;
  border: 9px solid #1E293B;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}
.device--phone {
  width: 19%;
  left: 0; bottom: 0;
  animation: float 6s ease-in-out infinite 1.4s;
}
.device--phone .device__screen {
  aspect-ratio: 9 / 19;
  border: 6px solid #0F172A;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}

/* Mini site dentro dos dispositivos */
.mock { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 7%; padding: 0 0 6%; background: #fff; }
.mock__bar { display: flex; align-items: center; gap: 4px; padding: 3% 4%; background: #F1F5F9; }
.mock__bar i { width: 6px; height: 6px; border-radius: 50%; background: #CBD5E1; }
.mock__bar i:first-child { background: #F87171; }
.mock__bar i:nth-child(2) { background: #FBBF24; }
.mock__bar i:nth-child(3) { background: #34D399; }
.mock__bar span { flex: 1; height: 7px; margin-left: 8px; border-radius: 4px; background: #E2E8F0; }
.mock__nav { display: flex; align-items: center; gap: 4%; padding: 0 6%; }
.mock__nav b { width: 16%; height: 8px; border-radius: 4px; background: var(--navy); }
.mock__nav em { width: 8%; height: 5px; border-radius: 3px; background: #CBD5E1; }
.mock__nav em:first-of-type { margin-left: auto; }
.mock__nav strong { width: 14%; height: 12px; border-radius: 6px; background: var(--grad); }
.mock__hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 6%; padding: 0 6%; align-items: center; flex: 1; }
.mock__text { display: flex; flex-direction: column; gap: 7px; }
.mock__text b { height: 10px; border-radius: 4px; background: var(--navy); width: 100%; }
.mock__text i { height: 5px; border-radius: 3px; background: #CBD5E1; width: 100%; }
.mock__text strong { width: 42%; height: 13px; margin-top: 6px; border-radius: 7px; background: var(--grad); }
.mock__text .w80 { width: 78%; }
.mock__text .w60 { width: 60%; }
.mock__img {
  height: 100%;
  min-height: 60px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 70% 30%, rgba(255,255,255,.5) 0 12%, transparent 13%),
    linear-gradient(135deg, #2563EB, #06B6D4);
}
.mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; padding: 0 6%; }
.mock__cards span { height: 30px; border-radius: 6px; background: #F1F5F9; border: 1px solid #E2E8F0; }
.mock--alt { gap: 5%; padding-top: 6%; }
.mock--alt .mock__nav b { width: 30%; }
.mock--alt .mock__nav strong { margin-left: auto; width: 22%; }
.mock__banner { margin: 0 7%; height: 30%; border-radius: 8px; background: linear-gradient(135deg, var(--navy), var(--blue)); }
.mock__list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 7%; }
.mock__list span { height: 34px; border-radius: 6px; background: #F1F5F9; }
.mock--phone { gap: 5%; padding-top: 0; }
.mock__notch { width: 40%; height: 9px; margin: 0 auto; background: #0F172A; border-radius: 0 0 8px 8px; }
.mock--phone .mock__banner { height: 26%; margin: 0 8%; background: linear-gradient(135deg, #06B6D4, #2563EB); }
.mock--phone .mock__text { padding: 0 9%; gap: 5px; }
.mock--phone .mock__text b { height: 7px; }
.mock--phone .mock__text i { height: 4px; }
.mock__btn { margin: 0 9%; height: 13px; border-radius: 7px; background: var(--grad); }
.mock--phone .mock__list { grid-template-columns: 1fr; gap: 5px; padding: 0 8%; }
.mock--phone .mock__list span { height: 22px; }

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(17, 26, 46, .72);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
}
.float-chip .icon { color: var(--cyan); }
.float-chip--1 { top: 2%; right: 4%; animation: float 6s ease-in-out infinite .4s; }
.float-chip--2 { bottom: 32%; left: 14%; animation: float 7s ease-in-out infinite 1s; }

/* ---------- 7. SEÇÕES ---------- */
.section {
  position: relative;
  padding: clamp(72px, 10vw, 120px) 0;
}
.section--soft { background: var(--soft); }
.section--dark {
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.section--dark__glow {
  position: absolute;
  width: 700px; height: 700px;
  left: 50%; top: -360px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(37, 99, 235, .35), transparent 65%);
  pointer-events: none;
}
.section--dark .container { position: relative; }

.section__head {
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}
.section__title {
  font-size: clamp(1.75rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -.03em;
}
.section__lead {
  margin-top: 16px;
  font-size: 1.06rem;
  color: var(--muted);
}
.section--dark .section__lead { color: rgba(255, 255, 255, .68); }

.inline-cta {
  margin-top: clamp(40px, 6vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  flex-wrap: wrap;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(37,99,235,.06), rgba(6,182,212,.08));
  border: 1px solid rgba(37, 99, 235, .14);
}
.inline-cta p { font-size: 1.05rem; color: var(--muted); }
.inline-cta strong { color: var(--text); }
.inline-cta--dark { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.inline-cta--dark p { color: rgba(255,255,255,.7); }
.inline-cta--dark strong { color: var(--white); }

/* ---------- 8. SERVIÇOS ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(37, 99, 235, .25);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37,99,235,.1), rgba(6,182,212,.14));
  color: var(--blue);
  margin-bottom: 22px;
  transition: background .35s, color .35s, transform .35s var(--ease);
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card:hover .service-card__icon { background: var(--grad); color: var(--white); transform: rotate(-6deg); }
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: .97rem; flex: 1; }
.service-card__link {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--blue);
  align-self: flex-start;
}
.service-card__link .icon { transition: transform .25s var(--ease); }
.service-card__link:hover .icon { transform: translateX(5px); }

/* ---------- 9. VANTAGENS ---------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.benefit {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .35s var(--ease), border-color .35s, background .35s;
}
.benefit:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, .4);
  background: linear-gradient(180deg, rgba(37,99,235,.14), rgba(6,182,212,.04));
}
.benefit__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(6, 182, 212, .14);
  color: var(--cyan);
}
.benefit__icon svg { width: 24px; height: 24px; }
.benefit h3 { font-size: 1.04rem; font-weight: 700; margin-bottom: 6px; }
.benefit p { font-size: .92rem; color: rgba(255, 255, 255, .65); }

/* ---------- 10. PLANOS ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan--featured {
  background: var(--navy);
  color: var(--white);
  border: 1px solid transparent;
  background-image: linear-gradient(var(--navy), var(--navy)), var(--grad);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-width: 2px;
  box-shadow: 0 30px 60px -25px rgba(37, 99, 235, .55);
  transform: scale(1.03);
}
.plan--featured:hover { transform: scale(1.03) translateY(-6px); }
.plan__badge {
  position: absolute;
  top: -15px; left: 50%;
  transform: translateX(-50%);
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--grad);
  color: var(--white);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: var(--shadow-blue);
}
.plan__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(37, 99, 235, .1);
  color: var(--blue);
  margin-bottom: 18px;
}
.plan__icon svg { width: 24px; height: 24px; }
.plan--featured .plan__icon { background: rgba(6, 182, 212, .16); color: var(--cyan); }
.plan__name { font-size: 1.5rem; font-weight: 800; }
.plan__desc { margin-top: 8px; font-size: .94rem; color: var(--muted); min-height: 3em; }
.plan--featured .plan__desc { color: rgba(255, 255, 255, .65); }
.plan__price {
  margin: 26px 0;
  padding: 20px 0;
  border-block: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.plan--featured .plan__price { border-color: rgba(255, 255, 255, .1); }
.plan__from { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.plan--featured .plan__from { color: rgba(255, 255, 255, .55); }
.plan__value { font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.plan--featured .plan__value { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan__list { display: grid; gap: 12px; margin-bottom: 30px; flex: 1; }
.plan__list li { display: flex; gap: 10px; font-size: .94rem; align-items: flex-start; }
.plan__list .icon { margin-top: 3px; color: var(--blue); width: 18px; height: 18px; }
.plan--featured .plan__list .icon { color: var(--cyan); }
.plan--featured .plan__list li { color: rgba(255, 255, 255, .88); }
.plans__note {
  max-width: 760px;
  margin: 40px auto 0;
  text-align: center;
  font-size: .9rem;
  color: var(--muted);
}

/* ---------- 11. PORTFÓLIO ---------- */
.demo-notice {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(6, 182, 212, .08);
  border: 1px dashed rgba(6, 182, 212, .5);
  color: #0E7490;
  font-size: .88rem;
  font-weight: 500;
  text-align: left;
}
.portfolio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.work {
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work__media {
  position: relative;
  margin: 0;
  aspect-ratio: 10 / 7;
  overflow: hidden;
  background: var(--soft);
}
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work:hover .work__media img { transform: scale(1.05); }
.work__tag {
  position: absolute;
  bottom: 12px; left: 12px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(11, 17, 32, .8);
  color: var(--white);
  backdrop-filter: blur(6px);
}
.work__body {
  padding: 20px 22px 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "cat btn" "title btn";
  align-items: center;
  gap: 2px 14px;
}
.work__cat { grid-area: cat; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); }
.work h3 { grid-area: title; font-size: 1.1rem; font-weight: 700; }
.work__btn {
  grid-area: btn;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  transition: background .25s, color .25s, border-color .25s;
}
.work__btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---------- 12. PROCESSO ---------- */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 46px;
  left: 12%; right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 10px, transparent 10px 18px);
  opacity: .35;
}
.step {
  position: relative;
  text-align: center;
  padding: 0 8px;
}
.step__num {
  display: block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--blue);
  margin-bottom: 10px;
}
.step__icon {
  position: relative;
  z-index: 1;
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  display: grid; place-items: center;
  border-radius: 20px;
  background: var(--grad);
  color: var(--white);
  box-shadow: var(--shadow-blue);
  transition: transform .35s var(--ease);
}
.step:hover .step__icon { transform: translateY(-4px) rotate(-6deg); }
.step__icon svg { width: 28px; height: 28px; }
.step h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; max-width: 260px; margin-inline: auto; }

/* ---------- 13. FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq__item {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color .3s, box-shadow .3s;
}
.faq__item.is-open { border-color: rgba(37, 99, 235, .35); box-shadow: var(--shadow); }
.faq__q { font-size: 1.04rem; font-weight: 600; }
.faq__q button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border: 0;
  background: transparent;
  text-align: left;
  font-weight: 600;
  border-radius: var(--radius);
}
.faq__q .icon {
  width: 32px; height: 32px;
  padding: 7px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--blue);
  transition: transform .35s var(--ease), background .3s, color .3s;
}
.faq__item.is-open .faq__q .icon { transform: rotate(45deg); background: var(--blue); color: var(--white); }
.faq__a { padding: 0 24px 22px; color: var(--muted); }
.faq__a.is-animating { overflow: hidden; transition: height .35s var(--ease); }

/* ---------- 14. FORMULÁRIO ---------- */
.contact {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.contact__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.contact__intro .section__title { text-align: left; }
.contact__info { margin-top: 32px; display: grid; gap: 16px; }
.contact__info li { display: flex; align-items: center; gap: 14px; }
.contact__info strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact__info a, .contact__info span { font-weight: 600; font-size: 1.05rem; }
.contact__info a:hover { color: var(--blue); }
.contact__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--blue);
}
.contact__icon svg { width: 22px; height: 22px; }

.form {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label { font-size: .88rem; font-weight: 600; }
.req { color: #DC2626; }
.opt { color: var(--muted-light); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #FAFBFD;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #CBD5E1; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .14);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #DC2626; box-shadow: 0 0 0 4px rgba(220, 38, 38, .1); }
.field__error { font-size: .82rem; color: #DC2626; min-height: 0; }
.field__error:empty { display: none; }

.field--check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: start;
}
.field--check input {
  width: 20px; height: 20px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--blue);
  cursor: pointer;
}
.field--check label { font-weight: 400; font-size: .87rem; color: var(--muted); cursor: pointer; }
.field--check label a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.field--check .field__error { grid-column: 2; }

.form__note {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--soft);
  font-size: .84rem;
  color: var(--muted);
}
.form__note .icon { color: var(--blue); margin-top: 2px; }
.form__status { font-size: .9rem; text-align: center; color: var(--muted); }
.form__status:empty { display: none; }
.form__status.is-success { color: #047857; font-weight: 600; }

/* ---------- 15. CTA FINAL ---------- */
.cta-final {
  position: relative;
  padding: clamp(80px, 11vw, 130px) 0;
  background: var(--blue);
  color: var(--white);
  overflow: hidden;
  text-align: center;
}
.cta-final__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(6, 182, 212, .55), transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(11, 17, 32, .55), transparent 50%),
    linear-gradient(135deg, var(--blue-600), var(--blue) 50%, #0891B2);
}
.cta-final__bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, transparent, #000 50%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 50%, transparent);
}
.cta-final__inner { position: relative; max-width: 860px; }
.cta-final h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; }
.cta-final p { margin: 20px auto 38px; max-width: 640px; font-size: 1.1rem; color: rgba(255, 255, 255, .88); }
.cta-final .btn { white-space: normal; }

/* ---------- 16. RODAPÉ ---------- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .7);
  font-size: .94rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  padding-block: 64px 48px;
}
.footer__brand p { margin-top: 16px; max-width: 340px; }
.footer__slogan { font-size: .86rem; color: rgba(255, 255, 255, .5); }
.footer h3 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--white);
  margin-bottom: 18px;
}
.footer ul { display: grid; gap: 10px; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--cyan); }
.footer__contact span:first-child { color: rgba(255, 255, 255, .45); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-block: 22px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
}

/* ---------- 17. WHATSAPP FLUTUANTE / MODAL ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 60px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--wa);
  color: var(--white);
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7);
  transition: transform .3s var(--ease), gap .3s var(--ease), padding .3s var(--ease);
}
.wa-float::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--wa);
  z-index: -1;
  animation: ring 2.4s infinite;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float__label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 700;
  font-size: .92rem;
  transition: max-width .35s var(--ease);
}
.wa-float:hover, .wa-float:focus-visible { gap: 10px; padding-right: 20px; transform: translateY(-3px); }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 140px; }

.modal {
  width: min(920px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5);
  overflow: auto;
}
.modal::backdrop { background: rgba(11, 17, 32, .75); backdrop-filter: blur(4px); }
.modal[open] { animation: modalIn .35s var(--ease); }
.modal__head, .modal__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
}
.modal__head h3 { font-size: 1.15rem; }
.modal__tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #0E7490; }
.modal__close {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  flex-shrink: 0;
}
.modal__close:hover { background: var(--soft); }
.modal__close svg { width: 20px; height: 20px; }
.modal img { width: 100%; background: var(--soft); }
.modal__foot { flex-wrap: wrap; border-top: 1px solid var(--line); }
.modal__foot p { color: var(--muted); font-weight: 500; }

/* ---------- 18. ANIMAÇÕES ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-40px, 30px); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(6, 182, 212, .2); }
  50% { box-shadow: 0 0 0 8px rgba(6, 182, 212, 0); }
}
@keyframes ring {
  0% { transform: scale(1); opacity: .55; }
  80%, 100% { transform: scale(1.45); opacity: 0; }
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(.98); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 19. RESPONSIVO ---------- */
@media (min-width: 1600px) {
  :root { --container: 1320px; }
  body { font-size: 1.04rem; }
}

@media (max-width: 1180px) {
  .nav__list { gap: 0; }
  .nav__link { padding: 8px 9px; font-size: .86rem; }
  .nav { gap: 16px; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  /* Menu mobile */
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 32px;
    padding: calc(var(--header-h) + 24px) 28px 40px;
    background: rgba(11, 17, 32, .97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__link {
    font-size: 1.3rem;
    font-weight: 600;
    padding: 12px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    border-radius: 0;
  }
  .nav__link::after { display: none; }
  .nav__link.is-active { color: var(--cyan); }
  .nav__cta { --btn-pad-y: 16px; font-size: .95rem; }

  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__subtitle { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__highlights { justify-content: center; }
  .hero__visual { justify-self: center; max-width: 560px; margin-top: 12px; }

  .services, .portfolio { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 36px; }
  .plan--featured, .plan--featured:hover { transform: none; }
  .plan__desc { min-height: 0; }

  .timeline { grid-template-columns: repeat(2, 1fr); gap: 44px 24px; }
  .timeline::before { display: none; }

  .contact { grid-template-columns: 1fr; }
  .contact__intro { position: static; text-align: center; }
  .contact__intro .section__title { text-align: center; }
  .contact__info { justify-content: center; grid-template-columns: repeat(2, max-content); gap: 16px 32px; }
  .contact__info li { text-align: left; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --header-h: 68px; }
  .eyebrow { font-size: .7rem; letter-spacing: .08em; }
  .hero .eyebrow { display: block; }
  .hero .eyebrow__dot { display: inline-block; vertical-align: middle; margin-right: 8px; }
  .logo__text { font-size: 1.08rem; }
  .logo__mark svg { width: 36px; height: 36px; }

  .hero { padding-top: calc(var(--header-h) + 32px); padding-bottom: 64px; }
  .hero__actions .btn { width: 100%; white-space: normal; }
  .hero__highlights { grid-template-columns: 1fr 1fr; gap: 12px; text-align: left; }
  .hero__highlights li { font-size: .84rem; }
  .float-chip { font-size: .72rem; padding: 7px 10px; }
  .float-chip--2 { left: 4%; bottom: 36%; }

  .services, .portfolio, .benefits { grid-template-columns: 1fr; }
  .service-card { padding: 26px 22px; }
  .benefit { flex-direction: row; align-items: flex-start; }
  .benefit__icon { flex-shrink: 0; }

  .inline-cta { flex-direction: column; text-align: center; padding: 22px; }
  .inline-cta .btn { width: 100%; white-space: normal; }

  .timeline { grid-template-columns: 1fr; gap: 36px; }

  .form__row { grid-template-columns: 1fr; }
  .contact__info { grid-template-columns: 1fr; justify-content: center; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; padding-block: 48px 36px; }

  .wa-float { right: 16px; bottom: 16px; height: 56px; padding: 0 13px; }

  .modal__foot { flex-direction: column; align-items: stretch; text-align: center; }
}

@media (max-width: 380px) {
  .hero__title { font-size: 1.9rem; }
  .hero__highlights { grid-template-columns: 1fr; }
  .plan { padding: 30px 22px; }
  .btn--xl { --btn-pad-x: 24px; }
}
