:root {
  --green: #2f7a3d;
  --green-dark: #245e30;
  --ink: #14171a;
  --ink-soft: #4a5158;
  --bg: #f5f6f5;
  --bg-alt: #ebeeeb;
  --bg-dark: #14171a;
  --bg-dark-soft: #1e2226;
  --border: #e4e8e4;
  --radius: 14px;
  --max: 1140px;
  font-size: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 16px; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; margin-bottom: 8px; }
p { margin: 0 0 12px; color: var(--ink-soft); }

a { color: inherit; text-decoration: none; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.eyebrow-light { color: #8fd39c; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo-link { display: flex; flex-direction: column; gap: 2px; }
.logo-img { height: 34px; width: auto; }
.logo-tagline {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}
.main-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  transition: color .15s;
}
.main-nav a:hover { color: var(--green); }
.header-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 8px;
}
.nav-toggle span {
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .15s, box-shadow .15s, background .15s;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(47,122,61,0.6);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.section .btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-small { padding: 9px 18px; font-size: 0.85rem; }
.btn-full { width: 100%; padding: 14px; }

/* Hero */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: #fff;
  overflow: hidden;
}
.hero-bg-photo {
  position: absolute;
  inset: -20px;
  background-image: url('assets/macbook-hero.jpg');
  background-size: cover;
  background-position: center 42%;
  animation: heroPan 22s ease-in-out infinite alternate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(14,17,16,0.96) 0%, rgba(14,17,16,0.82) 32%, rgba(14,17,16,0.55) 58%, rgba(14,17,16,0.8) 100%),
    radial-gradient(600px circle at 85% 15%, rgba(47,122,61,0.3), transparent 60%),
    radial-gradient(500px circle at 10% 95%, rgba(47,122,61,0.22), transparent 55%);
}
@keyframes heroPan {
  0% { transform: scale(1.06) translate(0, 0); }
  100% { transform: scale(1.14) translate(-1.5%, -1%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg-photo { animation: none; }
}
.hero-inner {
  position: relative;
  padding: 120px 24px 140px;
}
.hero-copy { max-width: 640px; }
.hero-sub {
  color: #c7cdd2;
  font-size: 1.1rem;
  max-width: 56ch;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Trust strip */
.trust-strip {
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 18px 24px;
  justify-content: center;
}
.trust-strip-inner span {
  font-size: 0.82rem;
  font-weight: 600;
  color: #c7cdd2;
  white-space: nowrap;
}

.section-lead {
  font-size: 1.05rem;
  max-width: 56ch;
  margin-bottom: 8px;
}

/* Device grid */
.devices-section { padding-top: 76px; }
.device-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.device-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.device-card:hover {
  transform: translateY(-3px);
  border-color: var(--green);
  box-shadow: 0 14px 30px -18px rgba(47,122,61,0.5);
}
.device-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(47,122,61,0.1);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.device-icon svg { width: 24px; height: 24px; }
.device-card p { font-size: 0.88rem; margin: 0 0 14px; }
.device-cta { font-size: 0.85rem; font-weight: 700; color: var(--green-dark); }

.cards-grid.cards-grid-2 { grid-template-columns: repeat(2, 1fr); margin-top: 0; }

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.testimonial-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  background: #fff;
}
.testimonial-card .stars { color: #f0a83c; letter-spacing: 2px; margin-bottom: 10px; }
.testimonial-card p { font-style: italic; margin-bottom: 14px; font-size: 0.94rem; }
.testimonial-name { font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.testimonial-name small { display: block; font-weight: 500; color: var(--ink-soft); font-size: 0.78rem; margin-top: 2px; }
.testimonial-more {
  display: inline-block;
  margin-top: 24px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green-dark);
}
.testimonial-more:hover { text-decoration: underline; }

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}

/* Also fazemos */
.more-services-section { padding-top: 56px; padding-bottom: 56px; }
.more-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 28px;
}
.more-services-grid h4 {
  font-size: 0.95rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.more-services-grid ul { list-style: none; margin: 0; padding: 0; }
.more-services-grid li {
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}

/* Landmark parallax */
.section-dark.landmark-parallax {
  position: relative;
  background-color: transparent;
  background-image: url('assets/teatro-amazonas-photo.jpg');
  background-repeat: no-repeat;
  background-position: center 30%;
  background-size: cover;
  background-attachment: fixed;
}
.landmark-parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,18,15,0.94) 0%, rgba(15,25,18,0.86) 45%, rgba(20,35,22,0.72) 100%);
}
.landmark-credit {
  position: absolute;
  right: 12px;
  bottom: 8px;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.35);
  z-index: 1;
}
.landmark-credit a { color: inherit; text-decoration: underline; }
.landmark-parallax > * { position: relative; z-index: 1; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-dark p { color: #c7cdd2; }
.section-dark h2 { color: #fff; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.about-badge {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-badge img { max-width: 260px; }

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(47,122,61,0.1);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 22px; height: 22px; }
.card p { font-size: 0.92rem; margin: 0; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 36px;
}
.service-group {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.service-group h3 { color: var(--green-dark); }
.service-group ul { margin: 0; padding-left: 0; list-style: none; }
.service-group li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 11px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.service-group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--green);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-lead { font-size: 1.05rem; }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 22px; }
.contact-list li strong { display: block; color: #fff; margin-bottom: 4px; font-size: 0.95rem; }
.contact-list li { color: #c7cdd2; font-size: 0.95rem; }
.contact-list li a { color: #8fd39c; font-weight: 600; }
.contact-list li a:hover { text-decoration: underline; }

.contact-form {
  background: var(--bg-dark-soft);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #c7cdd2;
  margin-top: 12px;
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
}
.contact-form button { margin-top: 20px; }

/* Footer */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-logo { height: 24px; opacity: 0.85; }
.footer-inner p { margin: 0; color: #8a9098; font-size: 0.85rem; }

/* WhatsApp floating button */
.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -6px rgba(0,0,0,0.35);
  z-index: 60;
}
.whatsapp-fab svg { width: 28px; height: 28px; }

/* Responsive */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-badge { order: -1; padding: 32px; }
  .cards-grid, .cards-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 96px 24px 100px; }
  .device-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid, .steps-grid, .more-services-grid { grid-template-columns: 1fr; }
  .section-dark.landmark-parallax { background-attachment: scroll; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px 20px;
    gap: 16px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .hero-inner { padding: 72px 24px 80px; }
  .section { padding: 64px 0; }
  .cards-grid, .cards-grid.cards-grid-2, .device-grid { grid-template-columns: 1fr; }
}
