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

:root {
  --gold: #c9a227;
  --gold-light: #e8c547;
  --gold-dark: #a07c10;
  --navy: #0a1628;
  --navy-mid: #122040;
  --navy-light: #1e3060;
  --red: #c0392b;
  --red-light: #e74c3c;
  --white: #ffffff;
  --off-white: #f8f6f0;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-400: #999;
  --gray-600: #555;
  --gray-800: #222;
  --green: #27ae60;

  font-family: 'Inter', system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--gray-800);
  min-width: 320px;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 4px;
  border: 2px solid var(--gold);
  transition: background 0.25s, color 0.25s, transform 0.2s;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  color: var(--navy);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.6);
  transition: all 0.25s;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.5);
  transition: all 0.25s;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
}

.btn-whatsapp {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 4px;
  border: 2px solid var(--green);
  transition: all 0.25s;
}
.btn-whatsapp:hover {
  background: #219a52;
  border-color: #219a52;
  transform: translateY(-2px);
  color: var(--white);
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--navy);
  border-top: 3px solid var(--gold);
  padding: 20px 24px;
  display: none;
  animation: slideUp 0.4s ease;
}
.cookie-banner.visible {
  display: block;
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text strong {
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}
.cookie-text p {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  margin: 0;
}
.cookie-text a {
  color: var(--gold);
  text-decoration: underline;
}
.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.btn-cookie-accept {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Inter', sans-serif;
}
.btn-cookie-accept:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}
.btn-cookie-reject {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 2px solid rgba(255,255,255,0.3);
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}
.btn-cookie-reject:hover {
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}

/* ========== HEADER / NAVBAR ========== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}
#header.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  gap: 24px;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.logo-icon {
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(201,162,39,0.4));
}
.footer-logo-icon {
  font-size: 1.6rem;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.logo-sub {
  font-size: 0.68rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
  color: var(--gold);
  background: rgba(201,162,39,0.1);
}
.nav-links a.nav-privacy {
  color: var(--gold);
  border: 1px solid rgba(201,162,39,0.4);
}
.nav-links a.nav-privacy:hover {
  background: rgba(201,162,39,0.15);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 40%, #1a3a6e 70%, var(--navy-light) 100%);
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(201,162,39,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(192,57,43,0.08) 0%, transparent 50%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,22,40,0.3);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 120px 24px 80px;
}
.hero-tagline {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.hero-tagline::before,
.hero-tagline::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-title span {
  color: var(--gold);
  display: block;
}
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
  z-index: 1;
}
.hero-scroll:hover {
  color: var(--gold);
}
.scroll-arrow {
  animation: bounce 2s infinite;
  font-size: 1.2rem;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ========== SOBRE ========== */
.sobre {
  padding: 100px 0;
  background: var(--off-white);
}
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.sobre-text p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1rem;
}
.sobre-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 2px solid var(--gray-200);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-dark);
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-600);
}
.visual-card {
  background: var(--navy);
  border-radius: 12px;
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.visual-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.visual-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 12px rgba(201,162,39,0.5));
}
.visual-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 24px;
}
.principles {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.principles li {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.check {
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
}
.cnae-badge {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(201,162,39,0.3);
}
.cnae-badge small {
  color: rgba(201,162,39,0.7);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

/* ========== SERVICOS ========== */
.servicos {
  padding: 100px 0;
  background: var(--white);
  text-align: center;
}
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}
.servico-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 36px 28px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.servico-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: transform 0.3s;
}
.servico-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(10,22,40,0.12);
  border-color: var(--gold);
}
.servico-card:hover::before {
  transform: scaleX(1);
}
.servico-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}
.servico-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.servico-card p {
  color: var(--gray-600);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ========== CTA ========== */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #1e4080 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(201,162,39,0.1) 0%, transparent 70%);
}
.cta-content {
  position: relative;
  z-index: 1;
}
.cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 36px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== CONTATO ========== */
.contato {
  padding: 100px 0;
  background: var(--off-white);
}
.contato > .container > .section-title,
.contato > .container > .section-label {
  text-align: center;
}
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}
.contato-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.info-card:hover {
  box-shadow: 0 4px 20px rgba(10,22,40,0.08);
  border-color: var(--gold);
}
.info-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.info-body h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  margin-bottom: 6px;
}
.info-body p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}
.info-body a {
  color: var(--navy);
  font-weight: 500;
  transition: color 0.2s;
}
.info-body a:hover {
  color: var(--gold-dark);
}
.whatsapp-link {
  display: inline-block;
  color: var(--green) !important;
  font-weight: 600 !important;
  font-size: 0.9rem;
  margin-top: 6px;
  transition: opacity 0.2s;
}
.whatsapp-link:hover {
  opacity: 0.8;
}
.contato-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
}
.mapa-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mapa-wrapper {
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--gray-200);
  box-shadow: 0 8px 32px rgba(10,22,40,0.1);
}
.mapa-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
}
.mapa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 6px;
  align-self: flex-start;
  transition: all 0.25s;
}
.mapa-link:hover {
  background: var(--navy);
  color: var(--white);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-area {
  margin-bottom: 16px;
}
.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 280px;
}
.footer h4 {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-contato p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.65);
}
.footer-contato a {
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}
.footer-contato a:hover {
  color: var(--gold);
}
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a {
  color: var(--gold);
  transition: opacity 0.2s;
}
.footer-bottom a:hover {
  opacity: 0.8;
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .servicos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: 280px;
    background: var(--navy);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 4px;
    transition: right 0.35s ease;
    border-left: 2px solid rgba(201,162,39,0.3);
    z-index: 999;
    box-shadow: -8px 0 32px rgba(0,0,0,0.4);
  }
  .nav-links.open {
    right: 0;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 14px 16px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contato-grid {
    grid-template-columns: 1fr;
  }
  .servicos-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
  .sobre-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  .contato-actions {
    flex-direction: column;
  }
  .btn-primary, .btn-secondary, .btn-outline, .btn-whatsapp {
    width: 100%;
    text-align: center;
  }
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-buttons {
    width: 100%;
  }
  .btn-cookie-accept, .btn-cookie-reject {
    flex: 1;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.4rem;
  }
  .mapa-wrapper {
    height: 280px;
  }
  .visual-card {
    padding: 32px 24px;
  }
}
