/* ============================================
   HAKA CONSULTORIA - Executive Prestige Design
   Palette: Verde escuro #1A3C34, Dourado #C9A84C, Off-white #F8F6F0
   Fonts: Playfair Display (headings) + Lato (body)
   ============================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Lato', system-ui, sans-serif;
  color: #2C2C2C;
  background: #F8F6F0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

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

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

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

.gold { color: #C9A84C; }

/* ---- ANIMATIONS ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ---- HEADER ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 60, 52, 0.08);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(26, 60, 52, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #1A3C34;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C9A84C;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
  transform: scale(1.05);
}

.logo-icon-footer {
  background: rgba(255,255,255,0.1);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  color: #1A3C34;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
}

.logo-sub {
  color: #C9A84C;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  color: rgba(44, 44, 44, 0.7);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #C9A84C;
  transition: width 0.3s ease;
}

.nav-desktop a:hover {
  color: #1A3C34;
}

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

.header-cta {
  display: none;
  align-items: center;
  gap: 8px;
  background: #1A3C34;
  color: #F8F6F0;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.header-cta:hover {
  background: rgba(26, 60, 52, 0.9);
  box-shadow: 0 4px 15px rgba(26, 60, 52, 0.2);
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1A3C34;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: #F8F6F0;
  border-top: 1px solid rgba(26, 60, 52, 0.08);
  padding: 1rem;
  gap: 4px;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  color: rgba(44, 44, 44, 0.8);
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-mobile a:hover {
  color: #1A3C34;
  background: rgba(26, 60, 52, 0.05);
}

.nav-mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #1A3C34 !important;
  color: #F8F6F0 !important;
  padding: 14px !important;
  border-radius: 8px;
  font-weight: 700;
  margin-top: 8px;
}

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .header-cta { display: flex; }
  .mobile-toggle { display: none; }
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26, 60, 52, 0.92), rgba(26, 60, 52, 0.75), rgba(26, 60, 52, 0.40));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 3rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 76, 0.2);
  backdrop-filter: blur(8px);
  color: #C9A84C;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  border: 1px solid rgba(201, 168, 76, 0.3);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: auto;
}

@media (min-width: 640px) {
  .hero h1 { font-size: 3rem; }
  .hero-buttons { flex-direction: row; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 3.5rem; }
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-gold {
  background: #C9A84C;
  color: #1A3C34;
}

.btn-gold:hover {
  background: rgba(201, 168, 76, 0.9);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1rem;
}

.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.9);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.2);
}

/* ---- SECTIONS ---- */
.section {
  padding: 5rem 0;
}

.section-cream {
  background: #F8F6F0;
}

.section-white {
  background: #fff;
}

.section-label {
  display: inline-block;
  color: #C9A84C;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-size: 2rem;
  color: #1A3C34;
  margin-bottom: 1rem;
}

.section-header p {
  color: rgba(44, 44, 44, 0.6);
  font-size: 1.05rem;
}

@media (min-width: 768px) {
  .section { padding: 7rem 0; }
  .section-header h2 { font-size: 2.5rem; }
}

/* ---- ABOUT ---- */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(26, 60, 52, 0.1);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: 16px;
  background: #1A3C34;
  border-radius: 12px;
  padding: 12px 20px;
  box-shadow: 0 4px 20px rgba(26, 60, 52, 0.3);
  text-align: center;
}

.about-badge-title {
  display: block;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #C9A84C;
}

.about-badge-value {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.about-content h2 {
  font-size: 2rem;
  color: #1A3C34;
  margin-bottom: 1.25rem;
}

.about-content > p {
  color: rgba(44, 44, 44, 0.7);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.about-content strong {
  color: #1A3C34;
}

.highlights {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.highlight-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(201, 168, 76, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-item h3 {
  font-size: 1rem;
  color: #1A3C34;
  margin-bottom: 4px;
}

.highlight-item p {
  color: rgba(44, 44, 44, 0.6);
  font-size: 0.875rem;
  line-height: 1.5;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .about-image { height: 420px; }
  .about-content h2 { font-size: 2.5rem; }
}

/* ---- SERVICES ---- */
.services-grid {
  display: grid;
  gap: 1.5rem;
}

.service-card {
  background: #F8F6F0;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(26, 60, 52, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 8px 30px rgba(26, 60, 52, 0.06);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-icon.dark {
  background: #1A3C34;
}

.service-icon.light {
  background: rgba(201, 168, 76, 0.15);
}

.service-card h3 {
  font-size: 1.1rem;
  color: #1A3C34;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: rgba(44, 44, 44, 0.6);
  font-size: 0.875rem;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Services Banner */
.services-banner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 3rem;
}

.services-banner img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.services-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26, 60, 52, 0.90), rgba(26, 60, 52, 0.50));
  display: flex;
  align-items: center;
}

.services-banner-content {
  padding: 2rem;
  max-width: 500px;
}

.services-banner-content h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.services-banner-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .services-banner img { height: 320px; }
  .services-banner-content { padding: 2rem 3rem; }
  .services-banner-content h3 { font-size: 1.75rem; }
}

/* ---- DIFERENCIAIS ---- */
.diff-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.diff-content h2 {
  font-size: 2rem;
  color: #1A3C34;
  margin-bottom: 1rem;
}

.diff-content > p {
  color: rgba(44, 44, 44, 0.7);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.diff-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.diff-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid rgba(26, 60, 52, 0.05);
  box-shadow: 0 2px 10px rgba(26, 60, 52, 0.04);
}

.diff-card svg {
  margin-bottom: 0.75rem;
}

.diff-card h3 {
  font-size: 1rem;
  color: #1A3C34;
  margin-bottom: 0.5rem;
}

.diff-card p {
  color: rgba(44, 44, 44, 0.6);
  font-size: 0.875rem;
  line-height: 1.5;
}

.diff-image-wrap {
  position: relative;
}

.diff-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(26, 60, 52, 0.1);
}

.diff-stats {
  position: absolute;
  bottom: -20px;
  left: 16px;
  background: #1A3C34;
  border-radius: 12px;
  padding: 16px 24px;
  box-shadow: 0 4px 20px rgba(26, 60, 52, 0.3);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

.diff-stat-value {
  display: block;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #C9A84C;
}

.diff-stat-label {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
}

.diff-stat-divider {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
}

@media (min-width: 640px) {
  .diff-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .diff-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .diff-content h2 { font-size: 2.5rem; }
  .diff-image { height: 500px; }
}

/* ---- CONTATO ---- */
.contact-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  background: #F8F6F0;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(26, 60, 52, 0.05);
  text-align: center;
  transition: all 0.3s ease;
  display: block;
}

a.contact-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 4px 20px rgba(26, 60, 52, 0.06);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(26, 60, 52, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #1A3C34;
  transition: all 0.3s ease;
}

a.contact-card:hover .contact-icon {
  background: rgba(201, 168, 76, 0.15);
  color: #C9A84C;
}

.contact-card h3 {
  font-size: 1rem;
  color: #1A3C34;
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: rgba(44, 44, 44, 0.6);
  font-size: 0.875rem;
  line-height: 1.6;
}

.whatsapp-cta {
  text-align: center;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---- FOOTER ---- */
.footer {
  background: #1A3C34;
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding: 3rem 0;
}

.footer-company {
  grid-column: 1 / -1;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 1.5rem;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-item svg {
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item p,
.footer-contact-item a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.footer-contact-item a:hover {
  color: #fff;
}

.footer-links h4,
.footer-legal h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

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

.footer-links a:hover {
  color: #C9A84C;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.legal-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.legal-label {
  color: rgba(201, 168, 76, 0.6);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.legal-value {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

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

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}

.footer-bottom p:last-child {
  color: rgba(255, 255, 255, 0.3);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    padding: 4rem 0;
  }
  .footer-company { grid-column: 1; }
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
  }
}
