/* Reset suave */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "SF Pro Text",
               "Helvetica Neue", Arial, sans-serif;
  color: #111111;
  background-color: #f5f7fb;
  -webkit-font-smoothing: antialiased;
}

/* Fundo luminoso geral */
.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
 background: radial-gradient(circle at top,
                              #f8f9fc 0,
                              #ffffff 45%,
                              #f4f6f9 100%);
  z-index: -1;
}

/* Containers */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(248, 249, 252, 0.75);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

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

.brand {
  display: flex;
  align-items: center;
}

.brand-name {
  font-weight: 600;
  font-size: 15px;
}

.hero-logo {
  height: 40px;              /* pode ajustar para 32–48px */
  margin-bottom: 16px;
  display: inline-block;
}

.nav a {
  margin-left: 24px;
  font-size: 14px;
  text-decoration: none;
  color: #3b3b3f;
}

.nav a:hover {
  color: #0071e3;
}

/* Hero */
.hero {
  padding: 96px 0 32px;
}

.hero-inner {
  text-align: center;
}

.hero-title {
  font-family: -apple-system, system-ui, "SF Pro Display", sans-serif;
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.hero-subtitle {
  font-size: 18px;
  color: #121212;
  margin: 0 0 16px;        /* +6px: mais respiro antes do botão escuro */
}

.hero-subtitle {
  line-height: 1.5; /* deixa a linha do slogan da home mais leve em telas 4K */
}

.product-card .product-subtitle {
  font-weight: 400;
  color: #222; /* melhora contraste em displays claros */
}

.footer-disclaimer {
  font-size: 11px;
  opacity: 0.8;
}

.hero-link {
  font-size: 16px;
  color: #0071e3;
  text-decoration: none;
}

.hero-link:hover {
  text-decoration: underline;
}

/* Sheet principal */
.sheet {
  padding: 0 0 72px;
}

.sheet-inner {
  background: rgba(255,255,255,0.96);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
  padding: 40px 32px 48px;
}

/* Products */
.products-section {
  margin-top: 8px;
}

.section-title {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 32px;
}

.products-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 24px;
}

.product-card {
  background: #ffffff;
  border-radius: 18px;               /* ajuste de radius */
  border: 1px solid #e5e5ea;         /* corrige o hex */
  padding: 24px 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.product-gallery figure {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
  overflow: hidden;
}

.product-gallery img {
  width: 100%;
  display: block;
  cursor: zoom-in;
}

.product-gallery a {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.10);
}

/* imagem em si */
.product-gallery img {
  width: 100%;
  display: block;
  cursor: zoom-in;
}

/* efeito ao passar o mouse */
.product-gallery a:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}


.product-gallery figcaption {
  font-size: 13px;
  color: #8e8e93;
  padding: 8px 12px 12px;
}

/* Não precisamos mais do span em duas linhas */
.product-main {
  grid-row: auto;
}

/* Card visual do lado direito */
.product-visual-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e5e5ea;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.product-visual-card figure {
  margin: 0;
}

.product-visual-card img {
  width: 100%;
  display: block;
  border-bottom: 1px solid #f0f0f3;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.product-visual-card figcaption {
  font-size: 13px;
  color: #8e8e93;
  padding: 10px 14px 14px;
}

.product-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  background: #f5f7fb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.product-hero {
  padding-top: 80px;              /* um pouco mais que o hero-compact padrão */
}

.product-hero .hero-inner {
  padding-top: 8px;               /* “descola” levemente do topo visual */
}

.product-hero .hero-subtitle {
  font-size: 16px;    /* levemente menor que o padrão de 18px */
}

.product-hero img {
  width: 140px;
  max-width: 24vw;
  margin-bottom: 8px;
}

.product-icon {
  width: 64px;
  height: 64px;
}

.product-name {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
}

.product-description {
  font-size: 14px;
  color: #55555a;
  margin: 0 0 16px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;          /* centraliza verticalmente o “Learn more” */
}

.product-copy h2 {
  margin-top: 36px;   /* +8 px de respiro antes dos títulos */
  margin-bottom: 16px;
}

.product-copy h2 {
  font-size: 20px;
  margin: 28px 0 16px;   /* antes: 12px */
}

.product-copy h2:first-of-type {
  font-weight: 600;
}

.product-copy h2:not(:first-of-type) {
  border-top: 1px solid #e9e9e9;
  padding-top: 20px;
}

/* Mobile: volta a empilhar */
@media (max-width: 600px) {
  .product-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.product-copy p {
  line-height: 1.55; /* estava ~1.45 */
}

/* Badge / links */
.app-store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  text-decoration: none;
  color: #ffffff;
  background: #111111;
  border: 1px solid #000000;
  white-space: nowrap;
}

.app-store-badge.is-coming-soon {
  background: #2c2c2e;
  opacity: 0.9;
}

.app-store-badge:hover {
  opacity: 1;
}

.secondary-link {
  font-size: 14px;
  color: #0071e3;
  text-decoration: none;
}

.secondary-link:hover {
  text-decoration: underline;
}

.secondary-link.disabled {
  color: #a1a1a6;
  pointer-events: none;
}

/* Placeholders */
.product-placeholder .product-icon-wrapper {
  background: #f5f5f7;
}

.placeholder-icon {
  border: 1px dashed #d1d1d6;
}

.placeholder-symbol {
  font-size: 24px;
  color: #b0b0b8;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 20px 0 24px;
  margin-top: 44px;   /* +12px de respiro */
  background: rgba(248,249,252,0.95);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #6e6e73;
}

.footer-main {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.footer-links a {
  color: #6e6e73;
  text-decoration: none;
  opacity: 0.85;
}

.footer-links a:hover {
  color: #0071e3;
  text-decoration: underline;
  opacity: 1;
}


.footer-disclaimer {
  font-size: 11px;
  color: #8e8e93;
  opacity: 0.75;      /* menos competição com o conteúdo principal */
}

/* Responsivo: empilhar no mobile */
@media (max-width: 900px) {
  .sheet-inner {
    padding: 28px 20px 32px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }
}


/* ==== Páginas internas (Privacy / Support) ==== */

.hero-compact {
  padding: 72px 0 24px;
}

.hero-compact .hero-title {
  font-size: clamp(32px, 4.5vw, 40px);
}

.hero-compact .hero-subtitle {
  font-size: 16px;
}

.legal {
  max-width: 760px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
  color: #3b3b3f;
}

.legal h2 {
  font-size: 20px;
  margin: 24px 0 8px;
  font-weight: 500;       /* leve destaque */
  color: #222222;         /* contraste um pouco maior */
}

.legal h3 {
  font-size: 16px;
  margin: 16px 0 6px;
}

.legal p {
  margin: 0 0 12px;
}

.legal ul,
.legal ol {
  padding-left: 1.2rem;
  margin: 0 0 12px;
}

.legal li {
  margin-bottom: 4px;
}

.legal a {
  color: #007aff;         /* azul mais “Apple” */
  text-decoration: none;
}

.legal a:hover {
  text-decoration: underline;
}


.legal-updated {
  margin-top: 24px;
  font-size: 13px;
  color: #8e8e93;
}

/* Responsivo */
@media (max-width: 900px) {
  .sheet-inner {
    padding: 28px 20px 32px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-main {
    grid-row: auto;
  }
}

@media (max-width: 600px) {
  .header-inner {
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .nav a {
    margin-left: 16px;
  }

  .hero {
    padding-top: 72px;
  }
}

/* Seção de destaques */
/* Seção de destaques – fundo */
.mo-highlights {
  background: #f5f5f7;
  padding: 72px 0 96px;
}

.mo-highlights-inner {
  max-width: 1120px;  /* mesmo grid do resto do site */
  margin: 0 auto;
  padding: 0 24px;
}

/* Título “Get the highlights.” */
.mo-highlights-header {
  margin-bottom: 32px;
}

.mo-highlights-header h2 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Linha de cards – carrossel com 1 card muito largo por vez */
.mo-highlight-track {
  display: flex;
  gap: 24px;
  justify-content: center;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 24px;
}

/* CARD RETANGULAR DEITADO, LARGO TIPO IPHONE (OU MAIOR) */
.mo-highlight-card {
  flex: 0 0 min(1040px, 100%);    /* <<< largura quase cheia */
  background: #ffffff;
  border-radius: 40px;
  padding: 44px 64px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); /* texto | vídeo/img */
  align-items: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
  scroll-snap-align: center;
  min-height: 260px;              /* não cresce em altura */
}

/* Texto curtinho (3 palavras) à esquerda */
.mo-highlight-copy {
  max-width: 260px;
}

.mo-highlight-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6e6e73;
  margin-bottom: 10px;
}

.mo-highlight-copy h3 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
}

/* Vídeo / imagem grande à direita */
.mo-highlight-media {
  justify-self: end;
}

.mo-highlight-media video,
.mo-highlight-media img {
  width: 100%;
  max-width: 560px;   /* grande, proporção parecida com o iPhone */
  border-radius: 28px;
  display: block;
  object-fit: cover;
}

/* Dots abaixo do card */
.mo-highlight-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.mo-highlight-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: #d2d2d7;
  padding: 0;
  cursor: default;
}

.mo-highlight-dots button.is-active {
  width: 24px;
  background: #1d1d1f;
}

.mo-highlight-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.mo-highlight-dots {
  display: flex;
  gap: 8px;
}

.mo-highlight-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: #d2d2d7;
  padding: 0;
  cursor: pointer;
}

.mo-highlight-dots button.is-active {
  width: 24px;
  background: #1d1d1f;
}

/* botão play estilo Apple (simples) */
.mo-highlight-play {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: none;
  background: #1d1d1f;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Responsivo – empilha texto e vídeo no mobile */
@media (max-width: 768px) {
  .mo-highlight-card {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    row-gap: 20px;
  }

  .mo-highlight-media {
    justify-self: stretch;
  }

  .mo-highlight-media video,
  .mo-highlight-media img {
    max-width: 100%;
  }

}
