/***************************** Variáveis e Reset *****************************************/
:root {
  --primary: #FFFFFF;           /* Pode trocar se não for usar */
  --primary-light: #FFFFFF;     /* Branco para textos claros */
  --primary-dark: #8E4D57;
  --off-white: #F1F1F1;
  --card-bg: #F24855;
  --card-border: #dce3e9;
  --header-border: #dce3e9;
  --shadow: #00000033;
  --title: #FFFFFF;             /* Cor principal para textos especiais */
  --text: #000000;
  --brand: #F24855;             /* rosa da marca */
  --muted: #6B6B6B;             /* cinza para textos */
}

html, body {
  height: 100%;
  margin: 0;
  font-family: 'Ubuntu', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--off-white);
  color: var(--title);
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

html { scroll-behavior: smooth; }

.logo-desktop { display: none; }
.nav-link     { display: none; }

/***************************** Topbar e Header *****************************************/
#topbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 2000;
  background: #FFFFFF;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

#topbar-spacer {
  height: 120px;
  display: block;
}

header {
  text-align: center;
  padding: 0.2rem 1rem 1rem;
  border-bottom: 1px solid var(--header-border);
}

header img {
  max-height: 100px;
  width: auto;
  margin-top: 20px;
}

header p {
  font-weight: 600;
  color: var(--primary-light);
  margin: 0.3rem 0 0;
  margin-top: 20px;
}

header.hidden {
  opacity: 0;
  height: 0;
  overflow: hidden;
  padding: 0;
  transition: opacity 1.5s, height 1.5s, padding 1.5s;
}

.logo-mobile {
  font-weight: bold;
  font-size: 1.2rem;
  color: #F24855;
}

/***************************** Menu *****************************************/
nav.menu {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #FFFFFF;
  border-bottom: 1px solid var(--header-border);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2000;
}

.menu-left {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.menu-right {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-left: auto;
  margin-right: 28px;
  background: #F1F1F1;
  border: none;
  border-radius: 8px;            
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  text-decoration: none;
  font-weight: bold;
  line-height: 1;
}

.menu button.menu-link,
.menu a {
  background: none;
  border: none;
  color: #000;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  font-size: 1rem;
  text-decoration: none;
  position: relative;
}

/***************************** Estrutura do Site *****************************************/
.parte {
  padding: 1rem;
  color: var(--title);
  border-bottom: 0;
}

.parte1, .parte2, .parte3, .parte4 {
  background: var(--off-white);
}

/***************************** Card Setores *****************************************/
.card-setores {
  border: none;
  border-radius: 12px;
  padding: 1rem;
  background-color: var(--card-bg);
  max-width: 600px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/***************************** Quem Somos *****************************************/
.titulo-quem-somos {
  font-size: 1.8rem;
  font-weight: bold;
  color: #000000;
  margin-bottom: 0.8rem;
  margin-top: 0.1rem;
}

#texto-quem-somos {
  font-size: 1rem;
  line-height: 1.6;
  color: #000000;
}

.quem-somos-container {
  display: block;
  padding: 1rem;
  max-width: 100%;
}

#funciona .titulo-quem-somos {
  color: #fff;                   
}

/***************************** Cards Serviços *****************************************/
.card-servicos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.card-servico {
  background: #F1F1F1;
  padding: 0.5rem;
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 120px;
  max-height: 120px;
}

/***************************** Cards Teste *****************************************/
.cards-teste {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.card-teste {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

.card-teste img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.card-info {
  padding: 0.5rem;
  text-align: center;
}

.card-info p {
  color: #000000;
}

.card-info h4 {
  margin: 0;
  font-size: 0.9rem;
  color: #000000;
}

/***************************** Setor Card *****************************************/
.setor-card {
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 1rem;
  margin: 0.8rem;
}

.titulo-setor {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

/***************************** Cards verticais *****************************************/
.cards-teste.coluna {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.cards-teste.coluna .card-teste {
  width: 90%;
  max-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.cards-teste.coluna .card-teste img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.cards-teste.coluna .card-info {
  padding: 0.8rem;
}

.cards-teste.coluna .card-info h4 {
  margin: 0.4rem 0 0;
  font-size: 1rem;
  color: #000;
}

.cards-teste.coluna .card-info p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--primary-light);
}

/***************************** Carousel *****************************************/
.carousel-valores {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding: 1rem 0.5rem;
}

.carousel-valores::-webkit-scrollbar {
  display: none;
}

.carousel-valores .card-teste {
  flex: 0 0 2%;
  min-width: 70%;
  background: var(--card-bg);
  scroll-snap-align: center;
  overflow: hidden;
}

.carousel-valores img {
  max-width: 30%;      /* reduz a largura dentro do card */
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.carousel-valores .card-info {
  padding: 0.8rem;
  text-align: center;
}

.carousel-valores .card-info h4 {
  font-size: 1rem;
  margin: 0;
  color: var(--text);
}

/***************************** Timeline *****************************************/
.timeline {
  position: relative;
  margin: 1rem auto;
  padding-left: 2.5rem;
  max-width: 320px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 3.3rem;
  top: 0;
  height: calc(100% - 1.2rem);
  width: 2px;
  background-color: #ccc;
}

.step {
  position: relative;
  margin-bottom: 2rem;
}

.circle {
  position: absolute;
  left: 0;
  top: 0;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background-color: #b0b7bc;
  color: #fff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.content {
  margin-left: 2.8rem;
  margin-top: 16px;
}

.content h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
}

.content p {
  margin: 0.3rem 0 0;
  font-size: 0.85rem;
  color: #555;
}

/* MOBILE: esconder a imagem e usar 1 coluna */
@media (max-width: 767.98px) {
  #duvidas .ilustra-como { display: none !important; }
  #duvidas .como-grid     { grid-template-columns: 1fr; }
}

/* Mobile: esconder o vídeo do Sobre nós */
@media (max-width: 767.98px){
  #home .ilustra {
    display: none !important;
  }
}


/***************************** Botão Flutuante *****************************************/
/* Botão flutuante — mobile */
.botao-flutuante{
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000;
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 9999;
}

.botao-flutuante i{
  font-size: 2em;      
  line-height: 1;
}

/***************************** Botão Enviar *****************************************/
.btn-enviar {
  background: #FFFFFF;
  color: #000;              
  padding: 0.45rem 1rem;
  font-size: 0.95rem;
  display: inline-flex;
  width: auto;
  align-self: center;
  border: none;
  border-radius: 8px;       
  box-shadow: 0 2px 8px rgba(0,0,0,0.15); 
  outline: none;
}

/***************************** Footer *****************************************/
footer.footer {
  background: #000;
  color: #fff;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1rem;
}

.footer-section {
  flex: 1 1 200px;
  padding: 0.5rem;
}

.footer-section h4 {
  margin-bottom: 0.5rem;
  color: var(--primary-light);
}

.footer-section p,
.footer-section ul {
  margin: 0.3rem 0;
  color: #ccc;
  font-size: 0.85rem;
  list-style: none;
  padding: 0;
}

.footer-section ul { display: flex; gap: 1rem; }

.footer-section ul li {
  list-style: none;
  margin-bottom: 0.3rem;
}

.footer-section ul li a i {
  font-size: 1.5rem;
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #aaa;
  border-top: 1px solid #444;
  padding-top: 1rem;
}

/***************************** Ajustes de seções *****************************************/
#home { padding-top: 140px !important; }

/* ====== Card "Como funciona" (#duvidas) ====== */
#duvidas {
  --card-bg: #FFFFFF;      
  color: #000;             
}

#duvidas .titulo-quem-somos { color: #F24855 !important; }  

#duvidas .content h4,
#duvidas .content p { color: #000 !important; }             

#duvidas .timeline::before { background-color: #E0E0E0; }

#valores { --card-bg: #FFFFFF; }

#valores .titulo-setor { color: #000 !important; }

#funciona.setor-card {
  box-shadow:
    0 12px 28px rgba(0,0,0,.24),
    0 8px 10px rgba(0,0,0,.12);
}

#home #texto-quem-somos { text-align: center; }
#home .titulo-quem-somos { text-align: left; }

#duvidas .timeline .circle { top: -4px; }  

#funciona .card-teste .card-info h4 { margin-top: 10px; }  

#duvidas.parte { padding-left: 2rem; padding-right: 2rem; }
#duvidas .timeline { margin-left: 0; margin-right: 0; }


#valores > .titulo-setor,
#valores .carousel-valores {
  padding-left: 1rem;
  padding-right: 1rem;  
}

#contato > .titulo-setor,
#contato form {
  padding-left: 1rem;
  padding-right: 1rem;   
}

/***************************** Mensagens do formulário *****************************************/
.form-alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  padding: 12px 14px;
  color: #000;
}

.form-alert.success { border-left: 0; }

.form-alert.success .icon {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: rgba(34,197,94,.15);
  font-size: 14px;
}

.form-alert .title { margin: 0 0 2px; font-weight: 700; }
.form-alert .desc  { margin: 0; color: #555; font-size: .95rem; }

/***************************** Logos *****************************************/
.logo-desktop img,
.logo-mobile img {
  display: block;
  height: 100px;
  width: auto;
}

/***************************** Títulos (valores/contato) *****************************************/
#valores .titulo-setor,
#contato .titulo-setor {
  font-size: 1.8rem;
  font-weight: bold;
}
