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

:root {
  --accent:       #00e0c8;
  --accent2:      #0090ff;
  --bg:           #0a0a0a;
  --bg-card:      #111111;
  --bg-card2:     #161616;
  --bg-input:     #1c1c1c;
  --text:         #f0f0f0;
  --text-muted:   #888;
  --border:       rgba(255,255,255,.08);
  --radius:       14px;
  --max-w:        1140px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-header .logo {
  display: flex; align-items: center; gap: .625rem;
  font-weight: 800; font-size: 1.1rem; color: #fff; letter-spacing: -.01em;
}
.site-header .logo img { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; }
.site-header nav { display: flex; gap: 1.75rem; }
.site-header nav a { font-size: .9rem; font-weight: 500; color: var(--text-muted); transition: color .15s; }
.site-header nav a:hover { color: #fff; text-decoration: none; }

/* ── Hero ── */
.hero {
  padding: 7rem 0 6rem;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0,224,200,.10) 0%, transparent 70%),
              var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(0,144,255,.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero-logo { width: 96px; height: 96px; object-fit: contain; border-radius: 20px; margin: 0 auto 1.5rem; box-shadow: 0 0 40px rgba(0,224,200,.2); }
.hero-badge {
  display: inline-block; margin-bottom: 1.25rem;
  padding: .3rem 1rem; border-radius: 999px;
  background: rgba(0,224,200,.1); border: 1px solid rgba(0,224,200,.25);
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900; color: #fff; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 1.25rem; }
.hero p  { font-size: 1.15rem; color: var(--text-muted); max-width: 580px; margin: 0 auto 2.5rem; }

.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .875rem 2.25rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #000; font-weight: 800; font-size: .95rem; letter-spacing: .02em;
  border: none; cursor: pointer; transition: opacity .15s, transform .15s;
  text-decoration: none;
}
.btn-primary:hover { opacity: .9; transform: translateY(-1px); text-decoration: none; color: #000; }

/* ── Sections shared ── */
section { padding: 5rem 0; }
.section-tag {
  display: inline-block; padding: .25rem .875rem; border-radius: 999px;
  background: rgba(0,224,200,.1); border: 1px solid rgba(0,224,200,.2);
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; color: #fff; letter-spacing: -.02em; margin-bottom: .75rem; }
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 520px; }

/* ── About ── */
#sobre { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-badge {
  display: inline-block; margin-top: 1.25rem;
  padding: .4rem 1rem; border-radius: 8px;
  background: rgba(0,224,200,.08); border: 1px solid rgba(0,224,200,.18);
  font-size: .85rem; color: var(--accent);
}
.about-image-wrap { border-radius: 20px; overflow: hidden; aspect-ratio: 1/1; background: var(--bg-card2); display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); }
.about-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-placeholder { font-size: 5rem; opacity: .3; }

/* ── Services ── */
#servicos { background: var(--bg); }
#servicos .container > .section-tag,
#servicos .container > .section-title,
#servicos .container > .section-subtitle { text-align: center; display: block; margin-left: auto; margin-right: auto; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem 1.75rem;
  transition: border-color .2s, transform .2s;
}
.service-card:hover { border-color: rgba(0,224,200,.3); transform: translateY(-3px); }
.service-icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: .625rem; }
.service-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

/* ── Contact section ── */
#contato {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}
#contato .section-title,
#contato .section-subtitle { text-align: center; display: block; margin-left: auto; margin-right: auto; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 3rem;
}

/* ── Contact info box ── */
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-title { font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: .25rem; }
.contact-info-subtitle { font-size: .9rem; color: var(--text-muted); margin-bottom: .75rem; }

.contact-info-row {
  display: flex; align-items: flex-start; gap: .875rem;
}
.contact-info-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 10px;
  background: rgba(0,224,200,.1);
  border: 1px solid rgba(0,224,200,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.contact-info-row-body { display: flex; flex-direction: column; gap: .1rem; }
.contact-info-row-body span { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.contact-info-row-body a,
.contact-info-row-body p { font-size: .95rem; color: var(--text); font-weight: 500; }
.contact-info-row-body a:hover { color: var(--accent); }

.social-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.social-links a {
  padding: .35rem .9rem; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  font-size: .8rem; color: var(--text-muted); text-transform: capitalize;
  transition: border-color .15s, color .15s;
}
.social-links a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* ── Contact form ── */
.contact-form-wrap {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-form-title { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: .25rem; }
.contact-form-subtitle { font-size: .875rem; color: var(--text-muted); margin-bottom: 1.5rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: .375rem; }
.form-field label { font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: #ccc; }
.form-field label span[aria-hidden] { color: var(--accent); margin-left: 2px; }
.field-optional { font-weight: 400; color: var(--text-muted); }

.form-field input,
.form-field textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  font-size: .95rem; font-family: inherit;
  color: #fff;
  background: var(--bg-input);
  transition: border-color .15s, box-shadow .15s;
  resize: vertical;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #555; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,224,200,.12);
}

.field-error { display: none; font-size: .78rem; color: #ff6b6b; }

.btn-full {
  width: 100%; justify-content: center;
  padding: .9rem; font-size: 1rem; font-weight: 800;
  border-radius: 10px; margin-top: .25rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #000; border: none; cursor: pointer;
  transition: opacity .15s, transform .15s;
}
.btn-full:hover { opacity: .9; transform: translateY(-1px); color: #000; text-decoration: none; }

.form-privacy {
  font-size: .75rem; color: var(--text-muted);
  text-align: center; line-height: 1.5;
}
.form-privacy a { color: var(--accent); }

.form-success {
  display: flex; align-items: center; gap: .75rem;
  background: rgba(0,224,200,.08); border: 1px solid rgba(0,224,200,.25);
  color: var(--accent); border-radius: 10px;
  padding: 1rem 1.25rem; font-weight: 600; font-size: .95rem; margin-bottom: 1rem;
}
.form-success span { font-size: 1.25rem; }

/* ── Footer ── */
.site-footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.footer-brand strong { font-size: .95rem; font-weight: 700; color: #fff; }
.footer-cnpj { font-size: .78rem; color: var(--text-muted); margin-top: .25rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-links a { font-size: .82rem; color: var(--text-muted); transition: color .15s; }
.footer-links a:hover { color: var(--accent); text-decoration: none; }
.footer-copy { font-size: .78rem; color: #444; text-align: center; }

/* ── Cookie banner ── */
.cookie-banner {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  width: min(580px, calc(100% - 2rem));
  background: #1a1a1a; border: 1px solid var(--border);
  border-radius: 16px; padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  z-index: 999;
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
  transform: translateX(-50%) translateY(8px);
}
.cookie-banner--visible { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.cookie-text { font-size: .82rem; color: var(--text-muted); flex: 1; min-width: 200px; line-height: 1.5; }
.cookie-text a { color: var(--accent); }
.cookie-actions { display: flex; gap: .625rem; flex-shrink: 0; }
.cookie-btn {
  padding: .5rem 1.1rem; border-radius: 8px;
  font-size: .82rem; font-weight: 600; cursor: pointer; border: none;
  transition: opacity .15s;
}
.cookie-btn:hover { opacity: .85; }
.cookie-btn--primary { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #000; }
.cookie-btn--outline { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.cookie-btn--outline:hover { color: #fff; border-color: rgba(255,255,255,.25); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-image-wrap { max-width: 320px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-header nav { display: none; }
  .hero { padding: 4rem 0 3.5rem; }
  section { padding: 3.5rem 0; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.5rem; }
}
