:root {
  --otb-bordo: #7B2C3A;
  --otb-laranja: #F97316;
  --otb-cinza-claro: #E5E7EB;
  --otb-texto: #333333;
  --otb-cinza-aco: #9CA3AF;
  --otb-branco: #FFFFFF;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  background-color: var(--otb-cinza-claro);
  color: var(--otb-texto);
  line-height: 1.6;
}

.otb-header {
  background: var(--otb-bordo);
  color: var(--otb-branco);
  padding: 2rem 1.5rem;
}

.otb-header-inner {
  max-width: 960px;
  margin: 0 auto;
}

.otb-header h1 {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}

.otb-subtitle {
  font-size: 0.95rem;
  opacity: 0.9;
}

.otb-main {
  max-width: 960px;
  margin: 2rem auto 3rem;
  padding: 0 1.5rem;
}

.otb-card {
  background: var(--otb-branco);
  border-radius: 0.5rem;
  padding: 1.5rem 1.6rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e7eb;
}

.otb-card h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--otb-bordo);
}

.otb-card p + p {
  margin-top: 0.5rem;
}

.otb-card ul,
.otb-card ol {
  margin-left: 1.2rem;
  margin-top: 0.5rem;
}

.otb-card li + li {
  margin-top: 0.25rem;
}

.otb-card a {
  color: var(--otb-laranja);
  text-decoration: none;
}

.otb-card a:hover {
  text-decoration: underline;
}

.otb-index ol {
  columns: 2;
  column-gap: 2rem;
}

@media (max-width: 640px) {
  .otb-index ol {
    columns: 1;
  }
}

.otb-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.otb-btn {
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.3rem;
  font-size: 0.9rem;
  cursor: pointer;
  background: var(--otb-laranja);
  color: var(--otb-branco);
  font-weight: 600;
}

.otb-btn-outline {
  background: transparent;
  color: var(--otb-bordo);
  border: 1px solid var(--otb-bordo);
}

.otb-btn:hover {
  filter: brightness(1.05);
}

.otb-btn-outline:hover {
  background: rgba(123, 44, 58, 0.06);
}

/* Rodapé das páginas legais */

.otb-legal-footer {
  background: var(--otb-bordo);
  color: var(--otb-branco);
  text-align: center;
  padding: 1rem 0.5rem;
  font-size: 0.85rem;
}

/* Rodapé geral sugerido (site principal) */

.otb-footer {
  background: var(--otb-bordo);
  color: var(--otb-branco);
  padding: 2rem 1.5rem 1.2rem;
  margin-top: 3rem;
}

.otb-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 2rem;
}

.otb-footer-logo {
  font-weight: 700;
  font-size: 1.4rem;
}

.otb-footer-text {
  font-size: 0.9rem;
  margin-top: 0.4rem;
}

.otb-footer-company {
  margin-top: 0.8rem;
}

.otb-footer-links h4,
.otb-footer-contact h4 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.otb-footer-links ul {
  list-style: none;
}

.otb-footer-links li + li {
  margin-top: 0.25rem;
}

.otb-footer a {
  color: var(--otb-cinza-claro);
  text-decoration: none;
  font-size: 0.9rem;
}

.otb-footer a:hover {
  color: var(--otb-laranja);
}

.otb-footer-bottom {
  max-width: 1100px;
  margin: 1.6rem auto 0;
  border-top: 1px solid rgba(229, 231, 235, 0.3);
  padding-top: 0.8rem;
  text-align: center;
  font-size: 0.8rem;
  color: #f9fafb;
}

@media (max-width: 768px) {
  .otb-footer-inner {
    grid-template-columns: 1fr;
  }
}



/* =========================================
   APP CARD – NOME SEM ABREVIAÇÃO
   ========================================= */

.app-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-card__name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #7B2C3A;
  font-family: "Montserrat", sans-serif;
  line-height: 1.25;
  white-space: normal;
  word-break: break-word;
}


/* =========================================
   LAYOUT DO CATÁLOGO (MAIN + ASIDE)
   ========================================= */

.apps-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 18px;
  padding: 16px 8px 10px 8px;
}

.apps-main {
  padding: 0 6px;
}

.apps-aside {
  padding: 0 6px;
}


/* =========================================
   CTA LATERAL (CARD GRANDE)
   ========================================= */

.cta-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
  background: linear-gradient(180deg, #7B2C3A 0%, #5F1F2C 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.cta-card__top {
  padding: 18px 18px 14px 18px;
}

.cta-card__top h3 {
  margin: 0 0 8px 0;
  font-size: 1.55rem;
  line-height: 1.1;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
}

.cta-card__top p {
  margin: 0 0 12px 0;
  color: rgba(255, 255, 255, 0.88);
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  line-height: 1.45;
}

.cta-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  background: #F97316;
  color: #ffffff;
  border-radius: 999px;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  width: fit-content;
}

.cta-card__btn:hover {
  filter: brightness(0.97);
}

.cta-card__art {
  background: rgba(255, 255, 255, 0.96);
  margin: 12px 12px 12px 12px;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.cta-art-box {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: rgba(123, 44, 58, 0.08);
  border: 1px solid rgba(123, 44, 58, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.cta-art-box svg {
  width: 46px;
  height: 46px;
  color: #7B2C3A;
}


/* =========================================
   RESPONSIVO (CTA DESCE NO MOBILE)
   ========================================= */

@media (max-width: 1100px) {
  .apps-layout {
    grid-template-columns: 1fr;
  }

  .cta-card {
    min-height: 320px;
  }
}

/* =========================================
   FIX — CTA NO LADO DIREITO (DESKTOP)
   ========================================= */

.apps-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  column-gap: 18px;
  row-gap: 18px;
}

/* garante que o conteúdo principal não empurre o grid */
.apps-main {
  min-width: 0;
}

/* o aside deve ocupar a 2ª coluna */
.apps-aside {
  min-width: 0;
}

/* opcional: deixa o CTA "grudado" enquanto desce (efeito bom) */
@media (min-width: 1101px) {
  .apps-aside {
    position: sticky;
    top: 18px;
    align-self: start;
  }
}





/* =========================================
   LAYOUT — MAIN + CAROUSEL (DESKTOP)
   ========================================= */

.apps-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
  padding: 16px 8px 6px 8px;
}

.apps-main {
  min-width: 0;
  padding: 0 6px;
}

.apps-aside {
  min-width: 0;
  padding: 0 6px;
}

.apps-bottom {
  padding: 0 14px 10px 14px;
}

.apps-divider--strong {
  margin: 16px 0 14px 0;
  background: rgba(255, 255, 255, 0.18);
}


/* =========================================
   GRID DOS APPS (BOTTOM COM MAIS COLUNAS)
   ========================================= */

.apps-grid--bottom {
  grid-template-columns: repeat(6, minmax(170px, 1fr));
}


/* =========================================
   APP CARD — NOME SEM ABREVIAÇÃO
   ========================================= */

.app-card__name {
  white-space: normal;
  word-break: break-word;
  overflow: visible;
  text-overflow: clip;
}


/* =========================================
   CAROUSEL — ESTRUTURA
   ========================================= */

.otb-carousel {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
  background: linear-gradient(180deg, #7B2C3A 0%, #5F1F2C 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.otb-carousel__viewport {
  position: relative;
  min-height: 420px;
}

.otb-slide {
  display: none;
  padding: 18px 18px 12px 18px;
}

.otb-slide.is-active {
  display: block;
}


/* =========================================
   CAROUSEL — TEXTO E BOTÃO
   ========================================= */

.otb-slide__top h3 {
  margin: 0 0 8px 0;
  font-size: 1.55rem;
  line-height: 1.1;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
}

.otb-slide__top p {
  margin: 0 0 12px 0;
  color: rgba(255, 255, 255, 0.88);
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  line-height: 1.45;
}

.otb-slide__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  background: #F97316;
  color: #ffffff;
  border-radius: 999px;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  width: fit-content;
}

.otb-slide__btn:hover {
  filter: brightness(0.97);
}


/* =========================================
   CAROUSEL — ÁREA DO BANNER (300x250)
   ========================================= */

.otb-slide__banner {
  background: rgba(255, 255, 255, 0.96);
  margin: 12px 12px 12px 12px;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.otb-banner-box {
  width: 300px;
  height: 250px;
  border-radius: 12px;
  background: rgba(123, 44, 58, 0.08);
  border: 1px solid rgba(123, 44, 58, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.otb-banner-box svg {
  width: 46px;
  height: 46px;
  color: #7B2C3A;
}

.otb-ad-300x250 {
  width: 300px;
  height: 250px;
  border-radius: 12px;
  background: rgba(123, 44, 58, 0.06);
  border: 1px dashed rgba(123, 44, 58, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
}


/* =========================================
   CAROUSEL — DOTS (BOLINHAS)
   ========================================= */

.otb-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px 14px 12px;
}

.otb-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
  transition:
    transform 0.14s ease,
    background 0.14s ease,
    border-color 0.14s ease;
}

.otb-dot:hover {
  transform: scale(1.08);
  border-color: rgba(255, 255, 255, 0.55);
}

.otb-dot.is-active {
  background: #60A5FA;
  border-color: rgba(96, 165, 250, 0.95);
}


/* =========================================
   RESPONSIVO — CAROUSEL DESCE NO MOBILE
   ========================================= */

@media (max-width: 1100px) {
  .apps-layout {
    grid-template-columns: 1fr;
  }

  .apps-grid--bottom {
    grid-template-columns: repeat(3, minmax(160px, 1fr));
  }
}

@media (max-width: 820px) {
  .apps-grid--bottom {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }

  .otb-carousel__viewport {
    min-height: 360px;
  }
}

@media (max-width: 520px) {
  .apps-grid--bottom {
    grid-template-columns: 1fr;
  }

  .otb-slide__banner {
    padding: 10px;
  }

  .otb-banner-box,
  .otb-ad-300x250 {
    width: 100%;
    height: 250px;
  }
}

