:root {
  --navy-950: #07131f;
  --navy-900: #0b1b2b;
  --navy-800: #132a42;
  --navy-700: #1e3d5c;
  --accent: #ea580c;
  --accent-hover: #c2410c;
  --accent-soft: #fff7ed;
  --whatsapp: #16a34a;
  --whatsapp-hover: #15803d;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --text: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(11, 27, 43, 0.06), 0 1px 2px rgba(11, 27, 43, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(11, 27, 43, 0.08), 0 4px 10px -4px rgba(11, 27, 43, 0.04);
  --shadow-lg: 0 20px 40px -12px rgba(11, 27, 43, 0.14);
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.section {
  padding: 4.75rem 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-dark {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
  color: #ffffff;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #ffffff;
}

.section-header {
  max-width: 720px;
  margin-bottom: 2.75rem;
}

.section-header.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid #fed7aa;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.section-dark .eyebrow {
  background: rgba(234, 88, 12, 0.16);
  border-color: rgba(234, 88, 12, 0.4);
  color: #fdba74;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  margin-bottom: 0.85rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-dark .section-desc {
  color: #cbd5e1;
}

/* Topbar & Header */
.topbar {
  background: var(--navy-950);
  color: #cbd5e1;
  font-size: 0.82rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.topbar a:hover {
  color: #ffffff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  display: grid;
  place-items: center;
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--navy-900);
}

.brand-sub {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-link {
  padding: 0.5rem 0.72rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--navy-900);
  background: var(--surface-alt);
}

.nav-link[aria-current="page"] {
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy-900);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.94rem;
  padding: 0.8rem 1.35rem;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.58rem 0.95rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 1.65rem;
  font-size: 1rem;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 8px 20px -6px rgba(22, 163, 74, 0.5);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 8px 20px -6px rgba(234, 88, 12, 0.45);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-navy {
  background: var(--navy-900);
  color: #ffffff;
}

.btn-navy:hover {
  background: var(--navy-800);
}

.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--border);
}

.btn-outline:hover {
  background: var(--surface-alt);
  border-color: #cbd5e1;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
}

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

/* Hero & Page Headers */
.hero {
  position: relative;
  background: var(--navy-950);
  color: #ffffff;
  overflow: hidden;
  padding: 5.25rem 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7, 19, 31, 0.96) 35%, rgba(11, 27, 43, 0.82) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(2.1rem, 4.3vw, 3.3rem);
  margin-bottom: 1.1rem;
}

.hero-quote {
  font-size: clamp(1.1rem, 1.8vw, 1.32rem);
  font-weight: 600;
  color: #fdba74;
  margin-bottom: 1rem;
}

.hero-text {
  color: #cbd5e1;
  font-size: 1.04rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  font-size: 0.88rem;
  color: #e2e8f0;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  backdrop-filter: blur(10px);
}

.hero-card img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.hero-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.88rem;
  color: #e2e8f0;
}

.page-banner {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: #ffffff;
  padding: 3.75rem 0;
  border-bottom: 4px solid var(--accent);
}

.page-banner h1 {
  color: #ffffff;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.page-banner p {
  color: #cbd5e1;
  max-width: 680px;
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 0.9rem;
}

.breadcrumb a:hover {
  color: #ffffff;
}

/* Grids & Cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

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

/* Service Cards */
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-media {
  position: relative;
  height: 205px;
  background: var(--navy-900);
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-card:hover .service-media img {
  transform: scale(1.04);
}

.service-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(11, 27, 43, 0.85);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-illus-note {
  position: absolute;
  bottom: 0.5rem;
  right: 0.55rem;
  background: rgba(15, 23, 42, 0.72);
  color: #e2e8f0;
  font-size: 0.68rem;
  padding: 0.16rem 0.48rem;
  border-radius: 4px;
}

.service-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-body h3 {
  font-size: 1.12rem;
  margin-bottom: 0.55rem;
}

.service-body p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0.95rem;
}

.benefit-list {
  list-style: none;
  margin-bottom: 1.25rem;
  display: grid;
  gap: 0.4rem;
  font-size: 0.86rem;
  color: var(--navy-800);
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.benefit-list li::before {
  content: '✓';
  color: var(--whatsapp);
  font-weight: 800;
}

.service-body .btn {
  margin-top: auto;
  width: 100%;
}

/* Filter Tabs */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.25rem;
}

.filter-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy-900);
  color: #ffffff;
  border-color: var(--navy-900);
}

.category-block {
  margin-bottom: 3.75rem;
}

.category-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1.75rem;
}

/* Gallery */
.gallery-placeholder {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 2px dashed #94a3b8;
  border-radius: var(--radius-md);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  color: var(--navy-800);
}

.gallery-photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: zoom-in;
}

/* Form & Contact */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-900);
}

input, select, textarea {
  font-family: var(--font-body);
  font-size: 0.96rem;
  padding: 0.78rem 0.95rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.14);
}

.photo-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.photo-preview-item {
  width: 84px;
  height: 84px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.alert-box {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  margin-top: 1rem;
}

.alert-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
}

.alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

/* Map Frame */
.map-frame {
  width: 100%;
  height: 380px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

/* Notice / Empty State */
.honest-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: #cbd5e1;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 2.25rem;
  margin-bottom: 2.75rem;
}

.site-footer h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  font-size: 0.92rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Floating WhatsApp & LGPD Cookie Bar */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 950;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--whatsapp);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.42);
  transition: transform var(--transition), background var(--transition);
}

.whatsapp-float:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-3px);
}

.lgpd-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  max-width: 420px;
  z-index: 940;
  background: var(--navy-900);
  color: #e2e8f0;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg);
  font-size: 0.86rem;
}

.lgpd-actions {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
}

/* Modal Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 19, 31, 0.9);
  display: none;
  place-items: center;
  z-index: 1000;
  padding: 1.5rem;
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-height: 85vh;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: #ffffff;
  color: var(--navy-900);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 4%;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    display: none;
  }

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

  .menu-toggle {
    display: inline-flex;
  }

  .nav-actions .btn-whatsapp {
    display: none;
  }

  .hero-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 3.5rem 0;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    display: none;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    padding: 0.95rem;
  }

  .lgpd-banner {
    right: 16px;
    left: 16px;
    bottom: 84px;
    max-width: none;
  }
}
