/* =========================================================
   SITE DE FREELAS — LANDING PAGES
   Folha de estilos principal
   01. Variáveis e base      08. Exemplos
   02. Utilitários           09. Sobre
   03. Cabeçalho             10. Dúvidas (FAQ)
   04. Hero                  11. Orçamento / formulário
   05. Seções                12. Rodapé
   06. Cards e serviços      13. Ícones e ícones SVG
   07. Processo              14. Animações e responsivo
   ========================================================= */

/* ================= 01. VARIÁVEIS E BASE ================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #8aa7ff;
  --primary-dark: #6f91f5;
  --primary-soft: rgba(138, 167, 255, 0.12);
  --success: #4ade80;
  --success-soft: rgba(74, 222, 128, 0.12);
  --ink: #eef2ff;
  --ink-soft: #bac5d8;
  --ink-dim: #9ba9bf;
  --surface: #0d1422;
  --surface-2: #121d2e;
  --border: #26344a;
  --border-strong: #394962;
  --dark: #080d18;
  --dark-2: #101a2b;
  --shadow-sm: 0 2px 8px -2px rgba(0, 0, 0, 0.24);
  --shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 60px -30px rgba(0, 0, 0, 0.75);
  --radius: 18px;
  --radius-sm: 12px;
  --font-title: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --t: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 76px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  font-size: 16.5px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

strong {
  font-weight: 700;
}

::selection {
  background: var(--primary);
  color: #fff;
}

:focus-visible {
  outline: 3px solid rgba(138, 167, 255, 0.65);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ================= 02. UTILITÁRIOS ================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 22px;
}

.container-narrow {
  max-width: 820px;
}

.accent {
  color: var(--primary);
}

.gradient-text {
  background: linear-gradient(100deg, #8aa7ff, #c4a3ff 60%, #8aa7ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: -0.15em;
  fill: currentColor;
}

.icon-xs { width: 15px; height: 15px; }
.icon-sm { width: 18px; height: 18px; }
.icon-md { width: 24px; height: 24px; }
.icon-lg { width: 30px; height: 30px; }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  transition: var(--t);
  white-space: nowrap;
}

.btn-lg {
  padding: 16px 28px;
  font-size: 1rem;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.88rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(37, 99, 235, 0.75);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 20px 36px -14px rgba(37, 99, 235, 0.85);
}

.btn-outline {
  border-color: var(--border-strong);
  background: var(--surface);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--ink-soft);
}

.btn-ghost:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-block {
  width: 100%;
}

/* ================= 03. CABEÇALHO ================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  z-index: 100;
  background: rgba(8, 13, 24, 0.86);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: var(--t);
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.logo-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 2px solid rgba(138, 167, 255, 0.5);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 24%;
  box-shadow: 0 6px 18px -8px rgba(138, 167, 255, 0.55);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: var(--t);
}

.nav-link:hover {
  color: var(--ink);
  background: var(--surface-2);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  padding: 0 10px;
}

.hamburger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: var(--t);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================= 04. HERO ================= */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 70px) 0 90px;
  background:
    radial-gradient(900px 420px at 85% -5%, rgba(60, 97, 190, 0.22), transparent 70%),
    radial-gradient(700px 380px at 5% 10%, rgba(111, 71, 171, 0.15), transparent 70%),
    linear-gradient(180deg, #0d1525, var(--surface));
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 100px;
  background: var(--success-soft);
  border: 1px solid rgba(74, 222, 128, 0.28);
  color: #9af0b5;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.1rem, 4.4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 30px;
}

.hero-desc strong {
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-checks {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.hero-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

.hero-checks .icon {
  color: var(--success);
}

.hero-visual {
  position: relative;
}

.project-showcase {
  position: relative;
  width: min(100%, 560px);
  margin: 0 auto;
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  overflow: hidden;
  background: #0b111d;
  box-shadow: var(--shadow-lg);
}

.project-window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 14px;
  background: #121d2e;
  border-bottom: 1px solid var(--border);
}

.project-window-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #53627b;
}

.project-window-bar span:first-child { background: #ff6b63; }
.project-window-bar span:nth-child(2) { background: #ffc34d; }
.project-window-bar span:nth-child(3) { background: #4ad17b; }

.project-window-bar small {
  margin-left: 8px;
  color: var(--ink-dim);
  font-size: 0.75rem;
}

.project-preview {
  width: 100%;
  aspect-ratio: 1000 / 549;
  object-fit: cover;
  object-position: center top;
}

.project-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  background: #0d1422;
}

.project-caption > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-label {
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-caption strong {
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 0.95rem;
}

.project-caption > a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  transition: var(--t);
}

.project-caption > a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ================= 05. SEÇÕES ================= */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-dark {
  background: linear-gradient(160deg, var(--dark), var(--dark-2));
  color: #fff;
}

.section-head {
  max-width: 680px;
  margin-bottom: 52px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--primary-soft);
}

.section-tag-light {
  background: rgba(255, 255, 255, 0.1);
  color: #93b4ff;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.section-sub {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

/* ================= 06. CARDS E SERVIÇOS ================= */
.grid-3,
.grid-4 {
  display: grid;
  gap: 22px;
}

.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--t);
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.card h3 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 20px;
}

/* Pacotes */
.plans {
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan-featured {
  border-color: var(--primary);
  border-width: 2px;
  box-shadow: 0 26px 50px -28px rgba(37, 99, 235, 0.55);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-name {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.plan-desc {
  color: var(--ink-soft);
  font-size: 0.9rem;
  min-height: 44px;
}

.plan-price {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 16px 0 22px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border-strong);
}

.plan-price span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-right: 4px;
}

.plan-price-custom {
  font-size: 1.55rem;
  color: var(--primary);
}

.plan-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 26px;
  flex: 1;
}

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.91rem;
  color: var(--ink-soft);
}

.plan-list .icon {
  color: var(--success);
  margin-top: 4px;
}

.plan-list .plan-maintenance {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  color: var(--ink-dim) !important;
  font-size: 0.83rem !important;
}

.plan-list .plan-maintenance strong {
  color: var(--primary);
  font-size: 1rem;
}

.plan-list .plan-maintenance small {
  color: var(--ink-dim);
  font-size: 0.78rem;
}

.plans-note {
  margin-top: 30px;
  font-size: 0.92rem;
  color: var(--ink-dim);
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ================= 07. PROCESSO ================= */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: var(--t);
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.step-num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.step h3 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* Incluído */
.includes .include {
  padding: 26px 22px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: var(--t);
}

.includes .include:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.include .icon {
  color: var(--primary);
  margin-bottom: 14px;
}

.include h3 {
  font-family: var(--font-title);
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.include p {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ================= 08. EXEMPLOS ================= */
.works .work {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--t);
}

.works .work:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.work-thumb {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.work-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.work:hover .work-thumb img {
  transform: scale(1.05);
}

.work-body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.work-tag {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 9px;
}

.work-body h3 {
  font-family: var(--font-title);
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 9px;
}

.work-body p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 18px;
  flex: 1;
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

.work-link:hover {
  gap: 11px;
}

.work-cta {
  background: linear-gradient(150deg, #18243a, #17172b);
  border-style: dashed;
  border-color: var(--primary);
  justify-content: center;
}

.work-cta .work-body {
  align-items: flex-start;
}

.work-cta .icon {
  color: var(--primary);
  margin-bottom: 14px;
}

.work-cta h3 {
  font-size: 1.15rem;
}

/* ================= 09. SOBRE ================= */
.about {
  max-width: 860px;
  margin: 0 auto;
}

.about-text .section-title {
  margin-bottom: 18px;
}

.about-text p {
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0 28px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.94rem;
}

.about-list .icon {
  color: var(--success);
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ================= 10. DÚVIDAS (FAQ) ================= */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: var(--t);
}

.faq-item[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2.5px solid var(--primary);
  border-bottom: 2.5px solid var(--primary);
  transform: rotate(45deg);
  transition: var(--t);
  margin-top: -4px;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.faq-item p {
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* ================= 11. ORÇAMENTO ================= */
.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.contact .section-title {
  color: #fff;
}

.contact-sub {
  color: #b9c3da;
  margin-bottom: 30px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--t);
}

.contact-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(147, 180, 255, 0.5);
  transform: translateX(5px);
}

.contact-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #4f46e5);
  color: #fff;
  flex-shrink: 0;
}

.contact-links strong {
  display: block;
  font-size: 0.93rem;
}

.contact-links small {
  color: #bac5d8;
  font-size: 0.84rem;
}

.contact-note {
  margin-top: 22px;
  font-size: 0.86rem;
  color: #bac5d8;
}

.contact-form {
  padding: 34px 32px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}

.field {
  margin-bottom: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--surface-2);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--t);
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-dim);
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: #e11d48;
  box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.1);
}

.error-msg {
  display: block;
  min-height: 15px;
  margin-top: 5px;
  font-size: 0.76rem;
  color: #e11d48;
}

.honey {
  display: none;
}

.form-note {
  margin-top: 14px;
  font-size: 0.88rem;
  text-align: center;
  color: var(--success);
  font-weight: 600;
  min-height: 20px;
}

.form-privacy {
  margin-top: 6px;
  font-size: 0.78rem;
  text-align: center;
  color: var(--ink-dim);
}

/* ================= 12. RODAPÉ ================= */
.site-footer {
  padding: 54px 0 34px;
  background: var(--dark);
  color: #b9c3da;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.footer-brand .logo {
  justify-content: center;
  color: #fff;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 0.88rem;
  max-width: 420px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.footer-nav a {
  padding: 7px 13px;
  border-radius: 9px;
  font-size: 0.88rem;
  transition: var(--t);
}

.footer-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.footer-copy {
  font-size: 0.82rem;
  color: #9ba9bf;
}

/* Botão voltar ao topo */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 16px 32px -14px rgba(37, 99, 235, 0.9);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--t);
  z-index: 90;
}

.to-top .icon {
  transform: rotate(180deg);
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  transform: translateY(-4px);
}

/* ================= 13. SÓ O ESSENCIAL ================= */
.icon-sprite {
  display: none;
}

/* ================= 14. ANIMAÇÕES E RESPONSIVO ================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 62px;
  }

  .hero-visual {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .grid-3,
  .grid-4,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

@media (max-width: 860px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 22px 24px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition: var(--t);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    padding: 14px 16px;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
    border-radius: 10px;
  }

  .hide-mobile {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 38px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15.5px;
  }

  .grid-3,
  .grid-4,
  .steps,
  .field-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: calc(var(--header-h) + 42px);
  }

  .contact-form {
    padding: 26px 20px;
  }

  .about-actions .btn {
    width: 100%;
  }
}
