/* Reset e configurações iniciais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Evita rolagem horizontal extra */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Barlow Condensed", serif;
  line-height: 1.6;
  color: #333;
}

/* Container padrão */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
header {
  background: #000000ea;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.logo img {
  width: 100px;
  height: auto;
}

/* Navegação Principal */
nav ul {
  list-style: none;
  display: flex;
}
nav ul li {
  margin-left: 20px;
  position: relative;
}
nav ul li a {
  text-decoration: none;
  color: #ffffff;
  padding: 8px 12px;
  transition: color 0.3s;
  font-family: "Barlow Condensed", serif;
  font-size: 1.4rem;
}
nav ul li a:hover {
  color: #ffe600;
}

/* Dropdown "Serviços" */
.dropdown-menu {
  display: none;
  position: absolute;
  background: #080808b2;
  top: 100%;
  left: 0;
  list-style: none;
  border: 1px solid #ddd;
  min-width: 150px;
}
.dropdown-menu li a {
  display: block;
  padding: 8px 12px;
}
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Menu Hamburger - Atualizado */
.menu-icon {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  position: absolute;
  right: 5%;
  z-index: 1001;
  transition: all 0.3s ease;
}
.menu-icon span,
.menu-icon span::before,
.menu-icon span::after {
  display: block;
  background: white;
  height: 3px;
  width: 100%;
  border-radius: 3px;
  position: absolute;
  transition: all 0.3s ease;
}
.menu-icon span {
  top: 50%;
  transform: translateY(-50%);
}
.menu-icon span::before {
  content: "";
  top: -8px;
}
.menu-icon span::after {
  content: "";
  top: 8px;
}
#menu-toggle {
  display: none;
}
#menu-toggle:checked + .menu-icon span {
  background: transparent;
}
#menu-toggle:checked + .menu-icon span::before {
  transform: rotate(45deg);
  top: 0;
}
#menu-toggle:checked + .menu-icon span::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Seção Hero */
#hero {
  min-height: 45rem;
  padding: 40px 0;
  background-image: url(/img/banner1.webp);
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  align-items: center;
  justify-items: center;
}
.hero-video {
  order: 1;
  width: 100%;
  height: 20rem;
}
.hero-video iframe {
  width: 100%;
  height: 100%;
  border-radius: 5%;
}
.hero-text {
  order: 2;
  text-align: center;
}
.hero-text h1 {
  font-family: "Barlow Condensed", serif;
  font-weight: 700;
  font-size: 6rem;
  margin-bottom: 20px;
  color: white;
  line-height: 80px;
  text-align: left;
}
.h1-amarelo {
  color: #f7c601;
}
.botao-orcamento {
  order: 3;
}
.botao-orcamento img {
  width: 30px;
  height: 30px;
}
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 5px rgba(255, 41, 41, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 41, 41, 0.8);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 5px rgba(255, 41, 41, 0.5);
  }
}
.btn {
  display: inline-block;
  width: 16rem;
  background: rgb(255, 41, 41);
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 40px;
  transition: background 0.3s;
  text-align: center;
  font-family: "Barlow Condensed", serif;
  font-size: 1.5rem;
  letter-spacing: 1.8px;
  animation: pulse 1.5s infinite ease-in-out;
}
.hero-empty {
  order: 4;
}
/* Ícone WhatsApp flutuante */
@keyframes flutuar {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  z-index: 1000;
  animation: flutuar 1.5s infinite ease-in-out;
}
.whatsapp-float img {
  width: 100%;
  height: auto;
}
/* Texto digitado */
#typing-text {
  display: inline-block;
  white-space: pre-wrap;
  word-wrap: break-word;
}
/* Cursor piscando */
#typing-cursor {
  display: inline-block;
  width: 3px;
  background: white;
  margin-left: 3px;
  animation: blinkCursor 0.7s infinite;
  vertical-align: bottom;
}
@keyframes blinkCursor { 50% { opacity: 0; } }
/* Seção 2: Informações */
#info {
  padding: 30px 0;
  background: #fff;
}
.info-container {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.info-col-left,
.info-col-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.info-title h1 {
  font-size: 5rem;
  font-family: "Barlow Condensed", serif;
  color: #f7c601;
  text-align: left;
  line-height: 1.2;
  margin: 0;
}
.info-img2 img {
  width: 32rem;
  height: 30rem;
  border-radius: 16px;
  margin: 0;
}
.info-img1 img {
  width: 36rem;
  height: 30rem;
  border-radius: 16px;
  margin: 0;
}
.info-description p {
  font-size: 1.9rem;
  line-height: 1.2;
  color: black;
  font-family: "Barlow Condensed", serif;
  text-align: left;
}
@media (max-width: 768px) {
  .info-container { flex-direction: column; gap: 20px; }
  .info-title h1 { font-size: 4rem; text-align: center; }
  .info-description p { font-size: 1.6rem; text-align: justify; padding: 0 10px; }
  .info-img1 img, .info-img2 img { width: 100%; height: auto; }
}
/* Animação suave dos blocos de info */
.info-col-left,
.info-col-right {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.info-col-left.show,
.info-col-right.show { opacity: 1; transform: translateY(0); }
/* Seção 3: Nossa Aplicação */
#aplicacao {
  padding: 60px 0;
  background-image: url(/img/FUNDOTELA.webp);
  background-repeat: no-repeat;
  background-size: cover;
}
.numeracao {
  width: 20px;
  font-size: 2.4rem;
  color: #333;
}
.aplicacao-container h1 {
  text-align: center;
  color: white;
  margin-bottom: 40px;
  font-size: 4rem;
  width: 30rem;
  font-family: "Barlow Condensed", serif;
}
.aplicacao-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}
.cards {
  flex: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.card.show { opacity: 1; transform: translateY(0); }
.card h3 {
  margin-bottom: 10px;
  font-size: 2rem;
  color: #f7c601;
}
.card p { font-size: 1.6rem; }
.aplicacao-img { flex: 1; }
.aplicacao-img img {
  max-width: 19.5rem;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
}
/* Seção 4: Depoimentos */
#depoimentos {
  padding: 60px 0;
  background: #262626;
}
.depoimentos-container h1 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 4rem;
  color: #f7c601;
  line-height: 5rem;
}
.depoimentos-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.depoimento-card {
  background: #dfdede;
  padding: 15px;
  border-radius: 4px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.depoimento-card:hover {
  transform: scale(1.05);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}
.depoimento-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 10px;
}
.depoimento-card h3 {
  margin-bottom: 10px;
  color: #e4b600;
  font-size: 1.8rem;
}
.depoimentos-cards p { font-size: 1.4rem; }
/* Footer */
footer {
  background-image: url(/img/footerback.webp);
  background-repeat: no-repeat;
  background-size: cover;
  max-width: 100%;
  height: 100vh;
  color: #fff;
  padding: 40px 0;
}
.footer-container h1 {
  margin-bottom: 3px;
  font-size: 5rem;
  width: 25rem;
  line-height: 4.3rem;
  color: #e4b600;
  text-align: start;
}
.footer-content {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0;
}
.footer-info, .footer-menu, .footer-map {
  flex: 0 0 auto;
  min-width: 300px;
  font-size: 1.3rem;
  text-align: start;
  margin-top: 4rem;
}
.footer-info p, .footer-menu ul { margin-bottom: 20px; }
.footer-info a { color: #fff; text-decoration: none; }
.social-icons a img { width: 30px; margin-right: 10px; }
.footer-menu ul { list-style: none; }
.footer-menu ul li { margin-bottom: 10px; }
.footer-menu ul li a { color: #fff; text-decoration: none; }
.footer-menu ul li a:hover { color: #f7c601; }
.footer-map img {
  width: 24rem;
  height: auto;
  border: 1px solid #fff;
  border-radius: 4px;
}
.selos {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-top: 4rem;
  margin-left: -15px;
}
.selos img {
  max-width: 120px;
  height: auto;
  transition: transform 0.3s ease;
}
.selos img:hover { transform: scale(1.05); }
.footer-map { margin-top: 1rem; }
.footer-map img {
  width: 24rem;
  height: auto;
  border: 1px solid #fff;
  border-radius: 4px;
}
.politicas-container a {
  font-size: 16px;
  text-decoration: underline;
  cursor: pointer;
  color: white;
}
@media (max-width: 768px) {
  .footer-container { width: 95%; }
  .footer-container h1 {
    font-size: 3rem;
    width: auto;
    text-align: center;
    margin: 0 auto 20px;
  }
  .footer-content { flex-direction: column; align-items: center; }
  .footer-info, .footer-menu, .footer-map {
    min-width: auto;
    width: 100%;
    text-align: center;
    padding: 0 15px;
  }
  .footer-map img { width: 100%; max-width: 300px; order: 4; }
  .selos {
    order: 3;
    flex-direction: row;
    justify-content: center;
    margin-top: 2rem;
    margin-left: 0;
    gap: 25px;
  }
}
.policy-section { padding: 60px 0; background: #f8f8f8; }
.policy-section h1 {
  font-size: 3rem;
  color: #f7c601;
  margin-bottom: 20px;
  font-family: "Barlow Condensed", serif;
}
.policy-section h2 {
  font-size: 2.2rem;
  margin-top: 20px;
  color: #333;
  font-weight: 600;
}
.policy-section p, .policy-section li {
  font-size: 1.6rem;
  line-height: 1.4;
  color: #333;
  margin-bottom: 10px;
  text-align: justify;
}
.policy-section .container {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.policy-section ul {
  list-style-type: disc;
  margin-left: 40px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .policy-section h1 { text-align: center; font-size: 2.5rem; }
  .policy-section h2 { font-size: 2rem; }
  .policy-section p, .policy-section li { font-size: 1.4rem; }
}

/* Menu mobile */
@media (max-width: 768px) {
  .menu-icon { display: block; }
  nav {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: #000000ea;
    transition: all 0.3s ease;
    overflow-y: auto;
  }
  #menu-toggle:checked ~ nav { right: 0; }
  nav ul { flex-direction: column; padding: 20px; align-items: center; }
  nav ul li {
    margin: 15px 0;
    width: 100%;
    text-align: center;
  }
  .dropdown-menu {
    position: static;
    background: transparent;
    border: none;
    display: none;
    margin-top: 10px;
  }
  .dropdown:hover .dropdown-menu { display: none; }
  #menu-toggle:checked ~ nav .dropdown-menu { display: block; }
  .container { width: 95%; }
  .logo img { width: 100px; height: 80px; }
  #hero {
    height: auto;
    padding: 20px 0;
    position: relative;
  }
  #hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
  }
  .hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 15px;
    justify-items: center;
    align-items: center;
    position: relative;
    z-index: 2;
  }
  .hero-text {
    order: 1 !important;
    width: 22rem;
    margin: 0;
  }
  .hero-video { order: 2 !important; }
  .hero-text h1 {
    font-size: 3rem;
    line-height: 0.8;
    white-space: normal;
    display: inline-block;
    width: 100%;
    padding: 0 15px;
    margin-top: 4rem;
  }
  #typing-text {
    display: inline-block;
    text-align: center;
    width: 100%;
  }
  #typing-text span { display: inline; }
  .h1-amarelo { color: white !important; }
  .hero-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    margin-bottom: 2rem;
  }
  .btn { width: 200px; font-size: 1.3rem; padding: 6px; }
  #aplicacao {
    background-image: url(/img/FUNDOTESTE2222.webp);
    background-repeat: no-repeat;
  }
  .aplicacao-container h1 {
    font-size: 3rem;
    width: auto;
    color: #f7c601;
  }
  .cards {
    grid-template-columns: 1fr;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }
  .card { padding: 15px; }
  .card h3 { font-size: 1.6rem; }
  .card p { font-size: 1.4rem; }
  .aplicacao-img img, .aplicacao-img { display: none; }
  .depoimentos-container h1 { font-size: 3rem; line-height: 1.2; }
  .depoimento-card { margin: 0 10px; }
  footer {
    height: auto;
    padding: 30px 0;
  }
  .footer-container h1 {
    font-size: 3rem;
    width: auto;
    text-align: center;
    margin: 0 auto 20px;
  }
  .footer-content { flex-direction: column; align-items: center; }
  .footer-info, .footer-menu, .footer-map {
    min-width: auto;
    width: 100%;
    text-align: center;
    padding: 0 15px;
  }
  .footer-map img {
    width: 100%;
    max-width: 300px;
    order: 4;
  }
  .selos {
    order: 3;
    flex-direction: row;
    justify-content: center;
    margin-top: 2rem;
    margin-left: 0;
    gap: 25px;
  }
  .social-icons { justify-content: center; }
  #typing-text br {
    content: " ";
    display: block;
    margin: 0.5em 0;
  }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 320px) {
  .hero-text h1 { font-size: 2.8rem; }
  .btn { font-size: 1.2rem; }
}
