/* =========================================
   RESET E VARIÁVEIS
========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --azul: #112E3F;
  --azul-light: #1a4560;
  --azul-dark: #0b1f2b;
  --laranja: #E8601C;
  --laranja-hover: #cf541a;
  --cinza: #8B9098;
  --cinza-claro: #F4F5F6;
  --cinza-borda: #E2E4E7;
  --branco: #FFFFFF;
  --preto: #1A1A1A;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 28px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--preto);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) { .container { padding: 0 48px; } }
@media (min-width: 1024px) { .container { padding: 0 80px; } }

/* Sections */
.section { padding: 56px 0; }
@media (min-width: 768px) { .section { padding: 80px 0; } }

.bg-white { background: var(--branco); }
.bg-light { background: var(--cinza-claro); }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--laranja);
  margin-bottom: 12px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--azul);
  line-height: 1.25;
  margin-bottom: 16px;
}

@media (min-width: 768px) { .section-title { font-size: 36px; } }

.section-desc {
  font-size: 15px;
  color: var(--cinza);
  line-height: 1.8;
  max-width: 640px;
  margin-bottom: 48px;
}

.divider {
  width: 40px;
  height: 3px;
  background: var(--laranja);
  margin-bottom: 24px;
  border-radius: 2px;
}

.subsection-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cinza);
  margin-bottom: 20px;
  margin-top: 40px;
}

.subsection-title:first-of-type { margin-top: 0; }

/* Fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fd1 { transition-delay: 0.1s; }
.fd2 { transition-delay: 0.2s; }
.fd3 { transition-delay: 0.3s; }
.fd4 { transition-delay: 0.4s; }

/* =========================================
   HEADER
========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 31, 43, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 14px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background: rgba(11, 31, 43, 0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

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

.header-logo { height: 32px; width: auto; }

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  display: none;
}

@media (min-width: 640px) { .header-badge { display: block; } }

.header-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.header-back:hover { color: var(--laranja); }

/* =========================================
   HERO
========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--azul-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(232,96,28,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 20% 100%, rgba(17,46,63,0.8) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(17,46,63,0.6) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 120px 24px 80px;
}

.hero-logo {
  width: 240px;
  max-width: 65vw;
  margin: 0 auto 48px;
  filter: drop-shadow(0 4px 30px rgba(0,0,0,0.3));
}

@media (min-width: 768px) { .hero-logo { width: 320px; } }

.hero-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--laranja);
  margin-bottom: 16px;
}

.hero-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--branco);
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) { .hero-title { font-size: 60px; } }

.hero-sub {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 36px;
}

.hero-phrase {
  display: inline-block;
  font-size: 17px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  border-left: 3px solid var(--laranja);
  padding-left: 16px;
  text-align: left;
}

@media (min-width: 768px) { .hero-phrase { font-size: 20px; } }

.hero-scroll {
  margin-top: 60px;
  color: rgba(255,255,255,0.25);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

/* =========================================
   APRESENTAÇÃO
========================================= */
.intro-grid {
  display: grid;
  gap: 48px;
  align-items: start;
}

@media (min-width: 768px) {
  .intro-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}

.intro-text p {
  font-size: 15px;
  color: #444;
  line-height: 1.85;
  margin-bottom: 20px;
}

.intro-text p:last-child { margin-bottom: 0; }

.valores-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 36px;
}

.valor-item {
  background: var(--cinza-claro);
  border-radius: var(--radius-sm);
  padding: 18px;
  border-left: 3px solid var(--laranja);
}

.valor-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--azul);
  margin-bottom: 4px;
}

.valor-desc {
  font-size: 12px;
  color: var(--cinza);
  line-height: 1.6;
}

.phrase-block {
  background: var(--azul);
  color: var(--branco);
  padding: 36px 40px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.phrase-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--laranja);
}

.phrase-quote {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}

@media (min-width: 768px) { .phrase-quote { font-size: 32px; } }

.phrase-attr {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.info-block {
  margin-top: 20px;
  background: var(--cinza-claro);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.info-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cinza);
  margin-bottom: 14px;
}

.info-items { display: flex; flex-direction: column; gap: 10px; }

.info-item {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: #444;
}

.info-item svg { flex-shrink: 0; }

/* =========================================
   PALETA
========================================= */
.swatches-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

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

.swatch {
  background: var(--branco);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.swatch:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.swatch-color {
  height: 110px;
  position: relative;
}

@media (min-width: 768px) { .swatch-color { height: 130px; } }

.swatch-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.swatch-info { padding: 14px 16px; }

.swatch-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--azul);
  margin-bottom: 6px;
}

.swatch-hex {
  font-size: 12px;
  font-weight: 600;
  color: var(--cinza);
  font-family: 'Courier New', monospace;
  margin-bottom: 2px;
}

.swatch-codes {
  font-size: 10px;
  color: #aaa;
  font-family: 'Courier New', monospace;
}

.proporcao {
  background: var(--branco);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow);
}

.proporcao-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--cinza);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.proporcao-bar {
  display: flex;
  height: 48px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
}

.proporcao-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.proporcao-legenda {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.legenda-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--preto);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* =========================================
   TIPOGRAFIA
========================================= */
.tipo-specimen {
  background: var(--cinza-claro);
  border-radius: var(--radius);
  padding: 36px 32px;
  margin-bottom: 32px;
}

.tipo-alphabet {
  background: var(--cinza-claro);
  border-radius: var(--radius);
  padding: 36px 32px;
  margin-bottom: 40px;
}

.tipo-font-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--laranja);
  margin-bottom: 24px;
}

.tipo-weights { display: flex; flex-direction: column; gap: 14px; }

.tipo-row {
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
}

.tipo-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cinza);
  min-width: 100px;
  flex-shrink: 0;
}

.tipo-sample {
  font-size: 22px;
  color: var(--azul);
  line-height: 1.3;
}

@media (min-width: 768px) { .tipo-sample { font-size: 28px; } }

.tipo-abc {
  font-size: 20px;
  color: var(--azul);
  line-height: 1.8;
  letter-spacing: 0.08em;
}

@media (min-width: 768px) { .tipo-abc { font-size: 26px; } }

.tipo-table {
  width: 100%;
  border-collapse: collapse;
}

.tipo-table th {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cinza);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--cinza-borda);
}

.tipo-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--cinza-borda);
  font-size: 13px;
  color: var(--preto);
  vertical-align: middle;
}

.tipo-table tr:last-child td { border-bottom: none; }

.tipo-table .sample {
  font-family: 'Montserrat', sans-serif;
  color: var(--azul);
}

/* =========================================
   LOGOMARCAS
========================================= */
.logos-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

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

.logos-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

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

.logo-card {
  border-radius: var(--radius);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.logo-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.logo-card.bg-white {
  background: var(--branco);
  border: 1px solid var(--cinza-borda);
}

.logo-card.bg-light-card { background: #f0f0f0; }
.logo-card.bg-dark { background: var(--azul); }

.logo-card img {
  max-width: 200px;
  max-height: 90px;
  object-fit: contain;
  margin-bottom: 20px;
}

@media (min-width: 768px) { .logo-card img { max-width: 240px; } }

.logo-card img.logo-horizontal {
  max-width: 280px;
  max-height: 72px;
}

.logo-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cinza);
}

.logo-label.light { color: rgba(255,255,255,0.45); }

/* =========================================
   MONOGRAMA
========================================= */
.mono-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

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

.mono-card {
  border-radius: var(--radius);
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.mono-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.mono-card.bg-white {
  background: var(--branco);
  border: 1px solid var(--cinza-borda);
}

.mono-card.bg-light-card { background: #f0f0f0; }
.mono-card.bg-dark { background: var(--azul); }

.mono-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin-bottom: 20px;
}

.mono-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cinza);
}

.mono-label.light { color: rgba(255,255,255,0.45); }

/* =========================================
   APLICAÇÕES — BENTO GRID
========================================= */
.aplicacoes-section {
  background: var(--azul-dark);
  overflow: hidden;
  padding-bottom: 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  margin-top: 16px;
}

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

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

  .bento-wide {
    grid-column: span 2;
  }
}

.bento-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

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

.bento-item:hover img {
  transform: scale(1.05);
}

.bento-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(11,31,43,0.9) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 3px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bento-item:hover .bento-overlay { opacity: 1; }

.bento-cat {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--laranja);
}

.bento-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--branco);
}

/* =========================================
   LIGHTBOX
========================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11,31,43,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s;
}

.lightbox-close:hover { color: var(--branco); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--branco);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  z-index: 10;
}

.lightbox-nav:hover {
  background: var(--laranja);
  border-color: var(--laranja);
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

@media (max-width: 640px) {
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

.lightbox-content {
  max-width: 85vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.lightbox-caption {
  margin-top: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lightbox-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--laranja);
}

.lightbox-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--branco);
}

.lightbox-counter {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

/* =========================================
   DOWNLOAD
========================================= */
.download-section {
  background: var(--azul);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

@media (min-width: 768px) { .download-section { padding: 100px 0; } }

.download-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(232,96,28,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.download-inner {
  max-width: 600px;
  margin: 0 auto;
}

.download-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--branco);
  margin-bottom: 12px;
  line-height: 1.25;
}

@media (min-width: 768px) { .download-title { font-size: 36px; } }

.download-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 36px;
  line-height: 1.7;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--laranja);
  color: var(--branco);
  font-size: 15px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  padding: 18px 36px;
  border-radius: var(--radius-sm);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 20px rgba(232,96,28,0.35);
  cursor: pointer;
  border: none;
}

.btn-download:hover {
  background: var(--laranja-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232,96,28,0.45);
}

.btn-download svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* =========================================
   FOOTER
========================================= */
.footer {
  background: var(--azul-dark);
  padding: 24px 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-text {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

.footer-text a {
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.footer-text a:hover { color: var(--laranja); }

/* =========================================
   SCROLLBAR
========================================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cinza-claro); }
::-webkit-scrollbar-thumb { background: var(--cinza); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--azul); }

/* =========================================
   MOBILE OVERLAY ALWAYS VISIBLE
========================================= */
@media (max-width: 1023px) {
  .bento-overlay { opacity: 1; }
}
