@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary: #064e3b; /* Verde escuro */
  --primary-dark: #06402e;
  --primary-light: #059669;
  --primary-fg: #ffffff;
  --bg: #F8FAFC;
  --card: #ffffff;
  --foreground: #0F172A;
  --muted: #64748B;
  --muted-bg: #F1F5F9;
  --border: #E2E8F0;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;
  --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--foreground);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Plus Jakarta Sans', sans-serif; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* Top Bar */
.top-bar {
  background: var(--primary);
  color: var(--primary-fg);
  padding: .5rem 1rem;
  font-size: .875rem;
}
.top-bar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.top-bar a { font-weight: 600; display: flex; align-items: center; gap: .5rem; transition: opacity .2s; }
.top-bar a:hover { opacity: .85; }
.top-bar .info { display: flex; align-items: center; gap: .5rem; }

/* Header */
.header {
  background: var(--card);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header .container { display: flex; align-items: center; justify-content: space-between; padding-top: .75rem; padding-bottom: .75rem; }
.header .logo img { height: 4.5rem; width: auto; max-width: 250px; object-fit: contain; }
.header nav { display: none; gap: 1.5rem; font-size: .875rem; font-weight: 500; }
.header nav a { transition: color .2s; }
.header nav a:hover { color: var(--primary); }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .625rem 1.25rem; border-radius: .5rem;
  font-weight: 600; font-size: .875rem;
  border: none; cursor: pointer; transition: all .2s;
  text-decoration: none;
}
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-dark); }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,.3); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-lg { padding: .875rem 2rem; font-size: 1.125rem; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg .overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(15,23,42,.9), rgba(15,23,42,.7), rgba(15,23,42,.4)); }
.hero .container { position: relative; padding-top: 5rem; padding-bottom: 5rem; }
.hero-content { max-width: 640px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(6, 78, 59, 0.2); backdrop-filter: blur(8px);
  border: 1px solid rgba(6, 78, 59, 0.3); border-radius: 9999px;
  padding: .375rem 1rem; font-size: .875rem; font-weight: 500;
  color: #fff; margin-bottom: 1.5rem;
}
.hero h1 { font-size: 2.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; color: #fff; }
.hero h1 span { color: var(--primary-light); }
.hero p { font-size: 1.125rem; color: rgba(255,255,255,.8); margin-bottom: 2rem; max-width: 480px; }
.hero p strong { color: #fff; }
.hero-buttons { display: flex; flex-direction: column; gap: 1rem; }

/* Stats */
.stats { background: var(--card); border-bottom: 1px solid var(--border); }
.stats .container { padding-top: 3rem; padding-bottom: 3rem; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.stat { text-align: center; }
.stat svg { margin: 0 auto .75rem; color: var(--primary); }
.stat .value { font-size: 1.875rem; font-weight: 800; font-family: 'Plus Jakarta Sans', sans-serif; }
.stat .label { font-size: .875rem; color: var(--muted); margin-top: .25rem; }

/* Section headers */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .tag { display: inline-block; color: var(--primary); font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .5rem; }
.section-header h2 { font-size: 1.875rem; font-weight: 800; }
.section-header p { color: var(--muted); margin-top: .75rem; max-width: 560px; margin-left: auto; margin-right: auto; }

/* Services */
.services { padding: 4rem 0; }
.services-grid { display: grid; gap: 1.5rem; }
.service-card {
  background: var(--card); border-radius: 1rem; overflow: hidden;
  box-shadow: var(--shadow-lg); transition: all .3s;
}
.service-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.service-card .img-wrap { position: relative; height: 12rem; overflow: hidden; }
.service-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .img-wrap img { transform: scale(1.05); }
.service-card .img-wrap .gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,23,42,.6), transparent); }
.service-card .img-wrap h3 { position: absolute; bottom: 1rem; left: 1rem; color: #fff; font-weight: 700; font-size: 1.125rem; }
.service-card .content { padding: 1.25rem; }
.service-card .content p { font-size: .875rem; color: var(--muted); line-height: 1.7; }
.service-card .content a { display: inline-flex; align-items: center; gap: .5rem; color: var(--primary); font-weight: 600; font-size: .875rem; margin-top: 1rem; transition: gap .2s; }
.service-card .content a:hover { gap: .75rem; }

/* About */
.about { padding: 4rem 0; background: var(--card); }
.about-grid { display: grid; gap: 3rem; align-items: center; }
.about .tag { display: inline-block; color: var(--primary); font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .5rem; }
.about h2 { font-size: 1.875rem; font-weight: 800; margin-bottom: 1.5rem; }
.about > .container > .about-grid > div:first-child > p { color: var(--muted); margin-bottom: 2rem; line-height: 1.7; }
.diff-grid { display: grid; gap: 1rem; }
.diff-item { display: flex; align-items: center; gap: .75rem; padding: .75rem; border-radius: .5rem; background: var(--muted-bg); }
.diff-icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(6, 78, 59, 0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.diff-icon svg { color: var(--primary); }
.diff-item span { font-weight: 500; font-size: .875rem; }
.about-img { position: relative; }
.about-img img { border-radius: 1rem; box-shadow: var(--shadow-xl); width: 100%; }
.about-badge {
  position: absolute; bottom: -1.5rem; left: -1.5rem;
  background: var(--primary); color: var(--primary-fg); border-radius: 1rem;
  padding: 1.5rem; box-shadow: var(--shadow-xl);
}
.about-badge .num { font-size: 2rem; font-weight: 800; font-family: 'Plus Jakarta Sans', sans-serif; }
.about-badge .txt { font-size: .875rem; font-weight: 500; opacity: .9; }

/* Segments */
.segments { padding: 4rem 0; background: var(--primary); color: var(--primary-fg); text-align: center; }
.segments h2 { font-size: 1.875rem; font-weight: 800; margin-bottom: 1rem; }
.segments > .container > p { opacity: .8; margin-bottom: 2.5rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.segments-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.segments-list span {
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2); border-radius: 9999px;
  padding: .625rem 1.5rem; font-size: .875rem; font-weight: 500;
}

/* FAQ */
.faq { padding: 4rem 0; }
.faq-list { max-width: 768px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: .75rem; overflow: hidden; box-shadow: var(--shadow); }
.faq-question {
  width: 100%; padding: 1.25rem 1.5rem; background: none; border: none;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; font-size: 1rem; color: var(--foreground); cursor: pointer;
  text-align: left; font-family: 'Inter', sans-serif;
}
.faq-question svg { transition: transform .3s; flex-shrink: 0; margin-left: 1rem; }
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; color: var(--muted); line-height: 1.7; font-size: .9375rem; }
.faq-item.active .faq-answer { max-height: 300px; padding: 0 1.5rem 1.25rem; }

/* CTA */
.cta { padding: 4rem 0; background: var(--card); text-align: center; }
.cta h2 { font-size: 1.875rem; font-weight: 800; margin-bottom: 1rem; }
.cta p { color: var(--muted); font-size: 1.125rem; margin-bottom: 2rem; }
.cta-buttons { display: flex; flex-direction: column; gap: 1rem; justify-content: center; align-items: center; }

/* Footer */
.footer { background: var(--foreground); color: rgba(255,255,255,.7); padding: 3rem 0; }
.footer-grid { display: grid; gap: 2rem; }
.footer .logo img { height: 4.5rem; width: auto; max-width: 250px; margin-bottom: 1rem; object-fit: contain; }
.footer p, .footer li { font-size: .875rem; line-height: 1.7; }
.footer h4 { color: #fff; font-weight: 700; margin-bottom: 1rem; }
.footer ul { display: flex; flex-direction: column; gap: .5rem; }
.footer .contact-item { display: flex; align-items: center; gap: .5rem; }
.footer .contact-item a { transition: color .2s; }
.footer .contact-item a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2rem; padding-top: 2rem; text-align: center; font-size: .875rem; }
.footer-bottom a { color: var(--primary-light); }
.footer-bottom a:hover { text-decoration: underline; }

/* WhatsApp Float */
.whatsapp-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50;
  background: var(--whatsapp); color: #fff; border-radius: 50%;
  width: 3.5rem; height: 3.5rem; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(37,211,102,.4); transition: all .3s;
  animation: bounce 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); background: var(--whatsapp-dark); }

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* Responsive */
@media (min-width: 640px) {
  .hero-buttons { flex-direction: row; }
  .cta-buttons { flex-direction: row; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .header nav { display: flex; }
  .hero .container { padding-top: 8rem; padding-bottom: 8rem; }
  .hero h1 { font-size: 3.75rem; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .section-header h2, .about h2, .segments h2, .cta h2 { font-size: 2.25rem; }
}

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

/* Modal de Localização */
.location-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.location-modal.active {
  opacity: 1;
  visibility: visible;
}

.location-content {
  background: #fff;
  border-radius: 1.5rem;
  max-width: 450px;
  width: 100%;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.location-modal.active .location-content {
  transform: translateY(0);
}

.location-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #64748B;
  line-height: 1;
}

.location-logo {
  height: 4rem;
  margin: 0 auto 1.5rem;
  object-fit: contain;
}

.location-content h2 {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.location-content h3 {
  color: #DC2626;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.location-content p {
  color: #475569;
  font-size: 0.9375rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.location-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-location {
  background: #3B82F6;
  color: #fff;
  justify-content: center;
  padding: 0.875rem;
}

.btn-location:hover {
  background: #2563EB;
}

.btn-whatsapp-modal {
  background: #25D366;
  color: #fff;
  justify-content: center;
  padding: 0.875rem;
}

.btn-whatsapp-modal:hover {
  background: #16A34A;
}

.btn-call-modal {
  background: #334155;
  color: #fff;
  justify-content: center;
  padding: 0.875rem;
}

.btn-call-modal:hover {
  background: #1E293B;
}
