/* ==========================================================================
   ARRECIFES CERVEJARIA • BRAND GUIDELINES
   Estilos CSS3 Modernos, Variáveis e Layout Responsivo
   ========================================================================== */

:root {
  /* Paleta Oficial da Marca */
  --solar: #F39F04;
  --solar-light: #FFBA38;
  --solar-glow: rgba(243, 159, 4, 0.35);
  
  --red-recife: #DA121A;
  --red-dark: #B50D14;
  --red-glow: rgba(218, 18, 26, 0.3);

  --royal-blue: #0F47AF;
  --royal-light: #2563EB;
  --royal-glow: rgba(15, 71, 175, 0.25);

  --deep-blue: #14365E;
  --deep-dark: #0D233D;
  --abyss: #071526;

  /* Tons de Apoio / Areia & Espuma */
  --sand-50: #FAF8F5;
  --sand-100: #F4F1EA;
  --sand-200: #E8E3D7;
  --sand-300: #D8D1C0;
  
  --foam: #FFFFFF;
  --foam-muted: rgba(255, 255, 255, 0.85);

  /* Texto e Contraste */
  --text-main: #14365E;
  --text-muted: #566E8C;
  --text-light: #7E93AC;
  --text-white: #FFFFFF;

  /* Tipografia */
  --font-display: 'Syne', sans-serif;
  --font-serif: 'Cinzel', serif;
  --font-body: 'Outfit', sans-serif;
  --font-engravers: 'Outfit', 'Cinzel', sans-serif;

  /* Sombras & Transições */
  --shadow-sm: 0 2px 8px rgba(20, 54, 94, 0.06);
  --shadow-md: 0 8px 24px rgba(20, 54, 94, 0.08);
  --shadow-lg: 0 16px 40px rgba(20, 54, 94, 0.12);
  --shadow-xl: 0 24px 60px rgba(7, 21, 38, 0.18);
  --shadow-solar: 0 10px 30px var(--solar-glow);

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

  --transition-fast: 0.18s cubic-bezier(0.2, 0, 0, 1);
  --transition-normal: 0.3s cubic-bezier(0.2, 0, 0, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  --container-max: 1240px;
}

/* Reset Básico e Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--sand-50);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* Barra de Progresso no Scroll */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--solar), var(--red-recife), var(--royal-blue));
  z-index: 1000;
  transition: width 0.1s linear;
}

/* Layout Geral & Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

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

.section-header.text-center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--solar);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--deep-blue);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 720px;
  font-weight: 400;
}

/* Glassmorphism e Painéis */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 222, 213, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--solar);
  color: #1a160d;
  box-shadow: 0 4px 18px var(--solar-glow);
}

.btn-primary:hover {
  background: var(--solar-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--solar-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.35);
}

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

.btn-outline {
  background: transparent;
  border-color: var(--royal-blue);
  color: var(--royal-blue);
}

.btn-outline:hover {
  background: var(--royal-blue);
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   HEADER PRINCIPAL (FIXO / GLASS)
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 900;
  transition: all var(--transition-normal);
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20, 54, 94, 0.08);
}

.main-header.scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  display: block;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.08);
}

.logo-symbol {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

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

.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 2.5px;
  color: var(--deep-blue);
  line-height: 1;
}

.logo-text small {
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-top: 3px;
  font-weight: 600;
}

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

.nav-link {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--solar);
  transition: width var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
  color: var(--royal-blue);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-actions kbd {
  background: rgba(15, 71, 175, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--royal-blue);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle .bar {
  width: 24px;
  height: 2px;
  background: var(--deep-blue);
  transition: all var(--transition-normal);
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  background-color: var(--deep-dark);
  color: #FFFFFF;
  overflow: hidden;
}

.hero-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.45;
  transform: scale(1.05);
  transition: transform 0.2s cubic-bezier(0.1, 0, 0, 1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(7, 21, 38, 0.82) 0%,
    rgba(20, 54, 94, 0.6) 50%,
    rgba(7, 21, 38, 0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(243, 159, 4, 0.15);
  border: 1px solid rgba(243, 159, 4, 0.4);
  backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--solar-light);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--solar);
  box-shadow: 0 0 8px var(--solar);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1px;
  color: #FFFFFF;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.text-highlight {
  color: var(--solar);
  background: linear-gradient(90deg, #F39F04, #FFD175);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-floating-card {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  background: rgba(13, 35, 61, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.card-item {
  display: flex;
  flex-direction: column;
}

.card-label {
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  color: var(--text-light);
  margin-bottom: 2px;
}

.card-val {
  font-size: 0.95rem;
  font-weight: 600;
}

.text-solar {
  color: var(--solar);
}

.card-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.15);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.scroll-arrow:hover {
  color: var(--solar);
}

.scroll-text {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.mouse {
  width: 22px;
  height: 34px;
  border: 2px solid currentColor;
  border-radius: 12px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 7px;
  background: currentColor;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 1.6s infinite ease-in-out;
}

@keyframes scroll-wheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 14px); opacity: 0; }
}

/* Animações de Entrada */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   2. MANIFESTO & CONCEITO
   ========================================================================== */
.manifesto-section {
  background: linear-gradient(180deg, var(--sand-50) 0%, var(--sand-100) 100%);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-bottom: 48px;
}

.manifesto-card {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-icon {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--solar);
  opacity: 0.6;
  margin-bottom: -10px;
}

.manifesto-lead {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--deep-blue);
  line-height: 1.35;
  margin-bottom: 24px;
}

.manifesto-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.signature-line {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--sand-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.signature-brand {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--deep-blue);
  font-size: 0.95rem;
}

.signature-role {
  font-size: 0.8rem;
  color: var(--solar);
  font-weight: 600;
  text-transform: uppercase;
}

.symbol-breakdown {
  padding: 44px;
  display: flex;
  flex-direction: column;
}

.badge-mini {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--royal-blue);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.breakdown-header h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 6px;
}

.breakdown-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.pillars-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pillar-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  background: #FFFFFF;
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.pillar-card:hover, .pillar-card.active {
  border-color: var(--royal-blue);
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #FFFFFF;
}

.pillar-icon svg {
  width: 22px;
  height: 22px;
}

.bg-blue { background: var(--royal-blue); }
.bg-solar { background: var(--solar); }
.bg-red { background: var(--red-recife); }
.bg-deep { background: var(--deep-blue); }

.pillar-info {
  flex: 1;
}

.pillar-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.pillar-title-row h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--deep-blue);
}

.pillar-element {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--solar);
  text-transform: uppercase;
}

.pillar-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.brand-heritage-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--sand-200);
  background: #f4ede3;
}

.brand-heritage-banner img {
  width: 100%;
  height: auto;
  max-height: none;
  display: block;
  object-fit: contain;
}

.heritage-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 32px;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 21, 38, 0.85) 100%);
  color: #FFFFFF;
  pointer-events: none;
}

.heritage-caption span {
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: var(--solar);
  font-weight: 700;
}

.heritage-caption h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 4px;
}

/* ==========================================================================
   3. PROCESSO CRIATIVO (SLIDER ANTES / DEPOIS)
   ========================================================================== */
.comparison-section {
  background: #FFFFFF;
}

.comparison-wrapper {
  max-width: 980px;
  margin: 0 auto;
}

.comparison-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 2px solid var(--sand-200);
  background-color: var(--sand-100);
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}

.comparison-image-after,
.comparison-image-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.comparison-image-after img,
.comparison-image-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Camada ANTES é cortada pelo clip-path dinâmico */
.comparison-image-before {
  z-index: 2;
  width: 100%;
  overflow: hidden;
  clip-path: inset(0 calc(100% - 50%) 0 0);
  transition: clip-path 0.05s ease-out;
}

.comparison-badge {
  position: absolute;
  top: 20px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  z-index: 5;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.badge-after {
  right: 20px;
  background: rgba(15, 71, 175, 0.85);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-before {
  left: 20px;
  background: rgba(20, 54, 94, 0.85);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Divisor Arrastável */
.comparison-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 44px;
  margin-left: -22px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  outline: none;
}

.comparison-handle:focus-visible .handle-button {
  box-shadow: 0 0 0 4px var(--solar-light), var(--shadow-lg);
}

.handle-line {
  width: 3px;
  flex: 1;
  background: #FFFFFF;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
}

.handle-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--solar);
  color: #1a160d;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), 0 0 0 3px #FFFFFF;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.comparison-handle:hover .handle-button,
.comparison-handle:active .handle-button {
  transform: scale(1.12);
  background: var(--solar-light);
}

/* Controles de Apoio do Slider */
.comparison-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.comparison-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.comparison-hint svg {
  color: var(--royal-blue);
}

.comparison-presets {
  display: flex;
  gap: 8px;
}

.btn-preset {
  background: var(--sand-100);
  border: 1px solid var(--sand-200);
  color: var(--text-main);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-preset:hover {
  background: var(--sand-200);
}

.btn-preset.active {
  background: var(--deep-blue);
  color: #FFFFFF;
  border-color: var(--deep-blue);
}

/* ==========================================================================
   4. PALETA DE CORES LÍQUIDA
   ========================================================================== */
.palette-section {
  background: linear-gradient(180deg, var(--sand-100) 0%, var(--sand-50) 100%);
}

.liquid-banner-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 48px;
  background-color: var(--deep-dark);
}

.liquid-banner-img img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

.liquid-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 21, 38, 0.75) 0%, rgba(7, 21, 38, 0.2) 60%, transparent 100%);
  display: flex;
  align-items: center;
  padding: 44px;
}

.liquid-banner-text {
  max-width: 480px;
  color: #FFFFFF;
}

.liquid-banner-text h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
}

.liquid-banner-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
}

/* Swatches Grid */
.swatches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

.color-card {
  background: #FFFFFF;
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.color-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--royal-blue);
}

.color-preview {
  height: 140px;
  position: relative;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  transition: transform var(--transition-normal);
}

.color-pill-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.35);
  color: #FFFFFF;
  backdrop-filter: blur(4px);
}

.color-pill-tag.light-contrast {
  background: rgba(255, 255, 255, 0.4);
  color: #1a160d;
}

.copy-hint-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  color: var(--deep-blue);
  opacity: 0;
  transform: translateY(-4px);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.color-card:hover .copy-hint-badge {
  opacity: 1;
  transform: translateY(0);
}

.color-details {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.color-name-group {
  margin-bottom: 16px;
}

.color-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--deep-blue);
}

.color-concept {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.color-codes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--sand-50);
  padding: 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.code-item {
  display: flex;
  flex-direction: column;
}

.code-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 1px;
}

.code-value {
  font-size: 0.82rem;
  color: var(--text-main);
  white-space: nowrap;
}

.btn-copy-color {
  background: var(--sand-100);
  border: 1px solid var(--sand-200);
  color: var(--text-main);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-copy-color:hover {
  background: var(--royal-blue);
  color: #FFFFFF;
  border-color: var(--royal-blue);
}

/* Cores Neutras de Suporte */
.neutral-palette-box {
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.neutral-header h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--deep-blue);
}

.neutral-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.neutral-swatches {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.neutral-swatch-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.neutral-swatch-item:hover {
  background: var(--sand-200);
}

.swatch-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
}

.swatch-meta {
  display: flex;
  flex-direction: column;
}

.swatch-meta strong {
  font-size: 0.8rem;
  color: var(--deep-blue);
}

.swatch-meta code {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   5. TIPOGRAFIA & PLAYGROUND
   ========================================================================== */
.typography-section {
  background: #FFFFFF;
}

.typography-specimen-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 48px;
  border: 1px solid var(--sand-200);
}

.typography-specimen-banner img {
  width: 100%;
}

.type-playground {
  padding: 40px;
}

.playground-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--sand-200);
}

.topbar-left h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--deep-blue);
}

.topbar-presets {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.presets-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.tag-preset {
  background: var(--sand-100);
  border: 1px solid var(--sand-200);
  color: var(--deep-blue);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tag-preset:hover {
  background: var(--royal-blue);
  color: #FFFFFF;
  border-color: var(--royal-blue);
}

.playground-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 28px;
  background: var(--sand-50);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--sand-200);
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--deep-blue);
}

.control-value {
  color: var(--solar);
  font-weight: 700;
}

.range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--sand-200);
  border-radius: 3px;
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--solar);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.toggles-group .control-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--deep-blue);
}

.btn-group-toggle {
  display: flex;
  gap: 6px;
}

.btn-toggle {
  background: #FFFFFF;
  border: 1px solid var(--sand-200);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.btn-toggle.active {
  background: var(--deep-blue);
  color: #FFFFFF;
  border-color: var(--deep-blue);
}

.playground-input-wrapper {
  margin-bottom: 28px;
}

.type-input-field {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--sand-200);
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  color: var(--deep-blue);
  background: #FFFFFF;
  outline: none;
  transition: border-color var(--transition-fast);
}

.type-input-field:focus {
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 4px var(--royal-glow);
}

.playground-preview-box {
  background: #FFFFFF;
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.preview-item {
  margin-bottom: 10px;
}

.preview-meta {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--royal-blue);
  margin-bottom: 12px;
}

.rendered-text {
  transition: all var(--transition-fast);
  word-break: break-word;
}

.style-display {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--deep-blue);
  letter-spacing: 4px;
  text-transform: uppercase;
  line-height: 1.25;
}

.preview-divider {
  height: 1px;
  background: var(--sand-200);
  margin: 28px 0;
}

.style-body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.6;
}

.alphabet-showcase {
  background: var(--sand-50);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--sand-200);
}

.alphabet-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 6px 0;
}

.alphabet-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--solar);
  width: 40px;
}

.alphabet-letters, .alphabet-numbers {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 2px;
  color: var(--deep-blue);
}

/* ==========================================================================
   6. MOCKUPS & GALERIA INTERATIVA (3D TILT)
   ========================================================================== */
.mockups-section {
  background: linear-gradient(180deg, var(--sand-50) 0%, var(--sand-100) 100%);
}

.gallery-filters {
  display: flex;
  gap: 8px;
  background: var(--sand-200);
  padding: 4px;
  border-radius: var(--radius-full);
}

.btn-filter {
  background: transparent;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-filter.active {
  background: var(--deep-blue);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.mockups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 32px;
  perspective: 1200px;
}

.mockup-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  outline: none;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), opacity 0.3s;
}

.mockup-card:focus-visible {
  box-shadow: 0 0 0 3px var(--royal-blue);
}

.mockup-card.hidden-category {
  display: none;
}

.tilt-box {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  position: relative;
}

.mockup-image-holder {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--sand-200);
}

.mockup-image-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.mockup-card:hover .mockup-image-holder img {
  transform: scale(1.05);
}

.tilt-glare {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: overlay;
  transition: opacity var(--transition-fast);
}

.mockup-overlay {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #FFFFFF;
}

.mockup-badge {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--solar);
  text-transform: uppercase;
}

.mockup-item-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--deep-blue);
  line-height: 1.3;
}

.mockup-item-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.mockup-action {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--royal-blue);
  transition: gap var(--transition-fast);
}

.mockup-card:hover .mockup-action {
  gap: 10px;
}

.gallery-expand-row {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.more-mockups.hidden {
  display: none;
}

/* ==========================================================================
   RESUMO & FOOTER
   ========================================================================== */
.summary-section {
  background: #FFFFFF;
}

.summary-card {
  padding: 64px 44px;
  max-width: 820px;
  margin: 0 auto;
}

.brand-crest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.brand-crest .crest-img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(15, 71, 175, 0.2));
  transition: transform var(--transition-normal);
}

.brand-crest .crest-img:hover {
  transform: scale(1.08) rotate(3deg);
}

.summary-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--deep-blue);
  margin-bottom: 16px;
  line-height: 1.2;
}

.summary-card p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 36px;
}

.summary-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.main-footer {
  background: var(--abyss);
  color: #FFFFFF;
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-brand h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: var(--solar);
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-top: 4px;
}

.footer-copy p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ==========================================================================
   MODAL LIGHTBOX (<dialog>)
   ========================================================================== */
.lightbox-dialog {
  border: none;
  background: transparent;
  padding: 0;
  max-width: 95vw;
  max-height: 95vh;
  margin: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.lightbox-dialog::backdrop {
  background: rgba(7, 21, 38, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox-content {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  max-width: 1050px;
  width: 92vw;
  overflow: hidden;
}

.lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 1px solid var(--sand-200);
}

.lightbox-tag {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--solar);
}

.lightbox-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--deep-blue);
}

.lightbox-close-btn {
  background: var(--sand-100);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--deep-blue);
  transition: all var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: var(--red-recife);
  color: #FFFFFF;
}

.lightbox-body {
  display: flex;
  flex-direction: column;
}

.lightbox-image-container {
  position: relative;
  background-color: var(--abyss);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  max-height: 65vh;
  overflow: hidden;
}

.lightbox-image-container img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  display: block;
}

.lightbox-nav-buttons {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  pointer-events: none;
}

.lightbox-arrow-btn {
  pointer-events: auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(20, 54, 94, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-arrow-btn:hover {
  background: var(--solar);
  color: #1a160d;
  transform: scale(1.1);
}

.lightbox-footer {
  padding: 20px 28px;
  background: var(--sand-50);
  border-top: 1px solid var(--sand-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.lightbox-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 650px;
}

.lightbox-meta {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Modal de Atalhos */
.shortcuts-dialog {
  border: none;
  background: transparent;
  padding: 0;
  margin: auto;
}

.shortcuts-dialog::backdrop {
  background: rgba(7, 21, 38, 0.85);
  backdrop-filter: blur(8px);
}

.shortcuts-content {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 90vw;
  max-width: 480px;
  box-shadow: var(--shadow-xl);
}

.shortcuts-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.shortcuts-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--deep-blue);
}

.shortcuts-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shortcut-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--sand-50);
  border-radius: var(--radius-sm);
}

.shortcut-row kbd {
  background: var(--deep-blue);
  color: #FFFFFF;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: monospace;
}

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

/* ==========================================================================
   TOAST DE FEEDBACK
   ========================================================================== */
.toast-notification {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--deep-blue);
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--solar);
  z-index: 1100;
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--solar);
  color: #1a160d;
  font-weight: 800;
  font-size: 0.8rem;
}

.toast-message {
  font-size: 0.9rem;
  font-weight: 600;
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE & TABLETS)
   ========================================================================== */
@media (max-width: 992px) {
  .manifesto-grid {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--sand-200);
    transform: translateY(-120%);
    transition: transform var(--transition-normal);
  }

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

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .mobile-toggle {
    display: flex;
  }

  #btn-quick-nav {
    display: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .hero-section {
    padding: 120px 0 70px;
  }

  .hero-floating-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }

  .card-divider {
    display: none;
  }

  .manifesto-card, .symbol-breakdown, .type-playground {
    padding: 24px;
  }

  .comparison-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .comparison-container {
    aspect-ratio: 4 / 3;
  }

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

  .lightbox-content {
    width: 96vw;
  }

  .lightbox-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Estilos de Impressão */
@media print {
  .main-header, .scroll-progress-bar, .comparison-controls, .playground-controls, .type-input-field, .summary-actions, .mobile-toggle, #btn-quick-nav {
    display: none !important;
  }

  body {
    background: #FFFFFF;
    color: #000000;
  }

  .hero-section {
    min-height: auto;
    padding: 40px 0;
    color: #000000;
    background: #FFFFFF;
  }

  .hero-bg-container {
    display: none;
  }

  .hero-title {
    color: #000000;
  }

  .glass-panel {
    border: 1px solid #CCC;
    box-shadow: none;
  }
}
