/* ==========================================================================
   Kerberos Informática — Estilos Globais e Reset de Vetores
   ========================================================================== */

:root {
  --bg: #f7f7f5;
  --bg-2: #e9ecf0;
  --bg-3: #f0f2f5;
  --surface: #ffffff;
  --surface-2: #f9ebe0;
  --border: #ccd1d7;

  --text: #3c4756;
  --heading: #3c4756;
  --muted: #56667b;
  --muted-2: #8a94a3;

  --brand: #56667b;
  --brand-2: #3c4756;
  --accent: #dc7a32;
  --accent-2: #bb672a;

  --grad: linear-gradient(120deg, #56667b 0%, #3c4756 100%);
  --grad-accent: linear-gradient(120deg, #dc7a32 0%, #bb672a 100%);

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -22px rgba(60, 71, 86, 0.28);
  --shadow-sm: 0 8px 20px -14px rgba(60, 71, 86, 0.22);
  --shadow-brand: 0 12px 32px -12px rgba(220, 122, 50, 0.5);

  --container: 1200px;
  --header-h: 72px;

  --font-head: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset Global ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  display: inline-block;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
}

::selection {
  background: rgba(220, 122, 50, 0.35);
  color: #3c4756;
}

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

.section {
  padding: 96px 0;
}

.section--alt {
  background: var(--bg-2);
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}

.eyebrow::before,
.section-head--center .eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

.title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--heading);
}

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

.lead {
  color: var(--muted);
  font-size: 1.06rem;
  margin-top: 18px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn svg {
  width: 18px !important;
  height: 18px !important;
  flex: none !important;
}

.btn--primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-brand);
}

.btn--primary:hover {
  background: var(--accent-2);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -12px rgba(220, 122, 50, 0.55);
}

.btn--accent {
  background: var(--grad-accent);
  color: #ffffff;
  box-shadow: var(--shadow-brand);
}

.btn--accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -12px rgba(220, 122, 50, 0.6);
}

.btn--ghost {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand-2);
  background: #ffffff;
  transform: translateY(-3px);
}

/* ==========================================================================
   Header & Navegação
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  background: var(--brand);
  transition: box-shadow 0.35s ease;
}

.header.is-scrolled {
  box-shadow: 0 12px 30px -18px rgba(60, 71, 86, 0.6);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.brand__logo {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border-radius: 12px;
  padding: 7px 14px;
}

.brand__logo img {
  height: 42px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__link {
  position: relative;
  padding: 10px 16px;
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav__link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.nav__link.is-active {
  color: #ffffff;
}

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.nav__toggle svg {
  width: 22px !important;
  height: 22px !important;
  flex: none !important;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 88px) 0 104px;
  overflow: hidden;
  background: var(--bg);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--heading);
}

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

.hero__text {
  color: var(--muted);
  font-size: 1.12rem;
  margin-top: 22px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
  background: #ffffff;
}

.chip svg {
  width: 15px !important;
  height: 15px !important;
  color: var(--brand);
  flex: none !important;
}

/* ---------- Grid das Estatísticas do Hero ---------- */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.stat-card__number {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}

.stat-card__label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px;
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
}

.hero__ring {
  position: relative;
  width: min(420px, 90%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.hero__ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(86, 102, 123, 0.42), rgba(220, 122, 50, 0.32), rgba(86, 102, 123, 0.42));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: spin 16s linear infinite;
}

.hero__connectors {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 1;
  pointer-events: none;
}

.hero__connectors line {
  stroke: #ccd1d7;
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  fill: none;
  vector-effect: non-scaling-stroke;
}

.hero__core {
  position: relative;
  z-index: 2;
  width: 180px;
  height: 180px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.hero__core svg,
.hero__core-icon {
  width: 48px !important;
  height: 48px !important;
  color: var(--accent);
  grid-area: 1 / 1;
  transition: opacity 0.6s ease;
  flex: none !important;
}

.hero__core-icon {
  opacity: 0;
}

.hero__core svg,
.hero__core-icon.is-active {
  opacity: 1;
}

.hero__float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.hero__float svg {
  width: 20px !important;
  height: 20px !important;
  color: var(--accent);
  flex: none !important;
  display: block;
}

.hero__float--1 {
  left: 98.5%;
  top: 22%;
  animation: float 6s ease-in-out infinite;
}

.hero__float--2 {
  left: 50%;
  top: 106%;
  animation: float 7s ease-in-out 0.8s infinite;
}

.hero__float--3 {
  left: 1.5%;
  top: 22%;
  animation: float 6.5s ease-in-out 0.4s infinite;
}

.monitor {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-weight: 600;
}

.monitor small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

.status__dot {
  width: 7px;
  height: 7px;
  flex: none !important;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
@keyframes float {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 14px)); }
}

/* ==========================================================================
   Página de Serviços
   ========================================================================== */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 64px;
  overflow: hidden;
  background: var(--bg);
}

.service-detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail__media {
  width: 280px;
  height: 280px;
  display: grid;
  place-items: center;
  padding: 24px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  flex: none;
}

.service-detail__media svg {
  width: 64px !important;
  height: 64px !important;
  color: var(--accent);
  flex: none !important;
}

.service-detail h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--heading);
}

.service-detail p {
  color: var(--muted);
  margin-bottom: 14px;
}

.checklist {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 0.95rem;
}

.checklist li svg {
  width: 20px !important;
  height: 20px !important;
  color: var(--accent);
  flex: none !important;
}

/* ==========================================================================
   Página de Contato
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.contact-item__icon {
  flex: none !important;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(220, 122, 50, 0.12);
  color: var(--accent);
}

.contact-item__icon svg {
  width: 22px !important;
  height: 22px !important;
  flex: none !important;
}

.contact-item h3 {
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--heading);
}

.contact-item p {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-item a {
  color: var(--accent);
}

.form {
  padding: 34px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-weight: 500;
  font-size: 0.88rem;
  margin-bottom: 8px;
  color: var(--text);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(86, 102, 123, 0.15);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field .error-msg {
  display: none;
  color: #c0392b;
  font-size: 0.8rem;
  margin-top: 6px;
}

.field.is-error input,
.field.is-error textarea {
  border-color: #c0392b;
}

.field.is-error .error-msg {
  display: block;
}

.form__success {
  display: none;
  padding: 18px;
  border-radius: var(--radius-sm);
  background: rgba(39, 174, 96, 0.12);
  border: 1px solid rgba(39, 174, 96, 0.4);
  color: #1e7a43;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.form__success.is-visible {
  display: block;
}

.form__error {
  display: none;
  padding: 18px;
  border-radius: var(--radius-sm);
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.4);
  color: #b02a37;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.form__error.is-visible {
  display: block;
}

/* ==========================================================================
   Cards e Features
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  padding: 30px 26px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--brand);
  box-shadow: var(--shadow);
}

.card:hover::before {
  opacity: 1;
}

.card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(220, 122, 50, 0.12);
  color: var(--accent);
  margin-bottom: 18px;
}

.card__icon svg {
  width: 24px !important;
  height: 24px !important;
  flex: none !important;
}

.card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--heading);
}

.card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
}

.card__link svg {
  width: 16px !important;
  height: 16px !important;
  flex: none !important;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature {
  display: flex;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--border);
}

.feature__icon {
  flex: none !important;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--grad);
  color: #ffffff;
}

.feature__icon svg {
  width: 24px !important;
  height: 24px !important;
  flex: none !important;
}

.feature h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--heading);
}

.feature p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* CTA Banner */
.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 60px;
  background:
    radial-gradient(70% 120% at 85% 20%, rgba(220, 122, 50, 0.14), transparent 60%),
    var(--surface-2);
  border: 1px solid #ecd9c6;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.cta-banner .eyebrow {
  color: var(--accent);
}

.cta-banner h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--heading);
}

.cta-banner p {
  color: var(--muted);
  margin-top: 16px;
  max-width: 520px;
}

.cta-banner__list {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.cta-banner__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 0.96rem;
}

.cta-banner__list svg {
  width: 20px !important;
  height: 20px !important;
  color: var(--accent);
  flex: none !important;
}

.cta-banner__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* FAQ */
.faq {
  max-width: 760px;
  margin-inline: auto;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #ffffff;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--heading);
}

.faq__q svg {
  width: 20px !important;
  height: 20px !important;
  flex: none !important;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq__item.is-open .faq__q svg {
  transform: rotate(45deg);
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq__a p {
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Depoimentos (grade estática) ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.testimonial-card__stars {
  color: var(--accent);
  letter-spacing: 3px;
}

.testimonial-card__quote {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.5;
}

.testimonial-card__author {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.88rem;
}

.testimonial-card__author strong {
  color: var(--text);
  font-weight: 600;
}

.testimonials__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.testimonials__more:hover {
  color: var(--accent-2);
}

.testimonials__more:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Rodapé */
.footer {
  background: var(--brand);
  padding: 72px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  margin-top: 16px;
  max-width: 300px;
}

.footer h4 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.93rem;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--accent);
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.socials a:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.socials svg {
  width: 20px !important;
  height: 20px !important;
  flex: none !important;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px -12px rgba(86, 102, 123, 0.7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.3s ease;
  z-index: 90;
}

.to-top:hover {
  background: var(--accent);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top svg {
  width: 22px !important;
  height: 22px !important;
  flex: none !important;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsividade */
@media (max-width: 1024px) {
  .cards,
  .features,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner {
    grid-template-columns: 1fr;
    padding: 40px;
  }
}

@media (max-width: 860px) {
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__visual {
    order: -1;
  }

  .hero__ring {
    width: min(320px, 80%);
  }

  .hero__float--1 {
    left: 93.3%;
    top: 25%;
  }

  .hero__float--2 {
    left: 50%;
    top: 100%;
  }

  .hero__float--3 {
    left: 6.7%;
    top: 25%;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail__media {
    margin-inline: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .cards,
  .features,
  .footer__grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner {
    padding: 28px;
  }

  .hero__float {
    padding: 8px 12px;
    font-size: 0.76rem;
  }

  .hero__float--1 {
    left: 77.7%;
    top: 34%;
  }

  .hero__float--2 {
    left: 50%;
    top: 82%;
  }

  .hero__float--3 {
    left: 22.3%;
    top: 34%;
  }

  .form__row {
    grid-template-columns: 1fr;
  }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 24px) 24px 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  display: block;
  padding: 16px 4px;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.mobile-menu a:hover {
  color: var(--accent);
}

.mobile-menu .btn {
  margin-top: 24px;
}