/* ============================================================
   ELOGIRO — COMUNICAÇÃO & MARKETING
   Premium Website Stylesheet — 2026 Redesign
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

/* ── Design Tokens ── */
:root {
  /* Brand colours — warm editorial palette */
  --ink:           #15130F;
  --paper:         #F7F4EE;
  --sand:          #EFE9DD;
  --orange:        #FF6B00;
  --orange-light:  #FF8C2A;
  --orange-dark:   #E55A00;
  --ember:         #C2410C;
  --gold:          #FFB300;
  --gold-light:    #FFD04D;
  --red-soft:      #FF3D1A;
  --stone:         #6F665A;
  --white:         #FFFFFF;

  /* Gradients */
  --grad-primary:  linear-gradient(135deg, #FF6B00 0%, #FFB300 50%, #FF3D1A 100%);
  --grad-hero:     linear-gradient(135deg, #FF6B00 0%, #FF8C2A 40%, #FFB300 100%);
  --grad-warm:     linear-gradient(135deg, #FF8C2A 0%, #FFD04D 100%);
  --grad-dark:     linear-gradient(135deg, #15130F 0%, #2d1a00 100%);
  --grad-glass:    linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
  --grad-cta:      linear-gradient(160deg, var(--ink) 0%, #1a0d00 40%, var(--ember) 100%);

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(21,19,15,0.06), 0 1px 2px rgba(21,19,15,0.04);
  --shadow-md:   0 4px 16px rgba(21,19,15,0.08), 0 2px 4px rgba(21,19,15,0.05);
  --shadow-lg:   0 10px 40px rgba(21,19,15,0.10), 0 4px 12px rgba(21,19,15,0.06);
  --shadow-xl:   0 20px 60px rgba(21,19,15,0.12), 0 8px 20px rgba(21,19,15,0.08);
  --shadow-glow: 0 0 40px rgba(255,107,0,0.25), 0 0 80px rgba(255,179,0,0.12);
  --shadow-card: 0 8px 32px rgba(21,19,15,0.08), 0 2px 8px rgba(21,19,15,0.04);
  --shadow-btn:  0 4px 20px rgba(255,107,0,0.35), 0 2px 6px rgba(255,107,0,0.20);

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Typography */
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --font-mono:    'Space Mono', monospace;

  /* Legacy aliases — keep for any JS/HTML refs */
  --font-primary:   var(--font-display);
  --font-secondary: var(--font-body);

  /* Border radius */
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out:          cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast:   all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base:   all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ── Scroll Bar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--sand); }
::-webkit-scrollbar-thumb { background: var(--grad-primary); border-radius: var(--radius-full); }

/* ── Selection ── */
::selection { background: rgba(255,107,0,0.15); color: var(--orange-dark); }

/* ── Noise texture overlay ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(255,107,0,0.08);
  border: 1px solid rgba(255,107,0,0.18);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad-primary);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

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

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--stone);
  max-width: 580px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: var(--transition-fast);
}

.btn:hover::before { background: rgba(255,255,255,0.10); }

.btn-primary {
  background: var(--grad-primary);
  color: var(--white);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,107,0,0.45), 0 4px 12px rgba(255,107,0,0.28);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}

.btn-secondary:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,107,0,0.30);
}

.btn-white {
  background: var(--white);
  color: var(--orange);
  box-shadow: 0 4px 20px rgba(21,19,15,0.08);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(21,19,15,0.12);
}

.btn-ghost-white {
  background: rgba(255,255,255,0.10);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}

.btn-ghost-white:hover {
  background: rgba(255,255,255,0.20);
  border-color: rgba(255,255,255,0.45);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,0.30);
}

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

.btn-instagram {
  background: linear-gradient(135deg,
    var(--orange-dark) 0%,
    #e1306c 40%,
    #833ab4 100%);
  color: var(--white);
  box-shadow:
    0 4px 20px rgba(225, 48, 108, 0.28),
    0 2px  8px rgba(131,  58, 180, 0.12);
  position: relative;
  overflow: hidden;
}

.btn-instagram::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.12) 0%,
    rgba(255,255,255,0.00) 60%);
  transition: opacity 0.3s var(--ease-out);
  opacity: 0;
}

.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 32px rgba(225, 48, 108, 0.38),
    0 4px 16px rgba(131,  58, 180, 0.20);
}

.btn-instagram:hover::after { opacity: 1; }
.btn-instagram:active { transform: translateY(0); }

.btn-facebook {
  background: linear-gradient(135deg, #1877F2, #0C5DC7);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(24,119,242,0.30);
}

.btn-facebook:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(24,119,242,0.40);
}

.btn-lg { padding: 18px 44px; font-size: 1.05rem; }
.btn-sm { padding: 10px 22px; font-size: 0.875rem; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out),
              transform 0.7s var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.7s var(--ease-out),
              transform 0.7s var(--ease-out);
}

.reveal-right {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.7s var(--ease-out),
              transform 0.7s var(--ease-out);
}

.reveal-left.revealed,
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s var(--ease-out),
              transform 0.6s var(--ease-out);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }
[data-delay="600"] { transition-delay: 0.6s; }

/* ============================================================
   HEADER
   ============================================================ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-base);
  /* Transparent on top — hero is dark so links are white */
}

#header .nav-link {
  color: rgba(255,255,255,0.85);
}

#header .nav-link:hover {
  color: var(--orange);
}

#header.scrolled {
  background: rgba(247,244,238,0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,107,0,0.06);
  box-shadow: 0 4px 24px rgba(21,19,15,0.05);
  padding: 14px 0;
}

#header.scrolled .nav-link {
  color: var(--ink);
}

#header.scrolled .nav-link:hover {
  color: var(--orange);
}

#header.scrolled .logo-sub {
  color: var(--stone);
}

#header.scrolled .menu-toggle span {
  background: var(--orange);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.logo-sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 16px;
  height: 2px;
  background: var(--orange);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.nav-link:hover::after { transform: translateX(-50%) scaleX(1); }

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: var(--radius-full);
  transition: var(--transition-base);
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(21,19,15,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--orange);
}

.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.mobile-close:hover { color: var(--orange); }

/* ============================================================
   HERO — Dark, premium, single-slide
   Background: --ink
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  padding: 120px 0 80px;
}

/* Decorative background elements */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 10s ease-in-out infinite;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  top: -150px;
  right: -100px;
  background: radial-gradient(circle, rgba(255,107,0,0.14) 0%, rgba(194,65,12,0.06) 50%, transparent 70%);
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -80px;
  background: radial-gradient(circle, rgba(255,107,0,0.08) 0%, rgba(255,61,26,0.04) 50%, transparent 70%);
  animation-delay: -3s;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 35%;
  background: radial-gradient(circle, rgba(255,179,0,0.06) 0%, transparent 70%);
  animation-delay: -6s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(20px, -30px) scale(1.05); }
  66%      { transform: translate(-15px, 15px) scale(0.97); }
}

/* Grid lines on dark bg */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,107,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,107,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--grad-primary);
  animation: particleFloat linear infinite;
  opacity: 0;
}

@keyframes particleFloat {
  0%   { opacity: 0; transform: translateY(100vh) scale(0); }
  10%  { opacity: 0.4; }
  90%  { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-100px) scale(1); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Hero content — light text on dark */
.hero-content { max-width: 620px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,107,0,0.12);
  border: 1px solid rgba(255,107,0,0.25);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--space-lg);
  animation: fadeDown 0.8s var(--ease-out) forwards;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s ease infinite;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 6rem);
  font-weight: 800;
  line-height: 1.04;
  color: var(--paper);
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
  animation: fadeUp 0.9s var(--ease-out) 0.15s both;
}

.hero-title .gradient-text,
.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: rgba(247,244,238,0.6);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
  max-width: 520px;
  animation: fadeUp 0.9s var(--ease-out) 0.25s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  animation: fadeUp 0.9s var(--ease-out) 0.35s both;
}

.hero-stats {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,107,0,0.12);
  animation: fadeUp 0.9s var(--ease-out) 0.45s both;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(247,244,238,0.45);
  font-weight: 400;
}

/* Hero visual — spinning brand seal */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1s var(--ease-out) 0.3s both;
}

.hero-logo-stage {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Brand seal — slowly rotating SVG */
.brand-seal {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin 30s linear infinite;
}

.brand-seal-svg {
  width: 100%;
  height: 100%;
  opacity: 0.15;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Outer rings */
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255,107,0,0.12);
}

.ring-1 {
  width: 420px;
  height: 420px;
  animation: spinSlow 30s linear infinite;
}

.ring-1::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange);
}

.ring-2 {
  width: 320px;
  height: 320px;
  border-color: rgba(255,179,0,0.12);
  animation: spinSlow 20s linear infinite reverse;
}

.ring-2::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

.ring-3 {
  width: 220px;
  height: 220px;
  border-color: rgba(194,65,12,0.10);
  animation: spinSlow 14s linear infinite;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Center logo */
.logo-center {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,107,0,0.12);
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(255,107,0,0.15), var(--shadow-xl);
  animation: heroPulse 6s ease-in-out infinite;
}

.logo-center img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.logo-svg-fallback {
  width: 120px;
  height: 120px;
}

@keyframes heroPulse {
  0%, 100% { box-shadow: 0 0 40px rgba(255,107,0,0.15), var(--shadow-xl); }
  50%      { box-shadow: 0 0 80px rgba(255,107,0,0.25), 0 0 120px rgba(255,179,0,0.10), var(--shadow-xl); }
}

/* Floating chips around logo — dark bg version */
.hero-chip {
  position: absolute;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--paper);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  animation: floatChip 6s ease-in-out infinite;
}

.hero-chip-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  flex-shrink: 0;
}

.hero-chip-1 { top: 30px;  right: -20px; animation-delay: 0s; }
.hero-chip-2 { bottom: 60px; right: -30px; animation-delay: -2s; }
.hero-chip-3 { bottom: 30px; left: -20px; animation-delay: -4s; }

@keyframes floatChip {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ── Shared keyframes ── */
@keyframes fadeUp   { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeDown { from { opacity:0; transform:translateY(-16px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }

/* ============================================================
   HERO SLIDER (keep basic styles for JS compatibility)
   ============================================================ */
.hero-slider-root {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--ink);
}

.hs-track {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

.hs-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 120px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s var(--ease-out);
  will-change: opacity;
}

.hs-slide.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.hs-slide.leaving {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hs-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
  opacity: 0.85;
}

.hs-slide.active .hero-badge,
.hs-slide.active .hs-eyebrow,
.hs-slide.active .hero-title,
.hs-slide.active .hero-subtitle,
.hs-slide.active .hero-actions,
.hs-slide.active .hero-stats { animation: hsSlideIn 0.75s cubic-bezier(0.22,1,0.36,1) both; }
.hs-slide.active .hero-badge    { animation-delay: 0.05s; }
.hs-slide.active .hs-eyebrow    { animation-delay: 0.08s; }
.hs-slide.active .hero-title    { animation-delay: 0.12s; }
.hs-slide.active .hero-subtitle { animation-delay: 0.22s; }
.hs-slide.active .hero-actions  { animation-delay: 0.32s; }
.hs-slide.active .hero-stats    { animation-delay: 0.42s; }

@keyframes hsSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hs-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,107,0,0.10);
  z-index: 10;
  overflow: hidden;
}

.hs-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--grad-primary);
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
}

.hs-controls {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 20px;
}

.hs-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hs-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,107,0,0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s var(--ease-out);
  flex-shrink: 0;
}

.hs-dot.active {
  width: 28px;
  border-radius: var(--radius-full);
  background: var(--grad-primary);
  box-shadow: 0 2px 8px rgba(255,107,0,0.40);
}

.hs-dot:hover:not(.active) {
  background: rgba(255,107,0,0.50);
  transform: scale(1.2);
}

.hs-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,107,0,0.18);
  color: var(--orange);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
  flex-shrink: 0;
}

.hs-arrow:hover {
  background: var(--grad-primary);
  color: var(--white);
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(255,107,0,0.35);
}

.hs-arrow:active { transform: scale(0.96); }

/* ============================================================
   IMPACT CARDS
   Background: --paper
   ============================================================ */
#impact {
  padding: var(--space-2xl) 0;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}

#impact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-primary);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.impact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(21,19,15,0.04);
  transition: var(--transition-base);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.impact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-primary);
  opacity: 0;
  transition: var(--transition-base);
}

.impact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,107,0,0.15);
}

.impact-card:hover::before { opacity: 1; }
.impact-card:hover .impact-icon { background: rgba(255,255,255,0.20); color: var(--white); }
.impact-card:hover .impact-title { color: var(--white); }
.impact-card:hover .impact-desc { color: rgba(255,255,255,0.85); }

.impact-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(255,107,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-size: 28px;
  color: var(--orange);
  transition: var(--transition-base);
  position: relative;
  z-index: 1;
}

.impact-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  transition: var(--transition-base);
  position: relative;
  z-index: 1;
}

.impact-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--stone);
  line-height: 1.6;
  transition: var(--transition-base);
  position: relative;
  z-index: 1;
}

/* ============================================================
   SERVICES SECTION
   Background: --sand
   ============================================================ */
#services {
  padding: var(--space-3xl) 0;
  background: var(--sand);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  border: 1px solid rgba(21,19,15,0.05);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card--featured {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  background: linear-gradient(135deg, rgba(255,107,0,0.04), rgba(255,179,0,0.02));
  border: 1px solid rgba(255,107,0,0.18);
}

.service-card--featured .service-icon {
  flex-shrink: 0;
  margin-bottom: 0;
}

.service-card--featured-body { flex: 1; }

.service-new-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: var(--grad-primary);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

@media (max-width: 640px) {
  .service-card--featured {
    flex-direction: column;
    text-align: center;
  }
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-base);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(255,107,0,0.12);
}

.service-card:hover::after { transform: scaleX(1); }

.service-num {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.12;
  line-height: 1;
  margin-bottom: var(--space-sm);
  transition: var(--transition-base);
}

.service-card:hover .service-num { opacity: 0.22; }

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(255,107,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--orange);
  margin-bottom: var(--space-md);
  transition: var(--transition-base);
}

.service-card:hover .service-icon {
  background: var(--grad-primary);
  color: var(--white);
  transform: rotate(15deg);
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.service-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1.7;
}

.service-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-md);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange);
  transition: var(--transition-fast);
}

.service-card:hover .service-arrow { gap: 10px; }

/* ============================================================
   PROCESS SECTION
   Background: --ink (dark)
   ============================================================ */
#process {
  padding: var(--space-3xl) 0;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.process-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,107,0,0.06) 0%, transparent 60%);
  pointer-events: none;
}

#process .section-label {
  background: rgba(255,179,0,0.10);
  border-color: rgba(255,179,0,0.25);
}

#process .section-title { color: var(--paper); }
#process .section-subtitle { color: rgba(247,244,238,0.55); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.process-connector {
  position: absolute;
  top: 48px;
  left: calc(12.5% + 32px);
  right: calc(12.5% + 32px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,107,0,0.3), rgba(255,179,0,0.3), transparent);
  z-index: 0;
}

.process-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-xl);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  transition: var(--transition-base);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.process-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-primary);
  opacity: 0;
  transition: var(--transition-base);
}

.process-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,107,0,0.25);
  box-shadow: 0 20px 60px rgba(255,107,0,0.12);
}

.process-card:hover::before { opacity: 0.05; }

.process-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 auto var(--space-md);
  box-shadow: 0 8px 24px rgba(255,107,0,0.30), 0 0 40px rgba(255,107,0,0.12);
  position: relative;
  z-index: 1;
}

.process-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
  color: var(--orange);
  opacity: 0.9;
}

.process-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.process-text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(247,244,238,0.50);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* ============================================================
   FOR WHOM
   Background: --paper
   ============================================================ */
#forwho {
  padding: var(--space-3xl) 0;
  background: var(--paper);
}

.forwho-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.forwho-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-lg) var(--space-md);
  border: 1px solid rgba(21,19,15,0.05);
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
  position: relative;
  overflow: hidden;
}

.forwho-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-base);
}

.forwho-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,107,0,0.12);
}

.forwho-card:hover::before { transform: scaleX(1); }

.forwho-emoji {
  font-size: 2.5rem;
  width: 64px;
  height: 64px;
  background: rgba(255,107,0,0.06);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

.forwho-card:hover .forwho-emoji {
  background: rgba(255,107,0,0.10);
  transform: scale(1.05);
}

.forwho-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.forwho-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--stone);
  line-height: 1.65;
}

/* ============================================================
   GUARANTEES (replaces Portfolio)
   Background: --sand
   ============================================================ */
#guarantees {
  padding: var(--space-3xl) 0;
  background: var(--sand);
}

.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.guarantee-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  border: 1px solid rgba(21,19,15,0.05);
  transition: var(--transition-base);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.guarantee-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: var(--transition-base);
}

.guarantee-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(255,107,0,0.12);
}

.guarantee-card:hover::before { transform: scaleX(1); }

.guarantee-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: rgba(255,107,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-size: 32px;
  color: var(--orange);
  transition: var(--transition-base);
}

.guarantee-card:hover .guarantee-icon {
  background: var(--grad-primary);
  color: var(--white);
  transform: scale(1.05);
}

.guarantee-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.guarantee-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1.7;
}

/* ============================================================
   PORTFOLIO (legacy — keep if HTML still references)
   ============================================================ */
#portfolio {
  padding: var(--space-3xl) 0;
  background: var(--sand);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.portfolio-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/10;
  transition: var(--transition-base);
  cursor: pointer;
}

.portfolio-card:hover { transform: scale(1.01); box-shadow: var(--shadow-xl); }

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21,19,15,0.92) 0%, rgba(21,19,15,0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
  transition: var(--transition-base);
}

.portfolio-tag {
  display: inline-block;
  background: var(--grad-primary);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  width: fit-content;
}

.portfolio-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.portfolio-sub {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
}

.portfolio-link {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  opacity: 0;
  transition: var(--transition-base);
}

.portfolio-card:hover .portfolio-link { opacity: 1; }

/* ============================================================
   WHY ELOGIRO
   Background: --paper
   ============================================================ */
#why {
  padding: var(--space-3xl) 0;
  background: var(--paper);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.why-content {}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.why-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(21,19,15,0.05);
  transition: var(--transition-base);
}

.why-item:hover {
  border-color: rgba(255,107,0,0.15);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255,107,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--orange);
}

.why-item-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.why-item-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--stone);
  line-height: 1.6;
}

/* Why visual side */
.why-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card-wrap {
  position: relative;
  max-width: 380px;
  width: 100%;
}

.why-visual-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(21,19,15,0.05);
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 380px;
  width: 100%;
}

.why-visual-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-primary);
}

.why-logo-big {
  width: 100px;
  height: 100px;
  margin: 0 auto var(--space-md);
}

.why-tagline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.why-tagline-sub {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--stone);
}

.why-stats-mini {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(21,19,15,0.06);
}

.why-stat {
  text-align: center;
}

.why-stat-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.why-stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--stone);
}

/* Floating badge */
.why-badge {
  position: absolute;
  top: -16px;
  right: -16px;
  background: var(--grad-primary);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 8px 24px rgba(255,107,0,0.30);
  animation: floatChip 5s ease-in-out infinite;
}

.why-badge-line1 { font-size: 1.2rem; }
.why-badge-line2 { font-size: 0.72rem; opacity: 0.85; }

/* ============================================================
   CTA BAND
   Background: --ink with ember gradient
   ============================================================ */
#cta {
  padding: var(--space-3xl) 0;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(194,65,12,0.12) 0%, transparent 60%);
  pointer-events: none;
}

#cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.cta-glow-1 {
  position: absolute;
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  background: radial-gradient(circle, rgba(255,107,0,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  bottom: -150px;
  left: -50px;
  background: radial-gradient(circle, rgba(194,65,12,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.cta-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  padding: 6px 18px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: var(--space-md);
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--paper);
  line-height: 1.12;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.cta-text {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: rgba(247,244,238,0.65);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* ============================================================
   CONTACT
   Background: --paper
   ============================================================ */
#contact {
  padding: var(--space-3xl) 0;
  background: var(--paper);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-info {}

.contact-info .section-subtitle { margin-bottom: var(--space-lg); }

.contact-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(21,19,15,0.05);
  transition: var(--transition-base);
  text-decoration: none;
  color: inherit;
}

.contact-item:hover {
  border-color: rgba(255,107,0,0.15);
  box-shadow: var(--shadow-md);
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--white);
  flex-shrink: 0;
}

.contact-item-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: 2px;
}

.contact-item-value {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.contact-item-arrow {
  margin-left: auto;
  padding-left: 12px;
  font-size: 0.8rem;
  color: var(--stone);
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.contact-item:hover .contact-item-arrow {
  color: var(--orange);
  transform: translate(2px, -2px);
}

/* Compact social icons row — WhatsApp / Instagram / Facebook */
.social-icons-row {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 15px;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.social-icon-btn:hover { transform: translateY(-3px); }

.social-icon-btn--whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
}
.social-icon-btn--whatsapp:hover {
  box-shadow: 0 6px 18px rgba(37,211,102,0.35);
}

.social-icon-btn--instagram {
  background: linear-gradient(135deg, var(--orange-dark) 0%, #e1306c 45%, #833ab4 100%);
}
.social-icon-btn--instagram:hover {
  box-shadow: 0 6px 18px rgba(225,48,108,0.30);
}

.social-icon-btn--facebook {
  background: linear-gradient(135deg, #1877F2, #0C5DC7);
}
.social-icon-btn--facebook:hover {
  box-shadow: 0 6px 18px rgba(24,119,242,0.35);
}

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(21,19,15,0.04);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-sm);
}

.form-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid rgba(21,19,15,0.10);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  transition: var(--transition-fast);
  outline: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,107,0,0.08);
  background: var(--white);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--stone); opacity: 0.6; }

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6B00' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 44px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  margin-top: 8px;
}

.form-note {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--stone);
  text-align: center;
  margin-top: 12px;
}

/* Form error state */
.form-error-state {
  border-color: var(--red-soft) !important;
  box-shadow: 0 0 0 4px rgba(255,61,26,0.08) !important;
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-xl);
}

.form-success.show { display: block; }

.form-success-icon {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
}

.form-success-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.form-success-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--stone);
}

/* ============================================================
   FOOTER
   Background: --ink
   ============================================================ */
#footer {
  background: var(--ink);
  padding: var(--space-2xl) 0 var(--space-lg);
  position: relative;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(255,107,0,0.05) 0%, transparent 65%);
  pointer-events: none;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 1;
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-md);
}

.footer-logo-icon { width: 36px; height: 36px; }

.footer-logo-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-logo-sub {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
}

.footer-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.40);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  font-size: 16px;
  transition: var(--transition-base);
}

.social-btn:hover {
  background: var(--grad-primary);
  border-color: transparent;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255,107,0,0.25);
}

.footer-col {}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--paper);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-md);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.40);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-link:hover { color: var(--orange); padding-left: 4px; }

.footer-link::before {
  content: '→';
  font-size: 0.75rem;
  opacity: 0;
  transition: var(--transition-fast);
}

.footer-link:hover::before { opacity: 1; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-lg);
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.25);
}

.footer-copy span {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.footer-legal {
  display: flex;
  gap: var(--space-md);
}

.footer-legal a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.25);
  transition: var(--transition-fast);
}

.footer-legal a:hover { color: var(--orange); }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
#scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 8px 24px rgba(255,107,0,0.30);
  cursor: pointer;
  border: none;
  opacity: 0;
  transform: translateY(16px);
  transition: var(--transition-base);
  z-index: 900;
}

#scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(255,107,0,0.40);
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
#whatsapp-float {
  position: fixed;
  bottom: 32px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366, #1DB954);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  transition: var(--transition-base);
  z-index: 900;
  text-decoration: none;
}

#whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(37,211,102,0.45);
}

.wa-icon { font-size: 1.2rem; }
.wa-label { /* text beside icon */ }

/* ============================================================
   PREFERS REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* Keep fade only */
  .reveal { transform: none; }
  .reveal-left { transform: none; }
  .reveal-right { transform: none; }
  .reveal-scale { transform: none; }

  .hs-slide { transition: opacity 0.01s; }
  .hs-slide.active .hero-badge,
  .hs-slide.active .hs-eyebrow,
  .hs-slide.active .hero-title,
  .hs-slide.active .hero-subtitle,
  .hs-slide.active .hero-actions,
  .hs-slide.active .hero-stats { animation: none; }
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1100px)
   ============================================================ */
@media (max-width: 1100px) {
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-connector { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .guarantees-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }

  .hero-logo-stage { width: 320px; height: 320px; }
  .ring-1 { width: 320px; height: 320px; }
  .ring-2 { width: 240px; height: 240px; }
  .ring-3 { width: 160px; height: 160px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: var(--space-lg);
  }
  .hero-visual-stage {
    height: auto;
    min-height: 300px;
    max-width: 340px;
    margin: 0 auto;
  }
  .hero-subtitle { margin: 0 auto var(--space-md); }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }

  .nav { display: none; }
  .menu-toggle { display: flex; }
  .header-cta { display: none; }

  .why-inner { grid-template-columns: 1fr; }
  .why-visual { display: none; }
  .contact-inner { grid-template-columns: 1fr; }
  .forwho-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .guarantees-grid { grid-template-columns: 1fr; }

  .hs-slide { padding: 100px 0; align-items: flex-start; }
  .hs-controls { bottom: 20px; gap: 14px; }
  .hs-arrow { width: 34px; height: 34px; font-size: 12px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px) — primary mobile breakpoint
   ============================================================ */
@media (max-width: 768px) {
  /* All grids to single column */
  .impact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .forwho-grid { grid-template-columns: 1fr; }
  .guarantees-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Hero title scales down */
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  /* Prevent horizontal overflow */
  .container { padding: 0 1.1rem; }
  body { overflow-x: hidden; }

  /* Touch-friendly tap targets */
  .btn { min-height: 44px; padding: 12px 24px; }
  .btn-lg { padding: 16px 36px; }
  .nav-link { min-height: 44px; }
  .social-btn { width: 44px; height: 44px; }
  .hs-dot { width: 10px; height: 10px; min-width: 44px; min-height: 44px; padding: 17px 5px; background-clip: content-box; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {
  /* Spacing tokens */
  :root {
    --space-xs:  0.4rem;
    --space-sm:  0.75rem;
    --space-md:  1.2rem;
    --space-lg:  2rem;
    --space-xl:  2.5rem;
    --space-2xl: 3.5rem;
    --space-3xl: 4.5rem;
  }

  .container { padding: 0 1.1rem; }

  /* ── Header ── */
  #header { padding: 14px 0; }
  #header.scrolled { padding: 10px 0; }
  .logo-icon { width: 34px; height: 34px; }
  .logo-name { font-size: 1.3rem; }
  .logo-sub  { font-size: 0.55rem; letter-spacing: 0.10em; }
  .menu-toggle { padding: 6px; }

  /* ── Hero Slider ── */
  .hero-slider-root { min-height: 100svh; }
  .hs-track { min-height: 100svh; }

  .hs-slide {
    padding: 90px 0 100px;
    align-items: flex-start;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-md);
  }

  .hero-badge {
    font-size: 0.70rem;
    padding: 6px 14px;
    margin-bottom: var(--space-md);
  }

  .hero-title {
    font-size: clamp(1.8rem, 7.5vw, 2.4rem);
    line-height: 1.10;
    margin-bottom: var(--space-sm);
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0 auto var(--space-md);
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  .hero-stats {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-md);
    padding-top: var(--space-md);
    flex-wrap: wrap;
  }

  .hero-stat-num   { font-size: 1.35rem; }
  .hero-stat-label { font-size: 0.70rem; }

  /* Slider controls */
  .hs-controls { bottom: 14px; gap: 10px; }
  .hs-arrow { width: 32px; height: 32px; font-size: 11px; }
  .hs-dot { width: 7px; height: 7px; min-width: unset; min-height: unset; padding: 0; background-clip: border-box; }
  .hs-dot.active { width: 22px; }

  /* ── Section Titles ── */
  .section-title    { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .section-subtitle { font-size: 0.95rem; }
  .section-header   { margin-bottom: var(--space-lg); }

  /* ── Impact Cards ── */
  #impact { padding: var(--space-xl) 0; }
  .impact-grid { grid-template-columns: 1fr; gap: 10px; }
  .impact-card { padding: var(--space-md) var(--space-sm); }
  .impact-icon { width: 50px; height: 50px; font-size: 22px; }
  .impact-title { font-size: 0.9rem; }
  .impact-desc  { font-size: 0.8rem; }

  /* ── Services ── */
  #services { padding: var(--space-2xl) 0; }
  .services-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card  { padding: var(--space-md); }
  .service-num   { font-size: 2.2rem; }
  .service-title { font-size: 1rem; }
  .service-text  { font-size: 0.875rem; }

  /* ── Process ── */
  #process { padding: var(--space-2xl) 0; }
  .process-grid { grid-template-columns: 1fr; gap: 12px; }
  .process-card { padding: var(--space-md); }
  .process-num  { width: 52px; height: 52px; font-size: 1.2rem; }
  .process-title { font-size: 0.95rem; }
  .process-text  { font-size: 0.85rem; }
  .process-connector { display: none; }

  /* ── For Whom ── */
  #forwho { padding: var(--space-2xl) 0; }
  .forwho-grid { grid-template-columns: 1fr; gap: 12px; }
  .forwho-card {
    padding: var(--space-md);
    flex-direction: row;
    align-items: center;
    gap: var(--space-sm);
  }
  .forwho-emoji { width: 52px; height: 52px; font-size: 2rem; flex-shrink: 0; }
  .forwho-title { font-size: 0.95rem; }
  .forwho-desc  { font-size: 0.83rem; }

  /* ── Guarantees ── */
  #guarantees { padding: var(--space-2xl) 0; }
  .guarantees-grid { grid-template-columns: 1fr; gap: 12px; }
  .guarantee-card { padding: var(--space-lg) var(--space-md); }
  .guarantee-icon { width: 60px; height: 60px; font-size: 26px; }
  .guarantee-title { font-size: 1rem; }
  .guarantee-text  { font-size: 0.85rem; }

  /* ── Portfolio ── */
  #portfolio { padding: var(--space-2xl) 0; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 14px; }
  .portfolio-card { aspect-ratio: 4/3; }
  .portfolio-overlay { padding: var(--space-md); }
  .portfolio-title { font-size: 1rem; }

  /* ── Why EloGiro ── */
  #why { padding: var(--space-2xl) 0; }
  .why-inner { grid-template-columns: 1fr; gap: var(--space-lg); }
  .why-visual { display: none; }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: var(--space-md);
  }
  .why-item {
    padding: var(--space-sm) var(--space-md);
    flex-direction: row;
    align-items: center;
    gap: var(--space-sm);
  }
  .why-icon { flex-shrink: 0; }
  .why-item-title { font-size: 0.9rem; }
  .why-item-text  { font-size: 0.82rem; }

  /* ── CTA Band ── */
  #cta { padding: var(--space-2xl) 0; }
  .cta-title  { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .cta-text   { font-size: 0.95rem; margin-bottom: var(--space-lg); }
  .cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .cta-actions .btn {
    width: 100%;
    max-width: 320px;
  }

  /* ── Contact ── */
  #contact { padding: var(--space-2xl) 0; }
  .contact-inner { grid-template-columns: 1fr; gap: var(--space-lg); }
  .contact-form-wrap { padding: var(--space-lg) var(--space-md); }
  .contact-item { gap: var(--space-sm); padding: var(--space-sm) var(--space-md); }
  .contact-item-icon { width: 40px; height: 40px; font-size: 16px; }
  .contact-item-value { font-size: 0.88rem; word-break: break-all; }
  .form-row { grid-template-columns: 1fr; }

  /* ── Sobre ── */
  #sobre { padding: var(--space-2xl) 0; }
  .about-text { font-size: 0.92rem; }

  /* ── FAQ ── */
  #faq { padding: var(--space-2xl) 0; }
  .faq-question { padding: 16px 18px; font-size: 0.92rem; }
  .faq-answer { padding: 0 18px 18px; font-size: 0.88rem; }

  /* ── Footer ── */
  #footer { padding: var(--space-xl) 0 var(--space-md); }
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding-bottom: var(--space-lg);
  }
  .footer-desc { max-width: 100%; font-size: 0.85rem; }
  .footer-col-title { font-size: 0.72rem; margin-bottom: var(--space-sm); }
  .footer-links { gap: 8px; }
  .footer-link { font-size: 0.82rem; }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-sm);
  }
  .footer-legal { flex-wrap: wrap; justify-content: center; gap: var(--space-sm); }

  /* ── Floating Buttons ── */
  #whatsapp-float .wa-label { display: none; }
  #whatsapp-float {
    padding: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    justify-content: center;
    bottom: 24px;
    left: 20px;
  }
  .wa-icon { font-size: 1.4rem; }

  #scroll-top {
    bottom: 24px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
}

/* ============================================================
   RESPONSIVE — EXTRA SMALL (≤ 400px)
   ============================================================ */
@media (max-width: 400px) {
  .impact-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { max-width: 100%; }
  .cta-actions .btn  { max-width: 100%; }
}

/* ============================================================
   SOBRE — Personal section
   ============================================================ */
#sobre { padding: 100px 0; }

.about-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
}

.about-photo-frame {
  width: 280px;
  height: 320px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow:
    0 8px 32px rgba(255,107,0,0.12),
    0 2px 8px rgba(0,0,0,0.06);
  border: 3px solid rgba(255,107,0,0.2);
}

.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}

.about-photo-frame:hover img {
  transform: scale(1.03);
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink);
  opacity: 0.85;
  margin-bottom: 1.1rem;
  max-width: 640px;
}

@media (max-width: 768px) {
  .about-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .about-photo-frame { width: 200px; height: 240px; }
}

/* ============================================================
   FAQ
   ============================================================ */
#faq { padding: 100px 0; }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid rgba(21,19,15,0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 0;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(255,107,0,0.25);
}

.faq-question {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
}

.faq-question::-webkit-details-marker { display: none; }

.faq-icon {
  flex-shrink: 0;
  color: var(--orange);
  transition: transform 0.25s ease;
  font-size: 0.85rem;
}

.faq-item[open] .faq-icon { transform: rotate(180deg); }

.faq-answer {
  padding: 0 24px 22px;
  color: var(--ink);
  opacity: 0.8;
  line-height: 1.7;
  font-size: 0.98rem;
}

/* ============================================================
   HERO VISUAL — Layered device mockups (depth)
   ============================================================ */
.hero-visual-stage {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 420px;
  margin: 0 auto;
}

/* Browser mockup — the EloGiro site itself */
.device-mockup {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 380px;
  transform: translate(-50%, -50%) perspective(1200px) rotateY(-7deg) rotateX(3deg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0,0,0,0.45), 0 10px 25px rgba(255,107,0,0.10);
  overflow: hidden;
  backdrop-filter: blur(6px);
  z-index: 2;
  animation: deviceFloat 8s ease-in-out infinite;
}

.device-mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.device-dot { width: 8px; height: 8px; border-radius: 50%; opacity: 0.7; }
.device-dot-red    { background: #FF5F57; }
.device-dot-yellow { background: #FEBC2E; }
.device-dot-green  { background: #28C840; }

.device-url {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(247,244,238,0.5);
  background: rgba(0,0,0,0.2);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.device-mockup-body { padding: 18px 18px 22px; }

.device-mockup-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.device-mockup-logo-dot {
  width: 16px; height: 16px;
  border-radius: 5px;
  background: var(--grad-primary);
  flex-shrink: 0;
}

.device-mockup-navline {
  height: 5px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.12);
  flex: 1;
}
.device-mockup-navline.short { flex: 0 0 28px; }

.device-mockup-hero {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.device-mockup-headline {
  height: 12px;
  width: 85%;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.18);
}
.device-mockup-headline.short { width: 55%; background: var(--grad-primary); opacity: 0.7; }

.device-mockup-cta {
  margin-top: 6px;
  width: 110px;
  height: 26px;
  border-radius: var(--radius-full);
  background: var(--grad-primary);
}

.device-mockup-row {
  display: flex;
  gap: 8px;
}

.device-mockup-block {
  flex: 1;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.07);
}

@keyframes deviceFloat {
  0%, 100% { transform: translate(-50%, -50%) perspective(1200px) rotateY(-7deg) rotateX(3deg); }
  50%      { transform: translate(-50%, -52%) perspective(1200px) rotateY(-5deg) rotateX(2deg); }
}

/* Social post mockup — floats above/in front, overlapping for depth */
.post-mockup {
  position: absolute;
  top: -18px;
  right: -10px;
  width: 148px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
  overflow: hidden;
  z-index: 4;
  animation: floatChip 7s ease-in-out infinite;
}

.post-mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
}

.post-mockup-avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.post-mockup-name {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--paper);
  flex: 1;
}

.post-mockup-dots { font-size: 0.65rem; color: rgba(247,244,238,0.4); }

.post-mockup-image {
  height: 90px;
  background: linear-gradient(135deg, rgba(255,107,0,0.25), rgba(255,179,0,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 1.3rem;
}

.post-mockup-actions {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  font-size: 0.75rem;
  color: rgba(247,244,238,0.55);
}

/* Brand seal now sits behind the mockups, more subtle */
.hero-visual-stage .brand-seal {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.6;
}

.hero-visual-stage .hero-chip { z-index: 5; }
.hero-visual-stage .hero-chip-1 { top: -6px;  left: -24px; }
.hero-visual-stage .hero-chip-2 { bottom: 10px; right: -28px; }
.hero-visual-stage .hero-chip-3 { bottom: -16px; left: 10px; }

@media (max-width: 1024px) {
  .device-mockup { width: 320px; }
  .post-mockup { width: 130px; }
}

@media (max-width: 768px) {
  .hero-visual-stage {
    height: auto;
    max-width: 300px;
    margin: 0 auto;
  }
  .device-mockup {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    animation: none;
    margin: 0 auto;
  }
  /* Simplify on mobile: remove overlapping decorative layers */
  .post-mockup,
  .hero-visual-stage .brand-seal,
  .hero-visual-stage .hero-chip {
    display: none;
  }
}

/* ============================================================
   SECÇÃO CLIENTES / MARCAS
   ============================================================ */

#clientes {
  padding: var(--space-xl) 0;
  background: var(--surface);
}

.clientes-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem 4rem;
  margin-top: var(--space-lg);
}

.cliente-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.clientes-work-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.85rem;
  color: var(--ember);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.cliente-item-action {
  padding: 0.75rem 1rem 0.6rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.cliente-item-action:hover,
.cliente-item-action:focus-visible {
  background: rgba(247,244,238,0.72);
  border-color: rgba(255,107,0,0.24);
  box-shadow: var(--shadow-sm);
  outline: none;
}

.cliente-logo {
  max-height: 90px;
  max-width: 200px;
  width: auto;
  object-fit: contain;
  /* preto e branco por defeito */
  filter: grayscale(100%) brightness(0.15);
  opacity: 0.45;
  transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

.cliente-logo:hover,
.cliente-item-action:hover .cliente-logo,
.cliente-item-action:focus-visible .cliente-logo {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transform: scale(1.06);
}

@media (max-width: 600px) {
  .clientes-grid {
    gap: 2rem 2.5rem;
  }
  .cliente-logo {
    max-height: 65px;
    max-width: 140px;
  }
}

/* ============================================================
   CASOS PRÁTICOS
   ============================================================ */

.case-portfolio[hidden] { display: none; }

.case-portfolio {
  position: fixed;
  inset: 0;
  z-index: 10010;
  display: grid;
  place-items: center;
  padding: clamp(0.75rem, 3vw, 2rem);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.case-portfolio.is-open { opacity: 1; }

.case-portfolio-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21,19,15,0.76);
  backdrop-filter: blur(12px);
}

.case-portfolio-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(1180px, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(255,107,0,0.08), transparent 28rem),
    var(--sand);
  border: 1px solid rgba(247,244,238,0.38);
  border-radius: var(--radius-xl);
  box-shadow: 0 28px 90px rgba(21,19,15,0.38);
  transform: translateY(14px) scale(0.985);
  transition: transform 0.25s var(--ease-out);
}

.case-portfolio.is-open .case-portfolio-panel {
  transform: translateY(0) scale(1);
}

.case-portfolio-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  padding: clamp(1.25rem, 3vw, 2rem);
  background: rgba(247,244,238,0.92);
  border-bottom: 1px solid rgba(111,102,90,0.16);
}

.case-portfolio-title {
  margin-top: 0.35rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.case-portfolio-close {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: var(--sand);
  border: 1px solid rgba(111,102,90,0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.case-portfolio-close:hover {
  color: var(--paper);
  background: var(--orange);
  transform: rotate(5deg);
}

.case-portfolio-close:focus-visible {
  outline: 3px solid rgba(255,107,0,0.42);
  outline-offset: 3px;
}

.case-portfolio-content {
  overflow-y: auto;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.case-portfolio-content > .case-study-description {
  margin-bottom: var(--space-lg);
}

.case-studies {
  display: grid;
  gap: var(--space-xl);
}

.case-study {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background: rgba(247,244,238,0.86);
  border: 1px solid rgba(111,102,90,0.16);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.case-study-header {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(280px, 1fr);
  align-items: end;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(111,102,90,0.16);
}

.case-study-label,
.case-lightbox-brand {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember);
}

.case-study-name {
  margin-top: 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.case-study-description {
  max-width: 650px;
  color: var(--stone);
  font-size: 0.98rem;
  line-height: 1.75;
}

.case-posts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-top: var(--space-lg);
}

.case-post-wrap {
  min-width: 0;
}

.case-post {
  width: 100%;
  height: 100%;
  overflow: hidden;
  text-align: left;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(111,102,90,0.15);
  border-radius: var(--radius-lg);
  box-shadow: 0 3px 12px rgba(21,19,15,0.04);
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease, box-shadow 0.3s ease;
}

.case-post:hover {
  transform: translateY(-4px);
  border-color: rgba(255,107,0,0.32);
  box-shadow: var(--shadow-md);
}

.case-post:focus-visible {
  outline: 3px solid rgba(255,107,0,0.42);
  outline-offset: 3px;
}

.case-post-image-wrap {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ded7ca;
}

.case-post-image-wrap::after {
  content: '';
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(21,19,15,0.34));
  pointer-events: none;
}

.case-post-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out);
}

.case-post-image-wrap img.case-post-image-contain {
  object-fit: contain;
  background: #082b59;
}

.case-post:hover .case-post-image-wrap img {
  transform: scale(1.025);
}

.case-post-count,
.case-post-open {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  background: rgba(21,19,15,0.76);
  border: 1px solid rgba(247,244,238,0.22);
  backdrop-filter: blur(8px);
}

.case-post-count {
  top: 0.75rem;
  right: 0.75rem;
  gap: 0.42rem;
  min-height: 30px;
  padding: 0.35rem 0.62rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
}

.case-post-open {
  right: 0.75rem;
  bottom: 0.75rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.case-post:hover .case-post-open,
.case-post:focus-visible .case-post-open {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox */
.case-lightbox[hidden] { display: none; }

.case-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: grid;
  place-items: center;
  padding: clamp(0.75rem, 3vw, 2rem);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.case-lightbox.is-open { opacity: 1; }

.case-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21,19,15,0.88);
  backdrop-filter: blur(12px);
}

.case-lightbox-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: max-content;
  max-width: calc(100vw - 2rem);
  height: auto;
  max-height: calc(100dvh - 2rem);
  overflow: hidden;
  background: #0d0d0d;
  border: 1px solid rgba(21,19,15,0.28);
  border-radius: 14px;
  box-shadow: 0 28px 90px rgba(0,0,0,0.52), 0 2px 10px rgba(0,0,0,0.28);
  transform: translateY(10px) scale(0.99);
  transition: transform 0.22s var(--ease-out);
}

.case-lightbox.is-open .case-lightbox-panel {
  transform: translateY(0) scale(1);
}

.case-browser-bar {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 68px minmax(150px, 1fr) 68px;
  align-items: center;
  min-height: 48px;
  padding: 8px 12px;
  color: #504e4a;
  background: linear-gradient(180deg, #f2f1ef 0%, #deddda 100%);
  border-bottom: 1px solid #c4c2bd;
}

.case-browser-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.case-browser-dot {
  display: block;
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.5px rgba(21,19,15,0.25);
}

.case-browser-dot-close { background: #ff5f57; }
.case-browser-dot-minimise { background: #febc2e; }
.case-browser-dot-maximise { background: #28c840; }

.case-browser-dot-close i {
  display: block;
  font-size: 6px;
  color: rgba(82,0,0,0.65);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.case-browser-controls:hover .case-browser-dot-close i,
.case-browser-dot-close:focus-visible i { opacity: 1; }

.case-browser-address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  padding: 5px 12px;
  overflow: hidden;
  color: #5d5b57;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(21,19,15,0.12);
  border-radius: 7px;
  box-shadow: inset 0 1px 1px rgba(21,19,15,0.04);
  font-family: -apple-system, BlinkMacSystemFont, 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem;
  line-height: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.case-browser-address i { font-size: 0.58rem; }

.case-browser-spacer { width: 68px; }

.case-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.case-lightbox-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--paper);
  background: rgba(247,244,238,0.09);
  border: 1px solid rgba(247,244,238,0.15);
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.case-lightbox-arrow:not(:disabled):hover {
  background: rgba(255,107,0,0.18);
  border-color: rgba(255,107,0,0.55);
}

.case-lightbox-close:focus-visible,
.case-lightbox-arrow:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.case-lightbox-stage {
  position: relative;
  display: block;
  width: max-content;
  max-width: calc(100vw - 2rem);
  padding: 0;
  overflow: hidden;
  background: #0d0d0d;
}

.case-lightbox-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(21,19,15,0.72);
  backdrop-filter: blur(8px);
}

.case-lightbox-prev { left: 12px; }
.case-lightbox-next { right: 12px; }

.case-lightbox-arrow:disabled {
  opacity: 0;
  pointer-events: none;
  cursor: default;
}

.case-lightbox-figure {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: calc(100vw - 2rem);
  height: auto;
  max-height: calc(100dvh - 5rem);
  overflow: hidden;
  padding: 0;
}

.case-lightbox-figure img {
  display: block;
  flex: 0 1 auto;
  width: auto;
  height: auto;
  max-width: calc(100vw - 2rem);
  max-height: calc(100dvh - 5rem);
  object-fit: contain;
}

.case-lightbox-meta {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.65rem;
  color: var(--paper);
  background: rgba(21,19,15,0.72);
  border: 1px solid rgba(247,244,238,0.18);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  font-size: 0.72rem;
  transform: translateX(-50%);
}

#caseLightboxCounter {
  color: var(--paper);
  font-family: var(--font-mono);
  font-weight: 700;
}

@media (max-width: 980px) {
  .case-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .case-portfolio { padding: 0.5rem; }
  .case-portfolio-panel {
    width: calc(100vw - 1rem);
    max-height: calc(100dvh - 1rem);
    border-radius: var(--radius-lg);
  }
  .case-portfolio-header,
  .case-portfolio-content { padding: 1rem; }
  .case-portfolio-close { width: 40px; height: 40px; }

  .case-study-header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1rem;
  }

  .case-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .case-post-count { top: 0.55rem; right: 0.55rem; }
  .case-post-open { display: none; }

  .case-lightbox { padding: 0.5rem; }
  .case-lightbox-panel {
    max-width: calc(100vw - 1rem);
    max-height: calc(100dvh - 1rem);
    border-radius: 12px;
  }

  .case-browser-bar {
    grid-template-columns: 58px minmax(110px, 1fr) 58px;
    min-height: 44px;
    padding: 7px 10px;
  }

  .case-browser-controls { gap: 6px; }
  .case-browser-dot { width: 11px; height: 11px; }
  .case-browser-spacer { width: 58px; }
  .case-browser-address { padding: 5px 8px; font-size: 0.62rem; }

  .case-lightbox-stage,
  .case-lightbox-figure,
  .case-lightbox-figure img {
    max-width: calc(100vw - 1rem);
  }

  .case-lightbox-arrow {
    width: 38px;
    height: 38px;
  }

  .case-lightbox-prev { left: 8px; }
  .case-lightbox-next { right: 8px; }
  .case-lightbox-meta { bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .cliente-item-action:hover .cliente-logo,
  .cliente-item-action:focus-visible .cliente-logo,
  .case-portfolio-panel,
  .case-post:hover,
  .case-post:hover .case-post-image-wrap img,
  .case-lightbox-panel {
    transform: none;
  }
}

/* ============================================================
   SECÇÃO EXEMPLOS (Portfólio interativo)
   ============================================================ */

#exemplos {
  padding: var(--space-3xl) 0;
  background: var(--paper);
}

.exemplos-carousel {
  position: relative;
  margin-top: var(--space-lg);
}

.exemplos-carousel-viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px 4px 18px;
}

.exemplos-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.exemplos-grid {
  display: flex;
  align-items: stretch;
  gap: var(--space-md);
}

.exemplo-card {
  flex: 0 0 calc((100% - (3 * var(--space-md))) / 4);
  min-width: 0;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(21,19,15,0.06);
  box-shadow: var(--shadow-card);
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}

.exemplo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.exemplos-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,107,0,0.22);
  border-radius: 50%;
  background: var(--white);
  color: var(--orange);
  box-shadow: 0 8px 26px rgba(21,19,15,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translateY(-50%);
  transition: var(--transition-base);
}

.exemplos-carousel-arrow:hover:not(:disabled) {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-50%) scale(1.06);
}

.exemplos-carousel-arrow:focus-visible {
  outline: 3px solid rgba(255,107,0,0.28);
  outline-offset: 3px;
}

.exemplos-carousel-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.exemplos-carousel-arrow--prev {
  left: -24px;
}

.exemplos-carousel-arrow--next {
  right: -24px;
}

@media (max-width: 1100px) {
  .exemplo-card {
    flex-basis: calc((100% - (2 * var(--space-md))) / 3);
  }

  .exemplos-carousel-arrow--prev {
    left: 8px;
  }

  .exemplos-carousel-arrow--next {
    right: 8px;
  }
}

@media (max-width: 760px) {
  .exemplo-card {
    flex-basis: calc((100% - var(--space-md)) / 2);
  }
}

@media (max-width: 520px) {
  .exemplos-carousel {
    margin-inline: -4px;
  }

  .exemplos-carousel-viewport {
    padding-inline: 4px;
  }

  .exemplo-card {
    flex-basis: 100%;
  }

  .exemplos-carousel-arrow {
    width: 42px;
    height: 42px;
  }
}

.exemplo-card-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--grad-dark);
  overflow: hidden;
}

.exemplo-card-thumb-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #1a1208 0%, #2d1f08 40%, #1a1208 100%);
  overflow: hidden;
}

/* mesh overlay */
.exemplo-card-thumb-fallback::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 35%, rgba(255,140,0,0.18) 0%, transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(255,100,0,0.12) 0%, transparent 50%);
  pointer-events: none;
}

/* animated accent line */
.exemplo-card-thumb-fallback::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #FF8C00, #FFB300, transparent);
}

.exemplo-card-thumb-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  text-align: center;
  padding: 0 1rem;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.exemplo-card-thumb-type {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono, monospace);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #FFB300;
  text-transform: uppercase;
  background: rgba(255,179,0,0.12);
  border: 1px solid rgba(255,179,0,0.3);
  border-radius: 20px;
  padding: 3px 10px;
}

.exemplo-card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.exemplo-card-tag {
  font-family: var(--font-mono, monospace);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--orange);
  font-weight: 700;
}

.exemplo-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.exemplo-card-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1.55;
  margin-bottom: var(--space-xs);
}

.exemplo-card-btn {
  align-self: flex-start;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
}

/* ============================================================
   CARD CTA — ver mais exemplos
   ============================================================ */

.exemplo-card--cta {
  border: 1px solid rgba(255,140,0,0.25);
  background: linear-gradient(160deg, #fffbf5 0%, #fff8ee 100%);
}

.exemplo-card--cta:hover {
  border-color: rgba(255,140,0,0.5);
  box-shadow: 0 12px 40px rgba(255,140,0,0.15);
}

.exemplo-card-thumb--cta {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #FF6B00 0%, #FF8C00 50%, #FFB300 100%);
  overflow: hidden;
}

.exemplo-card-cta-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.exemplo-card-cta-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exemplo-card-cta-dots {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  padding: 1rem;
  gap: 0.5rem;
}

.exemplo-card-cta-dots span {
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.2);
  animation: ctaDotPulse 2.4s ease-in-out infinite;
}

.exemplo-card-cta-dots span:nth-child(2) { animation-delay: 0.2s; }
.exemplo-card-cta-dots span:nth-child(3) { animation-delay: 0.4s; }
.exemplo-card-cta-dots span:nth-child(4) { animation-delay: 0.6s; }
.exemplo-card-cta-dots span:nth-child(5) { animation-delay: 0.8s; }
.exemplo-card-cta-dots span:nth-child(6) { animation-delay: 1.0s; }
.exemplo-card-cta-dots span:nth-child(7) { animation-delay: 1.2s; }
.exemplo-card-cta-dots span:nth-child(8) { animation-delay: 1.4s; }
.exemplo-card-cta-dots span:nth-child(9) { animation-delay: 1.6s; }

@keyframes ctaDotPulse {
  0%, 100% { opacity: 0.2; transform: scale(0.95); }
  50%       { opacity: 0.55; transform: scale(1); }
}

.exemplo-card-cta-icon {
  position: relative;
  z-index: 1;
  font-size: 2.2rem;
  color: #fff;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

/* ============================================================
   MODAL — Janela estilo browser (pré-visualização de exemplos)
   ============================================================ */


.exemplo-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.exemplo-modal.is-open {
  display: flex;
}

.exemplo-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(21,19,15,0.75);
  backdrop-filter: blur(4px);
}

.exemplo-modal-window {
  position: relative;
  width: min(1100px, 100%);
  height: min(720px, 90vh);
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  animation: exemploModalIn 0.28s ease;
}

@keyframes exemploModalIn {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.exemplo-modal-bar {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 12px var(--space-md);
  background: var(--sand);
  border-bottom: 1px solid rgba(21,19,15,0.08);
  flex-shrink: 0;
}

.exemplo-modal-dots {
  display: flex;
  gap: 7px;
  flex-shrink: 0;
}

.exemplo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
}

.exemplo-dot-red    { background: #FF5F57; }
.exemplo-dot-yellow { background: #FEBC2E; }
.exemplo-dot-green  { background: #28C840; }

.exemplo-modal-address {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--white);
  border-radius: var(--radius-full);
  padding: 7px 16px;
  font-family: var(--font-mono, monospace);
  font-size: 0.8rem;
  color: var(--stone);
  border: 1px solid rgba(21,19,15,0.06);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.exemplo-modal-address i {
  color: var(--stone);
  font-size: 0.7rem;
}

.exemplo-modal-close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--ink);
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

.exemplo-modal-close:hover {
  background: rgba(21,19,15,0.08);
}

.exemplo-modal-body {
  position: relative;
  flex: 1;
  background: var(--white);
}

.exemplo-modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.exemplo-modal-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--orange);
  background: var(--white);
}

@media (max-width: 700px) {
  .exemplo-modal {
    padding: 0;
  }
  .exemplo-modal-window {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
}
