/* --- src/styles/tokens.css --- */
/**
 * Design Tokens — RN Carpintaria
 * Sistema de variáveis de design e proporções arquitetônicas
 */

:root {
  /* Paleta Cromática Nobre */
  --color-bg-primary: #FAF9F6;       /* Alabaster Warm Paper */
  --color-bg-secondary: #F3F1EC;     /* Warm Linen / Card Surface */
  --color-bg-tertiary: #E8E5DE;      /* Borda e divisores sutis */
  --color-bg-dark: #121212;          /* Noir Profundo */
  --color-bg-surface-dark: #1C1B1A;  /* Superfície de cards escuros */
  --color-header-bg: rgba(18, 18, 18, 0.72); /* Vidro escuro translúcido */

  /* Contrastes e Tipografia */
  --color-text-primary: #151515;     /* Preto editorial nobre */
  --color-text-secondary: #58554F;   /* Cinza terroso respirado */
  --color-text-muted: #8E8A83;       /* Metadados, numerações 01/ */
  --color-text-inverse: #FFFFFF;     /* Texto sobre fundos escuros */
  --color-text-inverse-muted: #B8B5AE;

  /* Acentos de Madeira e Materiais Nobres */
  --color-accent-gold: #C5A059;      /* Dourado bronze arquitetônico */
  --color-accent-wood: #8B5A2B;      /* Âmbar freijó / nogueira */
  --color-accent-hover: #A67038;
  --color-whatsapp: #25D366;         /* Verde oficial WhatsApp */
  --color-whatsapp-hover: #20BD5A;

  /* Linhas e Divisórias Ultrafinas (1px) */
  --color-border-light: rgba(21, 21, 21, 0.08);
  --color-border-dark: rgba(255, 255, 255, 0.12);
  --color-border-hover: rgba(255, 255, 255, 0.28);

  /* Tipografia */
  --font-family-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Escala Modular */
  --font-size-2xs: 0.6875rem; /* 11px */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-md: 1.125rem;   /* 18px */
  --font-size-lg: 1.375rem;   /* 22px */
  --font-size-xl: 1.75rem;    /* 28px */
  --font-size-2xl: 2.25rem;   /* 36px */
  --font-size-3xl: 3.25rem;   /* 52px */
  --font-size-hero: clamp(2.5rem, 5.5vw, 4.5rem);

  /* Pesos */
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Tracking (Letter-spacing) */
  --letter-spacing-tight: -0.025em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.06em;
  --letter-spacing-tag: 0.16em;

  /* Espaçamentos */
  --space-2xs: 0.25rem;  /* 4px */
  --space-xs: 0.5rem;    /* 8px */
  --space-sm: 1rem;      /* 16px */
  --space-md: 1.5rem;    /* 24px */
  --space-lg: 2.5rem;    /* 40px */
  --space-xl: 4rem;      /* 64px */
  --space-2xl: 6.5rem;   /* 104px */
  --space-3xl: 9.5rem;   /* 152px */

  /* Containers e Grid */
  --container-max-width: 1400px;
  --container-gutter: clamp(1.25rem, 4vw, 3.5rem);

  /* Bordas Arredondadas */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Transições Fluídas */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Z-Index Hierarchy */
  --z-base: 1;
  --z-overlay: 10;
  --z-header: 100;
  --z-drawer: 200;
  --z-modal: 300;
}


/* --- src/styles/reset.css --- */
/**
 * Modern CSS Reset & Baseline
 */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  font-family: var(--font-family-body);
  font-weight: var(--font-weight-regular);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: clip;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  border-radius: 0 !important;
}

img {
  height: auto;
  border-radius: 0 !important;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

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

ul,
ol {
  list-style: none;
}


/* --- src/styles/typography.css --- */
/**
 * Typography System — RN Carpintaria
 */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-display);
  font-weight: var(--font-weight-semibold);
  line-height: 1.15;
  letter-spacing: var(--letter-spacing-tight);
  color: var(--color-text-primary);
}

.text-hero {
  font-size: var(--font-size-hero);
  font-weight: var(--font-weight-bold);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.text-section-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: var(--font-weight-semibold);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.text-lead {
  font-size: var(--font-size-base);
  line-height: 1.65;
  font-weight: var(--font-weight-light);
  color: var(--color-text-secondary);
}

.text-body {
  font-size: var(--font-size-base);
  line-height: 1.75;
  color: var(--color-text-secondary);
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-family-display);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-tag);
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  background-color: var(--color-bg-secondary);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-light);
}

.tag-pill--dark {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-text-inverse);
  border-color: var(--color-border-dark);
}

.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent-gold);
}

/* --- src/styles/layout.css --- */
/**
 * Layout & Section Architecture — RN Carpintaria
 * Proporções arquitetônicas, sobriedade e alto padrão construtivo
 */

html {
  overflow-x: clip;
}

body {
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
}

/* Container Geral */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-gutter);
  padding-right: var(--container-gutter);
  box-sizing: border-box;
}

/* ==========================================================================
   HEADER FLUTUANTE DE ALTO LUXO
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: var(--z-header);
  padding: 1.25rem 0;
  transition: background-color var(--transition-normal),
    backdrop-filter var(--transition-normal),
    border-color var(--transition-normal),
    padding var(--transition-normal),
    box-shadow var(--transition-normal);
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Estado ao Rolar a Página (Cabeçalho Flutuante com Glassmorphism) */
.site-header.header--scrolled {
  background-color: rgba(18, 18, 18, 0.88);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.85rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Marca / Logotipo Oficial */
.header-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.brand-logo-link:hover {
  opacity: 0.9;
  transform: scale(0.99);
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  height: 48px;
  line-height: 0;
  vertical-align: middle;
}

.brand-logo-symbol {
  height: 65px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: height var(--transition-normal);
}

.brand-logo-text {
  height: 95px;
  width: auto;
  object-fit: contain;
  display: block;
  /* Filtro CSS para que o texto e o slogan fiquem 100% brancos puro, mantendo o emblema azul original */
  filter: brightness(0) invert(1);
  transition: height var(--transition-normal), filter var(--transition-fast);
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: height var(--transition-normal);
}

.site-header.header--scrolled .brand-logo-wrap,
.site-header.header--scrolled .brand-logo-symbol,
.site-header.header--scrolled .brand-logo-img {
  height: 55px;
}

.site-header.header--scrolled .brand-logo-text {
  height: 92px;
}

/* Navegação Central Desktop */
.nav-desktop {
  display: none;
}

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

.nav-link {
  position: relative;
  font-family: var(--font-family-display);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-tag);
  text-transform: uppercase;
  color: var(--color-text-inverse);
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
  overflow: hidden;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
  color: #FFFFFF;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: translateX(0);
}

/* Ações do Header (Direita) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Oculto por padrão em páginas institucionais (Home, Serviços, Projetos, Contato) */
.header-search-btn {
  display: none;
}

/* Botão Hamburger (Mobile) */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: background-color var(--transition-fast);
  color: #FFFFFF;
  position: relative;
  z-index: 10;
  pointer-events: auto;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.hamburger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
  pointer-events: none;
}

.hamburger-btn.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .hamburger-btn {
    display: none;
  }
}

/* Header Responsivo para Celulares e Tablets menores: Logo Menor à Esquerda + Hamburger à Direita */
@media (max-width: 1023px) {
  .site-header {
    padding: 0.75rem 0;
    width: 100%;
    box-sizing: border-box;
  }

  .site-header .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.75rem;
    box-sizing: border-box;
  }

  /* Logo menor, alinhado com precisão à esquerda */
  .header-brand {
    margin-right: auto;
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    height: 32px;
    line-height: 0;
  }

  .brand-logo-symbol {
    height: 36px;
    width: auto;
    object-fit: contain;
    display: block;
  }

  .brand-logo-text {
    height: 46px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
  }

  .site-header.header--scrolled {
    padding: 0.6rem 0;
  }

  .site-header.header--scrolled .brand-logo-wrap {
    height: 26px;
  }

  .site-header.header--scrolled .brand-logo-symbol {
    height: 50px;
  }

  .site-header.header--scrolled .brand-logo-text {
    height: 59px;
  }

  /* Ações do Header: Apenas menu hamburger visível à direita */
  .header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0;
  }

  .header-actions .btn-whatsapp-cta {
    display: none !important;
  }

  .hamburger-btn {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-pill);
    background-color: rgba(18, 18, 18, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    color: #FFFFFF;
    flex-shrink: 0;
    padding: 0;
  }

  .hamburger-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #FFFFFF;
    border-radius: 2px;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
  }
}

@media (max-width: 480px) {
  .site-header .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand-logo-symbol {
    height: 60px;
  }

  .brand-logo-text {
    height: 70px;
  }

  .hamburger-btn {
    width: 40px;
    height: 40px;
  }
}

/* ==========================================================================
   MENU DROPDOWN MOBILE / RESPONSIVO GERAL
   Desce suavemente logo abaixo do header flutuante com acabamento glassmorphism
   ========================================================================== */
.mobile-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background-color: rgba(14, 14, 14, 0.96);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: max-height 0.38s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: var(--z-header);
}

.mobile-dropdown.is-open {
  display: block !important;
  max-height: 600px !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.mobile-dropdown-container {
  padding-top: 0.5rem;
  padding-bottom: 1.35rem;
  box-sizing: border-box;
}

.mobile-dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.mobile-dropdown-item {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0.25rem;
  font-family: var(--font-family-display);
  font-size: 0.95rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.mobile-dropdown-link:hover,
.mobile-dropdown-link:focus,
.mobile-dropdown-link.is-active {
  color: #FFFFFF;
  padding-left: 0.4rem;
}

.mobile-dropdown-cta-wrap {
  border-bottom: none !important;
  padding-top: 1.15rem;
  width: 100%;
}

.mobile-dropdown-whatsapp {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  font-size: 0.875rem;
  gap: 0.65rem;
}

@media (min-width: 1024px) {
  .mobile-dropdown {
    display: none !important;
  }
}

/* ==========================================================================
   APENAS EM 1024PX (E TELAS COMPACTAS ATÉ 1199PX):
   - Redução do gap entre os itens do menu
   - Redução suave da fonte dos itens para que nenhuma opção fique em duas linhas
   ========================================================================== */
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav-desktop {
    display: flex !important;
    gap: 1.25rem !important;
  }

  .nav-link {
    font-size: 0.72rem !important;
    letter-spacing: 0.08em !important;
    white-space: nowrap !important;
  }

  /* Título Hero Monumental em 1024px:
     Fonte ampliada e quebra na vírgula (uma frase embaixo da outra) */
  .hero-title-monumental {
    font-size: clamp(2.5rem, 3.8vw, 3rem) !important;
    line-height: 1.15 !important;
    max-width: 100% !important;
  }

  .hero-title-phrase {
    display: block !important;
  }

  /* Terceira Dobra em 1024px (Projetos em Madeira Maciça):
     Título em linha única (sem quebra), fontes reduzidas e alinhamento horizontal com a imagem */
  .collection-piece-title {
    font-size: clamp(1.4rem, 1.75vw, 1.62rem) !important;
    white-space: nowrap !important;
    line-height: 1.15 !important;
  }

  .collection-content {
    gap: 0.95rem !important;
  }

  .collection-quote {
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
  }

  .collection-desc {
    font-size: 0.83rem !important;
    line-height: 1.55 !important;
  }

  .collection-meta-divider {
    margin-top: 0.5rem !important;
  }

  .collection-meta-grid {
    gap: 0.75rem !important;
  }

  .collection-meta-val {
    font-size: 0.74rem !important;
    line-height: 1.35 !important;
  }

  /* Sexta Dobra em 1024px (Metodologia Construtiva / Processo):
     Redução de 30px no padding-bottom do final da dobra sem mexer no efeito cortina */
  .process-section {
    padding-bottom: calc(6rem - 30px) !important;
  }

  /* Oitava Dobra em 1024px (Diário da Carpintaria / Blog):
     Oculta o subtexto do blog deixando apenas os títulos e exibe 3 artigos */
  .blog-sidebar-desc {
    display: none !important;
  }

  .blog-sidebar-card {
    align-items: center !important;
  }

  .blog-sidebar-title {
    margin-bottom: 0 !important;
  }

  .blog-sidebar-card.blog-tablet-only {
    display: grid !important;
    align-items: center !important;
  }

  .blog-sidebar-divider.blog-tablet-only {
    display: block !important;
  }
}

/* ==========================================================================
   RESPONSIVO ESPECÍFICO PARA TABLETS E 1024PX:
   - Aumento do tamanho do logo no header para máxima legibilidade
   - No menu dropdown, botão do WhatsApp com tamanho natural (sem esticar)
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1024px) {
  .brand-logo-wrap {
    height: 52px !important;
  }

  .brand-logo-symbol {
    height: 64px !important;
  }

  .brand-logo-text {
    height: 84px !important;
  }

  .site-header.header--scrolled .brand-logo-wrap {
    height: 42px !important;
  }

  .site-header.header--scrolled .brand-logo-symbol {
    height: 54px !important;
  }

  .site-header.header--scrolled .brand-logo-text {
    height: 70px !important;
  }

  /* No menu dropdown, não esticar o botão do WhatsApp */
  .mobile-dropdown-cta-wrap {
    display: flex !important;
    justify-content: flex-start !important;
    padding-top: 1.5rem !important;
  }

  .mobile-dropdown-whatsapp {
    width: auto !important;
    max-width: fit-content !important;
    display: inline-flex !important;
    align-self: flex-start !important;
    padding: 0.9rem 2.25rem !important;
  }

  /* Título Hero Monumental: tamanho ampliado e quebra na vírgula (uma frase embaixo da outra) */
  .hero-title-monumental {
    font-size: clamp(2.35rem, 4.4vw, 3.15rem) !important;
    line-height: 1.15 !important;
    max-width: 100% !important;
  }

  .hero-title-phrase {
    display: block !important;
  }

  /* Segunda Dobra (História e Filosofia Construtiva):
     Em uma única linha com duas colunas, imagem à esquerda e textos à direita */
  .story-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    align-items: stretch !important;
    min-height: clamp(520px, 60vh, 720px) !important;
    width: 100% !important;
  }

  .story-visual-col {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    aspect-ratio: unset !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #1a1a1c !important;
  }

  .story-visual-col picture {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .story-visual-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: unset !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: 0 !important;
    transform: none !important;
  }

  .story-content-col {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: clamp(2.5rem, 4vw, 4rem) clamp(1.75rem, 3.2vw, 3rem) !important;
    background-color: #28282B !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .story-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1.35rem !important;
    max-width: 100% !important;
  }

  .story-lead {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem) !important;
    line-height: 1.55 !important;
  }

  .story-body {
    font-size: clamp(0.88rem, 1.25vw, 0.98rem) !important;
    line-height: 1.65 !important;
  }

  .story-metrics {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: clamp(0.75rem, 1.5vw, 1.25rem) !important;
    width: 100% !important;
    padding-top: 1.35rem !important;
    margin-top: 0.5rem !important;
  }

  .metric-value {
    font-size: clamp(1.4rem, 2.2vw, 1.85rem) !important;
  }

  .metric-label {
    font-size: clamp(0.68rem, 1vw, 0.78rem) !important;
  }

  /* Terceira Dobra (Acervo Autoral & Obra Exclusiva):
     Título quebrado em duas linhas, texto ocupando espaço maior de coluna e menor gap entre colunas */
  .collection-header {
    display: grid !important;
    grid-template-columns: minmax(140px, max-content) 1fr !important;
    gap: clamp(1.5rem, 3.5vw, 2.75rem) !important;
    align-items: flex-end !important;
  }

  .collection-title {
    max-width: min-content !important;
  }

  .collection-title-phrase {
    display: block !important;
  }

  .collection-header-text {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Terceira Dobra - Grade de Conteúdo (Projetos em Madeira Maciça):
     Uma linha e duas colunas, texto à esquerda e imagem à direita */
  .collection-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: clamp(2rem, 3.5vw, 3.5rem) !important;
    align-items: center !important;
  }

  .collection-content {
    width: 100% !important;
    gap: 1rem !important;
  }

  .collection-piece-title {
    font-size: clamp(1.4rem, 1.8vw, 1.65rem) !important;
    white-space: nowrap !important;
    line-height: 1.15 !important;
  }

  .collection-quote {
    font-size: clamp(0.88rem, 1.1vw, 0.98rem) !important;
    line-height: 1.48 !important;
  }

  .collection-desc {
    font-size: clamp(0.8rem, 1vw, 0.88rem) !important;
    line-height: 1.55 !important;
  }

  .collection-meta-grid {
    gap: clamp(0.65rem, 1.2vw, 1rem) !important;
  }

  .collection-meta-label {
    font-size: 0.68rem !important;
  }

  .collection-meta-val {
    font-size: clamp(0.72rem, 0.95vw, 0.82rem) !important;
    line-height: 1.4 !important;
  }

  .collection-visual {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 4 / 5 !important;
    max-height: 580px !important;
    overflow: hidden !important;
    background-color: #1A1A1C !important;
  }

  .collection-visual-img {
    width: 100% !important;
    height: 125% !important;
    position: absolute !important;
    top: -12.5% !important;
    left: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  /* Quarta Dobra (Obras Selecionadas):
     Formato e animação como no desktop (cards alternados, sem esticar imagens)
     Tag com título do projeto abaixo da imagem */
  .projects-section {
    overflow-x: clip !important;
  }

  .projects-stream {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: clamp(4.5rem, 11vh, 12rem) !important;
    position: relative !important;
  }

  .project-card {
    width: 100% !important;
    max-width: clamp(300px, 42vw, 460px) !important;
    border-radius: 0 !important;
    overflow: visible !important;
    background-color: transparent !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
    transition: none !important;
  }

  .project-card[data-side="left"] {
    align-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    margin-top: 0 !important;
  }

  .project-card[data-side="right"] {
    align-self: flex-end !important;
    margin-right: 0 !important;
    margin-left: auto !important;
    margin-top: clamp(-50px, -8vh, -100px) !important;
  }

  .project-img-box {
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
  }

  .project-img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
    border-radius: 0 !important;
  }

  .project-hover-tag {
    position: static !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background-color: #FFFFFF !important;
    color: #1A1A1A !important;
    padding: 0.95rem 1.25rem !important;
    border-radius: 0 !important;
    margin-top: 0 !important;
    box-shadow: none !important;
    white-space: normal !important;
  }

  .project-tag-name {
    font-family: var(--font-family-display) !important;
    font-size: clamp(0.76rem, 1.2vw, 0.86rem) !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    color: #1A1A1A !important;
    line-height: 1.3 !important;
  }

  /* Quinta Dobra (CNC de Precisão e Maestria Artesanal):
     Alinhamento centralizado dos itens no tablet (título, texto e botão) */
  .authority-precision-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    max-width: 780px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    gap: 1.5rem !important;
  }

  .precision-title-col {
    width: 100% !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
  }

  .precision-title {
    text-align: center !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .precision-desc-col {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .precision-desc {
    text-align: center !important;
    max-width: 680px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .precision-cta-wrap {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 1.5rem !important;
  }

  .btn-precision-cta {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Quinta Dobra (Quem Somos & O Primeiro Corte 1990):
     Em uma linha com duas colunas de mesmo tamanho (1fr 1fr) e título com fonte reduzida */
  .authority-history {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: clamp(2rem, 4vw, 3.5rem) !important;
    align-items: end !important;
    margin-top: clamp(4rem, 7vw, 6rem) !important;
  }

  .authority-history-col {
    width: 100% !important;
  }

  .authority-history-title {
    font-size: clamp(1.55rem, 2.1vw, 1.85rem) !important;
    line-height: 1.2 !important;
  }

  .authority-milestone {
    width: 100% !important;
  }

  .milestone-year {
    font-size: clamp(2.6rem, 3.2vw, 3rem) !important;
  }

  .milestone-desc {
    font-size: clamp(0.92rem, 1.1vw, 1.02rem) !important;
    line-height: 1.65 !important;
  }

  /* Sétima Dobra (Diferenciais / Benefícios):
     Imagem e texto na mesma linha (1 linha e 2 colunas),
     texto alinhado ao centro em relação à imagem */
  .benefits-layout {
    grid-template-columns: 1fr !important;
    gap: clamp(3rem, 5vw, 4.5rem) !important;
  }

  .benefits-sidebar {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: clamp(2rem, 3.5vw, 3.5rem) !important;
    align-items: center !important;
    width: 100% !important;
  }

  .benefits-sidebar-visual {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    max-height: 480px !important;
    overflow: hidden !important;
    border-radius: 0 !important;
  }

  .benefits-sidebar-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .benefits-sidebar-content {
    padding-top: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    height: 100% !important;
  }

  .benefits-sidebar-desc {
    font-size: clamp(0.92rem, 1.25vw, 1.02rem) !important;
    line-height: 1.65 !important;
    margin: 0 0 1.5rem !important;
  }

  .benefits-pill-btn {
    display: inline-flex !important;
    align-self: flex-start !important;
  }

  /* Oitava Dobra (Diário da Carpintaria / Blog):
     Igual ao desktop, em uma linha com duas colunas */
  .blog-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) !important;
    gap: clamp(1.75rem, 3.2vw, 3.5rem) !important;
    align-items: start !important;
    width: 100% !important;
  }

  .blog-section .blog-featured-card {
    width: 100% !important;
  }

  .blog-featured-title {
    font-size: clamp(1.25rem, 1.8vw, 1.55rem) !important;
    line-height: 1.25 !important;
  }

  .blog-featured-desc {
    font-size: clamp(0.85rem, 1.15vw, 0.95rem) !important;
    line-height: 1.6 !important;
  }

  .blog-sidebar-list {
    width: 100% !important;
  }

  .blog-sidebar-card {
    display: grid !important;
    grid-template-columns: clamp(80px, 11vw, 105px) 1fr !important;
    gap: clamp(0.75rem, 1.3vw, 1.15rem) !important;
    align-items: center !important;
  }

  .blog-sidebar-title {
    font-size: clamp(0.92rem, 1.1vw, 1.05rem) !important;
    line-height: 1.3 !important;
    margin-bottom: 0 !important;
  }

  /* Oitava Dobra (Diário da Carpintaria / Blog):
     No tablet, oculta o subtexto do blog deixando apenas os títulos e exibe 3 artigos */
  .blog-sidebar-desc {
    display: none !important;
  }

  .blog-sidebar-card.blog-tablet-only {
    display: grid !important;
    grid-template-columns: clamp(80px, 11vw, 105px) 1fr !important;
    gap: clamp(0.75rem, 1.3vw, 1.15rem) !important;
    align-items: center !important;
  }

  .blog-sidebar-divider {
    margin: clamp(0.85rem, 1.4vw, 1.15rem) 0 !important;
  }

  .blog-sidebar-divider.blog-tablet-only {
    display: block !important;
  }

  /* Décima Primeira Dobra (Vamos Construir Juntos / CTA Final):
     Efeito cortina em altura total idêntico à página de Serviços */
  .cta-overlay-section {
    height: 65vh !important;
    height: 65svh !important;
    min-height: 480px !important;
  }

  /* Sexta Dobra (Metodologia Construtiva / Processo):
     Redução de 30px no padding-bottom do final da dobra sem mexer no efeito cortina */
  .process-section {
    padding-bottom: calc(6rem - 30px) !important;
  }
}


/* ==========================================================================
   PRIMEIRA DOBRA (HERO SECTION MONUMENTAL)
   ========================================================================== */
.hero-section {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background-color: #121212;
  z-index: 1;
}

/* Imagem de Fundo com Alta Resolução e Otimização Eager */
.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: var(--z-base);
  overflow: hidden;
}

.hero-bg-wrapper picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 12s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.hero-section:hover .hero-bg-img {
  transform: scale(1.0);
}

/* Máscara de Gradiente Nobre */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: calc(var(--z-base) + 1);
  background: linear-gradient(180deg,
      rgba(14, 14, 14, 0.4) 0%,
      rgba(14, 14, 14, 0.1) 40%,
      rgba(14, 14, 14, 0.8) 100%);
}

/* Container e Barra Inferior do Hero */
.hero-container {
  position: relative;
  z-index: calc(var(--z-base) + 2);
  width: 100%;
}

.hero-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  padding-bottom: clamp(2.5rem, 5vw, 4.25rem);
  width: 100%;
}

@media (max-width: 991px) {

  /* Primeira Dobra: Imagem e Seção em Full Width e Full Height com Efeito Cortina */
  .hero-section {
    position: sticky;
    top: 0;
    z-index: 1;
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    margin: 0;
  }

  .hero-bg-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: var(--z-base);
  }

  .hero-bg-wrapper picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  .hero-bg-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transform: none;
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(14, 14, 14, 0.45) 0%,
        rgba(14, 14, 14, 0.15) 30%,
        rgba(14, 14, 14, 0.75) 100%);
    z-index: calc(var(--z-base) + 1);
    pointer-events: none;
  }

  .hero-container {
    position: relative;
    z-index: calc(var(--z-base) + 2);
    width: 100%;
    padding-bottom: 0;
    box-sizing: border-box;
  }

  /* Textos mantidos exatamente como estão com espaçamento respirado */
  .hero-bottom-bar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding-bottom: clamp(2rem, 6vh, 3.25rem);
    width: 100%;
  }

  .hero-title-monumental {
    font-size: clamp(1.85rem, 6.5vw, 2.35rem);
    line-height: 1.15;
    max-width: 100%;
  }

  .hero-explore-link {
    font-size: var(--font-size-xs);
    padding-bottom: 0;
  }

  /* Segunda Dobra no Mobile: Efeito Cortina (Sobe Sobre a Dobra Anterior) e Tamanho Proporcional */
  .story-section {
    position: relative;
    z-index: 10;
    padding-top: 0;
    background-color: #28282B;
    overflow: hidden;
  }

  .story-full-visual {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 220px;
    max-height: 380px;
    position: relative;
    overflow: hidden;
    background-color: #1a1a1c;
    border-radius: 0 !important;
  }

  .story-full-visual picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  .story-full-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0 !important;
    transform: none !important;
  }

  /* Coluna Visual com deck-madeira-cumaru-piscina-rn-carpintaria.webp no Mobile: Proporção original (3:4), sem zoom ou corte, sem margens nas bordas */
  .story-visual-col {
    position: relative;
    width: 100%;
    min-height: unset !important;
    height: auto !important;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background-color: #1a1a1c;
    margin: 0 !important;
    padding: 0 !important;
  }

  .story-visual-col picture {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
  }

  .story-visual-img {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 3 / 4;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
    border-radius: 0 !important;
    transform: none !important;
  }
}

/* Título Monumental no Canto Esquerdo */
.hero-title-monumental {
  font-family: var(--font-family-display);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.7);
  max-width: 605px;
}

/* Botão de Navegação no Canto Direito */
.hero-explore-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #FFFFFF;
  font-family: var(--font-family-display);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-bottom: 0.85rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.hero-explore-link:hover {
  color: var(--color-accent-gold);
  transform: translateY(3px);
}

.hero-explore-arrow {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.2;
  transition: transform var(--transition-fast);
}

.hero-explore-link:hover .hero-explore-arrow {
  transform: translateY(4px);
}


/* ==========================================================================
   SEGUNDA DOBRA: IMAGEM PRINCIPAL & NARRATIVA EDITORIAL
   ========================================================================== */
.story-section {
  position: relative;
  padding-top: 6rem;
  z-index: 10;
  background-color: #28282B;
  overflow: hidden;
}

/* Container Enquadrado da Imagem de Destaque com Parallax */
.story-frame-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vh, 4.5rem) clamp(1.5rem, 4vw, 4.5rem) 0;
}

.story-full-visual {
  width: 100%;
  height: clamp(480px, 78vh, 850px);
  position: relative;
  overflow: hidden;
  background-color: #1a1a1c;
  border-radius: 0 !important;
}

.story-full-visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.story-full-img {
  width: 100%;
  height: 130%;
  position: absolute;
  top: -15%;
  left: 0;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0 !important;
  will-change: transform;
}

/* Grade de 2 Colunas: Imagem encostada à esquerda e Narrativa Editorial à direita */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  min-height: clamp(550px, 80vh, 880px);
  margin: 0;
  padding: 0;
  scroll-margin-top: clamp(70px, 8vh, 90px);
}

@media (min-width: 992px) {
  .story-grid {
    grid-template-columns: 52% 48%;
    align-items: stretch;
  }
}

/* Coluna Visual Esquerda: Totalmente Encostada na Seção Anterior e na Lateral Esquerda */
.story-visual-col {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #1a1a1c;
  margin: 0;
  padding: 0;
}

@media (min-width: 992px) {
  .story-visual-col {
    min-height: 100%;
    height: 100%;
  }

  .story-visual-img {
    width: 100%;
    height: 125%;
    position: absolute;
    top: -12.5%;
    left: 0;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0 !important;
    will-change: transform;
  }
}

/* Coluna de Texto Direita: Narrativa Editorial e Métricas */
.story-content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3.5rem, 6vw, 6.5rem) clamp(2rem, 5vw, 6.5rem);
  background-color: #28282B;
}

.story-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.65rem;
  max-width: 600px;
}

.story-lead {
  color: #FFFFFF;
  font-size: clamp(1.15rem, 1.35vw, 1.35rem);
  line-height: 1.6;
  font-weight: 400;
}

.story-body {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  line-height: 1.72;
  font-weight: 300;
}

/* Grid de Métricas Nobres de Tradição */
.story-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  padding-top: 1.85rem;
  margin-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.metric-value {
  font-family: var(--font-family-display);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: var(--font-weight-bold);
  color: #FFFFFF;
  letter-spacing: var(--letter-spacing-tight);
}

.metric-label {
  font-size: var(--font-size-2xs);
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  font-weight: var(--font-weight-medium);
}


/* ==========================================================================
   TERCEIRA DOBRA: ACERVO AUTORAL & OBRA EXCLUSIVA (FUNDO CINZA #28282B)
   ========================================================================== */
.collection-section {
  position: relative;
  padding: clamp(5.5rem, 10.5vw, 9rem) 0;
  background-color: #28282B;
  color: var(--color-text-inverse);
  overflow: hidden;
}

.collection-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: flex-end;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .collection-header {
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
  }
}

.collection-title {
  color: var(--color-text-inverse);
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.collection-header-text {
  color: var(--color-text-inverse-muted);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.7;
  font-weight: var(--font-weight-light);
}

.collection-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.collection-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: center;
}

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

/* Coluna de Imagem com Proporção Ampla e Efeito Parallax */
.collection-visual {
  position: relative;
  border-radius: 0 !important;
  overflow: hidden;
  background-color: #1A1A1C;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-height: 680px;
}

@media (min-width: 992px) {
  .collection-visual {
    aspect-ratio: 1 / 1;
    max-height: 720px;
  }
}

.collection-visual-img {
  width: 100%;
  height: 125%;
  position: absolute;
  top: -12.5%;
  left: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 0 !important;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: none !important;
}

.collection-watermark {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background-color: rgba(18, 18, 18, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-family-display);
  font-size: var(--font-size-2xs);
  letter-spacing: var(--letter-spacing-tag);
  text-transform: uppercase;
  color: var(--color-text-inverse-muted);
}

/* Coluna de Detalhes da Peça Autoral */
.collection-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.collection-category {
  font-family: var(--font-family-display);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-tag);
  text-transform: uppercase;
  color: var(--color-accent-gold);
}

.collection-piece-title {
  color: var(--color-text-inverse);
  font-size: clamp(2.25rem, 2.5vw, 2.5rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.collection-quote {
  color: #FFFFFF;
  font-size: clamp(1rem, 1vw, 1.35rem);
  line-height: 1.6;
  font-weight: 400;
  margin-top: -0.25rem;
}

.collection-desc {
  font-size: var(--font-size-base);
  line-height: 1.75;
  color: var(--color-text-inverse-muted);
}

.collection-meta-divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-border-dark);
  margin-top: 1rem;
}

.collection-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em;
  width: 100%;
}

.collection-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.collection-meta-label {
  font-size: var(--font-size-2xs);
  color: #8C8880;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-tag);
  font-weight: var(--font-weight-semibold);
}

.collection-meta-val {
  font-size: var(--font-size-sm);
  color: #FFFFFF;
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
}


/* ==========================================================================
   QUARTA DOBRA: OBRAS SELECIONADAS & REALIZAÇÕES HISTÓRICAS
   ========================================================================== */
.projects-section {
  position: relative;
  background-color: #28282B;
  padding: clamp(3rem, 6vh, 6rem) 0 clamp(8rem, 12vh, 12rem);
  overflow: visible;
  border-top: none;
  isolation: isolate;
}

/* Camada de Textura Mesclada com Fundo Cinza */
.projects-texture-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-image: url('https://media.visuals.com.br/visuals-media/rn-carpintaria/images/textura-madeira-fundo-01.webp?v=2');
  background-repeat: repeat;
  background-size: cover;
  background-position: center top;
  mix-blend-mode: overlay;
  opacity: 0.22;
  filter: contrast(115%) brightness(95%);
}

/* Cabeçalho Sticky Centralizado (Fixado no topo enquanto a seção rola) */
.projects-sticky-header {
  position: sticky;
  top: clamp(4.5rem, 7vh, 6.2rem);
  z-index: 5;
  text-align: center;
  pointer-events: none;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  transition: opacity 0.4s ease;
  padding-top: 2rem;
}

.projects-title {
  font-family: var(--font-family-display);
  font-size: clamp(2rem, 1.8vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.projects-container {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 0 auto;
  padding-left: clamp(1.5rem, 4vw, 4.5rem);
  padding-right: clamp(1.5rem, 4vw, 4.5rem);
}

/* Stream de Cards em Fluxo Alternado Sequencial */
.projects-stream {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: clamp(5rem, 13vh, 16rem);
  position: relative;
}

/* Card de Obra Menor, Adaptado à Imagem, SEM SOMBRAS e com animação de scroll reversível */
.project-card {
  position: relative;
  width: 100%;
  max-width: clamp(290px, 37vw, 490px);
  border-radius: 0 !important;
  overflow: visible;
  background-color: transparent;
  box-shadow: none !important;
  /* Sem sombras nos blocos/fotos */
  will-change: transform, opacity;
  opacity: 1;
}

.project-card:hover {
  box-shadow: none !important;
}

/* Alinhamento alternado no Desktop: 1ª à esquerda, 2ª à direita, etc. */
@media (min-width: 992px) {
  .project-card[data-side="left"] {
    align-self: flex-start;
    margin-left: 0;
  }

  .project-card[data-side="right"] {
    align-self: flex-end;
    margin-right: 0;
    margin-top: clamp(-60px, -9vh, -120px);
  }
}

/* Responsivo para Celular: Obras Selecionadas centralizadas com margem padrão e nome abaixo da imagem */
@media (max-width: 767px) {

  /* Ocultar imagem deck-madeira-cumaru-piscina (.story-visual-col) na Home no responsivo para celulares */
  .story-visual-col {
    display: none !important;
  }

  .story-grid {
    display: flex !important;
    flex-direction: column !important;
    min-height: auto !important;
  }

  .projects-section {
    overflow-x: clip;
    /* Evita rolagem horizontal com cards vindos da lateral */
    padding-top: clamp(2.5rem, 5vh, 4rem);
    padding-bottom: clamp(5rem, 10vh, 7.5rem);
  }

  .projects-container {
    padding-left: var(--container-gutter) !important;
    padding-right: var(--container-gutter) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .projects-stream {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    gap: clamp(3.5rem, 7vh, 5.5rem) !important;
    overflow-x: clip;
  }

  .project-card {
    width: 100% !important;
    max-width: 100% !important;
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    transition: none !important;
    /* Movimento 100% controlado pelo scroll em 60fps */
  }

  .project-img-box {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
  }

  .project-img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
    border-radius: 0 !important;
  }

  /* Tag com o Nome da Obra: Posicionada abaixo da imagem no mobile */
  .project-hover-tag {
    position: static !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background-color: #FFFFFF !important;
    color: #1A1A1A !important;
    padding: 0.95rem 1.25rem !important;
    border-radius: 0 !important;
    margin-top: 0.5rem !important;
    box-shadow: none !important;
    white-space: normal !important;
  }

  .project-tag-name {
    font-family: var(--font-family-display) !important;
    font-size: clamp(0.76rem, 2.7vw, 0.86rem) !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    color: #1A1A1A !important;
    line-height: 1.3 !important;
  }
}

/* Box da Imagem adaptado ao tamanho natural da imagem (sem altura fixa e sem sombras) */
.project-img-box {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  background-color: transparent;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.project-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: brightness(0.96);
  transform: scale(1.0);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.6s ease;
  will-change: transform;
}

.project-card:hover .project-img {
  transform: scale(1.02);
  filter: brightness(1.03);
}

/* Tag Branca Flutuante com Nome da Obra (Aparece no Hover) */
.project-hover-tag {
  position: absolute;
  bottom: clamp(1rem, 1.8vw, 1.5rem);
  left: clamp(1rem, 1.8vw, 1.5rem);
  right: auto;
  background-color: #FFFFFF;
  color: #121212;
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  font-family: var(--font-family-display);
  font-size: clamp(0.72rem, 0.88vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
}

.project-card:hover .project-hover-tag {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Botão de Ação Central Inferior */
.projects-bottom-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(6rem, 10vw, 9.5rem);
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background-color: #FFFFFF;
  color: #141414;
  padding: 0.95rem 2.5rem;
  border-radius: 9999px;
  font-family: var(--font-family-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.35s ease;
}

.btn-pill .pill-dot {
  font-size: 0.95rem;
  line-height: 1;
}

.btn-pill:hover {
  background-color: #F0EEEA;
  color: #000000;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
}


/* ==========================================================================
   QUINTA DOBRA: CNC DE PRECISÃO, OFÍCIO & TRADIÇÃO DESDE 1990
   ========================================================================== */
.authority-section {
  position: relative;
  padding: clamp(5.5rem, 9vw, 9.5rem) 0 clamp(6rem, 10vw, 10rem);
  background-color: #F4F1EA;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

/* Bloco Superior: CNC de Precisão e Mãos de Ofício */
.authority-precision-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
  align-items: start;
}

@media (min-width: 860px) {
  .authority-precision-header {
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(2.5rem, 5vw, 6rem);
  }
}

.precision-title {
  font-family: var(--font-family-display);
  font-size: clamp(2.1rem, 2.7vw, 3.25rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: #1C1B1A;
  margin: 0;
}

.precision-desc {
  font-size: clamp(0.98rem, 1.15vw, 1.1rem);
  line-height: 1.68;
  color: #55514B;
  margin: 0;
  padding-top: 0.35rem;
}

.precision-cta-wrap {
  margin-top: clamp(1.25rem, 2vw, 1.75rem);
}

.btn-precision-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #1A1A1A;
  color: #FFFFFF;
  padding: 0.85rem 1.85rem;
  border-radius: 9999px;
  font-family: var(--font-family-display);
  font-size: clamp(0.74rem, 0.88vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-precision-cta:hover {
  background-color: #333333;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.btn-precision-arrow {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.2;
  transition: transform 0.3s ease;
}

.btn-precision-cta:hover .btn-precision-arrow {
  transform: translateX(4px);
}

/* Container Wrapper da Galeria */
.authority-gallery-wrapper {
  position: relative;
  width: 100%;
}

/* Grid das 3 Fotos Escalonadas Lado a Lado (Desktop) */
.authority-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  align-items: flex-start;
}

@media (min-width: 768px) {
  .authority-cards-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: clamp(1.5rem, 2.5vw, 2.5rem) !important;
    display: grid !important;
    transform: none !important;
    width: 100% !important;
  }

  .authority-card-clone {
    display: none !important;
  }

  .authority-gallery-dots {
    display: none !important;
  }
}

/* Responsivo para Celulares: Galeria em Loop Autoplay passando na tela */
@media (max-width: 767px) {
  .authority-gallery-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding-bottom: 0.5rem;
  }

  .authority-cards-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    gap: 0 !important;
    will-change: transform;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .authority-photo-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0 !important;
    box-sizing: border-box;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    /* Remove animação de surgir de baixo para cima das imagens no mobile */
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  .authority-gallery-wrapper .authority-photo-card,
  .authority-cards-grid .authority-photo-card,
  .authority-cards-grid [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  .authority-photo-card:hover {
    transform: none !important;
  }

  .authority-photo-img {
    aspect-ratio: 4 / 4.5 !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* Indicadores de Paginação no Mobile */
  .authority-gallery-dots {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.5rem;
    width: 100%;
  }

  .authority-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background-color: rgba(28, 27, 26, 0.22);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
      background-color 0.3s ease;
  }

  .authority-dot.is-active {
    width: 26px;
    background-color: #1C1B1A;
  }
}

/* Cards sem Bordas Arredondadas e sem Textos Embaixo */
.authority-photo-card {
  position: relative;
  border-radius: 0 !important;
  overflow: hidden;
  background-color: #E2DFD8;
  box-shadow: 0 14px 35px -10px rgba(0, 0, 0, 0.12);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.authority-photo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px -12px rgba(0, 0, 0, 0.2);
}

/* Efeito de Escalonamento Editorial Rítmico */
@media (min-width: 768px) {
  .authority-photo-card:nth-child(1) {
    margin-top: 0;
  }

  .authority-photo-card:nth-child(2) {
    margin-top: clamp(2.5rem, 4.5vw, 4.5rem);
  }

  .authority-photo-card:nth-child(3) {
    margin-top: clamp(5rem, 9vw, 9rem);
  }
}

.authority-photo-img {
  width: 100%;
  aspect-ratio: 4 / 5.2;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0 !important;
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.authority-photo-card:hover .authority-photo-img {
  transform: scale(1.06);
}

/* Bloco Inferior: Quem Somos & O Primeiro Corte 1990 */
.authority-history {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: flex-start;
  margin-top: clamp(5.5rem, 9vw, 9rem);
}

@media (min-width: 860px) {
  .authority-history {
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(2.5rem, 5vw, 6rem);
    align-items: end;
  }
}

.authority-tag {
  font-family: var(--font-family-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7A756D;
  margin-bottom: 0.85rem;
}

.authority-history-title {
  font-family: var(--font-family-display);
  font-size: clamp(2.2rem, 2.8vw, 3.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #1C1B1A;
  margin: 0;
}

.authority-milestone {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-left: 0;
}

.milestone-year-row {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
}

.milestone-year {
  font-family: var(--font-family-display);
  font-size: clamp(3.2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #8F6229;
  line-height: 1;
  letter-spacing: -0.03em;
}

.milestone-label {
  font-family: var(--font-family-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7A756D;
}

.milestone-desc {
  font-size: clamp(0.98rem, 1.15vw, 1.1rem);
  line-height: 1.68;
  color: #55514B;
  margin: 0;
  max-width: 480px;
}


/* ==========================================================================
   SEXTA DOBRA: METODOLOGIA CONSTRUTIVA — DA VISÃO À REALIDADE (STACKING CARDS)
   ========================================================================== */
.process-section {
  position: relative;
  background-color: #28282B;
  color: #FFFFFF;
  padding: 6rem 0;
  overflow: visible;
}

.process-header {
  text-align: center;
  margin-bottom: clamp(1rem, 2vh, 1.5rem);
  padding: 0 1.5rem;
}

.process-section-title {
  font-family: var(--font-family-display);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
}

.process-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-gutter);
  padding-right: var(--container-gutter);
}

.process-cards-stack {
  position: relative;
  width: 100%;
}

/* Card Sobreposto com Scroll (Stacking Cards — Efeito Cortina) */
.process-card {
  position: -webkit-sticky;
  position: sticky;
  top: clamp(4.5rem, 7vh, 5.5rem);
  background-color: #28282B;
  border-radius: 0 !important;
  padding: 0;
  margin-bottom: clamp(16rem, 36vh, 26rem);
  will-change: transform, opacity;
  transform-origin: center top;
}

.process-card:first-child {
  box-shadow: none;
  border-top: none;
}

.process-card:last-child {
  /* Margem calibrada para que o Card 04 suba 100% sobre o Card 03 */
  margin-bottom: clamp(6rem, 15vh, 12rem);
}

.process-card:nth-child(1) {
  z-index: 1;
}

.process-card:nth-child(2) {
  z-index: 2;
}

.process-card:nth-child(3) {
  z-index: 3;
}

.process-card:nth-child(4) {
  z-index: 4;
  margin-bottom: 0 !important;
}

/* Grid com espaçamento amplo entre o número (01 /) e o conteúdo principal */
.process-card-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 100%;
  margin: 0 auto;
}

@media (min-width: 860px) {
  .process-card-inner {
    grid-template-columns: minmax(100px, 34%) 1fr;
    gap: clamp(3rem, 6vw, 6.5rem);
    align-items: start;
    padding: 8rem 0;
  }
}

.process-card-num-col {
  padding-top: 0.35rem;
}

.process-card-num {
  font-family: var(--font-family-display);
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  line-height: 1;
  display: inline-block;
}

.process-card-content-col {
  display: flex;
  flex-direction: column;
}

.process-card-title {
  font-family: var(--font-family-display);
  color: var(--color-text-inverse);
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 clamp(1rem, 1.4vw, 1.35rem) 0;
}

.process-card-desc {
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 clamp(1.6rem, 2.5vw, 2.25rem) 0;
  max-width: 680px;
}

/* Imagem adaptada com proporção 16:10, cantos retos e sem sombras */
.process-card-img-box {
  width: 100%;
  max-width: 720px;
  max-height: clamp(240px, 32vh, 340px);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0 !important;
}

.process-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0 !important;
  transform: scale(1.0);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-card:hover .process-card-img {
  transform: scale(1.02);
}

@media (max-width: 767px) {
  .process-card {
    top: clamp(3.75rem, 6vh, 4.5rem);
    padding: 1.5rem 0;
    margin-bottom: clamp(14rem, 32vh, 22rem);
  }

  .process-card-inner {
    gap: 1.15rem;
  }

  .process-card-desc {
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0 0 1.25rem 0;
  }

  .process-card-img-box {
    max-height: clamp(180px, 26vh, 250px);
  }
}

/* ==========================================================================
   OITAVA DOBRA: CARROSSEL EM AUTOPLAY & LOOP INFINITO
   ========================================================================== */
.carousel-section {
  padding: clamp(5.5rem, 8vw, 8rem) 0 0;
  background-color: #636363;
  color: #FFFFFF;
  overflow: hidden;
  position: relative;
}

.carousel-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--container-gutter);
}

.carousel-title {
  font-family: var(--font-family-display);
  font-size: clamp(2.1rem, 2.7vw, 2.25rem);
  font-weight: 700;
  letter-spacing: var(--letter-spacing-tight);
  color: #FFFFFF;
  line-height: 1.15;
  margin: 1.25rem 0 1rem;
}

.carousel-subtitle {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.65;
  color: var(--color-text-inverse);
}

/* Trilho Marquee Contínuo Infinito Otimizado sem Travamentos e com Loop 100% Fluido */
.carousel-viewport {
  --carousel-gap: clamp(1rem, 1.6vw, 1.5rem);
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: clamp(0.75rem, 1.5vw, 1.5rem) 0;
}

.carousel-track {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--carousel-gap);
  width: max-content;
  -webkit-animation: marquee-scroll 48s linear infinite;
  animation: marquee-scroll 48s linear infinite;
  padding: clamp(25px, 4vw, 55px) 0 clamp(35px, 5vw, 75px);
}

@-webkit-keyframes marquee-scroll {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  100% {
    -webkit-transform: translate3d(calc(-50% - (var(--carousel-gap) / 2)), 0, 0);
    transform: translate3d(calc(-50% - (var(--carousel-gap) / 2)), 0, 0);
  }
}

@keyframes marquee-scroll {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  100% {
    -webkit-transform: translate3d(calc(-50% - (var(--carousel-gap) / 2)), 0, 0);
    transform: translate3d(calc(-50% - (var(--carousel-gap) / 2)), 0, 0);
  }
}

/* Card Vertical sem Bordas Arredondadas */
.carousel-card {
  flex: 0 0 clamp(260px, 24vw, 360px);
  flex-shrink: 0;
  height: clamp(380px, 55vh, 540px);
  border-radius: 0 !important;
  overflow: hidden;
  position: relative;
  background-color: #242424;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  user-select: none;
}

.carousel-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0 !important;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Pausa no hover e efeitos de zoom apenas em dispositivos com cursor (evita travar no toque do celular) */
@media (hover: hover) and (pointer: fine) {
  .carousel-track:hover {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
  }

  .carousel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
  }

  .carousel-card:hover .carousel-card-img {
    transform: scale(1.05);
  }
}

/* Otimização Específica para Celulares (iPhone e Android): Velocidade suave, mais lenta e contemplativa */
@media (max-width: 767px) {
  .carousel-section {
    padding: clamp(3.5rem, 6vw, 4.5rem) 0 0;
  }

  .carousel-viewport {
    --carousel-gap: 0.75rem;
    padding: 0.5rem 0;
  }

  .carousel-track {
    padding: 15px 0 25px;
    -webkit-animation-duration: 85s;
    animation-duration: 85s;
  }

  .carousel-card {
    flex: 0 0 clamp(200px, 58vw, 250px);
    flex-shrink: 0;
    height: clamp(290px, 44vh, 360px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.28);
  }
}

/* ==========================================================================
   NONA DOBRA: DIÁRIO DA MARCENARIA (BLOG EDITORIAL EM ESTILO ARQUITETÔNICO)
   ========================================================================== */
.blog-section {
  padding: clamp(5.5rem, 8vw, 8rem) 0 clamp(5rem, 7vw, 7.5rem);
  background-color: #F4F0E8;
  color: #151515;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 20;
  overflow: hidden;
  box-shadow: none;
  scroll-margin-top: clamp(60px, 8vh, 85px);
}

.blog-section .container {
  transform-origin: center top;
  will-change: transform, opacity, filter;
  width: 100%;
}

.blog-header {
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.blog-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.blog-title {
  font-family: var(--font-family-display);
  font-size: clamp(2.4rem, 2.8vw, 2.8rem);
  font-weight: 700;
  letter-spacing: var(--letter-spacing-tight);
  color: #151515;
  line-height: 1.1;
  margin: 0;
}

.blog-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-family-display);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: #151515;
  text-decoration: none;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.blog-view-all-link:hover {
  color: var(--color-accent-wood);
  transform: translateX(2px);
}

.blog-header-rule {
  width: 100%;
  height: 2px;
  background-color: #151515;
  margin-top: 1.25rem;
}

.blog-section .container {
  padding-left: clamp(1.5rem, 4vw, 3.5rem);
  padding-right: clamp(1.5rem, 4vw, 3.5rem);
}

/* Grade de 2 Colunas: Artigo em Destaque na Esquerda + Artigos Secundários na Direita */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 4.5vw, 4.5rem);
  align-items: start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .blog-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 4.5vw, 4.5rem);
  }
}

/* Coluna Esquerda: Artigo em Destaque na Home */
.blog-section .blog-featured-card,
.blog-editorial-section .blog-featured-card,
#blog-featured-post {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0;
}

.blog-featured-heading-wrap {
  margin-bottom: 1.25rem;
}

.blog-featured-title {
  font-family: var(--font-family-display);
  font-size: clamp(1.6rem, 1.3vw, 1.35rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: var(--letter-spacing-tight);
  color: #151515;
  margin: 0;
}

.blog-title-link {
  color: #151515;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  transition: color var(--transition-fast);
}

.blog-title-link:hover {
  color: var(--color-accent-wood);
}

.blog-arrow-icon {
  font-family: system-ui, sans-serif;
  font-weight: 400;
  display: inline-block;
  transition: transform var(--transition-fast);
}

.blog-title-link:hover .blog-arrow-icon,
.blog-sidebar-link:hover .blog-arrow-icon {
  transform: translate(3px, -3px);
}

.blog-featured-media-link {
  display: block;
  width: 100%;
  aspect-ratio: 17 / 10.5;
  overflow: hidden;
  border-radius: 0 !important;
  margin-bottom: 1.35rem;
}

.blog-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-featured-media-link:hover .blog-featured-img {
  transform: scale(1.03);
}

.blog-featured-body {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
}

.blog-featured-desc {
  font-family: var(--font-family-body);
  font-size: clamp(1.02rem, 1.15vw, 1.15rem);
  line-height: 1.62;
  color: #383838;
  font-weight: 400;
  margin: 0;
}

/* Coluna Direita: Artigos Secundários */
.blog-sidebar-list {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
}

.blog-sidebar-card {
  display: grid;
  grid-template-columns: clamp(95px, 11vw, 125px) 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: start;
}

.blog-sidebar-thumb-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0 !important;
  display: block;
  background-color: #E6E1D8;
}

.blog-sidebar-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
  transition: transform 0.6s ease;
}

.blog-sidebar-thumb-wrap:hover .blog-sidebar-thumb {
  transform: scale(1.06);
}

.blog-meta-tag {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-family-display);
  font-size: var(--font-size-2xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #767676;
  margin-bottom: 0.45rem;
}

.blog-meta-separator {
  color: #A0A0A0;
}

.blog-sidebar-title {
  font-family: var(--font-family-display);
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  font-weight: 700;
  line-height: 1.35;
  color: #151515;
  letter-spacing: var(--letter-spacing-tight);
  margin-bottom: 0.55rem;
}

.blog-sidebar-link {
  color: #151515;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.blog-sidebar-link:hover {
  color: var(--color-accent-wood);
}

.blog-sidebar-desc {
  font-family: var(--font-family-body);
  font-size: clamp(0.88rem, 0.95vw, 0.95rem);
  line-height: 1.58;
  color: #555555;
  font-weight: 400;
  margin: 0;
}

.blog-sidebar-divider {
  border-bottom: 1px solid rgba(21, 21, 21, 0.14);
  margin: clamp(1.5rem, 2.5vw, 2.25rem) 0;
  width: 100%;
}

/* Oculto por padrão no Desktop e Celular */
.blog-tablet-only {
  display: none !important;
}


/* ==========================================================================
   DÉCIMA DOBRA: BENEFÍCIOS EXCLUSIVOS RN CARPINTARIA
   ========================================================================== */
.benefits-section {
  padding: clamp(3.5rem, 5vw, 5rem) 0 clamp(5.5rem, 8vw, 8rem);
  background-color: #636363;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.benefits-header {
  margin-bottom: clamp(2.5rem, 4.5vw, 4.5rem);
}

.benefits-super-title {
  font-family: var(--font-family-display);
  font-size: clamp(1.75rem, 2.8vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.15;
}

/* Grade Principal: Coluna Esquerda + Acordeão à Direita */
.benefits-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 4.5vw, 4.5rem);
  align-items: start;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 992px) {
  .benefits-layout {
    grid-template-columns: clamp(280px, 30%, 380px) 1fr;
    gap: clamp(3rem, 5vw, 5.5rem);
  }
}

/* Coluna Esquerda: Imagem Vertical + Texto + Botão Pílula */
.benefits-sidebar {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.benefits-sidebar-visual {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  border-radius: 0 !important;
  background-color: #4a4a4a;
}

.benefits-sidebar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.benefits-sidebar-visual:hover .benefits-sidebar-img {
  transform: scale(1.03);
}

.benefits-sidebar-content {
  padding-top: 1.5rem;
}

.benefits-sidebar-desc {
  font-family: var(--font-family-body);
  font-size: clamp(0.92rem, 1.02vw, 1.02rem);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 1.75rem;
}

/* Botão Estilo Pílula com Indicador */
.benefits-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background-color: #1a1a1c;
  color: #FFFFFF;
  font-family: var(--font-family-display);
  font-size: var(--font-size-2xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.65rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  user-select: none;
}

.benefits-pill-btn:hover {
  background-color: #000000;
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.benefits-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Coluna Direita: Acordeão de Benefícios */
.benefits-accordion {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
}

.benefits-item {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding: 1.35rem 0;
  transition: border-color 0.3s ease;
}

.benefits-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.benefits-item-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  padding: 0.5rem 0;
  cursor: pointer;
  text-align: left;
  color: #FFFFFF;
  font-family: var(--font-family-display);
  user-select: none;
}

.benefits-num {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.benefits-title {
  font-size: clamp(1.35rem, 1.5vw, 1.25rem);
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  flex-grow: 1;
  transition: color 0.3s ease;
}

.benefits-item:hover .benefits-title {
  color: #FFFFFF;
}

.benefits-toggle-icon {
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  font-weight: 300;
  color: #FFFFFF;
  line-height: 1;
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Conteúdo Expansível do Item */
.benefits-item-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-height 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s ease,
    padding 0.4s ease;
}

.benefits-item.is-active .benefits-item-content {
  max-height: 1200px;
  opacity: 1;
  pointer-events: auto;
  padding-top: 1.25rem;
}

.benefits-desc {
  font-family: var(--font-family-body);
  font-size: clamp(0.98rem, 1.15vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 680px;
  margin: 0 0 1.5rem;
}

.benefits-action-row {
  margin-bottom: 2rem;
}

/* Trio de Fotos Categorizadas */
.benefits-gallery {
  width: 100%;
  position: relative;
}

.benefits-gallery-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  width: 100%;
}

.benefits-gallery-col {
  overflow: hidden;
  border-radius: 0 !important;
  background-color: #4a4a4a;
  aspect-ratio: 16 / 11;
}

.benefits-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.benefits-gallery-col:hover .benefits-gallery-img {
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .benefits-gallery-clone {
    display: none !important;
  }
}

/* Responsivo para Celulares: Carrossel Autoplay sem controladores */
@media (max-width: 767px) {
  .benefits-gallery {
    width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
    border-radius: 0 !important;
  }

  .benefits-gallery-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    gap: 0 !important;
    will-change: transform;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .benefits-gallery-col {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .benefits-gallery-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
}


/* ==========================================================================
   DÉCIMA PRIMEIRA DOBRA: VAMOS CONSTRUIR JUNTOS / CONTRATE AGORA
   (SOBREPÕE A DOBRA DO BLOG COM BACKGROUND orcamento-obras-estruturas-madeira-rn-carpintaria.webp)
   ========================================================================== */
.cta-overlay-section {
  position: relative;
  z-index: 30;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #12100E;
  box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.3), 0 -12px 24px rgba(0, 0, 0, 0.3);
  scroll-margin-top: clamp(60px, 8vh, 85px);
  /* Efeito cortina: elevação e sobreposição suave da dobra do blog */
}

/* Imagem de Fundo em Altura Total com Parallax */
.cta-overlay-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.cta-overlay-img {
  width: 100%;
  height: 125%;
  position: absolute;
  top: -12.5%;
  left: 0;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0 !important;
  will-change: transform;
}

/* Gradiente translúcido arquitetônico para legibilidade do texto e contraste */
.cta-overlay-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
}

.cta-overlay-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.cta-overlay-content {
  text-align: center;
  max-width: 950px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--container-gutter);
  will-change: transform, opacity;
}

.cta-overlay-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-family-display);
  font-size: var(--font-size-2xs);
  font-weight: 600;
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.25rem;
}

.cta-overlay-title,
.cta-title {
  font-family: var(--font-family-display);
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 700;
  letter-spacing: var(--letter-spacing-tight);
  color: #FFFFFF;
  line-height: 1.1;
  margin: 0 0 clamp(2.25rem, 4vw, 3.25rem);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

@media (max-width: 991px) {

  .cta-overlay-title,
  .cta-title,
  .cta-heading {
    font-size: 1.8rem !important;
    line-height: 1.22;
    letter-spacing: -0.015em;
    margin: 0 0 1.5rem !important;
  }
}

/* Responsivo para Celular: Reduz a altura pela metade (40svh) e reduz o zoom da imagem de fundo */
@media (max-width: 767px) {
  .cta-overlay-section {
    height: 55svh !important;
    min-height: 250px !important;
    max-height: 485px !important;
  }

  .cta-overlay-backdrop {
    height: 100% !important;
  }

  .cta-overlay-img {
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    object-fit: cover !important;
    object-position: center 60% !important;
    transform: none !important;
  }

  .cta-overlay-content {
    padding: 1.25rem var(--container-gutter) !important;
  }

  .cta-overlay-tag {
    font-size: 0.68rem !important;
    margin-bottom: 0.55rem !important;
  }

  .cta-overlay-title,
  .cta-title,
  .cta-heading {
    font-size: 1.8rem !important;
    line-height: 1.18 !important;
    margin: 0 0 1.15rem !important;
  }

  .cta-overlay-action .btn-whatsapp-cta {
    padding: 0.65rem 1.45rem !important;
    font-size: 0.8rem !important;
  }
}

.cta-overlay-action {
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   RODAPÉ ARQUITETÔNICO — IDENTIDADE & NAVEGAÇÃO (RN CARPINTARIA)
   ========================================================================== */
#main-content,
main {
  position: relative;
  z-index: 10;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.site-footer {
  background-color: #212124;
  color: #B5B2AB;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(5rem, 7vw, 7rem) 0 0;
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  z-index: 1;
}

.footer-container {
  width: 100%;
}

/* Grade Superior de 4 Colunas */
.footer-columns-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1.15fr 1.15fr;
  gap: clamp(2rem, 3.5vw, 4rem);
  padding-bottom: clamp(3.5rem, 5vw, 5rem);
}

.footer-grid-col {
  display: flex;
  flex-direction: column;
}

.footer-col-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.footer-col-title {
  font-family: var(--font-family-display);
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7A7A80;
  margin: 0;
}

/* Endereço & Contato Principal (Coluna 1) */
.footer-address-lead {
  font-family: var(--font-family-display);
  font-size: clamp(1.4rem, 1.8vw, 1.85rem);
  font-weight: 600;
  line-height: 1.25;
  color: #FFFFFF;
  letter-spacing: -0.025em;
  margin: 0 0 1.75rem;
}

.footer-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-direct-link {
  font-family: var(--font-family-display);
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #A09E97;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-direct-link:hover {
  color: #FFFFFF;
}

/* Listas de Links (Colunas 2, 3 e 4) */
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-menu-link {
  font-size: var(--font-size-sm);
  color: #B5B2AB;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-menu-link:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

/* Barra Intermediária: Redes Sociais, Políticas e Direitos */
.footer-middle-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: clamp(2rem, 3vw, 2.75rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  flex-wrap: wrap;
}

/* Linha de Links Legais (Política de Privacidade e Termos de Uso) */
.footer-legal-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.footer-legal-btn {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-legal-divider {
  color: #55524B;
  font-size: 0.75rem;
  user-select: none;
}

.footer-meta-link {
  color: #9C9890;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-meta-link:hover {
  color: #FFFFFF;
}

.footer-copyright-row {
  color: #6C6860;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
}

.footer-copy-text {
  font-size: var(--font-size-xs);
}

/* ==========================================================================
   Modais Legais (Política de Privacidade e Termos de Uso - LGPD)
   ========================================================================== */
.legal-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  overflow: hidden;
}

.legal-modal[open] {
  display: flex;
}

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: legalFadeIn 0.25s ease-out forwards;
}

.legal-modal-dialog {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 780px;
  max-height: 85vh;
  background: #18181A;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(197, 160, 89, 0.15);
  display: flex;
  flex-direction: column;
  color: #ECEAE4;
  animation: legalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  overflow: hidden;
}

.legal-modal-header {
  padding: 1.75rem 2rem 1.25rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  background: #1B1B1E;
}

.legal-modal-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C5A059;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.25);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.legal-modal-title {
  font-family: var(--font-family-display), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.25;
}

.legal-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #AAA69E;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.legal-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  transform: scale(1.05);
}

.legal-modal-body {
  padding: 1.75rem 2rem;
  overflow-y: auto;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #C8C5BC;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: #38383C transparent;
}

.legal-modal-body::-webkit-scrollbar {
  width: 6px;
}

.legal-modal-body::-webkit-scrollbar-thumb {
  background: #38383C;
  border-radius: 3px;
}

.legal-modal-intro {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 0.975rem;
  color: #E2DFD8;
  line-height: 1.75;
}

.legal-section {
  margin-bottom: 1.5rem;
}

.legal-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-section p {
  margin: 0 0 0.75rem 0;
}

.legal-list {
  margin: 0.5rem 0 0.75rem 1.25rem;
  padding: 0;
}

.legal-list li {
  margin-bottom: 0.45rem;
}

.legal-inline-link {
  color: #C5A059;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.legal-inline-link:hover {
  color: #E6C587;
}

.legal-modal-footer {
  padding: 1.25rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
  background: #1B1B1E;
}

.btn-legal-confirm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background-color: #FFFFFF;
  color: #121212;
  font-family: var(--font-family-display), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: var(--font-size-xs, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill, 9999px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all var(--transition-fast, 0.2s ease);
}

.btn-legal-confirm:hover {
  background-color: #F8F7F4;
  color: #000000;
  border-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.18);
}

.btn-legal-confirm:active {
  transform: scale(0.97);
}

@keyframes legalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes legalSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 600px) {
  .legal-modal-dialog {
    width: 95%;
    max-height: 90vh;
  }
  .legal-modal-header {
    padding: 1.25rem 1.25rem 1rem 1.25rem;
  }
  .legal-modal-body {
    padding: 1.25rem;
    font-size: 0.875rem;
  }
  .legal-modal-footer {
    padding: 1rem 1.25rem;
  }
  .btn-legal-confirm {
    width: 100%;
  }
}

/* Letreiro Monumental RN CARPINTARIA (com Grid e Gradiente) */
.footer-monumental-wrap {
  width: 100%;
  padding: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-monumental-svg {
  width: 100%;
  height: auto;
  max-height: clamp(140px, 22vw, 290px);
  display: block;
}

.footer-monumental-svg-text {
  font-family: var(--font-family-display), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 800;
  font-size: 180px;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  user-select: none;
}

@media (max-width: 992px) {
  .footer-columns-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* Responsivo para Celulares: Sitemap e Especialidades em uma única linha com duas colunas */
@media (max-width: 767px) {
  .site-footer {
    position: relative;
    bottom: auto;
    z-index: 10;
    padding: clamp(3.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3rem);
  }

  .footer-columns-grid {
    grid-template-columns: 1fr 1fr !important;
    column-gap: clamp(1rem, 4vw, 1.75rem) !important;
    row-gap: 2.25rem !important;
    padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  }

  .footer-col-contact {
    grid-column: 1 / -1 !important;
  }

  .footer-col-sitemap {
    grid-column: 1 !important;
  }

  .footer-col-services {
    grid-column: 2 !important;
  }

  .footer-col-projects {
    grid-column: 1 / -1 !important;
  }

  .footer-col-sitemap .footer-links-list,
  .footer-col-services .footer-links-list {
    gap: 0.75rem;
  }

  .footer-col-sitemap .footer-menu-link,
  .footer-col-services .footer-menu-link {
    font-size: 0.85rem;
    line-height: 1.35;
  }

  .footer-middle-bar {
    flex-direction: column;
    align-items: center !important;
    text-align: center !important;
    gap: 1.25rem;
  }

  .footer-social-row {
    justify-content: center !important;
    width: 100% !important;
  }

  .footer-copyright-row {
    text-align: center !important;
    width: 100% !important;
  }
}

/* ==========================================================================
   TIPOGRAFIA RESPONSIVA PARA CELULARES (PADRONIZAÇÃO SOLICITADA)
   ========================================================================== */
@media (max-width: 767px) {

  /* Títulos: font-size 1.8rem
     - Acervo Autoral (.collection-title)
     - Projetos em Madeira Maciça (.collection-piece-title)
     - Madeira maciça tratada com rigor... (.precision-title)
     - Mais de 34 anos de história... (.authority-history-title)
     - Consultoria, Projeto & Engenharia 3D, Conferência Técnica, Fabricação & Montagem (.process-card-title)
     - Obras vivas em cada detalhe (.carousel-title)
     - Por que escolher a RN Carpintaria? (.benefits-super-title)
     - Diário da Carpintaria (.blog-title)
     - Vamos construir juntos? (.cta-overlay-title, .cta-title)
  */
  .collection-title,
  .collection-piece-title,
  .precision-title,
  .authority-history-title,
  .process-card-title,
  .carousel-title,
  .benefits-super-title,
  .blog-title,
  .cta-overlay-title,
  .cta-title {
    font-size: 1.8rem !important;
    line-height: 1.2 !important;
  }

  /* Títulos: font-size 1.5rem
     - Obras Selecionadas (.projects-title)
     - Da Visão à Realidade (.process-section-title)
     - Design e Engenharia Sob Medida (.benefits-title)
     - Madeiras Nobres Selecionadas (.benefits-title)
     - Usinagem & Precisão (.benefits-title)
     - Conforto Térmico & Durabilidade Secular (.benefits-title)
     - Instalação Completa por Mestres Artesãos (.benefits-title)
     - Engenharia de Decks e Pergolados em Madeira Maciça (.blog-featured-title, .blog-featured-title a, #blog-featured-title-text)
  */
  .projects-title,
  .process-section-title,
  .benefits-title,
  .blog-featured-title,
  .blog-featured-title a,
  #blog-featured-title-text {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
  }
}

/* --- src/styles/components.css --- */
/**
 * Components & Micro-Interactions — RN Carpintaria
 */

/* ==========================================================================
   BOTÕES DE ALTO PADRÃO
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-family-display);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-tag);
  text-transform: uppercase;
  padding: 0.75rem 1.65rem;
  border-radius: var(--radius-pill);
  transition: transform var(--transition-fast),
    background-color var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
  white-space: nowrap;
  user-select: none;
}

.btn:active {
  transform: scale(0.97);
}

/* Botão Primário (Noir & Ouro) */
.btn-primary {
  background-color: var(--color-text-primary);
  color: #FFFFFF;
  border: 1px solid var(--color-border-light);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background-color: #000000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

/* Botão Secundário Transparente Nobre */
.btn-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* Botão Oficial CONTRATE AGORA (WhatsApp) */
.btn-whatsapp-cta {
  background-color: #FFFFFF;
  color: var(--color-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 0.65rem 1.35rem;
}

.btn-whatsapp-cta:hover {
  background-color: #F8F7F4;
  color: #000000;
  border-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(130, 130, 130, 0.22);
}

/* Ícone Oficial WhatsApp em Linha */
.icon-whatsapp {
  width: 17px;
  height: 17px;
  fill: #000000;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.btn-whatsapp-cta:hover .icon-whatsapp {
  transform: scale(1.12);
}

/* Botão no Estilo Escuro para Scrolled Header */
.site-header.header--scrolled .btn-whatsapp-cta {
  background-color: #FAF9F6;
  color: #121212;
  border-color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   ANIMAÇÕES DE ENTRADA & SCROLL REVEAL ARQUITETÔNICO
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Delays escalonados para efeito editorial fluido */
[data-reveal-delay="100"] {
  transition-delay: 0.1s;
}

[data-reveal-delay="200"] {
  transition-delay: 0.2s;
}

[data-reveal-delay="300"] {
  transition-delay: 0.3s;
}

[data-reveal-delay="400"] {
  transition-delay: 0.4s;
}

[data-reveal-delay="500"] {
  transition-delay: 0.5s;
}

/* Suporte a preferência de redução de movimento */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   BOTÃO VOLTAR AO TOPO (BACK TO TOP) — DESIGN DISCRETO & FLUTUANTE
   Fixado de forma discreta na lateral esquerda inferior (bottom-left)
   ========================================================================== */
.back-to-top-btn {
  position: fixed;
  bottom: clamp(1.25rem, 2.5vw, 2rem);
  left: clamp(1.25rem, 2.5vw, 2rem);
  z-index: 99;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(18, 18, 18, 0.72);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  opacity: 0.55;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s ease;
}

/* Presença sutil ao rolar a página */
.back-to-top-btn.is-scrolled {
  opacity: 0.85;
}

/* Interação ao passar o mouse */
.back-to-top-btn:hover {
  opacity: 1;
  background-color: rgba(26, 25, 24, 0.95);
  border-color: rgba(197, 160, 89, 0.55);
  color: var(--color-accent-gold, #C5A059);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45), 0 0 16px rgba(197, 160, 89, 0.2);
  transform: translateY(-2px);
}

.back-to-top-btn:active {
  transform: translateY(0) scale(0.95);
}

.back-to-top-arrow {
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease;
}

.back-to-top-btn:hover .back-to-top-arrow {
  transform: translateY(-1.5px);
}

/* Adaptação Mobile */
@media (max-width: 768px) {
  .back-to-top-btn {
    width: 36px;
    height: 36px;
    bottom: 1rem;
    left: 1rem;
    opacity: 0.65;
  }

  .back-to-top-arrow {
    width: 15px;
    height: 15px;
  }
}

/* ==========================================================================
   BANNER DE CONSENTIMENTO DE COOKIES (LGPD) — RN CARPINTARIA
   Inspirado no projeto site-master-kitchen, adaptado à identidade nobre da RN.
   Posicionado na lateral esquerda inferior (bottom-left) com sobreposição absoluta.
   ========================================================================== */
.cookie-banner {
  position: fixed !important;
  bottom: 24px !important;
  left: 24px !important;
  z-index: 2147483647 !important; /* Valor máximo de z-index para nunca ficar por baixo de nenhuma dobra ou elemento */
  width: calc(100vw - 32px) !important;
  max-width: 420px !important;
  background-color: #18181A;
  color: #ECEAE4;
  border-radius: 16px;
  border: 1px solid rgba(197, 160, 89, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05);
  padding: 22px 24px;
  font-family: var(--font-family-body), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  animation: cookieSlideInBottom 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  user-select: none;
  isolation: isolate;
}

@keyframes cookieSlideInBottom {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes cookieSlideOutBottom {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(30px);
    opacity: 0;
  }
}

/* Linha 1: Título */
.cookie-top-row {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.cookie-title {
  font-family: var(--font-family-display), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}

.cookie-icon {
  width: 19px;
  height: 19px;
  color: #C5A059;
  flex-shrink: 0;
}

/* Linha 2: Subtítulo */
.cookie-subtitle {
  font-size: 0.8125rem;
  color: #A39F95;
  line-height: 1.45;
  margin: 0 0 12px 0;
}

/* Linha 3: Box Informativo */
.cookie-info-box {
  background-color: #1F1F23;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 0.75rem;
  color: #C4C0B5;
  line-height: 1.5;
  margin-bottom: 12px;
}

/* Linha 3 (Alternativa): Box de Customização */
.cookie-custom-box {
  background-color: #1F1F23;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-custom-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cookie-custom-item-border {
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.cookie-custom-text {
  display: flex;
  flex-direction: column;
}

.cookie-custom-label {
  font-size: 0.775rem;
  font-weight: 700;
  color: #FFFFFF;
}

.cookie-custom-desc {
  font-size: 0.7rem;
  color: #8C887E;
}

.cookie-badge-active {
  background-color: rgba(197, 160, 89, 0.15);
  color: #C5A059;
  border: 1px solid rgba(197, 160, 89, 0.3);
  font-size: 0.625rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.cookie-custom-checkbox {
  width: 17px;
  height: 17px;
  accent-color: #C5A059;
  cursor: pointer;
}

/* Linha 4: Links Legais Rápidos */
.cookie-legal-links-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.cookie-legal-link-btn {
  background: none;
  border: none;
  padding: 0;
  color: #C5A059;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.cookie-legal-link-btn:hover {
  color: #E6C587;
}

.cookie-legal-divider {
  color: #55524B;
  font-size: 0.65rem;
}

/* Linha 5: Botões de Ação */
.cookie-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cookie-btn-customize {
  background: none;
  border: none;
  padding: 6px 4px;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #C4C0B5;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s ease;
}

.cookie-btn-customize:hover {
  color: #FFFFFF;
}

.cookie-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Botão Rejeitar (Outline elegante redondo no padrão do site) */
.cookie-btn-reject {
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-pill, 9999px);
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ECEAE4;
  font-family: var(--font-family-display), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cookie-btn-reject:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.cookie-btn-reject:active {
  transform: scale(0.97);
}

/* Botão Aceitar (Padrão do site: Branco Redondo) */
.cookie-btn-accept {
  height: 38px;
  padding: 0 20px;
  border-radius: var(--radius-pill, 9999px);
  background-color: #FFFFFF;
  border: 1px solid #FFFFFF;
  color: #121212;
  font-family: var(--font-family-display), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.cookie-btn-accept:hover {
  background-color: #F8F7F4;
  border-color: #FFFFFF;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.cookie-btn-accept:active {
  transform: scale(0.97);
}

/* Responsividade Mobile para o Banner de Cookies */
@media (max-width: 480px) {
  .cookie-banner {
    bottom: 12px;
    left: 12px;
    width: calc(100vw - 24px);
    padding: 18px 16px;
  }

  .cookie-actions-row {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 10px;
  }

  .cookie-btn-group {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .cookie-btn-customize {
    justify-content: center;
  }

  .cookie-btn-reject,
  .cookie-btn-accept {
    width: 100%;
    justify-content: center;
  }
}

/* --- src/styles/projects.css --- */
/**
 * Projects Page Stylesheet — RN Carpintaria
 * Layout de vitrine com efeito cortina sobreposta (stacking curtain),
 * física de parallax suave e seção "O que fazemos" inspirada em design editorial.
 */

/* ==========================================================================
   1. DOBRA DE PROJETOS: VITRINE CORTINA COM PARALLAX (ESTILO EDITORIAL)
   ========================================================================== */
.projects-page {
  background-color: #282828;
  color: #FFFFFF;
}

.projects-showcase-section {
  position: relative;
  background-color: #282828;
  padding-top: 0;
  padding-bottom: 0;
}

/* Layout de 2 Colunas Fiel aos Prints:
   Coluna Esquerda Vazia (Espaçamento Arquitetônico #282828) e Coluna Direita (Galeria Encostada na Margem) */
.projects-showcase-layout {
  display: grid;
  grid-template-columns: 35% 65%;
  width: 100%;
  min-height: 100vh;
  background-color: #282828;
}

.projects-spacer-col {
  background-color: #282828;
  width: 100%;
}

.projects-showcase-content {
  position: relative;
  width: 100%;
  background-color: #282828;
  padding-top: clamp(20rem, 18vh, 220px);
}

.projects-showcase-header {
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
  padding-left: 0;
  padding-right: clamp(1rem, 2.5vw, 3rem);
}

.projects-showcase-title {
  font-family: var(--font-family-display);
  font-size: clamp(2.35rem, 3.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0;
}

/* Galeria com posicionamento das imagens ocupando a coluna da direita até a borda */
.projects-curtain-gallery {
  position: relative;
  width: 100%;
}

/* Card Individual em Efeito Cortina (Sem sombras, sem bordas, cantos vivos)
   Cada card trava no topo (sticky top: 0) e o próximo sobe por cima cobrindo-o */
.curtain-card {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 540px;
  margin-bottom: 0;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background-color: #1e1e20;
  overflow: hidden;
}

.curtain-card:last-child {
  margin-bottom: 0;
}

/* Empilhamento de Cortina: Card 1 sob Card 2, Card 2 sob Card 3, etc. */
.curtain-card:nth-child(1) {
  z-index: 10;
}

.curtain-card:nth-child(2) {
  z-index: 20;
}

.curtain-card:nth-child(3) {
  z-index: 30;
}

.curtain-card:nth-child(4) {
  z-index: 40;
}

.curtain-card:nth-child(5) {
  z-index: 50;
}

.curtain-card:nth-child(6) {
  z-index: 60;
}

.curtain-card:nth-child(7) {
  z-index: 70;
}

.curtain-card:nth-child(8) {
  z-index: 80;
}

.curtain-card:nth-child(9) {
  z-index: 90;
}

/* Moldura e Imagem Interna com Parallax */
.curtain-media-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.curtain-img {
  position: absolute;
  top: -12%;
  left: 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
  object-position: center;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

/* ==========================================================================
   3. DOBRA 2: "O QUE FAZEMOS" (SOLUÇÕES INTEGRALIZADAS DE ALTO PADRÃO)
   ========================================================================== */
.what-we-do-section {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #636363;
  color: #FFFFFF;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: clamp(4.5rem, 8vw, 7rem);
  padding-bottom: clamp(4.5rem, 8vw, 7rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.what-we-do-section .container {
  transform-origin: center top;
  will-change: transform, opacity, filter;
  width: 100%;
}

.what-we-do-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: start;
}

/* Coluna Esquerda: Título e Lista com Divisórias */
.what-we-do-left {
  display: flex;
  flex-direction: column;
}

.what-we-do-title {
  font-family: var(--font-family-display);
  font-size: clamp(2.5rem, 3.5vw, 3.5rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  letter-spacing: var(--letter-spacing-tight);
  color: #FFFFFF;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.what-we-do-list {
  display: flex;
  flex-direction: column;
}

.what-we-do-item {
  position: relative;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background-color var(--transition-fast), padding-left var(--transition-fast);
}

.what-we-do-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.what-we-do-item.is-active,
.what-we-do-item:hover {
  padding-left: 0.5rem;
  background-color: rgba(255, 255, 255, 0.02)
}

.what-we-do-item-title {
  font-family: var(--font-family-display);
  font-size: clamp(1.375rem, 2vw, 1.875rem);
  font-weight: var(--font-weight-semibold);
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 0.45rem;
  transition: color var(--transition-fast);
}

.what-we-do-item-desc {
  font-family: var(--font-family-body);
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
  max-width: 580px;
}

/* Coluna Direita: Descrição no Topo e Foto de Impacto */
.what-we-do-right {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 2.5vw, 2.25rem);
}

.what-we-do-lead {
  font-family: var(--font-family-body);
  font-size: clamp(0.9375rem, 1.15vw, 1.0625rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  font-weight: var(--font-weight-regular);
}

.what-we-do-visual-card {
  position: relative;
  width: 100%;
  border-radius: 0 !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.what-we-do-img {
  width: 100%;
  height: auto;
  max-height: clamp(520px, 68vh, 720px);
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.what-we-do-visual-card:hover .what-we-do-img {
  transform: scale(1.02);
}

.what-we-do-badge {
  display: none !important;
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  padding: 0.45rem 1rem;
  background-color: rgba(18, 16, 14, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  font-family: var(--font-family-body);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  color: #FFFFFF;
  letter-spacing: 0.02em;
  z-index: 2;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}


/* ==========================================================================
   4. DOBRA FINAL: CTA COM EFEITO CORTINA & FOOTER REVEAL
   ========================================================================== */
.projects-page main {
  position: relative;
  z-index: 10;
  background-color: #282828;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.projects-page .cta-overlay-section {
  position: relative;
  z-index: 110;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #12100E;
  box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.3), 0 -12px 24px rgba(0, 0, 0, 0.3);
}

.projects-page .site-footer {
  position: sticky;
  bottom: 0;
  z-index: 1;
}

/* ==========================================================================
   6. RESPONSIVIDADE RIGOROSA (TABLET & MOBILE)
   ========================================================================== */

/* --------------------------------------------------------------------------
   A. TABLET / DISPOSITIVOS MÉDIOS (810px a 1199.98px)
   -------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1024px) {
  .projects-showcase-layout {
    grid-template-columns: 22% 78%;
  }

  .projects-showcase-content {
    padding-top: clamp(15rem, 15vh, 160px);
  }

  .projects-showcase-title {
    font-size: clamp(2.15rem, 3vw, 3rem);
  }

  .curtain-card {
    top: 0;
    height: 100vh;
    height: 100svh;
    min-height: 500px;
    margin-bottom: 0;
  }

  .curtain-card:last-child {
    margin-bottom: 0;
  }

  /* Segunda Dobra (O que fazemos) no Tablet */
  .what-we-do-section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .what-we-do-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
    align-items: start;
  }

  .what-we-do-title {
    font-size: 2.75rem;
    margin-bottom: 2rem;
  }

  .what-we-do-item {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .what-we-do-item-title {
    font-size: 1.45rem;
  }
}

/* --------------------------------------------------------------------------
   B. MOBILE / SMARTPHONES (<= 767.98px)
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .projects-showcase-layout {
    grid-template-columns: 1fr;
  }

  .projects-spacer-col {
    display: none;
  }

  .projects-showcase-content {
    padding-top: clamp(12rem, 14vh, 140px);
  }

  .projects-showcase-header {
    padding-left: 16px;
    padding-right: 16px;
    margin-bottom: 1.75rem;
  }

  .projects-showcase-title {
    font-size: clamp(2rem, 3.5vw, 2.65rem);
  }

  .projects-curtain-gallery {
    width: 100%;
  }

  .curtain-card {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    width: 100%;
    height: 75vh;
    height: 75svh;
    min-height: 420px;
    margin-bottom: 0;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
  }

  .curtain-card:last-child {
    margin-bottom: 0;
  }

  /* Dobra 2: "O que fazemos" no Mobile */
  .what-we-do-section {
    position: relative !important;
    top: auto !important;
    min-height: auto !important;
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .what-we-do-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  /* No mobile, desagrupar as colunas para ordenar: 1º Título, 2º Texto introdutório, 3º Imagem, 4º Lista de serviços */
  .what-we-do-left,
  .what-we-do-right {
    display: contents;
  }

  .what-we-do-title {
    order: 1;
    font-size: clamp(2rem, 6.5vw, 2.5rem);
    margin-bottom: 0;
    line-height: 1.15;
  }

  .what-we-do-lead {
    order: 2;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0;
  }

  .what-we-do-visual-card {
    order: 3;
  }

  .what-we-do-badge {
    display: none !important;
  }

  .what-we-do-list {
    order: 4;
    margin-top: 0.5rem;
  }

  .what-we-do-item {
    padding-top: 1rem;
    padding-bottom: 1rem;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
  }

  .what-we-do-item-title {
    font-size: 1.25rem;
    line-height: 1.25;
  }

  .what-we-do-item-desc {
    font-size: 0.8125rem;
    line-height: 1.5;
  }

  /* CTA e Rodapé no Mobile */
  .projects-page main {
    box-shadow: none;
  }

  .projects-cta-curtain {
    min-height: 480px;
    height: auto;
    padding: clamp(4.5rem, 12vw, 6.5rem) 0;
    box-shadow: none;
  }

  .projects-page .site-footer {
    position: relative !important;
    bottom: auto !important;
    z-index: 10 !important;
    padding-bottom: clamp(2rem, 6vw, 3.5rem);
  }
}

/* --------------------------------------------------------------------------
   D. TELAS MOBILE ULTRA-COMPACTAS (<= 390px)
   -------------------------------------------------------------------------- */
@media (max-width: 390px) {
  .projects-hero-title {
    font-size: 1.75rem;
  }

  .curtain-project-title {
    font-size: 1.125rem;
  }

  .what-we-do-title {
    font-size: 1.85rem;
  }

  .what-we-do-item-title {
    font-size: 1.15rem;
  }
}

/* --- src/styles/contact.css --- */
/**
 * Contact Page Stylesheet — RN Carpintaria
 * Design minimalista e editorial de alto luxo inspirado na identidade arquitetônica.
 * Formulário nativo com campos de Nome Completo, WhatsApp, Email, Região e Mensagem.
 */

/* ==========================================================================
   1. ESTRUTURA GERAL DA PÁGINA DE CONTATO
   ========================================================================== */
.contact-page {
  background-color: #28282b;
  color: #FFFFFF;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.contact-hero-section {
  position: relative;
  flex: 1 0 auto;
  padding-top: clamp(20rem, 22vh, 260px);
  padding-bottom: clamp(5rem, 10vw, 8rem);
  background-color: #282828;
}

.contact-layout-wrapper {
  display: grid;
  grid-template-columns: minmax(140px, 34%) 1fr;
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
}

/* ==========================================================================
   2. INDICADOR LATERAL ESQUERDO (SCROLL DOWN)
   ========================================================================== */
.contact-side-col {
  padding-top: clamp(8rem, 12vh, 14rem);
}

.contact-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-family-body);
  font-size: 0.6875rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  user-select: none;
}

/* ==========================================================================
   3. COLUNA PRINCIPAL & CABEÇALHO DO FORMULÁRIO (ALINHADO À DIREITA)
   ========================================================================== */
.contact-main-col {
  max-width: 860px;
  width: 100%;
}

.contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-family-body);
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.25rem;
}

.contact-kicker-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #FFFFFF;
}

.contact-title {
  font-family: var(--font-family-display);
  font-size: clamp(2.5rem, 3.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

/* ==========================================================================
   4. FORMULÁRIO NATIVO EDITORIAL
   ========================================================================== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  width: 100%;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}

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

.form-label {
  font-family: var(--font-family-body);
  font-size: 0.75rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.form-input,
.form-textarea {
  width: 100%;
  background-color: #202023;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 1.15rem 1.25rem;
  font-family: var(--font-family-body);
  font-size: 0.9375rem;
  color: #FFFFFF;
  outline: none;
  transition: border-color 0.25s ease, background-color 0.25s ease;
  box-sizing: border-box;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-input:hover,
.form-textarea:hover {
  border-color: rgba(255, 255, 255, 0.45);
}

.form-input:focus,
.form-textarea:focus {
  border-color: #FFFFFF;
  background-color: #1a1a1c;
}

/* Estado de Erro de Validação nos Campos */
.form-input.has-error,
.form-textarea.has-error {
  border-color: #EF4444 !important;
  background-color: rgba(239, 68, 68, 0.04);
}

.form-input.has-error:focus,
.form-textarea.has-error:focus {
  border-color: #F87171 !important;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.4) !important;
}

/* Mensagem de Erro de Validação abaixo de cada Campo */
.field-error-msg {
  display: none;
  font-family: var(--font-family-body);
  font-size: 0.75rem;
  color: #FCA5A5;
  margin-top: 0.35rem;
  line-height: 1.3;
}

.field-error-msg.is-visible {
  display: block;
}

.form-textarea {
  resize: vertical;
  min-height: 180px;
  line-height: 1.6;
}

/* ==========================================================================
   5. BOTÃO DE ENVIO MINIMALISTA (◊ ENVIAR MENSAGEM)
   ========================================================================== */
.form-action {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0.5rem;
}

.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-family: var(--font-family-body);
  font-size: 0.8125rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.75rem 0;
  transition: color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.contact-submit-btn .btn-symbol {
  font-size: 0.875rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.contact-submit-btn:hover {
  color: var(--color-accent-gold);
  transform: translateX(4px);
}

.contact-submit-btn:hover .btn-symbol {
  transform: rotate(45deg);
}

.contact-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Feedback de Envio Geral do Formulário */
.form-feedback {
  margin-top: 1.25rem;
  font-family: var(--font-family-body);
  font-size: 0.9375rem;
  line-height: 1.6;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: none;
}

/* Honeypot Trap Container (Anti-Spam Invisível aos Usuários e Acessibilidade) */
.hp-trap-container {
  opacity: 0 !important;
  position: absolute !important;
  top: 0 !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  pointer-events: none !important;
  z-index: -10 !important;
}

.hp-trap-container input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  outline: none !important;
}

.form-feedback.is-visible {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.form-feedback.is-success {
  color: #86EFAC;
  background-color: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  padding: 1.15rem 1.35rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.form-feedback.is-error {
  color: #FCA5A5;
  background-color: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  padding: 1.15rem 1.35rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.form-feedback-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

.form-feedback-content {
  flex: 1;
}

.form-feedback-title {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}

.form-feedback-text {
  margin: 0;
  color: inherit;
  opacity: 0.95;
}

/* ==========================================================================
   6. RESPONSIVIDADE RIGOROSA (TABLET & MOBILE)
   ========================================================================== */

/* Tablet (768px a 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .contact-page .container {
    padding-left: 28px;
    padding-right: 28px;
  }

  .contact-hero-section {
    padding-top: clamp(15rem, 16vh, 180px);
    padding-bottom: 5rem;
  }

  .contact-layout-wrapper {
    grid-template-columns: 24% 1fr;
    gap: 2rem;
  }

  .contact-side-col {
    padding-top: 6rem;
  }

  .contact-title {
    font-size: clamp(2.15rem, 4.5vw, 3rem);
    line-height: 1.12;
  }

  /* Formulário no Tablet: Nome, Sobrenome, Email e WhatsApp em duas linhas e duas colunas */
  .contact-form-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem 1.25rem;
  }

  .contact-form-email-group {
    grid-column: 1 !important;
  }

  .contact-form-whatsapp-group {
    grid-column: 2 !important;
  }

  /* Rodapé no Tablet: rolagem integral sem cortes */
  .contact-page main {
    box-shadow: none;
  }

  .contact-page .site-footer {
    position: relative !important;
    bottom: auto !important;
    z-index: 10 !important;
    padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  }
}

/* Mobile (<= 767.98px) */
@media (max-width: 767.98px) {
  .contact-page .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .contact-hero-section {
    padding-top: clamp(120px, 15vh, 150px);
    padding-bottom: 4rem;
  }

  /* Oculta indicador lateral e unifica em 1 coluna */
  .contact-layout-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .contact-side-col {
    display: none;
  }

  .contact-main-col {
    max-width: 100%;
  }

  .contact-kicker {
    font-size: 0.6875rem;
    margin-bottom: 0.85rem;
  }

  .contact-title {
    font-size: 1.8rem;
    line-height: 1.1;
    margin-bottom: 2rem;
  }

  /* Todos os campos passam para 1 coluna vertical */
  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .form-label {
    font-size: 0.6875rem;
  }

  .form-input,
  .form-textarea {
    font-size: 16px;
    /* Evita zoom automático no iOS */
    padding: 1rem 1.15rem;
    border-radius: 0 !important;
  }

  .form-textarea {
    min-height: 150px;
  }

  .contact-submit-btn {
    width: 100%;
    justify-content: flex-start;
    padding: 0.85rem 0;
    font-size: 0.875rem;
  }
}

/* Telas Ultra-Compactas (<= 390px) */
@media (max-width: 390px) {
  .contact-title {
    font-size: 1.75rem;
  }
}

/* --- src/styles/services.css --- */
/**
 * Services Page Stylesheet — RN Carpintaria
 * Vitrine de engenharia e marcenaria arquitetônica com efeito cortina sobreposta,
 * hero em tela cheia e grid editorial refinado.
 */

/* ==========================================================================
   1. ESTRUTURA GERAL DA PÁGINA DE SERVIÇOS
   ========================================================================== */
.services-page {
  background-color: #171615;
  color: #FFFFFF;
  overflow-x: clip;
}

/* ==========================================================================
   2. DOBRA 1: HERO EM FULL WIDTH & FULL HEIGHT (TELA CHEIA)
   ========================================================================== */
.services-hero-section {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  z-index: 1;
  will-change: transform, opacity;
}

.services-hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.services-hero-backdrop picture {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.services-hero-img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(17, 16, 15, 0.55) 0%,
      rgba(17, 16, 15, 0.25) 40%,
      rgba(17, 16, 15, 0.1) 70%,
      rgba(17, 16, 15, 0.4) 100%);
  z-index: 2;
  pointer-events: none;
}

.services-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
}

.services-hero-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.services-hero-text-col {
  max-width: 830px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.services-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-family-body);
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-gold);
}

.services-hero-kicker::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background-color: var(--color-accent-gold);
}

.services-hero-title {
  font-family: var(--font-family-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.services-hero-desc {
  font-family: var(--font-family-body);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: var(--font-weight-regular);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
}

.services-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 0.75rem;
}

.services-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.05rem 2.2rem;
  background-color: #FFFFFF;
  color: #151515;
  border-radius: var(--radius-pill);
  font-family: var(--font-family-body);
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.services-hero-btn .btn-dot {
  font-size: 0.9375rem;
  line-height: 1;
}

.services-hero-btn:hover {
  background-color: var(--color-accent-gold);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.services-hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-family-body);
  font-size: 0.6875rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  padding-bottom: 0.75rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.services-hero-scroll:hover {
  color: #FFFFFF;
}

.services-hero-scroll svg {
  transition: transform var(--transition-fast);
}

.services-hero-scroll:hover svg {
  transform: translateY(3px);
}

/* ==========================================================================
   3. SEÇÕES EM EFEITO CORTINA (STACKING CURTAIN ARCHITECTURE)
   ========================================================================== */
.services-curtain-section {
  position: relative;
  width: 100%;
  padding-top: clamp(4.5rem, 8vw, 7.5rem);
  padding-bottom: clamp(4.5rem, 8vw, 7.5rem);
}

/* Z-Index e posições para arquitetura de cortina sobreposta */
.services-curtain-2 {
  position: relative;
  z-index: 10;
  background-color: #282828;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.services-curtain-3 {
  position: relative;
  z-index: 12;
  background-color: #636363;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.services-curtain-4 {
  position: relative;
  z-index: 14;
  background-color: #282828;
}

.services-curtain-5 {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: #282828;
  min-height: 70vh;
  min-height: 70svh;
  display: flex;
  align-items: center;
}

.services-curtain-5 .container {
  transform-origin: center top;
  will-change: transform, opacity, filter;
  width: 100%;
}

/* ==========================================================================
   4. DOBRA 2: PORTAS E JANELAS (CAIXILHOS & ESQUADRIAS ESPECIAIS)
   ========================================================================== */
.services-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.services-split-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.services-section-title {
  font-family: var(--font-family-display);
  font-size: clamp(2.25rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.services-body-paragraph {
  font-family: var(--font-family-body);
  font-size: clamp(0.9375rem, 1.15vw, 1.0625rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.services-visual-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.8;
  border-radius: 0 !important;
  overflow: hidden;
}

.services-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-visual-wrap:hover .services-visual-img {
  transform: scale(1.03);
}

/* ==========================================================================
   5. DOBRA 3: ESCADAS, PAVIMENTOS, GAZEBOS E LOFTS (LINHAS EDITORIAIS)
   ========================================================================== */
.services-editorial-list-section {
  position: relative;
}

.services-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  margin-bottom: 0.5rem;
}

.services-list-kicker {
  font-family: var(--font-family-body);
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.services-editorial-item {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: baseline;
  padding-top: clamp(2rem, 3.5vw, 3rem);
  padding-bottom: clamp(2rem, 3.5vw, 3rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: padding-left var(--transition-fast), background-color var(--transition-fast);
}

.services-editorial-item:hover {
  background-color: rgba(255, 255, 255, 0.02);
  padding-left: 0.5rem;
}

.services-editorial-name {
  font-family: var(--font-family-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  line-height: 1.15;
}

.services-editorial-desc {
  font-family: var(--font-family-body);
  font-size: clamp(0.9375rem, 1.15vw, 1.0625rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  max-width: 680px;
}

/* ==========================================================================
   6. DOBRA 4: REVESTIMENTOS (PAINÉIS E FORROS RIPADOS)
   ========================================================================== */
.services-heading-block {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.services-super-title {
  font-family: var(--font-family-display);
  font-size: clamp(2.5rem, 4vw, 3rem);
  text-align: center;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #FFFFFF;
}

.services-revestimentos-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.services-block-subtitle {
  font-family: var(--font-family-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.services-landscape-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0 !important;
  overflow: hidden;
}

.services-revestimentos-grid .services-landscape-wrap {
  aspect-ratio: 900 / 847;
}

.services-estruturas-grid .services-landscape-wrap {
  aspect-ratio: 835 / 900;
}

/* ==========================================================================
   7. DOBRA 5: ESTRUTURAS DE MADEIRA (PERGOLADOS E COBERTURAS MONUMENTAIS)
   ========================================================================== */
.services-estruturas-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

/* ==========================================================================
   8. DOBRA FINAL: CTA COM EFEITO CORTINA & FOOTER REVEAL
   ========================================================================== */
.services-page main {
  position: relative;
  z-index: 10;
  background-color: #171615;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.services-cta-curtain {
  position: relative;
  z-index: 30;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #12100E;
  box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.3), 0 -12px 24px rgba(0, 0, 0, 0.3);
}

.services-page .site-footer {
  position: sticky;
  bottom: 0;
  z-index: 1;
}

/* ==========================================================================
   9. RESPONSIVIDADE RIGOROSA (TABLET & MOBILE)
   ========================================================================== */

/* Tablet (768px a 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .services-page .container {
    padding-left: 28px;
    padding-right: 28px;
  }

  /* Hero no Tablet: Imagem ocupando todo o height da seção */
  .services-hero-section {
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    padding-top: calc(var(--header-height, 75px) + 2rem);
    display: flex;
    align-items: flex-end;
  }

  .services-hero-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .services-hero-backdrop picture {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .services-hero-img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .services-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(17, 16, 15, 0.72) 0%,
        rgba(17, 16, 15, 0.35) 45%,
        rgba(17, 16, 15, 0.1) 75%,
        rgba(17, 16, 15, 0.35) 100%);
    pointer-events: none;
  }

  .services-hero-content {
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
  }

  .services-hero-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  /* Reduzir um pouco a fonte do título no tablet */
  .services-hero-title {
    font-size: clamp(2.15rem, 4.5vw, 2.75rem);
    line-height: 1.15;
  }

  /* Botão Solicitar Orçamento no Tablet: NÃO esticado, tamanho natural compacto */
  .services-hero-actions {
    width: auto;
    display: flex;
    justify-content: flex-start;
  }

  .services-hero-btn {
    width: auto;
    max-width: fit-content;
    align-self: flex-start;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.95rem 1.85rem;
    font-size: 0.8125rem;
    white-space: nowrap;
  }

  .services-hero-scroll {
    display: none;
  }

  /* Dobra 2 (Portas e Caixilhos): Uma única linha com duas colunas no tablet */
  .services-split-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: clamp(2rem, 3.5vw, 3.5rem) !important;
    align-items: center !important;
  }

  .services-split-text {
    order: 1 !important;
  }

  .services-visual-wrap {
    order: 2 !important;
    width: 100% !important;
    aspect-ratio: 4 / 4.8 !important;
    border-radius: 0 !important;
  }

  /* Dobra 4 (Painéis e Forros Ripados): Uma única linha com duas colunas no tablet */
  .services-revestimentos-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: clamp(2rem, 3.5vw, 3.5rem) !important;
    align-items: center !important;
  }

  .services-revestimentos-text {
    order: 1 !important;
  }

  .services-revestimentos-grid .services-landscape-wrap {
    order: 2 !important;
    width: 100% !important;
    aspect-ratio: 900 / 847 !important;
    border-radius: 0 !important;
  }

  /* Dobra 5 (Pergolados e Coberturas): Uma única linha com duas colunas no tablet */
  .services-estruturas-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: clamp(2rem, 3.5vw, 3.5rem) !important;
    align-items: center !important;
  }

  .services-estruturas-grid .services-landscape-wrap {
    order: 1 !important;
    width: 100% !important;
    aspect-ratio: 835 / 900 !important;
    border-radius: 0 !important;
  }

  .services-estruturas-text {
    order: 2 !important;
  }

  .services-section-title {
    font-size: clamp(1.65rem, 3vw, 2rem);
    line-height: 1.15;
    margin-bottom: 1rem;
  }

  .services-block-subtitle {
    font-size: clamp(1.65rem, 3vw, 2rem);
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .services-body-paragraph {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1em;
  }

  /* Dobra 3 (Escadas, Pavimentos, Gazebo, Lofts): Grade em 2 linhas e 2 colunas no tablet */
  .services-editorial-grid,
  .services-editorial-list-section .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    column-gap: clamp(2rem, 4vw, 3.5rem);
    row-gap: clamp(1.75rem, 3.5vw, 2.5rem);
  }

  .services-editorial-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.25rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .services-editorial-name {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .services-editorial-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 100%;
  }

  /* Dobra 5 e Seção CTA no Tablet: mesma animação e efeito cortina do desktop */
  .services-curtain-5 {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: 70vh;
    min-height: 70svh;
  }

  .services-cta-curtain {
    position: relative;
    z-index: 30;
    width: 100%;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #12100E;
    box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.3), 0 -12px 24px rgba(0, 0, 0, 0.3);
  }

  .services-page .site-footer {
    position: relative !important;
    bottom: auto !important;
    z-index: 10 !important;
    padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  }
}

@media (min-width: 768px) and (max-width: 768px) {
  .services-curtain-2 {
    min-height: 75svh;
    min-height: 75vh;
  }

  .services-section-title {
    font-size: clamp(1.5rem, 3.2vw, 1.5rem);
  }

  .services-super-title {
    font-size: 2rem;
  }

  .services-curtain-5 {
    min-height: 55svh;
    min-height: 55vh;
  }

  .services-editorial-name,
  .services-block-subtitle {
    font-size: 1.5rem;
  }
}

/* Mobile (<= 767.98px) */
@media (max-width: 767.98px) {
  .services-page .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  /* Hero no Mobile */
  .services-hero-section {
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    padding-top: calc(var(--header-height, 75px) + 1.5rem);
    display: flex;
    align-items: flex-end;
  }

  .services-hero-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .services-hero-backdrop picture {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .services-hero-img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .services-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(17, 16, 15, 0.75) 0%,
        rgba(17, 16, 15, 0.35) 45%,
        rgba(17, 16, 15, 0.1) 75%,
        rgba(17, 16, 15, 0.35) 100%);
    pointer-events: none;
  }

  .services-hero-content {
    padding-bottom: 2.5rem;
  }

  .services-hero-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .services-hero-kicker {
    font-size: 0.6875rem;
  }

  .services-hero-title {
    font-size: clamp(3rem, 8vw, 3rem);
    line-height: 1.2;
  }

  .services-hero-desc {
    font-size: 0.9375rem;
    line-height: 1.55;
  }

  .services-hero-actions {
    width: auto;
    display: flex;
    justify-content: flex-start;
  }

  .services-hero-btn {
    width: auto;
    max-width: fit-content;
    align-self: flex-start;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.95rem 1.85rem;
    font-size: 0.8125rem;
    white-space: nowrap;
  }

  .services-hero-scroll {
    display: none;
  }

  /* Dobras de Conteúdo no Mobile */
  .services-curtain-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  /* Portas e Janelas (Dobra 2): 1 Coluna com Foto no Topo Inteira sem Cortes */
  .services-split-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .services-visual-wrap {
    order: -1;
    width: 100%;
    aspect-ratio: 743 / 900;
    border-radius: 0 !important;
    overflow: hidden;
  }

  .services-visual-wrap .services-visual-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .services-section-title {
    font-size: clamp(1.85rem, 6.5vw, 2.35rem);
    line-height: 1.15;
  }

  /* Dobra 3 (Lista de Serviços): 1 Coluna por Item no Mobile */
  .services-editorial-grid,
  .services-editorial-list-section .container {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .services-editorial-item {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .services-editorial-name {
    font-size: 1.75rem;
  }

  .services-editorial-desc {
    font-size: 0.875rem;
    line-height: 1.55;
  }

  /* Dobra 4 (Revestimentos): 1 Coluna */
  .services-super-title {
    font-size: clamp(2rem, 7vw, 2.5rem);
    line-height: 1.12;
  }

  .services-revestimentos-grid {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
  }

  .services-landscape-wrap {
    order: -1;
    border-radius: 0 !important;
  }

  .services-block-subtitle {
    font-size: 1.5rem;
    margin-bottom: 0.85rem;
  }

  /* Dobra 5 (Estruturas de Madeira): 1 Coluna com Imagem no Topo */
  .services-estruturas-grid {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
  }

  /* Dobra Final (CTA) e Rodapé no Mobile: rolagem contínua sem travar ou cortar o footer */
  .services-page main {
    box-shadow: none;
  }

  .services-cta-curtain {
    min-height: 480px;
    height: auto;
    padding: clamp(4.5rem, 12vw, 6.5rem) 0;
    box-shadow: none;
  }

  .services-page .site-footer {
    position: relative !important;
    bottom: auto !important;
    z-index: 10 !important;
    padding-bottom: clamp(2rem, 6vw, 3.5rem);
  }
}

/* Telas Ultra-Compactas (<= 390px) */
@media (max-width: 390px) {
  .services-hero-title {
    font-size: 2rem;
  }

  .services-section-title,
  .services-super-title {
    font-size: 1.75rem;
  }

  .services-editorial-name {
    font-size: 1.5rem;
  }
}

/* --- src/styles/blog.css --- */
/**
 * Blog, Categorias, Artigo & Busca Stylesheet — RN Carpintaria
 * Design editorial arquitetônico de alto luxo
 * Paleta refinada:
 * - Background: #F4F1EA (Linho quente / marfim arquitetônico)
 * - Fontes de textos: #55514B (Carvão quente mineral)
 * - Títulos: #1C1B1A (Grafite profundo)
 */

/* ==========================================================================
   0. VARIÁVEIS GLOBAIS DO ECOSSISTEMA DO BLOG
   Aplicável a Blog, Categoria, Artigo Único e Resultados da Busca
   ========================================================================== */
:root {
  --blog-bg: #F4F1EA;
  --blog-bg-alt: #EBE6DC;
  --blog-bg-surface: #E3DDD3;
  --blog-text: #55514B;
  --blog-text-muted: #7A756E;
  --blog-title: #1C1B1A;
  --blog-border: rgba(28, 27, 26, 0.12);
  --blog-border-subtle: rgba(28, 27, 26, 0.07);
  --blog-accent: #8B6F47;
  --blog-accent-hover: #1C1B1A;
}

/* ==========================================================================
   1. ESTRUTURA GERAL DAS PÁGINAS (BLOG, CATEGORIA, ARTIGO, BUSCA)
   ========================================================================== */
body.blog-page,
body.category-page,
body.article-page,
body.single-post-page,
body.search-results-page,
body.busca-page {
  background-color: #F4F1EA;
  color: #55514B;
  min-height: 100vh;
}

.blog-page main,
.category-page main,
.article-page main,
.single-post-page main,
.search-results-page main,
.busca-page main {
  position: relative;
  z-index: 10;
  background-color: #F4F1EA;
  padding-top: clamp(120px, 16vh, 180px);
  padding-bottom: 0 !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.blog-page main>.container,
.category-page main>.container,
.article-page main>.article-container,
.search-results-page main>.container {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(4.5rem, 8vh, 6.5rem);
}

/* Rodapé em Efeito Cortina (Footer Reveal) no Blog e Categorias */
.blog-page .site-footer,
.category-page .site-footer,
.article-page .site-footer,
.single-post-page .site-footer,
.search-results-page .site-footer,
.busca-page .site-footer {
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  z-index: 1;
}

@media (max-width: 1024px) {

  .blog-page .site-footer,
  .category-page .site-footer,
  .article-page .site-footer,
  .single-post-page .site-footer,
  .search-results-page .site-footer,
  .busca-page .site-footer {
    position: relative !important;
    bottom: auto !important;
    z-index: 10 !important;
  }
}

/* ==========================================================================
   1.1 CABEÇALHO SITE-HEADER EM PÁGINAS DO BLOG (#F4F1EA)
   Garante contraste perfeito e elegância do menu flutuante em fundo claro
   ========================================================================== */
.blog-page .site-header,
.category-page .site-header,
.article-page .site-header,
.search-results-page .site-header {
  border-bottom: 1px solid rgba(28, 27, 26, 0.08);
}

.blog-page .site-header:not(.header--scrolled) .nav-link,
.category-page .site-header:not(.header--scrolled) .nav-link,
.article-page .site-header:not(.header--scrolled) .nav-link,
.search-results-page .site-header:not(.header--scrolled) .nav-link {
  color: #1C1B1A;
}

.blog-page .site-header:not(.header--scrolled) .nav-link:hover,
.blog-page .site-header:not(.header--scrolled) .nav-link.is-active,
.category-page .site-header:not(.header--scrolled) .nav-link:hover,
.category-page .site-header:not(.header--scrolled) .nav-link.is-active {
  color: #8B6F47;
}

.blog-page .site-header:not(.header--scrolled) .nav-link::after,
.category-page .site-header:not(.header--scrolled) .nav-link::after {
  background-color: #1C1B1A;
}

/* Logotipo: texto em PRETO tanto no estado inicial quanto no scroll sobre o fundo #F4F1EA */
.blog-page .site-header .brand-logo-text,
.blog-page .site-header.header--scrolled .brand-logo-text,
.category-page .site-header .brand-logo-text,
.category-page .site-header.header--scrolled .brand-logo-text,
.article-page .site-header .brand-logo-text,
.article-page .site-header.header--scrolled .brand-logo-text,
.search-results-page .site-header .brand-logo-text,
.search-results-page .site-header.header--scrolled .brand-logo-text {
  filter: brightness(0) !important;
}

/* Botão Hamburger em telas mobile */
.blog-page .site-header:not(.header--scrolled) .hamburger-btn,
.category-page .site-header:not(.header--scrolled) .hamburger-btn {
  background-color: rgba(28, 27, 26, 0.05);
  border-color: rgba(28, 27, 26, 0.15);
}

.blog-page .site-header:not(.header--scrolled) .hamburger-btn span,
.category-page .site-header:not(.header--scrolled) .hamburger-btn span {
  background-color: #1C1B1A;
}

/* Estado Scrolled com Glassmorphism no tom #F4F1EA */
.blog-page .site-header.header--scrolled,
.category-page .site-header.header--scrolled,
.article-page .site-header.header--scrolled,
.search-results-page .site-header.header--scrolled {
  background-color: rgba(244, 241, 234, 0.94);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(28, 27, 26, 0.08);
  box-shadow: 0 10px 30px rgba(28, 27, 26, 0.05);
}

.blog-page .site-header.header--scrolled .nav-link,
.category-page .site-header.header--scrolled .nav-link {
  color: #1C1B1A;
}

.blog-page .site-header.header--scrolled .nav-link:hover,
.blog-page .site-header.header--scrolled .nav-link.is-active,
.category-page .site-header.header--scrolled .nav-link:hover,
.category-page .site-header.header--scrolled .nav-link.is-active {
  color: #8B6F47;
}

.blog-page .site-header.header--scrolled .hamburger-btn span,
.category-page .site-header.header--scrolled .hamburger-btn span {
  background-color: #1C1B1A;
}

/* Dropdown Mobile */
.blog-page .mobile-dropdown,
.category-page .mobile-dropdown {
  background-color: #F4F1EA;
  border-bottom: 1px solid rgba(28, 27, 26, 0.1);
}

.blog-page .mobile-dropdown-link,
.category-page .mobile-dropdown-link {
  color: #1C1B1A;
  border-bottom: 1px solid rgba(28, 27, 26, 0.06);
}

.blog-page .mobile-dropdown-link:hover,
.category-page .mobile-dropdown-link:hover {
  background-color: rgba(28, 27, 26, 0.04);
  color: #8B6F47;
}

/* ==========================================================================
   1.2 ÍCONE DE BUSCA & CAIXA SUSPENSA DO BLOG
   Ativo exclusivamente em Blog, Categoria, Artigos e Resultados de Busca
   ========================================================================== */
body.blog-page .header-search-btn,
body.category-page .header-search-btn,
body.article-page .header-search-btn,
body.single-post-page .header-search-btn,
body.search-results-page .header-search-btn,
body.busca-page .header-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(28, 27, 26, 0.18);
  background-color: transparent;
  color: #1C1B1A;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

body.blog-page .header-search-btn:hover,
body.blog-page .header-search-btn.is-active,
body.category-page .header-search-btn:hover,
body.category-page .header-search-btn.is-active,
body.article-page .header-search-btn:hover,
body.article-page .header-search-btn.is-active,
body.search-results-page .header-search-btn:hover,
body.search-results-page .header-search-btn.is-active {
  background-color: #1C1B1A;
  color: #F4F1EA;
  border-color: #1C1B1A;
  transform: scale(1.05);
}

/* Caixa de Busca Suspensa */
.header-search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: rgba(244, 241, 234, 0.98);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid rgba(28, 27, 26, 0.12);
  box-shadow: 0 20px 45px rgba(28, 27, 26, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
  z-index: 999;
}

.header-search-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-search-container {
  padding-top: 1.5rem;
  padding-bottom: 1.75rem;
}

.header-search-box {
  max-width: 820px;
  margin: 0 auto;
}

.header-search-form {
  width: 100%;
}

.header-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #FFFFFF;
  border: 1px solid rgba(28, 27, 26, 0.18);
  border-radius: 9999px;
  padding: 0.4rem 0.5rem 0.4rem 1.25rem;
  box-shadow: 0 4px 15px rgba(28, 27, 26, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search-input-wrap:focus-within {
  border-color: #1C1B1A;
  box-shadow: 0 0 0 3px rgba(28, 27, 26, 0.08);
}

.header-search-input-icon {
  color: #55514B;
  flex-shrink: 0;
}

.header-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-family-body, 'Inter', sans-serif);
  font-size: 1rem;
  color: #1C1B1A;
  outline: none;
  padding: 0.4rem 0;
}

.header-search-input::placeholder {
  color: #7A756E;
}

.btn-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.6rem;
  background-color: #1C1B1A;
  color: #F4F1EA;
  border: none;
  border-radius: 9999px;
  font-family: var(--font-family-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.btn-search-submit:hover {
  background-color: #383531;
  transform: scale(1.02);
}

.btn-search-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #55514B;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.btn-search-close:hover {
  background-color: rgba(28, 27, 26, 0.08);
  color: #1C1B1A;
}

/* Painel de Resultados em Tempo Real & Preloader */
.header-search-results-panel {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(28, 27, 26, 0.08);
}

.search-preloader-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1.75rem 1rem;
  color: #55514B;
  font-family: var(--font-family-body, 'Inter', sans-serif);
  font-size: 0.95rem;
}

.search-preloader-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.search-spinner {
  width: 22px;
  height: 22px;
  border: 2.5px solid rgba(28, 27, 26, 0.15);
  border-top-color: #1C1B1A;
  border-radius: 50%;
  animation: searchSpin 0.7s linear infinite;
}

@keyframes searchSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Categorias correspondentes */
.search-categories-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.search-categories-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7A756E;
  font-weight: 600;
  margin-right: 0.25rem;
}

.search-category-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: rgba(28, 27, 26, 0.06);
  border: 1px solid rgba(28, 27, 26, 0.12);
  color: #1C1B1A;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.search-category-pill:hover {
  background-color: #1C1B1A;
  color: #F4F1EA;
  border-color: #1C1B1A;
}

/* Grid de Artigos Encontrados no Dropdown */
.search-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.search-result-card {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  background-color: #ECE7DE;
  border: 1px solid rgba(28, 27, 26, 0.06);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.search-result-card:hover {
  background-color: #E3DDD3;
  transform: translateY(-2px);
}

.search-result-thumb {
  width: 72px;
  height: 52px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  background-color: #DED8CC;
}

.search-result-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.search-result-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: #8B6F47;
  margin-bottom: 0.2rem;
}

.search-result-title {
  font-family: var(--font-family-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  color: #1C1B1A;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-date {
  font-size: 0.75rem;
  color: #7A756E;
  margin-top: 0.15rem;
}

/* Botão "Ver Todos os Resultados" dentro do preloader / resultados */
.search-see-all-wrap {
  display: flex;
  justify-content: center;
  margin-top: 0.75rem;
}

.btn-see-all-results {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  background-color: #1C1B1A;
  color: #F4F1EA;
  font-family: var(--font-family-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(28, 27, 26, 0.15);
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.btn-see-all-results:hover {
  background-color: #383531;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(28, 27, 26, 0.22);
}

/* Estado de busca sem resultados */
.search-empty-box {
  text-align: center;
  padding: 1.5rem 1rem;
}

.search-empty-text {
  font-size: 0.95rem;
  color: #55514B;
  margin: 0 0 1rem 0;
}

.search-suggestions-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.search-chip-btn {
  background-color: #FFFFFF;
  border: 1px solid rgba(28, 27, 26, 0.15);
  border-radius: 9999px;
  padding: 0.35rem 0.85rem;
  font-family: var(--font-family-body, 'Inter', sans-serif);
  font-size: 0.8rem;
  color: #55514B;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-chip-btn:hover {
  background-color: #1C1B1A;
  color: #F4F1EA;
  border-color: #1C1B1A;
}

/* Responsivo para Caixa de Busca */
@media (max-width: 767.98px) {
  .header-search-dropdown {
    max-height: calc(100vh - 75px);
    overflow-y: auto;
  }

  .header-search-container {
    padding-top: 1rem;
    padding-bottom: 1.25rem;
  }

  .header-search-input-wrap {
    flex-wrap: wrap;
    padding: 0.6rem 0.85rem;
    border-radius: 16px;
    gap: 0.5rem;
  }

  .header-search-input {
    width: calc(100% - 75px);
    font-size: 0.95rem;
  }

  .btn-search-submit {
    width: 100%;
    padding: 0.75rem 1rem;
    order: 3;
  }

  .search-results-grid {
    grid-template-columns: 1fr;
  }

  .btn-see-all-results {
    width: 100%;
  }
}

@media (max-width: 1023px) {

  body.blog-page .header-actions,
  body.category-page .header-actions,
  body.search-results-page .header-actions {
    gap: 0.65rem;
  }

  body.blog-page .header-search-btn,
  body.category-page .header-search-btn,
  body.search-results-page .header-search-btn {
    display: inline-flex !important;
    width: 40px;
    height: 40px;
  }

  body.blog-page .hamburger-btn,
  body.category-page .hamburger-btn,
  body.search-results-page .hamburger-btn {
    background-color: rgba(28, 27, 26, 0.05) !important;
    border-color: rgba(28, 27, 26, 0.15) !important;
    box-shadow: none !important;
  }

  body.blog-page .hamburger-btn span,
  body.category-page .hamburger-btn span,
  body.search-results-page .hamburger-btn span {
    background-color: #1C1B1A !important;
  }
}

/* ==========================================================================
   2. CABEÇALHO DO BLOG & CATEGORIAS (HERO TITLE & LEAD)
   ========================================================================== */
.blog-header-section {
  margin-bottom: clamp(3rem, 6vh, 4.5rem);
}

.category-back-wrap {
  margin-bottom: 1rem;
}

.category-back-link {
  color: #55514B;
  font-family: var(--font-family-body, 'Inter', sans-serif);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.category-back-link:hover {
  color: #1C1B1A;
  transform: translateX(-3px);
}

.blog-header-title {
  font-family: var(--font-family-display, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(2rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #1C1B1A;
  margin: 0 0 1rem 0;
}

.blog-header-lead {
  font-family: var(--font-family-body, 'Inter', sans-serif);
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.6;
  color: #55514B;
  max-width: 680px;
  margin: 0;
}

/* ==========================================================================
   3. ARTIGO EM DESTAQUE
   Aparece exclusivamente na primeira página da listagem do Blog
   ========================================================================== */
.blog-featured-section {
  margin-bottom: clamp(3.5rem, 7vh, 5.5rem);
  transition: opacity 0.3s ease;
}

.blog-featured-section .blog-featured-card {
  display: grid !important;
  grid-template-columns: 1.15fr 1fr !important;
  gap: clamp(2.5rem, 4.5vw, 4.5rem) !important;
  align-items: center !important;
  background-color: transparent !important;
}

.blog-featured-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  background-color: #E6E1D7;
  border: 1px solid rgba(28, 27, 26, 0.08);
}

.blog-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-featured-section .blog-featured-card:hover .blog-featured-img {
  transform: scale(1.03);
}

.blog-featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.blog-meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

/* Badge de Categoria em Formato Pílula */
.blog-category-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(28, 27, 26, 0.16);
  background-color: rgba(28, 27, 26, 0.04);
  font-family: var(--font-family-body, 'Inter', sans-serif);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #1C1B1A;
  text-transform: none;
  transition: all 0.25s ease;
}

.blog-category-badge:hover {
  background-color: #1C1B1A;
  color: #F4F1EA;
  border-color: #1C1B1A;
}

.blog-meta-date {
  font-family: var(--font-family-body, 'Inter', sans-serif);
  font-size: 0.85rem;
  color: #7A756E;
}

.blog-featured-title {
  font-family: var(--font-family-display, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(1.85rem, 2.2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1C1B1A;
  margin: 0 0 1.25rem 0;
  cursor: pointer;
  transition: color 0.25s ease;
}

.blog-featured-title:hover {
  color: #8B6F47;
}

.blog-featured-excerpt {
  font-family: var(--font-family-body, 'Inter', sans-serif);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.65;
  color: #55514B;
  margin: 0 0 1.75rem 0;
}

/* Botão Pílula Read More / Ler Artigo */
.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  background-color: #1C1B1A;
  color: #F4F1EA;
  border: 1px solid #1C1B1A;
  border-radius: 9999px;
  font-family: var(--font-family-body, 'Inter', sans-serif);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-read-more:hover {
  background-color: #383531;
  color: #FFFFFF;
  border-color: #383531;
  transform: translateY(-1px);
}

/* ==========================================================================
   4. TAGS DE FILTRAGEM POR CATEGORIAS
   Posicionadas entre o destaque e a listagem (visíveis no Blog)
   ========================================================================== */
.blog-filter-section {
  position: relative;
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(28, 27, 26, 0.12);
}

.blog-filter-tags {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.blog-filter-btn {
  background: transparent;
  border: 1px solid rgba(28, 27, 26, 0.18);
  border-radius: 9999px;
  padding: 0.5rem 1.15rem;
  color: #55514B;
  font-family: var(--font-family-body, 'Inter', sans-serif);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.blog-filter-btn:hover {
  border-color: #1C1B1A;
  color: #1C1B1A;
  background-color: rgba(28, 27, 26, 0.04);
}

.blog-filter-btn.is-active {
  background-color: #1C1B1A;
  color: #F4F1EA;
  border-color: #1C1B1A;
  font-weight: 600;
}

/* ==========================================================================
   5. LISTAGEM DOS DEMAIS ARTIGOS (GRID 2 COLUNAS)
   ========================================================================== */
.blog-listing-section {
  scroll-margin-top: 100px;
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 3.5vw, 4rem);
}

/* Card Individual da Listagem */
.blog-post-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(28, 27, 26, 0.1);
  transition: transform 0.25s ease;
}

.blog-post-card:hover {
  transform: translateY(-2px);
}

.blog-post-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 12;
  overflow: hidden;
}

.blog-post-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.blog-post-card:hover .blog-post-thumb {
  transform: scale(1.05);
}

.blog-post-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.blog-post-title-link,
.blog-featured-title-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-featured-visual,
.blog-post-thumb-wrap {
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.blog-post-title {
  font-family: var(--font-family-display, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(1.2rem, 1.2vw, 1.2rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: #1C1B1A;
  margin: 0 0 1rem 0;
  cursor: pointer;
  transition: color 0.25s ease;
}

.blog-post-title:hover {
  color: #8B6F47;
}

.blog-link-read {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-family-body, 'Inter', sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: #1C1B1A;
  cursor: pointer;
  transition: color 0.25s ease;
}

.blog-link-read:hover {
  color: #8B6F47;
}

/* Estado de lista vazia */
.blog-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1rem;
  color: #55514B;
  font-size: 1.1rem;
}

/* ==========================================================================
   6. PAGINAÇÃO DINÂMICA
   ========================================================================== */
.blog-pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: clamp(3.5rem, 6vh, 5rem);
  padding-top: 2rem;
}

.blog-page-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(28, 27, 26, 0.18);
  background: transparent;
  color: #55514B;
  font-family: var(--font-family-body, 'Inter', sans-serif);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.blog-page-btn:hover:not(:disabled) {
  border-color: #1C1B1A;
  background-color: rgba(28, 27, 26, 0.06);
  color: #1C1B1A;
}

.blog-page-btn.is-active {
  background-color: #1C1B1A;
  color: #F4F1EA;
  border-color: #1C1B1A;
  font-weight: 700;
}

.blog-page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.blog-page-arrow {
  padding: 0 1rem;
}

/* ==========================================================================
   7. MODAL DE LEITURA COMPLETA DO ARTIGO
   ========================================================================== */
.blog-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background-color: rgba(28, 27, 26, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.blog-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.blog-modal-container {
  position: relative;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  background-color: #F4F1EA;
  border: 1px solid rgba(28, 27, 26, 0.14);
  border-radius: 8px;
  padding: clamp(2rem, 4vw, 3.5rem);
  color: #55514B;
  box-shadow: 0 25px 60px -12px rgba(28, 27, 26, 0.35);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.blog-modal.is-open .blog-modal-container {
  transform: translateY(0);
}

.blog-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(28, 27, 26, 0.2);
  background-color: rgba(28, 27, 26, 0.05);
  color: #1C1B1A;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  transition: all 0.2s ease;
}

.blog-modal-close:hover {
  background-color: #1C1B1A;
  color: #F4F1EA;
}

.blog-modal-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 2rem;
  background-color: #E6E1D7;
}

.blog-modal-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-modal-title {
  font-family: var(--font-family-display, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #1C1B1A;
  margin: 0 0 1.25rem 0;
}

.blog-modal-body {
  font-family: var(--font-family-body, 'Inter', sans-serif);
  font-size: 1.05rem;
  line-height: 1.8;
  color: #55514B;
}

.blog-modal-body p {
  margin-bottom: 1.35rem;
}

.blog-modal-body h2,
.blog-modal-body h3,
.blog-modal-body h4 {
  font-family: var(--font-family-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.35rem;
  color: #1C1B1A;
  margin: 2rem 0 1rem 0;
}

/* ==========================================================================
   8. CARROSSEL "CONHEÇA NOSSOS SERVIÇOS" (AUTOPLAY EM LOOP)
   Dobra com background escuro #282828 e elevação perfeita com efeito cortina
   ========================================================================== */
.services-carousel-section {
  position: relative;
  z-index: 30 !important;
  background-color: #282828 !important;
  padding-top: clamp(4.5rem, 8vh, 6.5rem);
  padding-bottom: clamp(4.5rem, 8vh, 7rem);
  overflow: hidden;
}

.services-carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(2rem, 4vh, 3.25rem);
  flex-wrap: wrap;
  gap: 1.5rem;
}

.services-carousel-title {
  font-family: var(--font-family-display, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: #FFFFFF !important;
  margin: 0;
  letter-spacing: -0.02em;
}

.services-carousel-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.services-carousel-link {
  font-family: var(--font-family-body, 'Inter', sans-serif);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #FFFFFF !important;
  transition: color 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.services-carousel-link:hover {
  color: #E5BA73 !important;
}

.services-carousel-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.services-carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
  transition: all 0.25s ease;
  user-select: none;
}

.services-carousel-arrow:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border-color: #FFFFFF;
  transform: scale(1.05);
}

/* Trilho do Carrossel */
.services-carousel-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: grab;
}

.services-carousel-viewport:active {
  cursor: grabbing;
}

.services-carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.services-carousel-slide {
  flex: 0 0 calc((100% - 3rem) / 3);
  min-width: 280px;
  display: flex;
  flex-direction: column;
}

.services-carousel-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
  background-color: #1F1F1F;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.services-carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.services-carousel-slide:hover .services-carousel-img {
  transform: scale(1.04);
}

.services-carousel-caption {
  font-family: var(--font-family-body, 'Inter', sans-serif);
  font-size: 0.875rem;
  line-height: 1.5;
  color: #DCD9D2 !important;
  margin: 0;
}

/* ==========================================================================
   9. PÁGINA DO ARTIGO INDIVIDUAL (SINGLE POST ARCHITECTURE)
   - Breadcrumb, título, botão de ouvir artigo, botão compartilhar
   - Imagem principal e conteúdo com tipografia impecável
   - Lateral direita: Recomendações para você + Próximos Artigos
   - Arrows laterais flutuantes para navegação contínua na mesma categoria
   ========================================================================== */
.single-post-page,
.article-page {
  background-color: #F4F1EA;
  color: #55514B;
  position: relative;
}

.article-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-gutter);
  box-sizing: border-box;
}

/* Breadcrumb no Topo */
.article-breadcrumb-nav {
  margin-bottom: 1.5rem;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-family-body, 'Inter', sans-serif);
  font-size: 0.85rem;
  color: #7A756E;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-breadcrumb a {
  color: #55514B;
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-breadcrumb a:hover {
  color: #1C1B1A;
}

.article-breadcrumb-sep {
  color: rgba(28, 27, 26, 0.35);
  font-size: 0.75rem;
  user-select: none;
}

.article-breadcrumb-current {
  color: #1C1B1A;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 480px;
}

/* Título Monumental do Artigo */
.article-main-title {
  font-family: var(--font-family-display, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(1.8rem, 1.8vw, 1.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #1C1B1A;
  margin: 0 0 1.5rem 0;
}

/* Barra de Ações: Ouvir Artigo + Compartilhar */
.article-actions-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

/* Botão Ouvir Este Artigo */
.btn-listen-article {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background-color: #0E68CE;
  color: #FFFFFF;
  padding: 0.65rem 1.4rem;
  border-radius: 9999px;
  font-family: var(--font-family-body, 'Inter', sans-serif);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
  box-shadow: 0 4px 15px rgba(14, 104, 206, 0.25);
  width: auto;
  max-width: fit-content;
  flex: 0 0 auto;
}

.btn-listen-article:hover {
  background-color: #0B54A6;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(14, 104, 206, 0.35);
}

.btn-listen-article.is-playing {
  background-color: #1C1B1A;
  box-shadow: 0 4px 15px rgba(28, 27, 26, 0.25);
}

.listen-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

.listen-time {
  opacity: 0.9;
  font-weight: 400;
  font-size: 0.8rem;
  margin-left: 0.25rem;
}

/* Equalizador animado enquanto o artigo é ouvido */
.listen-equalizer {
  display: none;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.btn-listen-article.is-playing .listen-icon {
  display: none;
}

.btn-listen-article.is-playing .listen-equalizer {
  display: inline-flex;
}

.listen-bar {
  width: 2.5px;
  background-color: #FFFFFF;
  border-radius: 2px;
  animation: listenBounce 0.8s ease infinite alternate;
}

.listen-bar:nth-child(1) {
  height: 6px;
  animation-delay: 0.1s;
}

.listen-bar:nth-child(2) {
  height: 13px;
  animation-delay: 0.3s;
}

.listen-bar:nth-child(3) {
  height: 9px;
  animation-delay: 0.2s;
}

.listen-bar:nth-child(4) {
  height: 14px;
  animation-delay: 0.4s;
}

@keyframes listenBounce {
  0% {
    transform: scaleY(0.4);
  }

  100% {
    transform: scaleY(1);
  }
}

/* Botão Compartilhar e Menu */
.share-dropdown-wrap {
  position: relative;
  display: inline-block;
}

.btn-share-article {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background-color: transparent;
  color: #1C1B1A;
  border: 1px solid rgba(28, 27, 26, 0.22);
  padding: 0.65rem 1.4rem;
  border-radius: 9999px;
  font-family: var(--font-family-body, 'Inter', sans-serif);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.btn-share-article:hover,
.btn-share-article.is-active {
  background-color: #1C1B1A;
  color: #F4F1EA;
  border-color: #1C1B1A;
}

.share-menu-dropdown {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  background-color: #FFFFFF;
  border: 1px solid rgba(28, 27, 26, 0.14);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(28, 27, 26, 0.15);
  padding: 0.5rem;
  min-width: 210px;
  display: none;
  z-index: 200;
  flex-direction: column;
  gap: 0.25rem;
}

.share-menu-dropdown.is-open {
  display: flex;
  animation: shareDropdownFade 0.2s ease;
}

@keyframes shareDropdownFade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.share-menu-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  font-family: var(--font-family-body, 'Inter', sans-serif);
  font-size: 0.85rem;
  font-weight: 500;
  color: #1C1B1A;
  text-decoration: none;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.share-menu-link:hover {
  background-color: #F4F1EA;
  color: #8B6F47;
}

.share-menu-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Toast de Link Copiado */
.share-copy-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background-color: #1C1B1A;
  color: #F4F1EA;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-family: var(--font-family-body, 'Inter', sans-serif);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
}

.share-copy-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Layout de 2 Colunas: Coluna Principal + Lateral Direita */
.article-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

/* Coluna Principal */
.article-main-col {
  min-width: 0;
}

.article-hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.article-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.article-hero-caption {
  font-family: var(--font-family-body, 'Inter', sans-serif);
  font-size: 0.825rem;
  color: #7A756E;
  margin: 0 0 2rem 0;
  font-style: italic;
  line-height: 1.5;
}

.article-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  margin-bottom: 2.25rem;
  border-bottom: 1px solid rgba(28, 27, 26, 0.1);
  font-family: var(--font-family-body, 'Inter', sans-serif);
  font-size: 0.875rem;
  color: #7A756E;
}

.article-meta-author strong {
  color: #1C1B1A;
}

.article-body-content {
  font-family: var(--font-family-body, 'Inter', sans-serif);
  font-size: 1.125rem;
  line-height: 1.85;
  color: #55514B;
}

.article-body-content p {
  margin-bottom: 1.6rem;
}

.article-body-content h2,
.article-body-content h3,
.article-body-content h4 {
  font-family: var(--font-family-display, 'Plus Jakarta Sans', sans-serif);
  color: #1C1B1A;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 2.5rem 0 1rem 0;
}

.article-body-content h2 {
  font-size: clamp(1.6rem, 2.3vw, 2rem);
}

.article-body-content h3 {
  font-size: clamp(1.35rem, 1.8vw, 1.6rem);
}

.article-body-content h4 {
  font-size: 1.25rem;
}

.article-body-content blockquote {
  border-left: 3px solid #1C1B1A;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #1C1B1A;
  font-size: 1.15rem;
  line-height: 1.7;
}

/* Coluna Lateral Direita (Sidebar) */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 110px;
}

.sidebar-box {
  background-color: #EAE6DE;
  border-radius: 12px;
  padding: 1.75rem;
  border: 1px solid rgba(28, 27, 26, 0.08);
}

.sidebar-box-title {
  font-family: var(--font-family-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #1C1B1A;
  margin: 0 0 1.25rem 0;
  letter-spacing: -0.01em;
}

.sidebar-articles-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.sidebar-article-card {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.sidebar-article-card:hover {
  transform: translateX(4px);
}

.sidebar-article-thumb {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background-color: #DED8CC;
}

.sidebar-article-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sidebar-article-title {
  font-family: var(--font-family-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: #1C1B1A;
  margin: 0 0 0.25rem 0;
  transition: color 0.2s ease;
}

.sidebar-article-card:hover .sidebar-article-title {
  color: #8B6F47;
}

.sidebar-article-meta {
  font-size: 0.75rem;
  color: #7A756E;
  margin: 0;
}

/* Arrows Laterais Flutuantes (Navegação Rápida entre Artigos) */
.article-nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  width: 52px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(244, 241, 234, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(28, 27, 26, 0.12);
  color: #1C1B1A;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(28, 27, 26, 0.08);
}

.article-nav-arrow:hover {
  background-color: #1C1B1A;
  color: #F4F1EA;
  border-color: #1C1B1A;
  box-shadow: 0 12px 30px rgba(28, 27, 26, 0.22);
}

.article-nav-arrow-prev {
  left: 0;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  border-left: none;
}

.article-nav-arrow-prev:hover {
  transform: translateY(-50%) translateX(4px);
}

.article-nav-arrow-next {
  right: 0;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  border-right: none;
}

.article-nav-arrow-next:hover {
  transform: translateY(-50%) translateX(-4px);
}

.article-nav-arrow-icon {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: "round";
}

/* Responsividade da Página de Artigo */
@media (max-width: 1024px) {
  .article-layout-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .article-sidebar {
    position: static;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(1.25rem, 2.5vw, 2rem) !important;
    align-items: stretch !important;
  }

  .sidebar-box {
    padding: clamp(1.25rem, 2vw, 1.75rem);
    height: 100%;
  }
}

@media (max-width: 767.98px) {
  .article-breadcrumb-current {
    max-width: 240px;
  }

  .article-actions-bar {
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
  }

  .btn-listen-article {
    width: auto !important;
    max-width: fit-content !important;
    flex: 0 0 auto !important;
    align-self: flex-start;
  }

  .btn-share-article {
    width: auto;
  }

  .share-dropdown-wrap {
    width: auto;
  }

  .article-nav-arrow {
    width: 38px;
    height: 54px;
  }

  .article-nav-arrow-icon {
    width: 20px;
    height: 20px;
  }

  .article-sidebar {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

/* PÁGINA DE RESULTADOS DA BUSCA */
.search-results-page,
.busca-page {
  background-color: #F4F1EA;
  color: #55514B;
}

.search-header-section {
  margin-bottom: clamp(3rem, 6vh, 4.5rem);
}

.search-results-title {
  font-family: var(--font-family-display, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: #1C1B1A;
  margin: 0 0 1rem 0;
}

.search-query-highlight {
  color: #8B6F47;
  font-style: normal;
}

.search-results-count {
  font-family: var(--font-family-body, 'Inter', sans-serif);
  font-size: 1rem;
  color: #55514B;
  margin-bottom: 2rem;
}

.search-box-wrap {
  position: relative;
  max-width: 620px;
  margin-bottom: 2.5rem;
}

.search-input-control {
  width: 100%;
  padding: 0.9rem 1.4rem;
  padding-right: 3.5rem;
  border-radius: 9999px;
  background-color: #FFFFFF;
  border: 1px solid rgba(28, 27, 26, 0.18);
  font-family: var(--font-family-body, 'Inter', sans-serif);
  font-size: 0.95rem;
  color: #1C1B1A;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.search-input-control:focus {
  border-color: #1C1B1A;
  box-shadow: 0 0 0 3px rgba(28, 27, 26, 0.08);
}

.search-input-control::placeholder {
  color: #7A756E;
}

.search-submit-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background-color: #1C1B1A;
  color: #F4F1EA;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-submit-btn:hover {
  background-color: #383531;
}

/* ==========================================================================
   10. RESPONSIVIDADE (TABLET & CELULAR)
   ========================================================================== */

/* Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
  .blog-featured-section .blog-featured-card {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 2.5vw, 2.25rem);
    align-items: center;
  }

  .blog-featured-visual {
    aspect-ratio: 16 / 10;
  }

  .blog-featured-title {
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }

  .blog-featured-excerpt {
    font-size: clamp(0.85rem, 1.1vw, 0.95rem);
    line-height: 1.55;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .blog-meta-row {
    margin-bottom: 0.75rem;
  }

  .blog-posts-grid,
  .category-page .blog-posts-grid,
  .search-results-page .blog-posts-grid,
  #category-posts-grid,
  #search-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(1.5rem, 2.5vw, 2.25rem);
  }

  .blog-post-card {
    grid-template-columns: clamp(120px, 14vw, 150px) 1fr;
    gap: 1.15rem;
    align-items: flex-start;
    padding-bottom: 1.75rem;
  }

  .blog-post-title {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    line-height: 1.3;
  }

  .services-carousel-slide {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }
}

/* Celulares (max-width: 767.98px) */
@media (max-width: 767.98px) {

  .blog-page main,
  .category-page main,
  .article-page main,
  .search-results-page main {
    padding-top: clamp(100px, 14vh, 130px);
    padding-bottom: 0 !important;
  }

  .blog-page main>.container,
  .category-page main>.container,
  .article-page main>.article-container,
  .search-results-page main>.container {
    padding-bottom: 3.5rem;
  }

  .blog-header-section {
    margin-bottom: 2.25rem;
  }

  .blog-header-title {
    font-size: 2rem;
  }

  .blog-header-lead {
    font-size: 0.95rem;
  }

  .blog-featured-section {
    margin-bottom: 2.75rem;
  }

  .blog-featured-section .blog-featured-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .blog-featured-title {
    font-size: 1.65rem;
  }

  .blog-featured-excerpt {
    font-size: 0.925rem;
    line-height: 1.55;
  }

  .blog-filter-section {
    margin-bottom: 2.25rem;
    padding-bottom: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .blog-filter-tags {
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
  }

  .blog-posts-grid,
  .category-page .blog-posts-grid,
  .search-results-page .blog-posts-grid,
  #category-posts-grid,
  #search-results-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem;
  }

  .blog-post-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .blog-post-title {
    font-size: 1.15rem;
  }

  .services-carousel-slide {
    flex: 0 0 85%;
  }

  .services-carousel-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .services-carousel-actions {
    width: 100%;
    justify-content: space-between;
  }
}

/* ==========================================================================
   SKELETON LOADING SYSTEM — RN CARPINTARIA
   Efeito Shimmer Arquitetônico de Alto Padrão (Sem Bordas Arredondadas)
   ========================================================================== */

@keyframes skeleton-shimmer {
  0% {
    background-position: -250% 0;
  }
  100% {
    background-position: 250% 0;
  }
}

@keyframes skeleton-fade-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.is-loaded-content {
  animation: skeleton-fade-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Primitivas de Skeleton (Paleta Marfim/Linho Nobre RN Carpintaria) */
.skeleton-box {
  background: linear-gradient(
    90deg,
    #E8E3D8 0%,
    #F6F3EC 40%,
    #E5DFD4 75%,
    #E8E3D8 100%
  );
  background-size: 250% 100%;
  animation: skeleton-shimmer 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  border-radius: 0 !important;
  display: block;
}

/* Skeleton em Superfícies Escuras (como Dropdown de Busca do Header) */
.skeleton-box-dark {
  background: linear-gradient(
    90deg,
    #252321 0%,
    #36322F 40%,
    #252321 75%,
    #252321 100%
  );
  background-size: 250% 100%;
  animation: skeleton-shimmer 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  border-radius: 0 !important;
  display: block;
}

.skeleton-text {
  height: 14px;
  margin-bottom: 0.65rem;
  border-radius: 0 !important;
}

.skeleton-text-title {
  height: 28px;
  margin-bottom: 0.85rem;
}

.skeleton-text-subtitle {
  height: 18px;
  margin-bottom: 0.75rem;
}

.skeleton-badge {
  width: 90px;
  height: 20px;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.skeleton-btn {
  width: 140px;
  height: 42px;
  display: inline-block;
}

/* 1. Skeleton do Artigo em Destaque (blog.html) */
.skeleton-featured-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 3.5vw, 3.5rem);
  background: #FFFFFF;
  border: 1px solid var(--blog-border-subtle, rgba(28, 27, 26, 0.08));
  padding: clamp(1.25rem, 2vw, 2rem);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  width: 100%;
  box-sizing: border-box;
}

.skeleton-featured-visual {
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 280px;
}

.skeleton-featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 2. Skeleton da Grade de Artigos (blog.html, categoria.html, busca.html) */
.skeleton-post-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  background: #FFFFFF;
  border: 1px solid var(--blog-border-subtle, rgba(28, 27, 26, 0.08));
  padding: 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
  align-items: center;
}

.skeleton-post-thumb {
  width: 140px;
  height: 110px;
  aspect-ratio: 14 / 11;
}

.skeleton-post-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 3. Skeleton da Página de Artigo Completo (artigo.html) */
.skeleton-article-wrapper {
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
}

.skeleton-article-breadcrumb {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 2rem;
}

.skeleton-article-title-wrap {
  margin-bottom: 2rem;
}

.skeleton-article-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid rgba(28, 27, 26, 0.08);
  border-bottom: 1px solid rgba(28, 27, 26, 0.08);
  margin-bottom: 2.5rem;
}

.skeleton-article-hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 380px;
  margin-bottom: 3rem;
}

.skeleton-article-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

/* 4. Skeleton do Painel de Busca Rápida (Header Search Dropdown) */
.skeleton-live-search-panel {
  padding: 1rem 0 0.5rem;
}

.skeleton-live-chips {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.skeleton-live-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.skeleton-live-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
}

.skeleton-live-thumb {
  width: 80px;
  height: 56px;
}

/* Responsividade dos Skeletons para Tablets e Celulares */
@media (max-width: 991px) {
  .skeleton-featured-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 767px) {
  .skeleton-post-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .skeleton-post-thumb {
    width: 100%;
    height: 200px;
    aspect-ratio: 16 / 10;
  }

  .skeleton-article-hero {
    min-height: 220px;
    margin-bottom: 2rem;
  }
}