/* ================================================================
   VECTOTRAIL — ARQUIVO DE ESTILOS
   1) TROCAR CORES: mude somente as variáveis em :root.
   2) TROCAR FOTOS FIXAS: mude --hero-image, --engineering-image e
      --video-image. Use: url('../images/nome-da-foto.jpg').
================================================================ */
:root {
  --fundosite: #3E6549;
  --green: #8dbb9a;
  --forest: #2a392d;
  --gold: #b18f35;
  --deep: #1c2b21;
  --white: #ffffff;
  --ink: #1f2020;
  --cream: #f3f1e9;
  --muted: #70776f;
  --max-width: 1160px;
  --hero-image: url('../images/hero-geoespacial.jpg');
  --engineering-image: url('../images/screen-cad.jpg');
  --video-image: url('../images/hero-map.jpg');
}

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

html {
  scroll-behavior: smooth
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--green);
  line-height: 1.65;
  overflow-x: hidden
}

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

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

button,
input,
textarea {
  font: inherit
}

.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin: auto
}

.section {
  padding: 105px 0
}

.narrow {
  width: min(790px, calc(100% - 40px));
  margin: auto;
  text-align: center
}

/* Fundos fixos: background-attachment:fixed produz o efeito solicitado. */
.hero,
.engineering-fixed,
.youtube-section {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed
}

.youtube-section {
  min-height: 700px;
  background-image: var(--video-image);
  color: var(--white);
  display: flex;
  align-items: center
}

.youtube-content {
  position: relative;
  z-index: 2
}

.youtube-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center
}

.youtube-heading h2 {
  color: var(--white);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  margin-top: 10px
}

.youtube-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  width: min(100%, 980px);
  margin: auto
}

.youtube-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .6);
  background: var(--deep);
  box-shadow: 0 24px 55px rgba(0, 0, 0, .35)
}

.youtube-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease, filter .45s ease
}

.youtube-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, .78));
  transition: background .35s ease
}

.youtube-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding-left: 4px;
  background: var(--gold);
  color: var(--white);
  font-size: 25px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .4);
  transition: transform .3s ease, background .3s ease
}

.youtube-card-label {
  position: absolute;
  z-index: 2;
  left: 22px;
  bottom: 17px;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em
}

.youtube-card:hover img,
.youtube-card:focus-visible img {
  transform: scale(1.045);
  filter: brightness(.8)
}

.youtube-card:hover .youtube-play,
.youtube-card:focus-visible .youtube-play {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--green)
}

.youtube-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px
}

.hero {
  --mouse-x: 50%;
  --mouse-y: 50%;
  min-height: 100vh;
  color: #fff;
  background-image: var(--hero-image);
  display: flex;
  align-items: center
}

.hero-overlay,
.fixed-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 25, 19, .86) 0%, rgba(28, 43, 33, .62) 47%, rgba(15, 18, 16, .45) 100%)
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(206, 230, 191, .13), transparent 28%);
  pointer-events: none
}

.topbar {
  position: absolute;
  z-index: 10;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
  letter-spacing: .16em
}

.logo img {
  width: 54px;
  height: 54px
}

/* MENU LATERAL: painel inteiro, branco, abrindo somente pelo canto direito. */
.menu-toggle {
  position: fixed;
  top: 30px;
  right: 30px;
  left: auto;
  width: 38px;
  height: 32px;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: grid;
  place-content: center;
  gap: 6px;
  z-index: 1001;

}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 2px;
  background: var(--green);
  transition: width .25s
}

.menu-toggle span:nth-child(2) {
  width: 13px;
  justify-self: end
}

.menu-toggle:hover span {
  width: 24px
}

.menu-toggle.open {
  opacity: 0;
  visibility: hidden;
  pointer-events: none
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 25, 21, .58);
  backdrop-filter: blur(2px);
  border: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s, visibility 0s linear .4s;
  z-index: 998
}

.menu-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .35s
}

/* PAINEL BRANCO QUE ABRE PELO LADO DIREITO */
.menu-panel {
  position: fixed;

  /* Cola o painel no topo e na direita da tela */
  top: 0;
  right: 0;
  left: auto;


  /* Tamanho do painel */
  width: 300px;
  max-width: 100vw;
  height: 100dvh;

  /* Aparência */
  margin: 0;
  padding: 80px 25px 40px;
  background: #ffffff;

  /* Organização dos links */
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow-y: auto;

  /* Menu começa escondido fora da tela */
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;

  /* Animação de abertura e fechamento */
  transition:
    transform 0.42s cubic-bezier(.7, 0, .2, 1),
    visibility 0s linear 0.42s;

  z-index: 9999;
}

.menu-panel.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform .42s cubic-bezier(.7, 0, .2, 1)
}

.menu-panel a {
  display: grid;
  place-items: center;
  min-height: 61px;
  width: 100%;
  padding: 13px 24px;
  border-bottom: 1px solid #e9e9e9;
  color: #5f665f;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .14em;
  text-align: center;
  transition: color .25s, background .25s
}

.menu-panel a:first-of-type {
  border-top: 1px solid #e9e9e9
}

.menu-panel a:hover {
  color: var(--gold);
  background: #faf9f5
}

.menu-close {
  position: absolute;
  top: 27px;
  right: 31px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  cursor: pointer
}

.menu-close span {
  position: absolute;
  top: 16px;
  left: 8px;
  width: 19px;
  height: 1.5px;
  background: #707770
}

.menu-close span:first-child {
  transform: rotate(45deg)
}

.menu-close span:last-child {
  transform: rotate(-45deg)
}

.menu-close:hover span {
  background: var(--gold)
}

.menu-open {
  overflow: hidden
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr .82fr;
  align-items: center;
  gap: 80px;
  padding-top: 80px;

}

.kicker,
.section-label {
  font-size: 12px;
  letter-spacing: .24em;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px
}

.hero h1 {
  font-size: clamp(45px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.06;
  margin-bottom: 22px
}

.hero h1 strong {
  font-weight: 700;
  color: #cee6bf
}

.hero-text>p:not(.kicker) {
  max-width: 620px;
  color: #edf1ed;
  font-size: 17px
}

.phone-wrap {
  justify-self: center;
  perspective: 900px;
}

.phone {
  width: 290px;
  height: 575px;
  box-sizing: border-box;

  border: 2px solid #e8e8e5;
  border-radius: 50px;
  background: #f7f7f5;
  padding: 40px 5px 55px;

  position: relative;

  box-shadow:
    0 35px 80px rgba(0, 0, 0, 0.55),
    inset 0 0 0 2px #aaa;
}

/* Tela interna do celular */
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  
  background-color: #111;

}

/* Vídeo dentro da tela */
.phone-screen video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  display: block;
  z-index: 0;
  
}

.speaker {
  position: absolute;
  top: 23px;
  left: 50%;
  transform: translateX(-50%);
  width: 55px;
  height: 5px;
  border-radius: 5px;
  background: #777
}

.camera {
  position: absolute;
  top: 20px;
  left: 92px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #888
}

.home-button {
  position: absolute;
  left: 50%;
  bottom: 9px;
  transform: translateX(-50%);
  width: 39px;
  height: 39px;
  border-radius: 50%;
  border: 2px solid #aaa
}

.phone-screen {
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #23382a;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px
}

.phone-screen a {
  position: relative;
  border: 1px solid #fff;
  border-radius: 25px;
  margin-top: 30px;
  padding: 12px 14px;
  font-size: 9px;
  letter-spacing: .12em
}

/* Botão na parte inferior do vídeo do celular do hero */
.phone-wrap .phone-screen a {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 25px;
  width: max-content;
  margin: 0;
  transform: translateX(-50%);
}

.scroll-down {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 24px;
  width: 28px;
  height: 45px;
  border: 1px solid #fff;
  border-radius: 20px
}

.scroll-down span {
  display: block;
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 5px;
  margin: 8px auto;
  animation: scroll 1.8s infinite
}

@keyframes scroll {
  to {
    transform: translateY(17px);
    opacity: 0
  }
}

.intro {
  background: #fff
}

.intro h2,
.section-title h2,
.contact h2 {
  font-size: clamp(35px, 5vw, 58px);
  line-height: 1.12;
  font-weight: 300;
  color: var(--cream)
}

.gold-line {
  height: 2px;
  width: 60px;
  background: var(--gold);
  margin: 25px auto
}

.intro .narrow>p:last-child {
  color: var(--cream);
  font-size: 17px
}

/* Rótulos dourados mais claros nas seções de fundo verde (contraste). */
.intro .section-label,
.new-features .section-label,
.interface .section-label {
  color: #e0c76d
}

/* DESTAQUES PRINCIPAIS (logo abaixo da introdução) */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px
}

.highlight-card {
  background: var(--cream);
  padding: 34px 26px;
  text-align: left;
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--gold);
  transition: transform .4s ease, box-shadow .4s ease
}

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .2)
}

.highlight-card i {
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 20px
}

.highlight-card h3 {
  font-size: 22px;
  line-height: 1.2;
  color: var(--forest);
  margin-bottom: 12px
}

.highlight-card p {
  color: var(--muted);
  font-size: 15px
}

.format-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  list-style: none
}

.format-chips li {
  background: var(--forest);
  color: var(--cream);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 4px 9px;
  border-radius: 999px
}

@media (max-width: 980px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width: 560px) {
  .highlights-grid {
    grid-template-columns: 1fr
  }
}

.features {
  padding-top: 0;
  background: #fff
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  min-height: 450px;
  margin-bottom: 35px;
  background: var(--cream)
}

.feature-row.reverse {
  grid-template-columns: 1.12fr 1fr
}

.feature-row.reverse .feature-copy {
  order: 2
}

.feature-row.reverse figure {
  order: 1
}

.feature-copy {
  padding: 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative
}

.feature-copy i {
  font-size: 34px;
  color: var(--gold);
  margin-bottom: 24px
}

.feature-copy h3 {
  font-size: 29px;
  line-height: 1.18;
  color: var(--forest);
  margin-bottom: 17px
}

.feature-copy p {
  color: var(--muted)
}

.zoom-photo {
  overflow: hidden;
  min-height: 390px
}

.zoom-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2, .75, .2, 1)
}

.zoom-photo:hover img {
  transform: scale(1.1)
}

/* CARTOGRAFIA: painel dentro de Features */
.cartography-panel {
  background: var(--cream);
  padding: 55px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: center
}

.cartography-heading h3 {
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.15;
  font-weight: 300;
  color: var(--forest);
  margin-bottom: 16px
}

.cartography-heading h3 strong {
  font-weight: 700
}

.cartography-heading p:last-child {
  color: var(--muted)
}

.cartography-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 34px
}

.cartography-item i {
  font-size: 26px;
  color: var(--gold);
  margin-bottom: 12px
}

.cartography-item h4 {
  font-size: 19px;
  color: var(--forest);
  margin-bottom: 6px
}

.cartography-item p {
  color: var(--muted);
  font-size: 15px
}

@media (max-width: 980px) {
  .cartography-panel {
    grid-template-columns: 1fr;
    gap: 36px
  }
}

@media (max-width: 560px) {
  .cartography-panel {
    padding: 40px 28px
  }

  .cartography-grid {
    grid-template-columns: 1fr
  }
}

/* NOVIDADES: cards com ícone */
.new-features {
  padding-top: 0;
  background: var(--fundosite)
}

.new-features .section-title {
  text-align: center;
  margin-bottom: 45px
}

.new-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.new-feature-card {
  background: var(--cream);
  padding: 42px 34px;
  display: flex;
  flex-direction: column;
  transition: transform .4s ease, box-shadow .4s ease
}

.new-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18)
}

.new-feature-card i {
  font-size: 34px;
  color: var(--gold);
  margin-bottom: 22px
}

.new-feature-card h3 {
  font-size: 23px;
  line-height: 1.2;
  color: var(--forest);
  margin-bottom: 14px
}

.new-feature-card p {
  color: var(--muted)
}

.new-feature-card a {
  color: var(--gold);
  font-weight: 700
}

@media (max-width: 980px) {
  .new-features-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin: 0 auto
  }
}

@media (max-width: 520px) {
  .new-feature-card {
    padding: 34px 26px
  }
}

/* MOTOR NATIVO: GDAL C++ */
.native-engine {
  background: var(--deep);
  color: #fff;
  position: relative;
  z-index: 1
}

.engine-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center
}

.engine-copy h2 {
  font-size: clamp(35px, 5vw, 56px);
  line-height: 1.12;
  font-weight: 300;
  color: #fff
}

.engine-copy h2 strong {
  color: var(--gold);
  font-weight: 700
}

.engine-copy .gold-line {
  margin: 25px 0
}

.engine-copy>p {
  color: #c4ccc5;
  font-size: 17px
}

.engine-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px
}

.engine-tags span {
  border: 1px solid rgba(177, 143, 53, .6);
  color: #e0c76d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  padding: 7px 14px;
  border-radius: 999px;
  text-transform: uppercase
}

.engine-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px
}

.engine-benefit {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px 26px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: border-color .4s ease, background .4s ease
}

.engine-benefit:hover {
  border-color: rgba(177, 143, 53, .7);
  background: rgba(255, 255, 255, .07)
}

.engine-benefit i {
  font-size: 28px;
  color: var(--gold)
}

.engine-benefit h3 {
  font-size: 19px;
  line-height: 1.25;
  margin-bottom: 8px;
  color: #fff
}

.engine-benefit p {
  color: #aab3ab;
  font-size: 15px
}

@media (max-width: 980px) {
  .engine-grid {
    grid-template-columns: 1fr;
    gap: 45px
  }
}

@media (max-width: 560px) {
  .engine-benefits {
    grid-template-columns: 1fr
  }
}

.numbers {
  background: var(--gold)
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr)
}

.numbers-grid>div {
  text-align: center;
  padding: 38px;
  border-right: 1px solid rgba(28, 43, 33, .25)
}

.numbers-grid>div:last-child {
  border: 0
}

.numbers strong {
  font-size: 52px;
  line-height: 1;
  color: var(--deep)
}

.numbers b {
  font-size: 23px;
  color: var(--deep)
}

.numbers span {
  display: block;
  font-size: 11px;
  letter-spacing: .14em;
  font-weight: 700;
  color: var(--deep);
  margin-top: 7px
}

.engineering-fixed {
  min-height: 680px;
  padding: 95px 0;
  background-image: var(--engineering-image);
  display: flex;
  align-items: center;
  color: #fff
}

.fixed-overlay {
  background: linear-gradient(90deg, rgba(20, 31, 23, .88), rgba(20, 31, 23, .45))
}

.fixed-content {
  position: relative;
  z-index: 2
}

.fixed-content>* {
  max-width: 680px
}

.fixed-content h2 {
  font-size: clamp(40px, 5.4vw, 66px);
  font-weight: 300;
  line-height: 1.08
}

.fixed-content h2 strong {
  color: #e7ca75;
  font-weight: 700
}

.fixed-content>p:not(.section-label) {
  font-size: 18px;
  margin: 22px 0 32px;
  color: #e4eae5
}

.security-pillars {
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 36px
}

.security-pillar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  background: rgba(18, 29, 21, .8);
  border: 1px solid rgba(177, 143, 53, .45);
  backdrop-filter: blur(8px);
  transition: transform .35s ease, border-color .35s ease, background .35s ease
}

.security-pillar:hover {
  transform: translateY(-5px);
  border-color: rgba(231, 202, 117, .85);
  background: rgba(24, 38, 28, .9)
}

.security-pillar i {
  font-size: 26px;
  color: #e7ca75
}

.security-pillar h3 {
  font-size: 19px;
  line-height: 1.25;
  margin-bottom: 8px;
  color: #fff
}

.security-pillar p {
  font-size: 14.5px;
  line-height: 1.55;
  color: #c7d1c8
}

@media (max-width: 980px) {
  .security-pillars {
    grid-template-columns: 1fr;
    max-width: 620px
  }
}

.light {
  color: #e7ca75
}

.outline-button {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #fff;
  border-radius: 28px;
  padding: 12px 24px;
  font-size: 12px;
  letter-spacing: .12em;
  transition: .3s
}

.outline-button:hover {
  background: #fff;
  color: var(--deep)
}

.interface {
  background: #f6f5ef
}

.section-title {
  text-align: center;
  margin-bottom: 48px
}

.fixed-overlay.dark {
  background: rgba(23, 26, 24, .72)
}

.contact {
  background: var(--deep);
  color: #fff
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start
}

.contact h2 {
  color: #fff;
  margin-bottom: 22px
}

.contact-grid>div>p:not(.section-label) {
  color: #cbd4cc
}

.email {
  display: inline-block;
  color: #e1bd58;
  margin-top: 22px
}

.contact form {
  display: grid;
  gap: 14px
}

.contact input,
.contact textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  background: transparent;
  color: #fff;
  padding: 13px 4px;
  outline: 0
}

.contact input:focus,
.contact textarea:focus {
  border-color: var(--gold)
}

.contact button {
  border: 0;
  background: var(--gold);
  color: var(--deep);
  padding: 15px;
  letter-spacing: .12em;
  font-weight: 700;
  cursor: pointer
}

.form-status {
  font-size: 12px;
  color: #d7c989
}

.footer {
  background: #151a16;
  color: #fff;
  padding: 62px 0 25px;
  text-align: center
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px
}

.footer-logo img {
  width: 68px;
  height: 68px
}

.footer-content>p {
  color: #9aa49b
}

.footer-content>p a {
  color: #d7c989;
  text-decoration: none
}

.footer-content>p a:hover {
  text-decoration: underline
}

.footer small {
  color: #788078;
  margin-top: 20px
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s, transform .8s
}

.reveal.visible {
  opacity: 1;
  transform: none
}

.interface-card-left {
  width: 320px;
  transform: translateX(-70px);
}

@media(max-width:820px) {
  .section {
    padding: 75px 0
  }

  .hero {
    background-attachment: scroll;
    padding: 120px 0 70px
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center
  }

  .hero-text>p:not(.kicker) {
    margin: auto
  }

  .phone-wrap {
  display: block;
  width: min(240px, 75vw);
  margin: 25px auto 30px;
  justify-self: center;
}

.phone-wrap .phone {
  width: 100%;
  height: auto;
  aspect-ratio: 290 / 575;
}

  .menu-panel {
    width: min(390px, 100%);
    padding-top: 90px
  }

  .menu-toggle {
    top: 22px;
    right: 20px
  }

  .menu-close {
    top: 20px;
    right: 19px
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr
  }

  .feature-row.reverse .feature-copy,
  .feature-row.reverse figure {
    order: initial
  }

  .zoom-photo {
    min-height: 310px
  }

  .numbers-grid {
    grid-template-columns: 1fr
  }

  .numbers-grid>div {
    border-right: 0;
    border-bottom: 1px solid rgba(28, 43, 33, .25)
  }

  .engineering-fixed,
  .youtube-section {
    background-attachment: scroll
  }

  .youtube-grid {
    grid-template-columns: 1fr;
    width: min(100%, 620px)
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px
  }
}

@media(max-width:520px) {
  .container {
    width: calc(100% - 28px)
  }

  .logo span {
    display: none
  }

  .feature-copy {
    padding: 40px 28px
  }

  .youtube-section {
    min-height: auto
  }

  .youtube-heading {
    margin-bottom: 28px
  }

  .youtube-play {
    width: 56px;
    height: 56px;
    font-size: 21px
  }

  .youtube-card-label {
    left: 15px;
    bottom: 12px;
    font-size: 10px
  }

}



@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important
  }

  .reveal {
    opacity: 1;
    transform: none
  }
}

.google-play-button {
  display: block;
  width: 210px;
  margin-top: 25px;
}

.google-play-button img {
  display: block;
  width: 100%;
  height: auto;
}

.google-play-button:hover {
  transform: translateY(-3px);
}

/* FUNDO DAS SEÇÕES DO SITE */
body,
main,
.intro,
.features,
.interface {
  background: var(--fundosite);
}

/* =================================
   CARROSSEL DO MOCKUP DE CELULAR
================================= */

.phone-carousel {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns:
    minmax(210px, 260px)
    52px
    minmax(240px, 340px)
    52px
    minmax(210px, 260px);
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 60px;
  padding-bottom: 55px;
}

/* Cards laterais */
.interface-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 15px;
   width: 320px;
  min-height: 190px;
  padding: 30px;
  border: 1px solid rgba(177, 143, 53, 0.35);
  border-radius: 18px;
  color: #fff;
  background:
    linear-gradient(
      145deg,
      rgba(74, 104, 79, 0.72),
      rgba(28, 43, 33, 0.88)
    );
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.interface-card:hover {
  transform: translateY(-6px);
  border-color: rgba(177, 143, 53, 0.75);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.22),
    0 0 25px rgba(177, 143, 53, 0.09);
}

.interface-card-left:hover {
  transform: translateX(-70px) translateY(-6px);
}

.interface-card-icon {
  flex: 0 0 45px;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(177, 143, 53, 0.45);
  border-radius: 13px;
  color: #e4c660;
  background: rgba(177, 143, 53, 0.13);
  font-size: 19px;
}

.interface-card h3 {
  margin: 1px 0 8px;
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
}

.interface-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.55;
}

/* Pequena linha ligando visualmente os cards ao celular */
.interface-card-left::after,
.interface-card-right::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 25px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(177, 143, 53, 0.15),
    rgba(177, 143, 53, 0.8)
  );
}

.interface-card-left::after {
  right: -25px;
}

.interface-card-right::before {
  left: -25px;
  transform: rotate(180deg);
}

/* Card transition when the carousel content changes. */
.interface-card-right.card-changing {
  animation: trocarCardDireito 0.8s ease;
}

.interface-card-left.card-changing {
  animation: trocarCardEsquerdo 0.8s ease;
}

@keyframes trocarCardDireito {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes trocarCardEsquerdo {
  from {
    opacity: 0;
    transform: translateX(-70px) translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateX(-70px) translateY(0);
  }
}
/* Moldura externa do celular */
.phone-device {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 18.5;
  padding: 9px;
  border: 3px solid #303630;
  border-radius: 42px;
  background: #080b09;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.4),
    0 0 45px rgba(177, 143, 53, 0.13);
  overflow: hidden;
}

.phone-speaker {
  position: absolute;
  z-index: 10;
  top: 16px;
  left: 50%;
  width: 74px;
  height: 20px;
  border-radius: 20px;
  background: #080b09;
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 31px;
  background: #111;
  overflow: hidden;
  touch-action: pan-y;
}

.phone-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity 0.7s ease,
    transform 0.9s ease;
  pointer-events: none;
}

.phone-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* Setas */
.phone-carousel-arrow {
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(177, 143, 53, 0.45);
  border-radius: 50%;
  color: #fff;
  background: rgba(28, 43, 33, 0.9);
  font-size: 25px;
  cursor: pointer;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.phone-carousel-arrow:hover {
  background: #b18f35;
  transform: scale(1.08);
}

/* Bolinhas inferiores */
.phone-carousel-dots {
  position: absolute;
  bottom: 5px;
  left: 50%;
  display: flex;
  justify-content: center;
  gap: 8px;
  transform: translateX(-50%);
}

.phone-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition:
    width 0.3s ease,
    background 0.3s ease;
}

.phone-carousel-dot.active {
  width: 25px;
  border-radius: 10px;
  background: #b18f35;
}

/* Tablet e celular */
@media (max-width: 1000px) {
  .phone-carousel {
    grid-template-columns: 48px minmax(220px, 320px) 48px;
    gap: 16px;
  }

  .interface-card-left {
    grid-column: 1 / 4;
    grid-row: 2;
    width: min(100%, 520px);
    justify-self: center;
  }

  .interface-card-right {
    grid-column: 1 / 4;
    grid-row: 3;
    width: min(100%, 520px);
    justify-self: center;
  }

  .phone-carousel-prev {
    grid-column: 1;
    grid-row: 1;
  }

  .phone-device {
    grid-column: 2;
    grid-row: 1;
  }

  .phone-carousel-next {
    grid-column: 3;
    grid-row: 1;
  }

  .interface-card-left::after,
  .interface-card-right::before {
    display: none;
  }

  .phone-carousel-dots {
    bottom: -5px;
  }
}

@media (max-width: 600px) {
  .phone-carousel {
    grid-template-columns: 40px minmax(190px, 280px) 40px;
    gap: 8px;
    margin-top: 40px;
  }

  .phone-device {
    border-radius: 34px;
  }

  .phone-screen {
    border-radius: 25px;
  }

  .phone-carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 19px;
  }

  .interface-card {
    min-height: auto;
    padding: 17px;
  }

  .interface-card-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }
}

/* Correções dos cards em tablet e celular */
@media (max-width: 1000px) {
  .interface-card-left,
  .interface-card-right {
    box-sizing: border-box;
    width: min(100%, 520px);
    max-width: 100%;
    justify-self: center;
    transform: none;
  }

  .interface-card-left:hover,
  .interface-card-right:hover {
    transform: translateY(-6px);
  }

  .interface-card-left.card-changing,
  .interface-card-right.card-changing {
    animation: trocarCardMobile 0.8s ease;
  }

  @keyframes trocarCardMobile {
    from {
      opacity: 0;
      transform: translateY(15px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 600px) {
  .interface-card-left,
  .interface-card-right {
    width: calc(100% - 24px);
    margin-inline: auto;
  }
}

/* ================================================================
   HELP / DOCUMENTATION PAGE
================================================================ */
.help-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  color: #f4f1e8;
  background:
    radial-gradient(circle at 85% 8%, rgba(177, 143, 53, 0.16), transparent 28rem),
    linear-gradient(145deg, #17241b 0%, #24382a 55%, #19271e 100%);
}

.help-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(23, 36, 27, 0.92);
  backdrop-filter: blur(14px);
}

.help-nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.help-nav .logo {
  position: static;
}

.help-back,
.help-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid #b18f35;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.help-back:hover,
.help-button:hover {
  color: #17241b;
  background: #b18f35;
  transform: translateY(-2px);
}

.help-hero {
  padding: 110px 0 70px;
  text-align: center;
}

.help-hero h1 {
  max-width: 920px;
  margin: 12px auto 22px;
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  line-height: 1.02;
}

.help-hero > .container > p:last-child {
  max-width: 760px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.help-layout {
  display: grid;
  grid-template-columns: minmax(210px, 260px) minmax(0, 860px);
  align-items: start;
  justify-content: center;
  gap: clamp(32px, 6vw, 80px);
  padding-bottom: 100px;
}

.help-layout,
.help-content,
.help-article,
.help-toc {
  min-width: 0;
  max-width: 100%;
}

.help-toc {
  position: sticky;
  top: 118px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.16);
}

.help-toc strong {
  display: block;
  margin-bottom: 14px;
  color: #b18f35;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.help-toc a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
}

.help-toc a:hover { color: #fff; }

.help-article {
  scroll-margin-top: 120px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

.help-article + .help-article { margin-top: 52px; }

.help-article h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
}

.help-article h3 {
  margin: 42px 0 14px;
  color: #d2b75f;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.help-article h4 {
  margin: 28px 0 10px;
  color: #fff;
  font-size: 1.05rem;
}

.help-article p,
.help-article li {
  color: rgba(255, 255, 255, 0.78);
  overflow-wrap: anywhere;
}

.help-article ul,
.help-article ol {
  margin: 14px 0 20px 22px;
}

.help-article li + li { margin-top: 8px; }

.help-article a { color: #e0c76d; }
.help-article a:hover { text-decoration: underline; }

.help-table-wrap {
  margin: 20px 0 30px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.help-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.help-table th,
.help-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  vertical-align: top;
}

.help-table th {
  color: #17241b;
  background: #b18f35;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.help-table td:first-child {
  width: 29%;
  color: #fff;
  font-weight: 700;
}

.help-code {
  display: block;
  margin: 18px 0;
  padding: 18px 20px;
  overflow-x: auto;
  border-left: 3px solid #b18f35;
  color: #f7e7a7;
  background: rgba(0, 0, 0, 0.34);
  font-family: Consolas, Monaco, monospace;
  white-space: nowrap;
}

.help-note {
  margin: 24px 0;
  padding: 20px 22px;
  border-left: 3px solid #b18f35;
  background: rgba(177, 143, 53, 0.12);
}

.help-actions {
  padding: 0 20px 100px;
  text-align: center;
}

.help-actions p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.72);
}

.help-page + .footer { position: relative; z-index: 1; }

/* Tablets: o sumário passa para cima do conteúdo. */
@media (max-width: 1100px) {
  .help-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .help-toc {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 20px;
  }

  .help-toc strong {
    grid-column: 1 / -1;
  }
}

/* Celulares. */
@media (max-width: 600px) {
  .help-page .container {
    width: min(100% - 28px, var(--max-width));
  }

  .help-nav { min-height: 74px; }
  .help-nav .logo span { display: none; }
  .help-nav .logo img { width: 58px; }

  .help-back {
    min-height: 42px;
    padding: 8px 11px;
    font-size: 0.64rem;
    letter-spacing: 0.07em;
    white-space: nowrap;
  }

  .help-hero {
    padding: 64px 0 44px;
    text-align: left;
  }

  .help-hero h1 {
    font-size: clamp(2.15rem, 12vw, 3.15rem);
  }

  .help-layout {
    gap: 26px;
    padding-bottom: 64px;
  }

  .help-toc {
    display: block;
    width: 100%;
    padding: 18px;
  }

  .help-article {
    width: 100%;
    padding: 24px 18px;
  }

  .help-article + .help-article { margin-top: 30px; }

  .help-article h2 {
    font-size: clamp(1.7rem, 8.5vw, 2.35rem);
    overflow-wrap: anywhere;
  }

  .help-article h3 { margin-top: 32px; }

  .help-table-wrap {
    width: 100%;
    overflow: visible;
    border: 0;
  }

  .help-table,
  .help-table thead,
  .help-table tbody,
  .help-table tr,
  .help-table th,
  .help-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .help-table thead { display: none; }

  .help-table tr {
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.12);
  }

  .help-table td,
  .help-table td:first-child {
    width: 100%;
    padding: 13px 14px;
  }

  .help-table td:first-child {
    color: #17241b;
    background: #b18f35;
  }

  .help-code {
    max-width: 100%;
    padding: 15px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }

  .help-note { padding: 17px; }
  .help-actions { padding-bottom: 70px; }
}

/* =================================
   SELETOR DE IDIOMA (EN · PT · ES)
================================= */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  color: #fff
}

.lang-switcher button {
  background: transparent;
  border: 0;
  color: inherit;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1;
  padding: 8px 11px;
  border-radius: 999px;
  cursor: pointer;
  opacity: .75;
  transition: background .25s, color .25s, opacity .25s
}

.lang-switcher button:hover {
  opacity: 1
}

.lang-switcher button.active {
  background: var(--gold);
  color: var(--deep);
  opacity: 1
}

.lang-switcher button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px
}

/* No topo: deixa espaço para o botão do menu, que fica fixo à direita. */
.topbar-lang {
  margin-right: 64px
}

/* Dentro do painel branco do menu. */
.menu-lang {
  align-self: center;
  margin: 0 0 22px;
  color: #5f665f;
  border-color: #d9d9d9
}

/* Barra da Ajuda e da Política de Privacidade. */
.help-nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end
}

@media (max-width: 520px) {
  .topbar-lang {
    margin-right: 52px
  }

  .lang-switcher button {
    padding: 7px 9px
  }

  .help-nav-actions {
    gap: 10px
  }
}
