/* ==========================================================================
   GMKarq - Design System & Estilos Responsivos Mobile-First
   Identidade: Minimalismo Arquitetônico de Alto Padrão (Dark Mode)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@200;300;400;500;600&display=swap');

/* --- Variáveis & Tokens de Design --- */
:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-tertiary: #141414;
  --bg-glass: rgba(10, 10, 10, 0.82);
  --bg-glass-card: rgba(20, 20, 20, 0.6);
  
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #666666;
  
  --border-subtle: #1c1c1c;
  --border-hover: #333333;
  --border-accent: #ffffff;

  --accent-white: #ffffff;
  --accent-gold: #c5a880;

  --font-heading: 'Outfit', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --header-height: 72px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border-radius: 0px;
}
::-webkit-scrollbar-thumb:hover {
  background: #444444;
}

/* --- Tipografia Global --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  font-size: clamp(14px, 1.8vw, 16px);
  font-weight: 300;
  line-height: 1.8;
}

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

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

/* --- Contêiner Central --- */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

/* --- Cabeçalho & Barra de Navegação --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background var(--transition-smooth), border var(--transition-smooth);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.brand-logo .logo-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3.5vw, 28px);
  font-weight: 400;
  letter-spacing: 5px;
  color: var(--text-primary);
  line-height: 1;
}

.brand-logo .logo-sub {
  font-family: var(--font-body);
  font-size: 8px;
  letter-spacing: 2.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

/* Navegação Desktop */
.nav-menu-desktop {
  display: none;
  align-items: center;
  gap: 32px;
  list-style: none;
}

@media (min-width: 900px) {
  .nav-menu-desktop {
    display: flex;
  }
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--accent-white);
  transition: width var(--transition-smooth);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta-btn {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: var(--transition-fast);
}

.nav-cta-btn:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* Seletor de Idiomas Minimalista (PT | EN) */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  user-select: none;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  padding: 4px 2px;
  transition: color var(--transition-fast);
}

.lang-btn:hover,
.lang-btn.active {
  color: var(--text-primary);
  font-weight: 500;
}

.lang-separator {
  color: #333;
  font-size: 10px;
}


/* Botão Hambúrguer Mobile */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
  -webkit-tap-highlight-color: transparent;
}

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

.hamburger-line {
  width: 24px;
  height: 1.5px;
  background-color: var(--text-primary);
  transition: transform var(--transition-smooth), opacity var(--transition-fast);
  margin: 3px 0;
}

.mobile-menu-toggle.open .hamburger-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-menu-toggle.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.open .hamburger-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Menu Gaveta Mobile (Drawer) */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: #000000;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  transition: right var(--transition-smooth);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: clamp(24px, 6vw, 36px);
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: block;
}

.mobile-nav-link:active,
.mobile-nav-link.active {
  color: var(--text-primary);
  padding-left: 8px;
  border-left: 2px solid #fff;
}

.mobile-drawer-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-drawer-footer a {
  font-size: 13px;
  color: var(--text-muted);
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 92vh;
  padding-top: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.4) grayscale(30%);
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.85) 100%),
              linear-gradient(180deg, rgba(0,0,0,0.4) 0%, #000000 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
}

.hero-tag {
  display: inline-block;
  font-size: clamp(10px, 2.2vw, 13px);
  letter-spacing: clamp(2px, 0.6vw, 4px);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(28px, 6.5vw, 64px);
  font-weight: 200;
  letter-spacing: clamp(4px, 1.2vw, 10px);
  line-height: 1.15;
  margin-bottom: 24px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.9);
}

.hero-description {
  font-size: clamp(14px, 2.2vw, 18px);
  color: #cccccc;
  max-width: 640px;
  margin: 0 auto 36px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

@media (min-width: 600px) {
  .hero-actions {
    flex-direction: row;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 32px;
  background: #ffffff;
  color: #000000;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 500;
  transition: var(--transition-fast);
  cursor: pointer;
  border: 1px solid #ffffff;
  width: 100%;
  max-width: 280px;
}

.btn-primary:hover {
  background: transparent;
  color: #ffffff;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 32px;
  background: transparent;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 400;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition-fast);
  cursor: pointer;
  width: 100%;
  max-width: 280px;
}

.btn-outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

/* --- Home Direta para Banners --- */
.home-main {
  padding-top: var(--header-height);
  background-color: var(--bg-primary);
}

/* --- Frase Conceitual em Quem Sou --- */
.about-quote-container {
  text-align: center;
  padding-bottom: clamp(32px, 5vw, 48px);
  margin-bottom: clamp(24px, 4vw, 40px);
  border-bottom: 1px solid var(--border-subtle);
}

.about-quote {
  font-family: var(--font-heading);
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 200;
  letter-spacing: clamp(2px, 0.5vw, 4px);
  color: #ffffff;
  font-style: italic;
  line-height: 1.3;
}

/* --- Página de Detalhes do Projeto (Padrão Studio MK27) --- */
.project-detail-page {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: clamp(60px, 8vw, 100px);
  background-color: var(--bg-primary);
}

.project-header-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 5vw, 48px);
  margin-bottom: clamp(24px, 5vw, 40px);
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: clamp(24px, 5vw, 40px);
}

@media (min-width: 860px) {
  .project-header-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.project-main-heading {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 300;
  letter-spacing: clamp(2px, 0.6vw, 4px);
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.specs-table th {
  text-align: left;
  color: var(--text-muted);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 1px solid #161616;
  width: 32%;
}

.specs-table td {
  color: #ffffff;
  font-size: 13px;
  font-weight: 300;
  padding: 8px 0;
  border-bottom: 1px solid #161616;
}

.project-memorial-text {
  font-size: clamp(13px, 1.8vw, 15px);
  line-height: 1.8;
  color: var(--text-secondary);
  font-weight: 300;
}

.project-memorial-text p {
  margin-bottom: 14px;
}

/* Palco / Carrossel 16:9 */
.project-carousel-section {
  width: 100%;
}

.stage-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #0d0d0d;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  margin-bottom: 12px;
}

.stage-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.3s ease;
}

.stage-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  border: none;
  color: #ffffff;
  font-size: clamp(18px, 3vw, 24px);
  width: clamp(40px, 5vw, 54px);
  height: clamp(40px, 5vw, 54px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.3s, transform 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.stage-nav:hover {
  background: rgba(0, 0, 0, 0.85);
}

.stage-nav:active {
  transform: translateY(-50%) scale(0.92);
}

.stage-nav.prev { left: 10px; }
.stage-nav.next { right: 10px; }

/* Faixa de Miniaturas */
.thumbs-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.thumb-card {
  flex: 0 0 clamp(80px, 16vw, 120px);
  height: clamp(54px, 11vw, 80px);
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.3s, border-color 0.3s;
  border: 1px solid transparent;
  background: #111;
  overflow: hidden;
}

.thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-card:hover,
.thumb-card.active {
  opacity: 1;
  border-color: #ffffff;
}

/* --- Faixas de Categorias / Portfólio (Linhas Inteiras Full-Width) --- */
.categories-section {
  padding: 0;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.categories-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.category-strip {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-bottom: 1px solid #111111;
  background-color: #000000;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.category-strip img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%) brightness(0.85);
  transition: filter 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, filter;
}

.category-strip .strip-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.5s ease;
  z-index: 1;
}

.category-strip .strip-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 90%;
  pointer-events: none;
}

.category-strip .strip-title {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3.8vw, 34px);
  letter-spacing: clamp(2px, 0.6vw, 5px);
  text-transform: uppercase;
  font-weight: 300;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
  text-shadow: 0px 2px 20px rgba(0, 0, 0, 0.9);
  transition: letter-spacing 0.5s ease, transform 0.5s ease;
  white-space: nowrap;
}

/* Hover no Desktop: Revela cor pura e zoom elegante */
@media (hover: hover) and (pointer: fine) {
  .category-strip:hover img {
    filter: grayscale(0%) brightness(0.95);
    transform: scale(1.03);
  }
  .category-strip:hover .strip-overlay {
    background: rgba(0, 0, 0, 0.15);
  }
  .category-strip:hover .strip-title {
    letter-spacing: clamp(4px, 0.9vw, 8px);
  }
}

/* Toque no Mobile */
.category-strip:active img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .category-strip {
    height: 200px;
  }
  .category-strip .strip-title {
    font-size: clamp(18px, 4.8vw, 24px);
    letter-spacing: 2.5px;
  }
}

@media (max-width: 380px) {
  .category-strip {
    height: 175px;
  }
  .category-strip .strip-title {
    font-size: 16px;
    letter-spacing: 1.5px;
  }
}

/* --- Página de Projetos (projetos.html) --- */
.projects-page-main {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: clamp(60px, 8vw, 100px);
  background-color: var(--bg-primary);
  min-height: calc(100vh - var(--header-height));
}

.page-title-header {
  text-align: center;
  margin-bottom: clamp(24px, 4vw, 36px);
}

.page-main-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 300;
  letter-spacing: clamp(3px, 0.8vw, 6px);
  text-transform: uppercase;
  color: var(--text-primary);
}

/* --- Filtros de Galeria --- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 20px;
  cursor: pointer;
  transition: var(--transition-fast);
  min-height: 42px;
}

.filter-btn:hover,
.filter-btn.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* --- Grade de Projetos --- */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

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

.project-card {
  position: relative;
  height: clamp(260px, 30vw, 360px);
  background: #0d0d0d;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.7);
  transition: transform var(--transition-slow), filter var(--transition-smooth);
}

.project-card .project-card-info {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  z-index: 2;
}

.project-card .p-title {
  font-size: clamp(18px, 2.2vw, 22px);
  letter-spacing: 2px;
  font-weight: 300;
  margin-bottom: 4px;
}

.project-card .p-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.project-card:hover img {
  filter: grayscale(0%) brightness(0.9);
  transform: scale(1.05);
}

/* --- Modal Lightbox de Projeto --- */
.project-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.project-modal.active {
  display: flex;
}

.modal-content {
  background: #0f0f0f;
  border: 1px solid var(--border-subtle);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid #333;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-body img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.modal-details {
  padding: clamp(20px, 4vw, 36px);
}

.modal-title {
  font-size: clamp(22px, 3.5vw, 32px);
  margin-bottom: 8px;
}

.modal-meta {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* --- Página Quem Sou --- */
.about-section {
  padding: clamp(80px, 10vw, 120px) 0;
  padding-top: calc(var(--header-height) + 40px);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}

@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.about-image-wrapper {
  position: relative;
  aspect-ratio: 4/5;
  background: #0d0d0d;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: var(--transition-slow);
}

.about-image-wrapper:hover img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.about-text-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-lead {
  font-size: clamp(18px, 2.5vw, 22px);
  color: #ffffff;
  font-weight: 300;
  line-height: 1.6;
}

.skills-badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.skill-badge {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* --- Página de Contato --- */
.contact-section {
  padding: clamp(80px, 10vw, 120px) 0;
  padding-top: calc(var(--header-height) + 40px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 6vw, 64px);
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

.contact-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  padding: clamp(24px, 4vw, 40px);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #25D366;
  color: #000000;
  border: 1px solid #25D366;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  padding: 14px 28px;
  min-height: 48px;
  width: 100%;
  max-width: 320px;
  transition: var(--transition-fast);
  cursor: pointer;
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.btn-whatsapp:hover {
  background-color: #1eb954;
  border-color: #1eb954;
  color: #000000;
  transform: translateY(-2px);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

.contact-info-title {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-info-value {
  font-size: 15px;
  color: #ffffff;
}

/* Formulário Responsivo */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  min-height: 48px;
  background: #0d0d0d;
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  transition: var(--transition-fast);
  border-radius: 0;
  -webkit-appearance: none;
}

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

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #ffffff;
  background: #141414;
}

/* --- Rodapé Global --- */
.site-footer {
  background-color: #000000;
  border-top: 1px solid var(--border-subtle);
  padding: clamp(40px, 6vw, 70px) 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

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

.footer-brand .logo-title {
  font-size: 24px;
  letter-spacing: 4px;
  margin-bottom: 8px;
}

.footer-brand p {
  max-width: 320px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-col-title {
  font-size: 12px;
  letter-spacing: 2px;
  color: #ffffff;
  margin-bottom: 16px;
}

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

.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #111;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

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