/* =========================================================
   AquaPura Amadora - Design System & Modern Soft Agency
   Wash Start: #F7F5FF | Wash End: #EEE9FF
   Card: #FFFFFF | Accent: #6D28D9 | Second Accent: #C4B5FD
   Headings: Manrope | Body: Inter
========================================================= */

:root {
  --wash-start: #F7F5FF;
  --wash-end: #EEE9FF;
  --card-bg: #FFFFFF;
  --accent: #6D28D9;
  --second-accent: #C4B5FD;
  --text-main: #1F2937;
  --text-muted: #6B7280;
  --border-subtle: #E9D5FF;
  --shadow-soft: 0 10px 25px -5px rgba(109, 40, 217, 0.08), 0 8px 10px -6px rgba(109, 40, 217, 0.05);
  --shadow-card: 0 14px 34px -4px rgba(109, 40, 217, 0.07), 0 4px 12px rgba(0, 0, 0, 0.03);
  --radius-pill: 9999px;
  --radius-card: 24px;
  --radius-inner: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background: linear-gradient(180deg, var(--wash-start) 0%, var(--wash-end) 100%);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Manrope', system-ui, sans-serif;
  color: #111827;
  letter-spacing: -0.02em;
  font-weight: 700;
}

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

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

/* Header Centrado */
.site-header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 181, 253, 0.35);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: #111827;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #ffffff;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.25);
}

.brand-name span {
  color: var(--accent);
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--accent);
}

/* Pill Badges & Buttons */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  box-shadow: var(--shadow-soft);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.primary-btn {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.3);
}

.primary-btn:hover {
  background: #5b21b6;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(109, 40, 217, 0.35);
}

.ghost-btn {
  background: #ffffff;
  color: var(--accent);
  border: 1px solid var(--border-subtle);
}

.ghost-btn:hover {
  background: #FAF7FF;
  border-color: var(--second-accent);
  transform: translateY(-2px);
}

.sm-pill {
  padding: 8px 18px;
  font-size: 0.875rem;
}

/* Hero Section */
.hero-section {
  padding: 64px 0 40px;
  text-align: center;
}

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

.hero-pill {
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  line-height: 1.16;
  max-width: 820px;
  margin-bottom: 20px;
}

.hero-subcopy {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 660px;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 50px;
}

/* Mock Product Preview Frame */
.preview-frame {
  width: 100%;
  max-width: 880px;
  background: var(--card-bg);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  text-align: left;
}

.frame-topbar {
  background: #FAF9FF;
  border-bottom: 1px solid rgba(196, 181, 253, 0.3);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.frame-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #fca5a5; }
.dot-yellow { background: #fde047; }
.dot-green { background: #86efac; }

.frame-searchbar {
  flex-grow: 1;
  max-width: 320px;
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 0.75rem;
  color: #9CA3AF;
}

.frame-body {
  padding: 24px;
  background: #FFFFFF;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.mock-box.sm-accent {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
}

.mock-pill-right {
  margin-left: auto;
  width: 90px;
  height: 24px;
  background: var(--second-accent);
  border-radius: var(--radius-pill);
  opacity: 0.6;
}

.mock-line {
  height: 10px;
  background: #E5E7EB;
  border-radius: 5px;
}

.mock-line.light { background: #F3F4F6; }
.w-30 { width: 30%; }
.w-40 { width: 40%; }
.w-50 { width: 50%; }
.w-60 { width: 60%; }
.w-75 { width: 75%; }
.w-80 { width: 80%; }
.w-90 { width: 90%; }
.mb-md { margin-bottom: 16px; }

.mock-grid-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.mock-stat-card {
  background: #F9FAFB;
  border: 1px solid #F3F4F6;
  border-radius: var(--radius-inner);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-stat-card.active-card {
  background: #F7F5FF;
  border-color: var(--border-subtle);
}

.mock-icon-block {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #E5E7EB;
}

.mock-icon-block.accent-fill {
  background: var(--second-accent);
}

.mock-chart-panel {
  background: #FAF9FF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-inner);
  padding: 20px;
}

.mock-bar-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 70px;
  padding-top: 10px;
}

.mock-bar {
  width: 10%;
  background: #E9D5FF;
  border-radius: 4px 4px 0 0;
}

.mock-bar.accent-bar {
  background: var(--accent);
}

.h-40 { height: 40%; }
.h-50 { height: 50%; }
.h-55 { height: 55%; }
.h-65 { height: 65%; }
.h-70 { height: 70%; }
.h-85 { height: 85%; }
.h-95 { height: 95%; }

/* Thin Trust Strip */
.trust-strip {
  padding: 24px 0;
  border-top: 1px solid rgba(196, 181, 253, 0.4);
  border-bottom: 1px solid rgba(196, 181, 253, 0.4);
  background: rgba(255, 255, 255, 0.5);
  margin: 40px 0 60px;
}

.trust-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-item {
  font-size: 0.95rem;
  font-weight: 600;
  color: #4B5563;
}

.trust-bullet {
  color: var(--second-accent);
  font-size: 0.8rem;
}

/* Features Section (5 Cards) */
.section-services {
  padding: 40px 0 70px;
}

.section-header-centered {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-header-centered .pill-badge {
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(196, 181, 253, 0.35);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -8px rgba(109, 40, 217, 0.12);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-inner);
  background: #F7F5FF;
  border: 1px solid var(--border-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.2s ease;
}

.feature-link:hover {
  gap: 9px;
  text-decoration: underline;
}

/* How It Works (4 Steps) */
.section-steps {
  padding: 50px 0 80px;
}

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

.step-card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(196, 181, 253, 0.3);
  position: relative;
  display: flex;
  flex-direction: column;
}

.step-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #F7F5FF;
  border: 1px solid var(--border-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step-count-pill {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  background: var(--second-accent);
  color: #4C1D95;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-heading {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.step-detail {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* FAQ Accordion (4 Items) */
.section-faq {
  padding: 50px 0 80px;
}

.faq-container {
  max-width: 820px;
}

.accordion-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--card-bg);
  border-radius: 18px;
  border: 1px solid rgba(196, 181, 253, 0.4);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.active {
  border-color: var(--accent);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  gap: 16px;
}

.faq-question {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1F2937;
}

.faq-icon {
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-content {
  max-height: 250px;
  padding-bottom: 22px;
}

.faq-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Big Rounded CTA Banner */
.section-cta-banner {
  padding: 30px 0 80px;
}

.cta-card-box {
  background: linear-gradient(135deg, #6D28D9 0%, #5B21B6 100%);
  border-radius: 32px;
  padding: 60px 40px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 20px 40px -10px rgba(109, 40, 217, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-card-box .light-pill {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  margin-bottom: 18px;
}

.cta-title {
  color: #FFFFFF;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  max-width: 760px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-desc {
  color: #E9D5FF;
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 36px;
}

.appointment-form {
  width: 100%;
  max-width: 780px;
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.pill-input {
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.95);
  font-family: inherit;
  font-size: 0.9rem;
  color: #1F2937;
  outline: none;
}

.pill-input:focus {
  border-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(196, 181, 253, 0.4);
}

.btn-full {
  width: 100%;
  background: #ffffff;
  color: var(--accent);
}

.btn-full:hover {
  background: #FAF7FF;
  color: #5B21B6;
}

.form-success-banner {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 20px;
}

.direct-contact-tags {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.875rem;
  color: #EDE9FE;
  margin-top: 10px;
}

.tag-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Footer */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  padding-top: 50px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand-desc {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-heading {
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #F7F5FF;
  border: 1px solid var(--border-subtle);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.social-btn:hover {
  background: var(--accent);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid #F3F4F6;
  padding: 20px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.link-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.sep {
  color: #D1D5DB;
}

/* Modal Privacidade */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-card);
  max-width: 600px;
  width: 100%;
  padding: 30px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #F3F4F6;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-body {
  font-size: 0.95rem;
  color: #4B5563;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-footer {
  margin-top: 24px;
  text-align: right;
}

/* Responsividade */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 16px;
  }

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

  .cta-card-box {
    padding: 40px 20px;
  }

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

  .footer-bottom-flex {
    flex-direction: column;
    text-align: center;
  }
}
