/* PackLine Máquinas — Mobile First v2 */
:root {
  --blue-dark: #0a3460;
  --blue-mid: #1565b8;
  --blue-accent: #00a8e8;
  --blue-glow: rgba(0, 168, 232, 0.35);
  --blue-light: #e8f4fc;
  --blue-subtle: #f0f8ff;
  --silver: #8e9aaf;
  --grey-50: #f8fafc;
  --grey-100: #f1f5f9;
  --grey-200: #e2e8f0;
  --grey-400: #94a3b8;
  --grey-600: #64748b;
  --grey-800: #1e293b;
  --white: #ffffff;
  --whatsapp: #25d366;
  --shadow-sm: 0 1px 3px rgba(13, 58, 110, 0.06);
  --shadow: 0 4px 24px rgba(13, 58, 110, 0.1);
  --shadow-lg: 0 16px 48px rgba(13, 58, 110, 0.14);
  --shadow-xl: 0 24px 64px rgba(13, 58, 110, 0.18);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --header-h: 68px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition: 0.35s var(--ease-out);
  --transition-fast: 0.2s var(--ease-out);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  color: var(--grey-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100%;
}

body.nav-open { overflow: hidden; }

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

.icon { flex-shrink: 0; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.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; }

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 5rem 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--blue-accent);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.875rem, 5vw, 2.625rem);
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--grey-600);
  max-width: 540px;
  line-height: 1.7;
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--grey-200);
  box-shadow: var(--shadow-sm);
}

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

.header__logo {
  transition: transform var(--transition-fast);
}

.header__logo:hover { transform: scale(1.02); }

.header__logo img {
  height: 38px;
  width: auto;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 52, 96, 0.4);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
  z-index: 1001;
  transition: background var(--transition-fast);
}

.nav-toggle:hover { background: var(--grey-100); }

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.2s;
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5.5px, 5.5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5.5px, -5.5px); }

.nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  padding: 1.5rem 1.25rem 2rem;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.4s var(--ease-out), visibility 0.4s;
  z-index: 999;
  overflow-y: auto;
  max-height: calc(100dvh - var(--header-h));
  max-height: calc(100vh - var(--header-h));
}

.nav.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0.875rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--grey-600);
  border-radius: var(--radius);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav__link:hover {
  color: var(--blue-dark);
  background: var(--grey-50);
}

.nav__link.active {
  color: var(--blue-accent);
  background: var(--blue-light);
}

.nav__link-num {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--blue-accent);
  opacity: 0.6;
  min-width: 1.25rem;
}

.nav__cta {
  margin-top: 1.25rem;
  width: 100%;
}

/* ── Buttons ── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.9375rem 1.875rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition), background var(--transition);
}

.btn:active { transform: scale(0.97); }

.btn .icon { transition: transform var(--transition-fast); }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary {
  background: var(--blue-dark);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(10, 52, 96, 0.25), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-mid) 0%, var(--blue-accent) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn--primary:hover::before { opacity: 1; }

.btn--primary span,
.btn--primary .icon { position: relative; z-index: 1; }

.btn--outline {
  background: var(--white);
  color: var(--blue-dark);
  border: 1.5px solid var(--grey-200);
  box-shadow: var(--shadow-sm);
}

.btn--outline:hover {
  border-color: var(--blue-accent);
  color: var(--blue-accent);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--blue-accent);
  padding: 0.625rem 1rem;
}

.btn--ghost:hover { background: var(--blue-light); }

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.btn--whatsapp .icon { transform: none !important; }

.btn--glow {
  box-shadow: 0 4px 20px rgba(0, 168, 232, 0.35), inset 0 1px 0 rgba(255,255,255,0.12);
}

.btn--glow:hover {
  box-shadow: 0 8px 32px rgba(0, 168, 232, 0.45), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(0, 168, 232, 0.55);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 168, 232, 0.2);
}

/* ── Hero ── */
.hero {
  padding-top: calc(var(--header-h) + 2.5rem);
  padding-bottom: 3.5rem;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

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

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 168, 232, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 168, 232, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 20%, transparent 70%);
}

.hero__bg-glow {
  position: absolute;
  top: -10%;
  right: -20%;
  width: 60%;
  height: 70%;
  background: radial-gradient(circle, rgba(0, 168, 232, 0.12) 0%, transparent 65%);
}

.hero__bg-glow--left {
  top: auto;
  bottom: -20%;
  right: auto;
  left: -20%;
  width: 50%;
  background: radial-gradient(circle, rgba(21, 101, 184, 0.08) 0%, transparent 65%);
}

.hero__content { position: relative; z-index: 1; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.4375rem 1rem 0.4375rem 0.625rem;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue-mid);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--blue-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.2);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(0, 168, 232, 0.08); }
}

.hero__title {
  font-size: clamp(2.125rem, 7.5vw, 3.5rem);
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero__title span {
  background: linear-gradient(135deg, var(--blue-mid) 20%, var(--blue-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__text {
  font-size: 1.0625rem;
  color: var(--grey-600);
  margin-bottom: 2rem;
  max-width: 460px;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--grey-200);
}

.hero__stat {
  padding: 0.5rem 0;
}

.hero__stat-num {
  font-size: clamp(1.375rem, 4vw, 1.75rem);
  font-weight: 800;
  color: var(--blue-dark);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.hero__stat-label {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--grey-600);
  line-height: 1.35;
  margin-top: 0.125rem;
}

.hero__image {
  margin-top: 2.5rem;
  position: relative;
}

.hero__image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(145deg, var(--grey-50) 0%, var(--blue-subtle) 100%);
  border: 1px solid var(--grey-200);
  box-shadow: var(--shadow-lg);
}

.hero__image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(10, 52, 96, 0.04) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero__image-frame img {
  width: 100%;
  transition: transform 0.8s var(--ease-out);
}

.hero__image:hover .hero__image-frame img {
  transform: scale(1.02);
}

.hero__image-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue-dark);
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.8);
}

.hero__image-badge-model {
  color: var(--blue-accent);
  font-weight: 700;
}

/* ── Features ── */
.features-strip {
  background: var(--blue-dark);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.features-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 168, 232, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.features-strip__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  position: relative;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--white);
  padding: 1rem 1.125rem;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 168, 232, 0.12);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 168, 232, 0.25);
}

.feature-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 168, 232, 0.15);
  border: 1px solid rgba(0, 168, 232, 0.25);
  border-radius: var(--radius-sm);
  color: var(--blue-accent);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.feature-item:hover .feature-item__icon {
  transform: scale(1.08);
  background: rgba(0, 168, 232, 0.25);
}

.feature-item__title {
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.feature-item__text {
  font-size: 0.8125rem;
  opacity: 0.75;
  line-height: 1.55;
}

/* ── About ── */
.about {
  background: var(--white);
}

.about__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.about__lead {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--grey-600);
  font-weight: 500;
  margin-top: 0.5rem;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about__content p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--grey-600);
}

.about__content p:last-child {
  padding-left: 1rem;
  border-left: 3px solid var(--blue-accent);
  color: var(--blue-dark);
  font-weight: 500;
}

/* ── Markets strip ── */
.markets-strip {
  background: var(--blue-dark);
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 168, 232, 0.15);
}

.markets-strip__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.markets-strip__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-accent);
}

.markets-strip__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.75rem;
}

.markets-strip__list--diag {
  transform: skewX(-4deg);
  padding: 0.25rem 0;
}

.markets-strip__list li {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 0.9375rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(0, 168, 232, 0.22);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.markets-strip__list--diag li {
  transform: skewX(4deg);
}

.markets-strip__list iconify-icon {
  font-size: 15px;
  color: var(--blue-accent);
  flex-shrink: 0;
}

.markets-strip__more {
  color: var(--blue-accent) !important;
  border-color: rgba(0, 168, 232, 0.35) !important;
  background: rgba(0, 168, 232, 0.08) !important;
}

/* ── Products ── */
.products {
  background: var(--grey-50);
  position: relative;
}

.products::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--grey-200), transparent);
}

.products__header {
  text-align: center;
  margin-bottom: 3rem;
}

.products__header .section-label,
.products__header .section-label::before {
  margin-left: auto;
  margin-right: auto;
}

.products__header .section-label::before { display: none; }

.products__header .section-subtitle { margin: 0 auto; }

.products__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.product-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--grey-200);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(0, 168, 232, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
  z-index: 2;
}

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

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

.product-card:focus-visible {
  outline: 2px solid var(--blue-accent);
  outline-offset: 3px;
}

.product-card__image {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(180deg, var(--grey-50) 0%, var(--white) 100%);
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.25rem;
  transition: transform 0.6s var(--ease-out);
}

.product-card:hover .product-card__image img {
  transform: scale(1.05);
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 52, 96, 0.55) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.25rem;
  z-index: 1;
}

.product-card:hover .product-card__overlay,
.product-card:focus .product-card__overlay { opacity: 1; }

.product-card__view {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--white);
  color: var(--blue-dark);
  padding: 0.5625rem 1.125rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  transform: translateY(8px);
  transition: transform var(--transition);
  box-shadow: var(--shadow);
}

.product-card:hover .product-card__view {
  transform: translateY(0);
}

.product-card__body { padding: 1.375rem; }

.product-card__tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-accent);
  background: var(--blue-light);
  padding: 0.3125rem 0.625rem;
  border-radius: 100px;
  margin-bottom: 0.625rem;
}

.product-card__title {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-height: 2.75em;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--blue-dark);
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}

.product-card__title-line {
  display: block;
  line-height: 1.25;
}

.product-card__model {
  font-size: 0.8125rem;
  color: var(--grey-400);
  font-weight: 500;
}

.product-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.875rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--grey-100);
}

.product-card__spec {
  display: inline-flex;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--grey-600);
  background: var(--grey-50);
  padding: 0.3125rem 0.625rem;
  border-radius: 100px;
  border: 1px solid var(--grey-200);
}

/* ── Modal ── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}

.modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 52, 96, 0.55);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}

.modal.open .modal__backdrop { opacity: 1; }

.modal__dialog {
  position: relative;
  width: 100%;
  max-height: 94vh;
  background: var(--white);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.45s var(--ease-out);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
}

.modal.open .modal__dialog { transform: translateY(0); }

.modal__handle {
  width: 36px;
  height: 4px;
  background: var(--grey-200);
  border-radius: 4px;
  margin: 0.75rem auto 0;
  flex-shrink: 0;
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow);
  color: var(--grey-600);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
  border: 1px solid var(--grey-200);
}

.modal__close:hover {
  background: var(--grey-100);
  color: var(--blue-dark);
  transform: rotate(90deg);
}

.modal__carousel {
  position: relative;
  background: var(--grey-50);
  flex-shrink: 0;
}

.modal__slides {
  display: flex;
  transition: transform 0.5s var(--ease-out);
}

.modal__slide {
  min-width: 100%;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal__slide img {
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow);
  color: var(--blue-dark);
  border: 1px solid var(--grey-200);
  opacity: 0;
  transition: opacity var(--transition-fast), transform var(--transition-fast), background var(--transition-fast);
  z-index: 5;
}

.modal__carousel:hover .modal__nav {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.modal__nav:hover { background: var(--blue-light); }
.modal__nav--prev { left: 0.875rem; }
.modal__nav--next { right: 0.875rem; }

.modal__progress {
  height: 2px;
  background: var(--grey-200);
  position: relative;
  overflow: hidden;
}

.modal__progress-bar {
  height: 100%;
  background: var(--blue-accent);
  width: 0%;
  transition: width 0.1s linear;
}

.modal__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.375rem;
  padding: 0.875rem;
  background: var(--grey-50);
}

.modal__dot {
  width: 6px;
  height: 6px;
  border-radius: 100px;
  background: var(--grey-200);
  transition: width var(--transition), background var(--transition);
}

.modal__dot.active {
  width: 20px;
  background: var(--blue-accent);
}

.modal__body {
  padding: 1.5rem 1.5rem 2rem;
  overflow-y: auto;
  flex: 1;
}

.modal__tag {
  display: inline-flex;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-accent);
  background: var(--blue-light);
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  margin-bottom: 0.5rem;
}

.modal__title {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--blue-dark);
  letter-spacing: -0.02em;
  margin-bottom: 0.625rem;
}

.modal__desc {
  font-size: 0.9375rem;
  color: var(--grey-600);
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.modal__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}

.modal__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.75rem;
  background: var(--grey-50);
  border-radius: var(--radius-sm);
  border: 1px solid var(--grey-100);
}

.modal__feature-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  color: var(--blue-accent);
}

.modal__feature-text strong {
  display: block;
  color: var(--blue-dark);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.125rem;
}

.modal__feature-text span {
  color: var(--grey-600);
  font-size: 0.6875rem;
  line-height: 1.4;
}

.modal__specs-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal__specs-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--grey-200);
}

.modal__specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--grey-200);
}

.modal__specs-table tr:not(:last-child) {
  border-bottom: 1px solid var(--grey-100);
}

.modal__specs-table tr:nth-child(even) {
  background: var(--grey-50);
}

.modal__specs-table td {
  padding: 0.75rem 1rem;
}

.modal__specs-table td:first-child {
  font-weight: 600;
  color: var(--blue-dark);
  width: 42%;
}

.modal__specs-table td:last-child {
  color: var(--grey-600);
}

.modal__segments { margin-bottom: 1.75rem; }

.modal__segments-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.625rem;
}

.modal__segments-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.modal__segment {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.3125rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 100px;
  color: var(--grey-600);
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.modal__segment:hover {
  border-color: var(--blue-accent);
  color: var(--blue-accent);
}

.modal__cta { width: 100%; }

/* ── Contact ── */
.contact__layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.contact__card {
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 1.375rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact__card:hover {
  border-color: rgba(0, 168, 232, 0.3);
  box-shadow: var(--shadow-sm);
}

.contact__card .contact__info-icon {
  margin-bottom: 0.875rem;
}

.contact__info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  color: var(--blue-accent);
  border: 1px solid rgba(0, 168, 232, 0.15);
}

.contact__info-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-400);
  margin-bottom: 0.375rem;
}

.contact__info-value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--blue-dark);
  line-height: 1.6;
}

.contact__info-value a {
  transition: color var(--transition-fast);
}

.contact__info-value a:hover { color: var(--blue-accent); }

.contact__map-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16/9;
  background: var(--grey-200);
  border: 1px solid var(--grey-200);
  line-height: 0;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact__map-fallback {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact__map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-accent);
  align-self: flex-start;
  transition: color var(--transition-fast);
}

.contact__map-link:hover { color: var(--blue-mid); }

.contact__cta {
  display: flex;
  justify-content: center;
}

.contact__cta .btn {
  width: 100%;
  max-width: 360px;
}

/* ── Footer ── */
.footer {
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 168, 232, 0.4), transparent);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__brand {
  margin-bottom: 1rem;
}

.footer__brand-name {
  display: block;
  font-size: 1.375rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--white);
}

.footer__brand-name span {
  color: var(--blue-accent);
}

.footer__brand-sub {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.125rem;
}

.footer__brand-sub::before,
.footer__brand-sub::after {
  content: '—';
  margin: 0 0.375rem;
  opacity: 0.4;
}

.footer__desc {
  font-size: 0.875rem;
  opacity: 0.7;
  line-height: 1.65;
  max-width: 320px;
}

.footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer__links li { margin-bottom: 0.625rem; }

.footer__links a {
  font-size: 0.875rem;
  opacity: 0.7;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

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

.footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.75rem;
  opacity: 0.5;
  text-align: center;
}

/* ── WhatsApp FAB ── */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.25rem;
  z-index: 1500;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition);
}

.whatsapp-fab::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  opacity: 0;
  animation: fab-pulse 2.5s ease-out infinite;
}

@keyframes fab-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.35); opacity: 0; }
}

.whatsapp-fab:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-fab svg { width: 26px; height: 26px; position: relative; z-index: 1; }

.whatsapp-fab__tooltip { display: none; }

.prototype-badge {
  position: fixed;
  bottom: 1.5rem;
  left: 1.25rem;
  z-index: 1500;
  background: var(--blue-dark);
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.375rem 0.75rem;
  border-radius: 100px;
  opacity: 0.8;
  border: 1px solid rgba(255,255,255,0.1);
}

/* ── Tablet ── */
@media (min-width: 640px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .modal { align-items: center; padding: 1.5rem; }
  .modal__handle { display: none; }
  .modal__dialog {
    max-width: 660px;
    max-height: 88vh;
    border-radius: var(--radius-xl);
    transform: translateY(24px) scale(0.96);
  }
  .modal.open .modal__dialog { transform: translateY(0) scale(1); }
  .modal__nav { opacity: 1; transform: translateY(-50%) scale(1); }
  .footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ── Desktop ── */
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-overlay { display: none; }

  .nav {
    position: static;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    padding: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    overflow: visible;
    max-height: none;
  }

  .nav__list {
    flex-direction: row;
    gap: 0.25rem;
  }

  .nav__link {
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    color: var(--grey-600);
  }

  .nav__link-num { display: none; }

  .nav__link::after {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 16px;
    height: 2px;
    background: var(--blue-accent);
    border-radius: 2px;
    transition: transform var(--transition-fast);
  }

  .nav__link:hover,
  .nav__link.active {
    color: var(--blue-dark);
    background: transparent;
  }

  .nav__link.active::after,
  .nav__link:hover::after {
    transform: translateX(-50%) scaleX(1);
  }

  .nav__cta {
    margin-top: 0;
    width: auto;
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
  }

  .hero {
    padding-top: calc(var(--header-h) + 4rem);
    padding-bottom: 5rem;
  }

  .hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
  }

  .hero__image { margin-top: 0; }

  .features-strip__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }

  .contact__cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__top {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .whatsapp-fab__tooltip {
    display: block;
    position: absolute;
    right: calc(100% + 14px);
    white-space: nowrap;
    background: var(--white);
    color: var(--grey-800);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5625rem 1rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateX(10px);
    transition: opacity var(--transition), transform var(--transition);
    pointer-events: none;
  }

  .whatsapp-fab:hover .whatsapp-fab__tooltip {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (min-width: 1024px) {
  .header__logo img { height: 44px; }
  .products__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .about__layout { grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }
  .modal__dialog { max-width: 760px; }
  .modal__features { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 6rem 0; }
}

@media (min-width: 1200px) {
  .products__grid { grid-template-columns: repeat(4, 1fr); }
}

@media print {
  .modal {
    display: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  body {
    overflow: visible !important;
  }
}

/* Preparação para captura PDF (Puppeteer) */
body.is-pdf-capture .header {
  position: relative !important;
  top: auto !important;
}

body.is-pdf-capture .hero {
  padding-top: 2rem !important;
}

body.is-pdf-capture .nav-toggle,
body.is-pdf-capture .nav-overlay {
  display: none !important;
}

body.is-pdf-capture .nav {
  position: static !important;
  transform: none !important;
  visibility: visible !important;
  pointer-events: auto !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
  background: transparent !important;
  overflow: visible !important;
  max-height: none !important;
}

body.is-pdf-capture .nav__link-num {
  display: none !important;
}

body.is-pdf-capture .contact__map iframe {
  display: none !important;
}

body.is-pdf-capture .contact__map-fallback {
  display: block !important;
}

body.is-pdf-capture .modal,
body.is-pdf-capture .prototype-badge {
  display: none !important;
}
