/* Ajustes do padrão (menu em português, mais itens que o template) */
.main-menu .navigation > li > a {
  white-space: nowrap;
}
.main-menu .navigation > li > ul > li > a,
.mobile-menu .navigation li > a {
  text-transform: none;
}

/* Cabeçalho: menu, contatos e botão sempre em uma única linha */
.header-style-one .main-box .nav-outer {
  flex-wrap: nowrap;
  gap: 24px;
}
.header-style-one .main-box .outer-box {
  flex-wrap: nowrap;
  gap: 22px;
}
.main-menu .navigation {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}
.main-menu .navigation > li {
  float: none;
  margin-right: 26px;
}
.main-menu .navigation > li:last-child {
  margin-right: 0;
}
.main-menu .navigation > li > a {
  font-size: 15px;
}
.header-style-one .main-box .ui-btn-outer .header-contact {
  gap: 18px;
}
.header-style-one .main-box .ui-btn-outer .header-contact .social-icon {
  gap: 14px;
  padding-right: 18px;
}
.header-style-one .main-box .ui-btn-outer .header-contact .social-icon a {
  font-size: 16px;
}
.header-style-one .main-box .ui-btn-outer .header-contact .info-btn {
  font-size: 15px;
  white-space: nowrap;
}
.header-style-one .main-box .btn-style-one {
  padding: 14px 24px;
  font-size: 15px;
  white-space: nowrap;
}
@media (max-width: 1299.98px) {
  .main-menu .navigation > li > a {
    font-size: 14px;
  }
}

/* Libera espaço para o menu em telas menores */
@media (max-width: 1599.98px) {
  .main-menu .navigation > li {
    margin-right: 20px;
  }
  .header-style-one .main-box .ui-btn-outer .header-contact .social-icon {
    display: none;
  }
}
@media (max-width: 1299.98px) {
  .main-menu .navigation > li {
    margin-right: 16px;
  }
  .header-style-one .main-box .outer-box > .theme-btn {
    display: none;
  }
}

/* Português: o template força "Cada Palavra Maiúscula" (capitalize) nestes elementos */
/*Btn Style One*/
.btn-style-one,
.main-menu .navigation > li > ul > li > a,
.main-menu .navigation > li > ul > li > ul > li > a,
.mobile-menu .navigation li > a,
.hero-2 .hero-content .hero-text,
.hero-3 .hero-content .text-item p,
.hero-6 .banner-content .text-item p,
.hero-7 .banner-content .title,
.hero-7 .banner-content .banner-text,
.feature-block-one .inner-box .content-box .feature-title,
.about-content-1 .icon-items p,
.about-content-3 .skill-feature .progress-value,
.about-section-three .content-colmun .content-box .sec-title .text,
.about-section-three .content-colmun .content-box .feature-box .feature-title,
.about-section-three .image-colmun .image-box .count-box .counter-title,
.about-section-three .image-colmun .image-box .count-box .counter-btn,
.about-image-four .about-counter-four .count-box .counter,
.about-content-four .icon-items-area .icon-items .icon-title,
.about-content-four .about-text,
.service-know-box p,
.service-block-three .outer-box .content-box .contact-title,
.service-block-four .content .title,
.case-section-three .content-column .inner-column .text,
.case-section-three .content-column .inner-column .info li,
.case-block-three .content .title,
.case-block-three .content .sub-title,
.faq-left-items-2 .info-box .content-box .content .content-title,
.faq-section-three .faq-content-1 .accordion .acc-btn,
.marquee .text,
.marquee .stroke-text,
.testimonial-card-item .client-item .info-text span,
.why-choose-section-3 .choose-content .inner-box .content-title,
.why-choose-section-3 .choose-content .inner-box .content-text,
.why-choose-section-3 .choose-content .inner-box .choose-us-box .content-box span,
.why-choose-section-3 .choose-content .inner-box .choose-us-box .content-box h5,
.ks-choose-2-more-info b,
.pricing-section-2 .nav .nav-link,
.pricing-block-three .inner-box .pricing-title,
.team-block-five .content-box .name,
.team-block-five .content-box .designation,
.team-block-six .content-box .name,
.team-block-six .content-box .designation,
.contact-content-1 .form-box .form-clt input,
.contact-content-1 .form-box .form-clt textarea,
.contact-two__form form .input input,
.growth-block .content-box .title,
.product-details .product-info .product-details__buttons-1 .btn-title,
.product-discription .single-comment-box .inner-box h5 span,
.range-slider input[type=submit],
.page-breadcrumb li,
.page-breadcrumb li a,
.contact-details-block .title,
.footer-newsletter-wrapper .form-clt input,
.footer-widget-wrapper .footer-widget-items .footer-content p,
.footer-widget-wrapper .footer-widget-items .contact-list li p {
  text-transform: none;
}

/* Hero: o template foi feito para foto recortada (PNG sem fundo). Com foto retangular,
   limitamos a largura para ela começar depois da coluna de texto. */
@media (min-width: 1200px) {
  .hero-1 .hero-image {
    width: min(905px, calc(100% - 740px));
    max-width: none;
  }
  .hero-1 .hero-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
  /* triângulos decorativos no canto inferior, para não cobrir rostos da foto */
  .hero-1 .hero-image .shape-2 {
    top: auto;
    bottom: 6%;
    left: 4%;
  }
}

/* Logo Minha Contabilidade (arquivo em 2x; limitamos a altura exibida) */
.main-header .logo img,
.sticky-header .logo img {
  height: 44px;
  width: auto;
  max-height: none;
}
.mobile-menu .nav-logo img {
  height: 40px;
  width: auto;
}
.footer-widget-items .footer-logo img {
  height: 52px;
  width: auto;
}

/* Rodapé: barra inferior com dados legais à esquerda e links/crédito à direita */
.footer-bottom .footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
}
.footer-bottom .footer-bottom-inner p {
  margin: 0;
  text-align: inherit;
}
.footer-bottom .footer-bottom-info {
  text-align: left;
}
.footer-bottom .footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  text-align: right;
}
.footer-bottom .footer-bottom-links ul {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-bottom a {
  color: inherit;
}
.footer-bottom a:hover {
  color: #fff;
}
.footer-bottom .fa-heart {
  color: #FF9141;
}
@media (max-width: 767.98px) {
  .footer-bottom .footer-bottom-inner,
  .footer-bottom .footer-bottom-links {
    justify-content: center;
    text-align: center;
  }
  .footer-bottom .footer-bottom-info {
    text-align: center;
    width: 100%;
  }
}

/* Botões principais: laranja da logo com texto grafite; no hover preenchem de grafite */
.btn-style-one {
  background-color: #FF9141;
  color: #1E1F24;
}
.btn-style-one:before {
  background-color: #1E1F24;
}
.btn-style-one:hover,
.btn-style-one:hover .icon {
  color: #fff;
}
/* Círculo da seta nos botões do topo: contrasta com o botão laranja */
.hero-1 .hero-content .hero-button .theme-btn .icon {
  background-color: #1E1F24;
  color: #fff;
}
.hero-1 .hero-content .hero-button .theme-btn .icon svg path {
  fill: #fff;
}
.hero-1 .hero-content .hero-button .theme-btn:hover .icon {
  background-color: #FF9141;
  color: #1E1F24;
}
.hero-1 .hero-content .hero-button .theme-btn:hover .icon svg path {
  fill: #1E1F24;
}

/* Páginas de texto (Política de Privacidade, Termos de Uso) */
.pagina-legal {
  max-width: 860px;
  margin: 0 auto;
  color: #4a4b50;
  font-size: 17px;
  line-height: 1.75;
}
.pagina-legal__data {
  font-size: 14px;
  color: #7a7b80;
  margin-bottom: 28px;
}
.pagina-legal h2 {
  font-size: 26px;
  line-height: 1.3;
  margin: 44px 0 14px;
  color: var(--headings-color);
}
.pagina-legal p {
  margin-bottom: 16px;
}
.pagina-legal ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 16px;
}
.pagina-legal li {
  margin-bottom: 8px;
}
.pagina-legal a {
  color: var(--headings-color);
  text-decoration: underline;
  text-decoration-color: #FF9141;
  text-underline-offset: 3px;
}
.pagina-legal a:hover {
  color: #E0701E;
}
@media (max-width: 767.98px) {
  .pagina-legal {
    font-size: 16px;
  }
  .pagina-legal h2 {
    font-size: 22px;
    margin-top: 36px;
  }
}

/* Home, "Contabilidade clara para quem empreende": os três cards com a mesma altura */
.business-solution-section .row.g-0 > .col-xl-8 {
  display: flex;
  flex-direction: column;
}
.business-solution-section .row.g-0 > .col-xl-8 > .row.g-4 {
  flex: 1;
}
.business-solution-section .row.g-4 > [class*="col-"] {
  display: flex;
}
.feature-business-solution-items-1,
.feature-business-solution-items-2 {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.feature-business-solution-items-1 .content {
  flex: 1;
}
.feature-business-solution-items-2 .business-image {
  flex: 1;
}
.feature-business-solution-items-1 .business-image img,
.feature-business-solution-items-2 .business-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sobre: nome da fundadora no lugar da imagem de assinatura do template */
.assinatura {
  font-family: "Caveat", cursive;
  font-weight: 600;
  font-size: 24px;
  line-height: 1;
  color: var(--headings-color);
  margin: 0 0 2px;
}

/* Tipografia: evita linhas viúvas (uma palavra sozinha na última linha) em todo o site.
   Títulos: linhas equilibradas. Textos corridos: o navegador redistribui para não sobrar palavra solta. */
h1, h2, h3, h4, h5, h6,
.title, .sub-title, .sec-title .title, .page-title .title {
  text-wrap: balance;
}
p, li, td, th, dd, blockquote, label, figcaption,
.text, .content, .designation {
  text-wrap: pretty;
}

/* Títulos grandes no celular: o template usa 64px no título das páginas internas e 40px no 404,
   largo demais para 390px (quebrava palavras sozinhas em linha). */
@media (max-width: 767.98px) {
  .page-title .title {
    font-size: 44px;
    line-height: 1.15;
  }
  .error-page__inner .error-page__sub-title {
    font-size: 30px;
  }
}
@media (max-width: 575.98px) {
  .page-title .title {
    font-size: 34px;
  }
  .error-page__inner .error-page__sub-title {
    font-size: 26px;
  }
}

/* Trecho que nunca quebra linha (usado no fim de títulos animados letra a letra) */
.sem-quebra {
  white-space: nowrap;
}

/* Home, equipe: cargo cabe no card de 181px sem sobrar palavra sozinha */
.team-section .team-content p {
  font-size: 14px;
}

/* Evita rolagem lateral: a cortina do carregamento e o menu lateral do celular
   ficam fora da tela depois de fechados. "clip" não quebra o scroll suave do template. */
.page-wrapper {
  overflow-x: clip;
}

/* Home: título do card laranja cabe na coluna sem cortar palavras */
.feature-left-content-1 h2 {
  font-size: 32px;
}
@media (max-width: 1199.98px) {
  .feature-left-content-1 h2 {
    font-size: 28px;
  }
}

/* Home, FAQ: selo de avaliação em HTML (substitui a imagem em inglês do template) */
.faq-left-items-1 .faq-image .selo-avaliacao {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 10px;
  padding: 12px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}
.faq-left-items-1 .faq-image .selo-avaliacao > i {
  color: #fdb900;
  font-size: 26px;
}
.faq-left-items-1 .faq-image .selo-avaliacao strong {
  display: block;
  font-size: 14px;
  line-height: 1.3;
  color: #1c1c1c;
}
.faq-left-items-1 .faq-image .selo-avaliacao span {
  font-size: 12px;
  line-height: 1.3;
  color: #7a7a7a;
}
.faq-left-items-1 .faq-image .selo-avaliacao b {
  color: #fdb900;
}

/* 404: título não encosta na foto e o botão fica afastado do texto */
.error-page__inner .error-page__sub-title {
  margin-top: 30px;
}
.error-page__inner .error-page__text {
  margin-bottom: 30px;
}

/* Contato: no celular o template esconde todo <br>; aqui ele separa telefone/WhatsApp e e-mail/horário */
@media (max-width: 767.98px) {
  .contact-details-block .text br {
    display: inline;
  }
}

/* Cases: em tela de toque não há hover, então o título fica sempre visível sobre um degradê */
@media (hover: none) {
  .project-image-4::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30, 31, 36, 0) 45%, rgba(30, 31, 36, 0.85) 100%);
    pointer-events: none;
  }
  .project-image-4 .title {
    bottom: 24px;
    left: 24px;
    right: 24px;
    opacity: 1;
    visibility: visible;
    z-index: 1;
  }
}

/* Planos: o ícone do plano em destaque (fundo escuro) ficava escuro sobre escuro */
.pricing-box-items.active .pricing-header .title-icon {
  color: #fff;
}

/* Equipe (home): nome e cargo não passam por baixo do botão de compartilhar */
.team-box-items .team-image .team-content .content {
  padding-right: 58px;
}

/* Sobre > Resultados: camada escura para o texto branco não sumir no lado claro da foto */
.growth-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 31, 36, 0.55);
  z-index: -1;
}

/* Home, serviços em carrossel: cards da mesma altura e bolinhas visíveis no fundo escuro */
.servico-slider {
  margin-top: 30px;
}
.servico-slider .swiper-slide {
  height: auto;
}
.servico-slider .service-card-items {
  height: 100%;
  margin-top: 0;
}
.servico-dot {
  margin-top: 40px;
}
.servico-dot .swiper-pagination-bullet {
  background-color: rgba(255, 255, 255, 0.35);
}
.servico-dot .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #FF9141;
}

/* Contador "350+" dos serviços: o "+" caía para a linha de baixo (coluna estreita para 120px) */
.service-section .section-counter-content h3 {
  font-size: 100px;
  line-height: 1.1;
  white-space: nowrap;
}
@media (max-width: 575.98px) {
  .service-section .section-counter-content h3 {
    font-size: 84px;
  }
}
