/* ============================================================
   Quasar Projetos - Estilos Institucionais
   Cores: Grafite (#1b1b1b), Dourado (#c5a44e), Branco/Cinza
   A logo azul fica visível sobre o fundo escuro de grafite
   ============================================================ */

/* === VARIÁVEIS CSS === */
:root {
  --escuro: #1b1b1b;
  --escuro-medio: #2a2a2a;
  --escuro-claro: #3a3a3a;
  --dourado: #c5a44e;
  --dourado-claro: #d4b96a;
  --dourado-escuro: #a88a3a;
  --branco: #ffffff;
  --cinza-claro: #f4f5f7;
  --cinza-medio: #d1d5db;
  --cinza-texto: #6b7280;
  --texto-escuro: #1f2937;
}

/* === RESET E BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--texto-escuro);
  background-color: var(--branco);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  color: var(--escuro);
}

a {
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* === NAVBAR === */
.navbar-quasar {
  background-color: var(--escuro);
  padding: 0.6rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 1050;
}

.navbar-quasar.scrolled {
  padding: 0.4rem 0;
  background-color: rgba(27, 27, 27, 0.97);
}

.navbar-quasar .navbar-brand img {
  height: 50px;
  transition: all 0.3s ease;
}

.navbar-quasar.scrolled .navbar-brand img {
  height: 40px;
}

.navbar-quasar .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-quasar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--dourado);
  transition: width 0.3s ease;
}

.navbar-quasar .nav-link:hover,
.navbar-quasar .nav-link.active {
  color: var(--dourado) !important;
}

.navbar-quasar .nav-link:hover::after,
.navbar-quasar .nav-link.active::after {
  width: 60%;
}

.navbar-toggler {
  border: 1px solid var(--dourado) !important;
  padding: 0.35rem 0.6rem;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23c5a44e' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* === HERO / BANNER === */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(27, 27, 27, 0.88) 0%,
    rgba(42, 42, 42, 0.82) 50%,
    rgba(27, 27, 27, 0.88) 100%
  ),
  url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1920&q=80') center/cover no-repeat;
  color: var(--branco);
  text-align: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(197,164,78,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 2rem 1rem;
}

.hero-logo {
  width: 220px;
  margin-bottom: 2rem;
  animation: fadeInDown 1s ease;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--branco);
  margin-bottom: 1rem;
  line-height: 1.2;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-title .destaque {
  color: var(--dourado);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  font-weight: 300;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-divider {
  width: 80px;
  height: 3px;
  background: var(--dourado);
  margin: 0 auto 2rem;
  animation: fadeInUp 1s ease 0.3s both;
}

.btn-quasar {
  background: var(--dourado);
  color: var(--escuro);
  border: 2px solid var(--dourado);
  padding: 0.8rem 2.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease 0.6s both;
}

.btn-quasar:hover {
  background: transparent;
  color: var(--dourado);
  border-color: var(--dourado);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(197, 164, 78, 0.3);
}

.btn-quasar-outline {
  background: transparent;
  color: var(--branco);
  border: 2px solid var(--dourado);
  padding: 0.8rem 2.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-quasar-outline:hover {
  background: var(--dourado);
  color: var(--escuro);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(197, 164, 78, 0.3);
}

/* === SEÇÕES GERAIS === */
.section-padding {
  padding: 6rem 0;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--escuro);
  margin-bottom: 0.75rem;
  position: relative;
}

.section-subtitle {
  color: var(--cinza-texto);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.title-divider {
  width: 60px;
  height: 3px;
  background: var(--dourado);
  margin: 1rem auto 1.5rem;
  border-radius: 2px;
}

/* === NÚMEROS / ESTATÍSTICAS === */
.stats-section {
  background: var(--escuro);
  padding: 4rem 0;
  position: relative;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--dourado), transparent, var(--dourado));
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dourado);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* === SOBRE === */
.sobre-section {
  background: var(--cinza-claro);
}

.sobre-img-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.sobre-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

.sobre-img-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--dourado);
}

.sobre-badge {
  display: inline-block;
  background: var(--dourado);
  color: var(--escuro);
  padding: 0.4rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
  margin-bottom: 1.2rem;
}

.sobre-text {
  color: var(--cinza-texto);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.sobre-list {
  list-style: none;
  padding: 0;
}

.sobre-list li {
  padding: 0.5rem 0;
  color: var(--texto-escuro);
  font-weight: 500;
  font-size: 0.95rem;
}

.sobre-list li i {
  color: var(--dourado);
  margin-right: 0.75rem;
  font-size: 1rem;
}

/* === ÁREAS DE ATUAÇÃO === */
.areas-section {
  background: var(--branco);
}

.area-card {
  background: var(--branco);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--dourado);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.area-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(27, 27, 27, 0.12);
  border-color: transparent;
}

.area-card:hover::before {
  transform: scaleX(1);
}

.area-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--escuro), var(--escuro-claro));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  color: var(--dourado);
  transition: all 0.4s ease;
}

.area-card:hover .area-icon {
  background: var(--dourado);
  color: var(--escuro);
  transform: scale(1.05);
}

.area-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--escuro);
}

.area-card p {
  color: var(--cinza-texto);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* === MISSÃO, VISÃO E VALORES === */
.mvv-section {
  background: linear-gradient(
    135deg,
    var(--escuro) 0%,
    var(--escuro-medio) 100%
  );
  color: var(--branco);
  position: relative;
}

.mvv-section .section-title {
  color: var(--branco);
}

.mvv-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(197, 164, 78, 0.15);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  text-align: center;
  height: 100%;
  transition: all 0.4s ease;
  backdrop-filter: blur(5px);
}

.mvv-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--dourado);
  transform: translateY(-5px);
}

.mvv-icon {
  width: 60px;
  height: 60px;
  border: 2px solid var(--dourado);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: var(--dourado);
  transition: all 0.3s ease;
}

.mvv-card:hover .mvv-icon {
  background: var(--dourado);
  color: var(--escuro);
}

.mvv-card h4 {
  color: var(--dourado);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mvv-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* === LOCALIZAÇÃO === */
.localizacao-section {
  background: var(--cinza-claro);
}

.mapa-placeholder {
  background: var(--escuro-medio);
  border-radius: 8px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  position: relative;
}

.mapa-placeholder iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.info-local {
  padding: 2rem 0;
}

.info-local-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.info-local-item .icon-box {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--escuro);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dourado);
  font-size: 1.2rem;
  margin-right: 1.2rem;
}

.info-local-item h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--escuro);
}

.info-local-item p {
  color: var(--cinza-texto);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* === CONTATO === */
.contato-section {
  background: var(--branco);
}

.form-quasar .form-control {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  color: var(--texto-escuro);
  background: var(--branco);
  transition: all 0.3s ease;
}

.form-quasar .form-control:focus {
  border-color: var(--dourado);
  box-shadow: 0 0 0 3px rgba(197, 164, 78, 0.15);
}

.form-quasar .form-control::placeholder {
  color: #9ca3af;
}

.form-quasar .form-label {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--escuro);
  margin-bottom: 0.4rem;
}

.form-quasar textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.btn-enviar {
  background: var(--dourado);
  color: var(--escuro);
  border: 2px solid var(--dourado);
  padding: 0.85rem 3rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-enviar:hover {
  background: var(--escuro);
  color: var(--dourado);
  border-color: var(--escuro);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(27, 27, 27, 0.3);
}

.contato-info-card {
  background: var(--escuro);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  color: var(--branco);
  height: 100%;
}

.contato-info-card h4 {
  color: var(--dourado);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.contato-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contato-info-item i {
  color: var(--dourado);
  font-size: 1.1rem;
  margin-right: 1rem;
  min-width: 20px;
  text-align: center;
}

.contato-info-item span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

/* === FOOTER === */
.footer-quasar {
  background: var(--escuro);
  color: rgba(255, 255, 255, 0.6);
  padding: 4rem 0 0;
  position: relative;
}

.footer-quasar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--dourado), transparent, var(--dourado));
}

.footer-quasar h5 {
  color: var(--branco);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-quasar .footer-logo {
  height: 45px;
  margin-bottom: 1.2rem;
}

.footer-quasar p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--dourado);
  padding-left: 5px;
}

.footer-links a i {
  margin-right: 0.5rem;
  font-size: 0.75rem;
  color: var(--dourado);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  margin-top: 3rem;
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.85rem;
}

.footer-bottom .dourado {
  color: var(--dourado);
}

/* === ANIMAÇÕES === */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animação ao scroll */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === SCROLL TO TOP === */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--dourado);
  color: var(--escuro);
  border: none;
  border-radius: 6px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(197, 164, 78, 0.3);
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--escuro);
  color: var(--dourado);
  transform: translateY(-3px);
}

/* === RESPONSIVIDADE === */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-logo {
    width: 160px;
  }

  .section-padding {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .navbar-collapse {
    background: var(--escuro);
    padding: 1rem;
    margin-top: 0.5rem;
    border-radius: 8px;
    border: 1px solid rgba(197, 164, 78, 0.1);
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 90vh;
  }

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

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

  .hero-logo {
    width: 140px;
  }

  .section-padding {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .sobre-img-wrapper {
    margin-bottom: 2rem;
  }

  .sobre-img-wrapper img {
    min-height: 280px;
  }

  .stat-item {
    padding: 1rem 0.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .btn-quasar,
  .btn-quasar-outline {
    padding: 0.7rem 1.8rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 0.75rem;
  }

  .footer-quasar {
    text-align: center;
  }

  .footer-links a:hover {
    padding-left: 0;
  }
}
