/* styles.css - Modern, Fully Rounded & 100% Responsive */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Montserrat:wght@400;600;700&display=swap');

/* CSS Variables */
:root {
  --radius: 1.5rem;
  --radius-small: 0.75rem;
  --color-primary: #3FBA54;
  --color-primary-dark: #35A84C;
  --color-bg: #F7F7F7;
  --color-text: #333;
  --color-text-muted: #777;
  --font-body: 'Poppins', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --header-height: 80px;
}

/* Reset & Global Styles */
html {
  scroll-behavior: smooth;
}
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-radius: var(--radius-small);
}
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  padding-top: var(--header-height); /* Space for fixed header */
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-small);
}

/* Navbar Wrapper */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
  border-radius: 0 0 var(--radius) var(--radius);
}

.header-container,
.navbar.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.logo img {
  height: 45px;
}

/* Menu Desktop */
.menu {
  display: flex;
  gap: 30px;
}
.menu a {
  display: inline-block;
  padding: 8px 16px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background 0.3s, color 0.3s;
}
.menu a:hover {
  background: var(--color-primary);
  color: #fff;
}
.btn-teste {
  background: var(--color-primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 0.3s;
}
.btn-teste:hover {
  background: var(--color-primary-dark);
}

/* Hamburger (Mobile) */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  z-index: 1101;
  padding: 5px;
}
.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 9999px;
}

/* Mobile Off-Canvas Menu */
#nav-menu {
  transition: transform 0.3s ease;
}
#nav-menu.active {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 80%;
  background: #fff;
  flex-direction: column;
  padding: calc(var(--header-height) + 20px) 20px;
  display: flex;
  gap: 20px;
  box-shadow: -2px 0 5px rgba(0,0,0,0.2);
  z-index: 1100;
  transform: translateX(0);
  border-top-left-radius: var(--radius);
  border-bottom-left-radius: var(--radius);
}
@media (max-width: 768px) {
  .menu {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  /* Hidden by default */
  #nav-menu:not(.active) {
    transform: translateX(100%);
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: calc(80vh - var(--header-height));
  background: url('banner-bg.jpg') no-repeat center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  border-radius: var(--radius-small) var(--radius-small) 0 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.5), rgba(0,0,0,0.7));
  border-radius: var(--radius-small) var(--radius-small) 0 0;
}
.hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  z-index: 1;
}
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  margin-bottom: 20px;
}
.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  margin-bottom: 30px;
}
.btn-cta {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 0.3s;
}
.btn-cta:hover {
  background: var(--color-primary-dark);
}

/* Containers & Sections */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}
section {
  padding: 80px 0;
}

/* Conformidade */
.conformidade h2 {
  font-size: 2rem;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}
.conformidade p {
  color: var(--color-text-muted);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 16px;
}

/* Recursos (Cards) */
.resources h2 {
  font-size: 2rem;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 10px;
  font-family: var(--font-heading);
}
.subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.resource-card {
  background: var(--color-bg);
  border: none;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.resource-card h3 {
  color: var(--color-primary);
  margin-bottom: 15px;
  font-family: var(--font-heading);
}
.resource-card ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}
.resource-card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

/* Planos */
.plan-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  justify-items: center;
}
.plan-card {
  background: var(--color-bg);
  border: none;
  border-radius: var(--radius);
  padding: 30px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(63, 186, 84, 0.3);
}
.plan-card h3 {
  color: var(--color-primary);
  margin-bottom: 10px;
  font-family: var(--font-heading);
}
.plan-card .price {
  font-size: 1.8rem;
  color: var(--color-text);
  margin-bottom: 10px;
}
.plan-card .desc {
  color: var(--color-text-muted);
  margin-bottom: 10px;
}
.plan-card .benefits li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  text-align: left;
}
.plan-card .benefits li .verified {
  position: absolute;
  left: 0;
  color: var(--color-primary);
}
.btn-plan {
  background: var(--color-primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 0.3s;
}
.btn-plan:hover {
  background: var(--color-primary-dark);
}

/* Depoimentos */
.testimonials h2 {
  font-size: 2rem;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 40px;
  font-family: var(--font-heading);
}
.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  justify-items: center;
}
.testimonial-card {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  text-align: center;
}
.testimonial-card p {
  font-style: italic;
  color: var(--color-text-muted);
  margin-bottom: 15px;
}
.testimonial-card h4 {
  color: var(--color-primary);
  font-family: var(--font-heading);
}

/* App Download */
.app-download {
  background: #ffffff;
  padding: 80px 20px;
  text-align: center;
  border-radius: var(--radius-small);
}
.app-download h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 10px;
  font-family: var(--font-heading);
}
.app-download .subtitle {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 30px;
}
.store-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.store-badges img {
  height: 60px;
  transition: transform 0.3s;
  border-radius: var(--radius-small);
}
.store-badges img:hover {
  transform: scale(1.05);
}
@media (max-width: 500px) {
  .store-badges img {
    height: 50px;
  }
}

/* CTA Section */
.cta {
  padding: 80px 20px;
  background: #1f1f1f;
  text-align: center;
  color: #fff;
  border-radius: var(--radius-small);
}
.cta h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}
.cta p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}
.cta .btn-cta {
  background: var(--color-primary);
  padding: 14px 30px;
  border-radius: var(--radius);
}
.cta .btn-cta:hover {
  background: var(--color-primary-dark);
}

/* Footer */
footer {
  background: var(--color-bg);
  border-top: 1px solid #ddd;
  padding: 40px 20px;
  text-align: center;
  color: var(--color-text-muted);
  border-radius: var(--radius-small) var(--radius-small) 0 0;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.footer-logo img {
  height: 45px;
}
.footer-logo p {
  font-size: 0.95rem;
  margin-top: 10px;
}
.footer-info p {
  font-size: 0.9rem;
  margin-top: 10px;
}
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }
}
