/* ===========================================================
   GF Soluções — estilo global (dark / tech)
   =========================================================== */

:root {
  --bg: #0a0e16;
  --bg-alt: #0d1220;
  --card: #131a29;
  --card-hover: #182035;
  --border: #232c40;
  --text: #e9edf5;
  --muted: #9aa7bd;
  --blue: #5b9bd5;
  --blue-dark: #3d6f9e;
  --blue-light: #8ec0ea;
  --green: #7ed957;
  --green-dark: #5a9e3c;
  --purple-glow: #6a4fd6;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(106, 79, 214, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(91, 155, 213, 0.14), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

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

section { padding: 88px 0; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 16px; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { color: var(--muted); margin: 0 0 16px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(126, 217, 87, 0.1);
  border: 1px solid rgba(126, 217, 87, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color .15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  color: #06110a;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(91, 155, 213, 0.28); }
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--blue); background: rgba(91, 155, 213, 0.08); }
.btn-whatsapp {
  background: #25d366;
  color: #06110a;
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37, 211, 102, 0.28); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 22, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text .name { font-weight: 800; font-size: 1.15rem; color: #fff; }
.brand-text .tag { font-size: 0.72rem; color: var(--green); font-weight: 600; letter-spacing: .04em; }

nav.main-nav { display: flex; align-items: center; gap: 6px; }
nav.main-nav a {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .15s ease, background .15s ease;
}
nav.main-nav a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
nav.main-nav a.active { color: var(--text); background: rgba(91, 155, 213, 0.12); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--text);
  cursor: pointer;
}

@media (max-width: 900px) {
  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 20px 18px;
    display: none;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: 12px 10px; }
  .nav-toggle { display: inline-flex; }
  .header-cta .btn-outline { display: none; }
  .header-cta .btn-primary { padding: 10px 16px; font-size: 0.85rem; white-space: nowrap; }
  .brand-text .tag { display: none; }
}

@media (max-width: 380px) {
  .header-cta .btn-primary { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 96px 0 64px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { color: #fff; }
.hero h1 .accent {
  background: linear-gradient(135deg, var(--blue-light), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead { font-size: 1.12rem; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats .stat strong { display: block; font-size: 1.7rem; color: #fff; }
.hero-stats .stat span { font-size: 0.85rem; color: var(--muted); }

.hero-art {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art img { width: 70%; filter: drop-shadow(0 20px 40px rgba(91,155,213,0.25)); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; padding: 28px; }
  .hero-art img { width: 46%; }
}

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(91,155,213,0.4); background: var(--card-hover); }
.card .icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(91,155,213,0.18), rgba(126,217,87,0.18));
  margin-bottom: 18px;
  font-size: 1.4rem;
}
.card h3 { color: #fff; margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 0.95rem; }
.card ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: .92rem; }
.card ul li { margin-bottom: 6px; }

/* ---------- Alt sections ---------- */
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Process / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 26px 22px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #06110a; font-weight: 800; margin-bottom: 14px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, rgba(91,155,213,0.14), rgba(126,217,87,0.10));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 56px;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

/* ---------- Testimonials ---------- */
.testimonial { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.testimonial .stars { color: var(--green); margin-bottom: 12px; letter-spacing: 2px; }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testimonial .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #06110a; font-size: .9rem;
}
.testimonial .who strong { display: block; font-size: .92rem; color: #fff; }
.testimonial .who span { font-size: .8rem; color: var(--muted); }

/* ---------- Portfolio ---------- */
.portfolio-card { overflow: hidden; padding: 0; }
.portfolio-card .thumb {
  height: 160px;
  background: linear-gradient(135deg, rgba(91,155,213,0.35), rgba(126,217,87,0.35));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
  border-bottom: 1px solid var(--border);
}
.portfolio-card .body { padding: 24px; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.tag {
  font-size: .72rem; font-weight: 600; letter-spacing: .03em;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(91,155,213,0.12); border: 1px solid rgba(91,155,213,0.3);
  color: var(--blue-light);
}
.placeholder-note {
  margin-top: 40px;
  text-align: center;
  font-size: .85rem;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 16px 20px;
}

/* ---------- Forms ---------- */
.form-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue);
}
.field textarea { resize: vertical; min-height: 120px; }

.contact-info-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; }
.contact-info-card .icon { flex-shrink: 0; }
.contact-info-card h3 { margin-bottom: 4px; font-size: 1rem; }
.contact-info-card p { margin-bottom: 0; }

/* ---------- Footer ---------- */
footer.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--muted); font-size: .92rem; transition: color .15s ease; }
.footer-grid a:hover { color: var(--blue-light); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 34px; }
.footer-brand span { font-weight: 800; color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  font-size: .82rem; color: var(--muted);
}
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .15s ease, color .15s ease;
}
.social-row a:hover { border-color: var(--blue); color: var(--blue-light); }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  background: #25d366;
  color: #06110a;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(37,211,102,0.4);
  font-size: 1.6rem;
  transition: transform .15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 64px 0 40px; text-align: center; }
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero p { max-width: 640px; margin: 0 auto; }
.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--blue-light); }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--border); margin: 0; }
.badge-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.badge-list span {
  font-size: .82rem; color: var(--muted);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 14px;
}
