/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; color: #1a1a1a; background: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== CSS VARIABLES ===== */
:root {
  --green: #16a34a;
  --green-dark: #15803d;
  --green-light: #dcfce7;
  --yellow: #eab308;
  --yellow-dark: #ca8a04;
  --yellow-light: #fef9c3;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --radius: 12px;
  --transition: .25s ease;
}

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-alt { background: var(--gray-50); }
.section-green { background: var(--green); color: #fff; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--yellow-light); color: var(--yellow-dark);
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 16px;
}
.badge-green {
  background: var(--green-light); color: var(--green-dark);
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800; line-height: 1.2; color: var(--gray-800); margin-bottom: 16px;
}
.section-title span { color: var(--green); }
.section-title.white { color: #fff; }
.section-subtitle { font-size: 1.05rem; color: var(--gray-600); max-width: 560px; }
.section-subtitle.white { color: rgba(255,255,255,.85); }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px; font-size: .95rem; font-weight: 700;
  cursor: pointer; border: 2px solid transparent; transition: var(--transition);
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(22,163,74,.35); }
.btn-secondary { background: var(--yellow); color: #1a1a1a; }
.btn-secondary:hover { background: var(--yellow-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(234,179,8,.35); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-white { background: #fff; color: var(--green); }
.btn-white:hover { background: var(--green-light); }

/* ===== HEADER / NAV ===== */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
#header.scrolled { box-shadow: var(--shadow-md); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-icon {
  width: 44px; height: 44px; background: var(--green); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-text strong { font-size: .95rem; font-weight: 800; color: var(--green); letter-spacing: -.01em; }
.nav-logo-text span { font-size: .7rem; color: var(--gray-600); text-transform: uppercase; letter-spacing: .08em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 8px; font-size: .9rem; font-weight: 500;
  color: var(--gray-600); transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--green); background: var(--green-light); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--gray-800); border-radius: 2px; transition: var(--transition); }
.mobile-menu {
  display: none; position: absolute; top: 72px; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--gray-200);
  padding: 16px 24px; flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 16px; border-radius: 8px; font-weight: 500; color: var(--gray-700); }
.mobile-menu a:hover { background: var(--green-light); color: var(--green); }

/* ===== HERO ===== */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #f0fdf4 0%, #fefce8 50%, #f0fdf4 100%);
  padding-top: 72px; overflow: hidden; position: relative;
}
.hero-bg-shape {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22,163,74,.08) 0%, transparent 70%);
  right: -100px; top: 50%; transform: translateY(-50%); pointer-events: none;
}
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-text { position: relative; z-index: 1; }
.hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900; line-height: 1.1;
  color: var(--gray-800); margin-bottom: 20px;
}
.hero-text h1 span { color: var(--green); }
.hero-text p { font-size: 1.1rem; color: var(--gray-600); margin-bottom: 32px; max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--gray-200); }
.hero-stat strong { display: block; font-size: 1.8rem; font-weight: 900; color: var(--green); }
.hero-stat span { font-size: .85rem; color: var(--gray-600); }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-card {
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg);
  padding: 32px; width: 100%; max-width: 360px;
  border: 1px solid var(--gray-200);
}
.hero-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.hero-card-icon {
  width: 48px; height: 48px; background: var(--green-light); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.hero-card-icon svg { width: 24px; height: 24px; stroke: var(--green); fill: none; stroke-width: 2; }
.hero-card-header div strong { font-size: 1rem; color: var(--gray-800); }
.hero-card-header div span { font-size: .8rem; color: var(--gray-400); }
.hero-card-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid var(--gray-100);
}
.hero-card-item:last-child { border-bottom: none; }
.hero-card-item .label { font-size: .85rem; color: var(--gray-600); }
.hero-card-item .value { font-size: .85rem; font-weight: 700; }
.hero-card-item .value.ok { color: var(--green); }
.hero-card-item .value.warn { color: var(--yellow-dark); }
.hero-card-badge {
  margin-top: 20px; background: var(--green-light); border-radius: 10px;
  padding: 12px 16px; display: flex; align-items: center; gap: 10px;
}
.hero-card-badge svg { width: 20px; height: 20px; stroke: var(--green); fill: none; stroke-width: 2; }
.hero-card-badge span { font-size: .85rem; color: var(--green-dark); font-weight: 600; }

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 56px; }
.service-card {
  background: #fff; border-radius: var(--radius); padding: 32px;
  border: 1px solid var(--gray-200); transition: var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--green-light), transparent);
  opacity: 0; transition: var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--green); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 56px; height: 56px; background: var(--green-light); border-radius: 14px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  position: relative; z-index: 1; transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--green); }
.service-icon svg { width: 28px; height: 28px; stroke: var(--green); fill: none; stroke-width: 2; transition: var(--transition); }
.service-card:hover .service-icon svg { stroke: #fff; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--gray-800); margin-bottom: 10px; position: relative; z-index: 1; }
.service-card p { font-size: .9rem; color: var(--gray-600); position: relative; z-index: 1; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image { position: relative; }
.about-image-main {
  border-radius: 20px; overflow: hidden;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
}
.about-image-main .big-icon svg { width: 120px; height: 120px; stroke: rgba(255,255,255,.3); fill: none; stroke-width: 1; }
.about-badge-float {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--yellow); border-radius: 14px; padding: 20px 24px;
  box-shadow: var(--shadow-lg); text-align: center;
}
.about-badge-float strong { display: block; font-size: 2rem; font-weight: 900; color: #1a1a1a; line-height: 1; }
.about-badge-float span { font-size: .8rem; color: var(--gray-600); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.about-content .section-title { margin-top: 8px; }
.about-content p { color: var(--gray-600); margin-bottom: 20px; }
.about-features { margin: 28px 0; display: flex; flex-direction: column; gap: 14px; }
.about-feature { display: flex; align-items: flex-start; gap: 12px; }
.check-icon {
  width: 24px; height: 24px; background: var(--green-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.check-icon svg { width: 13px; height: 13px; stroke: var(--green); fill: none; stroke-width: 3; }
.about-feature strong { font-size: .95rem; color: var(--gray-800); display: block; }
.about-feature span { font-size: .85rem; color: var(--gray-600); }
.about-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.about-info-item {
  background: var(--gray-50); border-radius: 10px; padding: 14px 16px;
  border: 1px solid var(--gray-200);
}
.about-info-item .label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-400); font-weight: 600; }
.about-info-item .val { font-size: .9rem; font-weight: 700; color: var(--gray-800); margin-top: 2px; }
.crc-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-light); color: var(--green-dark);
  border-radius: 8px; padding: 8px 14px; font-size: .85rem; font-weight: 700; margin-top: 16px;
}

/* ===== NUMBERS ===== */
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.2); }
.number-item { padding: 40px 32px; text-align: center; }
.number-item strong { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--yellow); line-height: 1; }
.number-item span { font-size: .95rem; color: rgba(255,255,255,.8); margin-top: 8px; display: block; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 56px; }
.testimonial-card {
  background: #fff; border-radius: var(--radius); padding: 32px;
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stars { display: flex; gap: 4px; margin-bottom: 16px; }
.stars svg { width: 18px; height: 18px; fill: var(--yellow); }
.testimonial-card blockquote { font-size: .95rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green); display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 1rem; flex-shrink: 0;
}
.author-info strong { font-size: .9rem; color: var(--gray-800); }
.author-info span { font-size: .8rem; color: var(--gray-400); }

/* ===== BLOG ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; margin-top: 56px; }
.blog-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--gray-200); transition: var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-card-img {
  height: 200px; background: linear-gradient(135deg, var(--green-light), var(--yellow-light));
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.blog-card-img svg { width: 64px; height: 64px; stroke: var(--green); fill: none; stroke-width: 1.5; opacity: .6; }
.blog-card-img .blog-cat {
  position: absolute; top: 16px; left: 16px;
  background: var(--green); color: #fff; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 6px;
}
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { font-size: .78rem; color: var(--gray-400); margin-bottom: 10px; }
.blog-card-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--gray-800); margin-bottom: 10px; line-height: 1.35; }
.blog-card-body p { font-size: .88rem; color: var(--gray-600); flex: 1; margin-bottom: 20px; }
.blog-card-body a { font-size: .85rem; font-weight: 700; color: var(--green); display: inline-flex; align-items: center; gap: 4px; }
.blog-card-body a:hover { color: var(--green-dark); }
.blog-card-body a svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info { padding-right: 20px; }
.contact-info h2 { font-size: 2rem; font-weight: 800; color: var(--gray-800); margin-bottom: 16px; }
.contact-info h2 span { color: var(--green); }
.contact-info p { color: var(--gray-600); margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; }
.contact-detail-icon {
  width: 44px; height: 44px; background: var(--green-light); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-detail-icon svg { width: 20px; height: 20px; stroke: var(--green); fill: none; stroke-width: 2; }
.contact-detail strong { font-size: .85rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; display: block; margin-bottom: 2px; }
.contact-detail span { font-size: .95rem; color: var(--gray-800); font-weight: 500; }
.contact-form {
  background: #fff; border-radius: 20px; padding: 40px;
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-md);
}
.contact-form h3 { font-size: 1.3rem; font-weight: 700; color: var(--gray-800); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--gray-700); }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 16px; border: 1.5px solid var(--gray-200); border-radius: 8px;
  font-size: .9rem; color: var(--gray-800); background: var(--gray-50);
  transition: var(--transition); font-family: inherit; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px rgba(22,163,74,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none; background: var(--green-light); border: 1px solid var(--green);
  border-radius: 10px; padding: 16px 20px; color: var(--green-dark);
  font-weight: 600; margin-top: 12px; text-align: center;
}
.form-success.show { display: block; }

/* ===== MAP ===== */
.map-section { padding: 0 0 96px 0; }
.map-container { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); }
.map-container iframe { display: block; width: 100%; height: 400px; border: none; }
.map-header { text-align: center; padding: 96px 0 40px; }

/* ===== FOOTER ===== */
footer {
  background: var(--gray-800); color: rgba(255,255,255,.8);
  padding: 72px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand .nav-logo-text strong { color: #fff; }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.6); line-height: 1.7; }
.footer-cnpj { margin-top: 16px; font-size: .78rem; color: rgba(255,255,255,.4); }
.footer-col h4 { font-size: .9rem; font-weight: 700; color: #fff; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: .88rem; color: rgba(255,255,255,.6); transition: var(--transition); }
.footer-col ul a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: gap;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.4); }
.footer-bottom a { color: var(--yellow); }
.crc-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(234,179,8,.15); color: var(--yellow);
  border-radius: 6px; padding: 6px 12px; font-size: .78rem; font-weight: 700; margin-top: 12px;
}

/* ===== PRIVACY PAGE ===== */
.privacy-hero { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; padding: 140px 0 64px; }
.privacy-hero h1 { font-size: 2.5rem; font-weight: 900; margin-bottom: 12px; }
.privacy-hero p { color: rgba(255,255,255,.8); font-size: 1rem; }
.privacy-body { padding: 64px 0; }
.privacy-content { max-width: 800px; margin: 0 auto; }
.privacy-content h2 { font-size: 1.3rem; font-weight: 800; color: var(--gray-800); margin: 36px 0 12px; }
.privacy-content p { color: var(--gray-600); margin-bottom: 16px; line-height: 1.8; }
.privacy-content ul { padding-left: 24px; list-style: disc; color: var(--gray-600); margin-bottom: 16px; }
.privacy-content ul li { margin-bottom: 8px; line-height: 1.7; }

/* ===== SCROLL TO TOP ===== */
#scroll-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  width: 48px; height: 48px; background: var(--green); color: #fff; border: none;
  border-radius: 50%; cursor: pointer; box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(16px); transition: var(--transition); pointer-events: none;
}
#scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
#scroll-top:hover { background: var(--green-dark); }
#scroll-top svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2.5; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 90px; right: 32px; z-index: 999;
  width: 54px; height: 54px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4); transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,.5); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { display: none; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 480px) {
  .numbers-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .about-info-grid { grid-template-columns: 1fr; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { opacity: 0; animation: fadeUp .6s ease forwards; }
.fade-up-delay-1 { animation-delay: .1s; }
.fade-up-delay-2 { animation-delay: .2s; }
.fade-up-delay-3 { animation-delay: .3s; }
