/*
 * COMPONENTS VISLUMBRANTES - CAROLINE LEONE
 * Componentes específicos do site
 */

/* ===============================================
   HEADER FLUTUANTE
   =============================================== */

.header-floating {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(94, 234, 212, 0.1);
  transition: all var(--transition-base);
  transform: translateY(0);
}

.header-floating.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-medium);
}

.header-floating.hidden {
  transform: translateY(-100%);
}

.nav-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  min-height: 70px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.logo {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--lilac-600);
  line-height: 1;
}

.logo-subtitle {
  font-size: var(--text-sm);
  color: var(--mint-600);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-8);
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--neutral-dark);
  font-weight: 500;
  font-size: var(--text-base);
  position: relative;
  transition: color var(--transition-base);
}

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

.nav-link:hover {
  color: var(--mint-600);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  gap: 4px;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--neutral-dark);
  transition: all var(--transition-base);
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===============================================
   HERO SECTION
   =============================================== */

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 1;
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--gradient-primary);
  top: 10%;
  right: -150px;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--lilac-300) 0%, var(--mint-300) 100%);
  bottom: 20%;
  left: -100px;
  animation-delay: -2s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: var(--gradient-primary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -4s;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 2;
  min-height: 80vh;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.9);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  border: 1px solid var(--mint-200);
  margin-bottom: var(--space-6);
  font-weight: 600;
  color: var(--mint-700);
  box-shadow: var(--shadow-soft);
}

.badge-icon {
  font-size: var(--text-lg);
}

.hero-description {
  font-size: var(--text-xl);
  color: var(--neutral-gray);
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

.stat-item {
  text-align: center;
}
.stat-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--neutral-gray);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-container {
  position: relative;
  max-width: 450px;
  width: 100%;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-magical);
  object-fit: cover;
}

.image-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.decoration-1 {
  position: absolute;
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  top: -20px;
  right: -20px;
  opacity: 0.7;
  animation: float 4s ease-in-out infinite;
}

.decoration-2 {
  position: absolute;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--lilac-200) 0%, var(--mint-200) 100%);
  border-radius: 50%;
  bottom: -15px;
  left: -15px;
  opacity: 0.8;
  animation: float 3s ease-in-out infinite reverse;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--neutral-gray);
  font-size: var(--text-sm);
  font-weight: 500;
  z-index: 2;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--mint-400);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--mint-400);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
  0% { top: 6px; opacity: 1; }
  50% { top: 50%; opacity: 0.5; }
  100% { top: 24px; opacity: 0; }
}

/* ===============================================
   SECTION HEADERS
   =============================================== */

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--mint-600);
  background: rgba(94, 234, 212, 0.1);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  border: 1px solid var(--mint-200);
}

.section-description {
  font-size: var(--text-lg);
  color: var(--neutral-gray);
  line-height: 1.6;
}

/* ===============================================
   ABOUT SECTION
   =============================================== */

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-photo {
  width: 100%;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-large);
  object-fit: cover;
  aspect-ratio: 4/5;
}

.about-decorations {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.decoration-circle {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 3px solid var(--mint-300);
  border-radius: 50%;
  top: -30px;
  left: -30px;
  opacity: 0.7;
}

.decoration-dots {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(var(--lilac-300) 2px, transparent 2px);
  background-size: 15px 15px;
  opacity: 0.6;
}

.about-story,
.about-mission {
  margin-bottom: var(--space-8);
}

.about-story p,
.about-mission p {
  font-size: var(--text-lg);
  color: var(--neutral-gray);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.value-icon {
  font-size: var(--text-2xl);
  background: var(--gradient-card);
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  border: 1px solid var(--mint-200);
  flex-shrink: 0;
}

.value-text h4 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--neutral-dark);
  margin-bottom: var(--space-1);
}

.value-text p {
  color: var(--neutral-gray);
  font-size: var(--text-base);
}

/* ===============================================
   SPECIALTIES GRID
   =============================================== */

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.specialty-card {
  background: var(--neutral-white);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(94, 234, 212, 0.1);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.specialty-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.specialty-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-magical);
}

.specialty-card:hover::before {
  opacity: 1;
}

.specialty-featured {
  border: 2px solid var(--mint-300);
  background: var(--gradient-card);
}

.specialty-featured::after {
  content: '⭐ Destaque';
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: var(--gradient-primary);
  color: white;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
}

.specialty-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  border: 1px solid var(--mint-200);
}

.specialty-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.specialty-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--neutral-dark);
  margin-bottom: var(--space-4);
}

.specialty-description {
  color: var(--neutral-gray);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.specialty-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.specialty-benefits li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  color: var(--neutral-gray);
}

.specialty-benefits li::before {
  content: '✓';
  color: var(--mint-500);
  font-weight: bold;
  font-size: var(--text-lg);
  flex-shrink: 0;
}

/* ===============================================
   BODY PADDING TOP PARA HEADER FIXO
   =============================================== */

body {
  padding-top: 70px; /* Altura do header */
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    text-align: center;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: var(--space-6);
    box-shadow: var(--shadow-medium);
    gap: var(--space-4);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-actions {
    gap: var(--space-3);
  }
  
  .hero-stats {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  /* Ajuste do padding para mobile */
  body {
    padding-top: 80px; /* Um pouco mais no mobile */
  }
  
  .nav-main {
    min-height: 80px; /* Altura maior no mobile */
    padding: var(--space-5) 0;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: var(--space-4);
  }
  
  .about-values {
    gap: var(--space-4);
  }
  
  .value-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-3);
  }
  
  .specialties-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .logo-container {
    gap: var(--space-2);
  }
  
  .logo {
    width: 35px;
    height: 35px;
  }
  
  .logo-name {
    font-size: var(--text-base);
  }
  
  .logo-subtitle {
    font-size: var(--text-xs);
  }
}