/* RESET */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* VARIÁVEIS */
:root {
  --primary: #0c1e3a;
  --accent: #c9a24d;
  --light: #f5f5f5;
  --white: #ffffff;
  --text: #1a1a1a;
}

/* BASE */
body {
  font-family: "Segoe UI", sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.7;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */
.topbar {
  background: transparent; /* Inicial transparente */
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.4s ease;
}

/* Quando rolar a página */
.topbar.scrolled {
  background: rgba(12, 30, 58, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}


.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  margin: 0 15px;
  font-size: 20px;
  transition: 0.3s;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--accent);
}

nav a {
  color: var(--white);
  text-decoration: none;
  margin: 0 15px;
  font-size: 20px;
  transition: 0.3s;
  font-weight: 600;
}

nav a:hover {
  color: var(--accent);
}


.icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 45px;
  height: 45px;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.12); /* vidro neutro */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(255, 255, 255, 0.25);

  margin-left: 15px;
  transition: all 0.4s ease;
}

.icons img {
  width: 35px;
  height: 35px;
  display: block;
}

.icons a:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.20);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* HAMBÚRGUER */
.hamburger {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
  gap: 6px;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* MENU MOBILE */
.nav-links {
  display: flex !important;
  position: static !important;
  background: transparent !important;
  flex-direction: row;
  gap: 0 !important;
  width: auto !important;
  height: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* HERO */
.hero {
  background: url("./image/background main.png") center/cover no-repeat;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 30, 58, 0.4);
}

.glass-hero {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 60px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Logo */
.hero-left img {
  width: 250px;
}

.hero-right h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-right span {
  color: var(--accent);
}

.hero-right p {
  font-size: 20px;
  margin-bottom: 25px;
  color: var(--white);
  font-weight: 500;
}

/* BOTÃO */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-gold {
  background: var(--accent);
  color: var(--white);
  font-weight: bold;
}

.btn-gold:hover {
  opacity: 0.85;
}

/* SERVICES */
.services-header {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  text-align: center;
  padding: 20px 0;
  font-size: 20px;
}

.services-header h2 {
  color: var(--accent);
  margin-bottom: 10px;
}

.services {
  padding: 80px 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.card {
  background: var(--primary);
  color: var(--white);
  border-radius: 15px;
  overflow: hidden;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  
}

.card-content {
  padding: 25px;
}

.card-content h3 {
  margin-bottom: 10px;
}

/* WHY */
.why {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.why h2 {
  color: var(--accent);
  margin-bottom: 15px;
  font-size: 30px;
  font-weight: 700;
}

.subtitle {
  margin-bottom: 50px;
  font-size: 18px;
  font-weight: 500;
  opacity: 0.9;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.why-card {
  background: #f5f0e6;
  color: #1a1a1a;
  padding: 35px 25px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: 0.3s ease;
  border: var(--accent) 4px solid;
}

.why-card:hover {
  transform: translateY(-8px);
}

.why-card .icon {
  width: 65px;
  height: 65px;
  margin: 0 auto 20px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 26px;
}

.why-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--accent);
}

.why-card p {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

/* ABOUT */
.about {
  padding: 100px 0;
  background: var(--white);
   position: relative;
  overflow: hidden; /* impede a imagem de vazar */
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 50px;
  align-items: center;
 
}

.about-text h2 {
  margin-bottom: 20px;
  color: var(--primary);

}

.about-text p {
  color: var(--text);
  margin-bottom: 25px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.about-image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  max-width: 650px;
  pointer-events: none; /* evita atrapalhar cliques */
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================= */
/* CONTEÚDO SEO */
/* ========================= */

.seo-content {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(12, 30, 58, 0.03) 0%, rgba(201, 162, 77, 0.03) 100%);
}

.seo-content h2 {
  font-size: 28px;
  color: var(--primary);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 700;
}

.seo-content h2:first-child {
  margin-top: 0;
}

.seo-content p {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 15px;
  line-height: 1.8;
}

.seo-final-text {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px solid var(--accent);
}

.seo-final-text p {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 15px;
}

/* ========================= */
/* CONTATO */
/* ========================= */

.contato-section {
  background: linear-gradient(120deg,#0f1c2e,#1d2f4a);
  padding: 60px 20px;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
}

.contato-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}



.contato-img img {
  width: 100%;
  max-width: 500px;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.contato-info {
  flex: 1;
  min-width: 280px;
}

.contato-info h2 {
  font-size: 42px;
  color: #f6c24a;
  margin-bottom: 20px;
}

.contato-info p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #d6d6d6;
}

.contato-info ul {
  list-style: none;
  padding: 0;
}

.contato-info li {
  margin-bottom: 18px;
  font-size: 17px;
  background: rgba(255,255,255,0.05);
  padding: 15px;
  border-radius: 10px;
  border-left: 4px solid #f6c24a;
}

.contato-info a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

/* ========================= */
/* FORMULÁRIO CONTATO */
/* ========================= */

.form-box{
    width:100%;
    max-width:420px;
    padding:28px;
    border-radius:20px;
    background:rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border:1px solid rgba(255,255,255,0.2);
    box-shadow:0 8px 32px rgba(0,0,0,0.3);
    color: var(--white);
}

.form-box h2{
    text-align:center;
    margin-bottom:20px;
}

.form-box input,
.form-box textarea,
.form-box select{
    width:100%;
    padding:12px;
    margin-bottom:12px;
    border:none;
    border-radius:10px;
    outline:none;
    background:rgba(255,255,255,0.15);
    color:var(--white);
    background-color: var(--primary);
    font-size:14px;
}

.form-box input::placeholder,
.form-box textarea::placeholder{
    color:rgba(255,255,255,0.7);
}

.form-box button{
    width:100%;
    padding:12px;
    border:none;
    border-radius:10px;
    background:#25D366;
    color:var(--white);
    font-size:16px;
    cursor:pointer;
    transition:.3s;
}

.form-box button:hover{
    background:#1ebe5d;
}

/* INFORMAÇÕES DE CONTATO */
.contato-linha {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.info-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 18px;
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
}

.info-box strong {
  display: block;
  color: #f6c24a;
  margin-bottom: 8px;
  font-size: 15px;
}

.info-box a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s ease;
}

.info-box a:hover {
  color: #f6c24a;
}


/* RESPONSIVO CONTATO */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-map {
    min-height: 300px;
  }

  .contact {
    padding: 80px 0;
  }

  /* Hambúrguer menu */
  .hamburger {
    display: flex;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }

  .nav {
    justify-content: center;
    position: relative;
  }

  .nav-links {
    position: fixed !important;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(12, 30, 58, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 30px 0 !important;
    width: 100% !important;
    height: auto !important;
    visibility: hidden !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
    z-index: 999;
  }

  .nav-links.active {
    visibility: visible !important;
    opacity: 1 !important;
  }

  .nav-links a {
    display: block;
    padding: 12px 20px;
    text-align: center;
    font-size: 18px;
    margin: 0 !important;
  }

  .icons {
    display: none;
  }
}


/* FOOTER */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 60px 0 30px;
  margin-top: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--accent);
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--accent);
  font-weight: 600;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-section ul li a {
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 0.9;
}

.footer-section ul li a:hover {
  color: var(--accent);
  opacity: 1;
}

.footer-section ul li:not(a) {
  opacity: 0.85;
}

/* Redes Sociais */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-3px);
  border-color: var(--accent);
}

.footer-social img {
  width: 24px;
  height: 24px;
}

/* Divisor */
.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 30px 0;
}

/* Rodapé Inferior */
.footer-bottom {
  text-align: center;
  font-size: 13px;
  opacity: 0.8;
}

.footer-bottom p {
  margin: 0;
}



/* WHATSAPP */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: white;
  padding: 10px 18px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 20px;
}

.whatsapp-float img {
  width: 50px;
}

/* RESPONSIVO */
@media (max-width: 992px){

  .about-grid{
    grid-template-columns:1fr;
    text-align:center;
  }

  .about-image{
    display:none; /* ESCONDE A CASA NO MOBILE */
  }

  .about{
    padding:140px 0 80px;
  }

  .contato-container {
    gap: 30px;
    flex-direction: column;
  }

  .contato-img img {
    max-width: 100%;
  }

  .contato-info {
    width: 100%;
  }

  .contato-linha {
    grid-template-columns: 1fr;
  }

  nav a{
    font-size:16px;
    margin:0 10px;
  }

}

/* ========================= */
/* RESPONSIVO EXTRA */
/* ========================= */

/* Tablets */
@media (max-width: 992px) {

  .glass-hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .hero-left img {
    width: 180px;
  }

  .hero-right h1 {
    font-size: 34px;
  }

  .hero-right p {
    font-size: 18px;
  }

}

/* Celulares */
@media (max-width: 768px) {

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero-right h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero-right p {
    font-size: 16px;
  }

  .services {
    padding: 60px 0;
  }

  .services-header {
    padding: 30px 0;
  }

  .why {
    padding: 60px 0;
  }

  .why-card {
    padding: 25px 20px;
  }

  .about {
    padding: 80px 0;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .seo-content {
    padding: 60px 0;
  }

  .seo-content h2 {
    font-size: 22px;
    margin-top: 30px;
  }

  .seo-content p {
    font-size: 15px;
  }

}

/* Celulares pequenos */
@media (max-width: 480px) {

  .hamburger span {
    width: 24px;
    height: 2.5px;
  }

  .nav-links a {
    font-size: 16px;
    padding: 10px 15px;
  }

  .hero-left img {
    width: 150px;
  }

  .hero-right h1 {
    font-size: 24px;
  }

  /* Footer responsivo */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-section h3 {
    font-size: 20px;
  }

  .footer-section h4 {
    font-size: 16px;
  }

  .footer-section p,
  .footer-section ul li {
    font-size: 13px;
  }

  .seo-content h2 {
    font-size: 18px;
    margin-top: 25px;
  }

  .seo-content p {
    font-size: 14px;
  }

}


