/* ========================================
   Flávia Bonifaz - Landing Page
   Paleta: Azul Primário (#007BFF) + Dourado (#FFC800)
   Tipografia: Poppins (headings) + Inter (body)
   ======================================== */

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

/* ========== Reset & Base Styles ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(2rem, 6vw, 2.5rem);
  line-height: 1.3;
}

h3 {
  font-size: clamp(1.5rem, 5vw, 2rem);
}

p {
  color: #666666;
  margin-bottom: 1rem;
}

a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #0066cc;
}

/* ========== Container & Layout ========== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ========== Navbar ========== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.navbar-logo {
  height: 8rem;
  width: auto;
  transition: transform 0.3s ease;
}

.navbar-logo:hover {
  transform: scale(1.05);
}

.navbar-tagline {
  font-size: 0.875rem;
  color: #666666;
  font-weight: 500;
}

/* ========== Hero Section ========== */
.hero {
  position: relative;
  padding: 3rem 0 5rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding: 5rem 0 8rem;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(230, 240, 255, 0.6) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 250, 230, 0.6) 100%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.hero-content {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #fffaed;
  border: 1px solid #fde047;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #92400e;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-title {
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-title span {
  color: #007bff;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #666666;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-features {
  background-color: #f0f7ff;
  border: 1px solid #e0eeff;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-feature {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out calc(0.7s + var(--index) * 0.1s) both;
}

.hero-feature:last-child {
  margin-bottom: 0;
}

.hero-feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.hero-feature-text {
  color: #333333;
  font-weight: 500;
}

.hero-image {
  position: relative;
  animation: fadeInRight 0.8s ease-out 0.3s both;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.2) 0%, rgba(255, 200, 0, 0.2) 100%);
  border-radius: 1.5rem;
  filter: blur(2rem);
  z-index: -1;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ========== Form Section ========== */
.form-section {
  padding: 5rem 0;
  background-color: #f9fafb;
}

.form-card {
  background-color: #ffffff;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  border: 1px solid #f0f0f0;
  max-width: 42rem;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out;
}

@media (min-width: 768px) {
  .form-card {
    padding: 3rem;
  }
}

.form-title {
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 1.875rem;
}

.form-subtitle {
  text-align: center;
  color: #666666;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out calc(0.2s + var(--index) * 0.1s) both;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #dddddd;
  border-radius: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-checkbox-group {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.form-checkbox {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.25rem;
  cursor: pointer;
  accent-color: #007bff;
}

.form-checkbox-label {
  font-size: 0.875rem;
  color: #666666;
  cursor: pointer;
}

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  width: 100%;
}

.btn-primary {
  background-color: #007bff;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #0066cc;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.2);
}

.btn-primary:active {
  transform: scale(0.95);
}

.btn-secondary {
  background-color: #ffc800;
  color: #1a1a1a;
}

.btn-secondary:hover {
  background-color: #ffb700;
  transform: translateY(-2px);
}

.form-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #f0f0f0;
}

.form-trust-item {
  text-align: center;
}

.form-trust-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.form-trust-label {
  font-size: 0.75rem;
  color: #666666;
}

.form-success {
  text-align: center;
  padding: 2rem;
  animation: fadeIn 0.6s ease-out;
}

.form-success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.form-success-title {
  font-size: 1.5rem;
  color: #16a34a;
  margin-bottom: 0.5rem;
}

.form-success-text {
  color: #666666;
}

/* ========== Stats Section ========== */
.stats-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #007bff 0%, #0066cc 100%);
  color: #ffffff;
}

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

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

.stat-item {
  text-align: center;
  animation: fadeInUp 0.8s ease-out calc(var(--index) * 0.1s) both;
}

.stat-number {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* ========== About Section ========== */
.about-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

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

.about-image {
  animation: fadeInLeft 0.8s ease-out;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content {
  animation: fadeInRight 0.8s ease-out;
}

.about-content h2 {
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.about-content p {
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
  color: #666666;
  line-height: 1.8;
}

.about-content .btn {
  width: auto;
  margin-top: 1rem;
}

/* ========== CTA Section ========== */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(255, 250, 230, 1) 0%, rgba(230, 240, 255, 1) 100%);
  text-align: center;
}

.cta-content {
  max-width: 48rem;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out;
}

.cta-content h2 {
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.cta-content p {
  font-size: 1.125rem;
  color: #666666;
  margin-bottom: 2rem;
}

.cta-content .btn {
  width: auto;
  display: inline-block;
}

/* ========== Footer ========== */
.footer {
  background-color: #1f2937;
  color: #d1d5db;
  padding: 2rem 0;
  text-align: center;
}

.footer-text {
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: #9ca3af;
}

/* ========== Animations ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
  .hero {
    padding: 2rem 0 3rem;
  }

  .form-section {
    padding: 3rem 0;
  }

  .stats-section {
    padding: 3rem 0;
  }

  .about-section {
    padding: 3rem 0;
  }

  .cta-section {
    padding: 3rem 0;
  }

  .form-card {
    padding: 1.5rem;
  }

  .hero-features {
    padding: 1rem;
  }
}

/* ========== Utility Classes ========== */
.hidden {
  display: none;
}

.visible {
  display: block;
}

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

.mt-4 {
  margin-top: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}
