/* ============================================================
   REAL TAG — Folha de estilos
   Paleta: tons de azul royal (realeza) + dourado, como na logo.
   ============================================================ */

:root {
  --background: #ffffff;
  --foreground: #1e2749;
  --primary: #1d9bf0;
  --secondary: #f7fafd;
  --muted: #f2f7fb;
  --muted-foreground: #5d6b85;
  --accent: #e3f1fb;
  --border: #e6ecf3;
  --royal: #101b3e;
  /* azul royal escuro (fundo do cabeçalho/hero) */
  --on-royal: #fdfefe;
  --royal-muted: #8fa2cf;
  /* azul acinzentado para textos no fundo royal */
  --gold: #d9a441;
  /* dourado da coroa da logo */
  --hero-shade: linear-gradient(90deg, var(--royal) 0%, rgba(16, 27, 62, 0.88) 24%, transparent 65%);
}

/* ---------- Base ---------- */
* {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: "Manrope", sans-serif;
  letter-spacing: 0;
  margin: 0;
}

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

img {
  max-width: 100%;
}

::selection {
  background: var(--accent);
  color: var(--foreground);
}

.site-container {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 15px 22px;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 180ms, background-color 180ms, color 180ms;
}

.btn svg {
  width: 17px;
  height: 17px;
}

.btn-royal {
  background: var(--primary);
  color: #0b1a33;
}

.btn-royal:hover {
  opacity: 0.88;
}

.btn-outline {
  background: transparent;
  color: var(--on-royal);
  border: 1px solid rgba(253, 254, 254, 0.28);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--on-royal);
}

.btn-ghost:hover {
  color: var(--primary);
}

.btn-ghost-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  color: var(--on-royal);
  cursor: pointer;
}

/* ---------- Cabeçalho ---------- */
.site-header {
  background: var(--royal);
  color: var(--on-royal);
  border-bottom: 1px solid rgba(253, 254, 254, 0.1);
  position: relative;
  z-index: 20;
}

.logo-window {
  width: 65px;
  /* Defina aqui a largura máxima que a logo deve ocupar */
  height: 65px;
  /* Defina aqui a altura máxima que a logo deve ocupar */
  display: flex;
  align-items: center;
  /* Centraliza verticalmente */
  justify-content: center;
  /* Centraliza horizontalmente */
  overflow: hidden;
}

.logo-window img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Garante que a imagem caiba inteira sem ser cortada ou esticada */
}

.header-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.desktop-nav {
  display: flex;
  gap: 34px;
  align-items: center;
  font-size: 13px;
  color: var(--royal-muted);
}

.desktop-nav a:hover,
.footer-links a:hover {
  color: var(--primary);
}

.mobile-toggle {
  display: none;
}

.mobile-nav {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: var(--royal);
  color: var(--on-royal);
}

.hero-image {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-shade);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 78px;
  padding-bottom: 68px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 600;
  color: var(--primary);
}

.eyebrow svg {
  width: 15px;
  height: 15px;
}

.hero h1 {
  font-size: 64px;
  line-height: 1.14;
  font-weight: 700;
  margin: 23px 0;
  max-width: 680px;
}

.hero h1 span {
  color: var(--primary);
}

.hero-copy {
  max-width: 445px;
  color: var(--royal-muted);
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 30px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--royal-muted);
  font-size: 11px;
  margin-top: 32px;
}

.hero-note span {
  display: flex;
  gap: 7px;
  align-items: center;
}

.hero-note svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

.product-caption {
  position: absolute;
  z-index: 2;
  bottom: 31px;
  right: 6%;
  font-size: 10px;
  color: var(--royal-muted);
}

/* ---------- Faixa de benefícios ---------- */
.benefit-strip {
  background: var(--secondary);
  border-bottom: 1px solid var(--border);
}

.benefit-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 23px;
  gap: 20px;
}

.benefit-inner span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
}

.benefit-inner svg {
  color: var(--primary);
  width: 18px;
  height: 18px;
}

/* ---------- Seções ---------- */
.section {
  padding-block: 82px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 36px;
}

.section-heading h2,
.how-heading h2 {
  font-size: 35px;
  font-weight: 650;
  line-height: 1.3;
  margin-top: 12px;
}

.section-heading>p {
  max-width: 330px;
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.8;
}

/* ---------- Cards de possibilidades ---------- */
.application-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.application-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  position: relative;
  transition: border-color 200ms, transform 200ms;
}

.application-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.application-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 28px;
}

.application-icon svg {
  width: 23px;
  height: 23px;
}

.application-card h3 {
  font-size: 20px;
  font-weight: 650;
  margin-bottom: 12px;
}

.application-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted-foreground);
  min-height: 76px;
}

.application-card a {
  margin-top: 23px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.application-card a svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.tiny-label {
  position: absolute;
  top: 32px;
  right: 24px;
  color: var(--muted-foreground);
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tiny-label svg {
  color: var(--gold);
  width: 12px;
  height: 12px;
}

/* ---------- Como funciona ---------- */
.how-section {
  background: var(--secondary);
}

.how-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 90px;
}

.how-heading p {
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.8;
  max-width: 300px;
  margin-top: 20px;
}

.steps {
  display: grid;
  gap: 28px;
}

.step {
  display: flex;
  gap: 22px;
}

.step-number {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  color: var(--primary);
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 7px;
}

.step p {
  font-size: 13px;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ---------- Vídeos ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.video-grid video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--royal);
  border-radius: 8px;
}

.video-grid h3 {
  margin-top: 14px;
  font-weight: 600;
}

/* ---------- Contato ---------- */
.contact-section {
  background: var(--royal);
  color: var(--on-royal);
  padding-block: 64px;
}

.contact-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.contact-inner h2 {
  font-size: 34px;
  font-weight: 600;
  margin-top: 13px;
}

.contact-inner p {
  font-size: 14px;
  color: var(--royal-muted);
  margin-top: 15px;
}

/* ---------- Rodapé ---------- */
.site-footer {
  padding-top: 42px;
  padding-bottom: 22px;
  background: var(--royal);
  color: var(--royal-muted);
  border-top: 1px solid rgba(253, 254, 254, 0.1);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 25px;
}

.footer-brand p {
  max-width: 210px;
  line-height: 1.8;
  font-size: 12px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links svg {
  width: 17px;
  height: 17px;
}

.footer-bottom {
  border-top: 1px solid rgba(253, 254, 254, 0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}

.footer-bottom a {
  color: var(--on-royal);
}

/* ---------- Responsivo ---------- */
@media (min-width: 1500px) {
  .hero-image {
    object-position: center 60%;
  }

  .hero {
    min-height: 690px;
  }

  .hero-content {
    padding-top: 100px;
  }
}

@media (max-width: 1000px) {
  .site-container {
    width: calc(100% - 56px);
  }

  .desktop-nav {
    gap: 20px;
  }

  .hero h1 {
    font-size: 50px;
  }

  .hero-copy {
    max-width: 390px;
  }

  .hero-image {
    object-position: 60% center;
  }

  .application-card {
    padding: 22px;
  }

  .how-layout {
    gap: 40px;
  }
}

@media (max-width: 700px) {
  .site-container {
    width: calc(100% - 40px);
  }

  .header-inner {
    height: 60px;
    gap: 10px;
  }

  .desktop-nav,
  .header-contact {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    display: none;
    /* <-- Altere apenas esta linha */
    flex-direction: column;
    gap: 23px;
    padding: 18px 20px 28px;
    font-size: 14px;
    border-top: 1px solid rgba(253, 254, 254, 0.1);
  }

  .hero {
    min-height: 820px;
  }

/* 1. Definimos uma altura máxima para o bloco do banner, 
     cortando naturalmente o excesso da imagem na parte de baixo */
  .hero {
    min-height: auto; /* Remove a altura mínima antiga */
    height: 560px;    /* Nova altura controlada. Reduza esse valor se quiser cortar MAIS a parte de baixo */
    overflow: hidden;
    position: relative;
  }

  .hero-image {
    position: absolute;
    width: 155%;      /* Aumentamos a largura para "esticar" um pouco para fora da tela */
    height: 100%;     /* Mantém 100% para não distorcer */
    top: 0;
    bottom: 0;
    left: +45%;       /* Movemos a imagem bastante para a esquerda, trazendo a plaquinha (foco da direita) para o centro/esquerda do celular */
    object-fit: cover;
    object-position: right center; /* Mantém o foco no lado direito da foto original, agora visível mais à esquerda */
  }

  .hero::after {
    /* Mantém a película escura para o texto não sumir */
    background: linear-gradient(180deg, rgba(16, 27, 62, 0.85) 0%, rgba(16, 27, 62, 0.6) 100%);
  }

  .hero-content {
    position: relative;
    z-index: 2;
    padding-top: 40px;   /* Deixa o conteúdo um pouco mais compacto no topo */
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: 42px;
    margin-top: 20px;
  }

  .hero-copy {
    font-size: 14px;
    max-width: 350px;
  }

  .hero-actions {
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 24px;
  }

  .hero-note {
    gap: 15px;
    margin-top: 23px;
    font-size: 10px;
  }

  .product-caption {
    right: 20px;
    bottom: 15px;
  }

  .benefit-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px;
    padding-block: 25px;
  }

  .benefit-inner span {
    justify-content: flex-start;
    font-size: 11px;
    gap: 7px;
  }

  .section {
    padding-block: 55px;
  }

  .section-heading {
    display: block;
    margin-bottom: 27px;
  }

  .section-heading h2,
  .how-heading h2 {
    font-size: 29px;
  }

  .section-heading>p {
    margin-top: 15px;
  }

  .application-grid,
  .how-layout {
    grid-template-columns: 1fr;
  }

  .application-card p {
    min-height: auto;
  }

  .application-icon {
    margin-bottom: 22px;
  }

  .how-layout {
    gap: 33px;
  }

  .contact-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .contact-inner h2 {
    font-size: 29px;
  }

  .footer-top,
  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .footer-brand {
    gap: 7px;
  }

  .footer-brand p {
    max-width: 270px;
  }

  .footer-links {
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 6px;
  }

  .footer-bottom {
    font-size: 9px;
    gap: 18px;
    flex-wrap: wrap;
  }
}

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

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