/* ==========================================================================
   MD TECH SOLUTIONS — Design System Premium (minimalista, grafite + destaque)
   ========================================================================== */

:root {
  /* Base neutra sofisticada */
  --ink: #121212;
  --ink-soft: #2a2a2a;
  --gray-900: #1a1a1a;
  --gray-700: #4b4b4b;
  --gray-600: #636363;
  --gray-500: #7d7d7d;
  --gray-300: #d6d6d6;
  --gray-200: #e6e6e6;
  --gray-100: #f2f2f2;
  --gray-50: #fafafa;
  --white: #ffffff;

  /* Única cor de destaque tecnológica */
  --accent: #0a5cff;
  --accent-dark: #0846c4;
  --accent-soft: rgba(10, 92, 255, 0.08);
  --accent-soft-2: rgba(10, 92, 255, 0.14);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(18,18,18,.05);
  --shadow-md: 0 12px 32px -12px rgba(18,18,18,.14);
  --shadow-lg: 0 24px 60px -20px rgba(18,18,18,.22);

  --container: 1180px;
  --font-head: 'Sora', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --ease: cubic-bezier(.2,.7,.3,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

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

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); letter-spacing: -0.02em; }

/* Duotone / monochrome premium image treatment */
.img-mono {
  filter: grayscale(85%) contrast(1.08) brightness(0.98);
}

/* ---------- Eyebrow / section head ---------- */
.eyebrow {
  display: inline-block; color: var(--accent); font-weight: 700; font-size: 12.5px;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px;
}
.eyebrow.light { color: #8fb4ff; }

.section-head { max-width: 620px; margin: 0 auto 60px; text-align: center; }
.section-head.light h2, .section-head.light p { color: #fff; }
.section-head h2 { font-size: 36px; font-weight: 700; margin-bottom: 16px; line-height: 1.2; }
.section-head p { color: var(--gray-600); font-size: 16.5px; }

.section { padding: 128px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--radius-sm); font-weight: 600; font-size: 15px;
  transition: all .25s var(--ease); cursor: pointer; border: none; white-space: nowrap;
}
.btn-lg { padding: 16px 32px; font-size: 15.5px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--gray-300); }
.btn-outline:hover { border-color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,.97); }

.header-inner { display: flex; align-items: center; height: 84px; gap: 28px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px; border-radius: var(--radius-sm); flex-shrink: 0;
  background: linear-gradient(135deg, #7a9e00 0%, var(--accent) 100%);
  color: #fff; font-weight: 800; font-size: 15px; font-family: var(--font-head);
  display: flex; align-items: center; justify-content: center;
}
.logo-stack { display: flex; flex-direction: column; line-height: 1.2; }
.logo-title { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ink); }
.logo-sub { font-family: var(--font-head); font-weight: 600; font-size: 10.5px; color: var(--gray-500); letter-spacing: .16em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.main-nav a { font-weight: 500; font-size: 14.5px; color: var(--gray-700); position: relative; padding: 4px 0; }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px; background: var(--accent);
  transition: width .25s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }

.header-cta { margin-left: 8px; padding: 11px 22px; font-size: 14px; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; z-index: 210; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .25s ease; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding: 168px 0 100px; background: var(--white); }
.hero-inner { display: grid; grid-template-columns: 1fr 0.95fr; gap: 72px; align-items: center; }

.hero-copy h1 { font-size: 54px; font-weight: 700; line-height: 1.12; margin-bottom: 24px; }
.hero-lead { font-size: 18px; color: var(--gray-600); max-width: 520px; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }

.trust-chips { display: flex; flex-wrap: wrap; gap: 24px; }
.trust-chips li { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; color: var(--gray-700); }
.trust-chips i { color: var(--accent); font-size: 15px; }

.hero-visual { position: relative; }
.hero-frame {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
}
.hero-frame img { width: 100%; height: 460px; object-fit: cover; }

.hero-float-card {
  position: absolute; bottom: -24px; left: -24px; background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 18px 22px; display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-md);
}
.hero-float-card i { font-size: 20px; color: var(--accent); }
.hero-float-card strong { display: block; font-size: 14.5px; color: var(--ink); font-weight: 700; }
.hero-float-card span { font-size: 12.5px; color: var(--gray-500); }

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trustbar { border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); padding: 34px 0; }
.trustbar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trustbar-item { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--gray-700); }
.trustbar-item i { color: var(--accent); font-size: 16px; }

/* ==========================================================================
   SERVIÇOS
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md);
  padding: 38px 32px; transition: all .3s var(--ease);
}
.service-card:hover { border-color: var(--accent-soft-2); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--gray-100); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 24px;
  transition: all .3s ease;
}
.service-card:hover .service-icon { background: var(--accent); color: #fff; }
.service-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; color: var(--gray-600); margin-bottom: 22px; }
.card-link { font-weight: 600; font-size: 13.5px; color: var(--ink); display: inline-flex; gap: 8px; align-items: center; }
.card-link i { font-size: 11px; transition: transform .2s ease; color: var(--accent); }
.service-card:hover .card-link i { transform: translateX(4px); }

/* ==========================================================================
   PORQUÊ ESCOLHER-NOS
   ========================================================================== */
.why-section { background: var(--gray-50); }
.why-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center; }
.why-media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); }
.why-media img { width: 100%; height: 520px; object-fit: cover; }
.why-text h2 { font-size: 34px; margin-bottom: 44px; line-height: 1.25; }

.reasons-list { display: flex; flex-direction: column; gap: 30px; }
.reason { display: flex; gap: 22px; align-items: flex-start; padding-bottom: 30px; border-bottom: 1px solid var(--gray-200); }
.reason:last-child { border-bottom: none; padding-bottom: 0; }
.reason-number { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--accent-soft-2); flex-shrink: 0; min-width: 44px; }
.reason h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.reason p { font-size: 14.5px; color: var(--gray-600); }

/* ==========================================================================
   ASSISTÊNCIA TÉCNICA
   ========================================================================== */
.assist-section { position: relative; padding: 128px 0; background: var(--ink); overflow: hidden; }
.assist-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .12; z-index: 0; }
.assist-inner { position: relative; z-index: 1; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 56px; }
.process-step { border-top: 1px solid rgba(255,255,255,.18); padding-top: 26px; }
.process-number { display: block; font-family: var(--font-head); font-size: 32px; font-weight: 700; color: rgba(255,255,255,.3); margin-bottom: 16px; }
.process-step h3 { color: #fff; font-size: 17px; margin-bottom: 10px; }
.process-step p { color: rgba(255,255,255,.6); font-size: 14px; }

.assist-actions { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.remote-link { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.65); font-size: 13.5px; font-weight: 500; transition: color .2s; }
.remote-link i { color: #8fb4ff; }
.remote-link:hover { color: #fff; }

/* ==========================================================================
   COMPUTADORES PERSONALIZADOS
   ========================================================================== */
.custom-inner { display: grid; grid-template-columns: 1fr 0.9fr; gap: 72px; align-items: center; }
.custom-text h2 { font-size: 34px; margin-bottom: 18px; }
.custom-text > p { color: var(--gray-600); font-size: 16px; margin-bottom: 36px; max-width: 460px; }

.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 40px; max-width: 420px; }
.category-chip {
  display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200); font-weight: 600; font-size: 14px; color: var(--ink);
}
.category-chip i { color: var(--accent); font-size: 15px; }
.category-chip.category-gaming { border-color: #ffb100; }
.category-chip.category-gaming i { color: #ff8a00; }

.custom-media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); }
.custom-media img { width: 100%; height: 460px; object-fit: cover; }

/* ==========================================================================
   EMPRESAS
   ========================================================================== */
.business-section { background: var(--gray-900); padding: 128px 0; }
.business-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center; }
.business-media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.business-media img { width: 100%; height: 440px; object-fit: cover; }
.business-text h2 { color: #fff; font-size: 34px; margin-bottom: 18px; }
.business-text > p { color: rgba(255,255,255,.6); font-size: 16px; margin-bottom: 34px; max-width: 460px; }

.business-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin-bottom: 40px; }
.business-list li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.85); font-size: 14.5px; font-weight: 500; }
.business-list i { color: var(--accent); font-size: 13px; width: 16px; }

/* ==========================================================================
   SOBRE NÓS
   ========================================================================== */
.about-inner { display: grid; grid-template-columns: 1fr 0.9fr; gap: 72px; align-items: center; }
.about-text h2 { font-size: 34px; margin-bottom: 22px; }
.about-text p { color: var(--gray-600); font-size: 16px; margin-bottom: 18px; }
.about-media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); }
.about-media img { width: 100%; height: 480px; object-fit: cover; }

/* ==========================================================================
   MARCAS
   ========================================================================== */
.brands-section { padding: 70px 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.brands-label { text-align: center; font-size: 13px; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 34px; }
.brands-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px; }
.brands-row span { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--gray-300); transition: color .25s ease; }
.brands-row span:hover { color: var(--gray-700); }

/* ==========================================================================
   TESTEMUNHOS
   ========================================================================== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  border: 1px dashed var(--gray-300); border-radius: var(--radius-md); padding: 34px; background: var(--gray-50);
}
.testimonial-card i { color: var(--gray-300); font-size: 22px; margin-bottom: 18px; display: block; }
.testimonial-card p { color: var(--gray-500); font-size: 15px; font-style: italic; margin-bottom: 18px; }
.testimonial-card footer { color: var(--gray-500); font-size: 13.5px; font-weight: 600; }

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.cta-final { background: var(--ink); padding: 110px 0; text-align: center; }
.cta-final-inner h2 { color: #fff; font-size: 36px; margin-bottom: 16px; }
.cta-final-inner p { color: rgba(255,255,255,.65); font-size: 17px; margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-final-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   CONTACTOS
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; }

.contact-info-block { display: flex; flex-direction: column; gap: 26px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; }
.info-row i { color: var(--accent); font-size: 18px; margin-top: 4px; width: 20px; }
.info-row h3 { font-size: 14.5px; font-weight: 700; margin-bottom: 4px; }
.info-row p { color: var(--gray-600); font-size: 14.5px; }
.info-row a { color: var(--gray-700); font-weight: 600; }
.info-row a:hover { color: var(--accent); }

.remote-contact-card {
  display: flex; gap: 18px; align-items: flex-start;
  border: 1px solid var(--gray-200); background: var(--gray-50); border-radius: var(--radius-md);
  padding: 24px; margin: 6px 0 4px;
}
.remote-contact-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm); flex-shrink: 0;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.remote-contact-card h3 { font-size: 15px; margin-bottom: 6px; }
.remote-contact-card p { color: var(--gray-600); font-size: 14px; margin-bottom: 16px; }
.remote-contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.remote-contact-actions .btn { padding: 11px 16px; font-size: 13.5px; }
.remote-secondary-link { font-size: 13px; color: var(--accent); font-weight: 600; }
.remote-secondary-link:hover { color: var(--accent-dark); }

.maps-btn { margin-top: 6px; align-self: flex-start; }
.map-embed { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--gray-200); margin-top: 8px; }

.contact-form { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 42px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 8px; color: var(--gray-700); }
.form-group input, .form-group textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--gray-300);
  font-family: inherit; font-size: 15px; outline: none; transition: border .2s; background: #fff;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-note { margin-top: 16px; font-size: 14px; color: var(--gray-600); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--white); border-top: 1px solid var(--gray-200); padding-top: 70px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand p { margin-top: 18px; color: var(--gray-600); font-size: 14.5px; max-width: 300px; }
.footer-links h4 { font-size: 13.5px; margin-bottom: 20px; color: var(--ink); text-transform: uppercase; letter-spacing: .08em; }
.footer-links a { display: block; color: var(--gray-600); margin-bottom: 13px; font-size: 14.5px; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--gray-200); padding: 22px 0; text-align: center; font-size: 13px; color: var(--gray-500); }

/* ==========================================================================
   REVEAL ANIMATION
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner, .why-inner, .custom-inner, .business-inner, .about-inner, .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual { order: -1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trustbar-grid { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .hero h1, .hero-copy h1 { font-size: 42px; }
}

@media (max-width: 720px) {
  .section { padding: 84px 0; }
  .hero { padding: 140px 0 70px; }
  .assist-section, .business-section { padding: 84px 0; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: 82%; max-width: 320px;
    background: #fff; flex-direction: column; align-items: flex-start; justify-content: center;
    padding: 44px; gap: 28px; transform: translateX(100%); transition: transform .35s var(--ease);
    box-shadow: var(--shadow-lg); z-index: 205;
  }
  .main-nav.open { transform: translateX(0); }
  .header-cta { display: none; }
  .burger { display: flex; }
  .hero-copy h1 { font-size: 34px; }
  .services-grid, .testimonials-grid, .footer-inner, .category-grid, .business-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-float-card { position: static; margin-top: -30px; margin-left: 16px; width: fit-content; }
  .remote-contact-card { flex-direction: column; }
  .remote-contact-actions { flex-direction: column; align-items: stretch; }
  .remote-contact-actions .btn { width: 100%; }
  .brands-row { gap: 28px; }
  .cta-final-inner h2 { font-size: 28px; }
}
