/* ============================================
   SEVENSYS — design tokens
   Default: light "clean corporate" theme.
   [data-theme="dark"] on <html> switches to the
   original dark/blueprint theme.
   ============================================ */
:root{
  --bg: #F6F7F9;
  --bg-panel: #FFFFFF;
  --bg-panel-2: #EEF1F5;
  --line: rgba(16, 24, 38, 0.09);
  --line-strong: rgba(16, 24, 38, 0.16);
  --text: #10131A;
  --text-dim: #4C5568;
  --text-faint: #8891A3;

  --teal: #0C9C89;
  --teal-dim: rgba(12, 156, 137, 0.10);
  --on-teal: #FFFFFF;
  --teal-hover: #0B8A79;

  --brass: #9C7233;
  --brass-dim: rgba(156, 114, 51, 0.10);

  --grid-line: rgba(16, 24, 38, 0.05);
  --shadow: 0 24px 60px -30px rgba(16, 24, 38, 0.18);

  /* the hero "terminal" is always dark, in either theme —
     a deliberately lit device sitting on the page */
  --term-bg: #0A121F;
  --term-bg-2: #101B2E;
  --term-line: rgba(197,214,235,0.10);
  --term-line-strong: rgba(197,214,235,0.18);
  --term-text-dim: #8C9AB3;
  --term-text-faint: #5C6A83;
  --term-modern-text: #BFEFE7;
  --term-brass: #C9A15C;
  --term-teal: #35D6C1;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --wrap: 1180px;
}

[data-theme="dark"]{
  --bg: #0A121F;
  --bg-panel: #101B2E;
  --bg-panel-2: #152238;
  --line: rgba(197, 214, 235, 0.10);
  --line-strong: rgba(197, 214, 235, 0.18);
  --text: #E7EDF6;
  --text-dim: #8C9AB3;
  --text-faint: #5C6A83;

  --teal: #35D6C1;
  --teal-dim: rgba(53, 214, 193, 0.14);
  --on-teal: #06231F;
  --teal-hover: #4EE3CF;

  --brass: #C9A15C;
  --brass-dim: rgba(201, 161, 92, 0.14);

  --grid-line: rgba(197,214,235,0.035);
  --shadow: 0 30px 80px -30px rgba(0,0,0,0.6);
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

a{ color: inherit; text-decoration: none; }

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

/* faint blueprint grid across the whole page */
.grid-overlay{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%);
}

h1, h2, h3{
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}

.eyebrow{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 14px;
}

.eyebrow::before{ content: "// "; color: var(--text-faint); }

/* ============================================
   HEADER
   ============================================ */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

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

.brand-mark{
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--text);
}
.brand-mark.small{ font-size: 15px; }
.brand-dot{ color: var(--brass); }

.main-nav{
  display: flex;
  gap: 32px;
  margin-right: auto;
  margin-left: 40px;
}
.main-nav a{
  font-size: 14.5px;
  color: var(--text-dim);
  transition: color 0.2s ease;
}
.main-nav a:hover{ color: var(--text); }

.header-actions{
  display: flex;
  align-items: center;
  gap: 14px;
}

/* theme toggle */
.theme-toggle{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--bg-panel);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-dim);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.theme-toggle:hover{ border-color: var(--teal); }
.theme-toggle svg{ display: block; }
.theme-toggle .icon-sun{ color: var(--brass); }
.theme-toggle .icon-moon{ color: var(--teal-dim); }
[data-theme="dark"] .theme-toggle .icon-sun{ color: var(--text-faint); }
[data-theme="dark"] .theme-toggle .icon-moon{ color: var(--teal); }

.nav-cta{
  font-size: 14px;
  font-weight: 500;
  padding: 9px 18px;
  border: 1px solid var(--teal);
  border-radius: 3px;
  color: var(--teal);
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.nav-cta:hover{ background: var(--teal); color: var(--on-teal); }

@media (max-width: 860px){
  .main-nav{ display: none; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  border: 1px solid transparent;
}
.btn-primary{
  background: var(--teal);
  color: var(--on-teal);
}
.btn-primary:hover{ transform: translateY(-1px); background: var(--teal-hover); }

.btn-ghost{
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover{ border-color: var(--text-dim); }

/* ============================================
   HERO — full-bleed background photo, kept from
   the current site, with a dark scrim so the
   headline stays legible over any photo.
   ============================================ */
.hero{
  position: relative;
  z-index: 1;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg{
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  background-color: var(--term-bg); /* shows while the photo loads / if missing */
}

.hero-scrim{
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6,11,20,0.72) 0%, rgba(6,11,20,0.58) 45%, rgba(6,11,20,0.82) 100%);
}

.hero-inner{
  max-width: 760px;
  padding: 120px 0 100px;
}

.eyebrow-light{ color: var(--term-teal); }

.hero h1{
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 22px;
}

.hero-lede{
  color: rgba(255,255,255,0.82);
  font-size: 17px;
  max-width: 62ch;
  margin-bottom: 36px;
  text-align: justify;
  text-align-last: left;
}

.hero-actions{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-ghost-light{
  border-color: rgba(255,255,255,0.35);
  color: #FFFFFF;
}
.btn-ghost-light:hover{ border-color: #FFFFFF; }

.hero-scroll-hint{
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.65);
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob{
  0%, 100%{ transform: translateX(-50%) translateY(0); }
  50%{ transform: translateX(-50%) translateY(6px); }
}

@media (max-width: 720px){
  .hero{ min-height: 76vh;  }
  .hero-inner{ padding: 90px 24px 70px; }
}

/* ============================================
   BAND DE MIGRAÇÃO — o terminal como elemento
   de assinatura, agora em sua própria seção
   ============================================ */
.band-migration{ padding-top: 100px; }

.migration-inner{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.migration-copy h2{ margin-bottom: 18px; }

@media (max-width: 900px){
  .migration-inner{ grid-template-columns: 1fr; }
}

/* terminal / migration visual — signature element, always dark */
.terminal{
  background: var(--term-bg);
  border: 1px solid var(--term-line-strong);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.terminal-bar{
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: var(--term-bg-2);
  border-bottom: 1px solid var(--term-line);
}
.terminal-bar .dot{
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--term-line-strong);
}
.terminal-title{
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--term-text-faint);
}

.terminal-body{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
  padding: 22px 16px;
}

.code-pane{ min-width: 0; }
.pane-label{
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--term-text-faint);
  margin-bottom: 10px;
}
.code-legacy .pane-label{ color: var(--term-brass); }
.code-modern .pane-label{ color: var(--term-teal); }

.code-pane pre{
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 190px;
  color: var(--term-text-dim);
}
.code-modern pre{ color: var(--term-modern-text); }

.migrate-arrow{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: var(--term-text-faint);
}

@media (max-width: 900px){
  .hero-inner{ grid-template-columns: 1fr; }
  .terminal-body{ grid-template-columns: 1fr; }
  .migrate-arrow{ transform: rotate(90deg); padding: 10px 0; }
}

/* ============================================
   SECTIONS (general)
   ============================================ */
.section{
  position: relative;
  z-index: 1;
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.25s ease;
}
.section-alt{ background: var(--bg-panel-2); }

.section h2{
  font-size: clamp(26px, 3vw, 36px);
  max-width: 26ch;
  margin-bottom: 48px;
}

.section-lede{
  color: var(--text-dim);
  font-size: 16px;
  max-width: 56ch;
  text-align: justify;
  text-align-last: left;
}

/* ============================================
   FORÇA DE VENDAS (texto herdado do site atual)
   ============================================ */
.force-wrap{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.force-list{
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.force-list li{
  position: relative;
  padding-left: 26px;
  color: var(--text-dim);
  font-size: 15px;
  text-align: justify;
  text-align-last: left;
}

.force-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 1px;
  background: var(--teal);
  transform: rotate(45deg);
}

@media (max-width: 900px){
  .force-wrap{ grid-template-columns: 1fr; }
}

/* ============================================
   CARDS (especialidades)
   ============================================ */
.cards-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card{
  background: var(--bg-panel);
  padding: 32px;
}

.card-icon{
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--teal);
  margin-bottom: 20px;
}

.card h3{
  font-size: 19px;
  margin-bottom: 10px;
}

.card p{
  color: var(--text-dim);
  font-size: 14.5px;
  margin: 0;
  text-align: justify;
  text-align-last: left;
}

@media (max-width: 720px){
  .cards-grid{ grid-template-columns: 1fr; }
}

/* ============================================
   TECNOLOGIA
   ============================================ */
.tech-wrap{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.tech-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.tech-item{
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 22px;
  background: var(--bg-panel);
}

.tech-label{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brass);
  border: 1px solid var(--brass-dim);
  background: var(--brass-dim);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.tech-item p{
  color: var(--text-dim);
  font-size: 14px;
  margin: 0;
  text-align: justify;
  text-align-last: left;
}

@media (max-width: 900px){
  .tech-wrap{ grid-template-columns: 1fr; }
}
@media (max-width: 560px){
  .tech-grid{ grid-template-columns: 1fr; }
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio-list{
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.portfolio-item{
  background: var(--bg-panel);
  padding: 30px 34px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

.portfolio-tag{
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal);
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.portfolio-item h3{
  font-size: 18px;
  margin-bottom: 8px;
}

.portfolio-link-inline{
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-faint);
  font-weight: 400;
}

.portfolio-item p{
  color: var(--text-dim);
  font-size: 14.5px;
  margin: 0 0 10px;
  text-align: justify;
  text-align-last: left;
}

.portfolio-link{
  font-size: 13.5px;
  color: var(--brass);
  border-bottom: 1px solid var(--brass-dim);
  padding-bottom: 1px;
}
.portfolio-link:hover{ border-color: var(--brass); }

@media (max-width: 720px){
  .portfolio-item{ grid-template-columns: 1fr; }
}

/* ============================================
   CONTATO
   ============================================ */
.contact-wrap{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}

.contact-direct{
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-line{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.contact-line:hover{ border-color: var(--teal); background: var(--teal-dim); }
.contact-line svg{ color: var(--teal); flex-shrink: 0; }
.contact-line span{ font-size: 14.5px; color: var(--text-dim); }
.contact-line strong{ color: var(--text); font-weight: 500; }

.contact-form{
  background: var(--bg-panel);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row{ display: flex; flex-direction: column; gap: 7px; }
.form-row label{
  font-size: 13px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}
.form-row input, .form-row textarea{
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus{
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}

.form-submit{ align-self: flex-start; margin-top: 4px; }

.form-status{
  font-size: 13.5px;
  color: var(--text-dim);
  min-height: 18px;
  margin: 0;
}
.form-status.ok{ color: var(--teal); }
.form-status.err{ color: #B8543E; }

@media (max-width: 900px){
  .contact-wrap{ grid-template-columns: 1fr; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer{
  position: relative;
  z-index: 1;
  padding: 48px 0 0;
}

.footer-inner{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.footer-brand p{
  font-size: 13px;
  color: var(--text-faint);
  margin: 10px 0 0;
  line-height: 1.6;
}
.footer-cnpj{ font-family: var(--font-mono); }

.footer-links, .footer-contact{
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dim);
}
.footer-links a:hover, .footer-contact a:hover{ color: var(--text); }

.footer-bottom{
  padding: 22px 0 32px;
}
.footer-bottom p{
  font-size: 12.5px;
  color: var(--text-faint);
  margin: 0;
}

@media (max-width: 720px){
  .footer-inner{ grid-template-columns: 1fr; }
}
