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

:root {
  --primary: #e11d48;
  --primary-dark: #be123c;
  --secondary: #f43f5e;
  --accent: #fb7185;
  --light: #fef2f2;
  --dark: #1f2937;
  --text: #f3f4f6;
  --text-light: #d1d5db;
  --gradient: linear-gradient(135deg, #e11d48 0%, #f43f5e 50%, #fb7185 100%);
  --gradient-dark: linear-gradient(135deg, #be123c 0%, #e11d48 50%, #f43f5e 100%);
  --gradient-red: linear-gradient(135deg, #f43f5e 0%, #e11d48 50%, #be123c 100%);
  --shadow: 0 4px 6px -1px rgba(225, 29, 72, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(225, 29, 72, 0.1);
  --shadow-red: 0 4px 20px rgba(225, 29, 72, 0.3);
  --glass: rgba(255, 255, 255, 0.1);
  --glass-dark: rgba(0, 0, 0, 0.2);
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #1f2937 0%, #374151 50%, #4b5563 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Auxiliary Page Styles */
.auxiliary-content {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem;
  margin: 2rem 0;
  border: 1px solid rgba(225, 29, 72, 0.2);
  box-shadow: 0 8px 32px rgba(225, 29, 72, 0.1);
}

.auxiliary-content h1 {
  font-family: 'Crimson Text', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.auxiliary-content h2 {
  font-family: 'Crimson Text', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--secondary);
  margin: 2rem 0 1rem 0;
}

.auxiliary-content h3 {
  font-family: 'Crimson Text', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  margin: 1.5rem 0 1rem 0;
}

.auxiliary-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.auxiliary-content ul {
  margin: 1rem 0 1.5rem 2rem;
}

.auxiliary-content li {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.auxiliary-contact-info {
  background: rgba(225, 29, 72, 0.1);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid rgba(225, 29, 72, 0.3);
}

.auxiliary-contact-info p {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.auxiliary-contact-info i {
  color: var(--primary);
  font-size: 1.2rem;
  width: 20px;
}

/* Success Page Styles */
.success-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  border: 1px solid rgba(225, 29, 72, 0.2);
  box-shadow: 0 8px 32px rgba(225, 29, 72, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

.success-icon {
  margin-bottom: 2rem;
}

.success-icon i {
  color: var(--primary);
  animation: heartbeat 2s ease-in-out infinite;
}

.success-info {
  background: rgba(225, 29, 72, 0.1);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid rgba(225, 29, 72, 0.3);
}

.success-info h2 {
  font-family: 'Crimson Text', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.success-info ul {
  text-align: left;
  list-style: none;
  margin: 0;
}

.success-info li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.success-info i {
  color: var(--secondary);
  font-size: 1.2rem;
  width: 20px;
}

.success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.success-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--gradient);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.success-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(225, 29, 72, 0.4);
}

.success-contact {
  background: rgba(225, 29, 72, 0.1);
  border-radius: 15px;
  padding: 2rem;
  margin-top: 2rem;
  border: 1px solid rgba(225, 29, 72, 0.3);
}

.success-contact h3 {
  font-family: 'Crimson Text', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.success-contact p {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(31, 41, 55, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(225, 29, 72, 0.2);
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(31, 41, 55, 0.98);
  box-shadow: 0 4px 20px rgba(225, 29, 72, 0.2);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Crimson Text', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.logo i {
  font-size: 1.8rem;
  animation: pulse 2s ease-in-out infinite;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

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

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

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

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu button {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.mobile-menu button:hover {
  background: rgba(225, 29, 72, 0.1);
  transform: scale(1.05);
}

.mobile-menu button.active {
  background: rgba(225, 29, 72, 0.2);
  transform: rotate(90deg);
}

.mobile-menu button i {
  transition: transform 0.3s ease;
}

.mobile-menu button.active i {
  transform: rotate(180deg);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  overflow: hidden;
}

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

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(225, 29, 72, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(225, 29, 72, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(225, 29, 72, 0.05) 0%, transparent 50%);
  animation: shimmer 6s ease-in-out infinite;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(225, 29, 72, 0.05) 50%, transparent 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(225, 29, 72, 0.1);
  border: 1px solid rgba(225, 29, 72, 0.3);
  border-radius: 50px;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 500;
  animation: fadeInUp 1s ease-out 0.1s both;
}

.hero-badge i {
  color: var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

.hero-content h1 {
  font-family: 'Crimson Text', serif;
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  animation: fadeInUp 1s ease-out 0.2s both;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-title-main {
  display: block;
  color: #f8fafc;
  margin-bottom: 0.5rem;
}

.hero-title-accent {
  display: block;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 5rem;
  position: relative;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-title-accent::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
  animation: fadeInRight 1s ease-out 0.8s both;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #cbd5e1;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-features {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-feature i {
  color: var(--primary);
  font-size: 1rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-buttons .btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero-buttons .btn i {
  transition: transform 0.3s ease;
}

.hero-buttons .btn:hover i {
  transform: translateX(5px);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  animation: fadeInUp 1s ease-out 1s both;
}

.hero-stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 500;
}

.hero-visual {
  position: relative;
  animation: fadeInRight 1s ease-out 0.5s both;
}

.hero-image-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-image-main {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.hero-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.hero-image-container:hover .hero-image-main img {
  transform: scale(1.1);
}

.hero-image-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: calc(100% - 40px);
}

.floating-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e293b;
  backdrop-filter: blur(10px);
  animation: fadeInRight 1s ease-out 1.2s both;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.floating-card i {
  color: var(--primary);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(225, 29, 72, 0.4);
  animation: heartbeat 0.6s ease-in-out;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

/* Section Styles */
.section {
  padding: 5rem 0;
  position: relative;
  overflow-x: hidden;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-family: 'Crimson Text', serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* História Section - Completely Redesigned */
.historia-section {
  background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
  position: relative;
}

.historia-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(225, 29, 72, 0.05) 50%, transparent 70%);
  animation: shimmer 4s ease-in-out infinite;
}

@media (max-width: 768px) {
  .historia-section::before {
    display: none;
  }
}

.historia-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.historia-text h2 {
  font-family: 'Crimson Text', serif;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 2rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.historia-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.8;
}

.historia-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(225, 29, 72, 0.1);
  border-radius: 10px;
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
}

.highlight:hover {
  background: rgba(225, 29, 72, 0.2);
  transform: translateX(10px);
}

.highlight i {
  color: var(--primary);
  font-size: 1.2rem;
}

.historia-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat {
  text-align: center;
  padding: 2rem;
  background: rgba(225, 29, 72, 0.1);
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(225, 29, 72, 0.2), transparent);
  transition: left 0.5s ease;
}

.stat:hover::before {
  left: 100%;
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(225, 29, 72, 0.3);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

.historia-image {
  position: relative;
}

.historia-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-red);
  transition: all 0.3s ease;
}

.historia-image:hover img {
  transform: scale(1.05) rotate(2deg);
}

/* Especialidades Section - Completely Redesigned */
.especialidades-section {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  position: relative;
}

.especialidades-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(225, 29, 72, 0.05) 50%, transparent 70%);
  animation: shimmer 5s ease-in-out infinite;
}

.especialidades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.especialidade-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
  border: 1px solid rgba(225, 29, 72, 0.2);
}

.especialidade-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(225, 29, 72, 0.1) 50%, transparent 70%);
  transition: left 0.6s ease;
}

.especialidade-item:hover::before {
  left: 100%;
}

.especialidade-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(225, 29, 72, 0.3);
  border-color: var(--primary);
}

.especialidade-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.especialidade-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

.especialidade-item:hover .especialidade-image img {
  transform: scale(1.1);
}

.especialidade-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(225, 29, 72, 0.3), rgba(244, 63, 94, 0.3));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.especialidade-item:hover .especialidade-image::after {
  opacity: 1;
}

.especialidade-content {
  padding: 2rem;
}

.especialidade-content h3 {
  font-family: 'Crimson Text', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

.especialidade-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.especialidade-content ul {
  list-style: none;
  margin-bottom: 2rem;
}

.especialidade-content li {
  padding: 0.5rem 0;
  color: var(--text-light);
  position: relative;
  padding-left: 1.5rem;
}

.especialidade-content li::before {
  content: '❤️';
  position: absolute;
  left: 0;
  top: 0.5rem;
}

.especialidade-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: linear-gradient(45deg, rgba(225, 29, 72, 0.1), rgba(244, 63, 94, 0.1));
  border-radius: 10px;
  border: 1px solid rgba(225, 29, 72, 0.2);
}

.price-label {
  font-size: 0.9rem;
  color: var(--text-light);
}

.price-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

/* Galeria Section - Completely Redesigned */
.galeria-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  position: relative;
}

.galeria-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(225, 29, 72, 0.05) 50%, transparent 70%);
  animation: shimmer 6s ease-in-out infinite;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(225, 29, 72, 0.1);
  border: 1px solid rgba(225, 29, 72, 0.3);
  border-radius: 50px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 500;
}

.header-badge i {
  color: var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

.galeria-categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.category-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(225, 29, 72, 0.2);
  border-radius: 50px;
  color: #cbd5e1;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.category-btn:hover,
.category-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(225, 29, 72, 0.3);
}

.category-btn i {
  font-size: 0.9rem;
}

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

.galeria-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1;
  transition: all 0.4s ease;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(225, 29, 72, 0.2);
}

.galeria-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(225, 29, 72, 0.3);
  border-color: var(--primary);
}

.galeria-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.galeria-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

.galeria-item:hover .galeria-image img {
  transform: scale(1.1);
}

.galeria-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.9), rgba(244, 63, 94, 0.9));
  opacity: 0;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  color: white;
}

.galeria-item:hover .galeria-overlay {
  opacity: 1;
}

.overlay-content h3 {
  font-family: 'Crimson Text', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.overlay-content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.overlay-features {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.feature-tag {
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  color: white;
  backdrop-filter: blur(10px);
}

.overlay-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.overlay-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.overlay-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.overlay-btn i {
  font-size: 1rem;
}

.galeria-cta {
  text-align: center;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(225, 29, 72, 0.2);
  backdrop-filter: blur(10px);
}

.cta-content h3 {
  font-family: 'Crimson Text', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-content p {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.galeria-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-weight: 600;
}

/* Lightbox Styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeInUp 0.3s ease;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

/* Experiências Section - Completely Redesigned */
.experiencias-section {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  position: relative;
}

.experiencias-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(225, 29, 72, 0.05) 50%, transparent 70%);
  animation: shimmer 4s ease-in-out infinite;
}

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

.experiencia-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid rgba(225, 29, 72, 0.2);
}

.experiencia-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(225, 29, 72, 0.2), transparent);
  transition: left 0.6s ease;
}

.experiencia-card:hover::before {
  left: 100%;
}

.experiencia-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(225, 29, 72, 0.3);
  border-color: var(--primary);
}

.experiencia-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  background: var(--gradient-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  transition: all 0.3s ease;
}

.experiencia-card:hover .experiencia-icon {
  transform: scale(1.1) rotate(360deg);
}

.experiencia-card h3 {
  font-family: 'Crimson Text', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

.experiencia-card p {
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.experiencia-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.feature {
  font-size: 0.9rem;
  color: var(--text-light);
  padding: 0.5rem;
  background: rgba(225, 29, 72, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.experiencia-card:hover .feature {
  background: rgba(225, 29, 72, 0.2);
  transform: translateX(5px);
}

/* Testemunhos Section - Completely Redesigned */
.testemunhos-section {
  background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
  position: relative;
}

.testemunhos-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(225, 29, 72, 0.05) 50%, transparent 70%);
  animation: shimmer 5s ease-in-out infinite;
}

.testemunhos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.testemunho-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid rgba(225, 29, 72, 0.2);
}

.testemunho-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-family: 'Crimson Text', serif;
  font-size: 8rem;
  color: rgba(225, 29, 72, 0.1);
  line-height: 1;
}

.testemunho-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(225, 29, 72, 0.3);
  border-color: var(--primary);
}

.testemunho-stars {
  color: #fbbf24;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.testemunho-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--text-light);
  font-style: italic;
}

.testemunho-author {
  text-align: center;
}

.testemunho-author strong {
  display: block;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.testemunho-author span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.author-rating {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(225, 29, 72, 0.1);
  border-radius: 8px;
  font-size: 0.9rem;
}

.rating-label {
  color: var(--text-light);
}

.rating-value {
  color: var(--primary);
  font-weight: 700;
}

/* Contato Section - Completely Redesigned */
.contato-section {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  position: relative;
}

.contato-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(225, 29, 72, 0.05) 50%, transparent 70%);
  animation: shimmer 4s ease-in-out infinite;
}

.contato-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contato-info h2 {
  font-family: 'Crimson Text', serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contato-info p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.contato-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contato-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(225, 29, 72, 0.1);
  border-radius: 15px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contato-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(225, 29, 72, 0.2), transparent);
  transition: left 0.5s ease;
}

.contato-item:hover::before {
  left: 100%;
}

.contato-item:hover {
  transform: translateX(10px);
  background: rgba(225, 29, 72, 0.2);
}

.contato-item i {
  font-size: 1.5rem;
  color: var(--primary);
  width: 40px;
  text-align: center;
}

.contato-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.contato-item p {
  color: var(--text-light);
  margin: 0;
}

.contato-form {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(225, 29, 72, 0.2);
}

.contato-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(225, 29, 72, 0.1) 50%, transparent 70%);
  transition: left 0.6s ease;
}

.contato-form:hover::before {
  left: 100%;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(225, 29, 72, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(225, 29, 72, 0.1) 50%, transparent 70%);
  animation: shimmer 6s ease-in-out infinite;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  padding: 3rem 0;
}

.footer-section h3,
.footer-section h4 {
  font-family: 'Crimson Text', serif;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-section p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.badge {
  padding: 0.5rem 1rem;
  background: rgba(225, 29, 72, 0.2);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 500;
}

.social-links {
  display: flex;
  gap: 1rem;
}

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

.social-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(225, 29, 72, 0.4);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

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

.footer-section ul li a:hover {
  color: var(--primary);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem;
  border: 1px solid rgba(225, 29, 72, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(225, 29, 72, 0.2);
  color: var(--text-light);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(31, 41, 55, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  z-index: 1000;
  border: 1px solid rgba(225, 29, 72, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cookie-content h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.cookie-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.cookie-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.cookie-link:hover {
  text-decoration: underline;
}

/* Animations */
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-top: 2px solid rgba(225, 29, 72, 0.4);
    max-width: 100vw;
    overflow-x: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    animation: slideDown 0.3s ease-out;
    z-index: 1000;
    border-radius: 0 0 1rem 1rem;
  }

  .nav-menu.active li {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.4s ease-out forwards;
  }

  .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
  .nav-menu.active li:nth-child(2) { animation-delay: 0.2s; }
  .nav-menu.active li:nth-child(3) { animation-delay: 0.3s; }
  .nav-menu.active li:nth-child(4) { animation-delay: 0.4s; }
  .nav-menu.active li:nth-child(5) { animation-delay: 0.5s; }
  .nav-menu.active li:nth-child(6) { animation-delay: 0.6s; }

  .nav-menu.active a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #f8fafc;
    border-bottom: 1px solid rgba(225, 29, 72, 0.1);
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    margin: 0.25rem 0;
  }

  .nav-menu.active a:hover {
    color: var(--primary);
    padding-left: 1rem;
    background: linear-gradient(90deg, rgba(225, 29, 72, 0.15) 0%, rgba(225, 29, 72, 0.05) 100%);
    border-radius: 0.5rem;
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(225, 29, 72, 0.2);
  }

  .nav-menu.active a:active {
    transform: translateX(5px) scale(0.98);
  }

  .nav-menu.active a::after {
    display: none;
  }

  .nav-menu.active a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
    transform: translateY(-50%);
  }

  .nav-menu.active a:hover::before {
    width: 4px;
  }
  
  .mobile-menu {
    display: block;
    z-index: 1001;
  }

  /* Ensure header has proper z-index for mobile menu */
  .header {
    z-index: 1000;
  }

  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .hero-title-accent {
    font-size: 3rem;
  }

  .hero-content {
    text-align: center;
    margin-bottom: 2rem;
  }

  .hero-features {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image-overlay {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-top: 1rem;
    max-width: 100%;
  }

  .floating-card {
    animation: none;
    max-width: 200px;
    font-size: 0.8rem;
  }

  .galeria-categories {
    justify-content: center;
  }

  .category-btn {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
  
  .historia-content,
  .contato-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .historia-stats {
    grid-template-columns: 1fr;
  }
  
  .especialidades-grid,
  .experiencias-grid,
  .testemunhos-grid {
    grid-template-columns: 1fr;
  }
  
  .galeria-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  
  .cookie-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }
  
  /* Additional fixes for very small screens */
  .hero-content {
    padding: 0 5px;
  }
  
  .hero-badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
  
  .hero-feature {
    font-size: 0.8rem;
  }
  
  .hero-buttons .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-title-accent {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-features {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero-image-overlay {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-top: 1rem;
    max-width: 100%;
  }

  .floating-card {
    font-size: 0.7rem;
    padding: 0.5rem 0.75rem;
    max-width: 150px;
  }

  .galeria-categories {
    flex-direction: column;
    align-items: center;
  }

  .category-btn {
    width: 100%;
    max-width: 200px;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .historia-text h2 {
    font-size: 2rem;
  }
  
  .contato-info h2 {
    font-size: 1.8rem;
  }
  
  .especialidade-item,
  .experiencia-card,
  .testemunho-card {
    padding: 1.5rem 1rem;
  }
  
  .contato-form {
    padding: 1.5rem 1rem;
  }

  /* Auxiliary Page Responsive */
  .auxiliary-content {
    padding: 1.5rem;
    margin: 1rem 0;
  }

  .auxiliary-content h1 {
    font-size: 2rem;
  }

  .auxiliary-content h2 {
    font-size: 1.6rem;
  }

  .auxiliary-content h3 {
    font-size: 1.2rem;
  }

  .success-card {
    padding: 1.5rem;
    margin: 1rem 0;
  }

  .success-actions {
    flex-direction: column;
    align-items: center;
  }

  .success-actions .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  /* Mobile menu fixes for very small screens */
  .nav-menu.active {
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.99);
  }
  
  .nav-menu.active a {
    font-size: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(225, 29, 72, 0.05);
  }

  .nav-menu.active a:hover {
    padding-left: 0.75rem;
    background: rgba(225, 29, 72, 0.15);
  }

  .mobile-menu button {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
} 