/* 
* undressaipornBR.pw - CSS Principal
* Cores baseadas na bandeira brasileira: verde (#009c3b), amarelo (#ffdf00), azul (#002776)
*/

:root {
  --primary-color: #009c3b;
  --secondary-color: #002776;
  --accent-color: #ffdf00;
  --light-color: #FFFFFF;
  --dark-color: #121212;
  --gray-color: #f0f0f0;
  --border-radius: 10px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease-in-out;
}

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

body {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
header {
  background-color: var(--light-color);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.logo svg {
  margin-right: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links li {
  margin-left: 25px;
}

.nav-links a {
  color: var(--secondary-color);
  font-weight: 600;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.cta-button {
  background: linear-gradient(135deg, var(--primary-color), #00b347);
  color: var(--light-color);
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0, 156, 59, 0.3);
}

.cta-button:hover {
  background: linear-gradient(135deg, #00b347, var(--primary-color));
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 156, 59, 0.4);
}

.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--light-color);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M50,50 L100,50 L100,100 L50,100 Z' fill='%23ffdf00' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.2;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--secondary-color);
  padding: 14px 35px;
  border-radius: 30px;
  font-weight: 700;
  transition: var(--transition);
  text-align: center;
  box-shadow: 0 5px 15px rgba(255, 223, 0, 0.3);
}

.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 223, 0, 0.4);
}

.hero-image {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--light-color);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.section-title p {
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--box-shadow);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 3px solid var(--primary-color);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--light-color);
  border-radius: 50%;
  font-size: 1.8rem;
}

.feature-card h3 {
  margin: 15px 0;
  color: var(--secondary-color);
  font-size: 1.3rem;
}

.feature-card p {
  color: #666;
}

/* Como Funciona Section */
.how-it-works {
  padding: 80px 0;
  background-color: var(--gray-color);
  position: relative;
}

.steps-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 50px;
  flex-wrap: wrap;
}

.step-card {
  flex: 1;
  min-width: 280px;
  background-color: var(--light-color);
  margin: 0 15px 30px;
  padding: 30px;
  border-radius: var(--border-radius);
  position: relative;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  z-index: 1;
}

.step-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 30px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--light-color);
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.2rem;
}

.step-card h3 {
  margin: 10px 0 15px;
  color: var(--primary-color);
  font-size: 1.3rem;
}

.step-card p {
  color: #666;
}

/* About Section */
.about {
  padding: 80px 0;
  background-color: var(--light-color);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-content {
  order: 2;
}

.about-image {
  order: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-content h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 15px;
  color: #555;
}

.about-content .btn {
  margin-top: 15px;
  background: linear-gradient(135deg, var(--primary-color), #00b347);
  color: var(--light-color);
}

.about-content .btn:hover {
  background: linear-gradient(135deg, #00b347, var(--primary-color));
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: var(--light-color);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='40' stroke='%23ffffff' stroke-width='1' fill='none' opacity='0.1'/%3E%3C/svg%3E");
  opacity: 0.2;
}

.cta h2 {
  font-size: 2.3rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.cta .btn {
  background-color: var(--accent-color);
  color: var(--secondary-color);
  position: relative;
  z-index: 1;
}

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

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: var(--light-color);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-widget h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}

.footer-widget p {
  margin-bottom: 15px;
  opacity: 0.8;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ddd;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-logo {
  margin-top: 15px;
  display: inline-block;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Media Queries */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-image {
    margin-top: 30px;
    order: 2;
  }
  
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .about-content {
    order: 2;
  }
  
  .about-image {
    order: 1;
    margin-bottom: 30px;
  }
  
  .about-content h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-widget h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-widget {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .header-container {
    position: relative;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--light-color);
    width: 100%;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links li {
    margin: 15px 0;
    width: 100%;
  }
  
  .hero h1 {
    font-size: 2.3rem;
  }
  
  .section-title h2 {
    font-size: 1.9rem;
  }
  
  .steps-container {
    flex-direction: column;
  }
  
  .step-card {
    margin: 30px 0;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 130px 0 60px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
