/* Sistema de diseño above-fold — extraído de index.html para reuso en landings */

/* ── VARIABLES — LIGHT MODE ── */
:root {
  --bg:        #FFFFFF;
  --bg-2:      #F4F8F6;
  --surface:   #FFFFFF;
  --surface-2: #EAF2EE;
  --green:     #2A7A5C;
  --green-mid: #359970;
  --green-l:   #1E6B4F;
  --border:    rgba(0,0,0,.09);
  --border-2:  rgba(0,0,0,.04);
  --text:      #0D1F18;
  --muted:     #4A7A6A;
  --dim:       #6B9A8A;
  --amber:     #B86F20;
}

/* ── RESET ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
.skip-nav {
  position:absolute; top:-100%; left:16px; z-index:999;
  padding:8px 16px; background:var(--green); color:white;
  border-radius:0 0 8px 8px; font-size:13px; font-weight:600;
  text-decoration:none; transition:top .2s;
}
.skip-nav:focus { top:0; }
*:focus-visible { outline:2px solid var(--green-l); outline-offset:2px; border-radius:4px; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 56px; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 15px 30px; border-radius: 8px;
  background: var(--green); color: white;
  font-size: 15px; font-weight: 700; font-family: inherit;
  text-decoration: none; border: none; cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(78,122,107,.25);
}
.btn-primary .btn-sub { font-size: 11px; font-weight: 400; opacity: .9; letter-spacing: .2px; }
.btn-primary:hover { background: var(--green-mid); transform: translateY(-1px); box-shadow: 0 8px 36px rgba(78,122,107,.3); }
.btn-primary .arr { transition: transform .2s; display: inline-block; }
.btn-primary:hover .arr { transform: translateX(3px); }

.btn-ghost {
  font-size: 14px; font-weight: 500; color: var(--muted);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: color .2s;
}
.btn-ghost:hover { color: var(--text); }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 200;
  height: 64px; padding: 0 56px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.07);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.nav.hidden { transform: translateY(-100%); }
.nav-logo img { height: 32px; width: auto; display: block; }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a { font-size: 13.5px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-login { font-size: 13.5px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .2s; }
.nav-login:hover { color: var(--text); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 20px; border-radius: 7px;
  background: var(--green); color: white;
  font-size: 13.5px; font-weight: 600; text-decoration: none;
  transition: background .2s;
}
.nav-cta:hover { background: var(--green-mid); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 64px;
  padding: 120px 72px 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,80,40,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,80,40,.04) 1px, transparent 1px);
  background-size: 72px 72px; z-index: 0;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
}
.hero::after {
  content: ''; position: absolute;
  width: 800px; height: 600px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(42,122,92,.08) 0%, transparent 65%);
  top: 50%; left: 35%; transform: translate(-50%,-50%);
  z-index: 0; pointer-events: none;
}
.hero-left { position: relative; z-index: 1; }
.hero-right { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px 5px 8px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 50px; font-size: 12px; font-weight: 600; letter-spacing: .2px;
  color: var(--green-l); margin-bottom: 32px; width: fit-content;
}
.hero-eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green-l); position: relative; flex-shrink: 0;
}
.hero-eyebrow .pulse::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  background: rgba(114,176,154,.25);
  animation: pulse-ring 2s ease-in-out infinite;
}
@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0; }
}

.hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(40px, 4vw, 64px);
  line-height: 1.04; letter-spacing: -2.5px;
  color: var(--text); margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--green-l); }

.hero-sub {
  font-size: 16.5px; line-height: 1.7;
  color: var(--muted); max-width: 440px; margin-bottom: 44px;
}
.hero-sub strong { color: var(--text); font-weight: 500; }

.hero-cta-group { display: flex; align-items: center; gap: 20px; margin-bottom: 40px; }

.trust-row {
  display: flex; align-items: center; gap: 16px;
  padding-top: 32px; border-top: 1px solid var(--border-2);
}
.avatars { display: flex; }
.avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface-2); border: 2px solid var(--bg);
  margin-left: -7px; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--green-l);
}
.avatar:first-child { margin-left: 0; }
.trust-copy { font-size: 13px; color: var(--muted); line-height: 1.4; }
.trust-copy strong { color: var(--text); font-weight: 600; }
.trust-stars { color: #F4C95D; font-size: 11px; letter-spacing: 1.5px; margin-bottom: 2px; }
.trust-divider { width: 1px; height: 28px; background: var(--border); }
.trust-badge { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; text-align: center; justify-content: center; }

/* Browser frame */
.browser {
  background: #FFFFFF; border: 1px solid rgba(0,0,0,.1); border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 24px 60px rgba(0,0,0,.1);
}
.browser-bar {
  padding: 10px 16px; background: #F0F4F2;
  border-bottom: 1px solid rgba(0,0,0,.07);
  display: flex; align-items: center; gap: 12px;
}
.b-dots { display: flex; gap: 6px; }
.b-dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.b-dots i:nth-child(1) { background: #FF5F57; opacity: .7; }
.b-dots i:nth-child(2) { background: #FEBC2E; opacity: .7; }
.b-dots i:nth-child(3) { background: #28C840; opacity: .7; }
.b-url {
  flex: 1; background: rgba(0,0,0,.05); border: 1px solid rgba(0,0,0,.07);
  border-radius: 4px; padding: 4px 12px;
  font-size: 11px; color: #7A9E94; font-family: monospace; letter-spacing: .2px;
}
.browser img, .browser picture img { width: 100%; height: auto; display: block; }

/* Hero chips */
.hero-chip {
  position: absolute; background: #FFFFFF;
  border: 1px solid rgba(0,0,0,.1); border-radius: 10px;
  padding: 10px 14px; box-shadow: 0 12px 32px rgba(0,0,0,.1);
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
}
.chip-icon { width: 34px; height: 34px; border-radius: 8px; background: rgba(42,122,92,.1); display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.chip-text strong { display: block; font-size: 13.5px; font-weight: 700; }
.chip-text span { font-size: 11px; color: var(--muted); }

/* ── FADE-IN ANIMATION ── */
.fi { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.fi.visible { opacity: 1; transform: translateY(0); }
.fi-d1 { transition-delay: .08s; }
.fi-d2 { transition-delay: .16s; }
.fi-d3 { transition-delay: .24s; }
.fi-d4 { transition-delay: .32s; }

/* ── STICKY BAR ── */
.sticky-bar {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 300; white-space: nowrap;
  background: rgba(255,255,255,.96); border: 1px solid rgba(0,0,0,.1);
  border-radius: 50px; padding: 10px 10px 10px 24px;
  display: flex; align-items: center; gap: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  backdrop-filter: blur(20px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.sticky-bar.visible { opacity: 1; pointer-events: all; }
.sticky-bar p { font-size: 13.5px; color: #4A7A6A; }
.sticky-bar p strong { color: #0D1F18; }
.sticky-bar a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 22px; border-radius: 50px;
  background: var(--green); color: white;
  font-size: 13.5px; font-weight: 700; text-decoration: none;
  transition: background .2s;
}
.sticky-bar a:hover { background: var(--green-mid); }

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: #FFF; border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(0,0,0,.1);
  padding: 24px 32px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
  transform: translateY(100%); transition: transform .35s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { font-size: 14px; color: var(--muted); line-height: 1.5; flex: 1; margin: 0; }
.cookie-banner p a { color: var(--green); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; align-items: center; }
.cookie-btn-accept {
  padding: 12px 28px; border-radius: 8px; font-size: 14px; font-weight: 700;
  font-family: inherit; cursor: pointer; border: none;
  background: var(--green); color: #FFF;
  box-shadow: 0 4px 16px rgba(42,122,92,.3);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.cookie-btn-accept:hover { background: var(--green-mid); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(42,122,92,.35); }
.cookie-btn-prefs {
  padding: 8px 0; font-size: 12px; font-weight: 400;
  font-family: inherit; cursor: pointer; border: none; background: none;
  color: var(--dim); text-decoration: none;
  transition: color .2s;
}
.cookie-btn-prefs:hover { color: var(--muted); }

/* ══ RESPONSIVE ══════════════════════════════ */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .nav { padding: 0 24px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 12.5px; }

  .hero { grid-template-columns: 1fr; gap: 40px; padding: 100px 32px 60px; text-align: center; }
  .hero-left { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { max-width: 520px; margin-left: auto; margin-right: auto; }
  .hero-cta-group { justify-content: center; }
  .trust-row { justify-content: center; }
  .hero-right { max-width: 560px; margin: 0 auto; }
  .hero-chip { display: none; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav { padding: 0 20px; height: 56px; }
  .nav-links { display: none; }
  .nav-login { display: none; }
  .nav-cta { font-size: 12px; padding: 7px 16px; }

  .hero {
    grid-template-columns: 1fr !important;
    padding: 80px 20px 48px; gap: 32px; min-height: auto;
  }
  .hero h1 { font-size: 32px; letter-spacing: -1.5px; }
  .hero-sub { font-size: 15px; margin-bottom: 24px; }
  .hero-cta-group { flex-direction: column; gap: 12px; }
  .hero-cta-group .btn-primary { width: 100%; justify-content: center; box-sizing: border-box; }
  .hero-cta-group .btn-ghost { justify-content: center; }
  .trust-row { flex-wrap: wrap; justify-content: center; gap: 10px; }
  .trust-divider { display: none; }
  .hero-right { max-width: 100%; }
  .hero-chip {
    position: relative !important; top: auto !important; bottom: auto !important;
    left: auto !important; right: auto !important;
    display: inline-flex; margin-top: 12px; margin-right: 8px;
  }

  .sticky-bar { bottom: 16px; padding: 8px 8px 8px 18px; gap: 14px; border-radius: 40px; max-width: calc(100% - 32px); }
  .sticky-bar p { font-size: 12px; }
  .sticky-bar a { font-size: 12px; padding: 8px 18px; white-space: nowrap; }

  .browser img { max-width: 100%; height: auto; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav { padding: 0 16px; }
  .nav-logo img { height: 26px; }

  .hero { padding: 64px 16px 40px; }
  .hero h1 { font-size: 26px; letter-spacing: -1px; line-height: 1.1; margin-bottom: 16px; }
  .hero-sub { font-size: 14px; margin-bottom: 20px; }
  .hero-eyebrow { font-size: 11px; }
  .btn-primary { font-size: 14px; padding: 13px 24px; }
  .hero-chip { display: flex !important; width: 100%; margin-right: 0; }

  .sticky-bar p { display: none; }
  .sticky-bar { padding: 6px; gap: 0; max-width: calc(100% - 32px); }
  .sticky-bar a { font-size: 13px; padding: 10px 24px; border-radius: 50px; }
}

@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; padding: 16px 20px; gap: 12px; }
  .cookie-banner p { font-size: 13px; }
  .cookie-btns { width: 100%; justify-content: center; }
  .cookie-btn-accept { width: 100%; text-align: center; }
}
