/* ==========================================================================
   Carol Distribuidora — Design System Autoral, Rústico & Sofisticado
   100% Responsivo: Mobile First, Tablet & Desktop (Sem sobreposições)
   ========================================================================== */

:root {
  /* Tons nobres de cobre, ferro escovado, cerâmica e linho */
  --bg-sand: #F6F3EC;
  --bg-card: #FFFFFF;
  --bg-section-warm: #EFE9DE;
  --bg-dark: #1A1410;
  --bg-dark-card: #251D17;

  --color-brand-copper: #B85324;
  --color-brand-copper-hover: #9D431B;
  --color-brand-dark: #1F1712;
  --color-brand-ochre: #C9822B;
  --color-wa: #20874E;
  --color-wa-hover: #186E3E;

  --text-primary: #1C1612;
  --text-secondary: #52473F;
  --text-muted: #82756A;
  --text-light: #F6F3EC;

  --border-light: #E4DCCF;
  --border-dark: #362B22;

  --shadow-subtle: 0 4px 20px rgba(28, 22, 18, 0.05);
  --shadow-elevated: 0 14px 34px rgba(28, 22, 18, 0.09);

  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-sand);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.topbar {
  background: var(--bg-dark);
  color: #D3C7B9;
  font-size: 0.8rem;
  padding: 8px 0;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-info svg {
  color: var(--color-brand-ochre);
}

.topbar-social a {
  color: #EDE4D8;
  font-weight: 600;
}

.topbar-social a:hover {
  color: #FFF;
}

/* ==========================================================================
   HEADER RESPONSIVO (CORRIGIDO PARA NUNCA INVADIR ESPAÇO)
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 243, 236, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 12px;
}

/* Identidade visual com flex-shrink para respeitar o botão */
.brand-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

.brand-monogram {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(145deg, #2A1E17, #18120E);
  border: 1px solid rgba(184, 83, 36, 0.45);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFF;
  flex-shrink: 0;
}

.brand-monogram span {
  color: var(--color-brand-copper);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.brand-main-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-brand-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-main-name span {
  color: var(--color-brand-copper);
}

.brand-subtext {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 0;
  position: relative;
}

.nav-links a:hover {
  color: var(--color-brand-copper);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-quote-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--border-light);
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.btn-quote-cart:hover {
  border-color: var(--color-brand-copper);
  color: var(--color-brand-copper);
}

.quote-badge {
  background: var(--color-brand-copper);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.btn-header-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--color-brand-copper);
  color: #fff;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: var(--transition);
}

.btn-header-wa:hover {
  background: var(--color-brand-copper-hover);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 7px;
  cursor: pointer;
  color: var(--text-primary);
  line-height: 0;
  flex-shrink: 0;
}

/* ==========================================================================
   HERO EDITORIAL
   ========================================================================== */
.hero {
  padding: 56px 0 68px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-brand-callout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-brand-copper);
  background: rgba(184, 83, 36, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.8vw, 3.3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-brand-dark);
  margin-bottom: 18px;
}

.hero-headline .brand-highlight {
  color: var(--color-brand-copper);
}

.hero-description {
  font-size: 1.04rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 530px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-brand-copper);
  color: #fff;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.94rem;
  transition: var(--transition);
  text-align: center;
}

.btn-primary:hover {
  background: var(--color-brand-copper-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(184, 83, 36, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.94rem;
  transition: var(--transition);
  text-align: center;
}

.btn-secondary:hover {
  background: #FFF;
  border-color: var(--text-primary);
}

.hero-badges-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.badge-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-primary);
  line-height: 1.1;
}

.badge-item span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-media-wrap {
  position: relative;
}

.hero-media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  background: var(--bg-card);
  aspect-ratio: 4 / 3.4;
  border: 1px solid var(--border-light);
}

.hero-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-floating-seal {
  position: absolute;
  bottom: -16px;
  right: -12px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-elevated);
  display: flex;
  align-items: center;
  gap: 12px;
}

.seal-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(184, 83, 36, 0.1);
  color: var(--color-brand-copper);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.seal-text-box strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.seal-text-box span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ==========================================================================
   BRAND STRIP
   ========================================================================== */
.brand-strip {
  background: var(--bg-dark);
  color: #E2D7CB;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-strip-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  text-align: center;
}

.strip-feature {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 600;
}

.strip-feature svg {
  color: var(--color-brand-ochre);
  flex-shrink: 0;
}

/* ==========================================================================
   SEÇÕES GERAIS
   ========================================================================== */
.section {
  padding: 76px 0;
}

.section-warm {
  background-color: var(--bg-section-warm);
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 46px;
}

.section-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand-copper);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.18;
  margin-bottom: 10px;
}

.section-dark .section-title {
  color: #FFF;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.section-dark .section-subtitle {
  color: #B5A99D;
}

/* ==========================================================================
   CARDS DE DESTAQUE (SHOWCASE)
   ========================================================================== */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.showcase-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
  border-color: rgba(184, 83, 36, 0.35);
}

.showcase-media {
  position: relative;
  height: 240px;
  background: #EAE5DC;
  overflow: hidden;
}

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

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

.showcase-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(28, 22, 18, 0.85);
  backdrop-filter: blur(6px);
  color: #FFF;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
}

.showcase-badge.badge-copper {
  background: var(--color-brand-copper);
}

.showcase-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.showcase-brand-line {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-brand-copper);
  font-weight: 700;
  margin-bottom: 5px;
}

.showcase-title {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.25;
}

.showcase-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  flex: 1;
}

.showcase-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.spec-chip {
  font-size: 0.72rem;
  background: var(--bg-sand);
  color: var(--text-primary);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.showcase-action-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.btn-card-add {
  flex: 1;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-card-add:hover, .btn-card-add.added {
  background: var(--color-brand-copper);
  color: #fff;
  border-color: var(--color-brand-copper);
}

.btn-card-direct-wa {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(32, 135, 78, 0.1);
  color: var(--color-wa);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.btn-card-direct-wa:hover {
  background: var(--color-wa);
  color: #fff;
}

/* ==========================================================================
   CATÁLOGO COMPLETO
   ========================================================================== */
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  background: var(--bg-card);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-tab {
  background: transparent;
  border: 1px solid transparent;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover {
  background: var(--bg-sand);
  color: var(--text-primary);
}

.filter-tab.active {
  background: var(--color-brand-copper);
  color: #fff;
}

.search-box {
  position: relative;
  min-width: 220px;
  flex: 1;
  max-width: 320px;
}

.search-box input {
  width: 100%;
  padding: 8px 14px 8px 36px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: var(--bg-sand);
  font-size: 0.86rem;
  outline: none;
  transition: var(--transition);
}

.search-box input:focus {
  border-color: var(--color-brand-copper);
  background: #FFF;
}

.search-box svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

/* ==========================================================================
   HISTÓRIA & CREDIBILIDADE
   ========================================================================== */
.history-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.history-lead {
  font-size: 1.02rem;
  line-height: 1.68;
  color: #D6CBC0;
  margin-bottom: 22px;
}

.history-milestones {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.milestone-item {
  display: flex;
  gap: 14px;
  align-items: baseline;
}

.milestone-year {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-brand-ochre);
  min-width: 48px;
}

.milestone-text {
  font-size: 0.9rem;
  color: #B5A89B;
}

.brand-trust-box {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.brand-trust-box h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #FFF;
  margin-bottom: 10px;
}

.brand-trust-box p {
  color: #B5A89B;
  font-size: 0.9rem;
  margin-bottom: 22px;
}

.trust-credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border-dark);
}

.cred-cell span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-brand-ochre);
  margin-bottom: 2px;
}

.cred-cell strong {
  font-size: 0.9rem;
  color: #FFF;
}

/* ==========================================================================
   CONTATO & MAPA
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
}

.contact-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 22px 0;
}

.contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-sand);
  color: var(--color-brand-copper);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-list strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.contact-list span, .contact-list a {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.contact-list a:hover {
  color: var(--color-brand-copper);
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  min-height: 380px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

/* ==========================================================================
   GAVETA LATERAL DE ORÇAMENTO (QUOTE DRAWER)
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 20, 16, 0.45);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.quote-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: #FFF;
  z-index: 210;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.quote-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-header h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-primary);
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
}

.drawer-body {
  padding: 18px 20px;
  overflow-y: auto;
  flex: 1;
}

.quote-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.quote-row strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.quote-row span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  background: var(--bg-sand);
  cursor: pointer;
  font-weight: 600;
}

.drawer-footer {
  padding: 18px 20px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-sand);
}

.drawer-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-form input, .drawer-form select, .drawer-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: #FFF;
  font-size: 0.88rem;
}

/* ==========================================================================
   BOTÃO FLUTUANTE
   ========================================================================== */
.wa-float-pill {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 150;
  background: var(--color-wa);
  color: #fff;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 6px 20px rgba(32, 135, 78, 0.35);
  transition: var(--transition);
}

.wa-float-pill:hover {
  background: var(--color-wa-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--bg-dark);
  color: #A99E93;
  padding: 56px 0 24px;
  font-size: 0.86rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: #FFF;
  margin-bottom: 12px;
}

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

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

.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: #72685E;
}

/* ==========================================================================
   MEDIA QUERIES — RESPONSIVIDADE COMPLETA E CORREÇÃO DO HEADER
   ========================================================================== */

/* Tablets e Telas Médias (<= 992px) */
@media (max-width: 992px) {
  .hero-grid,
  .history-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

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

  .hero-floating-seal {
    position: static;
    margin-top: 14px;
  }
}

/* Celulares e Smartphones (<= 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 14px;
  }

  .topbar {
    font-size: 0.72rem;
    padding: 5px 0;
  }

  .topbar-info {
    display: none;
  }

  .topbar-inner {
    justify-content: center;
  }

  /* Header com espaço calculado e sem sobreposição */
  .nav-inner {
    height: 68px;
    gap: 8px;
  }

  .brand-identity {
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-monogram {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
    border-radius: 7px;
  }

  .brand-main-name {
    font-size: 1.02rem;
    letter-spacing: -0.01em;
  }

  .brand-subtext {
    display: none; /* Esconde a linha menor "PANELAS • ALUMÍNIOS..." no celular para despoluir e não apertar */
  }

  /* Ações do header no mobile */
  .nav-actions {
    gap: 6px;
    flex-shrink: 0;
  }

  .btn-header-wa {
    display: none;
  }

  .btn-quote-cart {
    padding: 6px 10px;
    font-size: 0.78rem;
    gap: 5px;
  }

  .quote-badge {
    min-width: 17px;
    height: 17px;
    font-size: 0.68rem;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #FFF;
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 2px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    gap: 12px;
    text-align: center;
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .nav-links a {
    font-size: 0.95rem;
    padding: 8px 0;
    width: 100%;
    border-bottom: 1px solid var(--border-light);
  }

  .hero {
    padding: 30px 0 42px;
  }

  .hero-headline {
    font-size: 1.7rem;
    line-height: 1.2;
    margin-bottom: 14px;
  }

  .hero-description {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 20px;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 28px;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    width: 100%;
    padding: 12px 18px;
  }

  .hero-badges-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 18px;
  }

  .badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .badge-item strong {
    font-size: 1.1rem;
    min-width: 70px;
  }

  .brand-strip-inner {
    flex-direction: column;
    gap: 10px;
  }

  .section {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .filter-list {
    justify-content: center;
  }

  .search-box {
    max-width: 100%;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .trust-credentials-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .wa-float-pill {
    bottom: 16px;
    right: 16px;
    padding: 9px 14px;
    font-size: 0.78rem;
  }
}
