/* ==========================================================================
   CAROLINE EUGÊNIA — ATELIÊ AUTORAL DE TATUAGEM
   Design System & Estilo Visual de Alta Conversão
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FONTES LOCAIS (CATÁLOGO AUTORAL / UNCUT)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/InstrumentSerif-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/InstrumentSerif-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Sans';
  src: url('../fonts/InstrumentSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Sans';
  src: url('../fonts/InstrumentSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. TOKENS GLOBAIS DE DESIGN (FONTE ÚNICA DE COR E MEDIDA)
   -------------------------------------------------------------------------- */
:root {
  /* Paleta Ébano & Ouro Alquímico Botânico */
  --ink-950: #08080a;
  --ink-900: #0e0e13;
  --ink-850: #14141c;
  --ink-800: #1b1b26;
  --ink-700: #292938;

  --paper: #f5f0e6;
  --paper-soft: #d8d2c4;
  --paper-muted: #9c9586;

  --brand-500: #c5a059;   /* Dourado pátina / talismã */
  --brand-400: #d8b672;
  --brand-600: #9e7d38;

  --accent-500: #2c423b;  /* Verde sálvia profundo / botânica sombria */
  --accent-400: #3f5d53;

  /* Derivados Semânticos de Superfície e Luz (Zero caixas cinzas) */
  --veil-1: rgba(197, 160, 89, 0.08);
  --veil-2: rgba(44, 66, 59, 0.16);
  --veil-hero: radial-gradient(circle at 50% 30%, rgba(197, 160, 89, 0.12), transparent 70%);
  --edge: rgba(245, 240, 230, 0.12);
  --edge-active: rgba(197, 160, 89, 0.45);
  --glow: rgba(197, 160, 89, 0.35);

  /* Tipografia */
  --ff-display: 'Instrument Serif', Georgia, serif;
  --ff-text: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Escala Tipográfica Fluida */
  --fs-display: clamp(2.8rem, 7.2vw, 5.8rem);
  --fs-h2: clamp(2.1rem, 4.4vw, 3.4rem);
  --fs-h3: clamp(1.3rem, 2.2vw, 1.85rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-label: 0.75rem;

  /* Layout & Espaçamento */
  --container: 1260px;
  --radius-card: 20px;
  --radius-btn: 999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   3. RESET & ESTRUTURA GLOBAL
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--ff-text);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--paper-soft);
  background-color: var(--ink-950);
  background-image: 
    radial-gradient(65% 45% at 15% 10%, var(--veil-1), transparent 70%),
    radial-gradient(60% 50% at 85% 35%, var(--veil-2), transparent 75%),
    radial-gradient(75% 55% at 50% 90%, var(--veil-1), transparent 70%);
  background-size: 160% 160%;
  background-attachment: fixed;
  animation: fieldDrift 28s ease-in-out infinite alternate;
  overflow-x: hidden !important;
  width: 100%;
  position: relative;
}

@keyframes fieldDrift {
  0% { background-position: 0% 0%, 100% 0%, 50% 100%; }
  100% { background-position: 18% 12%, 82% 16%, 46% 90%; }
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Foco visível acessível */
:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 3px;
}

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

/* --------------------------------------------------------------------------
   4. COMPONENTES VISUAIS REUTILIZÁVEIS
   -------------------------------------------------------------------------- */

/* Rótulo de Seção Caps (Sem badge, sem caixa) */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-500);
  margin-bottom: 16px;
}

.section-tag::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background-color: var(--brand-500);
}

/* Seções com Véu de Transição Contínuo */
.section {
  position: relative;
  isolation: isolate;
  padding-block: clamp(76px, 9vw, 136px);
}

.section::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto 0;
  height: clamp(120px, 18vh, 260px);
  background: linear-gradient(to bottom, var(--veil-1), transparent);
  pointer-events: none;
  z-index: -1;
}

.section--alt::before {
  background: linear-gradient(to bottom, var(--veil-2), transparent);
}

/* Títulos */
.title-display {
  font-family: var(--ff-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--paper);
}

.title-display em {
  font-style: italic;
  color: var(--brand-400);
}

.title-h2 {
  font-family: var(--ff-display);
  font-size: var(--fs-h2);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 20px;
}

.title-h2 em {
  font-style: italic;
  color: var(--brand-400);
}

.section-lead {
  font-size: 1.125rem;
  color: var(--paper-muted);
  max-width: 62ch;
  line-height: 1.7;
}

/* Botão de Ação Canônico com Shiny Sweep */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-950);
  background: linear-gradient(135deg, var(--brand-400), var(--brand-500));
  border-radius: var(--radius-btn);
  overflow: hidden;
  box-shadow: 0 10px 28px -8px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-24deg);
  transition: left 0.75s ease;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 16px 36px -6px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-primary:hover::after {
  left: 150%;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--paper);
  border: 1px solid var(--edge);
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  transition: all 0.3s var(--ease);
}

.btn-secondary:hover {
  border-color: var(--brand-500);
  color: var(--brand-400);
  background: rgba(197, 160, 89, 0.06);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   5. NAVBAR MINIMALISTA & RESPONSIVA
   -------------------------------------------------------------------------- */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 800;
  padding-block: 14px;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}

.header-nav.scrolled {
  background: rgba(8, 8, 10, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--edge);
  padding-block: 10px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--paper);
  letter-spacing: -0.01em;
}

.brand-subtitle {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand-500);
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--paper-soft);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--brand-500);
  transition: width 0.25s var(--ease);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-action {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-nav {
  min-height: 40px;
  padding: 8px 20px;
  font-size: 0.825rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--paper);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--paper);
  margin-inline: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile Drawer Overlay */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 10, 0.98);
  backdrop-filter: blur(20px);
  z-index: 799;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}

.mobile-nav-links a {
  font-family: var(--ff-display);
  font-size: 2rem;
  color: var(--paper);
}

/* --------------------------------------------------------------------------
   6. HERO SECTION MONUMENTAL (SEM BADGE)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: clamp(120px, 15vh, 160px);
  padding-bottom: clamp(60px, 8vh, 100px);
  overflow: hidden;
}

#three-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-tag {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-400);
  margin-bottom: 24px;
}

.hero-title {
  font-size: var(--fs-display);
  margin-bottom: 24px;
}

.hero-lead {
  font-size: 1.1875rem;
  line-height: 1.7;
  color: var(--paper-soft);
  margin-bottom: 36px;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-microcopy {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--paper-muted);
}

.hero-microcopy svg {
  color: var(--brand-500);
}

/* Hero Showcase Visual */
.hero-visual {
  position: relative;
}

.hero-art-frame {
  position: relative;
  border-radius: var(--radius-card);
  padding: 8px;
  background: linear-gradient(145deg, rgba(245, 240, 230, 0.14), rgba(197, 160, 89, 0.15), rgba(8, 8, 10, 0.6));
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.hero-art-inner {
  position: relative;
  border-radius: calc(var(--radius-card) - 6px);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background-color: var(--ink-900);
}

.hero-art-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.hero-art-frame:hover .hero-art-inner img {
  transform: scale(1.03);
}

.hero-floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  padding: 16px 22px;
  background: rgba(14, 14, 19, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--edge);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 14px;
}

.floating-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(197, 160, 89, 0.12);
  color: var(--brand-400);
  display: grid;
  place-items: center;
}

.floating-text strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--paper);
}

.floating-text span {
  font-size: 0.75rem;
  color: var(--paper-muted);
}

/* --------------------------------------------------------------------------
   7. MARQUEE / TICKER ORGÂNICO
   -------------------------------------------------------------------------- */
.marquee-wrap {
  width: 100%;
  overflow: hidden;
  padding-block: 22px;
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
  background: rgba(14, 14, 19, 0.6);
  backdrop-filter: blur(10px);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 32px;
  animation: marqueeLoop 24s linear infinite;
}

.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 32px;
  font-family: var(--ff-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--paper-soft);
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-item span {
  color: var(--brand-500);
  font-size: 1rem;
}

@keyframes marqueeLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   8. ESPECIALIDADES (AS 4 VERTENTES AUTORAIS)
   -------------------------------------------------------------------------- */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.spec-card {
  position: relative;
  background: rgba(20, 20, 28, 0.45);
  border: 1px solid var(--edge);
  border-radius: var(--radius-card);
  padding: 36px 30px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}

.spec-card:hover {
  transform: translateY(-4px);
  border-color: var(--edge-active);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 24px 50px -20px var(--glow);
}

.spec-number {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  color: var(--brand-500);
  opacity: 0.8;
  margin-bottom: 20px;
}

.spec-title {
  font-family: var(--ff-display);
  font-size: 1.7rem;
  line-height: 1.2;
  color: var(--paper);
  margin-bottom: 14px;
}

.spec-desc {
  font-size: 0.9375rem;
  color: var(--paper-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. GALERIA DE OBRAS REAIS (PORTFÓLIO)
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--edge);
  background: var(--ink-900);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-500);
}

.gallery-image-box {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.gallery-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery-card:hover .gallery-image-box img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 10, 0.9) 0%, rgba(8, 8, 10, 0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.gallery-tag {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-400);
  margin-bottom: 6px;
}

.gallery-title {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  color: var(--paper);
  margin-bottom: 12px;
}

.gallery-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-400);
  transition: gap 0.25s ease;
}

.gallery-link:hover {
  gap: 12px;
}

/* --------------------------------------------------------------------------
   10. O RITO DE CRIAÇÃO (TRILHO DE LUZ PROGRESSIVA)
   -------------------------------------------------------------------------- */
.process-wrapper {
  position: relative;
  margin-top: 60px;
}

.process-rail-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.process-step {
  position: relative;
  background: rgba(18, 18, 24, 0.5);
  border: 1px solid var(--edge);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.step-node {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink-850);
  border: 1px solid var(--brand-500);
  display: grid;
  place-items: center;
  font-family: var(--ff-display);
  font-size: 1.25rem;
  color: var(--brand-400);
  box-shadow: 0 0 20px var(--glow);
  margin-bottom: 24px;
}

.step-title {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  color: var(--paper);
  margin-bottom: 12px;
}

.step-text {
  font-size: 0.9375rem;
  color: var(--paper-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   11. SOBRE A ARTISTA (CAROLINE EUGÊNIA)
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.about-photo-wrapper {
  position: relative;
  border-radius: var(--radius-card);
  padding: 8px;
  background: linear-gradient(145deg, rgba(197, 160, 89, 0.25), rgba(8, 8, 10, 0.8));
  box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.8);
}

.about-photo-inner {
  border-radius: calc(var(--radius-card) - 6px);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.about-photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content p {
  margin-bottom: 18px;
  color: var(--paper-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-features {
  list-style: none;
  margin-block: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   12. FAQ (ACORDEÃO ACESSÍVEL)
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 820px;
  margin-inline: auto;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--edge);
  border-radius: 16px;
  background: rgba(18, 18, 24, 0.45);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.active {
  border-color: var(--brand-500);
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--ff-display);
  font-size: 1.35rem;
  color: var(--paper);
  background: none;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--brand-500);
  transition: transform 0.3s var(--ease);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 0.95rem;
  color: var(--paper-muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   13. CTA FINAL (FECHAMENTO DE ALTA CONVERSÃO)
   -------------------------------------------------------------------------- */
.cta-box {
  position: relative;
  text-align: center;
  padding: clamp(60px, 8vw, 100px) 24px;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 20%, rgba(197, 160, 89, 0.15), transparent 75%), rgba(18, 18, 24, 0.7);
  border: 1px solid var(--edge);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 30px 80px -20px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.cta-box .title-h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  max-width: 22ch;
  margin-inline: auto;
}

.cta-box p {
  font-size: 1.125rem;
  color: var(--paper-soft);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: 36px;
}

/* --------------------------------------------------------------------------
   14. RODAPÉ MINIMALISTA
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--edge);
  padding-block: 48px 36px;
  background: var(--ink-950);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--paper-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--paper-soft);
}

.footer-links a:hover {
  color: var(--brand-400);
}

/* --------------------------------------------------------------------------
   15. WHATSAPP FLUTUANTE CANÔNICO (REGRA 16)
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #fff;
  z-index: 900;
  text-decoration: none;
  box-shadow: 0 12px 32px -8px rgba(37, 211, 102, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.28s var(--ease), box-shadow 0.28s ease;
}

.wa-float svg {
  width: 28px;
  height: 28px;
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 40px -6px rgba(37, 211, 102, 0.7);
}

.wa-float:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   16. RESPONSIVIDADE RIGOROSA (MOBILE-FIRST)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    max-width: 440px;
    margin-inline: auto;
  }

  .process-rail-track {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-photo-wrapper {
    max-width: 420px;
    margin-inline: auto;
  }

  .about-pills {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-action .btn-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-nav {
    max-height: 56px;
    padding-block: 8px;
  }

  .header-nav.scrolled {
    max-height: 56px;
    padding-block: 8px;
  }

  .brand-title {
    font-size: 1.35rem;
  }

  body {
    padding-bottom: 84px; /* Evita que o WhatsApp cubra o conteúdo */
  }

  .wa-float {
    width: 54px;
    height: 54px;
    right: 16px;
  }

  .wa-float svg {
    width: 26px;
    height: 26px;
  }

  .hero-floating-card {
    left: 10px;
    bottom: -15px;
    padding: 12px 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.35rem;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .specs-grid, .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   17. ACESSIBILIDADE & REDUCED MOTION
   -------------------------------------------------------------------------- */
@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;
  }
  
  body {
    animation: none !important;
  }

  .marquee-track {
    animation: none !important;
  }
}
