﻿/* ============================================================
   PORTIA SYSTEMS - Landing Page
   ============================================================ */

:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;

  --cyan-500: #0891b2;
  --cyan-600: #0e7490;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0f172a;

  --white: #ffffff;
  --green-500: #10b981;
  --red-500: #ef4444;

  --gradient-brand: linear-gradient(135deg, #0891b2 0%, #2563eb 100%);
  --gradient-bg: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);

  --container: 1200px;
  --radius: 16px;
  --radius-lg: 24px;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--gradient-bg);
  color: var(--slate-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-700);
  transition: color 120ms;
}

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

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 120ms;
}

.lang-toggle:hover {
  background: var(--blue-100);
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  padding: 96px 0 80px;
  text-align: center;
  background: radial-gradient(ellipse at top, var(--blue-50) 0%, transparent 60%);
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--slate-600);
  margin-bottom: 40px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

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

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 120ms, box-shadow 200ms, background 120ms;
  border: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background: var(--white);
  color: var(--slate-900);
  border: 2px solid var(--slate-200);
}

.btn-secondary:hover {
  border-color: var(--blue-500);
  color: var(--blue-600);
}

/* ------------------------------------------------------------
   Sections
   ------------------------------------------------------------ */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--slate-600);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

/* ------------------------------------------------------------
   Problema / Solução
   ------------------------------------------------------------ */
.problem-solution {
  background: var(--white);
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.column h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
}

.list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.list li {
  position: relative;
  padding-left: 36px;
  font-size: 17px;
  color: var(--slate-700);
}

.list-negative li::before {
  content: '✕';
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.1);
  color: var(--red-500);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.list-positive li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: var(--green-500);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* ------------------------------------------------------------
   Grid
   ------------------------------------------------------------ */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ------------------------------------------------------------
   Cards
   ------------------------------------------------------------ */
.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 200ms, box-shadow 200ms, border-color 200ms;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  border-color: var(--blue-200);
}

.card-icon {
  font-size: 40px;
  margin-bottom: 16px;
  line-height: 1;
}

.card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--slate-900);
}

.card p {
  font-size: 15px;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ------------------------------------------------------------
   Why
   ------------------------------------------------------------ */
.why {
  background: var(--white);
}

.why-item {
  padding: 8px 0;
}

.why-icon {
  font-size: 36px;
  margin-bottom: 12px;
  line-height: 1;
}

.why-item h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.why-item p {
  font-size: 16px;
  color: var(--slate-600);
}

/* ------------------------------------------------------------
   CTA
   ------------------------------------------------------------ */
.cta {
  background: var(--gradient-brand);
  color: var(--white);
  text-align: center;
  padding: 96px 0;
}

.cta-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: clamp(16px, 1.5vw, 20px);
  opacity: 0.9;
  margin-bottom: 40px;
}

.cta .btn-primary {
  background: var(--white);
  color: var(--blue-700);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta .btn-primary:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.cta-email {
  margin-top: 24px;
  font-size: 15px;
  opacity: 0.85;
  font-weight: 600;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand img {
  height: 32px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-info {
  font-size: 14px;
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .two-columns { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .nav { display: none; }
  .hero { padding: 64px 0 48px; }
  .section { padding: 56px 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .cta { padding: 64px 0; }
  .footer-inner { flex-direction: column; text-align: center; }
}
