/* ==========================================================================
   DS PINTURAS & SERVIÇOS GERAIS — DESIGN SYSTEM & MOBILE-FIRST CSS
   4 Temas Oficiais:
   1. [data-theme="naval"]  -> "Naval & Ouro" (logo.jpg / Corporativo & Premium)
   2. [data-theme="folder"] -> "Bordô Clássico" (dspinturas-folder.webp / Vinho & Dourado)
   3. [data-theme="onix"]   -> "Ônix & Terracota" (dspinturas-logo.webp / Preto, Terracota & Oliva)
   4. [data-theme="gelo"]   -> "Corporativo Light" (logo-corporativo-light.webp / Fundo Gelo & Azul)
   ========================================================================== */

/* --- TEMA 1: NAVAL & OURO (Padrão Dark) --- */
:root, [data-theme="naval"] {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', var(--font-main);
  --font-mono: 'JetBrains Mono', monospace;

  /* Cores Base */
  --bg-primary: #070d17;
  --bg-secondary: #0b1728;
  --bg-card: rgba(14, 28, 48, 0.75);
  --bg-card-hover: rgba(18, 38, 66, 0.90);
  --bg-glass: rgba(11, 23, 40, 0.92);
  --bg-input: #081220;

  --border-color: rgba(217, 164, 65, 0.25);
  --border-hover: rgba(217, 164, 65, 0.65);
  --border-subtle: rgba(255, 255, 255, 0.08);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-primary: #d9a441;
  --accent-primary-glow: rgba(217, 164, 65, 0.35);
  --accent-secondary: #0b1f3a;
  --accent-tertiary: #00d2ff;

  --badge-bg: rgba(217, 164, 65, 0.15);
  --badge-text: #f3c76a;
  --badge-border: rgba(217, 164, 65, 0.40);

  --btn-primary-bg: linear-gradient(135deg, #d9a441, #b88628);
  --btn-primary-text: #0b1f3a;

  --hero-radial: radial-gradient(circle at 80% 20%, rgba(217, 164, 65, 0.15) 0%, transparent 50%),
                 radial-gradient(circle at 10% 80%, rgba(11, 31, 58, 0.5) 0%, transparent 60%);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.50);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.65);
  --shadow-accent: 0 0 25px rgba(217, 164, 65, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- TEMA 2: BORDÔ CLÁSSICO (Folder Vinho & Dourado Quente) --- */
[data-theme="folder"] {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', var(--font-main);
  --font-mono: 'JetBrains Mono', monospace;

  /* Cores Base */
  --bg-primary: #2e0810;
  --bg-secondary: #450d18;
  --bg-card: rgba(90, 16, 32, 0.60);
  --bg-card-hover: rgba(110, 20, 40, 0.80);
  --bg-glass: rgba(69, 13, 24, 0.94);
  --bg-input: #3a0a14;

  --border-color: rgba(212, 169, 74, 0.35);
  --border-hover: rgba(212, 169, 74, 0.75);
  --border-subtle: rgba(212, 169, 74, 0.15);

  --text-primary: #f5e3b8;
  --text-secondary: #d1b78a;
  --text-muted: #a98f66;

  --accent-primary: #d4a94a;
  --accent-primary-glow: rgba(212, 169, 74, 0.35);
  --accent-secondary: #450d18;
  --accent-tertiary: #f5e3b8;

  --badge-bg: rgba(212, 169, 74, 0.18);
  --badge-text: #e8c57e;
  --badge-border: rgba(212, 169, 74, 0.45);

  --btn-primary-bg: linear-gradient(135deg, #d4a94a, #b68c34);
  --btn-primary-text: #2e0810;

  --hero-radial: radial-gradient(circle at 80% 20%, rgba(212, 169, 74, 0.18) 0%, transparent 50%),
                 radial-gradient(circle at 10% 80%, rgba(90, 16, 32, 0.6) 0%, transparent 60%);

  --shadow-sm: 0 4px 14px rgba(20, 3, 7, 0.4);
  --shadow-md: 0 10px 32px rgba(20, 3, 7, 0.55);
  --shadow-lg: 0 20px 52px rgba(20, 3, 7, 0.7);
  --shadow-accent: 0 0 25px rgba(212, 169, 74, 0.30);
}

/* --- TEMA 3: ÔNIX & TERRACOTA (Selo Preto, Terracota & Verde Oliva) --- */
[data-theme="onix"] {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Cores Base */
  --bg-primary: #0d0d0d;
  --bg-secondary: #161616;
  --bg-card: rgba(30, 30, 30, 0.75);
  --bg-card-hover: rgba(42, 42, 42, 0.90);
  --bg-glass: rgba(13, 13, 13, 0.94);
  --bg-input: #141414;

  --border-color: rgba(201, 123, 74, 0.32);
  --border-hover: rgba(201, 123, 74, 0.70);
  --border-subtle: rgba(255, 255, 255, 0.08);

  --text-primary: #f5f5f0;
  --text-secondary: #b8b8b0;
  --text-muted: #7a7a72;

  --accent-primary: #c97b4a; /* Terracota / Pinturas em Geral */
  --accent-primary-glow: rgba(201, 123, 74, 0.30);
  --accent-secondary: #7c8b54; /* Verde Oliva / Montagens de Móveis */
  --accent-tertiary: #e4a57c;

  --badge-bg: rgba(124, 139, 84, 0.18);
  --badge-text: #b4bb8c;
  --badge-border: rgba(124, 139, 84, 0.40);

  --btn-primary-bg: linear-gradient(135deg, #c97b4a, #ad6339);
  --btn-primary-text: #0d0d0d;

  --hero-radial: radial-gradient(circle at 80% 20%, rgba(201, 123, 74, 0.16) 0%, transparent 50%),
                 radial-gradient(circle at 10% 80%, rgba(124, 139, 84, 0.20) 0%, transparent 60%);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.75);
  --shadow-accent: 0 0 25px rgba(201, 123, 74, 0.30);
}

/* --- TEMA 4: CORPORATIVO LIGHT (Fundo Gelo & Azul Naval) --- */
[data-theme="gelo"] {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', var(--font-main);
  --font-mono: 'JetBrains Mono', monospace;

  /* Cores Base Light */
  --bg-primary: #f1f5f9;
  --bg-secondary: #e2e8f0;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(241, 245, 249, 0.94);
  --bg-input: #ffffff;

  --border-color: rgba(11, 31, 58, 0.14);
  --border-hover: rgba(198, 146, 20, 0.85);
  --border-subtle: rgba(11, 31, 58, 0.08);

  --text-primary: #0b1f3a;
  --text-secondary: #334155;
  --text-muted: #64748b;

  --accent-primary: #c69214;
  --accent-primary-glow: rgba(198, 146, 20, 0.30);
  --accent-secondary: #0b1f3a;
  --accent-tertiary: #1e40af;

  --badge-bg: #fef9ee;
  --badge-text: #b4831b;
  --badge-border: #f3c76a;

  --btn-primary-bg: linear-gradient(135deg, #0b1f3a, #1a3b6b);
  --btn-primary-text: #ffffff;

  --hero-radial: radial-gradient(circle at 80% 20%, rgba(217, 164, 65, 0.12) 0%, transparent 50%),
                 radial-gradient(circle at 10% 80%, rgba(226, 232, 240, 0.85) 0%, transparent 60%);

  --shadow-sm: 0 4px 12px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 10px 25px rgba(11, 31, 58, 0.10);
  --shadow-lg: 0 20px 40px rgba(11, 31, 58, 0.14);
  --shadow-accent: 0 0 25px rgba(198, 146, 20, 0.25);
}

/* --- RESET & MOBILE-FIRST BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.35s ease, color 0.35s ease;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px; /* Espaço para barra mobile fixa */
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
  touch-action: manipulation;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  touch-action: manipulation;
}

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

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

/* --- HEADER & NAVBAR (Mobile-First) --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

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

@media (min-width: 769px) {
  .nav-wrapper {
    height: 80px;
  }
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid var(--accent-primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  flex-shrink: 0;
}

@media (min-width: 769px) {
  .brand-logo {
    width: 48px;
    height: 48px;
  }
}

.brand-info {
  min-width: 0;
}

.brand-info h1 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.1;
  white-space: nowrap;
}

[data-theme="onix"] .brand-info h1 {
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.brand-info span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
}

/* Nav links desktop & mobile drawer */
.nav-links {
  display: none;
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
  }

  .nav-link {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
  }

  .nav-link:hover, .nav-link.active {
    color: var(--accent-primary);
  }
}

/* Mobile Nav Drawer */
@media (max-width: 991px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem 1.25rem 2rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    transition: var(--transition);
    display: flex;
    list-style: none;
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-link {
    display: block;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background: var(--bg-input);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
  }

  .nav-link:hover, .nav-link.active {
    background: var(--badge-bg);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
  }
}

/* Nav Actions (Header Right) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-social-btn {
  display: none;
}

@media (min-width: 600px) {
  .nav-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: #E1306C;
    font-size: 0.8rem;
    font-weight: 700;
    transition: var(--transition);
  }

  .nav-social-btn:hover {
    border-color: #E1306C;
    box-shadow: 0 0 15px rgba(225, 48, 108, 0.3);
    transform: translateY(-2px);
  }
}

.header-wa-btn {
  padding: 8px 14px;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
}

@media (max-width: 480px) {
  .header-wa-btn .wa-btn-text {
    display: none;
  }
  .header-wa-btn {
    padding: 9px 12px;
    border-radius: var(--radius-full);
  }
  .header-wa-btn i {
    font-size: 1.15rem;
  }
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 10px;
  width: 40px;
  height: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- BOTÕES GERAIS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text) !important;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.1);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: var(--bg-card);
  transform: translateY(-2px);
}

/* --- HERO SECTION (Mobile-First) --- */
.hero-section {
  padding: 110px 0 60px;
  position: relative;
  overflow: hidden;
  background: var(--hero-radial);
}

@media (min-width: 769px) {
  .hero-section {
    padding: 150px 0 90px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.badge-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--badge-bg);
  color: var(--badge-text);
  border: 1px solid var(--badge-border);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw + 0.5rem, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

[data-theme="onix"] .hero-title {
  font-size: clamp(2.3rem, 7vw + 0.5rem, 3.6rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw + 0.5rem, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

@media (min-width: 480px) {
  .hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.hero-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}

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

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.feature-item i {
  color: var(--accent-primary);
  font-size: 1rem;
  flex-shrink: 0;
}

/* Hero Media / Preview Card */
.hero-card-preview {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.hero-card-preview img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: var(--transition);
}

@media (min-width: 769px) {
  .hero-card-preview img {
    height: 480px;
  }
}

.hero-badge-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  padding: 1rem;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-badge-overlay h4 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-primary);
}

.hero-badge-overlay p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* --- SECTION HEADERS --- */
.section {
  padding: 60px 0;
  position: relative;
}

@media (min-width: 769px) {
  .section {
    padding: 90px 0;
  }
}

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

@media (min-width: 769px) {
  .section-header {
    margin-bottom: 3.5rem;
  }
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw + 0.6rem, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

[data-theme="onix"] .section-title {
  font-size: clamp(1.9rem, 5vw + 0.6rem, 2.8rem);
  font-weight: 700;
}

.section-subtitle {
  font-size: clamp(0.92rem, 2vw + 0.4rem, 1.05rem);
  color: var(--text-secondary);
}

/* --- SERVIÇOS SECTION --- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

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

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 1.25rem;
}

.service-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.service-btn {
  width: 100%;
  padding: 9px 14px;
  font-size: 0.85rem;
}

/* --- CALCULADORA DE ORÇAMENTO WHATSAPP --- */
.calculator-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 640px) {
  .calc-card {
    padding: 2.25rem;
  }
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 992px) {
  .calc-grid {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 2.5rem;
  }
}

.calc-form-group {
  margin-bottom: 1.25rem;
}

.calc-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.service-chips {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

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

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

.chip-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  min-height: 44px;
}

.chip-option input[type="checkbox"] {
  accent-color: var(--accent-primary);
  width: 16px;
  height: 16px;
}

.chip-option.selected {
  background: var(--badge-bg);
  border-color: var(--accent-primary);
  color: var(--text-primary);
}

.calc-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .calc-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: var(--transition);
  min-height: 44px;
}

.form-control:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-primary-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

.calc-preview-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
}

.preview-header h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
}

.message-preview {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
  white-space: pre-wrap;
  max-height: 180px;
  overflow-y: auto;
}

.btn-calc-submit {
  width: 100%;
  padding: 13px;
  font-size: 0.95rem;
}

/* --- GALERIA & ANTES E DEPOIS --- */
.gallery-filter-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1.75rem;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

@media (min-width: 769px) {
  .gallery-filter-bar {
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
  }
}

.filter-btn {
  padding: 7px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 38px;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.gallery-thumb-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.gallery-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-thumb-wrapper img {
  transform: scale(1.06);
}

.gallery-overlay-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 9px;
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-primary);
  border: 1px solid var(--border-color);
}

.gallery-info {
  padding: 1rem;
}

.gallery-info h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.gallery-info p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* --- VÍDEOS CURTOS & REELS --- */
.reels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 992px) {
  .reels-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.reel-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-color);
  aspect-ratio: 9/16;
  max-height: 420px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition);
}

.reel-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-accent);
  border-color: var(--accent-primary);
}

.reel-canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, transparent 40%, rgba(0,0,0,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.85rem;
}

.reel-badge-live {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.reel-play-icon {
  align-self: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px var(--accent-primary-glow);
  transition: var(--transition);
}

.reel-bottom-info h4 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 2px;
  line-height: 1.25;
}

.reel-bottom-info span {
  color: var(--accent-primary);
  font-size: 0.74rem;
  font-weight: 600;
}

/* --- KIT DE DIVULGAÇÃO & TEXTOS --- */
.promo-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.promo-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 769px) {
  .promo-tabs {
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
  }
}

.promo-tab-btn {
  padding: 8px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  min-height: 40px;
}

.promo-tab-btn.active, .promo-tab-btn:hover {
  background: var(--badge-bg);
  border-color: var(--accent-primary);
  color: var(--text-primary);
}

.promo-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  position: relative;
  max-width: 840px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .promo-card {
    padding: 2rem;
  }
}

.promo-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 600px) {
  .promo-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.promo-header h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
}

.promo-text-content {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
  white-space: pre-wrap;
  background: var(--bg-input);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.promo-actions {
  display: flex;
  justify-content: flex-end;
}

/* --- DIFERENCIAIS SECTION --- */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

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

.diff-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.diff-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.6rem;
}

.diff-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.diff-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* --- FOLDER SECTION --- */
.folder-section {
  background: var(--hero-radial);
}

.folder-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 992px) {
  .folder-box {
    grid-template-columns: 1fr 1.1fr;
    padding: 3rem;
  }
}

.folder-image-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.folder-details h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw + 0.5rem, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
  color: var(--text-primary);
}

.folder-details p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
}

/* --- CTA FINAL (Adaptável a Todos os 4 Temas) --- */
.cta-section {
  padding: 70px 0;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%),
              radial-gradient(circle at 50% 50%, var(--accent-primary-glow) 0%, transparent 70%);
  text-align: center;
  position: relative;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

@media (min-width: 769px) {
  .cta-section {
    padding: 100px 0;
  }
}

.cta-box {
  max-width: 760px;
  margin: 0 auto;
}

.cta-box .section-tag {
  color: var(--accent-primary);
  margin-bottom: 0.75rem;
}

.cta-box h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw + 0.5rem, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

[data-theme="onix"] .cta-box h2 {
  font-size: clamp(2.3rem, 6vw + 0.5rem, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.cta-box p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-contact-direct {
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.cta-contact-direct strong {
  color: var(--text-primary);
}

.cta-contact-direct a {
  color: var(--accent-primary);
  font-weight: 700;
}

.cta-contact-direct a:hover {
  text-decoration: underline;
}

/* --- FOOTER COM THEME SWITCHER OFICIAL --- */
.site-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  padding: 50px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a, .footer-col span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-col a:hover {
  color: var(--accent-primary);
}

/* --- SELETOR DE TEMAS NO RODAPÉ (Mobile-First) --- */
.footer-theme-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin: 1rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 769px) {
  .footer-theme-section {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 1.25rem 2rem;
  }
}

.theme-switcher-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.theme-switcher-heading i {
  color: var(--accent-primary);
}

.theme-picker-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

@media (min-width: 480px) {
  .theme-picker-group {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }
}

.theme-pick-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  min-height: 44px;
}

.theme-color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.theme-pick-tag {
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0.7;
  text-transform: uppercase;
}

.theme-pick-btn:hover {
  border-color: var(--accent-primary);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.theme-pick-btn.active {
  background: var(--badge-bg);
  border-color: var(--accent-primary);
  color: var(--text-primary);
  box-shadow: 0 0 14px var(--accent-primary-glow);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (min-width: 600px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* --- STICKY FLOATING WHATSAPP BUTTON (DESKTOP) --- */
.floating-whatsapp {
  display: none;
}

@media (min-width: 769px) {
  .floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #25d366;
    color: #ffffff;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    transition: var(--transition);
  }

  .floating-whatsapp:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
    color: #fff;
  }

  .floating-whatsapp i {
    font-size: 1.4rem;
  }
}

/* --- MOBILE BOTTOM ACTION BAR (STICKY) --- */
.mobile-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 8px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  padding: 8px 12px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

@media (min-width: 769px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.mobile-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  height: 46px;
}

.mobile-bar-whatsapp {
  flex: 1;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  gap: 8px;
  font-size: 0.9rem;
  padding: 0 16px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.mobile-bar-whatsapp i {
  font-size: 1.25rem;
}

.mobile-bar-insta {
  width: 46px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: #E1306C;
  font-size: 1.2rem;
}

.mobile-bar-calc {
  width: 46px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--accent-primary);
  font-size: 1.15rem;
}

/* --- LIGHTBOX MODAL --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(3, 7, 18, 0.94);
  backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  position: relative;
  max-width: 800px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  pointer-events: none;
}

@media (min-width: 769px) {
  .toast-container {
    bottom: 30px;
  }
}

.toast {
  padding: 10px 20px;
  background: #10b981;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.28s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}
