/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #0074d9;
  --primary-dark: #0062b3;
  --primary-light: #e6f2ff;
  --white: #ffffff;
  --gray-50: #f5f5f5;
  --gray-100: #eeeeee;
  --gray-200: #e0e0e0;
  --gray-300: #cccccc;
  --gray-600: #757575;
  --gray-700: #616161;
  --gray-800: #424242;
  --gray-900: #212121;
  --success: #4caf50;
  --error: #f44336;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --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);
  --border-radius: 0.375rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* Botões */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.875rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s ease;
  z-index: 1;
  margin: 0.25rem;
  border: none;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease-out;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.15), 0 5px 5px rgba(0, 0, 0, 0.12);
}

.btn:hover::before {
  width: 100%;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-light);
}

.btn-light {
  background-color: var(--white);
  color: var(--primary-color);
  border: none;
}

.btn-light:hover {
  background-color: var(--gray-100);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--gray-200);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo img {
  height: 2.5rem;
}

.main-nav {
  display: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

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

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

.header-cta {
  display: none;
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--gray-700);
  cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  z-index: 99;
  padding: 1.5rem 0;
}

.mobile-menu.active {
  display: block;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-link {
  display: block;
  padding: 0.5rem 0;
  font-weight: 500;
  border-bottom: 1px solid var(--gray-200);
}

.mobile-cta {
  margin-top: 1.5rem;
  display: block;
  text-align: center;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
  background-color: var(--white);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-text h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color);
}

.hero-text p {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.hero-buttons .btn {
  margin: 0;
}

.hero-image {
  order: -1;
}

.hero-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-image: linear-gradient(to right, var(--gray-100) 1px, transparent 1px),
    linear-gradient(to bottom, var(--gray-100) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 110%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 110%);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto;
}

.section-header.light h2 {
  color: var(--white);
}

.section-header.light p {
  color: var(--primary-light);
}

/* About Section */
.about-section {
  padding: 4rem 0;
  background-color: var(--gray-50);
}

.values-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.value-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  flex: 1;
  min-width: 250px;
  max-width: 100%;
}

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: var(--primary-light);
  margin-bottom: 1.5rem;
}

.value-icon i {
  font-size: 2rem;
  color: var(--primary-color);
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--gray-600);
}

/* Services Section */
.services-section {
  padding: 4rem 0;
  background-color: var(--white);
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1;
  min-width: 250px;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--primary-light);
  margin-bottom: 1rem;
}

.service-icon i {
  font-size: 1.25rem;
  color: var(--primary-color);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--gray-600);
}

.services-cta {
  margin-top: 3rem;
  text-align: center;
}

.services-cta .btn {
  padding: 0.85rem 2rem;
}

/* Blog Section */
.blog-section {
  padding: 4rem 0;
  background-color: var(--white);
}

.blog-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.blog-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  flex: 1;
  min-width: 280px;
}

.blog-image {
  height: 12rem;
  background-color: var(--gray-100);
}

.blog-content {
  padding: 1.5rem;
}

.blog-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.blog-content p {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--primary-color);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.blog-link i {
  margin-left: 0.5rem;
  font-size: 0.875rem;
}

.blog-link:hover {
  text-decoration: underline;
}

/* CTA Section */
.cta-section {
  padding: 4rem 0;
  background-color: var(--primary-color);
  color: var(--white);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.cta-buttons .btn {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Form Popup */
.form-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.form-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.form-popup {
  background-color: var(--white);
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 500px;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.form-popup-overlay.active .form-popup {
  transform: translateY(0);
}

.form-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gray-600);
  cursor: pointer;
  transition: color 0.3s ease;
}

.form-popup-close:hover {
  color: var(--primary-color);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.5s ease forwards;
}

.form-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.progress-step {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--gray-600);
  position: relative;
}

.progress-step.active {
  background-color: var(--primary-color);
  color: var(--white);
}

.progress-step.completed {
  background-color: var(--success);
  color: var(--white);
}

.progress-step::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: calc(100% - 2rem);
  height: 2px;
  background-color: var(--gray-200);
  transform: translateY(-50%);
}

.progress-step:last-child::after {
  display: none;
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.form-navigation .btn {
  min-width: 120px;
}

.form-question {
  margin-bottom: 1.5rem;
}

.form-question h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.form-group {
  width: 100%;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--primary-light);
  border-radius: var(--border-radius);
  background-color: var(--white);
  font-family: inherit;
  font-size: 0.875rem;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230074D9' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-message {
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  display: none;
}

.form-message.success {
  display: block;
  background-color: rgba(76, 175, 80, 0.1);
  color: var(--success);
  border: 1px solid var(--success);
}

.form-message.error {
  display: block;
  background-color: rgba(244, 67, 54, 0.1);
  color: var(--error);
  border: 1px solid var(--error);
}

.form-success {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
}

.form-success i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.form-success h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.pulse {
  animation: pulse 1.5s infinite;
}

/* Footer */
.footer {
  background-color: var(--gray-900);
  color: var(--gray-300);
  padding: 4rem 0 1.5rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-logo {
  flex: 1;
  min-width: 250px;
}

.footer-logo img {
  height: 2.5rem;
  margin-bottom: 1rem;
}

.footer-logo p {
  font-size: 0.875rem;
}

.footer h3 {
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-contact,
.footer-links,
.footer-social {
  flex: 1;
  min-width: 200px;
}

.footer-contact ul,
.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-contact i {
  color: var(--primary-color);
}

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

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-800);
  font-size: 0.875rem;
}

/* Media Queries */
@media (min-width: 640px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    align-items: center;
  }

  .hero-text {
    flex: 1;
  }

  .hero-image {
    flex: 1;
    order: 2;
  }
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }

  .main-nav {
    display: block;
  }

  .header-cta {
    display: block;
  }

  .hero-text h1 {
    font-size: 3rem;
  }
}

