/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #060a12;
  color: #e8edf5;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== CORES PRINCIPAIS =====
   Paleta criativa baseada em tons quentes:
   — Vermelho vibrante: #FC1322
   — Laranja intenso: #FF5B09
   — Laranja queimado: #CD5D0A
   — Destaque e efeitos em gradiente
*/
:root {
  --color-primary: #FC1322;
  --color-primary-light: #FF3B47;
  --color-secondary: #FF5B09;
  --color-accent: #CD5D0A;
  --color-gold: #FF5B09;
  --color-bg: #060a12; /* 0b1020 */
  --color-text: #e8edf5;
  --color-text-muted: #b0bcd9;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.8rem, 8vw, 4.8rem);
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

p {
  font-size: 1.125rem;
  max-width: 65ch;
  color: var(--color-text-muted);
}

/* ===== LINKS & BUTTONS ===== */
a {
  color: var(--color-primary-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-secondary);
}

.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 20px rgba(252, 19, 34, 0.35);
  text-align: center;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(252, 19, 34, 0.5);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-primary-light);
  color: var(--color-primary-light);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(252, 19, 34, 0.08);
  box-shadow: 0 0 30px rgba(252, 19, 34, 0.15);
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  box-shadow: 0 4px 20px rgba(255, 91, 9, 0.35);
}

.btn-gold:hover {
  box-shadow: 0 8px 30px rgba(255, 91, 9, 0.5);
}

/* ===== GLASSMORPHISM ===== */
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
}

/* ===== LAYOUT HELPERS ===== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1400px) {
  .container {
    max-width: 1600px;
    padding: 0 2.5rem;
  }

  section {
    padding: 6rem 0;
  }

  .cards-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }

  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  #hero .container {
    gap: 6rem;
  }

  #hero h1 {
    font-size: clamp(3.5rem, 5vw, 5.5rem);
  }

  #hero p {
    font-size: 1.4rem;
    max-width: 700px;
  }

  .hero-mockup {
    min-height: 400px;
    padding: 2.5rem;
  }

  .section-header h2 {
    font-size: clamp(2.8rem, 4vw, 4rem);
  }

  .section-header p {
    font-size: 1.25rem;
    max-width: 800px;
  }
}

@media (min-width: 1920px) {
  .container {
    max-width: 1800px;
    padding: 0 4rem;
  }

  section {
    padding: 7rem 0;
  }

  #hero h1 {
    font-size: clamp(4rem, 5vw, 6rem);
  }

  .cards-grid {
    gap: 3rem;
  }

  .plans-grid {
    gap: 3rem;
  }
}
section {
  padding: 5rem 0;
  position: relative;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary-light);
  background: rgba(252, 19, 34, 0.12);
  padding: 0.3rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  border: 1px solid rgba(252, 19, 34, 0.1);
}

/* ===== HEADER / NAV ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.50m 0;
  transition: background 0.35s ease, box-shadow 0.35s ease;
  background: transparent;
}

header.scrolled {
  background: rgba(11, 14, 26, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo img {
  height: 80px;
  width: auto;
  display: block;
}

.logo span {
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary-light), var(--color-secondary));
  transition: width 0.3s ease;
}

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

nav a:hover,
nav a.active {
  color: #fff;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2.5px;
  background: var(--color-text);
  border-radius: 2px;
  transition: 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px;
  background: url('../images/wallpaper.jpg') center/cover no-repeat, linear-gradient(135deg, #0b1020, #1a0a0a);
  background-blend-mode: overlay;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(252, 19, 34, 0.15), transparent 70%);
  pointer-events: none;
}

#hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

#hero h1 {
  font-size: clamp(2.8rem, 8vw, 4.8rem);
  margin: 0 0 1.25rem;
}

#hero p {
  font-size: 1.25rem;
  max-width: 600px;
  color: #dbeafe;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  min-width: 0;
  display: grid;
  gap: 0.85rem;
}

.hero-mockup {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2rem;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 1.1rem;
  background-image: radial-gradient(circle at 30% 40%, rgba(252, 19, 34, 0.08), transparent 70%);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-mockup:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.hero-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.3rem, 0.6vw, 0.65rem);
  width: 100%;
  max-width: 100%;
  padding: 0.15rem 0.1rem 0.4rem;
  overflow-x: hidden;
  scrollbar-width: none;
}

.hero-thumbnails::-webkit-scrollbar {
  display: none;
}

.hero-thumbnail {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  overflow: hidden;
}

.hero-thumbnail img {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  opacity: 0.82;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.hero-thumbnail:hover img,
.hero-thumbnail:focus-visible img,
.hero-thumbnail.active img {
  opacity: 1;
  transform: translateY(-2px);
  border-color: rgba(252, 19, 34, 0.45);
}

.hero-thumbnail.active img {
  box-shadow: 0 0 18px rgba(252, 19, 34, 0.3);
}

#hero-main-preview.is-changing {
  animation: hero-preview-swap 0.35s ease;
}

@keyframes hero-preview-swap {
  0% { opacity: 0.35; transform: scale(0.985); }
  100% { opacity: 1; transform: scale(1); }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  animation: bounce 2s infinite;
  z-index: 2;
}

.scroll-indicator .arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--color-primary-light);
  border-bottom: 2px solid var(--color-primary-light);
  transform: rotate(45deg);
  opacity: 0.6;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== SECTIONS ===== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header p {
  margin: 0 auto;
}

/* Demonstração da solução */
.solution-demo {
  width: 100%;
  margin-bottom: 3rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.solution-demo-header {
  padding: 0.5rem 0.5rem 1.25rem;
}

.solution-demo-header h3 {
  margin-top: 0.25rem;
}

.solution-demo-header p {
  max-width: 460px;
  margin-top: 0.4rem;
  font-size: 0.95rem;
  text-align: left;
}

.solution-demo-eyebrow {
  color: var(--color-primary-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.solution-demo-body {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.35fr);
  gap: 1.25rem;
  align-items: center;
}

.manufacturing-features {
  display: grid;
  gap: 0.75rem;
}

.manufacturing-feature {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(5, 8, 18, 0.45);
}

.manufacturing-feature-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: rgba(252, 19, 34, 0.12);
  color: var(--color-primary-light);
  font-size: 0.72rem;
  font-weight: 700;
}

.manufacturing-feature h4 {
  margin-bottom: 0.3rem;
  font-size: 0.98rem;
}

.manufacturing-feature p,
.manufacturing-feature small {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.manufacturing-feature small {
  margin-top: 0.3rem;
  color: #8290b2;
}

.solution-video-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: #050812;
}

.solution-video-frame video {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  background: #050812;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(252, 19, 34, 0.2);
}

.card .icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  display: block;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 1rem;
}

@media (min-width: 1200px) {
  #beneficios .cards-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.25rem;
  }

  #beneficios .card {
    padding: 1.5rem 1.25rem;
  }
}

/* ===== PLANOS ===== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.plan-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.plan-card.featured {
  border-color: var(--color-primary-light);
  background: rgba(252, 19, 34, 0.06);
  box-shadow: 0 0 40px rgba(252, 19, 34, 0.08);
}

.plan-card .plan-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.plan-card .plan-price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 1rem 0;
  color: var(--color-primary-light);
}

.plan-card .plan-price small {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.plan-card ul {
  list-style: none;
  text-align: left;
  margin: 1.5rem 0;
  padding: 0;
}

.plan-card ul li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-text-muted);
}

.plan-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary-light);
  font-weight: 600;
}

.plan-card .btn {
  margin-top: auto;
  width: 100%;
}

/* ===== CTA FINAL ===== */
#cta {
  text-align: center;
  padding: 6rem 0;
  background: radial-gradient(circle at 50% 50%, rgba(252, 19, 34, 0.05), transparent 70%);
}

#cta h2 {
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

#cta .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 0 1.5rem;
  background: rgba(0, 0, 0, 0.2);
}

footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

footer h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--color-text);
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer ul a,
footer .footer-modal-trigger {
  color: var(--color-text-muted);
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

footer ul a:hover,
footer .footer-modal-trigger:hover,
footer .footer-modal-trigger:focus-visible {
  color: #fff;
}

.about-trigger {
  max-width: 28ch;
  padding: 0;
  border: 0;
  background: none;
  color: #b0bcd9;
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.about-trigger:hover,
.about-trigger:focus-visible {
  color: var(--color-text);
}

footer .email-link,
footer .whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

footer .email-link svg,
footer .whatsapp-link svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-bottom {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #6b7a9e;
}

/* ===== MODAIS INFORMATIVOS ===== */
.info-modal {
  position: fixed;
  inset: 0;
  width: min(820px, calc(100% - 2rem));
  height: min(530px, calc(100% - 2rem));
  max-width: calc(100vw - 2rem);
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: #05080E;
  color: var(--color-text);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
  contain: paint;
  isolation: isolate;
}

.info-modal::backdrop {
  background: rgba(2, 5, 14, 0.78);
  backdrop-filter: blur(5px);
}

.info-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
  z-index: 2;
}

.info-modal-close:hover,
.info-modal-close:focus-visible {
  color: #fff;
}

.info-modal-content {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100%;
  padding: 2.75rem 3rem;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(252, 19, 34, 0.45) transparent;
}

.info-modal-content::-webkit-scrollbar {
  width: 7px;
}

.info-modal-content::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(252, 19, 34, 0.45);
}

.text-modal .info-modal-content {
  padding: 2.4rem 2.5rem;
}

.text-modal .info-modal-header {
  margin-bottom: 1.5rem;
}

.text-modal .info-modal-header h2 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.75rem, 3vw, 2.2rem);
}

.text-modal .info-modal-header p {
  max-width: 620px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.info-modal-header {
  width: 100%;
  max-width: 650px;
  min-width: 0;
  margin-bottom: 2rem;
  padding-right: 2rem;
  overflow: hidden;
}

.info-modal-header > * {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.info-modal-header h2,
.ceo-profile-content h2 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.info-modal-header p,
.ceo-profile-content p {
  font-size: 0.95rem;
}

.info-modal-eyebrow {
  display: block;
  color: var(--color-primary-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.history-timeline,
.legal-sections {
  display: grid;
  gap: 0.9rem;
}

.history-timeline article,
.legal-sections article {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  padding-left: 0.25rem;
}

.history-timeline article > div,
.legal-sections article > div {
  min-width: 0;
}

.history-timeline article > span,
.legal-sections article > span {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(252, 19, 34, 0.28);
  border-radius: 50%;
  color: var(--color-primary-light);
  font-size: 0.72rem;
  font-weight: 700;
}

.history-timeline h3,
.legal-sections h3 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.history-timeline p,
.legal-sections p,
.legal-sections li {
  font-size: 0.83rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.legal-update {
  display: inline-block;
  margin-top: 0.75rem;
  color: #8290b2;
  font-size: 0.75rem;
}

.legal-sections ul {
  padding-left: 1.1rem;
  color: var(--color-text-muted);
}

.legal-sections li + li {
  margin-top: 0.25rem;
}

.legal-sections a {
  overflow-wrap: anywhere;
}

.legal-basis-note {
  margin-top: 2rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.legal-basis-note strong,
.legal-basis-note span {
  display: block;
}

.legal-basis-note strong {
  color: var(--color-primary-light);
  font-size: 0.8rem;
}

.legal-basis-note span {
  margin-top: 0.2rem;
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

.history-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.history-highlights div {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.history-highlights strong,
.history-highlights span {
  display: block;
}

.history-highlights strong {
  color: var(--color-primary-light);
}

.history-highlights span {
  margin-top: 0.15rem;
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

.ceo-profile {
  display: grid;
  grid-template-columns: minmax(250px, 0.85fr) minmax(0, 1.15fr);
  gap: 2.25rem;
  align-items: start;
}

.ceo-profile-sidebar {
  display: grid;
  gap: 0.75rem;
}

.ceo-portrait {
  position: relative;
  overflow: hidden;
  height: 255px;
  min-height: 255px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(252, 19, 34, 0.3), rgba(255, 91, 9, 0.08));
}

.ceo-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 8, 14, 0.35), transparent 45%);
  pointer-events: none;
}

.ceo-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ceo-education {
  display: grid;
  gap: 0.5rem;
}

.ceo-education > div {
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.ceo-education span,
.ceo-education strong,
.ceo-education small {
  display: block;
}

.ceo-education span {
  margin-bottom: 0.15rem;
  color: var(--color-primary-light);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ceo-education strong {
  color: var(--color-text);
  font-size: 0.76rem;
  line-height: 1.35;
}

.ceo-education small {
  margin-top: 0.15rem;
  color: var(--color-text-muted);
  font-size: 0.68rem;
}

.ceo-role {
  margin-bottom: 1.25rem;
  color: var(--color-primary-light);
  font-weight: 600;
}

.ceo-profile blockquote {
  margin: 1.5rem 0;
  padding-left: 1rem;
  border-left: 2px solid var(--color-primary);
  color: var(--color-text);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.65;
}

.ceo-linkedin {
  display: inline-flex;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 600;
}

.ceo-linkedin:hover {
  border-color: var(--color-primary-light);
  color: #fff;
}

/* ===== BACK TO TOP ===== */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 20px rgba(252, 19, 34, 0.35);
  z-index: 999;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(252, 19, 34, 0.5);
}

/* ===== PROGRESS INDICATOR ===== */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent));
  z-index: 1001;
  width: 0%;
  transition: width 0.15s ease;
  box-shadow: 0 0 15px rgba(252, 19, 34, 0.3);
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (min-width: 993px) and (max-width: 1399px),
       (min-width: 993px) and (max-height: 820px) {
  #hero {
    padding: 76px clamp(2rem, 5vw, 5rem) 40px;
  }

  #hero .container {
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    gap: clamp(2rem, 3vw, 3rem);
  }

  #hero h1 {
    font-size: clamp(3.25rem, 4.8vw, 4.15rem);
    line-height: 1.08;
    margin-bottom: 1rem;
  }

  #hero p {
    max-width: 620px;
    margin-bottom: 1.5rem;
    font-size: clamp(1rem, 1.45vw, 1.15rem);
  }

  #hero .hero-mockup {
    min-height: 220px;
    padding: 1.25rem;
  }

  .scroll-indicator {
    bottom: 0.75rem;
  }
}

@media (max-width: 992px) {
  #hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  #hero p {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-mockup {
    min-height: 200px;
  }

  .solution-demo-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  #hero {
    padding: 60px 20px;
  }

  .info-modal-content {
    padding: 2.75rem 1.25rem;
  }

  .text-modal .info-modal-content {
    padding: 2.75rem 1.25rem;
  }

  .history-timeline article,
  .legal-sections article {
    grid-template-columns: 2rem 1fr;
    gap: 0.75rem;
    padding-left: 0;
  }

  .history-timeline article > span,
  .legal-sections article > span {
    width: 2rem;
    height: 2rem;
  }

  .history-highlights {
    grid-template-columns: 1fr;
  }

  .ceo-profile {
    display: block;
  }

  .ceo-profile-sidebar {
    margin-bottom: 1.5rem;
  }

  .ceo-portrait {
    height: 280px;
    min-height: 0;
    margin-bottom: 0;
  }

  .solution-demo {
    padding: 0.75rem;
  }

  .solution-demo-header {
    display: block;
    padding: 0.5rem 0.25rem 1rem;
  }

  .solution-demo-header p {
    margin-top: 0.5rem;
  }

  .menu-toggle {
    display: flex;
  }

  nav ul {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(11, 14, 26, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 2rem;
    margin: 0;
  }

  nav ul.open {
    transform: translateX(0);
  }

  nav a {
    font-size: 1.5rem;
  }

  section {
    padding: 3rem 0;
  }

  .cards-grid,
  .plans-grid {
    grid-template-columns: 1fr;
  }

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

  .scroll-indicator {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===== PDF / IMPRESSÃO ===== */
@media print {
  @page {
    size: A4 landscape;
    margin: 10mm;
  }

  *,
  *::before,
  *::after {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    animation: none !important;
    transition: none !important;
  }

  html,
  body {
    background: var(--color-bg) !important;
  }

  body {
    min-height: 0;
  }

  #progress-bar,
  .menu-toggle,
  #back-to-top,
  .scroll-indicator,
  .info-modal-close {
    display: none !important;
  }

  body > header {
    position: static;
    width: 100%;
    padding: 0 0 6mm;
    background: transparent !important;
    box-shadow: none !important;
  }

  body > header .container,
  section .container,
  footer .container {
    max-width: none;
    padding-inline: 0;
  }

  nav ul {
    gap: 1rem;
  }

  nav a {
    font-size: 0.75rem;
  }

  main section:not(:first-child),
  footer,
  .info-modal {
    break-before: page;
  }

  section {
    min-height: 0;
    padding: 8mm 0;
  }

  #hero {
    min-height: 170mm;
    padding: 8mm 0;
  }

  #hero .container {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 10mm;
    text-align: left;
  }

  #hero h1 {
    font-size: 2.8rem;
  }

  #hero p {
    margin-left: 0;
    font-size: 1rem;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  .hero-mockup {
    min-height: 0;
    padding: 1rem;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .card,
  .plan-card,
  .manufacturing-feature,
  .history-timeline article,
  .legal-sections article,
  .history-highlights,
  .legal-basis-note {
    break-inside: avoid;
  }

  footer {
    padding: 12mm 0 6mm;
  }

  footer .container {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
  }

  .info-modal {
    display: block !important;
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
    margin: 0;
    overflow: visible;
    contain: none;
    isolation: auto;
    border-radius: 14px;
    box-shadow: none;
  }

  .info-modal-content,
  .text-modal .info-modal-content {
    width: 100%;
    height: auto;
    padding: 12mm;
    overflow: visible;
  }

  .info-modal-header {
    max-width: 180mm;
  }

  .ceo-profile {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
  }

  a {
    text-decoration: none;
  }
}
