/* Variables */
:root {
  --primary-color: #2558a6;
  --secondary-color: #439fd8;
  --accent-color: #e0f7fa;
  --dark-text: #333;
  --light-text: #fff;
  --section-padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 5vw, 3rem);
  --border-radius: 12px;
  --button-radius: 50px;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #f8f9fa;
  color: var(--dark-text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-bottom: 0.8em;
  font-weight: 700;
}

p {
  margin-bottom: 1.5rem;
}

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

section {
  padding: var(--section-padding);
  text-align: center;
}

/* Header and Navigation */
header {
  background: var(--primary-color);
  padding: 1rem clamp(1rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header img {
  height: 50px;
  width: auto;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  color: var(--light-text);
  text-decoration: none;
  margin-left: clamp(0.5rem, 2vw, 2rem);
  font-weight: 600;
  padding: 0.5rem;
  position: relative;
  font-size: clamp(0.85rem, 1vw, 1rem);
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--light-text);
  transition: width 0.3s ease, left 0.3s ease;
}

nav a:hover::after, nav a:focus::after {
  width: 100%;
  left: 0;
}

nav a[href="http://app.cronusaude.com.br/"] {
  background-color: var(--secondary-color);
  color: var(--light-text);
  padding: 0.5rem 1rem;
  border-radius: var(--button-radius);
  border: 2px solid var(--light-text);
  margin-left: clamp(1rem, 3vw, 2.5rem);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

nav a[href="http://app.cronusaude.com.br/"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
  background-color: var(--light-text);
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--light-text);
  padding: clamp(4rem, 10vw, 6rem) clamp(1rem, 5vw, 3rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,224L48,213.3C96,203,192,181,288,186.7C384,192,480,224,576,229.3C672,235,768,213,864,202.7C960,192,1056,192,1152,197.3C1248,203,1344,213,1392,218.7L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.learn-more {
  display: inline-block;
  background: var(--light-text);
  color: var(--primary-color);
  padding: 0.8rem 2.5rem;
  border-radius: var(--button-radius);
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
}

.learn-more:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Cashback Section */
.cashback {
  background: var(--accent-color);
  position: relative;
}

.cashback h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.cashback p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 1.5rem;
  color: var(--dark-text);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cashback .learn-more {
  background: var(--primary-color);
  color: var(--light-text);
}

.cashback .learn-more:hover {
  background: var(--secondary-color);
}

/* Serviços Section */
.servicos {
  background: #f0f4f8;
  position: relative;
  overflow: hidden;
}

.servicos::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%232558a6" fill-opacity="0.03" d="M0,192L48,186.7C96,181,192,171,288,181.3C384,192,480,224,576,224C672,224,768,192,864,176C960,160,1056,160,1152,170.7C1248,181,1344,203,1392,213.3L1440,224L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>');
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  opacity: 0.6;
  pointer-events: none;
}

.servicos h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.servicos p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 1.5rem;
  color: var(--dark-text);
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.servicos h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--dark-text);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

/* Propósito Section */
.proposito {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  position: relative;
}

.proposito h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #2e7d32;
  margin-bottom: 1.5rem;
}

.proposito p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 1.5rem;
  color: var(--dark-text);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.proposito strong {
  color: #2e7d32;
  font-weight: 700;
}

/* Idealizador Section */
.idealizador {
  background: linear-gradient(135deg, #f3e5f5, #e1bee7);
  position: relative;
}

.idealizador h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #8e24aa;
  margin-bottom: 1.5rem;
}

.idealizador p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 1.5rem;
  color: var(--dark-text);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.idealizador strong {
  color: #8e24aa;
  font-weight: 700;
}

/* Contact Section */
.contact {
  background: #fff;
  position: relative;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.contact h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.contact form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact input, .contact textarea {
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.contact input:focus, .contact textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(37, 88, 166, 0.2);
}

.contact button {
  background: var(--primary-color);
  color: var(--light-text);
  padding: 1rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  font-weight: bold;
  margin-top: 0.5rem;
}

.contact button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
  background: var(--primary-color);
  color: var(--light-text);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  position: relative;
}

/* Features Section (if needed in the future) */
.features {
  padding: var(--section-padding);
  text-align: center;
  background: #fff;
}

.features h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--primary-color);
  margin-bottom: 2rem;
}

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

.feature {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Media Queries */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 1rem;
    height: auto;
  }
  
  header img {
    margin-bottom: 1rem;
    margin-right: 0;
  }
  
  nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  nav a {
    margin: 0.25rem 0.5rem;
    font-size: 0.9rem;
  }
  
  nav a[href="http://app.cronusaude.com.br/"] {
    margin: 0.5rem auto;
    display: block;
    width: fit-content;
  }
  
  .hero, .cashback, .servicos, .proposito, .idealizador, .contact {
    padding: 3rem 1.5rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p, .cashback p, .servicos p, .proposito p, .idealizador p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  nav {
    flex-direction: column;
  }
  
  nav a {
    margin: 0.2rem;
    padding: 0.5rem;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .learn-more {
    padding: 0.7rem 1.5rem;
  }
} 