/* GESC — gesc.inf.br
   Paleta: azul-noite + laranja da marca (#ef7d00) */

:root {
  --bg: #0b1020;
  --bg-alt: #0f1530;
  --panel: #141a38;
  --panel-2: #1a2147;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #e8ecf8;
  --muted: #a1a8c3;
  --brand: #ef7d00;
  --brand-2: #ff9a2b;
  --accent: #6aa6ff;
  --success: #3ddc97;
  --danger: #ff6b6b;
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1160px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-2); }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 16, 32, 0.75);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.brand-logo {
  height: 32px;
  width: auto;
  filter: brightness(1.35) contrast(1.05);
}
.brand-logo-lg { height: 40px; }

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
  padding: 6px 2px;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 3px auto;
  transition: transform 0.2s ease;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.mobile-menu a {
  padding: 12px 10px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 500;
}
.mobile-menu a:hover { background: var(--panel); }
.mobile-menu.open { display: flex; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 14px 24px; font-size: 16px; }

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #1b0d00;
  box-shadow: 0 10px 25px rgba(239, 125, 0, 0.35);
}
.btn-primary:hover { color: #1b0d00; filter: brightness(1.05); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand-2); }

.btn-ghost {
  background: transparent;
  color: var(--muted);
}
.btn-ghost:hover { color: var(--text); }

/* Hero */
.hero {
  position: relative;
  padding: 96px 0 88px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(239, 125, 0, 0.25), transparent 60%),
    radial-gradient(900px 500px at 10% 20%, rgba(106, 166, 255, 0.18), transparent 60%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.25) 100%);
}
.hero-inner {
  position: relative;
  max-width: 900px;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-2);
  padding: 6px 12px;
  border: 1px solid rgba(239, 125, 0, 0.35);
  background: rgba(239, 125, 0, 0.08);
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(36px, 5.4vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  font-weight: 800;
}
.grad {
  background: linear-gradient(135deg, var(--brand), var(--brand-2) 60%, #ffd28a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 720px;
  margin: 0 0 28px;
}
.lead strong { color: var(--text); font-weight: 600; }

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); }
.section-cta {
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(239, 125, 0, 0.18), transparent 70%),
    var(--bg-alt);
  border-top: 1px solid var(--border);
}
.section-head { max-width: 760px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 12px 0 0;
  font-weight: 800;
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* Cards */
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: var(--panel-2);
}
.card-highlight {
  background: linear-gradient(155deg, rgba(239, 125, 0, 0.10), rgba(239, 125, 0, 0) 60%), var(--panel);
  border-color: rgba(239, 125, 0, 0.35);
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--brand-2);
  background: rgba(239, 125, 0, 0.12);
  border: 1px solid rgba(239, 125, 0, 0.25);
  margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.card p {
  color: var(--muted);
  margin: 0 0 14px;
  font-size: 15px;
}
.bullet {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.bullet li {
  padding-left: 22px;
  position: relative;
  font-size: 14.5px;
  color: var(--text);
}
.bullet li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(239, 125, 0, 0.18);
}

/* Feats */
.feat {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px;
}
.feat h4 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
}
.feat p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: none;
}
.steps li {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px;
  position: relative;
}
.step-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-2);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.steps h4 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.steps p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
  transition: border-color 0.15s ease;
}
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--brand-2);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}

/* Contact form */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.field input,
.field select,
.field textarea {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(239, 125, 0, 0.18);
}
.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.form-status {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
  min-height: 20px;
}
.form-status.ok { color: var(--success); }
.form-status.err { color: var(--danger); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: #070b1a;
  padding: 48px 0 24px;
  margin-top: 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-cols h5 {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.footer-cols a {
  display: block;
  padding: 4px 0;
  color: var(--text);
  font-size: 14.5px;
}
.footer-cols a:hover { color: var(--brand-2); }
.muted { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.muted a { color: var(--brand-2); }
.copy { padding-top: 24px; color: var(--muted); font-size: 13px; }

/* WhatsApp floating button */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  z-index: 40;
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: translateY(-2px) scale(1.03); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }

/* Responsive */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
  .grid-3, .grid-4, .steps, .footer-cols { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; padding: 20px; }
}
