:root {
    --azul-escuro: #043561;    /* Azul principal (títulos, header) */
    --cinza-claro: #d4d4d4;    /* Fundo */
    --cinza-medio: #d9d9d9;    /* Bordas, detalhes */
    --laranja: #f44e00;        /* Destaque / CTA */
    --preto: #111111;
}

html {
  scroll-behavior: smooth;
}


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

}

body {
    font-family: 'Inter', sans-serif;
    color: var(--preto);
    
}

h1, h2{
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

.topo-bg {
    background-image: url("img/img-modelos/1.jpg");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-attachment: fixed;

}

.topo-bg::before {
    content: "";
    position: absolute;
    inset: 0;

    /* COR PROFISSIONAL CONTÁBIL */
    background: rgba(51, 55, 104, 0.5);

    z-index: 1;
}

.header,
.hero {
    position: relative;
    z-index: 2;
    margin-left: 5%;
    margin-right: 5%;
    
}

.hero {
    padding-top: 40px;
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-bar {
    
    
    padding: 0px 120px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-bar-logo img {
    height: 120px;
    width: auto;
    padding-top: 10px;
    
}

.nav-bar-menu {
    list-style: none;
    display: flex;
    gap: 24px;
    justify-content: center;
    font-size: 22px;
}

.nav-bar-menu a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: 0.2s;
}

.nav-bar-menu a:hover {
    color: #FF7A00;
}

button {
    background: var(--laranja);
    color: white;
    border: 2px solid var(--laranja);

    padding: 15px 30px;
    border-radius: 6px;

    font-size: 20px;
    font-weight: 600;

    cursor: pointer;
    transition: all 0.3s ease; /* animação suave */
    
}

button:hover {
    filter: brightness(1.1);
    color: var(--laranja);
    background: transparent;
}

.hero-container {
    width: 100%;
    padding: 0 120px;
    display: flex;
    align-items: center;
}

.hero-text {
    max-width: 650px;
}

.hero-text h1 {
    font-size: 56px;
    color: white;
    line-height: 1.1;
    margin-bottom: 20px;
    
    
}

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

.hero-text p {
    font-size: 18px;
    color: white;
    margin-bottom: 24px;
    max-width: 520px;
}

.servicos {
    padding: 80px 10%;
    background: #fff;
    text-align: center;
    gap: 60px;
    padding: 80px 10%;
    background: #fff;
}

.servicos-texto h2 {
    font-size: 36px;
    color: var(--azul-escuro);
    margin-bottom: 12px;
}

.linha {
    display: block;
    width: 300px;
    height: 4px;
    background: var(--laranja);
    margin: 0 auto 50px auto;
    border-radius: 3px;
}


.servicos-pg{
  padding: 50px 120px;
  
}

.servicos-texto .tag {
    background: #ff7a00;
    color: #fff;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}

.servicos-texto h1 {
    font-size: 50px;
    color: var(--azul-escuro);
    margin-bottom: 20px;
}

.servicos-texto p {
    color: var(--azul-escuro);
    line-height: 1.7;
}

/* Grid dos cards */
.servicos-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}


/* Card individual */
.card-servico {
    border: none;
    padding: 40px 20px;
    text-align: center;
    background: #e7e6e6;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: 0.3s ease;
    
}

/* Ícone */
.card-servico .icone {
    font-size: 40px;
    margin-bottom: 20px;
}

/* Texto */
.card-servico h3 {
    color: var(--azul-escuro);
    font-size: 18px;
    margin-bottom: 10px;
}

.card-servico p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-top: 10px;
}


.servicos button {
    margin-top: 50px;
    padding: 14px 40px;
    background: var(--laranja);
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.servicos button a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}


.quem-somos {
    
    padding: 80px 10%;
    text-align: center;
}

/* OVERLAY ESCURO */

.quem-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 30, 60, 0.8);
}

/* CONTEÚDO */

.quem-conteudo {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    color: white;
}

/* TÍTULO */

.quem-conteudo h2 {
    font-size: 42px;
    margin-bottom: 10px;
}

/* LINHA DECORATIVA */

.linha {
    display: block;
    width: 300px;
    height: 4px;
    background: var(--laranja);
    margin: 0 auto 30px auto;
    border-radius: 3px;
}

/* SUBTÍTULO */

.quem-sub {
    font-size: 18px;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* TEXTO PRINCIPAL */

.quem-texto {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.85;
}


/* Linha vertical */
.contador-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: #ddd; /* cor da linha */
}

/* Remove o fundo cinza e dá espaçamento */
.links-uteis {
  background: white; /* tira o cinza */
  padding: 30px 0px;
  width: 100%;
}

/* Wrapper que realmente centraliza o conteúdo */
.links-wrapper {
  max-width: 1000px; /* controla a largura */
  margin: 0 auto; /* centraliza na página */
  text-align: center;
}

/* Título centralizado */
.links-uteis h2 {
  font-size: 45px;
  font-weight: 600;
  margin-bottom: 30px;
  padding-bottom: 20px;
  color: var(--azul-escuro);
}

.links-wrapper {
  max-width: 800px; /* controla a largura total do bloco */
  margin: 0 auto;   /* isso é o principal para CENTRALIZAR */
  text-align: center;
}

.links-container {
  display: flex;
  justify-content: space-between; /* distribui as 3 colunas dentro do espaço central */
  gap: 120px; /* espaço entre as colunas */
}

.links-coluna {
  width: auto;      /* deixa a coluna do tamanho do conteúdo */
  text-align: center; /* mantém os links alinhados à esquerda dentro da coluna */
}


/* Links */
.links-coluna a {
  display: block;
  text-decoration: none;
  color:var(--azul-escuro);
  font-size: 16px;
  margin-bottom: 8px;
}

.links-coluna a:hover {
  text-decoration: underline;
}

.conhecimento {
  padding: 60px 0;
  text-align: center;
  background: #ffffff;
}

.conhecimento h2 {
  font-size: 45px;
  font-weight: 600;
  margin-bottom: 45px;
  color: var(--azul-escuro);
}

.videos-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.video-card {
  width: 33.33%;
}

.video-card iframe {
  width: 100%;
  height: 220px;
  border-radius: 6px;
}

.video-titulo {
  margin-top: 10px;
  font-size: 14px;
  color: var(--azul-escuro);
  line-height: 1.4;
  text-align: left;
}

.btn-wrapper {
  margin-top: 30px;
}

.btn-ver-mais {
  display: inline-block;
  background: var(--laranja); /* mesmo laranja do seu site */
  color: white;
  padding: 10px 28px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 2px;
}

#clientes {
  text-align: center;
  background-color: white;
  padding: 20px;
}

.titulo-reveal {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--azul-escuro);
}

.clientes-slider {
  overflow: hidden;
  width: 100%;
  margin-top: 40px;
}

.clientes-track {
  display: flex;
  gap: 40px;
  transition: transform 0.6s ease;
}

.clientes-track img {
  width: 300px;
  height: 100px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.8;
  transition: 0.3s;
}

.clientes-track img:hover {
  opacity: 1;
  transform: scale(1.05);
}


/* ===== FAQ ===== */

.faq {
  background: #ffffff;
  padding: 80px 0;
}

.faq .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.faq-header {
  text-align: center;
  margin-bottom: 50px;
}

.faq-header h2 {
  font-size: 36px;
  color: #0d3b66; /* Azul do seu site */
  margin-bottom: 15px;
}

.faq-header h2 span {
  color: #1b6ca8;
}

.faq-header p {
  max-width: 600px;
  margin: 0 auto;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

/* Caixas */

.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.faq-pergunta {
  width: 100%;
  padding: 20px;
  font-size: 16px;
  font-weight: 600;
  color: #0d3b66;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-pergunta .icone {
  font-size: 22px;
  transition: 0.3s;
}

.faq-resposta {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 20px;
}

.faq-resposta p {
  padding: 15px 0 20px;
  color: #555;
  line-height: 1.6;
}


.porque-nos {
  background:var(--cinza-claro);
  padding-top: 60px; /* MENOR espaço no topo */
  padding-bottom: 80px;
  font-family: Arial, sans-serif;
  position: relative;
}


.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.conteudo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.tag {
  background: var(--laranja);
  color: white;
  padding: 6px 12px;
  font-size: 12px;
  display: inline-block;
  margin-bottom: 10px;
}

.itens {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check {
  color: white;
  font-size: 10px;
  font-weight: bold;
  background-color: var(--laranja);
  padding: 5px 10px
}

.item h3 {
  margin: 0;
  font-size: 20px;
  color: var(--azul-escuro);
}

.item p {
  margin: 5px 0 0;
  color: #555;
}

/* Responsivo */
@media (max-width: 900px) {
  .conteudo {
    grid-template-columns: 1fr;
  }

  .video iframe {
    height: 250px;
  }
}

.video{
    margin-top: 20px;
}

.depoimentos {
  padding: 80px 35%;
  text-align: center;
  background: white;
}

.depoimentos h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 45px;
  margin-bottom: 40px;
}

.slider {
  max-width: 900px;
  margin: auto;
  position: relative;
}

.slides {
  position: relative;
  min-height: 250px;
}

.slide {
  display: none;
  animation: fade 1s ease-in-out;
}

.slide.ativo {
  display: block;
}

.slide p {
  font-size: 18px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 30px;
}

.cliente {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.avatar {
  width: 60px;
  height: 60px;
  background: #2a1b5d;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
}

.info strong {
  display: block;
  font-size: 16px;
}

.info span {
  font-size: 14px;
  color: #777;
}

/* Bolinhas */
.dots {
  margin-top: 25px;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background: #ccc;
  border-radius: 50%;
  display: inline-block;
  transition: 0.3s;
}

.dot.ativo {
  background: #2a1b5d;
}

/* Animação suave */
@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.footer {
  color: white;
  padding: 60px 50px;
}

/* CTA do topo */
.cta-contato {
  text-align: center;
  margin-bottom: 60px;
}

.cta-contato h2 {
  color: #fff;
  font-size: 35px;
  margin-bottom: 10px;
}

.btn-whatsapp {
  display: inline-block;
  background: #ff7a18;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}

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

/* LOGO (esquerda) */
.footer-logo .logo-footer {
  max-width: 220px;
}

/* LINKS (centro) */
.footer-links-wrapper {
  display: flex;
  justify-content: center;
}

.footer-links {
  list-style: none;
  padding: 0;
  text-align: center;
}

.footer-links li, h3 {
  margin-bottom: 10px;
}

.footer-links a {
  color: white;
  text-decoration: none;
}

/* MAPA (direita) */
.footer-map h3 {
  margin-bottom: 10px;
  text-align: center;
}

/* RESPONSIVO (celular) */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links-wrapper {
    justify-content: center;
  }

  .footer-logo {
    margin-bottom: 20px;
  }
}

.footer-bottom {
  background: var(--laranja); /* laranja igual ao seu print */
  text-align: center;
  padding: 12px 0;
  
}

.footer-bottom p {
  color: #ffffff;
  font-size: 14px;
  margin: 0;
}

.dev-link {
  color: #ffffff;
  text-decoration: none
}

.dev-link:hover {
  opacity: 0.8;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* deixa alinhado à esquerda */
  gap: 15px;
}

/* Container dos ícones */
.footer-social {
  display: flex;
  gap: 10px;
}

/* Container dos ícones (embaixo da logo) */
.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

/* Botões laranja */
.social-icons .icon {
  width: 36px;
  height: 36px;
  background: var(--laranja); /* laranja do site */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px; /* pode trocar por 4px se quiser mais quadrado */
  text-decoration: none;
  font-size: 18px;
}

/* Efeito hover (opcional) */
.social-icons .icon:hover {
  opacity: 0.85;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ======== MENU RESPONSIVO ======== */
@media (max-width: 900px) {
  .nav-bar {
    flex-direction: column;
    padding: 10px 16px;
  }

  .nav-bar-logo img {
    height: 150px;
  }

  .nav-bar-menu {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    margin: 15px 0;
  }

  .btn-orcamento :single-button {
    width: 100%;
  }

  .btn-solicitar {
    width: 80%;
    margin-bottom: 5px;
  }
}

@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0;
  }

  .hero-text h1 {
    font-size: 42px;
  }

  .hero-image {
    justify-content: center;
  }

  .hero-image img {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .segmentos-container {
    grid-template-columns: 1fr;
    top: 0;
  }
}

@media (max-width: 900px) {
  .servicos {
    grid-template-columns: 1fr;
    padding: 60px 20px;
  }

  .servicos-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .links-container {
    flex-direction: column;
    gap: 30px;
  }

  .links-wrapper {
    padding: 0 20px;
  }
}

@media (max-width: 900px) {
  .videos-container {
    flex-direction: column;
    gap: 30px;
  }

  .video-card {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .conteudo {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* Container dos 3 itens */
  .itens {
    max-width: 420px;   /* limita largura para não espalhar */
    margin: 0 auto;     /* centraliza o conjunto */
  }

  /* Cada linha (✔ + texto) */
  .item {
    display: grid;
    grid-template-columns: 40px 1fr; /* coluna fixa pro V + texto */
    align-items: flex-start;
    gap: 12px;
  }

  /* Centraliza o ✔ dentro da coluna fixa */
  .item .check {
    display: flex;
    justify-content: center;
  }
}


@media (max-width: 900px) {
  .depoimentos {
    padding: 60px 16px;
  }
}

@media (max-width: 900px) {
  .clientes-track img {
    width: 160px;
    height: 60px;
  }
}

@media (max-width: 900px) {
  .footer {
    padding: 50px 16px;
  }

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

  .footer-logo {
    align-items: center;
  }

  .social-icons {
    justify-content: center;
  }

  .contador-container{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px; /* espaçamento entre os números */
  }

  .contador-item {
    width: auto;
    position: unset;
  }
}

/* ===== Botão WhatsApp Flutuante ===== */

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transition: all 0.3s ease;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* Mobile */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
  }
}

.noticia {
  border-bottom: 1px solid #ddd;
  padding: 20px 0;
}

.noticia h3 {
  font-size: 20px;
  color: var(--azul-escuro);
  margin-bottom: 10px;
}

.noticia p {
  font-size: 15px;
  color: #555;
}

.noticia a {
  display: inline-block;
  margin-top: 10px;
  color: var(--azul-escuro);
  font-weight: bold;
  text-decoration: none;
}

.noticias {
  padding: 60px 0;
  background: #f7f7f7;
}

.noticias h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--azul-escuro);
}

.noticia-item {
  background: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.noticia-item:hover {
  transform: translateY(-3px);
}

.noticia-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #0c2d48;
}

.noticia-item p {
  font-size: 14px;
  color: #555;
}

.noticia-item a {
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
  color: #1a7f5a;
  text-decoration: none;
}


#lista-noticias {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.noticia-item {
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  transition: 0.3s ease;
  border-top: 4px solid #1a7f5a;
}

.noticia-item:hover {
  transform: translateY(-5px);
}

.noticia-item h3 {
  font-size: 18px;
  color: #0c2d48;
  margin-bottom: 10px;
  line-height: 1.4;
}

.noticia-item p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.noticia-item a {
  display: inline-block;
  margin-top: 15px;
  color: #1a7f5a;
  font-weight: 600;
  text-decoration: none;
}

.noticia-item a:hover {
  text-decoration: underline;
}

.noticia-item h3 {
  font-size: 18px;
  color: #0c2d48;
  margin-bottom: 10px;
  line-height: 1.4;

  display: -webkit-box;
  
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.data-noticia {
  font-size: 13px;
  color: #888;
  display: block;
  margin-bottom: 8px;
}

.bot-bg {
    background-image: url("img/img-modelos/2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.bot-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(4, 26, 68, 0.92); /* azul institucional */
    z-index: 1;
}

.quem-somos,
.footer {
    background: transparent;
    position: relative;
    z-index: 2;
}

.contatos {
  padding-top: 30px;
    text-align: end;
}

.quem-somos-nos {
    position: relative;
    padding: 120px 10%;
    text-align: center;
    background-image: url(img/img-modelos/3.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}