/* --- Design System & Variables --- */
:root {
  --primary-gold: #DAB43E;
  --primary-gold-dark: #b8932c;
  --secondary-gold: #7A6623;
  --bg-color: #FAFAF9; /* off-white pro design limpo */
  --bg-color-alt: #FFFFFF;
  --text-dark: #2A2A2A;
  --text-light: #666666;
  --header-height: 80px;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  --transition: all 0.3s ease;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 15px 40px rgba(218, 180, 62, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

.bg-light {
  background-color: var(--bg-color-alt);
}

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

.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.w-100 { width: 100%; }

/* --- Highlighting --- */
.highlight {
  color: var(--primary-gold);
  font-style: italic;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-family: var(--font-body);
  border: none;
}

.btn-primary {
  background: var(--primary-gold);
  color: #fff;
  box-shadow: 0 4px 15px rgba(218, 180, 62, 0.3);
}

.btn-primary:hover {
  background: var(--primary-gold-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(218, 180, 62, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary-gold);
  border: 1px solid var(--primary-gold);
}

.btn-outline:hover {
  background: var(--primary-gold);
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--primary-gold);
}

/* Pulse Animations */
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(218, 180, 62, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(218, 180, 62, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(218, 180, 62, 0); }
}

.pulse-btn {
  animation: pulse 2.5s infinite;
}

.pulse-btn-subtle {
  animation: pulse 3s infinite;
  animation-delay: 1s;
}

/* --- Header / Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: transparent;
  z-index: 1000;
  transition: all 0.4s ease;
}

header.scrolled {
  background: var(--primary-gold);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 70px;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

header.scrolled .logo img {
  height: 45px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s ease;
}

header.scrolled .nav-links a {
  color: #fff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-gold);
  transition: width 0.3s ease;
}

header.scrolled .nav-links a::after {
  background-color: #fff;
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-icon {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-gold);
  cursor: pointer;
  transition: color 0.3s ease;
}

header.scrolled .mobile-menu-icon {
  color: #fff;
}

.header-contact-btn {
  background: transparent;
  color: var(--primary-gold);
  border: 1px solid var(--primary-gold);
}
.header-contact-btn:hover {
  background: var(--primary-gold);
  color: #fff;
}

header.scrolled .header-contact-btn {
  color: #fff;
  border-color: #fff;
}
header.scrolled .header-contact-btn:hover {
  background: #fff;
  color: var(--primary-gold);
}

/* Mobile Nav Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: #fff;
  z-index: 2000;
  padding: 40px 20px;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

.mobile-menu.active {
  right: 0;
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.mobile-menu a {
  font-size: 1.1rem;
  font-weight: 500;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../../imagens/hero_bg.png') center/cover no-repeat;
  z-index: 1;
  transform: scale(1.05); /* For slight parallax or anim */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(250,250,249,0.9) 0%, rgba(250,250,249,0.5) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: visible;
}

.image-wrapper img {
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-wrapper img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}

.experience-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--primary-gold);
  color: #fff;
  padding: 25px;
  border-radius: 50%;
  text-align: center;
  width: 140px;
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 25px rgba(218, 180, 62, 0.4);
}

.experience-badge .number {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--font-heading);
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.8rem;
  line-height: 1.2;
  margin-top: 5px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.section-title span {
  color: var(--primary-gold);
  font-style: italic;
}

.text-content p {
  margin-bottom: 15px;
  color: var(--text-light);
  font-size: 1.05rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-item {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary-gold);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.stat-item i {
  font-size: 1.8rem;
  color: var(--primary-gold);
  margin-bottom: 10px;
}

.stat-item h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* --- Banner Protocolo --- */
.parallax-banner {
  position: relative;
  background: url('../../imagens/hero_bg.png') center/cover fixed; /* Using same bg since we only generated 1 */
  padding: 120px 0;
  color: #fff;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 30, 30, 0.85); /* Escurecendo bastante para dar contraste elegante */
}

.parallax-banner .container {
  position: relative;
  z-index: 2;
}

.parallax-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-gold);
}

.parallax-banner .lead {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
}

/* --- Services Section --- */
.section-header {
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.02);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(218, 180, 62, 0.2);
}

.service-card .icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: rgba(218, 180, 62, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.service-card:hover .icon-wrapper {
  background: var(--primary-gold);
}

.service-card .icon-wrapper i {
  font-size: 1.8rem;
  color: var(--primary-gold);
  transition: var(--transition);
}

.service-card:hover .icon-wrapper i {
  color: #fff;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* --- Footer --- */
.footer {
  background: #111111; /* Dark aesthetic footer */
  color: #fff;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-logo {
  height: 60px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: #aaa;
  margin-bottom: 25px;
  max-width: 300px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  margin-right: 10px;
}

.social-links a:hover {
  background: var(--primary-gold);
}

.footer h3 {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #fff;
  font-family: var(--font-body);
}

.footer-links ul li, .footer-contact ul li {
  margin-bottom: 15px;
  color: #aaa;
}

.footer-links ul li a:hover {
  color: var(--primary-gold);
  padding-left: 5px;
}

.footer-contact ul li i {
  color: var(--primary-gold);
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.footer-contact a {
  color: #aaa;
}
.footer-contact a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
}

.footer-bottom p {
  color: #666;
  font-size: 0.9rem;
}

/* --- Floating WhatsApp --- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

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

.pulse-btn {
  animation: pulse-wa 2s infinite;
}

@keyframes pulse-wa {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- Animations (Intersection Observer Targets) --- */
.fade-in { opacity: 0; transition: opacity 1s ease; }
.fade-in.appear { opacity: 1; }

.slide-up { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.slide-up.appear { opacity: 1; transform: translateY(0); }

.fade-in-up { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.fade-in-up.appear { opacity: 1; transform: translateY(0); }

.fade-in-left { opacity: 0; transform: translateX(-40px); transition: all 1s ease; }
.fade-in-left.appear { opacity: 1; transform: translateX(0); }

.fade-in-right { opacity: 0; transform: translateX(40px); transition: all 1s ease; }
.fade-in-right.appear { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .hero h1 { font-size: 2.8rem; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image { order: 2; margin: 0 auto; max-width: 500px; }
  .about-text { order: 1; }
  .experience-badge { right: -10px; bottom: -10px; width: 120px; height: 120px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  nav { display: none; }
  .mobile-menu-icon { display: block; }
  .hero { text-align: center; }
  .hero-overlay {
      background: linear-gradient(to right, rgba(250,250,249,0.95) 0%, rgba(250,250,249,0.9) 100%);
  }
  .hero h1 { font-size: 2.2rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .parallax-banner h2 { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
