/* =======================
       Variáveis
======================= */

:root {
  --primary-color: #b4b2b1;
  --secundary-color: #4B4747;
  --terciary-color: #003366;
  --other-color: #0066cc;
  --light-bg: #f4f4f4;
  --text-black: #333;
  --text-gray: #8B8D8E;
  --white: #fff;
  --overlay: rgba(0, 0, 0, 0.5);
  --shadow: rgba(0, 0, 0, 0.1);
  --gray: #E5E5E5;
  --black: rgba(0,0,0);
  --red: #ff0000;
  --red2: #ff4d4d;
  --whatsapp-color: #25D366;
}

/* =======================
         Reset
======================= */

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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: var(--white);
  color: var(--text-color);
}

/* =======================
         Global
======================= */

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 0;
}

a {
  text-decoration: none;
  color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.conteudo-main {
  padding-top: 100px;
}

/* =======================
         Header
======================= */

header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}

header.scrolled {
  transform: translateY(10px);
  box-shadow: 0 2px 5px var(--shadow);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  height: 100px;
  flex-wrap: nowrap;
  gap: 1rem;
}

header h1 {
  font-size: 1.3rem;
  font-weight: bold;
  margin: 0;
  color: var(--white);
}

.nav-menu {
  display: flex;
  gap: 0.5rem;
}

.nav-menu a {
  display: inline-block;
  font-size: 1rem;
  color:var(--black);
  font-weight: 900;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 2px solid var(--text-black);
  background-color: var(--primary-color);
  text-align: center;
}

.nav-menu a:hover {
  background-color: var(--primary-color);
  color: var(--black);
  transform: scale(1.05);
}

nav a {
  color: var(--black);
  font-weight: 900;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 1.2rem;
}

nav a:hover {
  color: var(--text-color);
}

.logo-wrapper img {
  width: 125px;
}

.logo-texto {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--black);
  margin: 0;
}

/* =======================
        Botão Menu
======================= */

.btn-menu {
  background: none;
  display: none;
  border: none;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
}

/* =======================
         Botões
======================= */

.btn {
  background-color: var(--red2);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: 5px;
  font-weight: bold;
  display: inline-block;
  margin-top: 1rem;
  transition: background-color 0.3s;
  align-items: center;
  gap: 0.5em;
  text-decoration: none;
}

.btn svg {
  width: 2em;
  height: 2em;
  fill: var(--text-color);
  transition: transform 0.3s ease;
}

.btn:hover {
  color:burlywood;
  background-color: var(--red);
}

.btn:hover svg {
  transform: translateX(5px);
}

/* =======================
         Banner
======================= */

.banner {
  position: relative;
  height: 83.7vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('../images/banner.jpg') center/cover no-repeat;
  filter: brightness(0.45);
  z-index: 0;
}

.banner-ajuda {
  position: relative;
  height: 35vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.banner-ajuda::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('../images/ajuda-banner.jpg') center/cover no-repeat;
  filter: brightness(0.45);
  z-index: 0;
}

.banner-tipos {
  position: relative;
  height: 35vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.banner-tipos::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('../images/tipos-banner.jpg') center/cover no-repeat;
  filter: brightness(0.45);
  z-index: 0;
}

.banner-img {
  display: none;
}

.banner-primeiro-visto {
  position: relative;
  height: auto;
  padding: 6rem 0;
  background: url('../images/primeiro-visto.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-primeiro-visto::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.banner-renovacao {
  position: relative;
  height: auto;
  padding: 5rem 0;
  background: url('../images/renovacao.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.banner-renovacao::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

/* =======================
  Hero (Dentro do Banner)
======================= */

.hero {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  text-align: center;
  color: var(--white);
  background-color: var(--overlay);
  padding: 2rem;
  border-radius: 10px;
  max-width: 90%;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  font-family: 'Montserrat', sans-serif;
}

.hero-ajuda {
  position: absolute;
  top: 20%;
  left: 50%;
  background-color: rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 0.5rem;
  border-radius: 10px;
  max-width: 50%;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  font-family: 'Montserrat', sans-serif;
}

.hero-tipos {
  position: absolute;
  top: 20%;
  left: 50%;
  background-color: rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 0.5rem;
  border-radius: 10px;
  max-width: 50%;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  font-family: 'Montserrat', sans-serif;
}

.titulo-hero {
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.titulo-hero-ajuda {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.titulo-hero-tipos {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.subtitulo-hero {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.destaque-hero {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.texto-hero {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.texto-hero span {
  font-size: 1.15em;
  font-weight: 800;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-primeiro-visto {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  color: var(--white);
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  font-family: 'Montserrat', sans-serif;
}

.titulo-hero-primeiro-visto {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-primeiro-visto p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.hero-renovacao {
  position: relative;
  z-index: 1;
  color: var(--white);
  background-color: var(--overlay);
  padding: 2rem;
  border-radius: 12px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

.titulo-hero-renovacao {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.texto-hero-renovacao {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.titulo-hero-renovacao {
  font-size: 2rem;
  margin-bottom: 20px;
}

.texto-hero-renovacao {
  font-size: 1.1rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

/* =======================
    Texto Introdutório
======================= */

.negrito {
  color: black;
}

.sobre-assessoria {
  background-color: var(--white);
  padding: 4rem 0;
  color: var(--text-color);
}

.container-sobre {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.texto-img {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.texto-sobre {
  flex: 1 1 280px;
  max-width: 50%;
}

.texto-sobre h2 {
  color: var(--terciary-color);
  font-size: 1.7rem;
  margin-bottom: 1rem;
}

.texto-sobre p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.img-sobre {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
}

.img-sobre img {
  background-color: var(--gray);
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid black;
  box-shadow: 0 0 10px var(--shadow);
}

.texto-explicativo {
  background-color: var(--light-bg);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 5px var(--shadow);
}

.texto-explicativo h3 {
  font-size: 1.5rem;
  color: var(--black);
  margin-bottom: 1.2rem;
  line-height: 1.4;
}

.texto-explicativo p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.explicativo-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.img-explicativo {
  flex: 0 0 280px;
  display: flex;
  justify-content: center;
}

.img-explicativo img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid black;
  box-shadow: 0 0 10px var(--shadow);
  background-color: var(--gray);
}

.texto-explicativo-conteudo {
  flex: 1 1 400px;
  min-width: 300px;
}

/* ======================= 
          Pop-Up
======================= */

.popup-container {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  width: 300px;
  max-width: 90%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
}

.popup-entrando {
  animation: popupEntrada 0.4s ease forwards;
  pointer-events: auto;
}

.popup-saindo {
  animation: popupSaida 0.4s ease forwards;
  pointer-events: none;
}

.popup-imagem {
  width: 100%;
  border-radius: 8px;
}

.btn-fechar-popup {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 10000;
}

/* ======================= 
     Tipos de Visto
======================= */

.tipos {
  background-color: var(--white);
  padding: 4rem 0;
}

.tipos h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--terciary-color);
  font-size: 2.2rem;
}

.tipos h3 {
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--terciary-color);
  font-size: 1.8rem;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
}

.card-visto {
  display: flex;
  flex-direction: column;

  width: 300px;

  flex-grow: 0;
  flex-shrink: 0;

  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.card-visto:hover {
  transform: scale(1.02);
}

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

.card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 20px;
}

.card-content h3 {
  margin: 0 0 10px;
  font-size: 50px;
  font-weight: bold;
  color: black;
}

.card-content p {
  margin: 0 0 12px;
  color: #555;
}

.card-btn {
  display: inline-block;
  font-weight: bold;
  text-decoration: none;
  color: #000;
  align-self: flex-end;
  margin-top: auto;
}

.flecha {
  width: 16px;
  height: 16px;
  margin-left: 6px;
  vertical-align: middle;
  fill: currentColor;
}

.titulo-mobile {
  display: none;
}

/* ======================= 
     Ajuda - Nossa Assessoria
======================= */

.sobre-assessoria .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.titulo-ajuda {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0rem;
  color: var(--terciary-color);
}

.span-ajuda {
  color: var(--other-color);
}

.conteudo-ajuda {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.item-ajuda {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.item-ajuda img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.item-ajuda h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-color);
  line-height: 1.4;
  margin: 0;
}

/* =======================
        Contratação
======================= */

.contratar-section {
    padding: 60px 20px;
    background-color: var(--white);
    margin-top: 90px;
}

.contratar-card {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.imagem-box {
    flex: 1 1 300px;
    min-height: 300px;
    max-height: 100%;
    overflow: hidden;
}

.imagem-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.conteudo-box {
    flex: 1 1 400px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.conteudo-box h1 {
    font-size: 28px;
    color: var(--text-color);
    margin-bottom: 16px;
}

.conteudo-box p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

.campo-form {
    margin-bottom: 20px;
}

.campo-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.campo-form input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.campo-form input:focus {
    outline: none;
    border-color: #0056d2;
}

.grupo-cliente {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.grupo-cliente .campo-form {
  flex: 1 1 250px;
  min-width: 250px;
}

.sugestoes-email {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  border: 1px solid #ccc;
  background-color: #fff;
  list-style: none;
  padding: 0;
  margin: 5px 0 0 0;
  z-index: 1000;
  border-radius: 4px;
  box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
  display: none;
}

.sugestoes-email li {
  padding: 10px;
  cursor: pointer;
  font-size: 0.95rem;
}

.sugestoes-email li:hover {
  background-color: #f0f0f0;
}

.resumo-valor {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin: 20px 0;
}

#valorTotal {
    color: #0056d2;
}

.btn-contratar {
    padding: 14px 28px;
    background-color: #0056d2;
    color: #fff;
    font-size: 17px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.btn-contratar:hover {
    background-color: #0044a3;
}

.btn-contratar:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    color: #666;
}

.loading {
  display: none;
  margin-top: 10px;
}

/* =======================
        Confirmação
======================= */

.confirmacao-pedido {
  background-color: var(--light-bg);
  padding: 5rem 1rem;
  text-align: center;
}

.container-confirmacao {
  max-width: 700px;
  background-color: var(--white);
  padding: 3rem 2rem;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.titulo-confirmacao {
  font-size: 2rem;
  color: var(--secundary-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.mensagem-status {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #333;
}

.status-box {
  transition: background-color 0.5s ease, color 0.5s ease, border 0.5s ease;
  border-radius: 12px;
  padding: 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.status-box.fading {
    animation: fadeIn 0.5s ease;
}

.status-box p {
  margin: 0;
}

.status-box.pendente {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}

.status-box.pago {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.status-box.cancelado {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.info-adicional {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.btn-voltar {
  background-color: var(--other-color);
  color: var(--white);
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.btn-voltar:hover {
  background-color: #004c99;
}

/* =======================
         Contato
======================= */

.contato {
  background-color: var(--white);
  padding: 4rem 0;
}

.contato h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--black);
}

.contato p {
  margin-bottom: 1rem;
  line-height: 1.5;
}

.contato a {
  color: var(--secondary-color);
}

.contato a:hover {
  text-decoration: underline;
}

/* =======================
        Rodapé
======================= */

footer {
  background-color: var(--primary-color);
  color: var(--black);
  text-align: center;
  padding: 1rem;
}

.footer-content {
  margin-top: 1rem;
}

.footer-content h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--black);
}

.footer-content p {
  margin: 0.5rem 0;
  line-height: 1.5;
}

.footer-content a {
  color:var(--other-color);
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
}

.footer-content i {
  margin-right: 8px;
  color: var(--black);
}

.grid-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  text-align: left;
  margin-top: 1rem;
}

.esquerda-footer,
.centro-footer,
.direita-footer {
  flex: 1;
  min-width: 200px;
}

.esquerda-footer img {
  max-width: 200px;
  height: auto;
  margin-left: -110px;
}

.centro-footer, .direita-footer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 3rem;
}

/* =======================
     Página de Erro
======================= */

.pagina-erro {
    background-color: var(--light-bg);
    padding: 5rem 1rem;
    text-align: center;
    min-height: 80vh; /* Garante que o conteúdo ocupe a altura mínima da tela */
    display: flex;
    align-items: center;
    justify-content: center;
}

.conteudo-erro {
    max-width: 600px;
    background-color: var(--white);
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.titulo-erro {
    font-size: 2.5rem;
    color: var(--terciary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.mensagem-erro {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.codigo-erro h2 {
    font-size: 1.8rem;
    color: var(--red);
    margin-bottom: 0.5rem;
}

.codigo-erro p {
    font-size: 1rem;
    color: var(--text-gray);
}

.info-ajuda {
    margin-top: 2rem;
}

.info-ajuda p {
    font-size: 1rem;
    color: var(--text-black);
    margin-bottom: 1.5rem;
}

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

.whatsapp-float {
  position: fixed;
  width: 90px;
  height: 90px;
  bottom: 40px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border: 5px #333;
  border-radius: 50%;
  text-align: center;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease-in-out;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 70px;
  height: 70px;
}

/* ======================= 
        Animações
======================= */

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
}

.whatsapp-float.shake {
  animation: shake 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popupEntrada {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

@keyframes popupSaida {
  from {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
  to {
    opacity: 0;
    transform: translateY(-50%) translateX(100%);
  }
}

/* =======================
      Responsividade
======================= */

@media (max-width: 768px) {
  header {
    padding: 0.5rem 1rem;
    height: 100px;
  }

  header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 1rem;
  }

  .btn-menu {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    right: 1rem;
    background-color: var(--primary-color);
    flex-direction: column;
    width: 250px;
    padding: 1rem;
    border-radius: 10px;
    display: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateX(100%);
  }

  .nav-menu.active {
    display: flex;
    transform: translateX(0);
    opacity: 1;
  }

  .nav-menu a {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 5px;
    border: none;
    background-color: var(--white);
    color: var(--black);
  }

  .nav-menu a:hover {
    background-color: var(--secundary-color);
    color: var(--white);
  }

  nav a {
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    width: 100%;
  }

  .titulo-normal {
    display: none;
  }

  .titulo-mobile {
    display: block;
  }

  .hero {
    padding: 1.5rem;
    max-width: 95%;
  }

  .titulo-hero {
    font-size: 2.2rem;
  }

  .subtitulo-hero,
  .destaque-hero {
    font-size: 1.4rem;
  }

  .texto-hero {
    font-size: 1rem;
  }

  .texto-img {
    flex-direction: column;
    align-items: center;
  }

  .texto-sobre, .img-sobre {
    max-width: 100%;
    text-align: center;
  }

  .img-sobre img {
    width: 220px;
    height: 220px;
  }

  .explicativo-flex {
    flex-direction: column;
    align-items: center;
  }

  .img-explicativo img {
    width: 220px;
    height: 220px;
  }

  .texto-explicativo-conteudo {
    min-width: 100%;
    text-align: center;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card-visto {
    max-width: 90%;
  }

  .grid-footer {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .esquerda-footer img {
    margin-left: 0;
  }

  .centro-footer,
  .direita-footer {
    margin-top: 1rem;
  }

  .hero-ajuda,
  .hero-tipos {
    top: 30%;
    max-width: 90%;
    padding: 1rem;
  }

  .titulo-hero-ajuda,
  .titulo-hero-tipos {
    font-size: 1.5rem;
  }

  .titulo-erro {
    font-size: 2rem;
  }

  .mensagem-erro {
    font-size: 1rem;
    }

  .conteudo-erro {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.1rem;
  }

  nav a {
    font-size: 1rem;
  }

  .hero {
    padding: 1rem;
    max-width: 95%;
  }

  .titulo-hero {
    font-size: 1.8rem;
  }

  .subtitulo-hero,
  .destaque-hero {
    font-size: 1.2rem;
  }

  .texto-hero {
    font-size: 0.95rem;
  }

  .img-sobre img,
  .img-explicativo img {
    width: 180px;
    height: 180px;
  }

  .card-visto {
    max-width: 100%;
  }

  .card-content h3 {
    font-size: 1rem;
  }

  .card-content p {
    font-size: 0.95rem;
  }

  .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .btn svg {
    width: 1.5em;
    height: 1.5em;
  }

  .whatsapp-float {
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 15px;
  }

  .whatsapp-float img {
    width: 40px;
    height: 40px;
  }

  .footer-content h2 {
    font-size: 1.3rem;
  }

  .footer-content p,
  .footer-content a {
    font-size: 0.95rem;
  }
}