/* ============================================
   Pedir Maquininha - Style System
   Colors: Ton Green #00A868, Dark #1A1A2E
   Font: Inter (Google Fonts)
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #00A868;
  --green-dark: #008a55;
  --green-light: #e6f7f0;
  --green-lighter: #f0faf6;
  --dark: #1A1A2E;
  --dark-light: #2d2d44;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition: 0.3s ease;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-700);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--green-dark);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--green);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}

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

.nav-cta {
  background: var(--green) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
  background: var(--green-dark) !important;
  transform: translateY(-1px) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
  padding: 8px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #16213e 50%, var(--dark-light) 100%);
  color: var(--white);
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,168,104,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--white);
  font-size: 2.8rem;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  color: var(--green);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.badge {
  background: rgba(0,168,104,0.15);
  border: 1px solid rgba(0,168,104,0.3);
  color: #5ce0b2;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
}

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

.hero-image img {
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
  max-height: 420px;
  object-fit: cover;
  margin: 0 auto;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0,168,104,0.4);
}

.btn-primary:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,168,104,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.btn-white {
  background: var(--white);
  color: var(--green);
}

.btn-white:hover {
  background: var(--gray-100);
  color: var(--green-dark);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37,211,102,0.4);
}

.btn-whatsapp:hover {
  background: #1fb855;
  color: var(--white);
  transform: translateY(-2px);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   SECTIONS
   ============================================ */
section {
  padding: 80px 0;
}

.section-alt {
  background: var(--gray-50);
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  color: var(--gray-500);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
}

.section-header .label {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   PRODUCTS GRID
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--green);
}

.product-card.featured {
  border: 2px solid var(--green);
  box-shadow: var(--shadow-lg);
}

.product-card.featured::before {
  content: 'Mais Vendida';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.product-card img {
  height: 180px;
  object-fit: contain;
  margin: 0 auto 20px;
}

.product-card h3 {
  margin-bottom: 8px;
}

.product-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
  margin: 16px 0;
}

.product-price small {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 400;
}

.product-specs {
  list-style: none;
  margin: 20px 0;
  text-align: left;
}

.product-specs li {
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-specs li::before {
  content: '\2713';
  color: var(--green);
  font-weight: 700;
}

/* ============================================
   PLANS TABLE
   ============================================ */
.plans-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.plans-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 600px;
}

.plans-table thead {
  background: var(--dark);
  color: var(--white);
}

.plans-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
}

.plans-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.95rem;
}

.plans-table tbody tr:hover {
  background: var(--green-lighter);
}

.plans-table .rate {
  font-weight: 700;
  color: var(--green);
  font-size: 1.1rem;
}

.plans-table .highlight-row {
  background: var(--green-light);
}

/* ============================================
   BENEFITS
   ============================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.benefit-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin: 0;
}

/* ============================================
   STEPS / HOW IT WORKS
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 14px rgba(0,168,104,0.3);
}

.step h3 {
  margin-bottom: 10px;
}

.step p {
  color: var(--gray-500);
  font-size: 0.95rem;
}

/* ============================================
   CITIES GRID
   ============================================ */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.city-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition);
  text-decoration: none;
  color: var(--gray-700);
}

.city-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
  color: var(--green);
  transform: translateY(-2px);
}

.city-card .city-icon {
  font-size: 1.3rem;
}

.city-card .city-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.city-card .city-uf {
  color: var(--gray-400);
  font-size: 0.8rem;
  font-weight: 400;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  font-family: inherit;
  transition: background var(--transition);
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-question .arrow {
  transition: transform var(--transition);
  font-size: 1.2rem;
  color: var(--gray-400);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ============================================
   VIDEO SECTION
   ============================================ */
.video-wrapper {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.video-wrapper iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand span {
  color: var(--green);
}

.site-footer h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--green);
}

.footer-cities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.footer-cities-list a {
  background: rgba(255,255,255,0.05);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition);
}

.footer-cities-list a:hover {
  background: rgba(0,168,104,0.2);
  color: var(--green);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 4px 14px rgba(37,211,102,0.5);
  z-index: 9999;
  transition: all var(--transition);
  text-decoration: none;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.6);
  color: white;
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  padding: 12px 0;
  font-size: 0.85rem;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.breadcrumbs li::after {
  content: '/';
  margin-left: 8px;
  color: var(--gray-400);
}

.breadcrumbs li:last-child::after {
  content: '';
}

.breadcrumbs a {
  color: var(--gray-500);
}

.breadcrumbs .current {
  color: var(--gray-700);
  font-weight: 500;
}

/* ============================================
   CITY PAGE SPECIFICS
   ============================================ */
.city-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%);
  color: var(--white);
  padding: 60px 0 70px;
}

.city-hero h1 {
  color: var(--white);
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.city-hero h1 .highlight {
  color: var(--green);
}

.city-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 700px;
}

.city-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.city-info-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.city-info-card .info-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
  display: block;
}

.city-info-card .info-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.city-content {
  padding: 60px 0;
}

.city-content h2 {
  margin-bottom: 16px;
}

.city-content p {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.nearby-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.nearby-cities a {
  background: var(--green-light);
  color: var(--green-dark);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
}

.nearby-cities a:hover {
  background: var(--green);
  color: var(--white);
}

/* ============================================
   SEGMENT PAGES
   ============================================ */
.segment-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #0f3460 100%);
  color: var(--white);
  padding: 70px 0 80px;
}

.segment-hero h1 {
  color: var(--white);
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.segment-content {
  padding: 60px 0;
}

.content-block {
  max-width: 800px;
  margin: 0 auto 40px;
}

.content-block h2 {
  margin-bottom: 16px;
}

.content-block ul {
  margin: 16px 0;
  padding-left: 24px;
}

.content-block li {
  margin-bottom: 8px;
}

/* ============================================
   TRUST / SOCIAL PROOF
   ============================================ */
.trust-bar {
  background: var(--green-light);
  padding: 16px 0;
  text-align: center;
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
}

.trust-item .icon {
  font-size: 1.2rem;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 2rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-badges {
    justify-content: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-image {
    order: -1;
  }
  .hero-image img {
    max-height: 300px;
  }
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  section { padding: 50px 0; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    gap: 16px;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 50px 0 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

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

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

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .city-info-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .city-hero h1 {
    font-size: 1.8rem;
  }

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

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.7rem;
  }

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

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

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-green { color: var(--green); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
