/* ============================================
   MILE DIGITAL — Site Institucional
   Paleta: #400036 | #de48ab | #3a3b99 | #12d3f2
   ============================================ */

/* ---- FONT (self-hosted, variable weight 100-900, latin subset) ---- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
  --purple:    #400036;
  --pink:      #de48ab;
  --blue:      #3a3b99;
  --cyan:      #12d3f2;
  --white:     #ffffff;
  --bg-light:  #f3edf2;
  --bg-card:   #ffffff;
  --text-main: #1e1b2e;
  --text-muted:#6b5a6e;
  --border:    #e9d5e7;
  --shadow-sm: 0 2px 8px rgba(64,0,54,.08);
  --shadow-md: 0 8px 32px rgba(64,0,54,.12);
  --shadow-lg: 0 20px 60px rgba(64,0,54,.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --gradient:  linear-gradient(135deg, var(--purple), var(--pink));
  --gradient-blue: linear-gradient(135deg, var(--blue), var(--cyan));
  --transition: 0.25s ease;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --container: 1160px;
  --header-h: 72px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---- SCROLL ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- CONTAINER ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- GRADIENT TEXT ---- */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn--primary {
  background: var(--gradient);
  color: var(--white);
  padding: 12px 24px;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(222,72,171,.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(222,72,171,.45);
}
.btn--primary:active { transform: translateY(0); }

.btn--pulse {
  position: relative;
}
.btn--pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 8px rgba(222,72,171,.25);
  opacity: 0;
  animation: btn-pulse-ring 2.4s ease-out infinite;
  pointer-events: none;
}
.btn--pulse:hover::after {
  animation-play-state: paused;
  opacity: 0;
}

@keyframes btn-pulse-ring {
  0%   { transform: scale(.92); opacity: .6; }
  70%  { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(1.12); opacity: 0; }
}

.btn--outline {
  background: transparent;
  color: var(--purple);
  padding: 12px 24px;
  border-color: var(--purple);
}
.btn--outline:hover {
  background: var(--purple);
  color: var(--white);
}

.btn--ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  padding: 12px 24px;
  border-color: rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.5);
}

.btn--sm { padding: 10px 20px; font-size: 0.95rem; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }

/* ---- SECTION BASE ---- */
.section {
  padding: 96px 0;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ab3186;
  background: rgba(222,72,171,.1);
  border: 1px solid rgba(222,72,171,.2);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(13, 0, 24, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(13, 0, 24, 0.96);
  box-shadow: 0 1px 0 rgba(222, 72, 171, 0.18);
}

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

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header__logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.header__brand {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
}
.header__brand strong { font-weight: 900; }

.header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,.1); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header__actions .btn--outline {
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.header__actions .btn--outline:hover {
  background: var(--white);
  color: var(--purple);
  border-color: var(--white);
}

.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.header__hamburger:hover { background: rgba(255,255,255,.1); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(340px, 90vw);
  height: 100vh;
  background: var(--white);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 80px 32px 40px;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  transition: right 0.35s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open { right: 0; }

.mobile-menu__close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.2rem;
  color: var(--text-muted);
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.mobile-menu__close:hover { background: var(--bg-light); color: var(--purple); }

.mobile-link {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-link:hover { color: var(--purple); }

.mobile-menu__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(64,0,54,.5);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(4px);
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: #0d0018;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 64px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 12s ease-in-out infinite;
}
.hero__orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(64,0,54,.8), transparent 70%);
  top: -200px; left: -150px;
  animation-delay: 0s;
}
.hero__orb--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(222,72,171,.25), transparent 70%);
  top: 10%; right: -100px;
  animation-delay: -4s;
}
.hero__orb--3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(18,211,242,.12), transparent 70%);
  bottom: 0; left: 40%;
  animation-delay: -8s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.04); }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(18,211,242,.1);
  border: 1px solid rgba(18,211,242,.25);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__title .gradient-text {
  background: linear-gradient(135deg, #de48ab, #12d3f2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Dashboard card */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dashboard-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  padding: 36px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 24px 64px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.1);
  animation: card-float 6s ease-in-out infinite;
}

@keyframes card-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.dashboard-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.dashboard-card__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.dot--green { background: #4ade80; box-shadow: 0 0 8px rgba(74,222,128,.6); }

.dashboard-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  letter-spacing: 0.05em;
}

.dashboard-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.metric__label { font-size: 0.78rem; color: rgba(255,255,255,.55); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
.metric__value { font-size: 1.5rem; font-weight: 800; }
.metric__delta { font-size: 0.82rem; font-weight: 600; }
.metric__delta.up   { color: #4ade80; }
.metric__delta.down { color: var(--cyan); }

.dashboard-card__chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 90px;
}

.chart-bar {
  flex: 1;
  height: var(--h);
  background: rgba(255,255,255,.15);
  border-radius: 4px 4px 0 0;
  transition: background var(--transition);
}
.chart-bar.active { background: linear-gradient(to top, var(--purple), var(--pink)); }

.hero__scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 2px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: rgba(255,255,255,.5);
  animation: bounce 2s ease-in-out infinite;
}
.hero__scroll-hint span {
  display: block;
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 16px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-item__number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--purple);
  line-height: 1;
}
.stat-number-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.stat-item__suffix {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--pink);
  line-height: 1;
}

.stat-item__label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--bg-light); }

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

/* When the grid has an odd number of cards, center the trailing card instead of leaving a gap */
.services__grid > .service-card:nth-last-child(1):nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc(50% - 12px);
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 0;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover * { position: relative; z-index: 1; }
.service-card:hover .service-card__title { color: var(--white); }
.service-card:hover .service-card__desc  { color: rgba(255,255,255,.8); }
.service-card:hover .service-card__list li { color: rgba(255,255,255,.7); }
.service-card:hover .service-card__list li::before { background: var(--cyan); }

.service-card__icon {
  width: 60px; height: 60px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition);
}
.service-card:hover .service-card__icon { background: rgba(255,255,255,.15); }

.service-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  transition: color var(--transition);
}

.service-card__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  transition: color var(--transition);
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-card__list li {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
  transition: color var(--transition);
}
.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  transition: background var(--transition);
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  background: var(--white);
}

.process__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process__steps::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--purple), var(--pink), transparent);
}

.process__step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.process__step:last-child { border-bottom: none; }

.process__step-number {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--white);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(222,72,171,.4);
  letter-spacing: -0.03em;
}

.process__step-content h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  padding-top: 14px;
}
.process__step-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   DIFERENCIAIS
   ============================================================ */
.differentials {
  background: #0d0018;
  position: relative;
  overflow: hidden;
}

.differentials::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(222,72,171,.15), transparent 70%);
  pointer-events: none;
}

.differentials .section__badge {
  color: var(--cyan);
  background: rgba(18,211,242,.1);
  border-color: rgba(18,211,242,.2);
}
.differentials .section__title { color: var(--white); }
.differentials .section__subtitle { color: rgba(255,255,255,.55); }

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

.diff-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.diff-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(222,72,171,.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
}

.diff-card__icon {
  width: 52px; height: 52px;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.diff-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.diff-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg-light); }

.faq__inner { max-width: 800px; margin: 0 auto; }

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__item:first-child { border-top: 1px solid var(--border); }

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: left;
  transition: color var(--transition);
}
.faq__question:hover { color: var(--purple); }
.faq__question[aria-expanded="true"] { color: var(--purple); }

.faq__icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}
.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(180deg);
  color: var(--purple);
}

.faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(.4,0,.2,1), padding 0.3s ease;
}
.faq__answer.open {
  max-height: 300px;
}

.faq__answer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  padding-bottom: 24px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--white);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact__content .section__title { text-align: left; }
.contact__content .section__badge { /* keep left */ }
.contact__content .section__subtitle { text-align: left; margin-bottom: 40px; }

.contact__channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact__channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all var(--transition);
  font-size: 0.9rem;
}
.contact__channel:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.contact__channel--whatsapp {
  background: linear-gradient(135deg, rgba(37,211,102,.06), rgba(37,211,102,.02));
  border-color: rgba(37,211,102,.2);
  color: #128c46;
}
.contact__channel--whatsapp:hover {
  background: linear-gradient(135deg, rgba(37,211,102,.12), rgba(37,211,102,.06));
  border-color: rgba(37,211,102,.3);
  box-shadow: 0 8px 32px rgba(37,211,102,.15);
}
.contact__channel--whatsapp svg { color: #25d366; flex-shrink: 0; }

.contact__channel--email {
  background: linear-gradient(135deg, rgba(64,0,54,.04), rgba(222,72,171,.02));
}
.contact__channel--email:hover {
  background: linear-gradient(135deg, rgba(64,0,54,.08), rgba(222,72,171,.04));
  box-shadow: 0 8px 32px rgba(64,0,54,.1);
}
.contact__channel--email svg { color: var(--purple); flex-shrink: 0; }

.contact__channel div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact__channel strong {
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.95rem;
}
.contact__channel span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.contact__card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.contact__card-icon {
  width: 80px; height: 80px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 8px;
}
.contact__card p {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
}
.contact__card span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--purple);
  color: rgba(255,255,255,.75);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 64px;
  padding-top: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer__brand .header__brand { color: var(--white); }
.footer__brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 320px;
}
.footer__email {
  font-size: 0.82rem;
  color: rgba(255,255,255,.6);
  margin-top: 8px;
}

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

.footer__col h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--white); }

.footer__bottom {
  padding: 20px 0;
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,.6);
}

.footer__client-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cyan);
  transition: color var(--transition);
}
.footer__client-link:hover { color: var(--white); }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 50;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #1da550;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(29,165,80,.5);
  transition: all var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(29,165,80,.6);
}
.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(29,165,80,.3);
  opacity: 0;
  animation: wpp-pulse-ring 3s ease-out infinite;
  pointer-events: none;
}
@keyframes wpp-pulse-ring {
  0%   { transform: scale(.92); opacity: .6; }
  70%  { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* ============================================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .header__nav { display: none; }
  .header__actions .btn--primary { display: none; }
  .header__hamburger { display: flex; }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero__subtitle { max-width: 100%; }
  .hero__ctas { justify-content: center; }
  .hero__visual { order: -1; }
  .dashboard-card { max-width: 360px; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); border-right: 1px solid var(--border); }
  .stat-item:last-child { border-top: 1px solid var(--border); }

  .services__grid { grid-template-columns: 1fr; }
  .services__grid > .service-card:nth-last-child(1):nth-child(odd) { max-width: none; }
  .differentials__grid { grid-template-columns: 1fr 1fr; }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact__visual { display: none; }

  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__nav { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .section { padding: 64px 0; }
  .section__header { margin-bottom: 40px; }

  .hero {
    min-height: 100svh;
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 48px;
  }
  .hero__badge { font-size: 0.68rem; }
  .dashboard-card { max-width: 100%; }
  .dashboard-card__metrics { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .metric__value { font-size: 0.95rem; }

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

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

  .process__steps::before { left: 24px; }
  .process__step-number { width: 48px; height: 48px; font-size: 0.9rem; }

  .footer__nav { grid-template-columns: 1fr 1fr; }
  .footer__col:last-child { grid-column: 1 / -1; }

  .footer__bottom-inner { flex-direction: column; gap: 12px; text-align: center; }

  .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
}

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .footer__nav { grid-template-columns: 1fr; }
  .footer__col:last-child { grid-column: auto; }
}
