/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Variáveis de cores */
:root {
  --color-primary: #03153D;
  --color-secondary: #00A2FF;
  --color-accent: #BD00B6;
  --color-lime: #B8ED26;
  --color-orange: #EAA428;
  --color-white: #FFFFFF;
  --color-text: #1a1a1a;
  --color-text-light: #666666;
  --color-gray: #6b7280;
  --color-gray-light: #f5f5f5;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  background: linear-gradient(190deg, #BD00B6 0%, #8B00B3 50%, #00A2FF 100%);
}

h1, h2, h3, h4 {
  font-family: 'Parkinsans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(10px);
}

header.scrolled {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none; 
}

.header-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 30px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
  height: 32px;
}

nav {
  display: flex;
  gap: 2rem;
}

nav button {
  background: none;
  border: none;
  color: var(--color-white);
  font-weight: 500;
  cursor: pointer;
  font-size: 1rem;
  transition: color 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

nav button:hover {
  color: var(--color-lime);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-content {
  text-align: center;
  color: var(--color-white);
  padding: 4rem 2rem;
  max-width: 1000px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 2rem;
}

.hero h2 {
  font-size: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 3rem;
}

.hero .highlight {
  color: var(--color-lime);
}

.hero-text-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  border: 2px solid var(--color-white);
  position: relative;
}

.hero-text-box::after {
  content: '';
  position: absolute;
  top: -60px;
  left: -60px;
  width: 90px;
  height: 90px;
  background-image: url('../assets/pontinhos.svg');
  background-size: contain;
  background-repeat: no-repeat;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
}

.hero p .bold{
    font-weight: 700;
}

/* About Section */
.about {
  padding: 5rem 0 0;
  position: relative;
  overflow: hidden;
  background: var(--color-white);
}

.about-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end; 
  margin-bottom: 3rem;
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: flex-end; 
  height: 100%; 
  margin-bottom: -5rem; 
}

.about-image.hidden{
  display: flex;
  justify-content: center;
  align-items: flex-end; 
  height: 100%; 
  margin-bottom: -5rem; 
  display: none;
}

.about-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
}

.about-content h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.about-content h2 .highlight {
  color: var(--color-accent);
}

.about-content p {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.about-content strong {
  color: var(--color-secondary);
  font-weight: 700;
}

.about-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  padding-top: 2rem;
}

.about-footer img {
  height: 24px;
}

.about-footer p {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}

/* Mission Box */
.mission-box {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 2rem;
  border-radius: 2px;
  text-align: left;
  margin-top: 2rem;
  position: relative;
}

.mission-box h3 {
  font-size: clamp(1.3rem, 2vw, 1.5rem);
  margin-bottom: 1rem;
  color: var(--color-lime);
}

.mission-box p {
  font-size: 1.125rem;
  margin-bottom: 0;
  color: var(--color-white);
}

.mission-box::after {
  content: '';
  position: absolute;
  top: -30px;
  right: 10px;
  width: 75px;
  height: 75px;
  background-image: url('../assets/estrela.svg');
  background-size: contain;
  background-repeat: no-repeat;
}


/* Solutions Section */
.solutions {
  padding: 5rem 0;
}

.solutions-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 4rem;
}

.solutions-intro h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: var(--color-lime);
}

.solutions-intro h2 .focus{
    color: var(--color-orange);
}

.solutions-intro p {
  font-size: 1.125rem;
  color: var(--color-white);
}

.solutions-intro strong {
  font-weight: 700;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.solution-card {
  background: var(--color-white);
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.solution-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.solution-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-orange);
  margin-bottom: 1rem;
}

.solution-number .dot{
  color: var(--color-primary);
  font-weight: 900;
}

.solution-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.solution-card p {
  color: var(--color-text-light);
  line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--color-primary);
    color: var(--color-text-light);
    padding: 48px 0;
}

.footer-content {
    padding: 0 24px;
}

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

.footer-logo .logo-icon {
    height: 35px;
}

.footer-logo .logo-text {
    font-size: 24px;
}

.footer-description {
    font-size: 0.875rem;
    color: var(--color-gray-light);
    margin-top: 16px;
}

.footer-heading {
    color: var(--color-white);
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--color-gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--color-gray-light);
}

.social-icon:hover {
    color: var(--color-primary);
    background: var(--color-lime);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--color-gray-light);
}

/* Botão de voltar ao topo */
.scroll-to-top {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: var(--color-lime);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.scroll-to-top img {
    width: 20px;
    height: 20px;
    pointer-events: none;
    color: var(--color-primary);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover{
    color: var(--color-lime);
    background: var(--color-secondary);
}

.scroll-to-top:active {
    transform: scale(0.95);
}

/* Responsive */
@media (max-width: 1204px) {
    .about-grid {
    grid-template-columns: 1fr 2fr;
    align-items: center;
  }
  
  .about-image {
    align-items: center;
    margin-bottom: 0;
    order: 1;
  }
  
  .about-content {
    order: 2;
  }
}

@media (max-width: 768px) {

  .hero-text-box::after {
    width: 0;
    height: 0;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    align-items: center;
  }
  
  .about-image {
    align-items: center;
    margin-bottom: 0;
    order: 1;
    display: none;
  }

  .about-image.hidden{
    display: block;
    align-items: center;
    margin-bottom: 0;
    order: 1;
  }
    
  .about-content {
    order: 2;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    justify-content: flex-start;
  }
  
  .mission-box {
    padding: 2rem;
  }
  
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .header-content{
    flex-direction: column;
    align-items: center;
  }

  .header-content .logo{
    margin-bottom: 10px;
  }

  .hero h1{
    margin-bottom: 0.5rem;
  }
}
