/* ===================================================
   SYGNUSTEK — Stylesheet Principal
   Design: Minimal / Modern UI · Inspirado no layout de referência
   Paleta: Azul #1B3A5C · Laranja #E8722A · Cinza #F5F5F7
   =================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── Paleta Azul SYGNUSTEK ── */
  --blue-900:    #0F1E3D;  /* títulos principais / headings fortes */
  --blue-800:    #1B2E5C;  /* texto principal (body forte) */
  --blue-700:    #1B3A5C;  /* azul logo — tom de referência */
  --blue-600:    #2B4C8C;  /* subtítulos, cards hover */
  --blue-500:    #3561A8;  /* links, destaques */
  --blue-400:    #4A7DC4;  /* textos secundários */
  --blue-300:    #6D9AD8;  /* textos terciários / placeholders */
  --blue-200:    #A8C4E8;  /* bordas suaves */
  --blue-100:    #D6E4F5;  /* fundos claros de cards */
  --blue-50:     #EDF3FA;  /* fundo seção alternada */

  /* Aliases (compatibilidade com o resto do CSS) */
  --blue:        var(--blue-700);
  --blue-light:  var(--blue-500);
  --orange:      #E8722A;
  --orange-light:#F4944D;
  --dark:        var(--blue-900);
  --gray-900:    var(--blue-800);
  --gray-700:    var(--blue-400);
  --gray-400:    var(--blue-300);
  --gray-200:    var(--blue-200);
  --gray-100:    var(--blue-50);
  --white:       #FFFFFF;
  --border:      var(--blue-900);  /* bordas de frames/quadros — azul escuro */
  --radius:      16px;
  --radius-sm:   10px;
  --shadow:      0 4px 30px rgba(0,0,0,.08);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.12);
  --transition:  .35s cubic-bezier(.4,0,.2,1);
  --font:        'Inter', system-ui, -apple-system, sans-serif;
}

.accent-orange { color: var(--orange); }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--blue-800);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-700);
  max-width: 640px;
  margin-top: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-light);
  border-color: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232,114,42,.35);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

.btn-icon {
  width: 20px; height: 20px;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}
.nav-brand:hover {
  transform: translateY(-1px);
}

.nav-logo-icon {
  height: 52px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(27, 58, 92, 0.08));
}

.nav-brand-divider {
  width: 1px;
  height: 28px;
  background: var(--blue-200);
}

.nav-brand-tagline {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue-600);
  line-height: 1.25;
}

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

.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  transition: var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--dark);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px !important;
  font-size: .85rem !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(165deg, var(--white) 0%, var(--gray-100) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,114,42,.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,58,92,.06) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(232,114,42,.1);
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse-dot 2s infinite;
}

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

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 8px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

.hero-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gray-700);
  border-left: 3px solid var(--orange);
  padding-left: 16px;
  margin: 24px 0;
}

.hero-text {
  font-size: 1.05rem;
  color: var(--gray-700);
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  text-align: center;
  z-index: 2;
}

.hero-banner-img {
  margin: 0 auto;
  width: 100%;
  max-width: 320px;
  height: auto;
}

.hero-floating-shape {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}
.shape-1 {
  width: 200px; height: 200px;
  top: -40px; right: -40px;
  background: linear-gradient(135deg, rgba(232,114,42,.15), rgba(244,148,77,.05));
  animation: float 6s ease-in-out infinite;
}
.shape-2 {
  width: 140px; height: 140px;
  bottom: -20px; left: -30px;
  background: linear-gradient(135deg, rgba(27,58,92,.12), rgba(42,85,128,.04));
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-20px) rotate(5deg); }
}

/* ---------- Áreas de Atuação / Expertise ---------- */
.expertise {
  padding: 100px 0;
  background: var(--white);
}

.expertise-header {
  text-align: center;
  margin-bottom: 64px;
}
.expertise-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.expertise-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 20px 20px 28px;
  text-align: center;
  transition: var(--transition);
  border: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
}
.expertise-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}

.expertise-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--blue-900);
  border: 1px solid rgba(27, 58, 92, 0.18);
  box-shadow: 0 4px 18px rgba(15, 30, 61, 0.12);
  position: relative;
}

.expertise-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.expertise-card:hover .expertise-image {
  transform: scale(1.06);
}

.expertise-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.expertise-card p {
  font-size: .88rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* ---------- Sobre (About) ---------- */
.about {
  padding: 100px 0;
  background: var(--gray-100);
}

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

.about-text .section-subtitle {
  margin-bottom: 24px;
}

.about-text p {
  color: var(--gray-700);
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-highlight {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--orange);
}
.about-highlight p {
  font-weight: 600;
  color: var(--dark);
  margin: 0;
}

.about-visual {
  position: relative;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.75);
  margin-top: 8px;
}

/* ---------- Produtos (Products) ---------- */
.products {
  padding: 100px 0;
  background: var(--white);
}

.products-header {
  text-align: center;
  margin-bottom: 72px;
}
.products-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Single product block */
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}
.product:last-child { margin-bottom: 0; }

.product.reverse { direction: rtl; }
.product.reverse > * { direction: ltr; }

.product-visual {
  position: relative;
}

.product-phone {
  max-width: 300px;
  margin: 0 auto;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: var(--white);
  border: 8px solid var(--border);
}
.product-phone img {
  width: 100%;
  display: block;
}

.product-info .section-label { margin-bottom: 8px; }

.product-name {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.product-desc {
  color: var(--gray-700);
  margin-bottom: 24px;
  font-size: 1rem;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 8px;
  background: rgba(232,114,42,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: .85rem;
  margin-top: 2px;
}

.feature-item span {
  font-size: .95rem;
  color: var(--gray-700);
}

/* ---------- Missão / CTA ---------- */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(232,114,42,.12);
  pointer-events: none;
}

.cta .section-title {
  color: var(--white);
  margin-bottom: 20px;
}

.cta p {
  color: rgba(255,255,255,.8);
  max-width: 600px;
  margin: 0 auto 36px;
  font-size: 1.1rem;
}

.cta .btn-primary {
  background: var(--orange);
  border-color: var(--orange);
}

/* ---------- Footer ---------- */
.footer {
  padding: 60px 0 30px;
  background: var(--dark);
  color: rgba(255,255,255,.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand-logo img {
  height: 34px;
}

.footer-brand-logo span {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .5px;
  color: var(--white);
}

.footer-brand p {
  font-size: .9rem;
  line-height: 1.6;
}

.footer h4 {
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.footer ul li { margin-bottom: 10px; }
.footer ul li a {
  font-size: .9rem;
  transition: var(--transition);
}
.footer ul li a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
}

.footer-socials {
  display: flex;
  gap: 16px;
}
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer-socials a:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white);
}

/* ---------- Scroll-reveal (JS) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  border: none;
  z-index: 900;
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  /* Mobile menu */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--white);
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow);
  }

  .hero { padding: 120px 0 60px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-buttons { justify-content: center; }
  .hero-quote { text-align: left; }

  .about-grid { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; gap: 40px; }
  .product.reverse { direction: ltr; }

  .expertise-grid { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; }

  .section-title { font-size: clamp(1.5rem, 6vw, 2.2rem); }
}

@media (max-width: 480px) {
  .about-stats { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .nav-logo-icon { height: 42px; }
  .nav-brand-tagline,
  .nav-brand-divider { display: none; }
}
