/* 
 * BemEstar Menopausa - Estilos principais
 * Versão: 1.0.0
 * Autor: BemEstar Team
 */

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

:root {
  --primary: #8e44ad;
  --primary-light: #9b59b6;
  --primary-dark: #7d3c98;
  --background: #f9f2f4;
  --text: #333333;
  --white: #ffffff;
  --shadow: rgba(0, 0, 0, 0.1);
}

body {
  font-family: "Arial", sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
}

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

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

/* Header */
header {
  background-color: var(--primary);
  color: var(--white);
  padding: 2rem;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
}

header p {
  margin-top: 0.5rem;
  font-size: 1.2rem;
}

/* Navigation */
nav {
  background-color: var(--primary-light);
  padding: 1rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav a {
  color: var(--white);
  text-decoration: none;
  margin: 0 1rem;
  padding: 0.5rem;
  transition: background-color 0.3s;
  border-radius: 4px;
}

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

/* Hero Section */
.hero {
  text-align: left;
  padding: 0;
  background-color: var(--white);
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  align-items: center;
}

.hero-content {
  padding: 2rem;
  max-width: 600px;
}

.hero-content h2 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.hero-content p {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--text);
  max-width: 500px;
}

.hero-image-wrapper {
  position: relative;
  height: 600px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(142, 68, 173, 0.1);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.hero-image:hover {
  transform: scale(1.02);
}

/* Produtos Section */
.produtos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.produto-card {
  background: var(--white);
  border-radius: 8px;
  padding: 1.5rem;
  width: 300px;
  box-shadow: 0 2px 5px var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.produto-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px var(--shadow);
}

.produto-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.produto-card h3 {
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.produto-card p {
  margin-bottom: 1rem;
  color: var(--text);
}

/* Benefícios Section */
.beneficios {
  background-color: var(--white);
  padding: 3rem 1rem;
  text-align: center;
}

.beneficios h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
}

.beneficio-item {
  padding: 1.5rem;
  transition: transform 0.3s;
}

.beneficio-item:hover {
  transform: translateY(-5px);
}

.beneficio-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 1rem;
}

.beneficio-item h3 {
  margin-bottom: 0.5rem;
  color: var(--primary);
}

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 2rem;
  margin-top: 2rem;
}

footer h2 {
  margin-bottom: 1rem;
}

footer p {
  margin-bottom: 1rem;
}

.copyright {
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Buttons */
.btn {
  background-color: var(--primary);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
  transition: background-color 0.3s, transform 0.2s;
}

.btn:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

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

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    padding: 2rem 1rem;
    margin: 0 auto;
  }

  .hero-content h2 {
    font-size: 2.5rem;
  }

  .hero-image-wrapper {
    height: 400px;
    margin: 0 auto;
    width: 100%;
    max-width: 600px;
  }

  .hero-content p {
    margin: 1rem auto 2rem;
  }
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }

  .produtos {
    padding: 1rem;
  }

  .produto-card {
    width: 100%;
    max-width: 400px;
  }

  .hero-image {
    height: auto;
  }

  nav {
    padding: 0.5rem;
  }

  nav a {
    margin: 0 0.5rem;
    padding: 0.3rem;
    font-size: 0.9rem;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-image-wrapper {
    height: 300px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 1.5rem 1rem;
  }

  header h1 {
    font-size: 1.8rem;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .beneficios h2 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 0.7rem 1.2rem;
  }
}

/* Acessibilidade */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Animações */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Footer Links */
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity 0.3s;
}

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

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Legal Pages */
.legal-content {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.legal-content h1 {
  color: var(--primary);
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.legal-content h2 {
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.legal-content p,
.legal-content ul {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 2rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content .last-updated {
  font-style: italic;
  margin-top: 3rem;
  color: #666;
}

.legal-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .legal-nav {
    flex-direction: column;
    gap: 1rem;
  }

  .legal-content {
    padding: 1.5rem;
  }
}

