/* ============================================================
   SHGT — Design System v1.0
   ============================================================ */

/* ── 1. DESIGN TOKENS ─────────────────────────────────────── */
:root {
  /* Brand colors */
  --indigo-900:   #1E0A4E;
  --indigo-800:   #2A0A5C;
  --violet-700:   #5B16C9;
  --violet-600:   #6D28D9;
  --violet-500:   #7C3AED;
  --purple-500:   #9333EA;
  --magenta-500:  #A21CAF;
  --magenta-glow: #C060F0;
  --ink:          #231435;
  --ink-soft:     #4F4264;
  --muted:        #7B6D92;
  --bg:           #F7F5FB;
  --bg-soft:      #FAF8FF;
  --white:        #FFFFFF;
  --line:         rgba(123, 58, 237, 0.16);

  /* Gradients */
  --grad-primary:   linear-gradient(135deg, #6D28D9, #A21CAF);
  --grad-hero-soft: linear-gradient(180deg, #FAF8FF 0%, #F4EFFF 100%);
  --grad-dark:      linear-gradient(135deg, #1E0A4E 0%, #2A0A5C 45%, #5B16C9 100%);
  --grad-card:      linear-gradient(180deg, #FBF9FF 0%, #F7F2FF 100%);
  --grad-glow:      radial-gradient(circle at top right, rgba(168,85,247,0.18), rgba(255,255,255,0) 34%);

  /* Shadows */
  --shadow-card: 0 18px 55px rgba(109, 40, 217, 0.10);
  --shadow-btn:  0 10px 28px rgba(168, 85, 247, 0.18);

  /* Radius */
  --r-card: 24px;
  --r-btn:  999px;
  --r-sm:   12px;

  /* Layout */
  --max-w: 1200px;
  --section-y: 90px;
}

/* ── 2. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
}

/* ── 3. LAYOUT ────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: var(--section-y) 24px;
}

.section-alt {
  background: var(--bg-soft);
}

/* ── 4. TYPOGRAPHY ────────────────────────────────────────── */
h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--white);
}

h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}

h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet-500);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 600px;
}

.section-header {
  margin-bottom: 56px;
}

/* ── 5. NAV ───────────────────────────────────────────────── */
#navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250, 248, 255, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s;
}

#navbar.scrolled {
  box-shadow: 0 4px 24px rgba(109, 40, 217, 0.08);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.18s;
}

.nav-links a:hover {
  color: var(--violet-600);
}

.nav-cta {
  flex-shrink: 0;
  padding: 10px 22px;
  background: var(--grad-primary);
  color: var(--white) !important;
  border-radius: var(--r-btn);
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-btn);
  transition: opacity 0.2s, transform 0.2s;
}

.nav-cta:hover {
  opacity: 0.90;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* ── 6. HERO ──────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.20), rgba(255,255,255,0) 42%),
    radial-gradient(circle at 10% 80%, rgba(109, 40, 217, 0.12), rgba(255,255,255,0) 36%),
    var(--grad-dark);
  color: var(--white);
  padding: 100px 24px 84px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--bg);
  clip-path: ellipse(60% 100% at 50% 100%);
}

.hero-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--magenta-glow);
  margin-bottom: 20px;
}

.hero h1 {
  margin-bottom: 22px;
}

.hero-highlight {
  background: linear-gradient(90deg, #C060F0, #E879F9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  margin: 0 auto 36px;
}

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

.hero-mascot {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

.hero-mascot img {
  width: 100px;
  height: auto;
  opacity: 0.90;
  filter: drop-shadow(0 0 28px rgba(192, 96, 240, 0.45));
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* ── 7. BUTTONS ───────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: var(--grad-primary);
  color: var(--white);
  border-radius: var(--r-btn);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 12px 32px rgba(168, 85, 247, 0.30);
  transition: opacity 0.2s, transform 0.2s;
}

.btn-primary:hover {
  opacity: 0.90;
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  padding: 14px 28px;
  background: transparent;
  color: var(--white);
  border-radius: var(--r-btn);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.35);
  transition: background 0.2s, border-color 0.2s;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-solid {
  display: inline-block;
  padding: 13px 26px;
  background: var(--grad-primary);
  color: var(--white);
  border-radius: var(--r-btn);
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-btn);
  transition: opacity 0.2s, transform 0.2s;
}

.btn-solid:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.btn-ghost-dark {
  display: inline-block;
  padding: 13px 26px;
  background: transparent;
  color: var(--violet-600);
  border-radius: var(--r-btn);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--line);
  transition: background 0.2s, border-color 0.2s;
}

.btn-ghost-dark:hover {
  background: rgba(109, 40, 217, 0.06);
  border-color: var(--violet-500);
}

/* ── 8. SERVICE CARDS ─────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.card {
  background: var(--grad-card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 64px rgba(109, 40, 217, 0.14);
}

.card-highlight {
  background: var(--grad-dark);
  border-color: rgba(168, 85, 247, 0.30);
}

.card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: var(--r-btn);
  box-shadow: var(--shadow-btn);
  white-space: nowrap;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(109, 40, 217, 0.22);
  flex-shrink: 0;
}

.card-icon-light {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

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

.card-highlight h3 {
  color: var(--white);
}

.card p {
  font-size: 14px;
  margin-bottom: 16px;
}

.card-highlight p {
  color: rgba(255, 255, 255, 0.78);
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-list li {
  font-size: 13.5px;
  color: var(--ink-soft);
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.card-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--purple-500);
  font-weight: 800;
}

.card-list-light li {
  color: rgba(255, 255, 255, 0.78);
}

.card-list-light li::before {
  color: var(--magenta-glow);
}

/* ── 9. DIFERENCIAIS ──────────────────────────────────────── */
.diferenciais-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.dif-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: box-shadow 0.25s, transform 0.25s;
}

.dif-item:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.dif-num {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--grad-primary);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.20);
}

.dif-text h4 {
  margin-bottom: 6px;
}

.dif-text p {
  font-size: 13.5px;
  line-height: 1.7;
}

/* ── 10. PROCESSO / STEPS ─────────────────────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  max-width: 720px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 44px;
  bottom: 44px;
  width: 2px;
  background: linear-gradient(180deg, var(--violet-600), var(--magenta-500));
  opacity: 0.22;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
}

.step-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--r-btn);
  background: var(--grad-primary);
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(109, 40, 217, 0.22);
  position: relative;
  z-index: 1;
}

.step-content h3 {
  margin-bottom: 8px;
  margin-top: 14px;
}

.step-content p {
  font-size: 14px;
  line-height: 1.75;
}

/* ── 11. CASE BOX ─────────────────────────────────────────── */
.case-box {
  background: var(--grad-dark);
  border-radius: 28px;
  padding: 56px 48px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.case-box::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 96, 240, 0.28), transparent 70%);
  pointer-events: none;
}

.case-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--magenta-glow);
  margin-bottom: 16px;
}

.case-box h2 {
  color: var(--white);
  margin-bottom: 18px;
  font-size: clamp(22px, 3vw, 34px);
}

.case-box p {
  color: rgba(255, 255, 255, 0.80);
  margin-bottom: 14px;
  font-size: 15px;
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.metric {
  text-align: center;
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-value {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(90deg, #C060F0, #E879F9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1.1;
}

.metric-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.60);
  margin-top: 6px;
  line-height: 1.45;
  display: block;
}

/* ── 12. AUTOR ────────────────────────────────────────────── */
.autor-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: center;
}

.autor-photo-wrap {
  position: relative;
}

.autor-photo {
  width: 100%;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.autor-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  width: 72px;
  height: 72px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(109, 40, 217, 0.18);
  padding: 10px;
}

.autor-badge img {
  width: 100%;
  height: auto;
}

.autor-role {
  font-size: 14px;
  font-weight: 600;
  color: var(--violet-500);
  margin-bottom: 20px;
}

.autor-body .section-eyebrow {
  display: block;
}

.autor-body p {
  margin-bottom: 14px;
}

.autor-quote {
  border-left: 3px solid var(--violet-600);
  padding: 16px 20px;
  margin: 28px 0;
  background: var(--bg);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.autor-quote span {
  display: block;
  font-size: 16px;
  font-weight: 700;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 6px;
}

.autor-quote cite {
  display: block;
  font-size: 13px;
  font-style: normal;
  color: var(--muted);
}

.autor-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── 13. CONTATO / FORM ───────────────────────────────────── */
.contato-center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.contato-form {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--violet-500);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--grad-primary);
  color: var(--white);
  border: none;
  border-radius: var(--r-btn);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: opacity 0.2s, transform 0.2s;
}

.form-submit:hover {
  opacity: 0.90;
  transform: translateY(-1px);
}

.form-submit.submitted {
  background: linear-gradient(135deg, #16a34a, #15803d);
}

/* ── 14. FOOTER ───────────────────────────────────────────── */
footer {
  background: var(--grad-dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 60px 24px 36px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
}

.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: 280px;
}

.footer-lema {
  margin-top: 20px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--magenta-glow);
  line-height: 1.65;
}

.footer-lema em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
}

.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.58);
  transition: color 0.18s;
}

.footer-col ul a:hover {
  color: var(--magenta-glow);
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.40);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  transition: background 0.2s, color 0.2s;
}

.social-link:hover {
  background: var(--violet-600);
  color: var(--white);
}

/* ── 15. RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }

  .autor-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .autor-photo {
    aspect-ratio: 16 / 9;
    max-height: 340px;
    object-position: top;
  }

  .autor-badge {
    bottom: -14px;
    right: 16px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-y: 64px;
  }

  /* Mobile nav */
  .nav-links {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(250, 248, 255, 0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    z-index: 190;
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  /* Hero */
  .hero {
    padding: 80px 20px 68px;
  }

  /* Grids */
  .diferenciais-grid {
    grid-template-columns: 1fr;
  }

  .case-box {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    gap: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .autor-actions {
    flex-direction: column;
  }

  .autor-actions .btn-solid,
  .autor-actions .btn-ghost-dark {
    text-align: center;
  }
}

@media (max-width: 480px) {
  section {
    padding: 56px 16px;
  }

  .metrics {
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
  }
}
