@charset "UTF-8";

/* --- VARIÁVEIS --- */
:root {
  --red-main: #C10000;
  --red-dark: #8B0000;
  --gray-light: #E0E0E0;
  --gray-text: #666;
  --white: #ffffff;
  --black: #333;
  --bg-light: #F9F9F9;
}

/* --- RESET & GLOBAL --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a:visited,
a:active {
  color: inherit;
}

/* Helper Class para Containers */
.container-global {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

/* --- TOP BAR --- */
.top-bar {
  background-color: #C10000;
  color: white;
  padding: 8px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}
.top-bar .top-social a {
  color: white;
  margin-left: 15px;
  text-decoration: none;
}
@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
}

/* --- HEADER & NAV --- */
header {
  background: rgba(255, 255, 255, 0.95);
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
header .logo {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #666;
  letter-spacing: -1px;
}
.logo .custom-logo-link img {
  width: 180px;
  max-width: 100%;
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
}
header nav a {
  text-decoration: none;
  color: #666;
  font-weight: 500;
  font-size: 14px;
  transition: 0.3s;
}
header nav a:hover {
  color: #C10000;
}

/* Menu Mobile */
@media (max-width: 992px) {
  header nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #C10000;
    z-index: 1001;
    transition: 0.4s;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
  }
  header nav.active {
    right: 0;
  }
  header nav ul {
    flex-direction: column;
    padding: 60px 20px;
    align-items: flex-start;
  }
  header nav a {
    color: white;
    font-size: 18px;
    display: block;
    padding: 10px 0;
  }
}

/* Dropdown */
.dropdown {
  position: relative;
}
.dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  width: 220px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 10px;
  z-index: 100;
}
.dropdown .dropdown-menu a {
  padding: 12px 20px;
  border-bottom: 1px solid #eee;
  color: #333;
}
.dropdown .dropdown-menu a:hover, .dropdown .dropdown-menu a.active {
  background: #C10000;
  color: white;
}
.dropdown:hover .dropdown-menu {
  display: flex;
}
@media (max-width: 992px) {
  .dropdown .dropdown-menu {
    position: static;
    width: 100%;
    background: rgba(0,0,0,0.1);
    box-shadow: none;
    display: none; /* Controle via JS recomendado para mobile */
  }
  .dropdown:hover .dropdown-menu {
    display: flex; /* Hover no mobile é ruim, ideal é click, mas mantido CSS */
  }
}

.btn-whatsapp-outline {
  border: 1px solid #ccc;
  padding: 8px 20px;
  border-radius: 20px;
  text-decoration: none;
  color: #666;
  font-weight: bold;
  font-size: 12px;
  transition: 0.3s;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #C10000;
}
.menu-close {
  display: none;
  padding: 20px;
  font-size: 24px;
  color: white;
  cursor: pointer;
  text-align: right;
  width: 100%;
}
@media (max-width: 992px) {
  .menu-toggle, .menu-close {
    display: block;
  }
}

/* --- HERO --- */
.hero {
  background: linear-gradient(rgba(224, 224, 224, 0.9), rgba(224, 224, 224, 0.9));
  min-height: 750px; /* Alterado de height fixo para min-height */
  display: flex;
  align-items: center;
}
.hero .container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  padding: 60px 5%;
  gap: 60px;
  align-items: center;
}
.hero .hero-text h4 {
  color: #666;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff; /* Conflito de cor resolvido, priorizando visibilidade */
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.hero .hero-text h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 62px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #fff; /* Fundo é claro (224,224,224), texto branco pode sumir. Ajuste conforme img de fundo */
  color: #333; /* Ajuste para contraste no fundo cinza claro */
}
.hero .hero-text > p {
  color: #333;
  margin-bottom: 30px;
}
.hero .btn-whatsapp-hero {
  background: #C10000;
  color: white;
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 20px;
}

/* Responsividade Hero */
@media (max-width: 992px) {
  .hero {
    height: auto;
    padding: 40px 0 80px 0; /* Espaço extra embaixo para o form */
  }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero .hero-text h1 {
    font-size: 40px;
  }
}
@media (max-width: 500px) {
  .hero .hero-text h1 {
    font-size: 32px;
  }
}

/* --- FORMULÁRIO --- */
.form-container {
  background: #C10000;
  padding: 35px;
  border-radius: 20px;
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  /* Margin negativa funciona no desktop, perigosa no mobile */
  margin-bottom: -210px; 
  position: relative;
  z-index: 10;
}
.form-container span {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  font-size: 12px;
}
.form-container h2 {
  font-size: 42px;
  line-height: 1.1;
  margin: 10px 0 20px;
}
.form-container .form-group {
  margin-bottom: 12px;
}
.form-container .form-group input,
.form-container .form-group select {
  width: 100%;
  padding: 12px 20px;
  border-radius: 25px;
  border: none;
  outline: none;
}
.form-container .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.form-container .btn-submit {
  width: 100%;
  padding: 15px;
  border-radius: 25px;
  border: none;
  background: white;
  color: #333;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 992px) {
  .form-container {
    margin-bottom: 0; /* Remove sobreposição no tablet/mobile */
    margin-top: 20px;
  }
  .form-container h2 {
    font-size: 32px;
  }
}
@media (max-width: 500px) {
  .form-container {
    padding: 25px;
  }
  .form-container .form-row {
    grid-template-columns: 1fr; /* Inputs um abaixo do outro */
  }
}

/* --- CARDS SERVIÇOS --- */
.cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  /* Espaço para compensar a margem negativa do form no desktop */
  margin-top: 250px; 
}
@media (max-width: 992px) {
  .cards-container {
    grid-template-columns: 1fr;
    margin-top: 40px; /* Remove o espaço extra no mobile */
  }
}
.cards-container .card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.cards-container .card img {
  width: 50px;
}
.cards-container .card h3 {
  color: #C10000;
  margin-bottom: 10px;
}

/* --- SEÇÃO QUEM CONHECE --- */
.about-section .container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 992px) {
  .about-section .container {
    grid-template-columns: 1fr;
    padding: 60px 5%;
  }
}
.about-section .container .about-content h4 {
  color: #C10000;
}
.about-section .container .about-image img {
  border-radius: 20px;
  width: 100%;
}
.about-section .container .btn-more {
  background: #8B0000;
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 20px;
}

/* --- MARCAS --- */
.brands-section .container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  background: #bcbcbc;
  padding: 60px 5%;
  border-radius: 20px;
  display: flex; /* Adicionado para alinhar texto e logos */
  flex-direction: column; /* Mobile first stack */
  gap: 40px;
  align-items: center;
}
@media (min-width: 992px) {
  .brands-section .container {
    flex-direction: row; /* Volta para lado a lado no desktop */
    justify-content: space-between;
  }
}

.brands-section .container .brands-text {
  color: #fff;
  flex: 1;
}
.brands-section .container .brands-text img {
  margin-right: 10px;
  display: inline-block;
}

.brands-section .brands-grid {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.brands-section .brands-grid .brand-item {
  width: 150px; /* Tamanho fixo base */
  max-width: 45%; /* Garante que caibam 2 no mobile */
  display: flex;
  justify-content: center;
}
.brands-section .brands-grid img {
  width: 100%;
  max-width: 120px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* --- AC GRID --- */
.ac-section {
  padding: 80px 5%;
  text-align: center;
}
.ac-section .container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.ac-section .ac-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
@media (max-width: 992px) {
  .ac-section .ac-grid {
    grid-template-columns: 1fr;
  }
}
.ac-section .ac-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}
.ac-section .ac-card .ac-thumb {
  background: #ccc;
  height: 250px;
  position: relative;
  background-size: cover;
  background-position: center;
}
.ac-section .ac-card .ac-tag {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: #C10000;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
}
.ac-section .ac-card .ac-info {
  padding: 25px;
}

/* --- OUTROS SERVIÇOS --- */
.other-services-section {
  background-color: #C10000;
  padding: 80px 5%;
}
.other-services-section .container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  color: white;
}
@media (max-width: 992px) {
  .other-services-section .container {
    grid-template-columns: 1fr;
  }
  .other-services-section .services-image-placeholder img {
    width: 100%;
  }
}
.other-services-section .services-image-placeholder {
  border-radius: 20px;
}
.other-services-section .services-image-placeholder img {
  border-radius: 20px;
  max-width: 100%;
}
.other-services-section .service-item-card {
  background: rgba(139, 0, 0, 0.4);
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 15px;
}

/* --- DEPOIMENTOS --- */
.testimonials-section {
  padding: 80px 5%;
  background-color: #F9F9F9;
  text-align: center;
}
.testimonials-section .container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.testimonials-section .testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
@media (max-width: 992px) {
  .testimonials-section .testimonials-grid {
    grid-template-columns: 1fr;
  }
}
.testimonials-section .testimonial-card {
  background: white;
  border-radius: 20px;
  padding-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: left;
  overflow: hidden;
}
.testimonials-section .testimonial-card .testi-thumb {
  background: #ccc;
  height: 180px;
  width: 100%;
  background-size: cover;
  background-position: center;
}
.testimonials-section .testimonial-card .testi-content {
  padding: 20px 25px;
}
.testimonials-section .testimonial-card .testi-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}
.testimonials-section .testimonial-card .testi-user .user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.testimonials-section .testimonial-card .testi-user .user-info .user-img {
  width: 40px;
  height: 40px;
  background: #ddd;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
}
.testimonials-section .testimonial-card .stars {
  color: #FFB800;
  font-size: 12px;
  margin-top: 10px;
}

/* --- DESTAQUES --- */
.highlights-section {
  padding: 80px 5%;
}
.highlights-section .container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.highlights-section .highlights-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
}
@media (max-width: 992px) {
  .highlights-section .highlights-grid {
    grid-template-columns: 1fr;
  }
}

/* Cartões de Destaque */
.highlights-section .high-main,
.highlights-section .high-item {
  background: #ccc;
  border-radius: 20px;
  padding: 40px;
  color: white;
  position: relative;
  background-size: cover;
  background-position: center;
}
.highlights-section .high-main {
  height: 450px;
  display: flex;
  align-items: flex-end;
}
@media (max-width: 500px) {
  .highlights-section .high-main {
    height: 300px;
    padding: 20px;
  }
}
.highlights-section .high-side {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.highlights-section .high-item {
  flex: 1;
  display: flex;
  align-items: flex-end;
  min-height: 200px;
}

/* Newsletter / CTA Bar */
.highlights-section .promo-cta-bar {
  background: #bcbcbc;
  margin-top: 40px;
  border-radius: 20px;
  padding: 25px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}
@media (max-width: 768px) {
  .highlights-section .promo-cta-bar {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }
}

/* --- FOOTER --- */
.main-footer {
  font-family: "Manrope", sans-serif;
  color: #ffffff;
  width: 100%;
}
.main-footer .footer-primary {
  background-color: #cd1818;
  padding: 80px 0;
}
.main-footer .footer-primary .container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.main-footer .footer-primary .footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
@media (max-width: 992px) {
  .main-footer .footer-primary .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.main-footer .footer-brand-col .footer-logo {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}
.main-footer .footer-brand-col .contact-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 60px;
}
@media (max-width: 500px) {
  .main-footer .footer-brand-col .contact-buttons-grid {
    grid-template-columns: 1fr;
  }
}
.main-footer .footer-brand-col .contact-buttons-grid .outline-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}
.main-footer .footer-brand-col .contact-buttons-grid .outline-btn:hover {
  background-color: #ffffff;
  color: #cd1818;
  border-color: #ffffff;
}

.main-footer .footer-info-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.main-footer .footer-info-col .links-wrapper {
  display: flex;
  gap: 60px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.main-footer .footer-info-col .links-wrapper .link-group {
  flex: 1;
  min-width: 150px;
}
.main-footer .footer-info-col .links-wrapper .link-group h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.main-footer .footer-info-col .links-wrapper .link-group ul {
  list-style: none;
}
.main-footer .footer-info-col .links-wrapper .link-group ul li {
  margin-bottom: 12px;
}
.main-footer .footer-info-col .links-wrapper .link-group ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.main-footer .footer-info-col .footer-cta-block .cta-form {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.main-footer .footer-info-col .footer-cta-block .cta-form input {
  flex: 1;
  padding: 15px 25px;
  border-radius: 50px;
  border: none;
  outline: none;
  min-width: 200px;
}
.main-footer .footer-info-col .footer-cta-block .cta-form button {
  background-color: #ffffff;
  color: #cd1818;
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
}

.main-footer .footer-bottom {
  background-color: #9e0f0f;
  padding: 25px 0;
  font-size: 0.85rem;
}
.main-footer .footer-bottom .container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.main-footer .footer-bottom .bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
@media (max-width: 768px) {
  .main-footer .footer-bottom .bottom-flex {
    flex-direction: column;
    text-align: center;
  }
}

/* --- CONTACT HERO & WRAPPER --- */
.contact-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("https://images.unsplash.com/photo-1521791136064-7986c2959443?auto=format&fit=crop&q=80&w=1500");
  background-size: cover;
  background-position: center;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 0 20px;
}
.contact-hero h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 42px;
  font-weight: 800;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  padding: 80px 5%;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}
@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    padding: 40px 5%;
  }
}

/* Form Grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 500px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.full-width {
  grid-column: span 2;
}
@media (max-width: 500px) {
  .full-width {
    grid-column: span 1;
  }
}

input, select, textarea {
  width: 100%;
  padding: 15px 20px;
  border-radius: 10px;
  border: 1px solid #ddd;
  outline: none;
  font-family: "Roboto";
  box-sizing: border-box; /* Garante que padding não estoure width */
}

.btn-send {
  background: var(--red-main);
  color: white;
  border: none;
  padding: 18px 40px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
  width: 100%;
}

/* --- MAPA --- */
.map-section {
  height: 450px;
  width: 100%;
  background: #eee;
  filter: grayscale(1);
  transition: 0.5s;
}
.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.map-section:hover {
  filter: grayscale(0);
}

/* --- 404 PAGE --- */
.container-404 {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 5%;
  min-height: 60vh;
}

.card-404 {
  background-color: var(--white);
  border-radius: 20px;
  padding: 60px;
  max-width: 900px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 50px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.card-404::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: var(--red-main);
}

.text-content {
  flex: 1;
}

.visual-content {
  flex: 1;
  text-align: center;
  color: var(--red-main);
}

.buttons-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .card-404 {
    flex-direction: column-reverse;
    text-align: center;
    padding: 40px 20px;
  }
  .buttons-group {
    justify-content: center;
  }
  .icon-404 {
    font-size: 6rem;
  }
  h1 {
    font-size: 3.5rem;
  }
}