/* ============================================================
   Stillo — Estilos (landing page)
   ============================================================ */

:root {
  --primary: #6c3ff6;
  --primary-dark: #5527d6;
  --accent: #00c2ff;
  --dark: #0b0f1e;
  --dark-2: #121830;
  --bg: #f7f7fc;
  --surface: #ffffff;
  --text: #141a2e;
  --muted: #5a6178;
  --border: #e6e8f2;
  --white-60: rgba(255, 255, 255, 0.6);
  --white-40: rgba(255, 255, 255, 0.4);
  --white-12: rgba(255, 255, 255, 0.12);
  --white-08: rgba(255, 255, 255, 0.08);
  --gradient: linear-gradient(135deg, #6c3ff6, #00c2ff);
  --radius: 18px;
  --shadow: 0 20px 50px rgba(20, 26, 46, 0.12);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 14px; font-weight: 800; }

p { margin: 0 0 16px; }

a { color: var(--primary); text-decoration: none; }

.container { width: min(1140px, 92%); margin-inline: auto; }

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108, 63, 246, 0.1);
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(108, 63, 246, 0.18); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 14px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 12px 30px rgba(108, 63, 246, 0.35); }
.btn-glass { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.35); backdrop-filter: blur(8px); }
.btn-outline { background: #fff; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.35); }
.btn-light { background: #fff; color: var(--primary); }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-small { padding: 8px 14px; font-size: 13px; border-radius: 10px; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 15, 30, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner { display: flex; align-items: center; gap: 30px; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; }
.logo img { width: 81px; height: 81px; object-fit: contain; }
.logo-text { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.nav { display: flex; gap: 20px; margin-inline: auto; }
.nav a { color: var(--white-60); font-weight: 600; font-size: 14.5px; position: relative; padding-bottom: 4px; transition: color 0.2s; white-space: nowrap; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gradient); transition: width 0.2s; }
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a.active { width: 100%; }
.nav a.active { color: #fff; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: #fff; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(rgba(11, 15, 30, 0.85), rgba(11, 15, 30, 0.92)),
    url('../assets/fundo.png') center 80% / cover no-repeat,
    radial-gradient(900px 500px at 85% -10%, rgba(0, 194, 255, 0.18), transparent 60%),
    radial-gradient(800px 600px at -10% 110%, rgba(108, 63, 246, 0.28), transparent 60%),
    var(--dark);
  color: #fff;
  padding: 225px 0 165px;
  overflow: hidden;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; pointer-events: none; }
.hero-glow-1 { width: 420px; height: 420px; background: rgba(108, 63, 246, 0.5); top: -120px; right: -80px; }
.hero-glow-2 { width: 360px; height: 360px; background: rgba(0, 194, 255, 0.35); bottom: -140px; left: -100px; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); letter-spacing: -1.5px; }
.hero .badge { background: rgba(108, 63, 246, 0.28); color: #d9ccff; }
.hero .badge-dot { background: #a78bfa; box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.25); }
.hero h1 .text-gradient { font-size: 1.1em; }

.hero-sub { font-size: 18px; color: var(--white-60); max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 40px; }
.hero-stats { display: flex; gap: 44px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 30px; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { font-size: 13px; color: var(--white-40); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-dark { background: var(--dark); color: #fff; }
.section-alt { background: #fff; }
#processo { background: #f2f2f7; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -1px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.section-dark .section-head p { color: var(--white-60); }

/* ---------- Serviços ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 32px 28px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-icon { width: 56px; height: 56px; border-radius: 16px; background: #efecff; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; overflow: hidden; }
.service-icon img { width: 100%; height: 100%; object-fit: contain; }
.service-card h3 { font-size: 20px; }
.service-card > p { color: var(--muted); font-size: 15px; }
.service-card ul { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--border); padding-top: 16px; }
.service-card li { font-size: 14px; font-weight: 600; padding: 5px 0 5px 24px; position: relative; color: var(--text); }
.service-card li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 800; }

/* ---------- Serviços — cards em secções escuras (Sobre) ---------- */
#sobre .service-card {
  background: linear-gradient(165deg, rgba(108, 63, 246, 0.18), rgba(0, 194, 255, 0.1) 75%);
  border: 1px solid rgba(108, 63, 246, 0.38);
  border-radius: 22px;
  padding: 32px 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

#sobre .service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 194, 255, 0.6);
}

#sobre .service-icon {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(108, 63, 246, 0.4);
  box-shadow: 0 12px 30px rgba(108, 63, 246, 0.28);
  border-radius: 16px;
}

#sobre .service-card h3 { color: #ffffff; }

#sobre .service-card > p { color: var(--white-60); }

#sobre .service-card ul { border-top-color: var(--white-12); }

#sobre .service-card li { color: #ffffff; }

#sobre .service-card li::before { background: rgba(108, 63, 246, 0.4); color: #e6dcff; }

/* ---------- Planos ---------- */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.plan-card {
  position: relative;
  background: var(--white-08);
  border: 1px solid var(--white-12);
  border-radius: 24px;
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
}
.plan-card.highlighted { background: linear-gradient(160deg, #7a4ff0, #3f7bff); border: none; box-shadow: 0 30px 70px rgba(108, 63, 246, 0.45); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gradient); color: #fff; font-size: 12px; font-weight: 800; padding: 6px 16px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.6px; }
.plan-name { font-size: 20px; color: #fff; margin-bottom: 4px; }
.plan-tagline { color: var(--white-60); font-size: 14px; margin: 0; }
.plan-price { margin: 22px 0 8px; }
.plan-amount { font-size: 46px; font-weight: 800; color: #fff; letter-spacing: -1.5px; }
.plan-period { color: var(--white-60); font-size: 14px; margin-left: 8px; }
.plan-features { list-style: none; padding: 0; margin: 20px 0 30px; flex: 1; }
.plan-features li { color: var(--white-60); font-size: 14.5px; padding: 9px 0 9px 32px; position: relative; border-bottom: 1px dashed var(--white-12); }
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before { content: '✓'; position: absolute; left: 0; top: 8px; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.plan-card .btn { margin-top: auto; }
.plans-note { text-align: center; margin: 44px 0 0; color: var(--white-60); }
.plans-note a { color: #fff; font-weight: 700; text-decoration: underline; }

/* ---------- Passos ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { text-align: center; padding: 0 10px; }
.step-number { width: 60px; height: 60px; border-radius: 50%; background: var(--gradient); color: #fff; font-weight: 800; font-size: 20px; display: grid; place-items: center; margin: 0 auto 18px; box-shadow: 0 14px 30px rgba(108, 63, 246, 0.35); }
.step h3 { font-size: 18px; }
.step p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Galeria ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-card { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); border: 1px solid rgba(108, 63, 246, 0.22); transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.gallery-card:hover { transform: translateY(-5px); box-shadow: 0 30px 60px rgba(20, 26, 46, 0.28); border-color: rgba(108, 63, 246, 0.45); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; }
.gallery-card .g-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 22px; text-align: center; }
.gallery-card .g-ph span { color: rgba(255, 255, 255, 0.98); font-weight: 700; font-size: 17px; letter-spacing: -0.3px; line-height: 1.35; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45); }
.gallery-card .g-ph p { margin: 0; color: rgba(255, 255, 255, 0.88); font-size: 13.5px; line-height: 1.6; }
.gallery-card .g-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.65)); color: #fff; font-weight: 700; font-size: 14.5px; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); letter-spacing: -0.8px; }
.contact-info > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 24px 0; }
.contact-list li { padding: 10px 0; font-weight: 600; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.contact-list li img { width: 40px; height: 40px; object-fit: contain; }
.contact-list a { color: var(--text); }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.contact-mini { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.contact-mini strong { display: block; font-size: 14.5px; margin-bottom: 4px; }
.contact-mini span { color: var(--muted); font-size: 13px; }

.contact-form-wrap { position: relative; }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 34px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.form-field input,
.form-field select,
.form-field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 12px; font-family: var(--font); font-size: 14.5px; background: #fff; color: var(--text); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(108, 63, 246, 0.12); }
.form-field textarea { resize: vertical; }
.form-note { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
.form-error { background: #ffe9e9; color: #c0392b; padding: 10px 14px; border-radius: 10px; font-size: 13.5px; font-weight: 600; margin-bottom: 14px; }
.form-success { text-align: center; padding: 40px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; }
.form-success-icon { font-size: 40px; margin-bottom: 10px; }
.form-success h4 { font-size: 20px; }
.form-success p { color: var(--muted); margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--white-60); padding: 70px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--white-08); }
.footer-brand img { width: 46px; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--white-60); font-size: 14px; padding: 5px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; color: var(--white-40); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 70px; }
  .hero-sub { max-width: 640px; }
  .services-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .plan-card.highlighted { transform: none; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav { position: absolute; top: 74px; left: 0; right: 0; background: var(--dark); flex-direction: column; padding: 22px 5%; gap: 18px; border-bottom: 1px solid var(--white-08); display: none; }
  .nav.open { display: flex; }
  .nav a { color: #fff; }
  .nav-toggle { display: flex; }
  .header-cta { margin-left: auto; }
  .section { padding: 70px 0; }
  .hero { padding: 130px 0 90px; }
  .steps-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
}
