/* ============================================
   4AGRO — Design Tokens
   Paleta provisória: substitua as variáveis
   abaixo pelas cores oficiais da marca.
   ============================================ */
:root {
  --color-bg: #ffffff;
  --color-bg-soft: #f8faf9;
  --color-bg-dark: #064d36;
  --color-bg-darker: #043826;

  --color-text: #0a1f16;
  --color-text-soft: #4c5b54;
  --color-text-on-dark: #ffffff;
  --color-text-on-dark-soft: #c3ddd2;

  --color-accent: #00ea80;
  --color-accent-dark: #00c26a;
  --color-accent-light: #5cf0ac;

  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 22px;

  --font-display: 'Roboto', sans-serif;
  --font-body: 'Roboto', sans-serif;

  --container-width: 1240px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

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

.text-accent { color: var(--color-accent); font-weight: 700; }

.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}
.section-eyebrow--light { color: var(--color-accent-light); }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.14;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: var(--color-text);
}
.section-title--light { color: var(--color-text-on-dark); }

.section-intro {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text-muted, #5b6157);
  margin-top: -8px;
  margin-bottom: 40px;
}
.section-intro--light {
  color: var(--color-text-on-dark-muted, rgba(255,255,255,.7));
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.25s var(--ease), background 0.25s, opacity 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-accent);
  color: #fff;
}
.btn--primary:hover { background: var(--color-accent-dark); transform: translateY(-2px); }
.btn--ghost {
  border: 1.5px solid rgba(0,0,0,0.15);
  color: var(--color-text);
}
.btn--ghost:hover { border-color: var(--color-text); transform: translateY(-2px); }
.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn--sm { padding: 10px 22px; font-size: 14px; }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo__img { height: 34px; }
.logo__fallback {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  color: var(--color-text);
}
.site-header:not(.scrolled) .logo__fallback { color: #fff; }
.logo__fallback--light { color: var(--color-text-on-dark); }

.primary-nav ul {
  display: flex;
  gap: 36px;
}
.primary-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-text);
  position: relative;
  padding-bottom: 4px;
}
.site-header:not(.scrolled) .primary-nav a { color: #fff; }
.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--color-accent);
  transition: width 0.3s var(--ease);
}
.site-header:not(.scrolled) .primary-nav a::after { background: #fff; }
.primary-nav a:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 18px; }
.site-header:not(.scrolled) .btn--primary { background: rgba(255,255,255,0.15); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.3); }
.site-header:not(.scrolled) .btn--primary:hover { background: rgba(255,255,255,0.28); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}
.hamburger span {
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: background 0.3s;
}
.site-header:not(.scrolled) .hamburger span { background: #fff; }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-bg-dark);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 28px; text-align: center; }
.mobile-menu a { font-family: var(--font-display); font-size: 28px; color: var(--color-text-on-dark); }

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg-dark);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,77,54,0.55) 0%, rgba(6,77,54,0.38) 45%, rgba(4,56,38,0.72) 100%);
}
.hero__content { position: relative; z-index: 1; max-width: 760px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 22px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5.5vw, 68px);
  line-height: 1.1;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 24px;
}
.hero__subtitle {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: 40px;
}
.hero__cta { display: flex; gap: 16px; }
.hero .btn--ghost { border-color: rgba(255,255,255,0.35); color: #fff; }
.hero .btn--ghost:hover { border-color: #fff; }

.hero__scroll-cue {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 26px; height: 42px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 20px;
}
.hero__scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 4px;
  background: #fff;
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scrollCue 1.8s infinite;
}
@keyframes scrollCue {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 22px; }
  100% { opacity: 0; top: 22px; }
}

/* Reveal-on-load animation */
.reveal { opacity: 0; transform: translateY(24px); animation: revealUp 0.9s var(--ease) forwards; }
.reveal--delay-1 { animation-delay: 0.15s; }
.reveal--delay-2 { animation-delay: 0.3s; }
.reveal--delay-3 { animation-delay: 0.45s; }
@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }

/* Scroll-triggered reveal (used across sections) */
.js-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js-in.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================
   Solutions (auto-tabs)
   ============================================ */
.solutions { padding: 140px 0; background: var(--color-bg); }
.solutions .section-title { max-width: 640px; }

.tabs { margin-top: 64px; }
.tabs__menu {
  display: flex;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.tabs__tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 16px 22px;
  color: var(--color-text-soft);
  transition: color 0.3s;
}
.tabs__tab-icon {
  width: 26px; height: 26px;
  opacity: 0.35;
  transition: opacity 0.3s, color 0.3s;
}
.tabs__tab-icon svg, .tabs__tab-icon img { width: 100%; height: 100%; object-fit: contain; }
.tabs__tab.active .tabs__tab-icon { opacity: 1; color: var(--color-accent); }
.tabs__tab-name {
  font-size: 16px;
  font-weight: 600;
  color: rgba(0,0,0,0.35);
  transition: color 0.3s;
}
.tabs__tab.active .tabs__tab-name { color: var(--color-text); }

.tabs__track {
  position: relative;
  height: 2px;
  background: rgba(0,0,0,0.08);
  margin-top: -1px;
  margin-bottom: 56px;
}
.tabs__track-fill {
  position: absolute;
  top: -1px; left: 0;
  height: 4px;
  width: 0%;
  background: var(--color-accent);
  border-radius: 4px;
  will-change: width;
}
.tabs__track-dot {
  position: absolute;
  top: 50%; transform: translate(-50%,-50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(0,0,0,0.12);
}

.tabs__pane { display: none; }
.tabs__pane.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  animation: paneFade 0.5s var(--ease);
}
@keyframes paneFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.tabs__pane-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.tabs__heading {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}
.tabs__summary {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--color-text-soft);
  margin-bottom: 28px;
}
.tabs__checks { display: flex; flex-direction: column; gap: 14px; }
.tabs__checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; color: var(--color-text-soft); }
.tabs__cta { margin-top: 32px; }
.check-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  margin-top: 1px;
}
.tabs__media {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-bg-soft);
}
.tabs__media img, .tabs__media video, .tabs__video { width: 100%; height: 100%; object-fit: cover; }
/* The pasture photo is a plain (non-cropped) source image — show it whole rather than covering the box */
.tabs__media img { object-fit: contain; }

/* ============================================
   Showcase — "O que fazemos pela sua propriedade"
   Own tab selector (text-only, no icons/dots): each tab carries its own
   underline that only shows while that tab is .active, rather than a single
   bar that slides/fills across both — so switching to "Gestão de Gado"
   fully clears the "Inventário" underline instead of leaving it filled.
   The device artwork is a single pre-composed tablet+phone image
   (assets/images/app-*-devices.png, transparent background) weighted much
   heavier than the text column, per the reference layout.
   ============================================ */
.showcase { padding: 140px 0; background: var(--color-bg-soft); }
.showcase__header { margin-bottom: 56px; }
.showcase .section-title { max-width: 640px; }

.showcase__tabs {
  display: flex;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 56px;
}
.showcase__tab {
  flex: 1;
  position: relative;
  padding: 0 16px 22px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: rgba(0,0,0,0.35);
  transition: color 0.3s;
}
.showcase__tab::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  border-radius: 4px;
  background: var(--color-accent);
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 0.3s, transform 0.3s;
}
.showcase__tab.active { color: var(--color-text); }
.showcase__tab.active::after { opacity: 1; transform: scaleX(1); }

.showcase__pane { display: none; }
.showcase__pane.active {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr;
  gap: 56px;
  align-items: center;
  animation: paneFade 0.5s var(--ease);
}

.showcase__devices-wrap { position: relative; width: 100%; max-width: 860px; margin: 0 auto; }
.showcase__devices {
  position: relative;
  width: 100%;
  aspect-ratio: 1559 / 1069;
  min-height: 260px;
}
.showcase__devices-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.22));
}
.showcase__devices.media-placeholder { border-radius: var(--border-radius-lg); }

/* Floating stat badges (.showcase__stats) are currently unused in the
   markup — removed from the page for now per request, but the component
   stays here ready to drop back in later. */
.showcase__stats { position: absolute; inset: 0; pointer-events: none; }
.showcase__stat {
  position: absolute;
  pointer-events: auto;
  min-width: 168px;
  border-radius: var(--border-radius-md);
  padding: 20px 22px;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,0.25);
}
.showcase__stat-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 8px;
}
.showcase__stat-label { display: block; font-size: 13px; line-height: 1.4; }
.showcase__stat--accent {
  left: 6%; bottom: 6%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
}
.showcase__stat--dark {
  right: 2%; bottom: -8%;
  background: var(--color-bg-darker);
  color: #fff;
}
.showcase__stat--dark .showcase__stat-label { color: rgba(255,255,255,0.7); }

/* ============================================
   Unlocks carousel
   ============================================ */
.unlocks { padding: 140px 0; background: var(--color-bg-dark); overflow: hidden; }
.unlocks__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
}
.unlocks .section-title { max-width: 560px; margin-bottom: 0; }
.unlocks__arrows { display: flex; gap: 12px; }
.carousel-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, border-color 0.25s;
}
.carousel-arrow:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.unlocks__track-wrap {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.unlocks__track-wrap::-webkit-scrollbar { display: none; }
.unlocks__track {
  display: flex;
  gap: 24px;
}
.unlock-card {
  position: relative;
  flex: 0 0 calc((100% - 48px) / 3);
  aspect-ratio: 1/1;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: var(--color-bg-soft);
  scroll-snap-align: start;
}
.unlock-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.unlock-card:hover img { transform: scale(1.04); }
.unlock-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.75) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px;
}
.unlock-card__overlay h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 25px;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 10px;
}
.unlock-card__desc {
  font-size: 14.5px;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s, opacity 0.3s, margin 0.3s;
}
.unlock-card:hover .unlock-card__desc { max-height: 100px; opacity: 1; margin-bottom: 14px; }
.unlock-card__btn {
  align-self: flex-start;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 9px 18px;
  border-radius: 999px;
}

/* ============================================
   How it works — "peek" tablet carousel
   One large centered slide with the neighboring slides cropped at the
   section edges (breaks out of .container on purpose). The tab selector
   above it reuses the .showcase__tabs/.showcase__tab component. Text
   (step count / title / subtitle / description) lives as data-* attributes
   on each .hiw-slide and main.js copies it into the shared intro block
   whenever the centered slide changes — JS also drives the track's
   translateX so the active slide is always centered, rather than relying
   on native scroll-snap (simpler to keep the arrows, the click-to-select
   and the text sync perfectly in lockstep).
   ============================================ */
.how-it-works { padding: 120px 0 100px; background: var(--color-bg-soft); overflow: hidden; }
.how-it-works__intro { margin-bottom: 48px; }

.hiw-panes { position: relative; }
.hiw-pane { display: none; }
.hiw-pane.active { display: block; animation: paneFade 0.5s var(--ease); }

.hiw-pane__intro { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.hiw-pane__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.25;
  color: var(--color-text);
  margin-bottom: 10px;
}
.hiw-pane__subtitle {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-accent-dark);
  margin-bottom: 14px;
}
.hiw-pane__desc { font-size: 15.5px; line-height: 1.7; color: var(--color-text-soft); }

.hiw-carousel { position: relative; }
.hiw-carousel__viewport { overflow: hidden; }
.hiw-carousel__track {
  display: flex;
  align-items: center;
  gap: 28px;
  will-change: transform;
  /* transition is set inline by main.js: animated when moving between
     slides, instant ("none") for the silent loop-wrap jump — so it's left
     unset here rather than duplicated. */
}

/* The slide image already includes its own device frame/bezel (baked into
   the artwork), so the slide itself is just a sized box for that image —
   no extra CSS-drawn frame around it. */
.hiw-slide {
  flex-shrink: 0;
  width: clamp(220px, 52vw, 620px);
  aspect-ratio: 1452 / 1015;
  cursor: pointer;
  opacity: 0.3;
  transform: scale(0.82);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.hiw-slide.active { opacity: 1; transform: scale(1); cursor: default; }
.hiw-slide__still {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.hiw-slide.media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-lg);
  background: repeating-linear-gradient(135deg, rgba(0,0,0,0.04), rgba(0,0,0,0.04) 10px, rgba(0,0,0,0.06) 10px, rgba(0,0,0,0.06) 20px);
}
.hiw-slide.media-placeholder::after {
  content: 'Tela do app — assets/images/hiw-*.png';
  font-size: 13px;
  color: var(--color-text-soft);
  text-align: center;
  padding: 24px;
}

.hiw-carousel__arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 2;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-text);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.25);
  transition: background 0.25s, transform 0.25s;
}
.hiw-carousel__arrow svg { width: 20px; height: 20px; }
.hiw-carousel__arrow:hover { background: var(--color-bg-soft); }
.hiw-carousel__arrow--prev { left: 4%; }
.hiw-carousel__arrow--next { right: 4%; }

/* ============================================
   FAQ
   ============================================ */
.faq { padding: 140px 0; background: var(--color-bg); }
.faq__inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; }
.faq__intro-text { font-size: 15px; color: var(--color-text-soft); margin-top: 8px; }
.faq__intro-text a { color: var(--color-accent); font-weight: 600; text-decoration: underline; }

.faq-item { border-bottom: 1px solid rgba(0,0,0,0.08); }
.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text);
}
.faq-item__icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
}
.faq-item.active .faq-item__icon { transform: rotate(45deg); background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-item.active .faq-item__answer { max-height: 200px; }
.faq-item__answer p { padding-bottom: 26px; font-size: 15.5px; line-height: 1.7; color: var(--color-text-soft); max-width: 620px; }

/* ============================================
   Contact CTA
   ============================================ */
.contact-cta { padding: 140px 0; background: var(--color-bg-dark); text-align: center; }
.contact-cta__inner { display: flex; flex-direction: column; align-items: center; }
.contact-cta .section-eyebrow, .contact-cta .section-title { text-align: center; }
.contact-cta__text {
  font-size: 17px;
  color: var(--color-text-on-dark-soft);
  max-width: 480px;
  margin-bottom: 48px;
}
.contact-form { width: 100%; max-width: 620px; display: flex; flex-direction: column; gap: 14px; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
  resize: none;
  transition: border-color 0.3s, background 0.3s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.4); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-accent-light); background: rgba(255,255,255,0.08); }
.contact-form .btn { align-self: center; margin-top: 12px; }
.contact-form__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.contact-form__status { text-align: center; font-size: 14px; min-height: 20px; margin: 0; }
.contact-form__status--ok { color: var(--color-accent-light); }
.contact-form__status--error { color: #e28a8a; }

/* ============================================
   Footer
   ============================================ */
.site-footer { background: var(--color-bg-darker); color: var(--color-text-on-dark-soft); font-size: 14px; }
.footer__grid {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 90px 32px 64px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 56px;
}
.footer__brand img { height: 32px; margin-bottom: 22px; }
.footer__brand p { line-height: 1.7; max-width: 280px; margin-bottom: 28px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 38px; height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  transition: border-color 0.25s, color 0.25s;
}
.footer__social a:hover { border-color: var(--color-accent-light); color: var(--color-accent-light); }
.footer__col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 22px;
}
.footer__col ul li { margin-bottom: 13px; }
.footer__col ul li a:hover, .footer__col ul li p { color: rgba(255,255,255,0.75); }
.footer__col ul li a:hover { color: #fff; }
.footer__cta {
  display: inline-block;
  margin-top: 22px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
  padding: 12px 22px;
  border-radius: 999px;
}
.footer__cta:hover { background: var(--color-accent-dark); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.footer__bottom a:hover { color: #fff; }

/* ============================================
   Media placeholders (visible until real assets are added)
   ============================================ */
.media-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(135deg, rgba(0,0,0,0.04), rgba(0,0,0,0.04) 10px, rgba(0,0,0,0.06) 10px, rgba(0,0,0,0.06) 20px);
}
.media-placeholder::after {
  content: 'Substitua por imagem/vídeo em assets/';
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-text-soft);
  text-align: center;
  padding: 20px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .primary-nav { display: none; }
  .header__actions .btn { display: none; }
  .hamburger { display: flex; }
  .faq__inner { grid-template-columns: 1fr; gap: 40px; }
  .unlock-card { flex: 0 0 calc((100% - 24px) / 2); }
  .showcase__pane.active { grid-template-columns: 1fr; gap: 48px; }
  .showcase__devices-wrap { max-width: 520px; }
}

@media (max-width: 767px) {
  .container { padding: 0 20px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .solutions, .showcase, .unlocks, .how-it-works, .faq, .contact-cta { padding: 90px 0; }
  .showcase__pane.active { display: flex !important; flex-direction: column; gap: 32px; }
  .showcase__devices-wrap { max-width: 420px; margin: 0 auto; }
  .showcase__stats {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    pointer-events: auto;
  }
  .showcase__stat { position: static; min-width: 140px; }
  .tabs__menu { display: none; }
  .tabs__track { display: none; }
  .tabs__panes { display: flex; flex-direction: column; gap: 20px; }
  .tabs__pane {
    display: flex !important;
    flex-direction: column;
    background: #fff;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    overflow: hidden;
    opacity: 1;
    animation: none;
  }
  .tabs__pane .tabs__media { order: -1; border-radius: 0; aspect-ratio: 16/10; }
  .tabs__pane .tabs__content { padding: 24px; }
  .unlocks__header { flex-direction: column; align-items: flex-start; gap: 24px; }
  .unlock-card { flex: 0 0 82%; }
  .hiw-carousel__arrow { width: 44px; height: 44px; }
  .hiw-carousel__arrow svg { width: 16px; height: 16px; }
  .hiw-carousel__arrow--prev { left: 2%; }
  .hiw-carousel__arrow--next { right: 2%; }
  .hiw-pane__intro { padding: 0 12px; }
  .contact-form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
