/* ═══════════════════════════════════════════════
   SDC Sistemas — Design System (shared)
   ═══════════════════════════════════════════════ */

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

:root {
  --sdc-accent: #1a1a1a;
  --sdc-accent-hover: #333;
  --sdc-accent-light: rgba(0,0,0,0.05);
  --sdc-dark: #111;
  --sdc-text: #2a2a2a;
  --sdc-text-light: #666;
  --sdc-text-muted: #999;
  --sdc-bg: #ffffff;
  --sdc-bg-soft: #f7f7f7;
  --sdc-bg-warm: #fafafa;
  --sdc-border: #e4e4e4;
  --sdc-border-light: #eee;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1120px;
  --section-padding: 100px 24px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--sdc-text);
  background: var(--sdc-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ── Header / Nav ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--sdc-dark);
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,.15); }
.header-inner {
  width: 100%; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo { height: 30px; width: auto; flex-shrink: 0; }
.nav-desktop { display: flex; align-items: center; gap: 36px; }
.nav-desktop a {
  font-size: 13px; font-weight: 500; letter-spacing: 1.2px;
  text-transform: uppercase; color: rgba(255,255,255,.75);
  transition: color .25s; position: relative;
}
.nav-desktop a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px; background: rgba(255,255,255,.7);
  transition: width .25s;
}
.nav-desktop a:hover, .nav-desktop a.active { color: #fff; }
.nav-desktop a:hover::after, .nav-desktop a.active::after { width: 100%; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 1px; }

.nav-mobile {
  display: none; position: fixed; top: 68px; left: 0; right: 0;
  background: var(--sdc-dark); padding: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.nav-mobile.active { display: block; }
.nav-mobile a {
  display: block; padding: 14px 0; font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,.8);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-mobile a:last-child { border: none; }
.nav-mobile a:hover { color: #fff; }

/* ── Section helpers ── */
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--sdc-text-muted);
  margin-bottom: 12px;
}
.section-label.center { text-align: center; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400; color: var(--sdc-dark);
  line-height: 1.2; margin-bottom: 12px;
}
.section-title.center { text-align: center; }
.section-desc {
  font-size: 16px; color: var(--sdc-text-light);
  line-height: 1.7; max-width: 560px;
}
.section-desc.center { text-align: center; margin: 0 auto; }

/* ── Page hero (internas) ── */
.page-hero {
  padding-top: 68px; background: var(--sdc-dark);
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .38;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,20,20,.25) 0%, rgba(20,20,20,.7) 100%);
}
.page-hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-width); margin: 0 auto;
  padding: 96px 24px 88px; text-align: center;
}
.page-hero-label {
  font-size: 12px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(255,255,255,.85);
  margin-bottom: 16px;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400; color: #fff; line-height: 1.12;
}
.page-hero-subtitle {
  font-size: 17px; font-weight: 300;
  color: rgba(255,255,255,.85); margin-top: 16px;
  line-height: 1.6; max-width: 640px; margin-left: auto; margin-right: auto;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; font-family: var(--font-body);
  font-size: 14px; font-weight: 600; letter-spacing: .5px;
  border-radius: 4px; transition: all .25s; cursor: pointer; border: none;
}
.btn-primary { background: #fff; color: var(--sdc-dark); }
.btn-primary:hover {
  background: #f0f0f0; transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255,255,255,.2);
}
.btn-outline {
  background: transparent; color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-outline:hover { color: #fff; border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); }
.btn-dark { background: var(--sdc-dark); color: #fff; }
.btn-dark:hover { background: #222; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.btn svg {
  width: 16px; height: 16px; stroke: currentColor; stroke-width: 2;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}

/* ── Feature grid (texto + imagem) ── */
.feat-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.feat-grid.reverse .feat-img { order: 2; }
.feat-grid.reverse .feat-text { order: 1; }
.feat-img {
  width: 100%; height: 360px; border-radius: 12px;
  overflow: hidden; background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  display: flex; align-items: center; justify-content: center;
}
.feat-img img { width: 100%; height: 100%; object-fit: cover; }
.feat-text .section-label { margin-bottom: 12px; }
.feat-text .section-title { margin-bottom: 16px; }
.feat-text p { font-size: 16px; color: var(--sdc-text-light); line-height: 1.8; margin-bottom: 12px; }

/* ── Feature lists (check marks) ── */
.feat-list { list-style: none; margin: 20px 0 28px; padding: 0; }
.feat-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; font-size: 15px; color: var(--sdc-text);
}
.feat-list li svg {
  width: 18px; height: 18px; stroke: var(--sdc-accent);
  stroke-width: 2; fill: none; flex-shrink: 0; margin-top: 2px;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ── Content sections ── */
.content-section { padding: 80px 24px; background: var(--sdc-bg); }
.content-section.alt { background: var(--sdc-bg-soft); }
.content-section.dark { background: var(--sdc-dark); }
.content-section.dark .section-label { color: rgba(255,255,255,.85); }
.content-section.dark .section-title { color: #fff; }
.content-section.dark .section-desc { color: rgba(255,255,255,.85); }
.content-section.dark .feat-text p { color: rgba(255,255,255,.85); }
.content-section.dark .feat-list li { color: rgba(255,255,255,.85); }
.content-section.dark .feat-list li svg { stroke: rgba(255,255,255,.7); }

/* ── Module cards (grid de ícones) ── */
.mod-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 56px;
}
.mod-card {
  padding: 32px 28px; border: 1px solid var(--sdc-border);
  border-radius: 8px; transition: all .3s; background: var(--sdc-bg);
  display: block; color: inherit;
}
.mod-card:hover {
  border-color: var(--sdc-accent);
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
  transform: translateY(-2px);
}
.mod-icon {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: var(--sdc-accent-light); border-radius: 10px; margin-bottom: 20px;
}
.mod-icon svg {
  width: 22px; height: 22px; stroke: var(--sdc-accent);
  stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.mod-name { font-family: var(--font-display); font-size: 18px; color: var(--sdc-dark); margin-bottom: 8px; }
.mod-desc { font-size: 14px; color: var(--sdc-text-light); line-height: 1.7; }
.mod-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--sdc-accent);
}
.mod-link svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; }

/* ── CTA section ── */
.cta-section {
  padding: 100px 24px; background: var(--sdc-dark);
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -50%; left: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,.04) 0%, transparent 70%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  color: #fff; line-height: 1.2; margin-bottom: 16px;
}
.cta-desc {
  font-size: 17px; font-weight: 300;
  color: rgba(255,255,255,.85); line-height: 1.7; margin-bottom: 36px;
}

/* ── Footer ── */
.site-footer { background: #0a0a0a; padding: 56px 24px 32px; }
.footer-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px;
}
.footer-brand p {
  font-size: 14px; color: rgba(255,255,255,.8);
  line-height: 1.7; margin-top: 16px; max-width: 320px;
}
.footer-logo { height: 26px; width: auto; opacity: .95; }
.footer-col h4 {
  font-size: 12px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,.85);
  margin-bottom: 20px;
}
.footer-col a, .footer-col p {
  display: block; font-size: 14px; color: rgba(255,255,255,.8);
  line-height: 1.6; padding: 4px 0; transition: color .2s;
}
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 8px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  transition: all .25s; padding: 0;
}
.footer-social a:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.08); }
.footer-social svg { width: 18px; height: 18px; fill: rgba(255,255,255,.8); }
.footer-bottom {
  max-width: var(--max-width); margin: 40px auto 0;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: space-between;
}
.footer-bottom p, .footer-bottom a {
  font-size: 12px; color: rgba(255,255,255,.7); letter-spacing: .5px;
}
.footer-bottom a:hover { color: #fff; }

/* ── Reveal animations ── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  :root { --section-padding: 80px 24px; }
}
@media (max-width: 768px) {
  :root { --section-padding: 64px 20px; }
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
  .header-inner { padding: 0 20px; }
  .feat-grid { grid-template-columns: 1fr; gap: 32px; }
  .feat-grid.reverse .feat-img, .feat-grid.reverse .feat-text { order: 0; }
  .feat-img { height: 260px; }
  .mod-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 480px) {
  .page-hero-content { padding: 72px 20px 64px; }
}
