/* CSS Completo com a adição para YouTube Shorts */
:root {
  --primary-color: #0d47a1; /* Azul escuro (Sampaio) */
  --secondary-color: #1976d2; /* Azul médio (Sampaio) */
  --accent-color: #42a5f5; /* Azul claro (Sampaio) */
  --highlight-color: #ffc107; /* Amarelo para destaque (ex: estrelas, botões) */
  --error-color: #dc3545; /* Vermelho para erros de validação */
  --text-color: #333;
  --text-light: #555;
  --background-light: #f8f9fa;
  --white: #fff;
  --border-color: #ddd;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --box-shadow-light: 0 2px 8px rgba(0, 0, 0, 0.08);
  --border-radius: 8px;
  --font-primary: "Roboto", sans-serif;
  --font-secondary: "Poppins", sans-serif;
  --transition-speed: 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Cabeçalho */
header {
  background-color: var(--white);
  padding: 15px 0;
  box-shadow: var(--box-shadow-light);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 50px;
  margin-right: 15px;
}

header h1 {
  font-family: var(--font-secondary);
  color: var(--primary-color);
  font-size: 1.4em;
  font-weight: 700;
  line-height: 1.2;
}

header nav ul {
  list-style: none;
  display: flex;
}

header nav ul li {
  margin-left: 30px;
}

header nav ul li a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  font-family: var(--font-secondary);
  transition: color var(--transition-speed) ease;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}

header nav ul li a:hover,
header nav ul li a.active {
  color: var(--secondary-color);
  border-bottom-color: var(--secondary-color);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 1.8em;
  cursor: pointer;
}

#inicio.hero {
  /* Imagem padrão para DESKTOP */
  background-image: url("../img/BANNER.png");

  /* Propriedades de fundo separadas */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  /* Estilos que você já tinha */
  position: relative;
  min-height: 70vh;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}
/* Media query para dispositivos móveis (largura máxima de 768px) */
@media (max-width: 768px) {
  #inicio.hero {
    background-image: url("/img/banner-mobile.jpg"); /* Sua imagem para mobile */
    min-height: 60vh;
  }
}

/* Você pode adicionar outra media query para tamanhos de tela ainda menores, se necessário */
@media (max-width: 480px) {
  #inicio.hero {
    background-image: url("/img/banner-mobile.jpg"); /* Sua imagem para telas pequenas */
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    0,
    0,
    0,
    0.2
  ); /* Overlay suave para escurecer a imagem */
}

/* NOVA SEÇÃO DE TEXTO ABAIXO DA IMAGEM */
.intro-banner {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 50px 20px;
  text-align: center;
}

.intro-banner h2 {
  font-family: var(--font-secondary);
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

/* Remove a linha decorativa debaixo do h2 nesta seção */
.intro-banner h2::after {
  display: none;
}

.intro-banner p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

.btn-cta {
  background-color: var(--highlight-color);
  color: var(--primary-color);
  padding: 15px 35px;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-family: var(--font-secondary);
  font-size: 1.1em;
  transition: background-color var(--transition-speed) ease,
    transform var(--transition-speed) ease;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
  background-color: #ffb300;
  transform: translateY(-3px);
}

/* Estilo Geral das Seções */
section {
  padding: 70px 0;
}

section h2 {
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 2.3em;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
}

section .subtitle {
  text-align: center;
  font-size: 1.1em;
  color: var(--text-light);
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

section h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Seção de Informações Importantes */
.info-section {
  background-color: var(--white);
}
.info-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}
.info-card {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-light);
  border-left: 4px solid var(--secondary-color);
}
.info-card h3 {
  font-family: var(--font-secondary);
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}
.info-card h3 i {
  margin-right: 12px;
  color: var(--secondary-color);
}
.info-card ul {
  list-style: none;
  padding-left: 0;
}
.info-card li {
  font-size: 0.95em;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}
.info-card li i {
  margin-right: 10px;
  color: var(--secondary-color);
  margin-top: 5px;
}
.info-card.info-obs {
  margin-top: 40px; /* AUMENTADO PARA DAR MAIS ESPAÇO */
  padding: 20px;
  background-color: #fffbe6;
  border-left: 4px solid var(--highlight-color);
  font-weight: 500;
}

/* Seção de Serviços */
.services {
  background-color: var(--background-light);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.service-item {
  background-color: var(--white);
  padding: 30px 25px;
  text-align: center;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-light);
  transition: transform var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease;
  border-top: 4px solid var(--secondary-color);
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow);
}

.service-item i {
  font-size: 2.8em;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.service-item h3 {
  font-family: var(--font-secondary);
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.service-item p {
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--text-light);
}

.video-section h3 {
  font-family: var(--font-secondary);
  font-size: 1.7em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}
.video-placeholder {
  background-color: var(--white);
  padding: 20px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--box-shadow-light);
}
.video-placeholder p {
  margin-bottom: 10px;
  font-size: 0.95em;
  color: var(--text-light);
  text-align: center;
}

/* NOVA SEÇÃO DE PUBLICIDADE (ADSENSE) */
.ads-section {
  background-color: var(--white);
  padding-bottom: 40px;
}
.ad-placeholder {
  max-width: 970px;
  min-height: 90px;
  margin: 30px auto 0;
  background-color: #e9ecef;
  border: 2px dashed var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  border-radius: var(--border-radius);
  padding: 20px;
}

/* Seção de Orçamento */
.quote-form-section {
  background-color: #f8f9fa;
}

#quoteForm fieldset {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 30px 25px;
  margin-bottom: 30px;
  background-color: var(--white);
}

#quoteForm legend {
  font-family: var(--font-secondary);
  font-size: 1.4em;
  font-weight: 500;
  color: var(--primary-color);
  padding: 0 15px;
  margin-left: 10px;
  display: flex;
  align-items: center;
}
#quoteForm legend i {
  margin-right: 10px;
  color: var(--secondary-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-color);
  font-size: 0.95em;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1em;
  font-family: var(--font-primary);
  transition: border-color var(--transition-speed),
    box-shadow var(--transition-speed);
  background-color: var(--white);
}

.form-group input:read-only {
  background-color: #e9ecef;
  cursor: not-allowed;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.2);
}

.input-error {
  border-color: var(--error-color) !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2) !important;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.address-columns {
  display: flex;
  gap: 30px;
}
.address-column {
  flex: 1;
}
.address-column h4 {
  font-family: var(--font-secondary);
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-size: 1.1em;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.form-group-half {
  display: inline-block;
  width: calc(50% - 10px);
}
.form-group-half:first-of-type {
  margin-right: 20px;
}
.form-group-inline {
  display: flex;
  gap: 20px;
}
.form-group-inline .form-group {
  flex: 1;
}

.cep-group {
  position: relative;
}
.cep-loader {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-top-color: var(--secondary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;
}
@keyframes spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

.checkbox-group {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}
.checkbox-group input[type="checkbox"] {
  margin-right: 12px;
  width: auto;
  transform: scale(1.3);
  accent-color: var(--secondary-color);
}
.checkbox-group label {
  margin-bottom: 0;
  font-weight: normal;
  font-size: 0.95em;
}

.btn-submit {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 15px 30px;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-family: var(--font-secondary);
  transition: background-color var(--transition-speed) ease,
    transform var(--transition-speed) ease;
  display: block;
  width: 100%;
  max-width: 450px;
  margin: 30px auto 0;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
  box-shadow: var(--box-shadow);
  text-align: center;
}
.btn-submit i {
  margin-right: 8px;
}
.btn-submit:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

/* Seção de Contato */
.contact {
  background-color: var(--primary-color);
  color: var(--white);
}
.contact h2 {
  color: var(--white);
}
.contact h2::after {
  background-color: var(--white);
}
.contact .subtitle {
  color: rgba(255, 255, 255, 0.85);
}
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}
.contact-info-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: background-color var(--transition-speed);
}
.contact-info-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}
.contact-info-item i {
  font-size: 2.2em;
  margin-bottom: 15px;
  color: var(--highlight-color);
}
.contact-info-item h3 {
  font-family: var(--font-secondary);
  font-size: 1.3em;
  margin-bottom: 8px;
  color: var(--white);
}
.contact-info-item p {
  margin: 0;
  font-size: 1em;
  line-height: 1.5;
}
.contact-info-item a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}
.contact-info-item a:hover {
  text-decoration: underline;
  color: var(--highlight-color);
}

/* Rodapé */
footer {
  background-color: #222;
  color: #ccc;
  text-align: center;
  padding: 40px 0;
}
footer p {
  margin-bottom: 8px;
  font-size: 0.9em;
  line-height: 1.5;
}
footer a {
  color: var(--accent-color);
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: var(--white);
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-speed);
}
.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Design Responsivo */
@media (max-width: 992px) {
  .intro-banner h2 {
    font-size: 2.2em;
  }
  .info-columns {
    grid-template-columns: 1fr;
  }
  .address-columns {
    flex-direction: column;
    gap: 0;
  }
  .address-column:not(:last-child) {
    margin-bottom: 30px;
  }
  .form-group-half {
    width: 100%;
    margin-right: 0;
  }
  .form-group-inline {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 768px) {
  header .container {
    align-items: center;
  }
  .logo {
    height: 45px;
  }
  header h1 {
    font-size: 1.2em;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  header nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    background-color: var(--white);
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: var(--box-shadow-light);
  }
  header nav.active {
    max-height: 350px;
  }

  header nav ul {
    flex-direction: column;
    padding: 10px 0;
  }

  header nav ul li {
    margin-left: 0;
    text-align: center;
  }
  header nav ul li a {
    padding: 12px 20px;
    display: block;
    border-bottom: 1px solid var(--border-color);
  }
  header nav ul li:last-child a {
    border-bottom: none;
  }

  .hero {
    min-height: 40vh;
  }
  .intro-banner {
    padding: 40px 20px;
  }
  .intro-banner h2 {
    font-size: 2em;
  }

  section h2 {
    font-size: 2em;
  }
  .service-grid,
  .testimonial-grid,
  .contact-info-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .intro-banner h2 {
    font-size: 1.8em;
  }
  .intro-banner p {
    font-size: 1em;
  }
  .btn-cta,
  .btn-submit {
    font-size: 1em;
    padding: 12px 25px;
  }
  section h2 {
    font-size: 1.8em;
  }
  .logo {
    height: 40px;
  }
  header h1 {
    font-size: 1.1em;
  }
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 20px;
    right: 20px;
  }
}

/* =================================== */
/* ======== ESTILOS DA GALERIA ======= */
/* =================================== */

.gallery-section {
  background-color: var(--background-light);
}

.gallery-section h3 {
  font-family: var(--font-secondary);
  font-size: 1.7em;
  color: var(--primary-color);
  text-align: center;
  margin-top: 50px; /* Espaçamento entre fotos e vídeos */
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-section h3 i {
  margin-right: 12px;
  color: var(--secondary-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow-light);
  cursor: pointer;
  transition: transform var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--box-shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Garante que a imagem cubra todo o espaço sem distorcer */
  display: block;
}

.iframe-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 177.78%; /* Proporção 9:16 (16 / 9 * 100) */
  background-color: #e9e9e9;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* CLASSE PARA YOUTUBE SHORTS (FORMATO 9:16) */
.iframe-container-short {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 177.78%; /* Proporção 9:16 (16 / 9 * 100) */
  background-color: #e9e9e9;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

.iframe-container-short iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ======== ESTILOS DO LIGHTBOX (VISUALIZADOR) ======= */

.lightbox {
  display: none; /* Escondido por padrão */
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 85%;
  max-height: 85%;
  border-radius: var(--border-radius);
  animation: zoomIn 0.4s ease-in-out;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
  color: #bbb;
  text-decoration: none;
}

/* Botões de Navegação do Lightbox */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  transition: 0.3s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 15px;
  border-radius: 3px 0 0 3px;
}

.prev {
  left: 15px;
}

.prev:hover,
.next:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
  .lightbox-content {
    max-width: 95%;
  }
  .prev,
  .next {
    font-size: 20px;
    padding: 12px;
  }
}

/* Estilos do Logótipo */
.logo-container .logo {
  height: 85px; /* Defina a altura desejada para o seu logo */
  width: auto; /* A largura se ajustará automaticamente para manter a proporção */
  display: block; /* Garante que a imagem se comporte como um bloco */
}

/* Garante que o link em volta do logo não tenha decoração (como sublinhado) */
.logo-container a {
  text-decoration: none;
}

/* =================================== */
/* ==== NOVOS ESTILOS ADICIONADOS ==== */
/* =================================== */

/* Estilos para a Seção Sobre Nós */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: center;
}

.sobre-imagem img {
  max-width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.sobre-texto h3 {
  font-family: var(--font-secondary);
  color: var(--primary-color);
  font-size: 1.6em;
  margin-bottom: 15px;
}

.sobre-texto p {
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Estilos para a Seção de Dicas (Blog) */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-light);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-content h3 {
  font-family: var(--font-secondary);
  color: var(--primary-color);
  font-size: 1.3em;
  margin-bottom: 10px;
  text-align: left;
}

.blog-card-content p {
  font-size: 0.95em;
  color: var(--text-light);
  flex-grow: 1;
  margin-bottom: 20px;
}

.blog-read-more {
  color: var(--secondary-color);
  font-weight: bold;
  text-decoration: none;
  font-family: var(--font-secondary);
  align-self: flex-start;
}

.blog-read-more:hover {
  text-decoration: underline;
}

/* Estilos para a Seção FAQ */
.faq-container {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--white);
  padding: 20px 25px;
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  border-left: 4px solid var(--secondary-color);
  box-shadow: var(--box-shadow-light);
}

.faq-item h3 {
  font-family: var(--font-secondary);
  color: var(--primary-color);
  font-size: 1.2em;
  margin-bottom: 10px;
}

/* Estilos para o Rodapé */
.footer-links {
  margin-top: 15px;
}

.footer-links a {
  color: var(--accent-color);
  margin: 0 10px;
}

/* Ajustes Responsivos para as Novas Seções */
@media (max-width: 768px) {
  .sobre-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sobre-imagem {
    margin-bottom: 30px;
  }
}
/* ============================================== */
/* ==== AJUSTES FINOS DE RESPONSIVIDADE MÓVEL ==== */
/* ============================================== */

/* Para telas de tablets e celulares maiores (até 992px) */
@media (max-width: 992px) {
  /* Garante que os campos do formulário que quebram para baixo tenham espaço entre si */
  .form-group-half {
    width: 100%; /* Garante que o campo ocupe toda a largura */
    margin-right: 0; /* Remove a margem direita que só era útil no desktop */
    margin-bottom: 20px; /* Adiciona um espaço abaixo do campo */
  }

  /* Remove a margem do último campo para não criar espaço extra */
  .form-group-half:last-of-type {
    margin-bottom: 0;
  }

  /* Garante que os grupos inline do formulário também tenham espaço ao quebrar */
  .form-group-inline {
    flex-direction: column;
    gap: 0; /* O gap é gerenciado pelo margin-bottom do form-group */
  }
}

/* Para telas de celulares em geral (até 768px) */
@media (max-width: 768px) {
  /* Reduz o espaçamento vertical das seções para economizar espaço de rolagem */
  section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  /* Ajusta o padding do container para dar um respiro nas laterais */
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ajusta o padding dos fieldsets do formulário em telas menores */
  #quoteForm fieldset {
    padding: 25px 20px;
  }
}
