/* 2W Sites — design system (espelha o projeto React/Tailwind) */

:root {
  --radius: 0.75rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --radius-2xl: calc(var(--radius) + 8px);

  --background: oklch(0.14 0.02 250);
  --foreground: oklch(0.98 0.01 180);
  --card: oklch(0.19 0.025 250);
  --card-foreground: oklch(0.98 0.01 180);
  --popover: oklch(0.19 0.025 250);
  --popover-foreground: oklch(0.98 0.01 180);
  --primary: oklch(0.88 0.18 165);
  --primary-foreground: oklch(0.15 0.03 250);
  --secondary: oklch(0.24 0.03 250);
  --secondary-foreground: oklch(0.98 0.01 180);
  --muted: oklch(0.22 0.025 250);
  --muted-foreground: oklch(0.72 0.02 220);
  --accent: oklch(0.88 0.18 165);
  --accent-foreground: oklch(0.15 0.03 250);
  --destructive: oklch(0.62 0.24 27);
  --destructive-foreground: oklch(0.98 0.01 180);
  --border: oklch(0.28 0.03 250);
  --input: oklch(0.24 0.03 250);
  --ring: oklch(0.88 0.18 165);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--background);
  color: var(--foreground);
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
.font-display {
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.02em;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Layout */
.container {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

.container-narrow {
  width: 100%;
  max-width: 56rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

.container-faq {
  width: 100%;
  max-width: 48rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

.min-h-screen {
  min-height: 100vh;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid color-mix(in oklch, var(--border) 60%, transparent);
  background-color: color-mix(in oklch, var(--background) 80%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  max-width: 72rem;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-lg);
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.875rem;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.nav-desktop a {
  color: var(--muted-foreground);
  transition: color 0.15s ease;
}

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

.header-cta {
  display: none;
}

.menu-toggle {
  display: inline-flex;
}

@media (min-width: 768px) {
  .nav-desktop,
  .header-cta {
    display: block;
  }

  .menu-toggle {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease,
    transform 0.15s ease;
  border: none;
  font-family: inherit;
  text-decoration: none;
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px var(--ring);
}

.btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  pointer-events: none;
}

.btn-default {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.1);
}

.btn-default:hover {
  background: color-mix(in oklch, var(--primary) 90%, transparent);
}

.btn-outline {
  border: 1px solid var(--input);
  background: var(--background);
  color: var(--foreground);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--accent-foreground);
}

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

.btn-ghost:hover {
  background: var(--accent);
  color: var(--accent-foreground);
}

.btn-sm {
  height: 2rem;
  padding: 0 0.75rem;
  font-size: 0.75rem;
}

.btn-lg {
  height: 2.5rem;
  padding: 0 2rem;
  border-radius: var(--radius-md);
}

.btn-lg svg {
  width: 1.25rem;
  height: 1.25rem;
}

.btn-icon {
  height: 2.25rem;
  width: 2.25rem;
  padding: 0;
}

.btn-full {
  width: 100%;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  padding: 0.125rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
}

.badge-secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.badge-outline {
  border-color: var(--border);
  color: var(--foreground);
  background: transparent;
}

.badge-default {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.1);
}

.badge svg {
  width: 0.75rem;
  height: 0.75rem;
  margin-right: 0.25rem;
}

/* Card */
.card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--card-foreground);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.1);
}

.card-content {
  padding: 1.5rem;
}

.card-hover {
  transition: border-color 0.15s ease;
}

.card-hover:hover {
  border-color: color-mix(in oklch, var(--primary) 60%, transparent);
}

.card-highlight {
  border-color: var(--primary);
  box-shadow: 0 10px 15px -3px color-mix(in oklch, var(--primary) 10%, transparent),
    0 4px 6px -4px color-mix(in oklch, var(--primary) 10%, transparent);
}

.card-flex {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Hero glow */
.bg-hero-glow {
  background:
    radial-gradient(60% 60% at 80% 20%, oklch(0.88 0.18 165 / 0.25), transparent 60%),
    radial-gradient(50% 50% at 10% 90%, oklch(0.88 0.18 165 / 0.15), transparent 60%),
    var(--background);
}

/* Breadcrumb */
.breadcrumb {
  margin-bottom: 2rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  word-break: break-word;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.breadcrumb-link {
  transition: color 0.15s ease;
}

.breadcrumb-link:hover {
  color: var(--foreground);
}

.breadcrumb-page {
  font-weight: 400;
  color: var(--foreground);
}

.breadcrumb-sep svg {
  width: 0.875rem;
  height: 0.875rem;
}

/* Sections */
.section {
  border-top: 1px solid color-mix(in oklch, var(--border) 60%, transparent);
  padding-block: 5rem;
}

.section-alt {
  background: color-mix(in oklch, var(--card) 30%, transparent);
}

.section-hero {
  position: relative;
  overflow: hidden;
  padding-block: 4rem;
}

.section-cta {
  padding-block: 6rem;
  text-align: center;
}

@media (min-width: 768px) {
  .section-hero {
    padding-block: 6rem;
  }
}

.section-intro {
  max-width: 42rem;
}

.section-intro .badge {
  margin-bottom: 1rem;
}

.section-title {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-desc {
  margin: 1rem 0 0;
  color: var(--muted-foreground);
}

/* Hero */
.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.1fr 1fr;
  }
}

.hero-badge {
  margin-bottom: 1.25rem;
}

.hero-title {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.05;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.text-primary {
  color: var(--primary);
}

.hero-lead {
  margin: 1.5rem 0 0;
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.hero-lead strong {
  color: var(--foreground);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.perk {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.perk svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.hero-image {
  width: 100%;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.4);
}

/* About */
.about-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-text {
  margin: 1.25rem 0 0;
  color: var(--muted-foreground);
}

.about-text strong {
  color: var(--foreground);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-value {
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.stat-label {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Services */
.services-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.service-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-lg);
  background: color-mix(in oklch, var(--primary) 10%, transparent);
  color: var(--primary);
}

.service-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.service-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.service-desc {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Benefits */
.benefits-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--background);
  padding: 1.5rem;
}

.benefit-card svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.benefit-title {
  margin: 1rem 0 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.benefit-desc {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Process */
.process-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.process-step {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
}

.process-num {
  margin-bottom: 0.75rem;
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.process-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.process-desc {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plan-name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.plan-desc {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.plan-price {
  margin-top: 1rem;
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.plan-features {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.plan-features svg {
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
  color: var(--primary);
}

.plan-cta {
  margin-top: 1.5rem;
}

.badge-mb {
  margin-bottom: 0.75rem;
  width: fit-content;
}

/* Location */
.location-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .location-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--muted-foreground);
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
}

.contact-row svg {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
  color: var(--primary);
}

.contact-row a:hover {
  color: var(--foreground);
}

.map-wrap {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
}

.map-wrap iframe {
  width: 100%;
  min-height: 320px;
  height: 100%;
  border: 0;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stars {
  display: flex;
  gap: 0.25rem;
  color: var(--primary);
}

.stars svg {
  width: 1rem;
  height: 1rem;
  fill: var(--primary);
}

.testimonial-text {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.testimonial-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: 0.75rem;
}

.testimonial-name {
  font-weight: 600;
  color: var(--foreground);
}

.testimonial-role,
.testimonial-date {
  color: var(--muted-foreground);
}

.testimonials-note {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* FAQ Accordion */
.faq-section .badge {
  margin-bottom: 1rem;
}

.accordion {
  margin-top: 2rem;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-trigger {
  display: flex;
  width: 100%;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--foreground);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}

.accordion-trigger:hover {
  text-decoration: underline;
}

.accordion-trigger svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--muted-foreground);
  transition: transform 0.2s ease;
}

.accordion-item.is-open .accordion-trigger svg {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  overflow: hidden;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  padding-bottom: 1rem;
}

.accordion-item.is-open .accordion-content {
  display: block;
}

/* Final CTA */
.cta-title {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 3rem;
  }
}

.cta-desc {
  margin: 1.25rem auto 0;
  max-width: 42rem;
  color: var(--muted-foreground);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid color-mix(in oklch, var(--border) 60%, transparent);
  background: var(--background);
  padding-block: 2.5rem;
}

.footer-inner {
  display: flex;
  max-width: 72rem;
  margin-inline: auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-inline: 1rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
  }
}

.footer-desc {
  margin: 0.5rem 0 0;
  max-width: 24rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.15s ease;
}

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

.footer-nav svg {
  width: 1rem;
  height: 1rem;
}

.footer-copy {
  max-width: 72rem;
  margin: 1.5rem auto 0;
  padding-inline: 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* WhatsApp float */
.wa-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 10px 15px -3px color-mix(in oklch, var(--primary) 30%, transparent),
    0 4px 6px -4px color-mix(in oklch, var(--primary) 30%, transparent);
  transition: transform 0.15s ease;
}

.wa-float:hover {
  transform: scale(1.05);
}

.wa-float svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Mobile sheet */
.sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgb(0 0 0 / 0.8);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sheet-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.sheet-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 50;
  height: 100%;
  width: 18rem;
  background: var(--background);
  padding: 1.5rem;
  box-shadow: -4px 0 24px rgb(0 0 0 / 0.3);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.sheet-overlay.is-open .sheet-panel {
  transform: translateX(0);
}

.sheet-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
  opacity: 0.7;
  border-radius: 0.25rem;
}

.sheet-close:hover {
  opacity: 1;
}

.sheet-close svg {
  width: 1rem;
  height: 1rem;
}

.sheet-nav {
  margin-top: 2rem;
}

.sheet-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sheet-nav a {
  display: block;
  padding-block: 0.5rem;
  font-size: 1rem;
}

body.sheet-open {
  overflow: hidden;
}
