/* =========================================
   Savi — Site institucional
   Identidade: teal #0d9488, fonte Playfair Display + Inter
   ========================================= */

:root {
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-light: #14b8a6;
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --bg: #f8fafb;
  --white: #ffffff;
  --text: #0f172a;
  --text-soft: #334155;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 118, 110, 0.10);
  --shadow-lg: 0 20px 48px rgba(15, 118, 110, 0.18);
  --container: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* =========================================
   Tipografia
   ========================================= */

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.eyebrow.center {
  text-align: center;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  text-align: center;
  margin-bottom: 56px;
  letter-spacing: -0.5px;
}

/* =========================================
   Header
   ========================================= */

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

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -0.5px;
}

.logo-text-light {
  color: var(--white);
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

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

@media (max-width: 768px) {
  .nav {
    display: none;
  }
}

/* =========================================
   Botões
   ========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  color: var(--teal);
  background: transparent;
}

.btn-ghost:hover {
  color: var(--teal-dark);
}

.btn-outline {
  background: var(--white);
  color: var(--teal);
  border-color: var(--teal);
}

.btn-outline:hover {
  background: var(--teal-50);
}

.btn:disabled,
.btn[disabled] {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none !important;
  box-shadow: none !important;
}

/* =========================================
   Hero
   ========================================= */

.hero {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, var(--white) 0%, var(--teal-50) 100%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--text);
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero-title-accent {
  color: var(--teal);
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-note {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-app-icon {
  width: 100%;
  max-width: 360px;
  border-radius: 48px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-3deg);
  transition: transform 0.4s ease;
}

.hero-app-icon:hover {
  transform: rotate(0deg);
}

@media (max-width: 900px) {
  .hero {
    padding: 60px 0 80px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-app-icon {
    max-width: 280px;
  }
}

/* =========================================
   Features
   ========================================= */

.features {
  padding: 100px 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-50);
  border-radius: 16px;
}

.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* =========================================
   Lia
   ========================================= */

.lia {
  padding: 100px 0;
  background: var(--teal-50);
}

.lia-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.lia-visual {
  display: flex;
  justify-content: center;
}

.lia-avatar {
  width: 100%;
  max-width: 360px;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--white);
}

.lia-content .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.lia-text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 24px;
}

.lia-list {
  list-style: none;
  margin-bottom: 24px;
}

.lia-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--text-soft);
}

.lia-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.lia-disclaimer {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  padding: 12px 16px;
  background: var(--white);
  border-radius: 8px;
  border-left: 3px solid var(--teal);
}

@media (max-width: 900px) {
  .lia {
    padding: 80px 0;
  }

  .lia-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .lia-content .section-title {
    text-align: center;
  }

  .lia-avatar {
    max-width: 240px;
  }
}

/* =========================================
   How it works
   ========================================= */

.how {
  padding: 100px 0;
  background: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.step {
  text-align: center;
  padding: 32px 24px;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.step h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.step p {
  color: var(--text-soft);
  font-size: 15px;
}

/* =========================================
   Legal pages
   ========================================= */

.legal {
  padding: 80px 0 100px;
  background: var(--white);
}

.legal-inner {
  max-width: 760px;
}

.legal-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  line-height: 1.15;
}

.legal-updated {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.legal-section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 16px;
}

.legal-section ul {
  margin: 0 0 16px 0;
  padding-left: 24px;
}

.legal-section li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.legal-section strong {
  color: var(--text);
  font-weight: 600;
}

.legal-section a {
  color: var(--teal);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.legal-section a:hover {
  border-bottom-color: var(--teal);
}

.support-email {
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: 12px;
  padding: 20px 24px;
  text-align: center;
  margin: 16px 0 24px !important;
}

.support-email a {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--teal-dark) !important;
  border-bottom: none !important;
}

.support-email a:hover {
  color: var(--teal) !important;
}

/* =========================================
   About
   ========================================= */

.about {
  padding: 100px 0;
  background: var(--white);
}

.about-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 20px;
}

.about-content p:last-child {
  margin-bottom: 0;
}

.about-content strong {
  color: var(--teal);
  font-weight: 700;
}

/* =========================================
   CTA
   ========================================= */

.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 50%, var(--teal-light) 100%);
  text-align: center;
}

.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cta .btn-primary {
  background: var(--white);
  color: var(--teal);
}

.cta .btn-primary:hover {
  background: var(--teal-50);
}

.cta .btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cta-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

/* =========================================
   Footer
   ========================================= */

.footer {
  background: var(--text);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-tagline {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-social {
  margin-top: 20px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--white);
}

.footer-column a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 24px 0;
}

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

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

.footer-credit-link {
  color: var(--teal-light);
  font-weight: 600;
  transition: color 0.2s;
}

.footer-credit-link:hover {
  color: var(--white);
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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