/* =========================
   Variáveis e base
   ========================= */
:root{
  --primary: #06b6d4;
  --primary-700: #0891b2;
  --dark-900: #0b1e2d;
  --dark-800: #10283b;
  --text: #e6eef5;
  --muted: #9fb2c3;
  --whatsapp-green: #25D366;
  --nav-height: 100px; /* atualizado via JS no index.html */
  --brand-max-desktop: 110px; /* ajuste aqui se quiser ainda maior */
  --brand-max-mobile: 82px;
}

*,
*::before,
*::after{ box-sizing: border-box; }

html, body{ height: 100%; }

body{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--text);
  background: #0b1520;
  line-height: 1.5;
}

/* =========================
   Header / Navbar
   ========================= */
.bg-header-motolink{
  background: linear-gradient(180deg, var(--dark-900), var(--dark-800));
}

.navbar{
  transition: box-shadow .2s ease, background-color .2s ease, padding .2s ease;
}

.navbar .nav-link{
  color: #cfe3f2;
  font-weight: 500;
  letter-spacing: .3px;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus{
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Logo grande porém responsiva */
.brand-logo{
  height: clamp(64px, 10vh, var(--brand-max-desktop));
}
@media (max-width: 991.98px){
  .brand-logo{
    height: clamp(56px, 9vh, var(--brand-max-mobile));
  }
}

/* leve respiro vertical */
#mainNav.navbar{
  padding-top: .25rem;
  padding-bottom: .25rem;
}

/* =========================
   Botões custom
   ========================= */
.btn-primary{
  background-color: var(--primary);
  border-color: var(--primary);
}
.btn-primary:hover{ background-color: var(--primary-700); border-color: var(--primary-700); }

.btn-outline-light{
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn-outline-light:hover{
  color: #0b1520;
  background: #fff;
  border-color: #fff;
}

.btn-whatsapp-custom{
  background-color: var(--whatsapp-green);
  color: #fff;
  border: 0;
}
.btn-whatsapp-custom:hover{
  filter: brightness(0.95);
  color: #fff;
}

/* =========================
   HERO / HOME
   ========================= */

/* A section não fica escondida atrás da navbar */
#home{
  position: relative;
  overflow: hidden;
  /*padding-top: var(--nav-height);*/
  min-height: calc(100vh - var(--nav-height));
  color: #fff;
}

/* Carrossel ocupa exatamente a área abaixo da navbar */
.hero-carousel{
  position: absolute;
  inset: 0;
  height: calc(100vh - var(--nav-height));
  z-index: 0; /* fundo */

}

/* Conteúdo em primeiro plano */
/* centraliza o conteúdo do herói no eixo x e y */
.hero-content{
  position: relative;            /* já está assim */
  z-index: 3;                    /* acima do overlay */
  min-height: calc(100vh - var(--nav-height));   /* ocupa a área do herói */
  display: flex;
  align-items: center;           /* centro vertical */
  justify-content: center;       /* centro horizontal */
}

.hero-content .row{ width: 100%; } /* mantém grid bootstrap ocupando largura */
@media (min-width: 992px){
  .hero-content{
    min-height: min(820px, calc(100vh - var(--nav-height)));
  }
}


/* Imagens do carrossel sem distorcer e sem “super zoom” fora da área */
.hero-carousel .carousel-item{ height: 100%; }
.hero-carousel .carousel-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;          /* preenche o quadro sem distorcer */
  object-position: center;    /* foco padrão */
  filter: brightness(0.7) saturate(1.1);
}

/* Overlay sutil para legibilidade do texto */
.hero-overlay{
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 50% 35%, rgba(0,0,0,.20) 0%, rgba(0,0,0,.75) 100%);
  z-index: 2;               /* acima do carrossel, abaixo do conteúdo */
  pointer-events: none;     /* não bloqueia cliques nos controles/indicadores */
}

/* Limite de altura em telas muito grandes (melhor enquadramento) */
@media (min-width: 992px){
  .hero-carousel{ height: min(820px, calc(100vh - var(--nav-height))); }
  #home{ min-height: min(820px, calc(100vh - var(--nav-height))); }
}

/* Utilitários para reposicionar foco por slide específico */
.pos-top-40{ object-position: 50% 40%; }
.pos-top-30{ object-position: 50% 30%; }
.pos-bottom-40{ object-position: 50% 70%; }

/* =========================
   Dots e controles do carrossel
   ========================= */
.carousel-indicators{
  z-index: 4; /* acima do overlay */
}
.carousel-indicators [data-bs-target]{
  width: 10px; height: 10px; border-radius: 50%;
  background-color: rgba(255,255,255,.55);
}
.carousel-indicators .active{
  background-color: var(--primary);
}
.carousel-control-prev-icon,
.carousel-control-next-icon{
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.6));
}

/* =========================
   Seções gerais
   ========================= */
.section-title{
  color: #fff;
  font-weight: 800;
  letter-spacing: .5px;
}
.section-subtitle{
  color: var(--muted);
}

/* Cartões/boxes */
.card{
  background: linear-gradient(180deg, #0f2233, #0d1c2a);
  color: #dfeaf3;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
}

/* Rodapé */
footer{
  background: #0b1a27;
  color: #a9c2d7;
}

/* =========================
   Helpers
   ========================= */
.text-primary-ml{ color: var(--primary) !important; }
.bg-dark-ml{ background: var(--dark-900) !important; }
.shadow-soft{ box-shadow: 0 8px 24px rgba(0,0,0,.25); }

/* Pequena melhora no foco do link com teclado */
a:focus-visible, button:focus-visible{
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
/* Define o texto da section toda como branco */
.section-escura,
.section-escura h2,
.section-escura h3,
.section-escura h4,
.section-escura h5,
.section-escura p,
.section-escura .card-title,
.section-escura .card-text,
.section-escura small {
  color: #fff !important;
}

/* se quiser dar contraste suave no texto secundário */
.section-escura .card-text {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: larger;
}

/* mantém o ícone de aviso em amarelo */
.section-escura .bi-exclamation-triangle {
  color: #ffc107 !important;
}

/* garante que o fundo do card não escureça o texto */
.section-escura .card {
  background: rgba(255,255,255,0.05);
  border: none;
}
/* evita que a seção fique escondida sob a navbar fixa */
section[id]{
  scroll-margin-top: calc(var(--nav-height) + 16px);
}

/* opcional: rolagem suave */
html{ 
    scroll-behavior: smooth; 
}
#desafios {
  margin-top: 80px; /* afasta a section anterior */
}
/* Tema claro — ideal para seções com fundo branco */
.section-clara,
.section-clara h2,
.section-clara h3,
.section-clara h4,
.section-clara h5,
.section-clara p,
.section-clara li,
.section-clara small {
  color: #0b1520 !important;   /* azul escuro do seu tema, excelente contraste */
}

/* Descrição mais suave */
.section-clara p,
.section-clara li,
.section-clara small {
  color: #455a64 !important;   /* cinza escuro elegante */
}

/* Destaques (números grandes) */
.section-clara .text-brand-accent {
  color: #06b6d4 !important; /* ciano Motolink */
}

/* Títulos */
.section-clara h2,
.section-clara h3 {
  color: #0b1520 !important;  /* mantém forte e legível */
}

/* Cards e boxes dentro dessa section */
.section-clara .border {
  border-color: rgba(0,0,0,0.15) !important;
}
/* Azul igual à faixa CADASTRO E PARCERIAS */
.bg-proposta {
  background-color: #044E86;   /* Mesma cor da imagem */
  color: #ffffff;              /* Texto branco por padrão */
}

/* Títulos */
.bg-proposta h2,
.bg-proposta h3,
.bg-proposta h4,
.bg-proposta h5 {
  color: #0a17c9 !important;
}

/* Texto / parágrafo */
.bg-proposta p,
.bg-proposta li,
.bg-proposta small {
  color: #e8f4ff !important;   /* branco suave para leitura */
}

/* Destaques */
.bg-proposta .text-brand-accent {
  color: #06b6d4 !important;   /* ciano Motolink */
}

/* Cards dentro dessa section com bordas claras */
.bg-proposta .border {
  border-color: rgba(255,255,255,0.25) !important;
}
/* LARGURA DO CARD — agora igual aos cards superiores */
.proposta-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.15);
    max-width: 1320px; /* AUMENTADO — agora alinha perfeitamente com o grid */
    margin: auto;
}

/* REDUZIR A IMAGEM EM 20% */
.proposta-img {
    width: 80%; /* antes era 100% */
    border-radius: 30px;
    object-fit: cover;
}

/* TÍTULO */
.text-proposta-title {
    font-size: 2.2rem;
    color: #053A67;
    line-height: 1.2;
    font-weight: 800;
}

.text-proposta-title span {
    color: #0A65C0;
}

/* TEXTO MELHORADO — mais escuro e mais legível */
.proposta-text {
    color: #2e3b4e !important;
    font-size: 1.15rem;
    line-height: 1.65;
}

/* Section de fundo azul */
.bg-proposta {
    background-color: #044E86;
    padding-top: 90px;
    padding-bottom: 90px;
}
/* Deixa TODO o texto da seção proposta bem legível */
#proposta {
  color: #1f2933; /* cinza bem escuro */
}

/* Garante que os parágrafos não fiquem desbotados */
#proposta p {
  color: #06023f !important;
}

/* Se ainda assim parecer “apagado”, força a opacidade */
#proposta p,
#proposta li,
#proposta span {
  opacity: 1 !important;
}
/* Section Trajetória – mantém fundo azul do site */
.section-trajetoria {
  background-color: #0B1520;
  position: relative;
}

/* Card branco – agora com largura cheia do container */
.trajetoria-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 3rem 3rem 2.5rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  width: 100%;           /* ocupa toda a largura do .container */
  margin: 0 auto 3rem;   /* centralizado e com espaço para a faixa azul */
}

/* Texto dentro do card mais escuro para leitura */
.section-trajetoria p,
.section-trajetoria .trajetoria-text {
  color: #3a4856;
  font-size: larger;
}

/* Itens da linha do tempo */
.trajetoria-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trajetoria-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 6px solid #00518c;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 0.75rem;
  background: #ffffff;
}

/* setinha à direita do círculo */
.trajetoria-circle::after {
  content: "";
  position: absolute;
  right: -18px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 18px solid #00518c;
}

.trajetoria-year {
  font-weight: 700;
  color: #00518c;
  font-size: x-large;
}

.trajetoria-resumo {
  max-width: 900px;
  margin: 0 auto;
  
}

/* Faixa azul: Cadastro e Parcerias */
.trajetoria-parcerias {
  background-color: #00518c;
  color: #ffffff;
  padding: 1.75rem 0;
}

.trajetoria-parcerias h3 {
  letter-spacing: 0.05em;
}

.trajetoria-parcerias-list {
  list-style: none;
  padding-left: 0;
  font-size: 0.95rem;
}

.trajetoria-parcerias-list li::before {
  content: "• ";
}

/* Responsivo */
@media (max-width: 991.98px) {
  .trajetoria-card {
    padding: 2.25rem 1.5rem;
  }
  .trajetoria-circle {
    width: 72px;
    height: 72px;
  }
  .trajetoria-circle::after {
    right: -14px;
    border-top-width: 8px;
    border-bottom-width: 8px;
    border-left-width: 14px;
  }
}

@media (max-width: 575.98px) {
  .trajetoria-card .row > div {
    margin-bottom: 0.75rem;
  }
}
/* Section Parceiros (mesma cor de fundo que a trajetoria) */
.section-parceiros {
  background-color: #00518c;   /* mantém o azul Motolink */
  color: #ffffff;
}

/* Círculos dos parceiros */
.partner-badge {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  background: rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.partner-name {
  font-size: 1.3rem;
  line-height: 1.3;
}

/* Efeito hover: sobe um pouquinho e destaca */
.partner-badge:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  background: rgba(0, 0, 0, 0.18);
}

/* Ajustes responsivos */
@media (max-width: 575.98px) {
  .partner-badge {
    width: 150px;
    height: 150px;
    padding: 1rem;
  }
  .partner-name {
    font-size: 0.8rem;
  }
}
/* Section Clientes */
.clientes-section {
    background: #021321; /* mantém clima do site, pode trocar p/ bg claro se quiser */
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* um “fundinho” de rede com bolhas */
.clientes-section::before {
    content: "";
    position: absolute;
    inset: -20%;
    opacity: 0.12;
    background-image:
        radial-gradient(circle at 10% 20%, #ffffff 0, transparent 40%),
        radial-gradient(circle at 80% 0%, #ffffff 0, transparent 45%),
        radial-gradient(circle at 30% 90%, #ffffff 0, transparent 45%);
    pointer-events: none;
}

/* garante que conteúdo fique acima do fundo */
.clientes-section .container {
    position: relative;
    z-index: 1;
}

/* “Mapa” de logos */
.clientes-mapa {
    position: relative;
    width: 520px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

/* bolhas de logo */
.cliente-bubble {
    position: absolute;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.cliente-bubble img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

/* bolha Motolink central */
.cliente-centro {
    width: 130px;
    height: 130px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #00558e;
    padding: 18px;
}

/* animação no hover */
.cliente-bubble:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

/* posicionamento das logos em volta – pode ajustar fino se quiser */
.cliente-1  { top: 4%;   left: 50%; transform: translateX(-50%); }
.cliente-2  { top: 16%;  left: 15%; }
.cliente-3  { top: 18%;  right: 8%; }
.cliente-4  { top: 40%;  right: 0; }
.cliente-5  { top: 65%;  right: 8%; }
.cliente-6  { top: 80%;  left: 50%; transform: translateX(-50%); }
.cliente-7  { top: 65%;  left: 5%; }
.cliente-8  { top: 40%;  left: 0; }
.cliente-9  { top: 30%;  left: 35%; }
.cliente-10 { top: 30%;  right: 32%; }
.cliente-11 { bottom: 8%; left: 25%; }

/* responsivo: em telas menores vira grade */
@media (max-width: 991.98px) {
    .clientes-mapa {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
        aspect-ratio: auto;
    }

    .cliente-bubble {
        position: static;
        transform: none !important;
        width: 88px;
        height: 88px;
    }

    .cliente-centro {
        order: -1;            /* Motolink aparece primeiro */
        width: 110px;
        height: 110px;
    }
}
/* Texto */
.clientes-descricao {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.92);
    max-width: 480px;
}

/* Carrossel */
/* =========================
   Section Clientes
   ========================= */

/* Section fundo escuro */
.clientes-section {
  background: linear-gradient(135deg, #0e1621, #0d1a26);
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Título com partes coloridas */
.section-title {
  font-size: 2.4rem;
  color: #ffffff;
}

.section-title .txt-azul {
  color: #00c8ff;
}

/* Subtítulo */
.clientes-subtitle {
  color: #dce4eb;
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Container das logos */
.logos-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

/* Cada logo */
.logo-item img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 10px;
  transition: transform .25s ease;
}

/* Efeito hover */
.logo-item img:hover {
  transform: scale(1.15);
}
/* Título padrão Motolink */
.title-motolink {
    text-align: center;
    font-weight: 800;
    font-size: 2.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 1.2rem;
}

/* Parte destacada (azul claro Motolink) */
.title-highlight {
    color: #00c7ff !important; /* Azul neon Motolink */
}
/* Section Parceiros reajustada */
.section-parceiros {
  background-color: #00518c;
  padding-top: 70px;
  padding-bottom: 70px;
  font-size: larger;
}

/* Círculos uniformes */
.partner-badge {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255,255,255,0.05);
  padding: 1.25rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
  transition: transform .25s ease, box-shadow .25s ease;
}

.partner-badge:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

/* Texto centralizado bonito */
.partner-name {
  font-size: 1.05rem;
  line-height: 1.25rem;
  color: #fff;
}

/* Responsivo */
@media (max-width: 575px) {
  .partner-badge {
    width: 130px;
    height: 130px;
    padding: 1rem;
  }

  .partner-name {
    font-size: 0.85rem;
  }
}

/* Section Motivos para Contratar */
.motivos-section {
  background: radial-gradient(circle at 0 0, #12263a 0, #021321 45%, #021321 100%);
  position: relative;
  color: #ffffff;
}

/* leve textura de rede, similar a outras artes */
.motivos-section::before {
  content: "";
  position: absolute;
  inset: -20%;
  opacity: 0.12;
  background-image:
    radial-gradient(circle at 10% 20%, #ffffff 0, transparent 45%),
    radial-gradient(circle at 80% 0%, #ffffff 0, transparent 50%),
    radial-gradient(circle at 30% 90%, #ffffff 0, transparent 50%);
  pointer-events: none;
}

.motivos-section .container {
  position: relative;
  z-index: 1;
}

/* Card branco dos motivos */
.motivo-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Título do card */
.motivo-titulo {
  font-size: larger;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #053a67;
  margin-bottom: 0.85rem;
}

/* Texto do card */
.motivo-texto {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #3a4856;
  margin-bottom: 0;
}

/* Pequena interação no hover */
.motivo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
}

/* Ajustes responsivos */
@media (max-width: 575.98px) {
  .motivo-card {
    padding: 1.5rem 1.25rem;
  }
  .motivo-titulo {
    font-size: 0.95rem;
  }
  .motivo-texto {
    font-size: 0.9rem;
  }
}
/* =========================
   Missão, Visão e Valores
   ========================= */

.missao-section {
  background: #00518c;              /* leve cinza-azulado para destacar dos blocos escuros */
  position: relative;
}

.missao-section .container {
  position: relative;
  z-index: 1;
}

/* cards */
.missao-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 2rem 1.75rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(5, 58, 103, 0.06);
  display: flex;
  flex-direction: column;
}

/* título dentro do card */
.missao-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #053a67;
  margin-bottom: 0.75rem;
}

/* texto do card */
.missao-card-text {
  font-size: 0.96rem;
  line-height: 1.7;
  color: #3a4856;
  margin-bottom: 0;
}

/* efeito de hover suave */
.missao-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  transition: all 0.25s ease;
}
.section-subtitle {
  text-align: center;
  color: #ffffff;
  font-size: larger;
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

/* título geral já usa a classe global title-motolink */
/* Área completa dos diferenciais */
#diferenciais p {
    font-size: 1.05rem;
    color: #e4e8ee;
    line-height: 1.55;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: .6rem;
}

/* Destaque suave e elegante para o título de cada diferencial */
#diferenciais strong {
    color: #0c0c0f; /* seu azul acento */
    font-weight: 700;
    letter-spacing: .5px;
    min-width: 190px;
    display: inline-block;
}

/* Pontinho estilizado antes de cada item (pode remover se não quiser) */
#diferenciais p::before {
    content: "•";
    color: #00c7ff;
    font-size: 1.3rem;
    line-height: 1;
    margin-top: .25rem;
}
