/* ==========================================================================
   Atlantic — Main Stylesheet
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 58, 237, 0.15), transparent),
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(0, 212, 255, 0.10), transparent);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-base) var(--ease);
}

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

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--color-text-strong);
  letter-spacing: -0.02em;
}

input,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

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

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-alt);
}
::-webkit-scrollbar-thumb {
  background: var(--color-border-strong);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-cyan);
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-cyan);
  color: var(--color-bg);
  padding: var(--space-3) var(--space-4);
  z-index: var(--z-floating);
  font-weight: var(--fw-semibold);
}
.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
}

/* --------------------------------------------------------------------------
   Layout & Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-cyan);
  padding: var(--space-2) var(--space-4);
  background: var(--color-cyan-soft);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-md);
  transition: all var(--t-base) var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  letter-spacing: -0.01em;
}

.btn--primary {
  background: var(--gradient-brand);
  color: var(--color-text-inverse);
  box-shadow: var(--glow-brand);
  font-weight: var(--fw-bold);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.45), 0 0 100px rgba(124, 58, 237, 0.25);
}
.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  background: var(--color-surface);
  color: var(--color-text-strong);
  border-color: var(--color-border-strong);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  background: var(--color-surface-hover);
  border-color: var(--color-cyan);
  color: var(--color-cyan);
  transform: translateY(-2px);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--fs-lg);
}

.btn--full {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  height: var(--header-height);
  background: rgba(10, 10, 26, 0.6);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: all var(--t-base) var(--ease);
}
.header.is-scrolled {
  background: rgba(10, 10, 26, 0.85);
  border-bottom-color: var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-strong);
  letter-spacing: -0.02em;
}
.logo__mark {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.5));
}
.logo:hover .logo__mark {
  animation: pulse 1.2s ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__list {
  display: flex;
  gap: var(--space-6);
}

.nav__link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
  position: relative;
  padding: var(--space-2) 0;
  transition: color var(--t-base) var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  transition: width var(--t-base) var(--ease);
}
.nav__link:hover,
.nav__link.is-active {
  color: var(--color-text-strong);
}
.nav__link:hover::after,
.nav__link.is-active::after {
  width: 100%;
}

.nav__cta {
  padding: var(--space-2) var(--space-5);
  font-size: var(--fs-sm);
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-strong);
  border-radius: 2px;
  transition: all var(--t-base) var(--ease);
}
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-20);
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 0%, rgba(10, 10, 26, 0.4) 60%, var(--color-bg) 100%),
    linear-gradient(180deg, transparent 0%, transparent 70%, var(--color-bg) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  backdrop-filter: blur(10px);
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-green);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--color-green);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  font-size: clamp(2.5rem, 7vw, var(--fs-7xl));
  line-height: 1;
  margin-bottom: var(--space-6);
  letter-spacing: -0.03em;
  font-weight: var(--fw-bold);
}

.hero__subtitle {
  font-size: clamp(var(--fs-lg), 2vw, var(--fs-xl));
  color: var(--color-text-muted);
  line-height: var(--lh-normal);
  max-width: 650px;
  margin: 0 auto var(--space-10);
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-16);
}

.hero__meta {
  display: flex;
  gap: var(--space-10);
  justify-content: center;
  flex-wrap: wrap;
}
.hero__meta-item {
  text-align: center;
}
.hero__meta-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--space-1);
}
.hero__meta-item span {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid var(--color-border-strong);
  border-radius: var(--radius-full);
  z-index: 2;
}
.hero__scroll span {
  display: block;
  width: 3px;
  height: 8px;
  background: var(--color-cyan);
  border-radius: var(--radius-full);
  margin: 6px auto;
  animation: scroll-dot 2s infinite;
}
@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  80%, 100% { transform: translateY(14px); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section {
  padding: var(--space-32) 0;
  position: relative;
}
.section--alt {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.section--contact {
  padding-top: var(--space-24);
  padding-bottom: var(--space-32);
}

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-16);
}

.section__title {
  font-size: clamp(var(--fs-3xl), 5vw, var(--fs-5xl));
  margin-bottom: var(--space-4);
  font-weight: var(--fw-bold);
}

.section__subtitle {
  font-size: var(--fs-lg);
  color: var(--color-text-muted);
  line-height: var(--lh-normal);
}

.section__cta {
  text-align: center;
  margin-top: var(--space-16);
}

/* --------------------------------------------------------------------------
   Services Grid
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.service-card {
  position: relative;
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--t-slow) var(--ease);
  overflow: hidden;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(0, 212, 255, 0.08),
    transparent 40%
  );
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
  pointer-events: none;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-strong);
  background: var(--color-surface-hover);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before,
.service-card:hover::after {
  opacity: 1;
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-cyan-soft);
  border: 1px solid rgba(0, 212, 255, 0.25);
  color: var(--color-cyan);
  margin-bottom: var(--space-6);
  transition: all var(--t-base) var(--ease);
}
.service-card__icon svg {
  width: 28px;
  height: 28px;
}
.service-card:hover .service-card__icon {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: var(--glow-cyan);
}

.service-card__title {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-3);
  color: var(--color-text-strong);
}

.service-card__desc {
  font-size: var(--fs-base);
  color: var(--color-text-muted);
  line-height: var(--lh-normal);
}

/* --------------------------------------------------------------------------
   Steps (Como Funciona)
   -------------------------------------------------------------------------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  max-width: 1100px;
  margin: 0 auto;
}

.steps__line {
  position: absolute;
  top: 50px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-cyan) 20%,
    var(--color-purple) 50%,
    var(--color-cyan) 80%,
    transparent 100%
  );
  opacity: 0.4;
  z-index: 0;
}

.step {
  position: relative;
  text-align: center;
  padding: 0 var(--space-4);
}

.step__number {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  margin-bottom: var(--space-6);
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  background: var(--color-bg-elevated);
  border: 2px solid var(--color-border-strong);
  border-radius: 50%;
  color: var(--color-text-strong);
  z-index: 1;
  transition: all var(--t-slow) var(--ease);
}
.step__number::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-brand);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
.step:hover .step__number {
  color: var(--color-bg);
  background: var(--color-bg);
  box-shadow: var(--glow-brand);
}
.step:hover .step__number::before {
  opacity: 1;
}
.step:hover .step__number {
  background: var(--gradient-brand);
  border-color: transparent;
  color: var(--color-bg);
}

.step__title {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-3);
}

.step__desc {
  font-size: var(--fs-base);
  color: var(--color-text-muted);
  line-height: var(--lh-normal);
  max-width: 320px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Features / Diferenciais
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}

.feature {
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--t-base) var(--ease);
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-strong);
  background: var(--color-surface-hover);
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
}
.feature__icon svg {
  width: 26px;
  height: 26px;
}
.feature__icon--cyan {
  background: var(--color-cyan-soft);
  color: var(--color-cyan);
  border: 1px solid rgba(0, 212, 255, 0.25);
}
.feature__icon--purple {
  background: var(--color-purple-soft);
  color: var(--color-purple);
  border: 1px solid rgba(124, 58, 237, 0.3);
}
.feature__icon--green {
  background: var(--color-green-soft);
  color: var(--color-green);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.feature__title {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-3);
}

.feature__desc {
  color: var(--color-text-muted);
  line-height: var(--lh-normal);
}

/* --------------------------------------------------------------------------
   Stats & Testimonials
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-8);
  padding: var(--space-12);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-16);
  backdrop-filter: blur(10px);
}

.stat {
  text-align: center;
  position: relative;
}
.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: calc(var(--space-4) * -1);
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: var(--color-border);
}

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(var(--fs-4xl), 5vw, var(--fs-6xl));
  font-weight: var(--fw-bold);
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat__label {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.testimonial {
  position: relative;
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--t-base) var(--ease);
}
.testimonial:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-strong);
  background: var(--color-surface-hover);
}

.testimonial__quote {
  width: 36px;
  height: 36px;
  color: var(--color-cyan);
  opacity: 0.4;
  margin-bottom: var(--space-4);
}
.testimonial__quote svg {
  width: 100%;
  height: 100%;
}

.testimonial__text {
  font-size: var(--fs-lg);
  line-height: var(--lh-normal);
  color: var(--color-text);
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.testimonial__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: var(--color-bg);
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-base);
  flex-shrink: 0;
}

.testimonial__author strong {
  display: block;
  color: var(--color-text-strong);
  font-weight: var(--fw-semibold);
  margin-bottom: 2px;
}
.testimonial__author span {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--t-base) var(--ease);
  overflow: hidden;
}
.faq__item:hover {
  border-color: var(--color-border-strong);
}
.faq__item[open] {
  background: var(--color-surface-hover);
  border-color: var(--color-border-strong);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-text-strong);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color var(--t-base) var(--ease);
}
.faq__question::-webkit-details-marker {
  display: none;
}
.faq__question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-cyan);
  transition: transform var(--t-base) var(--ease);
}
.faq__item[open] .faq__question svg {
  transform: rotate(180deg);
}

.faq__answer {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  animation: faq-open 0.4s var(--ease-out);
}

@keyframes faq-open {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  padding: var(--space-12);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12), transparent 70%);
  pointer-events: none;
}

.contact__info {
  position: relative;
  z-index: 1;
}
.contact__info .section__title {
  text-align: left;
  font-size: clamp(var(--fs-3xl), 4vw, var(--fs-4xl));
}
.contact__info .section__subtitle {
  text-align: left;
  margin-bottom: var(--space-8);
}
.contact__info .eyebrow {
  margin-bottom: var(--space-4);
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}
.contact__item strong {
  display: block;
  color: var(--color-text-strong);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-1);
}
.contact__item a,
.contact__item span {
  color: var(--color-text-muted);
  font-size: var(--fs-base);
  transition: color var(--t-base) var(--ease);
}
.contact__item a:hover {
  color: var(--color-cyan);
}

.contact__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-cyan-soft);
  color: var(--color-cyan);
  border: 1px solid rgba(0, 212, 255, 0.25);
  flex-shrink: 0;
}
.contact__icon svg {
  width: 20px;
  height: 20px;
}

/* Form */
.contact__form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.form-group label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text);
}
.form-group label .optional {
  color: var(--color-text-muted);
  font-weight: var(--fw-regular);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-strong);
  font-size: var(--fs-base);
  transition: all var(--t-base) var(--ease);
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.7;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-cyan);
  background: var(--color-bg);
  box-shadow: 0 0 0 3px var(--color-cyan-soft);
}
.form-group input.is-invalid,
.form-group textarea.is-invalid {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form__note {
  font-size: var(--fs-sm);
  min-height: 20px;
  text-align: center;
}
.form__note.is-success {
  color: var(--color-success);
}
.form__note.is-error {
  color: var(--color-error);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: var(--space-16) 0 var(--space-8);
  position: relative;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer__brand .logo {
  margin-bottom: var(--space-4);
}

.footer__tagline {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  margin-bottom: var(--space-6);
  max-width: 320px;
}

.footer__social {
  display: flex;
  gap: var(--space-3);
}
.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition: all var(--t-base) var(--ease);
}
.footer__social-link svg {
  width: 18px;
  height: 18px;
}
.footer__social-link:hover {
  color: var(--color-cyan);
  border-color: var(--color-cyan);
  background: var(--color-cyan-soft);
  transform: translateY(-2px);
}

.footer__heading {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-strong);
  margin-bottom: var(--space-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer__links a {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}
.footer__links a:hover {
  color: var(--color-cyan);
}
.footer__links--plain li {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* --------------------------------------------------------------------------
   WhatsApp Floating Button
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5);
  z-index: var(--z-floating);
  transition: all var(--t-base) var(--ease);
  animation: whatsapp-pulse 2.5s infinite;
}
.whatsapp-float svg {
  width: 30px;
  height: 30px;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
  animation: none;
}

.whatsapp-float__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-bg-elevated);
  color: var(--color-text-strong);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease);
  border: 1px solid var(--color-border-strong);
}
.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
}

@keyframes whatsapp-pulse {
  0% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

/* Tablet */
@media (max-width: 1024px) {
  .section {
    padding: var(--space-24) 0;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: var(--space-10);
    padding: var(--space-10);
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --container-padding: 1.25rem;
  }

  /* Header mobile */
  .nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    background: rgba(10, 10, 26, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-6) var(--space-6) var(--space-8);
    gap: var(--space-4);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-120%);
    transition: transform var(--t-slow) var(--ease);
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }
  .nav.is-open {
    transform: translateY(0);
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
  }
  .nav__link {
    display: block;
    padding: var(--space-4) 0;
    font-size: var(--fs-base);
    border-bottom: 1px solid var(--color-border);
  }
  .nav__link::after {
    display: none;
  }

  .nav__cta {
    width: 100%;
    padding: var(--space-3) var(--space-6);
    font-size: var(--fs-base);
    margin-top: var(--space-2);
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero mobile */
  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-16);
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    margin-bottom: var(--space-10);
  }
  .hero__actions .btn {
    width: 100%;
  }

  .hero__meta {
    gap: var(--space-6);
  }
  .hero__meta-item strong {
    font-size: var(--fs-2xl);
  }

  .hero__scroll {
    display: none;
  }

  /* Sections mobile */
  .section {
    padding: var(--space-20) 0;
  }

  .section__header {
    margin-bottom: var(--space-12);
  }

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

  .service-card {
    padding: var(--space-6);
  }

  /* Steps mobile */
  .steps {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .steps__line {
    display: none;
  }
  .step__number {
    width: 80px;
    height: 80px;
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-4);
  }

  /* Stats mobile */
  .stats {
    padding: var(--space-8);
    gap: var(--space-6);
  }
  .stat:not(:last-child)::after {
    display: none;
  }

  /* Contact mobile */
  .contact {
    padding: var(--space-8);
  }

  /* Footer mobile */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Whatsapp float mobile */
  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: var(--space-5);
    right: var(--space-5);
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
  .whatsapp-float__tooltip {
    display: none;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero__badge {
    font-size: var(--fs-xs);
  }

  .hero__meta {
    gap: var(--space-4);
  }
  .hero__meta-item strong {
    font-size: var(--fs-xl);
  }
  .hero__meta-item span {
    font-size: var(--fs-xs);
  }

  .faq__question {
    font-size: var(--fs-base);
    padding: var(--space-4) var(--space-5);
  }
  .faq__answer {
    padding: 0 var(--space-5) var(--space-5);
    font-size: var(--fs-sm);
  }
}

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