/* ============================================
   GERFERMART COWORKING — CSS GLOBAL
   Site institucional multipágina premium
   ============================================ */

/* --- TOKENS / VARIÁVEIS --- */
:root {
  /* Cores da marca */
  --brand: #E86B10;
  --brand-dark: #C55A0B;
  --brand-light: #FFF3E8;
  --green: #0D725F;
  --green-dark: #095A4B;
  --green-light: #E8F5F1;

  /* Neutros */
  --ink: #1A1C1E;
  --ink-light: #2D3035;
  --muted: #5E6369;
  --subtle: #8A8F96;
  --line: rgba(26, 28, 30, 0.10);
  --line-dark: rgba(26, 28, 30, 0.18);
  --paper: #F7F6F3;
  --paper-warm: #FAF9F6;
  --white: #FFFFFF;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(14, 18, 22, 0.06);
  --shadow: 0 12px 40px rgba(14, 18, 22, 0.10);
  --shadow-lg: 0 24px 64px rgba(14, 18, 22, 0.14);

  /* Raios */
  --radius: 24px;
  --radius-sm: 16px;
  --radius-xs: 8px;
  --radius-pill: 999px;

  /* Tipografia */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container: 1200px;
  --nav-h: 80px;

  /* Transições */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.25s var(--ease);
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.15; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
img, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
figure { margin: 0; }

/* --- ACESSIBILIDADE --- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand); color: var(--white); padding: 12px 24px;
  font-weight: 700; border-radius: 0 0 var(--radius-xs) var(--radius-xs);
}
.skip-link:focus { left: 50%; transform: translateX(-50%); }

/* --- CONTAINER --- */
.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

/* --- TIPOGRAFIA --- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px;
  background: var(--brand); border-radius: 10px;
}
.display-1 { font-size: clamp(42px, 6vw, 80px); letter-spacing: -0.06em; line-height: 0.95; }
.display-2 { font-size: clamp(32px, 4.5vw, 56px); letter-spacing: -0.04em; line-height: 1.05; }
.heading-1 { font-size: clamp(28px, 3.5vw, 44px); letter-spacing: -0.03em; }
.heading-2 { font-size: clamp(24px, 2.5vw, 36px); letter-spacing: -0.025em; }
.heading-3 { font-size: clamp(20px, 2vw, 28px); letter-spacing: -0.02em; }
.heading-4 { font-size: clamp(18px, 1.5vw, 22px); letter-spacing: -0.015em; }
.body-lg { font-size: 18px; }
.body-sm { font-size: 14px; }
.text-muted { color: var(--muted); }
.text-brand { color: var(--brand); }
.text-green { color: var(--green); }
.text-center { text-align: center; }

/* --- BOTÕES --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  font-weight: 700; font-size: 15px;
  border: 2px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--ink); color: var(--white);
  box-shadow: 0 8px 24px rgba(26,28,30,0.18);
}
.btn-primary:hover { background: var(--ink-light); }

.btn-brand {
  background: var(--brand); color: var(--white);
  box-shadow: 0 8px 24px rgba(232,107,16,0.25);
}
.btn-brand:hover { background: var(--brand-dark); }

.btn-green {
  background: var(--green); color: var(--white);
  box-shadow: 0 8px 24px rgba(13,114,95,0.20);
}
.btn-green:hover { background: var(--green-dark); }

.btn-outline {
  border-color: var(--line-dark);
  background: transparent;
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--ink); background: var(--paper); }

.btn-ghost {
  border-color: rgba(26,28,30,0.12);
  background: rgba(255,255,255,0.72);
}
.btn-ghost:hover { background: var(--white); border-color: var(--line-dark); }

.btn-white {
  background: var(--white); color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover { box-shadow: var(--shadow); }

.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-lg { padding: 18px 36px; font-size: 16px; }

.btn-whatsapp {
  background: #25D366; color: var(--white);
  box-shadow: 0 8px 24px rgba(37,211,102,0.25);
}
.btn-whatsapp:hover { background: #20BD5A; }
.btn-whatsapp svg { width: 20px; height: 20px; fill: currentColor; }

/* --- HEADER / NAV --- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: var(--transition);
  height: var(--nav-h);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-brand { display: flex; align-items: center; }
.nav-brand img {
  height: 48px; width: auto;
  object-fit: contain;
}

/* Desktop nav */
.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 14px;
  font-size: 14px; font-weight: 600;
  color: var(--ink); opacity: 0.8;
  border-radius: var(--radius-xs);
  transition: var(--transition);
}
.nav-links > li > a:hover,
.nav-links > li > a.active { opacity: 1; background: var(--paper); }
.nav-links > li > a.active { color: var(--brand); }

/* Dropdown */
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 260px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 8px;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
  z-index: 50;
}
.nav-links > li:hover > .nav-dropdown,
.nav-links > li:focus-within > .nav-dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 14px; font-weight: 500;
  border-radius: var(--radius-xs);
  transition: var(--transition);
}
.nav-dropdown a:hover {
  background: var(--paper);
  color: var(--brand);
}

.nav-actions { 
  display: flex; 
  align-items: center; 
  gap: 12px;
  flex-shrink: 0;
}
.nav-phone {
  font-size: 14px; 
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.nav-phone:hover { border-color: var(--ink); background: var(--paper); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  align-items: center; justify-content: center;
  font-size: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--white);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu-close {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  border-radius: 50%;
  background: var(--paper);
}
.mobile-menu-nav {
  flex: 1; padding: 16px 20px;
}
.mobile-menu-nav a {
  display: block;
  padding: 14px 0;
  font-size: 16px; font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.mobile-menu-nav a:last-child { border-bottom: none; }
.mobile-menu-nav .mobile-submenu { padding-left: 20px; }
.mobile-menu-nav .mobile-submenu a { font-weight: 500; font-size: 15px; color: var(--muted); }
.mobile-menu-footer {
  padding: 20px;
  border-top: 1px solid var(--line);
}
.mobile-menu-footer .btn { width: 100%; margin-bottom: 8px; }

/* --- BREADCRUMB --- */
.breadcrumb {
  padding: 16px 0;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { margin: 0 6px; opacity: 0.5; }

/* --- SEÇÕES --- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-soft { background: var(--paper); }
.section-warm { background: var(--paper-warm); }
.section-dark { background: var(--ink); color: var(--white); }
.section-green { background: var(--green); color: var(--white); }
.section-brand { background: var(--brand-light); }

.section-head {
  margin-bottom: 48px;
}
.section-head .eyebrow { margin-bottom: 12px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--muted); max-width: 640px; font-size: 17px; }
.section-head-center { text-align: center; }
.section-head-center p { margin-inline: auto; }

/* --- HERO (PÁGINAS INTERNAS) --- */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--paper-warm) 0%, var(--paper) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,107,16,0.08), transparent 70%);
  right: -100px; top: -100px;
}
.page-hero h1 { margin: 12px 0 20px; }
.page-hero .lead { font-size: 18px; color: var(--muted); max-width: 640px; }

/* --- CARDS --- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.card-img {
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}
.card-img img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.card:hover .card-img img { transform: scale(1.04); }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--brand-light);
  display: grid; place-items: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--brand);
}

.card-title { font-size: 20px; margin-bottom: 8px; }
.card-text { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.card-price { font-size: 14px; color: var(--muted); margin-top: auto; }
.card-price strong { font-size: 22px; color: var(--ink); letter-spacing: -0.03em; }

.card-featured {
  background: var(--green); color: var(--white);
  border-color: transparent;
}
.card-featured .card-text { color: rgba(255,255,255,0.8); }
.card-featured .card-price { color: rgba(255,255,255,0.7); }
.card-featured .card-price strong { color: var(--white); }
.card-featured .card-icon { background: rgba(255,255,255,0.15); color: var(--white); }

/* Card de serviço (link) */
.service-card {
  display: flex; flex-direction: column;
  min-height: 300px;
  text-decoration: none;
}
.service-card .card-arrow {
  margin-top: auto; padding-top: 16px;
  font-size: 14px; font-weight: 700;
  color: var(--brand);
  display: flex; align-items: center; gap: 6px;
}
.card-featured .card-arrow { color: rgba(255,255,255,0.9); }

/* --- GRID HELPERS --- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* --- FEATURE (serviço em destaque) --- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.feature-badge {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(26,28,30,0.88);
  backdrop-filter: blur(14px);
  color: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700;
}
.feature-content h2 { margin-bottom: 16px; }
.feature-content p { color: var(--muted); margin-bottom: 20px; }
.feature-list {
  margin-bottom: 28px;
}
.feature-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  font-size: 15px;
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* --- NÚMEROS / STATS --- */
.stats-bar {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.stat-item {
  padding: 12px 20px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.stat-item:last-child { border-right: none; }
.stat-item strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.stat-item span {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}

/* --- DEPOIMENTOS --- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.testimonial-stars {
  color: #F5A623;
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand-light);
  display: grid; place-items: center;
  font-weight: 700; font-size: 18px;
  color: var(--brand);
}
.testimonial-name {
  font-weight: 700; font-size: 15px;
}
.testimonial-role {
  font-size: 13px; color: var(--muted);
}

/* --- FAQ --- */
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-question {
  width: 100%;
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 17px; font-weight: 600;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  background: none; border: none;
}
.faq-question::after {
  content: "+";
  font-size: 24px; font-weight: 300;
  transition: var(--transition);
  flex-shrink: 0;
}
.faq-item.active .faq-question::after {
  content: "−";
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-answer-inner {
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.faq-item.active .faq-answer {
  max-height: 500px;
}

/* --- GALERIA --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }

/* --- MAPA --- */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  width: 100%;
  min-height: 380px;
  background: var(--paper);
}
.map-wrap iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 380px;
  border: 0;
  display: block;
}

/* --- INFRA LIST (diferenciais) --- */
.infra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.infra-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.infra-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  background: var(--green-light);
  display: grid; place-items: center;
  font-size: 20px;
  color: var(--green);
}
.infra-item h4 { font-size: 15px; margin-bottom: 4px; }
.infra-item p { font-size: 13px; color: var(--muted); margin: 0; }

/* --- PRICING TABLE --- */
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  transition: var(--transition);
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.price-card.popular {
  border-color: var(--brand);
  position: relative;
}
.price-card.popular::before {
  content: "Mais procurado";
  position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--brand); color: var(--white);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.price-amount {
  font-size: 42px; font-weight: 800;
  letter-spacing: -0.04em;
  margin: 16px 0 4px;
}
.price-period { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.price-features { text-align: left; margin-bottom: 28px; }
.price-features li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  font-size: 14px;
}
.price-features li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--green); font-weight: 700;
}

/* --- CTA SECTION --- */
.cta-section {
  background: var(--ink);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.7); margin-bottom: 32px; max-width: 500px; margin-inline: auto; }
.cta-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* --- FOOTER --- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.8);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img {
  height: 48px;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  max-width: 300px;
  line-height: 1.6;
}
.footer-social {
  display: flex; gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  font-size: 18px;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--brand); color: var(--white); }

.footer-col h4 {
  font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.footer-col a:hover { color: var(--brand); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* --- WHATSAPP FLUTUANTE --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: wa-pulse 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37,211,102,0.5);
}
.whatsapp-float svg { width: 32px; height: 32px; fill: var(--white); }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 28px rgba(37,211,102,0.6); }
}

/* --- TABELA DE SERVIÇOS RELACIONADOS --- */
.related-services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.related-card {
  display: flex; align-items: center; gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
}
.related-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

/* --- RESPONSIVE --- */
@media (max-width: 1180px) {
  .nav-phone { display: none; }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .feature { gap: 40px; }
}

@media (max-width: 900px) {
  .hero-container-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .hero-gallery-wrap {
    transform: none !important;
    max-width: 540px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  .section { padding: 56px 0; }
  .section-sm { padding: 36px 0; }

  .page-hero [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .nav-links, .nav-actions .nav-phone { display: none; }
  .nav-actions .btn { display: none; }
  .menu-toggle { display: flex; }

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

  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature.reverse .feature-media { order: -1; }

  /* Mapas em mobile */
  .map-wrap {
    min-height: 320px;
  }
  .map-wrap iframe {
    min-height: 320px;
  }

  /* Grid com 2 colunas no desktop vira 1 coluna */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1.05fr .95fr"],
  [style*="grid-template-columns: 1.05fr .95fr"] {
    grid-template-columns: 1fr !important;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .section-head {
    flex-direction: column; align-items: flex-start; gap: 16px;
  }

  .cta-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  .gallery-grid { grid-template-columns: 1fr; }
  .btn-lg { padding: 14px 24px; font-size: 15px; }
  .page-hero { padding: 110px 0 50px; }
  .hero-gallery-wrap {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    gap: 12px !important;
  }
  .hero-gallery-wrap figure:first-child {
    grid-row: auto !important;
    height: 240px;
  }
  .hero-gallery-wrap figure:not(:first-child) {
    height: 180px;
  }
}

/* --- ANIMAÇÕES ON SCROLL --- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- UTILS --- */
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-auto { margin-top: auto; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.w-full { width: 100%; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
