/* ═══════════════════════════════════════════
   STOFFEL SISTEMAS — Design System
   ═══════════════════════════════════════════ */

:root {
  --blue:        #1565C0;
  --blue-mid:    #1976D2;
  --blue-light:  #E3F2FD;
  --blue-bg:     #F0F7FF;
  --red:         #D32F2F;
  --red-mid:     #E53935;
  --red-bg:      #C62828;
  --yellow:      #FFC107;
  --yellow-dark: #F9A825;
  --text-dark:   #0D1B3E;
  --text-body:   #3D4A5C;
  --text-muted:  #6B7A8D;
  --white:       #FFFFFF;
  --bg-light:    #F5F8FF;
  --border:      #DDE6F0;
  --radius:      8px;
  --radius-lg:   16px;
  --shadow:      0 4px 20px rgba(21, 101, 192, 0.12);
  --shadow-md:   0 8px 32px rgba(21, 101, 192, 0.18);
  --font:        'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--white);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ═══ TYPOGRAPHY ═══ */
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.15; color: var(--text-dark); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.25; color: var(--text-dark); }
h3 { font-size: 1.2rem; font-weight: 600; color: var(--text-dark); }
h4 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 1rem; }
p  { color: var(--text-body); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

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

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-sm  { padding: 9px 18px; font-size: 0.875rem; }
.btn-lg  { padding: 15px 32px; font-size: 1.05rem; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-mid); border-color: var(--blue-mid); }

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

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }

.btn-white {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.btn-white:hover { background: var(--blue-light); }

.btn-yellow {
  background: var(--yellow);
  color: #1A1A1A;
  border-color: var(--yellow);
}
.btn-yellow:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.5rem;
}

/* ═══ HEADER ═══ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  /* needed for absolute mobile nav dropdown */
  isolation: isolate;
}

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

.logo { display: flex; align-items: center; }
.logo img { height: 40px; }

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.5px;
}
.logo-text small {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: -4px;
}
.logo-text strong { color: var(--red-mid); }

.logo-text.footer { font-size: 1.8rem; margin-top: 1.5rem; }

.main-nav > ul {
  display: flex;
  gap: 8px;
  align-items: center;
}
.main-nav > ul > li { position: relative; }
.main-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}
.main-nav a:hover,
.main-nav a.active { color: var(--blue); background: var(--blue-bg); }

.dropdown {
  display: none;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 240px;
  padding: 6px;
  z-index: 100;
}
.dropdown li a {
  padding: 10px 14px;
  font-size: 0.875rem;
  white-space: nowrap;
}

/* ═══ SECTIONS ═══ */
.section { padding: 80px 0; }
.bg-light { background: var(--bg-light); }
.bg-red   { background: linear-gradient(135deg, var(--red) 0%, var(--red-bg) 100%); }

/* ═══ HERO ═══ */
.hero {
  background: linear-gradient(160deg, var(--white) 0%, var(--blue-bg) 60%, var(--blue-light) 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,101,192,0.06) 0%, transparent 70%);
  top: -150px; right: -100px;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.hero-eyebrow i { color: var(--yellow-dark); }

h1 { margin-bottom: 1rem; }
.hero-sub { font-size: 1.1rem; margin-bottom: 2rem; max-width: 440px; }

.hero-scroll-cue {
  text-align: center;
  padding: 20px 0 10px;
}
.hero-scroll-cue a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  animation: bounce 1.6s infinite;
  font-size: 0.8rem;
}

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

/* ═══ PRODUCT SECTIONS ═══ */
.product-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.product-inner.reverse { direction: rtl; }
.product-inner.reverse > * { direction: ltr; }

.product-text h2 { margin-bottom: 0.5rem; }
.product-tagline { font-weight: 600; color: var(--blue-mid); margin-bottom: 0.75rem; }

.product-text.light h2 { color: var(--white); }
.product-text.light p  { color: rgba(255,255,255,0.85); }

.product-img-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.product-img-wrapper::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,101,192,0.08) 0%, transparent 70%);
  z-index: 0;
}

.product-img-wrapper.red-circle::before {
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.badge-dot {
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--blue);
  top: 20px; right: 40px;
  box-shadow: 0 0 0 6px rgba(21,101,192,0.15);
}

/* ═══ CHECK LIST ═══ */
.check-list {
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-body);
}
.check-list li i { color: var(--blue); font-size: 0.8rem; flex-shrink: 0; }
.check-list.light li { color: rgba(255,255,255,0.9); }
.check-list.light li i { color: rgba(255,255,255,0.7); }
.check-list.blue li i  { color: var(--blue); }

/* ═══ CTA SECTION ═══ */
.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  text-align: center;
}
.cta-inner h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-inner p  { color: rgba(255,255,255,0.85); margin-bottom: 2rem; font-size: 1.05rem; }

/* ═══ DEVICE FRAMES — Premium Browser Mockup ═══ */

/* Dark frame (for colored / dark backgrounds) */
.device-browser {
  position: relative;
  background: #0d0f18;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 2px 4px rgba(0,0,0,0.3),
    0 12px 40px rgba(0,0,0,0.35),
    0 48px 100px rgba(0,0,0,0.45);
  flex-shrink: 0;
  width: 100%;
}
.device-browser .browser-bar {
  background: #171924;
  padding: 11px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.device-browser .browser-dots { display: flex; gap: 6px; flex-shrink: 0; }
.device-browser .browser-dots span {
  width: 11px; height: 11px;
  border-radius: 50%;
  display: block;
}
.browser-dots .dot-red    { background: #FF5F57; }
.browser-dots .dot-yellow { background: #FEBC2E; }
.browser-dots .dot-green  { background: #28C840; }
.device-browser .browser-url {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 7px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.35);
  font-family: var(--font);
  letter-spacing: 0.02em;
  gap: 6px;
}
.device-browser .browser-url::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #28C840;
  opacity: 0.8;
  flex-shrink: 0;
}
.device-browser .browser-screen {
  overflow: hidden;
  line-height: 0;
  position: relative;
}
.device-browser .browser-screen::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.device-browser .browser-screen img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* Light frame (for white / light backgrounds) */
.device-browser.device-light {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.09);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 2px 4px rgba(0,0,0,0.04),
    0 12px 40px rgba(0,0,0,0.08),
    0 48px 100px rgba(0,0,0,0.12);
}
.device-browser.device-light .browser-bar {
  background: #eef0f5;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.device-browser.device-light .browser-url {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.06);
  color: rgba(0,0,0,0.4);
}
.device-browser.device-light .browser-url::before {
  background: #28C840;
}

/* Glow wrappers — add to the div wrapping device-browser */
.device-glow {
  filter: drop-shadow(0 32px 64px rgba(21,101,192,0.28));
}
.device-glow-red {
  filter: drop-shadow(0 32px 64px rgba(183,28,28,0.3));
}

/* Hero perspective tilt (index.html main hero only) */
.device-browser.hero-tilt {
  transform: perspective(1400px) rotateY(-6deg) rotateX(1.5deg);
  transform-origin: right center;
}

/* Scene: browser + phone stacked (delivery) */
.device-scene {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.device-scene .device-browser {
  width: 100%;
}
.device-scene .device-phone-float {
  position: absolute;
  bottom: -16px;
  right: -28px;
  width: 22%;
  min-width: 90px;
  background: #0d0f18;
  border-radius: 24px;
  padding: 8px 6px 10px;
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.06);
}
.device-scene .device-phone-float::before {
  content: '';
  display: block;
  width: 30px; height: 4px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  margin: 0 auto 6px;
}
.device-scene .device-phone-float img {
  width: 100%;
  display: block;
  border-radius: 16px;
  overflow: hidden;
}

/* ═══ MOCKUP SCREENS (CSS art) ═══ */
.img-mockup { position: relative; z-index: 1; }
.img-mockup.small { transform: scale(0.75); transform-origin: center; }

.mockup-screen {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--white);
  border: 1px solid var(--border);
  position: relative;
}

.mockup-desktop {
  width: 400px;
  position: relative;
  z-index: 3;
}

.mockup-tablet {
  width: 220px;
  position: absolute;
  right: -60px;
  bottom: -20px;
  z-index: 2;
}

.mockup-tablet.small-tablet {
  width: 180px;
  right: -40px;
  bottom: -10px;
}

.mockup-mobile {
  width: 100px;
  position: absolute;
  right: -80px;
  bottom: -30px;
  z-index: 4;
}

.screen-inner {
  width: 100%;
}
.screen-inner.dark { background: #1E2A3A; }

.screen-topbar {
  height: 28px;
  background: var(--blue);
}
.screen-topbar.small { height: 18px; }
.screen-topbar.red   { background: var(--red); }

.screen-content {
  display: flex;
  min-height: 160px;
  padding: 8px;
  gap: 8px;
}
.screen-content.compact { min-height: 100px; }

.screen-sidebar {
  width: 60px;
  background: var(--blue-light);
  border-radius: 4px;
  flex-shrink: 0;
}
.screen-sidebar.dark { background: rgba(255,255,255,0.08); }

.screen-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 0;
}

.screen-row {
  height: 12px;
  background: var(--border);
  border-radius: 4px;
}
.screen-row.short { width: 60%; }
.screen-row.white { background: rgba(255,255,255,0.2); }

.screen-cards {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.screen-card {
  height: 40px;
  flex: 1;
  border-radius: 6px;
}
.screen-card.blue   { background: rgba(21,101,192,0.2); }
.screen-card.green  { background: rgba(56,142,60,0.2); }
.screen-card.orange { background: rgba(230,81,0,0.2); }

/* ═══ FOOTER ═══ */
.site-footer { background: var(--white); border-top: 1px solid var(--border); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding: 60px 24px 40px;
}

.footer-col h4 { color: var(--blue); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col p  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
}
.footer-links a { color: var(--text-muted); transition: color 0.15s; }
.footer-links a:hover { color: var(--blue); }
.footer-links i { font-size: 0.75rem; }

.company-data p { font-size: 0.875rem; margin-bottom: 0.6rem; }
.company-data strong { color: var(--text-dark); }

.social-icons { display: flex; gap: 10px; margin-top: 0.5rem; }
.social-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  transition: background 0.2s;
}
.social-icon:hover { background: var(--blue-mid); }

.footer-contact {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  background: var(--bg-light);
}

.footer-contact-inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-body);
  transition: color 0.15s;
}
.contact-item:hover { color: var(--blue); }
.contact-item > i {
  font-size: 1.4rem;
  color: var(--blue);
}
.contact-item small { display: block; font-size: 0.75rem; color: var(--text-muted); }
.contact-item strong { font-size: 0.9rem; color: var(--text-dark); }

.footer-bottom {
  padding: 16px 24px;
  text-align: center;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }

/* ═══ PAGE HERO (inner pages) ═══ */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.4rem); }
.page-hero .tagline { color: rgba(255,255,255,0.7); font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.page-hero p  { color: rgba(255,255,255,0.8); max-width: 500px; }
.page-hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.5rem; }
.page-hero-image .img-mockup { transform: scale(0.65); transform-origin: right center; }

/* ═══ FEATURES GRID ═══ */
.features-section { padding: 80px 0; }
.features-title { text-align: center; margin-bottom: 60px; }
.features-title h2 { margin-bottom: 0.5rem; }
.features-title p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.4rem;
  color: var(--blue);
}

.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card p  { font-size: 0.9rem; color: var(--text-muted); }

/* ═══ SEGMENTS GRID ═══ */
.segments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 1.5rem;
}

.segment-card {
  padding: 20px 16px;
  border: 2px solid var(--blue-light);
  border-radius: var(--radius-lg);
  text-align: center;
  background: var(--white);
  transition: border-color 0.2s, background 0.2s;
}
.segment-card:hover {
  border-color: var(--blue);
  background: var(--blue-bg);
}
.segment-card .seg-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 1.2rem;
}
.segment-card h4 { font-size: 0.9rem; margin-bottom: 0.25rem; }
.segment-card p  { font-size: 0.8rem; color: var(--text-muted); margin: 0; }

/* ═══ ACCORDION (FAQ) ═══ */
.accordion { max-width: 800px; margin: 0 auto; }

.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  transition: background 0.15s;
}
.accordion-header:hover { background: var(--bg-light); }
.accordion-header i { color: var(--blue); flex-shrink: 0; transition: transform 0.2s; }
.accordion-header.open i { transform: rotate(45deg); }

.accordion-body {
  display: none;
  padding: 0 20px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.accordion-body.open { display: block; }

/* ═══ COMPARISON TABLE ═══ */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.compare-table th {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.compare-table th:first-child { background: var(--text-dark); color: var(--white); }
.compare-table th.col-stoffel  { background: var(--blue); color: var(--white); }
.compare-table th.col-others   { background: #f5f5f5; color: var(--text-muted); }

.compare-table td {
  padding: 14px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--bg-light); }
.compare-table .yes { color: #2E7D32; font-weight: 600; }
.compare-table .no  { color: #C62828; }

/* ═══ QUEM SOMOS ═══ */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 3rem;
}
.mvv-card {
  text-align: center;
  padding: 40px 24px;
}
.mvv-icon {
  font-size: 2.5rem;
  color: var(--blue);
  margin-bottom: 1rem;
}
.mvv-card h3 { color: var(--blue); margin-bottom: 0.75rem; }

.history-section { max-width: 800px; margin: 0 auto; }
.history-section p { font-size: 1rem; line-height: 1.8; margin-bottom: 1rem; }

/* ═══ SCROLL REVEAL — Apple-style ═══ */
[data-reveal] {
  opacity: 0;
  transform: scale(0.96) translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: scale(0.97) translateX(-44px); }
[data-reveal="right"] { transform: scale(0.97) translateX(44px); }
[data-reveal="up"]    { transform: scale(0.96) translateY(28px); }
[data-reveal="fade"]  { transform: scale(0.98); }
[data-reveal="zoom"]  { transform: scale(0.88); }

[data-reveal].revealed {
  opacity: 1;
  transform: scale(1) translate(0, 0);
}

/* ═══ CINEMATIC SECTIONS (Apple-inspired) ═══ */
.section-statement {
  padding: 120px 0;
  text-align: center;
  background: var(--text-dark);
  position: relative;
  overflow: hidden;
}
.section-statement::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(21,101,192,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.statement-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1.5rem;
  opacity: 0.7;
}
.statement-headline {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  max-width: 820px;
  margin: 0 auto 1.5rem;
  letter-spacing: -1px;
}
.statement-headline em {
  font-style: normal;
  color: var(--blue-light);
  background: linear-gradient(135deg, #64B5F6, #90CAF9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.statement-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  margin: 0 auto;
}

/* Small tagline for use in light sections before h2 */
.tagline-sm {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

/* ═══ FEATURE STRIP (Apple "icons in a row") ═══ */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.feature-strip-item {
  padding: 48px 32px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.feature-strip-item:last-child { border-right: none; }
.feature-strip-item .fs-icon {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 1rem;
  display: block;
}
.feature-strip-item h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.feature-strip-item p  { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ═══ LARGE PRODUCT CARD (Apple "full-bleed") ═══ */
.product-card-full {
  margin: 0;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.product-card-full.dark-card {
  background: #0A1628;
}
.product-card-full.light-card {
  background: var(--bg-light);
}
.product-card-full .card-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.product-card-full.dark-card .card-label { color: rgba(255,255,255,0.4); }
.product-card-full.light-card .card-label { color: var(--blue); }

.product-card-full h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}
.product-card-full.dark-card h2 { color: var(--white); }
.product-card-full.dark-card p  { color: rgba(255,255,255,0.6); }
.product-card-full.dark-card .check-list li { color: rgba(255,255,255,0.75); }
.product-card-full.dark-card .check-list li i { color: #64B5F6; }

.product-card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.product-card-inner.reverse { direction: rtl; }
.product-card-inner.reverse > * { direction: ltr; }

/* ═══ HAMBURGER BUTTON ═══ */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.nav-toggle:hover { border-color: var(--blue); }
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  pointer-events: none;
}
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  /* ── HEADER / NAV ── */
  .site-header { position: sticky; }
  .header-inner > .btn-primary { display: none; }
  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 12px 16px 20px;
  }
  .site-header.nav-open .main-nav { display: block; }

  .main-nav > ul {
    flex-direction: column;
    gap: 2px;
    align-items: stretch;
  }
  .main-nav > ul > li { width: 100%; }
  .main-nav a { padding: 12px 16px; font-size: 0.95rem; }

  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: var(--radius);
    background: var(--bg-light);
    padding: 4px 0;
    margin: 4px 0 8px 8px;
    min-width: 0;
    display: none;
  }
  .has-dropdown.open .dropdown { display: flex; }
  .dropdown li a { padding: 10px 16px; font-size: 0.875rem; }

  /* ── LAYOUTS ── */
  .hero-inner,
  .product-inner,
  .product-inner.reverse,
  .product-card-inner,
  .product-card-inner.reverse { grid-template-columns: 1fr; gap: 40px; direction: ltr; }

  .hero-image { display: none; }

  .features-grid  { grid-template-columns: repeat(2, 1fr) !important; }
  .segments-grid  { grid-template-columns: repeat(2, 1fr); }
  .mvv-grid       { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; gap: 32px; }
  .footer-contact-inner { flex-direction: column; align-items: flex-start; padding: 0 24px; }
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-image { display: none; }

  /* ── FEATURE STRIP ── */
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .feature-strip-item { border-right: none; border-bottom: 1px solid var(--border); }
  .feature-strip-item:nth-child(odd) { border-right: 1px solid var(--border); }

  /* ── CINEMATIC STATEMENT ── */
  .section-statement { padding: 80px 0; }
  .product-card-full { padding: 70px 0; }

  /* ── COMPARE TABLE ── */
  .compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare-table { min-width: 560px; }

  /* ── SCREEN TABS / PLATFORM TOGGLE ── */
  .screen-tabs { overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; padding-bottom: 8px; }
  .platform-toggle { overflow-x: auto; }
}

@media (max-width: 600px) {
  .features-grid  { grid-template-columns: 1fr !important; }
  .segments-grid  { grid-template-columns: repeat(2, 1fr); }
  .feature-strip  { grid-template-columns: 1fr; }
  .feature-strip-item { border-right: none; border-bottom: 1px solid var(--border); }
  .feature-strip-item:nth-child(odd) { border-right: none; }
  .section { padding: 60px 0; }
  .section-statement { padding: 60px 0; }
  .product-card-full { padding: 60px 0; }
  .statement-headline { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .page-hero { padding: 40px 0; }
  .page-hero h1 { font-size: clamp(1.4rem, 6vw, 1.8rem); }

  /* ── HERO MOBILE ── */
  .hero { min-height: auto !important; padding: 80px 0 50px; }

  /* ── FOOTER ── */
  .footer-grid { padding: 40px 16px 32px; }
  .footer-contact { padding: 16px 0; }

  /* ── CTA ── */
  .cta-inner .btn { width: 100%; justify-content: center; }

  /* ── PLATFORM TOGGLE MOBILE ── */
  .platform-toggle-btn { padding: 10px 18px; font-size: 0.85rem; }

  /* ── ACCORDION ── */
  .accordion-header { font-size: 0.875rem; padding: 14px 16px; }
}

/* ═══════════════════════════════════════════════════════════
   VISUAL DEPTH & INTERACTIVITY — v2
   Blobs · Floating badges · 3D cards · Parallax · Scroll bar
═══════════════════════════════════════════════════════════ */

/* ── Scroll progress bar ── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), #64B5F6, var(--blue));
  z-index: 9999;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ── Background animated blobs ── */
.hero-blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.blob {
  position: absolute;
  border-radius: 50%;
  animation: blobDrift var(--dur, 10s) ease-in-out infinite var(--delay, 0s);
  will-change: transform;
  filter: blur(var(--blur, 70px));
}
@keyframes blobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(var(--x1,  24px), var(--y1, -32px)) scale(1.04); }
  50%  { transform: translate(var(--x2, -18px), var(--y2,  20px)) scale(0.97); }
  75%  { transform: translate(var(--x3,  30px), var(--y3,  12px)) scale(1.02); }
}

/* Hero claro (index.html) */
.hero .blob-a { width:520px;height:520px; background:radial-gradient(circle,rgba(21,101,192,0.18),transparent 70%); top:-140px;right:4%; --dur:14s; }
.hero .blob-b { width:340px;height:340px; background:radial-gradient(circle,rgba(94,53,177,0.12),transparent 70%); top:35%;right:32%; --dur:10s;--delay:-6s; --x1:30px;--y1:18px;--x2:-22px;--y2:-18px;--x3:16px;--y3:28px; }
.hero .blob-c { width:220px;height:220px; background:radial-gradient(circle,rgba(0,172,193,0.14),transparent 70%); bottom:-30px;right:18%; --dur:8s;--delay:-3s; --blur:50px; }

/* Page-hero azul (páginas de produto) */
.page-hero .blob-a { width:420px;height:420px; background:radial-gradient(circle,rgba(255,255,255,0.18),transparent 70%); top:-100px;right:-20px; --dur:13s; }
.page-hero .blob-b { width:300px;height:300px; background:radial-gradient(circle,rgba(100,181,246,0.28),transparent 70%); bottom:-60px;left:25%; --dur:9s;--delay:-5s; --x1:-22px;--y1:16px;--x2:28px;--y2:-22px;--x3:-10px;--y3:30px; }
.page-hero .blob-c { width:180px;height:180px; background:radial-gradient(circle,rgba(255,255,255,0.1),transparent 70%); top:25%;left:45%; --dur:11s;--delay:-8s; --blur:50px; }

/* Override para delivery (vermelho) */
.delivery-hero .blob-a { background:radial-gradient(circle,rgba(255,200,200,0.18),transparent 70%); }
.delivery-hero .blob-b { background:radial-gradient(circle,rgba(255,120,120,0.22),transparent 70%); }
.delivery-hero .blob-c { background:radial-gradient(circle,rgba(255,255,255,0.08),transparent 70%); }

/* ── Page-hero image: relative para badges absolutas ── */
.page-hero-image { position: relative; }
.hero-image { position: relative; }

/* ── Floating info badges ── */
.float-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  animation: badgeLift var(--fb-dur, 5s) ease-in-out infinite var(--fb-delay, 0s);
  transition: transform 0.6s ease-out;
  z-index: 4;
}
.float-badge.glass {
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.2);
}
.float-badge.card {
  background: white;
  border: 1px solid rgba(21,101,192,0.1);
  color: var(--text);
  box-shadow: 0 4px 24px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.06);
}
.float-badge i { font-size: 1rem; }
.float-badge.glass i { color: rgba(255,255,255,0.9); }
.float-badge.card i { color: var(--blue); }
.float-badge .badge-val { font-size: 1rem; font-weight: 800; display: block; line-height: 1; }
.float-badge .badge-lbl { font-size: 0.68rem; font-weight: 500; opacity: 0.75; }

@keyframes badgeLift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  40%  { transform: translateY(-11px) rotate(0.4deg); }
  70%  { transform: translateY(-5px) rotate(-0.3deg); }
}

/* ── Feature card — 3D tilt via JS, CSS polish ── */
.feature-card {
  cursor: default;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.08s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
}
.feature-card:hover {
  box-shadow: 0 20px 48px rgba(21,101,192,0.13), 0 4px 12px rgba(0,0,0,0.06);
  border-color: rgba(21,101,192,0.25);
  transform: translateY(-6px); /* JS overrides this with 3D tilt */
}
.feature-icon {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover .feature-icon {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 8px 24px rgba(21,101,192,0.2);
}

/* ── Segment card hover ── */
.segment-card {
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.08s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
}
.segment-card:hover {
  border-color: var(--blue);
  background: var(--blue-bg);
  box-shadow: 0 8px 24px rgba(21,101,192,0.1);
}

/* ── Dot grid background ── */
.bg-grid {
  background-image: radial-gradient(circle, rgba(21,101,192,0.07) 1px, transparent 1px);
  background-size: 26px 26px;
}

/* ── CTA button pulse glow ── */
@keyframes ctaPulse {
  0%   { opacity: 0.55; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.35); }
}
.btn-yellow {
  position: relative;
  overflow: visible;
}
.btn-yellow::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--yellow);
  z-index: -1;
  animation: ctaPulse 2.2s ease-out infinite;
}

/* ── Dark section animated beam ── */
.section-statement {
  isolation: isolate;
}
.section-statement::after {
  content: '';
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80%;
  background: linear-gradient(180deg, transparent, rgba(100,181,246,0.4), transparent);
  pointer-events: none;
  animation: beamFlicker 5s ease-in-out infinite;
  box-shadow: 0 0 80px 40px rgba(21,101,192,0.06);
}
@keyframes beamFlicker {
  0%, 100% { opacity: 0.5; height: 80%; }
  50% { opacity: 1; height: 100%; }
}

/* ── Accordion — improved hover ── */
.accordion-item {
  transition: box-shadow 0.2s;
  border-radius: var(--radius-lg) !important;
}
.accordion-item:hover {
  box-shadow: 0 4px 16px rgba(21,101,192,0.08);
}

/* ── Device frame transition for parallax ── */
.device-glow, .device-glow-red {
  transition: transform 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Hide badges on mobile */
@media (max-width: 900px) {
  .float-badge { display: none !important; }
}

/* ══════════════════════════════════════
   FORMULÁRIO DE CONTATO
   ══════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
@media (max-width: 600px) {
  .contact-form-card { padding: 24px 18px; }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group:last-of-type { margin-bottom: 0; }

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
}
.form-label .req { color: var(--red); margin-left: 2px; }

.form-control {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--text-dark);
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  appearance: none;
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.12);
}
.form-control:invalid:not(:placeholder-shown) { border-color: var(--red); }

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7A8D' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

textarea.form-control { resize: vertical; min-height: 140px; line-height: 1.6; }

.form-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

.form-submit { margin-top: 24px; }
.form-submit .btn { width: 100%; justify-content: center; }

.form-feedback {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 16px;
  align-items: center;
  gap: 10px;
}
.form-feedback.success {
  display: flex;
  background: #E8F5E9;
  border: 1px solid #A5D6A7;
  color: #2E7D32;
}
.form-feedback.error {
  display: flex;
  background: #FFEBEE;
  border: 1px solid #FFCDD2;
  color: #C62828;
}

/* Contact info sidebar */
.contact-info-stack { display: flex; flex-direction: column; gap: 16px; }

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: 0 2px 8px rgba(21,101,192,0.07);
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}
.contact-info-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--blue);
  flex-shrink: 0;
}
.contact-info-card.whatsapp .contact-info-icon { background: #E8F5E9; color: #2E7D32; }
.contact-info-card.email-card .contact-info-icon { background: #FFF8E1; color: #F57F17; }
.contact-info-card.address-card .contact-info-icon { background: #FCE4EC; color: #C2185B; }
.contact-info-card.hours-card .contact-info-icon { background: #EDE7F6; color: #6A1B9A; }
.contact-info-text small { display: block; font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; margin-bottom: 2px; }
.contact-info-text strong { display: block; font-size: 0.9375rem; color: var(--text-dark); font-weight: 600; }
.contact-info-text span { font-size: 0.85rem; color: var(--text-muted); }
