/* ============================================================
   Sites Recife — Premium Design System
   Modern, fast, SEO-friendly, mobile-first
   ============================================================ */

/* --- Design Tokens --- */
:root {
  --ink: #0f172a;
  --ink-soft: #1e293b;
  --muted: #64748b;
  --muted-light: #94a3b8;
  --line: #e2e8f0;
  --line-light: #f1f5f9;
  --bg: #f8fafc;
  --surface: #ffffff;
  --brand: #0d9488;
  --brand-light: #14b8a6;
  --brand-dark: #0f766e;
  --brand-glow: rgba(13, 148, 136, .25);
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --gradient-brand: linear-gradient(135deg, #0d9488 0%, #0891b2 50%, #6366f1 100%);
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #164e63 40%, #0d9488 100%);
  --gradient-card: linear-gradient(135deg, rgba(13, 148, 136, .04) 0%, rgba(99, 102, 241, .04) 100%);
  --gradient-cta: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #164e63 100%);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, .07), 0 2px 4px -2px rgba(0, 0, 0, .05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, .08), 0 4px 6px -4px rgba(0, 0, 0, .04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, .08), 0 8px 10px -6px rgba(0, 0, 0, .04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, .15);
  --shadow-glow: 0 0 30px rgba(13, 148, 136, .15);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
  --transition-bounce: .5s cubic-bezier(.34, 1.56, .64, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; transition: color var(--transition); }
img { max-width: 100%; height: auto; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { max-width: 860px; margin: 0; font-size: clamp(2.2rem, 5.5vw, 4.2rem); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; }
h2 { margin: 0 0 18px; font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.15; letter-spacing: -.015em; font-weight: 800; }
h3 { margin: 0 0 10px; font-size: 1.1rem; line-height: 1.3; font-weight: 700; }

/* --- Container --- */
.container { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 16px 28px;
  background: rgba(255, 255, 255, .85);
  border-bottom: 1px solid rgba(226, 232, 240, .6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: box-shadow var(--transition), padding var(--transition);
}
.site-header.scrolled {
  padding: 12px 28px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, .06);
}
.brand {
  font-weight: 900;
  text-decoration: none;
  font-size: 1.2rem;
  letter-spacing: -.02em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.site-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  font-size: .88rem;
  font-weight: 500;
}
.site-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}
.site-nav a:hover {
  color: var(--brand-dark);
  background: rgba(13, 148, 136, .06);
}
.site-nav a[aria-current="page"] {
  color: var(--brand-dark);
  font-weight: 700;
  background: rgba(13, 148, 136, .08);
}
.menu-button {
  display: none;
  min-height: 40px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 0 14px;
  font-weight: 600;
  font-size: .88rem;
  color: var(--ink);
  cursor: pointer;
  transition: all var(--transition);
}
.menu-button:hover { border-color: var(--brand); color: var(--brand); }

/* Hamburger icon */
.menu-button .menu-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  margin-right: 8px;
  width: 18px;
}
.menu-button .menu-icon span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--transition);
}
.menu-button[aria-expanded="true"] .menu-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] .menu-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  gap: 8px;
}
.button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}
.button:hover::before { opacity: 1; }
.button.primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 4px 15px rgba(13, 148, 136, .3);
}
.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 148, 136, .4);
}
.button.primary:active { transform: translateY(0); }
.button.secondary {
  background: var(--surface);
  color: var(--brand-dark);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.button.secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.button.small {
  min-height: 40px;
  padding: 0 18px;
  font-size: .85rem;
  background: var(--gradient-brand);
  color: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px rgba(13, 148, 136, .2);
}
.button.small:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(13, 148, 136, .3);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--gradient-hero);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, .3) 0%, transparent 70%);
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite alternate;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, .2) 0%, transparent 70%);
  pointer-events: none;
  animation: heroGlow 10s ease-in-out infinite alternate-reverse;
}
@keyframes heroGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.1); }
}
.hero-inner {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: center;
  padding: 100px 0 110px;
  position: relative;
  z-index: 1;
}
.hero .eyebrow {
  color: var(--accent-light);
  font-size: .82rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .08em;
  margin: 0 0 16px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: .78rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .06em;
}
.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, .85);
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.hero-proof {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .2);
  transition: transform var(--transition), box-shadow var(--transition);
}
.hero-proof:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
}
.hero-proof strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, #fff 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-proof span {
  color: rgba(255, 255, 255, .8);
  font-size: .95rem;
  line-height: 1.6;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  padding: 20px 0 0;
  font-size: .88rem;
  color: var(--muted);
}
.breadcrumbs a {
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs span::before { content: "/"; margin: 0 8px; color: var(--line); }

/* ============================================================
   SECTIONS & BANDS
   ============================================================ */
.section { padding: 90px 0; }
.band {
  padding: 90px 0;
  background: var(--bg);
  position: relative;
}
.band.muted {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0f9ff 100%);
}
.content-section { max-width: 780px; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}

/* ============================================================
   CARDS & PANELS
   ============================================================ */
.panel, .card, .lead-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.panel { padding: 32px; }
.panel:hover, .card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 148, 136, .2);
}

/* Check list */
.check-list { padding: 0; margin: 18px 0 0; list-style: none; }
.check-list li {
  position: relative;
  padding-left: 32px;
  margin: 12px 0;
  color: var(--ink-soft);
  line-height: 1.5;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #fff;
  font-size: .7rem;
  font-weight: 900;
  border-radius: 50%;
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.card {
  padding: 28px;
  background: var(--gradient-card);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.card:hover::before { transform: scaleX(1); }
.card:hover { transform: translateY(-4px); }
.card h3 {
  position: relative;
  color: var(--ink);
}
.card h3::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 32px;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}
.card p {
  color: var(--muted);
  margin: 12px 0 16px;
  font-size: .95rem;
  line-height: 1.6;
}

/* Text link */
.text-link {
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
  font-size: .92rem;
}
.text-link::after {
  content: "→";
  transition: transform var(--transition);
}
.text-link:hover {
  color: var(--brand);
  gap: 10px;
}
.text-link:hover::after { transform: translateX(4px); }

/* ============================================================
   STEPS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.steps div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
  position: relative;
}
.steps div:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 148, 136, .2);
}
.steps div::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -11px;
  width: 22px;
  height: 2px;
  background: var(--line);
}
.steps div:last-child::after { display: none; }
.steps span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(13, 148, 136, .3);
}
.steps h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.steps p {
  color: var(--muted);
  font-size: .9rem;
  margin: 0;
  line-height: 1.55;
}

/* ============================================================
   STATS / TRUST SECTION
   ============================================================ */
.stats-section {
  padding: 70px 0;
  background: var(--gradient-hero);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, .25) 0%, transparent 70%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.stat-item {
  padding: 20px;
}
.stat-number {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, #fff 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.stat-label {
  display: block;
  margin-top: 8px;
  font-size: .9rem;
  color: rgba(255, 255, 255, .7);
  font-weight: 500;
}

/* ============================================================
   PRICE TABLE
   ============================================================ */
.price-table {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 28px;
  box-shadow: var(--shadow);
}
.price-table div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  transition: background var(--transition);
}
.price-table div:last-child { border-bottom: 0; }
.price-table div:hover { background: rgba(13, 148, 136, .03); }
.price-table strong {
  font-weight: 700;
  color: var(--ink-soft);
}
.price-table span {
  font-weight: 800;
  color: var(--brand-dark);
  font-size: 1.02rem;
  white-space: nowrap;
}
.note { color: var(--muted); font-size: .92rem; margin-top: 16px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink-soft);
  padding: 4px 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--transition);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--brand);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq summary:hover { color: var(--brand-dark); }
.faq p {
  color: var(--muted);
  margin: 8px 0 0;
  line-height: 1.65;
  font-size: .95rem;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 48px;
  align-items: start;
}
.lead-form {
  display: grid;
  gap: 16px;
  padding: 32px;
  position: relative;
}
.lead-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.lead-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink-soft);
}
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: var(--surface);
  transition: all var(--transition);
  outline: none;
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}
.lead-form textarea { resize: vertical; min-height: 100px; }
.consent {
  grid-template-columns: 20px 1fr !important;
  align-items: start;
  font-size: .88rem;
  color: var(--muted);
}
.consent input {
  min-height: auto;
  margin-top: 3px;
  accent-color: var(--brand);
}
.lead-form button[type="submit"] {
  margin-top: 8px;
  width: 100%;
  min-height: 52px;
  font-size: 1rem;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  padding: 90px 0;
  text-align: center;
  background: var(--gradient-cta);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, .2) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta h2 {
  max-width: 900px;
  margin: 0 auto 30px;
  position: relative;
  z-index: 1;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}
.final-cta .button { position: relative; z-index: 1; }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .35);
  font-weight: 700;
  text-decoration: none;
  font-size: .92rem;
  transition: all var(--transition);
  animation: whatsappPulse 3s ease-in-out infinite;
}
.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
  animation: none;
}
@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, .35); }
  50% { box-shadow: 0 6px 30px rgba(37, 211, 102, .55), 0 0 0 8px rgba(37, 211, 102, .1); }
}

/* WhatsApp SVG icon */
.floating-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 49;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--brand);
  font-size: 1.2rem;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  cursor: pointer;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: translateY(-2px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 60px 0 40px;
  background: var(--ink);
  color: #fff;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-brand);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}
.footer-grid strong {
  font-size: 1.2rem;
  font-weight: 800;
  display: block;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 0%, var(--brand-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-grid p {
  color: rgba(255, 255, 255, .6);
  font-size: .92rem;
  line-height: 1.6;
}
.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.footer-grid nav a {
  color: rgba(255, 255, 255, .6);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 500;
  transition: all var(--transition);
}
.footer-grid nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}
.footer-grid nav a[aria-current="page"] {
  color: var(--brand-light);
  font-weight: 700;
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  text-align: center;
  font-size: .82rem;
  color: rgba(255, 255, 255, .4);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform .7s cubic-bezier(.4, 0, .2, 1);
}
.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}
.animate-on-scroll.delay-1 { transition-delay: .1s; }
.animate-on-scroll.delay-2 { transition-delay: .2s; }
.animate-on-scroll.delay-3 { transition-delay: .3s; }
.animate-on-scroll.delay-4 { transition-delay: .4s; }
.animate-on-scroll.delay-5 { transition-delay: .5s; }

.animate-slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform .7s cubic-bezier(.4, 0, .2, 1);
}
.animate-slide-left.animated {
  opacity: 1;
  transform: translateX(0);
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform .7s cubic-bezier(.4, 0, .2, 1);
}
.animate-slide-right.animated {
  opacity: 1;
  transform: translateX(0);
}

.animate-scale {
  opacity: 0;
  transform: scale(.92);
  transition: opacity .6s cubic-bezier(.4, 0, .2, 1), transform .6s cubic-bezier(.4, 0, .2, 1);
}
.animate-scale.animated {
  opacity: 1;
  transform: scale(1);
}

/* Hero entrance animations */
.hero-content { animation: heroFadeIn 1s cubic-bezier(.4, 0, .2, 1) .2s both; }
.hero-proof { animation: heroFadeIn 1s cubic-bezier(.4, 0, .2, 1) .5s both; }
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    padding: 12px 16px;
  }
  .site-header.scrolled { padding: 10px 16px; }
  .menu-button { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    gap: 2px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }
  .hero-inner, .two-col, .contact-layout, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-inner {
    min-height: auto;
    padding: 70px 0 80px;
    gap: 32px;
  }
  .hero-proof { max-width: 100%; }
  .card-grid, .steps {
    grid-template-columns: 1fr;
  }
  .steps div::after { display: none; }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .price-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .footer-grid nav { justify-content: flex-start; }
  .section { padding: 64px 0; }
  .band { padding: 64px 0; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 24px, 1200px); }
  .site-header .button.small { display: none; }
  .hero-actions .button { width: 100%; }
  .section, .band { padding: 48px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .card-grid { gap: 14px; }
  .card { padding: 22px; }
  .final-cta { padding: 64px 0; }
  .floating-whatsapp { padding: 0 16px; min-height: 52px; font-size: .85rem; }
  .contact-layout { gap: 32px; }
}

/* --- Print --- */
@media print {
  .site-header, .floating-whatsapp, .back-to-top, .menu-button { display: none !important; }
  .hero { background: #f5f5f5 !important; color: #000 !important; }
  .hero-proof { border-color: #ccc !important; background: #fff !important; }
  .animate-on-scroll, .animate-slide-left, .animate-slide-right, .animate-scale { opacity: 1 !important; transform: none !important; }
}
