/* ══════════════════════════════════════════════
   Amedí Theme — Main Stylesheet
   Fonts: Epilogue (display) · Figtree (body) · JetBrains Mono (mono)
   ══════════════════════════════════════════════ */

/* ── CSS VARIABLES ── */
:root {
  --bg:        #060E14;
  --bg2:       #0A1620;
  --bg3:       #0F1E2C;
  --surface:   #132030;
  --surface2:  #1A2D40;
  --text:      #E8F0EE;
  --text-soft: #7A9899;
  --text-mute: #3D5A5E;
  --teal:      #00C2A0;
  --teal2:     #00D9B4;
  --teal-dim:  rgba(0,194,160,0.10);
  --amber:     #E8922A;
  --amber2:    #F5A840;
  --line:      rgba(0,194,160,0.07);
  --line-n:    rgba(232,240,238,0.05);
  --fh: 'Epilogue', sans-serif;
  --fb: 'Figtree', sans-serif;
  --fm: 'JetBrains Mono', monospace;
  --max-w: 1160px;
  --pad: 52px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fb);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* ── LAYOUT ── */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }

/* ── GLOBAL TYPOGRAPHY ── */
h1 {
  font-family: var(--fh);
  font-size: clamp(42px, 6.5vw, 86px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 12px;
  max-width: 760px;
}

h2 {
  font-family: var(--fh);
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0;
}
h2 em { font-style: normal; color: var(--teal); }
h2 em.amber { color: var(--amber); }

h3 {
  font-family: var(--fh);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.sec-tag {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sec-tag::before {
  content: '';
  width: 16px; height: 1px;
  background: var(--teal);
  display: inline-block;
  flex-shrink: 0;
}
.sec-tag.amber { color: var(--amber); }
.sec-tag.amber::before { background: var(--amber); }

.body-t {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.82;
  color: var(--text-soft);
  margin-bottom: 18px;
}
.body-t strong { color: var(--text); font-weight: 500; }

/* ── BUTTONS ── */
.btn-primary {
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 15px 30px;
  background: var(--amber);
  color: var(--bg);
  border: none;
  cursor: pointer;
  display: inline-block;
  min-height: 44px;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--amber2); transform: translateY(-2px); }

.btn-teal {
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 15px 30px;
  background: var(--teal);
  color: var(--bg);
  border: none;
  cursor: pointer;
  display: inline-block;
  min-height: 44px;
  transition: background 0.2s, transform 0.2s;
}
.btn-teal:hover { background: var(--teal2); transform: translateY(-2px); }

.btn-ghost {
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 300;
  color: var(--text-mute);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
}
.btn-ghost::after { content: '→'; transition: transform 0.2s; }
.btn-ghost:hover { color: var(--text); }
.btn-ghost:hover::after { transform: translateX(4px); }

/* ══════════════════════════════════════════════
   NAV
   ══════════════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  background: rgba(6,14,20,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line-n);
  transition: background 0.3s;
}

.nav-logo {
  font-family: var(--fh);
  font-size: 19px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  gap: 9px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  font-family: var(--fb);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 9px 20px;
  background: var(--amber);
  color: var(--bg);
  border: none;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--amber2); transform: translateY(-1px); }

/* hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 80px 40px 40px;
}
.mobile-menu.open { display: flex; }

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}
.mobile-menu ul a {
  font-family: var(--fh);
  font-size: clamp(26px, 7vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-mute);
  transition: color 0.2s;
  display: block;
  text-align: center;
  min-height: 44px;
  line-height: 44px;
}
.mobile-menu ul a:hover { color: var(--text); }
.mobile-menu .btn-primary { font-size: 14px; padding: 16px 40px; }

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px var(--pad) 100px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 65% 45%, black 10%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 65% 45%, black 10%, transparent 100%);
}

.hero-glow {
  position: absolute; top: -80px; right: -100px;
  width: 600px; height: 500px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse, rgba(0,194,160,0.09) 0%, transparent 65%);
}
.hero-glow2 {
  position: absolute; bottom: -100px; left: -80px;
  width: 400px; height: 400px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse, rgba(232,146,42,0.06) 0%, transparent 65%);
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-eyebrow {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  width: 18px; height: 1px;
  background: var(--teal);
  display: inline-block;
  flex-shrink: 0;
}

.hero-sub-head {
  font-family: var(--fh);
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--teal);
  margin-bottom: 24px;
  max-width: 680px;
  line-height: 1.4;
  opacity: 0.85;
}

.hero-body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-soft);
  max-width: 520px;
  margin-bottom: 44px;
}

/* ══════════════════════════════════════════════
   STATS
   ══════════════════════════════════════════════ */
#stats {
  background: var(--bg2);
  border-top: 1px solid var(--line-n);
  border-bottom: 1px solid var(--line-n);
  padding: 34px var(--pad);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max-w);
  margin: 0 auto;
}

.stat {
  text-align: center;
  padding: 12px 16px;
  position: relative;
}
.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 8%; bottom: 8%;
  width: 1px;
  background: var(--line-n);
}

.stat-n {
  font-family: var(--fh);
  font-size: 34px;
  font-weight: 900;
  color: var(--teal);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-l {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* ══════════════════════════════════════════════
   O PROBLEMA
   ══════════════════════════════════════════════ */
#problema { background: var(--bg); padding: 130px var(--pad); }

.prob-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
}

.callout {
  margin-top: 36px;
  padding: 24px 28px;
  background: var(--bg2);
  border-left: 2px solid var(--amber);
}
.callout-n {
  font-family: var(--fh);
  font-size: 32px;
  font-weight: 900;
  color: var(--amber);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.callout-t {
  font-family: var(--fm);
  font-size: 11px;
  color: var(--text-mute);
  line-height: 1.65;
}

.prob-cta { margin-top: 36px; }

/* ══════════════════════════════════════════════
   TICKER
   ══════════════════════════════════════════════ */
#ticker {
  background: var(--bg3);
  border-top: 1px solid var(--line-n);
  border-bottom: 1px solid var(--line-n);
  padding: 22px 0;
  overflow: hidden;
}

.ticker-intro {
  text-align: center;
  padding: 0 var(--pad) 20px;
  font-size: 14px;
  font-weight: 300;
  color: var(--text-soft);
  max-width: 680px;
  margin: 0 auto;
}
.ticker-intro strong { color: var(--text); font-weight: 500; }

.ticker-overflow { overflow: hidden; }

.ticker-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker 32s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 10px 40px;
  font-family: var(--fm);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  white-space: nowrap;
}
.ticker-item::after {
  content: '·';
  color: var(--teal);
  font-size: 18px;
  opacity: 0.5;
}

/* ══════════════════════════════════════════════
   SOLUÇÕES — 3 PILARES
   ══════════════════════════════════════════════ */
#solucoes {
  background: var(--bg2);
  padding: 120px var(--pad);
  border-top: 1px solid var(--line-n);
}

.sol-hd {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  max-width: var(--max-w);
  margin: 0 auto 72px;
}
.sol-sub {
  font-size: 14px;
  color: var(--text-mute);
  font-weight: 300;
  line-height: 1.75;
  align-self: end;
}

.pilares {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.pilar {
  background: var(--bg);
  padding: 36px 32px;
  border-top: 2px solid transparent;
  transition: border-color 0.3s, transform 0.3s;
}
.pilar:hover { transform: translateY(-3px); border-top-color: var(--teal); }

.pilar-num {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-mute);
  margin-bottom: 18px;
}
.pilar-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.pilar-sub {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  opacity: 0.7;
}
.pilar-items {
  list-style: none;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pilar-items li {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-mute);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pilar-items li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.5;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   TOP 3 PRODUTOS
   ══════════════════════════════════════════════ */
#produtos {
  background: var(--bg);
  padding: 120px var(--pad);
  border-top: 1px solid var(--line-n);
}

.prod-hd { max-width: var(--max-w); margin: 0 auto 60px; }

.prod-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.prod-card {
  padding: 40px 34px;
  position: relative;
  transition: transform 0.3s;
  cursor: default;
  border-top: 2px solid transparent;
}
.prod-card:hover { transform: translateY(-4px); }

.prod-card.sync  { background: var(--bg2); border-top-color: var(--teal); }
.prod-card.stage { background: var(--surface); border-top-color: rgba(255,255,255,0.08); }
.prod-card.stage:hover { border-top-color: var(--text-mute); }
.prod-card.traction { background: var(--bg2); border-top-color: var(--amber); }

.prod-kicker {
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid;
  opacity: 0.8;
}
.sync .prod-kicker    { color: var(--teal);      border-color: var(--teal); }
.stage .prod-kicker   { color: var(--text-mute); border-color: var(--text-mute); }
.traction .prod-kicker{ color: var(--amber);     border-color: var(--amber); }

.prod-title {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.prod-subtitle {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.7;
}
.sync .prod-subtitle     { color: var(--teal); }
.stage .prod-subtitle    { color: var(--text-mute); }
.traction .prod-subtitle { color: var(--amber); }

.prod-body {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-mute);
  line-height: 1.78;
}
.prod-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line-n);
  font-family: var(--fm);
  font-size: 11px;
  color: var(--text-mute);
  opacity: 0.5;
  letter-spacing: 0.06em;
}

.prod-cta-wrap {
  margin-top: 56px;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.prod-disclaimer {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-mute);
  opacity: 0.6;
  text-align: center;
}

/* ══════════════════════════════════════════════
   SYNC DESTAQUE
   ══════════════════════════════════════════════ */
#sync-destaque {
  background: var(--bg3);
  border-top: 1px solid var(--line-n);
  padding: 130px var(--pad);
  position: relative;
  overflow: hidden;
}

.sync-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 500px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse, rgba(0,194,160,0.06) 0%, transparent 65%);
}

.sync-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}

.sync-body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.82;
  color: var(--text-soft);
  margin-bottom: 18px;
}
.sync-body strong { color: var(--text); font-weight: 500; }
.sync-body em { font-style: italic; color: var(--teal); opacity: 0.85; }

.sync-cta-note {
  margin-top: 12px;
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-mute);
}

/* mockup */
.mockup {
  background: #040B10;
  border-radius: 3px;
  padding: 24px;
  border: 1px solid rgba(0,194,160,0.1);
  box-shadow: 0 28px 72px rgba(0,0,0,0.4);
}
.mock-hdr {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mock-dot { width: 9px; height: 9px; border-radius: 50%; }
.mock-dot:nth-child(1) { background: #FF5F57; }
.mock-dot:nth-child(2) { background: #FEBC2E; }
.mock-dot:nth-child(3) { background: #28C840; }
.mock-tag {
  margin-left: auto;
  font-family: var(--fm);
  font-size: 10px;
  color: rgba(255,255,255,0.2);
}
.mock-q {
  font-family: var(--fm);
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
  padding: 9px 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
}
.mock-resp {
  font-size: 13px;
  color: rgba(232,240,238,0.6);
  line-height: 1.78;
  font-weight: 300;
}
.mock-hl {
  color: var(--teal);
  border-bottom: 1px solid rgba(0,194,160,0.4);
}
.mock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 5px 10px;
  background: var(--teal-dim);
  border: 1px solid rgba(0,194,160,0.15);
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--teal);
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════
   COMO FUNCIONA
   ══════════════════════════════════════════════ */
#processo {
  background: var(--bg);
  padding: 120px var(--pad);
  border-top: 1px solid var(--line-n);
}

.proc-hd {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 64px;
}
.proc-hd .sec-tag { justify-content: center; }
.proc-hd .sec-tag::before { display: none; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.step { background: var(--bg2); padding: 34px 28px; }

.step-n {
  font-family: var(--fm);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--teal);
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-n::after { content: ''; flex: 1; height: 1px; background: var(--line-n); }
.step-n.amber { color: var(--amber); }

.step-title {
  font-size: 17px;
  margin-bottom: 10px;
}
.step-body {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-mute);
  line-height: 1.75;
}

/* ══════════════════════════════════════════════
   SOBRE NÓS
   ══════════════════════════════════════════════ */
#sobre {
  background: var(--bg2);
  padding: 130px var(--pad);
  border-top: 1px solid var(--line-n);
}

.sobre-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
}

.sobre-card {
  background: var(--bg);
  padding: 36px;
  border: 1px solid var(--line-n);
}
.sobre-card-title {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 22px;
}
.dif-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dif-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  font-weight: 300;
  color: var(--text-soft);
  line-height: 1.6;
}
.dif-list li::before {
  content: '✦';
  color: var(--teal);
  font-size: 9px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ── PHOTO CAROUSEL ── */
.photo-carousel {
  margin-top: 32px;
  position: relative;
}

.carousel-track-wrap {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 3px;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  cursor: grab;
}
.carousel-track:active { cursor: grabbing; }
.carousel-track::-webkit-scrollbar { display: none; }

.carousel-slide {
  flex: 0 0 calc(66.666% - 2px);
  scroll-snap-align: start;
  aspect-ratio: 16/9;
  background: var(--surface);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.carousel-slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-slide.portrait {
  flex: 0 0 calc(33.333% - 2px);
  aspect-ratio: 3/4;
}

/* image caption/label overlay */
.carousel-slide span {
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  text-transform: uppercase;
  opacity: 0.75;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 12px;
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
}

/* nav buttons */
.carousel-nav {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 12px;
}
.carousel-btn {
  width: 36px; height: 36px;
  background: var(--surface2);
  border: 1px solid var(--line-n);
  color: var(--text-mute);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
  padding: 0;
  line-height: 1;
}
.carousel-btn:hover { background: var(--surface); color: var(--text); }
.carousel-btn:disabled { opacity: 0.25; cursor: default; }

/* dots */
.carousel-dots {
  display: flex;
  gap: 6px;
  align-items: center;
  flex: 1;
}
.carousel-dot {
  width: 20px; height: 2px;
  background: var(--line-n);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, width 0.25s;
}
.carousel-dot.active {
  background: var(--teal);
  width: 32px;
}

@media (max-width: 768px) {
  .carousel-slide { flex: 0 0 85%; }
  .carousel-slide.portrait { flex: 0 0 55%; }
}

.bhag-box {
  margin-top: 28px;
  padding: 28px 32px;
  background: var(--bg);
  border: 1px solid var(--line-n);
  border-left: 2px solid var(--amber);
}
.bhag-label {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}
.bhag-text {
  font-family: var(--fh);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}

/* ══════════════════════════════════════════════
   DEPOIMENTOS
   ══════════════════════════════════════════════ */
#depoimentos {
  background: var(--bg);
  padding: 120px var(--pad);
  border-top: 1px solid var(--line-n);
}

.dep-hd { max-width: var(--max-w); margin: 0 auto 56px; }

.dep-headline {
  font-family: var(--fh);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.1;
}
.dep-headline em { font-style: normal; color: var(--amber); }

.dep-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.stars { font-size: 18px; letter-spacing: 2px; color: var(--amber); }
.rating-text {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  text-transform: uppercase;
}

.google-card {
  max-width: var(--max-w);
  margin: 0 auto 48px;
  background: var(--bg2);
  border: 1px solid var(--line-n);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.google-map-placeholder {
  width: 380px; height: 220px;
  background: var(--surface);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.google-map-placeholder span {
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  text-transform: uppercase;
  opacity: 0.4;
}
.google-info { flex: 1; }
.google-name {
  font-family: var(--fh);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.google-sub {
  font-size: 12px;
  color: var(--text-mute);
  font-weight: 300;
  margin-bottom: 10px;
}
.google-stars { font-size: 16px; color: var(--amber); letter-spacing: 2px; }
.google-count {
  font-family: var(--fm);
  font-size: 11px;
  color: var(--text-mute);
  margin-left: 8px;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: var(--max-w);
  margin: 0 auto 48px;
}
.video-card {
  background: var(--bg2);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}
.video-card:hover { transform: scale(1.01); }
.video-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg3) 100%);
}
.play-btn {
  position: relative; z-index: 1;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(0,194,160,0.15);
  border: 1px solid rgba(0,194,160,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.video-card:hover .play-btn { background: rgba(0,194,160,0.25); }
.play-icon {
  width: 0; height: 0;
  border-style: solid;
  margin-left: 3px;
  border-width: 9px 0 9px 16px;
  border-color: transparent transparent transparent var(--teal);
}
.video-label {
  position: absolute;
  bottom: 14px; left: 14px; right: 14px;
  z-index: 1;
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  text-transform: uppercase;
}

.dep-cta { text-align: center; max-width: var(--max-w); margin: 0 auto; }

/* ══════════════════════════════════════════════
   CTA FINAL
   ══════════════════════════════════════════════ */
#cta-final {
  background: var(--bg2);
  padding: 150px var(--pad);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-n);
}
.cta-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 420px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse, rgba(232,146,42,0.07) 0%, transparent 65%);
}
.cta-final-tag {
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
}
.cta-final-tag::before { display: none; }
.cta-h2 {
  max-width: 600px;
  margin: 0 auto 18px;
  position: relative;
}
.cta-sub {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-soft);
  max-width: 520px;
  margin: 0 auto 44px;
  position: relative;
}
.cta-note {
  margin-top: 14px;
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  position: relative;
}

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
footer.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line-n);
  padding: 56px var(--pad) 36px;
}
.foot-in {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 80px;
  max-width: var(--max-w);
  margin: 0 auto 48px;
}
.foot-logo {
  font-family: var(--fh);
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  gap: 9px;
}
.foot-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-mute);
  line-height: 1.75;
  margin-top: 18px;
  max-width: 260px;
}
.foot-col-title {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  opacity: 0.4;
  margin-bottom: 18px;
}
.foot-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-links a {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-mute);
  transition: color 0.2s;
}
.foot-links a:hover { color: var(--text); }

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--line-n);
  max-width: var(--max-w);
  margin: 0 auto;
}
.foot-copy {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--text-mute);
  opacity: 0.3;
}
.foot-social { display: flex; gap: 20px; }
.foot-social a {
  font-family: var(--fm);
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 0.08em;
  transition: color 0.2s;
}
.foot-social a:hover { color: var(--text); }

/* ══════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade { opacity: 0; animation: fadeUp 0.65s ease forwards; }
.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.16s; }
.d3 { animation-delay: 0.28s; }
.d4 { animation-delay: 0.42s; }

/* scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* staggered children */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ══════════════════════════════════════════════
   RESPONSIVE — TABLET  (≤ 1024px)
   ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --pad: 36px; }

  .sol-hd { grid-template-columns: 1fr; gap: 24px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .sobre-in { gap: 60px; }
  .foot-in { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — MOBILE  (≤ 768px)
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --pad: 24px; }

  /* ── nav ── */
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  /* ── hero ── */
  #hero { padding: 120px var(--pad) 80px; }
  .hero-body { max-width: 100%; }

  /* ── stats 2×2 ── */
  #stats { padding: 28px var(--pad); }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2)::after,
  .stat:nth-child(3)::after { display: none; }

  /* ── problema ── */
  #problema { padding: 80px var(--pad); }
  .prob-in { grid-template-columns: 1fr; gap: 48px; }

  /* ── pilares ── */
  #solucoes { padding: 80px var(--pad); }
  .pilares { grid-template-columns: 1fr; }

  /* ── produtos ── */
  #produtos { padding: 80px var(--pad); }
  .prod-cards { grid-template-columns: 1fr; }

  /* ── sync ── */
  #sync-destaque { padding: 80px var(--pad); }
  .sync-in { grid-template-columns: 1fr; gap: 48px; }

  /* ── processo ── */
  #processo { padding: 80px var(--pad); }
  .steps { grid-template-columns: 1fr 1fr; gap: 2px; }

  /* ── sobre ── */
  #sobre { padding: 80px var(--pad); }
  .sobre-in { grid-template-columns: 1fr; gap: 48px; }

  /* ── depoimentos ── */
  #depoimentos { padding: 80px var(--pad); }
  .google-card { flex-direction: column; align-items: flex-start; }
  .google-map-placeholder { width: 100%; max-width: 100%; }
  .videos-grid { grid-template-columns: 1fr; }

  /* ── cta ── */
  #cta-final { padding: 100px var(--pad); }

  /* ── footer ── */
  footer.site-footer { padding: 48px var(--pad) 28px; }
  .foot-in { grid-template-columns: 1fr; gap: 40px; }
  .foot-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .foot-social { justify-content: center; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE  (≤ 480px)
   ══════════════════════════════════════════════ */
@media (max-width: 480px) {
  :root { --pad: 20px; }

  .steps { grid-template-columns: 1fr; }
  .ticker-track { animation-duration: 22s; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-placeholder.wide { grid-column: span 1; aspect-ratio: 16/9; }
}

/* ══════════════════════════════════════════════
   PÁGINAS LEGAIS
   ══════════════════════════════════════════════ */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 120px var(--pad) 100px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 48px;
  transition: color 0.2s;
}
.legal-back:hover { color: var(--teal); }
.legal-back svg { width: 12px; height: 12px; flex-shrink: 0; }

.legal-tag {
  display: inline-block;
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(0,194,160,0.25);
  padding: 4px 10px;
  margin-bottom: 20px;
}

.legal-page h1 {
  font-family: var(--fh);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 10px;
  max-width: none;
}

.legal-date {
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--text-mute);
  margin-bottom: 56px;
}

.legal-body { display: flex; flex-direction: column; gap: 40px; }

.legal-section h2 {
  font-family: var(--fh);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-n);
}

.legal-section p {
  font-family: var(--fb);
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 10px;
}
.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0;
}
.legal-section ul li {
  font-family: var(--fb);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-soft);
  padding-left: 16px;
  position: relative;
}
.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.6;
}

.legal-note {
  background: var(--bg2);
  border-left: 2px solid var(--teal);
  padding: 14px 18px;
  margin-top: 12px;
  font-family: var(--fb);
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-mute);
}

.legal-contact {
  background: var(--surface);
  border: 1px solid var(--line-n);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-contact span {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-soft);
}
.legal-contact strong {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
}

@media (max-width: 768px) {
  .legal-page { padding-top: 96px; }
}
