/* ============================================
   DESIGN SYSTEM — Detetive Felipe Lacerda
   Cores idênticas ao site React (olive-gold noir)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Paleta principal — olive-gold */
  --primary-h: 45;
  --primary-s: 45%;
  --primary-l: 42%;
  --primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
  --primary-foreground: #ffffff;
  --olive-light: hsl(45, 40%, 55%);
  --olive-dark: hsl(45, 50%, 32%);

  /* Fundos escuros */
  --background: hsl(210, 15%, 11%);
  --foreground: hsl(40, 10%, 92%);
  --card: hsl(210, 13%, 14%);
  --secondary: hsl(210, 12%, 17%);
  --secondary-fg: hsl(40, 10%, 85%);
  --muted: hsl(210, 12%, 15%);
  --muted-fg: hsl(210, 8%, 55%);
  --border: hsl(210, 12%, 20%);

  /* Tipografia */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ---- Utilities ---- */
.text-gradient-olive {
  background: linear-gradient(135deg, var(--olive-light), var(--primary), var(--olive-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent-line {
  height: 1px;
  width: 4rem;
  background: linear-gradient(90deg, var(--primary), transparent);
}
.accent-line.mx-auto { margin-left: auto; margin-right: auto; }

.section-dark { background: var(--background); }
.section-darker { background: var(--card); }

/* ---- Header ---- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: all .5s ease;
}
.site-header.scrolled {
  background: hsla(210, 15%, 11%, .95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,.3);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem; max-width: 1200px; margin: 0 auto;
}
@media (min-width: 1024px) { .header-inner { padding: 1rem 2rem; } }

.header-logo img { height: 48px; width: auto; }

.nav-desktop { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.nav-desktop a {
  font-size: .875rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: .08em; color: var(--secondary-fg);
  transition: color .3s;
}
.nav-desktop a:hover, .nav-desktop a.active { color: var(--primary); }

.nav-desktop .cta-header {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--primary); color: var(--primary-foreground);
  padding: .625rem 1.25rem; border-radius: .375rem;
  font-size: .875rem; font-weight: 600;
  transition: background .3s;
}
.nav-desktop .cta-header:hover { background: var(--olive-dark); }

/* Mobile menu */
.hamburger { display: block; background: none; border: none; color: var(--foreground); cursor: pointer; padding: .5rem; }
@media (min-width: 1024px) { .hamburger { display: none; } }
.hamburger svg { width: 24px; height: 24px; }

.mobile-menu {
  display: none; background: hsla(210, 15%, 11%, .98);
  backdrop-filter: blur(12px); border-top: 1px solid var(--border);
}
.mobile-menu.open { display: block; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }
.mobile-menu nav { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem 1rem; }
.mobile-menu nav a { font-size: 1rem; font-weight: 500; color: var(--secondary-fg); transition: color .3s; padding: .5rem 0; }
.mobile-menu nav a:hover, .mobile-menu nav a.active { color: var(--primary); }
.mobile-menu .cta-mobile {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--primary); color: var(--primary-foreground);
  padding: .75rem 1.25rem; border-radius: .375rem;
  font-size: .875rem; font-weight: 600; margin-top: .5rem;
}

/* ---- Hero ---- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, var(--background), hsla(210,15%,11%,.9), hsla(210,15%,11%,.5));
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, var(--background), transparent, hsla(210,15%,11%,.3));
}

.hero-content {
  position: relative; z-index: 2; max-width: 1200px; margin: 0 auto;
  padding: 6rem 1rem 3rem;
}
@media (min-width: 1024px) { .hero-content { padding: 8rem 2rem 4rem; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: hsla(var(--primary-h), var(--primary-s), var(--primary-l), .1);
  border: 1px solid hsla(var(--primary-h), var(--primary-s), var(--primary-l), .2);
  border-radius: 9999px; padding: .375rem 1rem; margin-bottom: 1.5rem;
}
.hero-badge svg { width: 14px; height: 14px; color: var(--primary); }
.hero-badge span { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--primary); }

.hero h1 {
  font-size: 2.25rem; font-weight: 700; line-height: 1.1; margin-bottom: 1.5rem; max-width: 640px;
}
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }

.hero-subtitle { color: var(--muted-fg); font-size: 1.125rem; line-height: 1.6; max-width: 560px; margin-bottom: 1rem; }

.hero-checks { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 2rem; }
.hero-checks li { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--secondary-fg); }
.hero-checks svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }

.hero-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--primary); color: var(--primary-foreground);
  padding: 1rem 2rem; border-radius: .375rem;
  font-size: 1rem; font-weight: 600;
  transition: all .3s;
}
.hero-cta:hover { background: var(--olive-dark); box-shadow: 0 10px 30px hsla(var(--primary-h), var(--primary-s), var(--primary-l), .2); }

.hero-stats { display: flex; gap: 2rem; margin-top: 3.5rem; flex-wrap: wrap; }
@media (min-width: 640px) { .hero-stats { gap: 3rem; } }
.hero-stats .stat-value { font-family: var(--font-display); font-size: 1.875rem; font-weight: 700; color: var(--primary); }
.hero-stats .stat-label { font-size: .75rem; color: var(--muted-fg); margin-top: .25rem; }
.hero-stats .stat-divider { width: 1px; background: var(--border); }

/* ---- Trust Bar ---- */
.trust-bar {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: hsla(210, 12%, 17%, .3); padding: 1.5rem 0;
}
.trust-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
@media (min-width: 1024px) { .trust-items { gap: 4rem; } }
.trust-items .item { display: flex; align-items: center; gap: .625rem; }
.trust-items svg { width: 20px; height: 20px; color: var(--primary); }
.trust-items span { font-size: .875rem; font-weight: 500; color: var(--secondary-fg); }

/* ---- About ---- */
.about-grid { display: grid; gap: 4rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }

.about-image { position: relative; overflow: hidden; border-radius: .5rem; }
.about-image img { width: 100%; height: 500px; object-fit: cover; }
.about-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, hsla(210,15%,11%,.6), transparent);
}
.about-image .deco {
  position: absolute; bottom: -1rem; right: -1rem; width: 8rem; height: 8rem;
  border: 2px solid hsla(var(--primary-h), var(--primary-s), var(--primary-l), .2);
  border-radius: .5rem; z-index: -1;
}

.about-text .label { color: var(--primary); font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; }
.about-text h2 { font-size: 1.875rem; font-weight: 700; line-height: 1.2; margin-bottom: 1.5rem; }
@media (min-width: 1024px) { .about-text h2 { font-size: 2.25rem; } }
.about-text p { color: var(--muted-fg); font-size: 1rem; line-height: 1.6; margin-bottom: 1rem; }

.about-list { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 2rem; }
.about-list li { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--secondary-fg); }
.about-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }

/* ---- Services ---- */
.services-intro { text-align: center; max-width: 768px; margin: 0 auto 4rem; }
.services-intro .label { color: var(--primary); font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-style: italic; margin-bottom: .75rem; }
.services-intro p { color: var(--muted-fg); font-size: 1rem; margin-bottom: 1rem; }
.services-intro h2 { font-size: 1.875rem; font-weight: 700; }
@media (min-width: 1024px) { .services-intro h2 { font-size: 2.25rem; } }

.services-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  position: relative; overflow: hidden; border-radius: .5rem;
  display: block; transition: transform .5s;
}
.service-card:hover { transform: translateY(-4px); }
.service-card img { width: 100%; height: 18rem; object-fit: cover; transition: transform .7s; }
.service-card:hover img { transform: scale(1.05); }
.service-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--background), hsla(210,15%,11%,.75), hsla(210,15%,11%,.2));
}
.service-card .card-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.25rem; }
.service-card h3 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; margin-bottom: .25rem; }
.service-card .desc { font-size: .875rem; color: var(--muted-fg); line-height: 1.5; margin-bottom: .5rem; }
.service-card .card-cta {
  display: inline-flex; align-items: center; gap: .375rem;
  color: var(--primary); font-size: .875rem; font-weight: 600;
  transition: gap .3s;
}
.service-card:hover .card-cta { gap: .75rem; }

/* ---- Process ---- */
.process-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(3, 1fr); } }

.process-card {
  position: relative; text-align: center; padding: 2rem;
  border-radius: .5rem; background: hsla(210,12%,17%,.3);
  border: 1px solid var(--border); transition: border-color .3s;
}
.process-card:hover { border-color: hsla(var(--primary-h), var(--primary-s), var(--primary-l), .3); }
.process-card .step-number {
  position: absolute; top: 1rem; right: 1.5rem;
  font-family: var(--font-display); font-size: 4.5rem; font-weight: 700;
  color: hsla(var(--primary-h), var(--primary-s), var(--primary-l), .1);
  user-select: none;
}
.process-card .icon-wrap {
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: hsla(var(--primary-h), var(--primary-s), var(--primary-l), .1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.process-card .icon-wrap svg { width: 24px; height: 24px; color: var(--primary); }
.process-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: .75rem; }
.process-card p { font-size: .875rem; color: var(--muted-fg); line-height: 1.6; }

/* ---- CTA Section ---- */
.cta-section {
  padding: 6rem 0; position: relative; overflow: hidden;
  background: hsla(210,12%,17%,.2);
}
.cta-section .circles { position: absolute; inset: 0; opacity: .03; }
.cta-section .circles .c1,
.cta-section .circles .c2 {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  border-radius: 50%; border: 1px solid var(--primary);
}
.cta-section .circles .c1 { width: 600px; height: 600px; }
.cta-section .circles .c2 { width: 400px; height: 400px; }

.cta-content { position: relative; text-align: center; max-width: 768px; margin: 0 auto; }
.cta-content .label { color: var(--primary); font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; }
.cta-content h2 { font-size: 1.875rem; font-weight: 700; line-height: 1.2; margin-bottom: 1rem; max-width: 700px; margin-left: auto; margin-right: auto; }
@media (min-width: 1024px) { .cta-content h2 { font-size: 3rem; } }
.cta-content > p { color: var(--muted-fg); font-size: 1.125rem; line-height: 1.6; max-width: 560px; margin: 0 auto 2.5rem; }

.cta-buttons { display: flex; flex-direction: column; gap: 1rem; justify-content: center; align-items: center; }
@media (min-width: 640px) { .cta-buttons { flex-direction: row; } }

.cta-buttons .btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--primary); color: var(--primary-foreground);
  padding: 1rem 2.5rem; border-radius: .375rem;
  font-size: 1.125rem; font-weight: 600;
  transition: all .3s;
}
.cta-buttons .btn-primary:hover { background: var(--olive-dark); box-shadow: 0 10px 30px hsla(var(--primary-h), var(--primary-s), var(--primary-l), .2); }

.cta-buttons .btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid var(--border); color: var(--foreground);
  padding: 1rem 2rem; border-radius: .375rem;
  font-size: 1rem; font-weight: 500;
  transition: all .3s;
}
.cta-buttons .btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* ---- Contact ---- */
.contact-grid { display: grid; gap: 2rem; max-width: 900px; margin: 0 auto; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }

.contact-card {
  text-align: center; padding: 2rem; border-radius: .5rem;
  background: hsla(210,12%,17%,.3); border: 1px solid var(--border);
}
.contact-card .icon-wrap {
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: hsla(var(--primary-h), var(--primary-s), var(--primary-l), .1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.contact-card .icon-wrap svg { width: 24px; height: 24px; color: var(--primary); }
.contact-card h3 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; margin-bottom: .75rem; }
.contact-card a, .contact-card p { font-size: .875rem; color: var(--muted-fg); transition: color .3s; display: block; margin-bottom: .5rem; }
.contact-card a:hover { color: var(--primary); }

/* ---- Gallery ---- */
.gallery-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-grid .gallery-item { overflow: hidden; border-radius: .5rem; }
.gallery-grid img { width: 100%; height: 16rem; object-fit: cover; transition: transform .7s; }
.gallery-grid .gallery-item:hover img { transform: scale(1.05); }

/* ---- Footer ---- */
.site-footer { background: var(--background); border-top: 1px solid var(--border); padding: 4rem 0; }
.footer-grid { display: grid; gap: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }

.footer-brand { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.footer-brand .badge { width: 2.5rem; height: 2.5rem; border-radius: .375rem; background: var(--primary); display: flex; align-items: center; justify-content: center; }
.footer-brand .badge span { font-family: var(--font-display); color: var(--primary-foreground); font-weight: 700; font-size: 1.125rem; }
.footer-brand .name { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; }

.footer-legal { display: flex; align-items: flex-start; gap: .5rem; margin-top: 1.5rem; }
.footer-legal svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; margin-top: .25rem; }
.footer-legal p { font-size: .875rem; color: var(--muted-fg); line-height: 1.6; }

.footer-nav h4 { font-family: var(--font-display); font-weight: 600; margin-bottom: 1rem; }
.footer-nav a { display: block; font-size: .875rem; color: var(--muted-fg); padding: .375rem 0; transition: color .3s; }
.footer-nav a:hover { color: var(--primary); }

.footer-contact h4 { font-family: var(--font-display); font-weight: 600; margin-bottom: 1rem; }
.footer-contact a { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--muted-fg); padding: .375rem 0; transition: color .3s; }
.footer-contact a:hover { color: var(--primary); }
.footer-contact svg { width: 16px; height: 16px; }

.footer-bottom { border-top: 1px solid var(--border); margin-top: 3rem; padding-top: 2rem; text-align: center; }
.footer-bottom p { font-size: .75rem; color: var(--muted-fg); }

/* ---- Section spacing ---- */
.section-py { padding: 6rem 0; }
@media (min-width: 1024px) { .section-py { padding: 8rem 0; } }

.section-header { text-align: center; max-width: 640px; margin: 0 auto 4rem; }
.section-header .label { color: var(--primary); font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; }
.section-header h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: 1rem; }
@media (min-width: 1024px) { .section-header h2 { font-size: 2.25rem; } }
.section-header p { color: var(--muted-fg); font-size: 1rem; }

/* ---- Animation ---- */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s ease-out, transform .8s ease-out;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---- Accessible sr-only ---- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
