/* ==================== RESET ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* WhatsApp Flutuante - Ajuste para tema dark */
.whatsapp-float {
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4) !important;
  z-index: 9999 !important;
}

.whatsapp-float:hover {
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6) !important;
}

/* FAQ Section */
.faq-section {
  background: #081a33 !important;
  padding: 100px 0 !important;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.faq-item h3 {
  color: #ffffff !important;
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 500;
}

.faq-item p {
  color: rgba(255, 255, 255, 0.6) !important;
  line-height: 1.7;
  font-size: 1rem;
}

:root {
  --primary-color: #0a2540;
  --secondary-color: #1e3a5f;
  --accent-color: #2c5282;
  --navy-blue: #0a2540;
  --navy-light: #1e3a5f;
  --navy-accent: #2c5282;
  --gold-accent: #d4af37;
  --success: #2e7d32;
  --warning: #c77d1a;
  --danger: #c0392b;
  --text-dark: #1a202c;
  --text-light: #4a5568;
  --bg-light: #f7fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --shadow: 0 2px 10px rgba(10,37,64,0.1);
  --shadow-hover: 0 4px 20px rgba(10,37,64,0.15);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  display: block;
}

/* ==================== BOTÕES ==================== */
.btn-primary {
  display: inline-block;
  padding: 18px 40px;
  background: linear-gradient(135deg, #0a2540, #1e3a5f, #2c5282);
  background-size: 200% 200%;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.4s ease;
  border: none;
  cursor: pointer;
  box-shadow: 
    0 4px 20px rgba(10, 37, 64, 0.3),
    0 0 0 0 rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@keyframes buttonShine {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 30px rgba(10, 37, 64, 0.4),
    0 0 20px rgba(44, 82, 130, 0.3);
  background: linear-gradient(135deg, #1e3a5f, #2c5282, #3d5a80);
}

.btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: rgba(61, 90, 128, 0.14);
  color: #3d5a80;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid #3d5a80;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #5b7faa;
  color: white;
}

.hero-btn {
  animation: fadeInButton 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.6s backwards;
}

@keyframes fadeInButton {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==================== WHATSAPP FLUTUANTE ==================== */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  .logo-mark {
    width: 34px;
    height: 34px;
  }
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 0;
  border-bottom: 1px solid rgba(44, 82, 130, 0.1);
  transition: all 0.3s ease;
}

.header:hover {
  box-shadow: 0 6px 40px rgba(0,0,0,0.12);
}

.header.scrolled {
  background: linear-gradient(135deg, rgba(255,255,255,0.99) 0%, rgba(248,249,250,0.99) 100%);
  box-shadow: 0 8px 50px rgba(0,0,0,0.15);
  border-bottom: 1px solid rgba(44, 82, 130, 0.2);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.logo h1 {
  font-size: 1.5rem;
  background: linear-gradient(135deg, #0a2540 0%, #1e3a5f 30%, #2c5282 60%, #3d5a80 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  letter-spacing: -0.5px;
  position: relative;
  padding-bottom: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  filter: drop-shadow(0 2px 8px rgba(10, 37, 64, 0.3));
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.logo h1::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #0F0F59, transparent);
  bottom: 0;
  left: 0;
  border-radius: 2px;
  animation: expandLine 2s ease-in-out infinite;
}

@keyframes expandLine {
  0%, 100% {
    width: 40px;
    opacity: 1;
  }
  50% {
    width: 80px;
    opacity: 0.7;
  }
}

.logo h1:hover {
  letter-spacing: 0px;
  transform: translateY(-2px) scale(1.02);
  filter: drop-shadow(0 4px 12px rgba(44, 82, 130, 0.5));
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
}

/* Esconder "Área do Admin" no desktop */
.mobile-only {
  display: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 10px 18px;
  border-radius: 8px;
  display: block;
  letter-spacing: 0.3px;
}

.nav-links a i {
  font-size: 0.9rem;
  margin-right: 6px;
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.3s ease;
}

.nav-links a:hover i {
  opacity: 1;
  transform: translateX(0);
}

.nav-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 82, 130, 0.1), rgba(44, 82, 130, 0.05));
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #2c5282, #1e3a5f);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.nav-links a:hover::before {
  opacity: 1;
}

.nav-links a:hover::after {
  width: 60%;
}

.nav-links a:active {
  transform: translateY(0);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 1000;
}

.btn-menu {
  display: none;
  background: linear-gradient(135deg, #2c5282, #1e3a5f);
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(44, 82, 130, 0.3);
}

.btn-menu:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(44, 82, 130, 0.4);
}

/* ==================== HERO SECTION ==================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0a1628 0%, #0a2540 30%, #1e3a5f 60%, #2c5282 100%);
  background-size: 400% 400%;
  animation: gradientBackground 15s ease infinite;
  min-height: 700px;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
}

@keyframes gradientBackground {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(2px 2px at 90% 60%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 33% 80%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 15% 90%, rgba(255, 255, 255, 0.8), transparent);
  background-size: 200% 200%, 200% 200%, 300% 300%, 200% 200%, 250% 250%, 300% 300%, 200% 200%;
  animation: twinkle 3s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes twinkle {
  0% {
    opacity: 0.3;
  }
  100% {
    opacity: 1;
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 2px, transparent 2px),
    radial-gradient(circle at 60% 70%, rgba(255, 255, 255, 0.08) 2px, transparent 2px),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.08) 2px, transparent 2px),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.08) 2px, transparent 2px),
    radial-gradient(circle at 90% 60%, rgba(255, 255, 255, 0.08) 2px, transparent 2px);
  background-size: 200px 200px, 150px 150px, 180px 180px, 220px 220px, 160px 160px;
  animation: floatingParticles 20s linear infinite;
  z-index: 1;
}

@keyframes floatingParticles {
  0% {
    background-position: 0 0, 50px 100px, 100px 50px, 150px 0, 200px 150px;
  }
  100% {
    background-position: 200px 200px, 250px 300px, 300px 250px, 350px 200px, 400px 350px;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(135deg, rgba(10, 37, 64, 0.6) 0%, rgba(44, 82, 130, 0.4) 100%),
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 30%),
    radial-gradient(circle at 85% 80%, rgba(44, 82, 130, 0.15) 0%, transparent 40%);
  z-index: 2;
  animation: overlayShift 10s ease-in-out infinite;
}

@keyframes overlayShift {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.85;
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 650px;
  padding: 120px 0;
  padding-left: 0;
  animation: fadeInLeft 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-80px) translateY(20px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
    filter: blur(0);
  }
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 50%, #e3f2fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 
    0 5px 20px rgba(0, 0, 0, 0.4),
    0 10px 40px rgba(44, 82, 130, 0.3);
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
  animation: titlePulse 3s ease-in-out infinite, titleFloat 4s ease-in-out infinite;
  transform-style: preserve-3d;
  position: relative;
  max-width: 900px;
}

.hero-title::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background: linear-gradient(135deg, #2c5282 0%, #3d5a80 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(20px);
  opacity: 0.5;
}

@keyframes titlePulse {
  0%, 100% {
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5)) drop-shadow(0 0 40px rgba(44, 82, 130, 0.4));
  }
}

@keyframes titleFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-title-line {
  display: block;
  margin: 5px 0;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 40px;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
  animation: fadeInSubtitle 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s backwards;
  max-width: 850px;
}

@keyframes fadeInSubtitle {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 0.95;
    transform: translateY(0);
  }
}

.hero-image {
  position: absolute;
  right: 0;
  top: 0;
  width: 45%;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  animation: fadeInRight 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s backwards;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(80px) translateY(-20px) scale(0.95);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
    filter: blur(0);
  }
}

.hero-image::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(44, 82, 130, 0.1) 50%, transparent 100%);
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 1;
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    transform: translateY(-50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
  }
}

.hero-image img {
  position: relative;
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 30px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 8px rgba(255, 255, 255, 0.15),
    0 0 0 16px rgba(44, 82, 130, 0.1),
    0 0 60px rgba(44, 82, 130, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.05);
  object-fit: cover;
  z-index: 2;
  transition: all 0.5s ease;
  animation: imageFloat 6s ease-in-out infinite;
  filter: brightness(1.05) contrast(1.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

@keyframes imageFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) rotate(1deg);
  }
  75% {
    transform: translateY(-10px) rotate(-1deg);
  }
}

.hero-image img:hover {
  transform: scale(1.05) translateY(-15px);
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 0 8px rgba(255, 255, 255, 0.25),
    0 0 0 16px rgba(44, 82, 130, 0.2),
    0 0 80px rgba(44, 82, 130, 0.5),
    inset 0 0 30px rgba(255, 255, 255, 0.1);
  filter: brightness(1.1) contrast(1.15);
  animation-play-state: paused;
}

/* ==================== SECTION TITLES ==================== */
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-highlight {
  text-align: center;
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-top: 40px;
  font-weight: 500;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.features-list li {
  padding: 12px 0;
  font-size: 1.05rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 12px;
}

.features-list li i {
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.features-list li strong {
  color: var(--primary-color);
}

.credentials-list {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.credentials-list li {
  color: rgba(255, 255, 255, 0.72) !important;
  padding: 10px 0;
}

.credentials-list li i {
  color: rgba(255, 255, 255, 0.65);
}

.credentials-list li strong {
  color: rgba(255, 255, 255, 0.86) !important;
}

/* ==================== SOBRE ==================== */
.sobre {
  padding: 100px 0;
  background: var(--bg-white);
}

.sobre-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.sobre-text h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.sobre-text p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.8;
}

.sobre-image {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sobre-image::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  background: linear-gradient(135deg, rgba(44, 82, 130, 0.15), rgba(30, 58, 95, 0.1));
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: morphing 8s ease-in-out infinite;
  z-index: 1;
}

.sobre-image::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border: 2px solid rgba(44, 82, 130, 0.2);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: morphing 8s ease-in-out infinite reverse;
  z-index: 1;
}

@keyframes morphing {
  0%, 100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  25% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  50% {
    border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%;
  }
  75% {
    border-radius: 60% 40% 60% 40% / 70% 30% 50% 60%;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

.sobre-image img {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 500px;
  object-fit: cover;
  object-position: top center;
  border-radius: 32px 32px 96px 96px;
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.22),
    0 0 0 10px rgba(255, 255, 255, 0.92),
    0 0 0 13px rgba(44, 82, 130, 0.22);
  transition: all 0.5s ease;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

.sobre-image img:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.25),
    0 0 0 15px rgba(255, 255, 255, 1),
    0 0 0 18px rgba(44, 82, 130, 0.4);
  border-radius: 32px 32px 96px 96px;
  animation-play-state: paused;
}

.sobre-image .image-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  box-shadow: var(--shadow-hover);
}

/* ==================== ESPECIALIDADES ==================== */
.especialidades {
  padding: 100px 0;
  background: var(--bg-light);
}

.especialidades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.especialidade-card {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  text-align: center;
}

.especialidade-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, var(--secondary-color), #2c5282);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

.especialidade-card h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.especialidade-card p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.7;
}

.card-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.card-link:hover {
  color: var(--primary-color);
}

/* ==================== ANTES E DEPOIS ==================== */
.antes-depois {
  padding: 100px 0;
  background: var(--bg-white);
  text-align: center;
}

.antes-depois-slider {
  margin: 50px 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.slider-item {
  padding: 20px;
}

.comparison-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.image-before,
.image-after {
  height: 400px;
  background: linear-gradient(135deg, #ddd, #aaa);
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
}

.image-before img,
.image-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-before span,
.image-after span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.45);
  padding: 6px 10px;
  border-radius: 8px;
}

.casos-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.antes-depois-video {
  padding-top: 40px;
}

.before-after-video-card {
  max-width: 320px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  background: #000;
}

.before-after-video {
  width: 100%;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #000;
}

.casos-page {
  padding: 100px 0;
  background: var(--bg-light);
}

.casos-page-header {
  text-align: center;
  margin-bottom: 40px;
}

.casos-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.caso-comparison-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 16px;
}

.caso-comparison-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.caso-comparison-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 10px;
}

.caso-comparison-card h3 {
  color: var(--primary-color);
  margin-top: 14px;
  font-size: 1.05rem;
}

.casos-page-actions {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* ==================== DEPOIMENTOS ==================== */
.depoimentos {
  padding: 100px 0;
  background: var(--bg-light);
}

.depoimentos-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.depoimento-item {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  position: relative;
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  opacity: 0.3;
  margin-bottom: 20px;
}

.depoimento-content p {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.8;
}

.depoimento-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.depoimento-author strong {
  color: var(--primary-color);
}

.stars {
  color: #ffa500;
}

/* ==================== CASOS DE PACIENTES ==================== */
.casos-pacientes {
  padding: 90px 0;
  background: linear-gradient(135deg, #081a33 0%, #0d2342 100%);
}

.casos-pacientes .section-title {
  color: #ffffff;
}

.casos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.caso-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.caso-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.caso-image {
  height: 220px;
  background: linear-gradient(135deg, rgba(44, 82, 130, 0.6), rgba(212, 175, 55, 0.5));
  position: relative;
}

.caso-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 26, 51, 0.4) 100%);
}

.caso-card h3 {
  padding: 18px 16px;
  color: #ffffff;
  font-size: 1rem;
  text-align: center;
  font-weight: 500;
}

/* ==================== BLOG ==================== */
.blog {
  padding: 100px 0;
  background: var(--bg-light);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.blog-card:hover {
  box-shadow: var(--shadow-hover);
}

.blog-image {
  height: 250px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.blog-content {
  padding: 30px;
}

.blog-content h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.blog-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.7;
}

.blog-cta {
  text-align: center;
  margin-top: 50px;
}

/* ==================== CARROSSEL DE VIDEOS ==================== */
.video-carousel {
  padding: 100px 0;
  background: #0d2342;
}

.carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.carousel-controls {
  display: flex;
  gap: 10px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.carousel-track {
  margin-top: 30px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 1fr);
  gap: 25px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding-bottom: 10px;
}

.carousel-track::-webkit-scrollbar {
  height: 6px;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 6px;
}

.video-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 18px;
  scroll-snap-align: start;
}

.video-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card h3 {
  margin-top: 12px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
}

/* ==================== REDES SOCIAIS ==================== */
.social-section {
  padding: 110px 0;
  background: linear-gradient(135deg, #081a33 0%, #0d2342 60%, #0a2540 100%);
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.social-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(44, 82, 130, 0.35), transparent 70%);
  filter: blur(10px);
}

.social-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.social-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 15px;
}

.social-section .section-title {
  color: #ffffff;
  margin-bottom: 18px;
}

.social-section .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.social-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 28px 0 20px;
}

.social-handle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.social-handle i {
  font-size: 1.2rem;
  color: #d4af37;
}

.social-highlights {
  list-style: none;
  margin-top: 10px;
}

.social-highlights li {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.social-highlights i {
  color: #d4af37;
  margin-right: 10px;
}

.phone-mockup {
  width: 320px;
  height: 620px;
  margin-left: auto;
  border-radius: 38px;
  padding: 16px;
  background: linear-gradient(160deg, #1f2f4d, #0c1424 70%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  animation: phoneFloat 6s ease-in-out infinite;
}

.phone-mockup::after {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 48px;
  background: radial-gradient(circle, rgba(44, 82, 130, 0.25), transparent 70%);
  z-index: -1;
}

.phone-notch {
  width: 120px;
  height: 24px;
  background: #0a111f;
  border-radius: 12px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.phone-screen {
  height: 100%;
  background: #0b1220;
  border-radius: 28px;
  padding: 26px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #ffffff;
}

.phone-screen.phone-screen-full {
  padding: 0;
  gap: 0;
  overflow: hidden;
}

.phone-screen-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.ig-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ig-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #2c5282);
  padding: 2px;
}

.ig-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  background: #0b1220;
}

.ig-title strong {
  display: block;
  font-size: 1rem;
}

.ig-title span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.ig-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  gap: 8px;
}

.ig-stats strong {
  font-size: 0.95rem;
}

.ig-stats span {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
}

.ig-actions-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ig-actions-mini a {
  text-decoration: none;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 8px 6px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.ig-actions-mini a:first-child {
  background: linear-gradient(135deg, #2c5282, #1e3a5f);
  border-color: transparent;
}

.ig-story-row {
  display: flex;
  gap: 8px;
}

.ig-story {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.9), rgba(44, 82, 130, 0.9));
  padding: 2px;
  position: relative;
}

.ig-story::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: #0b1220;
}

.ig-bio {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.ig-link {
  display: inline-block;
  margin-top: 6px;
  color: #d4af37;
  font-weight: 600;
}

.ig-post-info {
  margin: 2px 0 0;
  padding-left: 16px;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

.ig-post-info li + li {
  margin-top: 4px;
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: auto;
}

.ig-thumb {
  display: block;
  width: 100%;
  padding-bottom: 100%;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(44, 82, 130, 0.7), rgba(212, 175, 55, 0.4));
  opacity: 0.9;
}

.ig-thumb:nth-child(2) {
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.9), rgba(44, 82, 130, 0.5));
}

.ig-thumb:nth-child(3) {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.6), rgba(44, 82, 130, 0.6));
}

.ig-thumb:nth-child(4) {
  background: linear-gradient(135deg, rgba(44, 82, 130, 0.6), rgba(10, 37, 64, 0.8));
}

@keyframes phoneFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes phoneFloatMobile {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* ==================== QUIZ APNEIA ==================== */
.quiz-apneia {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy-blue) 0%, var(--secondary-color) 60%, var(--accent-color) 100%);
}

.quiz-apneia-header {
  text-align: center;
  margin-bottom: 35px;
}

.quiz-apneia .section-title {
  color: #ffffff;
  margin-bottom: 14px;
}

.quiz-apneia .section-subtitle {
  color: var(--text-light);
  max-width: 720px;
  margin: 0 auto;
}

.quiz-intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.quiz-start-btn {
  min-width: 280px;
  padding: 22px 34px;
  font-size: 1.2rem;
}

.quiz-step-card {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(8, 26, 51, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.quiz-progress {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  margin-bottom: 12px;
}

.quiz-step-card h3 {
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 500;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.25s ease;
}

.quiz-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-color);
  flex-shrink: 0;
}

.quiz-option:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.14);
}

.quiz-option.selected {
  border-color: rgba(212, 175, 55, 0.9);
  background: rgba(212, 175, 55, 0.2);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.25);
}

.quiz-error {
  color: var(--danger);
  margin-top: 12px;
}

.quiz-nav {
  margin-top: 20px;
  display: flex;
  justify-content: flex-start;
  gap: 12px;
}

.quiz-result {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: rgba(8, 26, 51, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.quiz-result h3 {
  color: #ffffff;
  margin-bottom: 10px;
}

.quiz-result p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 18px;
}

.quiz-result-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==================== CTA FINAL ==================== */
.cta-final {
  padding: 120px 0;
  background-image: url('https://images.unsplash.com/photo-1606811971618-4486d14f3f99?w=1600');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.85) 0%, rgba(41, 128, 185, 0.90) 100%);
  z-index: 1;
}

.cta-final .container {
  position: relative;
  z-index: 2;
}

.cta-final h2 {
  font-size: 2.8rem;
  margin-bottom: 25px;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  line-height: 1.3;
}

.cta-final p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
  line-height: 1.6;
}

/* ==================== CONTATO ==================== */
.contato {
  padding: 80px 0;
  background: linear-gradient(135deg, #e8f1f8 0%, #dce9f5 100%);
}

.contato-header {
  text-align: center;
  margin-bottom: 35px;
}

.contato-header h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.contato-header p {
  color: var(--text-light);
  font-size: 1rem;
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 0;
}

.contato-info {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.contato-info h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.info-item:last-of-type {
  margin-bottom: 0;
}

.info-item i {
  font-size: 1.1rem;
  color: var(--secondary-color);
  min-width: 24px;
  margin-top: 2px;
}

.info-item h4 {
  color: var(--primary-color);
  margin-bottom: 4px;
  font-size: 1rem;
}

.info-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--secondary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.contato-form {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.contato-form form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contato-form input,
.contato-form textarea {
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.contato-form input:focus,
.contato-form textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--primary-color);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 20px;
}

.footer-col p {
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: white;
}

.footer-content .footer-col:nth-child(2) {
  justify-self: end;
  text-align: right;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
}

.newsletter-form button {
  padding: 10px 20px;
  background: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: #1e3a5f;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  text-align: center;
  color: rgba(255,255,255,0.8);
}

/* ==================== RESPONSIVIDADE ==================== */
@media (max-width: 768px) {
  .footer-content .footer-col:nth-child(2) {
    justify-self: start;
    text-align: left;
  }

  .nav-links {
    position: fixed;
    right: -100%;
    top: 0;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(248,249,250,0.98) 100%);
    backdrop-filter: blur(20px);
    width: 75%;
    max-width: 320px;
    height: 100vh;
    padding: 100px 30px 30px;
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    align-items: flex-start;
    gap: 5px;
    z-index: 998;
  }

  .nav-links.show {
    right: 0;
  }
  
  .nav-links li {
    width: 100%;
  }
  
  .nav-links a {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    border-left: 3px solid transparent;
    border-radius: 0 8px 8px 0;
  }
  
  .nav-links a i {
    opacity: 1;
    transform: translateX(0);
    font-size: 1rem;
    margin-right: 10px;
    color: var(--secondary-color);
  }
  
  .nav-links a:hover {
    border-left-color: var(--secondary-color);
    background: rgba(52, 152, 219, 0.08);
    padding-left: 25px;
  }
  
  .nav-links a:hover i {
    transform: scale(1.2) rotate(5deg);
  }
  
  .nav-links a::after {
    display: none;
  }

  .btn-menu {
    display: flex;
  }

  .btn-admin-menu {
    display: flex !important;
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
    z-index: 1002;
    position: relative;
  }

  .header-actions {
    display: flex !important;
    gap: 10px;
    z-index: 1001;
  }

  .admin-dropdown {
    top: 70px;
    right: 10px;
    min-width: 220px;
    max-width: calc(100vw - 20px);
  }

  .admin-dropdown::before {
    right: 15px;
  }
  
  .logo h1 {
    font-size: 1.2rem;
    white-space: nowrap;
  }

  .hero {
    min-height: 600px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    padding: 80px 0 40px;
  }

  .hero-title {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
  }

  .hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 35px;
  }

  .hero-image {
    position: relative;
    width: 100%;
    height: auto;
    padding: 20px;
    margin-top: 30px;
  }

  .hero-image::before {
    width: 300px;
    height: 300px;
    right: 50%;
    transform: translate(50%, -50%);
  }

  .hero-image img {
    max-width: 320px;
    margin: 0 auto;
  }

  .sobre-content,
  .contato-grid {
    grid-template-columns: 1fr;
  }
  
  .sobre-image::before {
    width: 280px;
    height: 280px;
  }
  
  .sobre-image::after {
    width: 320px;
    height: 320px;
  }
  
  .sobre-image img {
    max-width: 350px;
    height: 400px;
  }

  .comparison-image {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-final {
    padding: 80px 0;
    background-attachment: scroll;
  }

  .cta-final h2 {
    font-size: 1.8rem;
  }
  
  .cta-final p {
    font-size: 1.1rem;
  }

  .cta-final h2 {
    font-size: 1.8rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .admin-dropdown {
    right: 10px;
    min-width: 200px;
  }
  
  /* Responsividade dos Modais */
  .modal-overlay {
    padding: 10px;
  }
  
  .modal-container {
    max-width: 95%;
    max-height: 95vh;
    border-radius: 15px;
  }
  
  .modal-header {
    padding: 30px 20px 15px;
    border-radius: 15px 15px 0 0;
  }
  
  .modal-header i {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }
  
  .modal-header h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }
  
  .modal-header p {
    font-size: 0.85rem;
  }
  
  .modal-form {
    padding: 20px;
  }
  
  .modal-form .form-group {
    margin-bottom: 15px;
  }
  
  .modal-form label {
    font-size: 0.9rem;
    margin-bottom: 6px;
  }
  
  .modal-form input,
  .modal-form select,
  .modal-form textarea {
    padding: 10px 12px;
    font-size: 0.95rem;
  }
  
  .btn-modal-primary {
    padding: 12px;
    font-size: 0.95rem;
  }
  
  .modal-close {
    width: 32px;
    height: 32px;
    top: 10px;
    right: 10px;
    font-size: 1rem;
  }
  
  .error-message {
    padding: 10px;
    font-size: 0.85rem;
  }
  
  .modal-footer-links {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  /* Responsividade do Painel Admin */
  .admin-panel-integrated {
    padding: 15px;
  }
  
  .admin-panel-header {
    padding: 15px;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .admin-panel-title h2 {
    font-size: 1.3rem;
  }
  
  .btn-close-admin {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  
  .admin-tabs {
    padding: 0 10px;
    gap: 3px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .admin-tab {
    padding: 10px 12px;
    font-size: 0.85rem;
    white-space: nowrap;
    min-width: auto;
  }
  
  .admin-tab i {
    font-size: 0.9rem;
  }
  
  .admin-content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .admin-form-section,
  .admin-posts-section {
    padding: 15px;
  }
  
  .admin-form-section h3,
  .admin-posts-section h3 {
    font-size: 1.2rem;
  }
  
  .admin-panel-integrated input,
  .admin-panel-integrated textarea,
  .admin-panel-integrated select {
    font-size: 0.95rem;
    padding: 10px 12px;
  }
  
  .btn-admin-primary,
  .btn-admin-secondary {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .btn-admin-bottom {
    width: 100%;
    margin-top: 10px;
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: 8px;
  }

  .admin-form-hint {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #7f8c8d;
  }
  
  .admin-post-item {
    padding: 12px;
  }
  
  .admin-post-title {
    font-size: 1rem;
  }
  
  .admin-post-meta {
    font-size: 0.75rem;
  }
  
  .admin-post-actions {
    gap: 5px;
  }
  
  .admin-post-actions button {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  
  .image-upload-area {
    padding: 20px;
    min-height: 120px;
  }
  
  .image-upload-area i {
    font-size: 2rem;
  }
  
  .image-upload-area p {
    font-size: 0.85rem;
  }
}

/* ==================== HEADER ACTIONS ==================== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-admin-menu {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #2c5282, #1e3a5f);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 3px 15px rgba(52, 152, 219, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-admin-menu::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
}

.btn-admin-menu:hover::before {
  width: 100px;
  height: 100px;
}

.btn-admin-menu:hover {
  background: linear-gradient(135deg, #1e3a5f, #0a2540);
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(44, 82, 130, 0.5);
}

.btn-admin-menu:active {
  transform: scale(0.95);
}

/* ==================== ADMIN DROPDOWN ==================== */
.admin-dropdown {
  position: fixed;
  top: 75px;
  right: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.15), 0 5px 15px rgba(0,0,0,0.1);
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 1001;
  overflow: hidden;
  border: 1px solid rgba(52, 152, 219, 0.1);
}

.admin-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 18px;
  width: 16px;
  height: 16px;
  background: white;
  transform: rotate(45deg);
  border-left: 1px solid rgba(52, 152, 219, 0.1);
  border-top: 1px solid rgba(52, 152, 219, 0.1);
}

.admin-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.admin-dropdown-item {
  padding: 16px 22px;
  display: flex;
  align-items: center;
  display: none;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
}

.admin-dropdown-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(52, 152, 219, 0.1), transparent);
  transition: width 0.3s ease;
}

.admin-dropdown-item:hover::before {
  width: 100%;
}

.admin-dropdown-item:last-child {
  border-bottom: none;
}

.admin-dropdown-item i {
  font-size: 1.1rem;
  color: var(--secondary-color);
  transition: all 0.3s ease;
}

.admin-dropdown-item:hover i {
  transform: scale(1.2) rotate(5deg);
  color: var(--primary-color);
}

.admin-dropdown-item span {
  font-size: 0.95rem;
}

.admin-dropdown-item:hover {
  background: rgba(52, 152, 219, 0.03);
  color: var(--secondary-color);
  padding-left: 28px;
}

.admin-dropdown-item:hover {
  background: var(--bg-light);
  padding-left: 25px;
}

.admin-dropdown-item i {
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.admin-dropdown-item span {
  color: var(--text-dark);
  font-weight: 500;
}

/* ==================== MODAL OVERLAY ==================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}

.modal-overlay.show {
  display: flex;
}

.modal-container {
  background: linear-gradient(135deg, #081a33 0%, #0d2342 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  max-width: 450px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  color: #ffffff;
  transition: all 0.3s;
  z-index: 10;
}

.modal-close:hover {
  background: var(--danger);
  color: white;
  transform: rotate(90deg);
}

.modal-header {
  text-align: center;
  padding: 40px 30px 20px;
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.8) 0%, rgba(44, 82, 130, 0.6) 100%);
  color: white;
  border-radius: 20px 20px 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header i {
  font-size: 3rem;
  margin-bottom: 15px;
  opacity: 0.9;
}

.modal-header h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.modal-header p {
  opacity: 0.9;
  font-size: 0.95rem;
}

.modal-form {
  padding: 30px;
}

.modal-form .form-group {
  margin-bottom: 20px;
}

.modal-form label {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-weight: 600;
}

.modal-form label i {
  margin-right: 8px;
  color: #d4af37;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 1rem;
  color: #ffffff;
  transition: all 0.3s;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: #d4af37;
}

.modal-form input::placeholder,
.modal-form select::placeholder,
.modal-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.modal-form label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  cursor: pointer;
}

.modal-form input[type="checkbox"] {
  width: auto;
  cursor: pointer;
}

.error-message {
  display: none;
  background: rgba(192, 57, 43, 0.2);
  border: 1px solid rgba(192, 57, 43, 0.4);
  color: #ff6b6b;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.error-message.show {
  display: block;
  animation: shake 0.3s;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}

.btn-modal-primary {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--secondary-color), #2c5282);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-modal-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.modal-footer-links {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-footer-links a {
  color: #d4af37;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.modal-footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==================== PAINEL ADMIN INTEGRADO ==================== */
.admin-panel-integrated {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #f5f7fa;
  z-index: 9999;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.admin-panel-integrated.show {
  display: flex;
}

.admin-panel-header {
  background: white;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.admin-panel-title {
  display: flex;
  align-items: center;
  gap: 15px;
}

.admin-panel-title i {
  font-size: 1.8rem;
  color: var(--secondary-color);
}

.admin-panel-title h2 {
  color: var(--primary-color);
  font-size: 1.6rem;
}

.btn-close-admin {
  padding: 12px 24px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  box-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
}

.btn-close-admin i {
  font-size: 1.1rem;
}

.btn-close-admin:hover {
  background: linear-gradient(135deg, #c0392b, #a93226);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.admin-tabs {
  background: white;
  padding: 0 30px;
  display: flex;
  gap: 5px;
  border-bottom: 2px solid var(--border-color);
}

.admin-tab {
  padding: 15px 25px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-light);
  transition: all 0.3s;
}

.admin-tab:hover {
  color: var(--secondary-color);
}

.admin-tab.active {
  color: var(--secondary-color);
  border-bottom-color: var(--secondary-color);
}

.admin-tab i {
  margin-right: 8px;
}

.admin-tab-content {
  display: none;
  padding: 30px;
  flex: 1;
  overflow-y: auto;
}

.admin-tab-content.active {
  display: block;
}

.admin-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
}

.admin-form-section,
.admin-posts-section {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  height: fit-content;
}

.admin-form-section h3,
.admin-posts-section h3 {
  color: var(--primary-color);
  margin-bottom: 25px;
  font-size: 1.3rem;
}

.success-message {
  display: none;
  background: var(--success);
  color: white;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  animation: slideDown 0.3s;
}

.success-message.show {
  display: block;
}

@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.image-upload-area {
  border: 2px dashed var(--border-color);
  padding: 40px;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.image-upload-area:hover {
  border-color: var(--secondary-color);
  background: var(--bg-light);
}

.image-upload-area i {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.image-preview {
  margin-top: 15px;
  max-width: 100%;
  border-radius: 8px;
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn-admin-primary,
.btn-admin-secondary {
  flex: 1;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-admin-primary {
  background: linear-gradient(135deg, #0a2540, #1e3a5f, #2c5282);
  background-size: 200% 200%;
  color: white;
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.3);
}

.btn-admin-primary:hover {
  background: linear-gradient(135deg, #1e3a5f, #2c5282, #3d5a80);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(10, 37, 64, 0.4);
}

.btn-admin-secondary {
  background: var(--bg-light);
  color: var(--text-dark);
}

.btn-admin-secondary:hover {
  background: #d5dbdb;
}

/* Posts List no Admin */
.admin-post-item {
  background: var(--bg-light);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
}

.admin-post-item:hover {
  transform: translateX(5px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.admin-post-info h4 {
  color: var(--primary-color);
  margin-bottom: 5px;
}

.admin-post-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.admin-post-date {
  font-size: 0.85rem;
  color: #7f8c8d;
}

.admin-post-actions {
  display: flex;
  gap: 10px;
}

.btn-edit-post,
.btn-delete-post {
  padding: 8px 15px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-edit-post {
  background: var(--warning);
  color: white;
}

.btn-edit-post:hover {
  background: #d68910;
}

.btn-delete-post {
  background: var(--danger);
  color: white;
}

.btn-delete-post:hover {
  background: #c0392b;
}

/* ==================== RESPONSIVIDADE ADMIN ==================== */
@media (max-width: 968px) {
  .admin-content-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-tabs {
    overflow-x: auto;
  }
  
  .admin-tab {
    white-space: nowrap;
  }
}

/* ==================== ESTILOS COMPLEMENTARES ADMIN ==================== */
.admin-panel-integrated .form-group {
  margin-bottom: 20px;
}

.admin-panel-integrated .form-group:last-child {
  margin-bottom: 0;
}

.admin-panel-integrated h3 i {
  margin-right: 10px;
  color: var(--secondary-color);
}

.admin-posts-section .empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #7f8c8d;
}

.admin-posts-section .empty-state i {
  font-size: 4rem;
  opacity: 0.3;
  margin-bottom: 20px;
  display: block;
}

.admin-post-item .fa-calendar,
.admin-post-item .fa-tag {
  margin-right: 5px;
}

.btn-edit-post i,
.btn-delete-post i {
  margin-right: 5px;
}

/* Fix scrollbar do painel admin */
.admin-tab-content::-webkit-scrollbar {
  width: 8px;
}

.admin-tab-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.admin-tab-content::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}

.admin-tab-content::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Estilos para mensagem de imagem upload */
.image-upload-area p {
  margin-top: 10px;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Garantir que inputs e textareas tenham fonte consistente */
.admin-panel-integrated input,
.admin-panel-integrated textarea,
.admin-panel-integrated select {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Estilo para quando não há posts */
#adminPostsList:empty::after {
  content: '';
  display: block;
}

/* Melhorar aparência dos botões no mobile */
@media (max-width: 768px) {
  /* Modal de Login Responsivo */
  .modal-container {
    max-width: 95%;
    margin: 0 10px;
    max-height: 85vh;
  }

  .modal-header {
    padding: 30px 20px 15px;
  }

  .modal-header i {
    font-size: 2.5rem;
  }

  .modal-header h2 {
    font-size: 1.5rem;
  }

  .modal-header p {
    font-size: 0.9rem;
  }

  .modal-form {
    padding: 20px;
  }

  .modal-form .form-group {
    margin-bottom: 15px;
  }

  .modal-form input,
  .modal-form textarea {
    font-size: 16px; /* Evita zoom no iOS */
  }

  /* Painel Admin Responsivo */
  .admin-panel-header {
    padding: 15px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .admin-panel-title {
    flex-direction: row;
    gap: 10px;
    flex: 1;
  }

  .admin-panel-title i {
    font-size: 1.5rem;
  }

  .admin-panel-title h2 {
    font-size: 1.3rem;
  }
  
  .btn-close-admin {
    padding: 10px 18px;
    font-size: 0.9rem;
    width: auto;
  }

  /* Tabs Responsivas */
  .admin-tabs {
    padding: 0 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .admin-tabs::-webkit-scrollbar {
    display: none;
  }

  .admin-tab {
    padding: 12px 18px;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  /* Conteúdo das Tabs */
  .admin-tab-content {
    padding: 15px;
  }

  /* Formulários */
  .admin-panel-integrated input,
  .admin-panel-integrated textarea,
  .admin-panel-integrated select {
    font-size: 16px; /* Evita zoom no iOS */
    padding: 12px;
  }

  .admin-panel-integrated textarea {
    min-height: 120px;
  }

  /* Posts Admin */
  .admin-post-item {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .admin-post-info h4 {
    font-size: 1rem;
  }

  .admin-post-info p {
    font-size: 0.85rem;
  }

  .admin-post-date {
    font-size: 0.8rem;
  }
  
  .admin-post-actions {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .btn-edit-post,
  .btn-delete-post {
    flex: 1;
    padding: 10px 15px;
    font-size: 0.85rem;
  }

  /* Ações de Formulário */
  .form-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn-admin-primary,
  .btn-admin-secondary {
    width: 100%;
    padding: 14px;
    font-size: 0.95rem;
  }

  /* Upload de Imagem */
  .image-upload-area {
    padding: 30px 15px;
    min-height: 180px;
  }

  .image-upload-area i {
    font-size: 2.5rem;
  }

  .image-upload-area p {
    font-size: 0.85rem;
  }

  /* Preview de Imagem */
  #adminImagePreview {
    max-height: 200px;
  }

  /* Lista de Posts */
  #adminPostsList {
    gap: 12px;
  }

  /* Estatísticas Admin */
  .admin-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .admin-stat-card {
    padding: 20px;
  }

  /* Filtros e Pesquisa */
  .admin-filters {
    flex-direction: column;
    gap: 10px;
  }

  .admin-search {
    width: 100%;
  }

  /* Mensagens de Sucesso/Erro */
  .success-message,
  .error-message {
    font-size: 0.9rem;
    padding: 12px 15px;
  }

  /* Ajuste do Menu Mobile quando Admin está aberto */
  .nav-links.show {
    z-index: 9998;
  }

  /* Overlay do Menu não deve sobrepor o Admin */
  body.admin-open .nav-links {
    display: none !important;
  }

  .btn-admin-secondary {
    width: 100%;
  }
}

/* Ajuste fino para o dropdown */
.header-actions {
  position: relative;
}

/* Garantir que o painel fique acima de tudo */
.admin-panel-integrated {
  z-index: 99999 !important;
}

/* Estilo para o ícone de sucesso */
.success-message i {
  margin-right: 8px;
}

/* Transição suave ao abrir painel */
.admin-panel-integrated {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Fix para categoria dropdown */
.admin-panel-integrated select {
  appearance: auto;
  -webkit-appearance: auto;
  -moz-appearance: auto;
  background-color: white;
}

/* Estilo hover para área de upload */
.image-upload-area {
  display: block;
}

.image-upload-area i {
  display: block;
}

/* Responsividade para o painel em tablets */
@media (max-width: 1024px) and (min-width: 769px) {
  .admin-content-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-form-section {
    order: 1;
  }
  
  .admin-posts-section {
    order: 2;
  }
}

/* ==================== SISTEMA DE AVALIAÇÕES ==================== */
.avaliar-cta {
  text-align: center;
  margin-top: 50px;
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.depoimento-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  position: relative;
  transition: all 0.3s;
}

.depoimento-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.depoimento-card .quote-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  opacity: 0.3;
  margin-bottom: 15px;
}

.depoimento-rating {
  display: flex;
  gap: 5px;
  margin-bottom: 15px;
}

.depoimento-rating i {
  color: #ffa500;
  font-size: 1.1rem;
}

.depoimento-texto {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.depoimento-autor {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

.depoimento-autor strong {
  color: var(--primary-color);
  font-size: 1.05rem;
}

.depoimento-data {
  font-size: 0.85rem;
  color: #7f8c8d;
}

/* Rating Stars - Modal */
.rating-stars {
  display: flex;
  gap: 10px;
  font-size: 2.5rem;
  margin: 10px 0;
  justify-content: center;
}

.rating-stars i {
  color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
}

.rating-stars i:hover,
.rating-stars i.active {
  color: #ffa500;
  transform: scale(1.2);
}

.rating-text {
  display: block;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 10px;
}

.form-note {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-top: 15px;
}

.form-note i {
  margin-right: 5px;
}

/* Admin - Avaliações */
.avaliacoes-admin-container {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.avaliacoes-filters {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 20px;
  border: 2px solid var(--border-color);
  background: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-btn:hover {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.filter-btn.active {
  background: var(--secondary-color);
  color: white;
  border-color: var(--secondary-color);
}

.filter-btn i {
  font-size: 1.1rem;
}

.avaliacoes-lista {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.avaliacao-admin-item {
  background: var(--bg-light);
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid transparent;
  transition: all 0.3s;
}

.avaliacao-admin-item.pendente {
  border-left-color: var(--warning);
}

.avaliacao-admin-item.aprovada {
  border-left-color: var(--success);
}

.avaliacao-admin-item.reprovada {
  border-left-color: var(--danger);
}

.avaliacao-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 15px;
}

.avaliacao-info h4 {
  color: var(--primary-color);
  margin-bottom: 5px;
}

.avaliacao-info small {
  color: #7f8c8d;
  font-size: 0.85rem;
}

.avaliacao-status {
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.avaliacao-status.pendente {
  background: #fff3cd;
  color: #856404;
}

.avaliacao-status.aprovada {
  background: #d4edda;
  color: #155724;
}

.avaliacao-status.reprovada {
  background: #f8d7da;
  color: #721c24;
}

.avaliacao-rating-admin {
  display: flex;
  gap: 5px;
  margin-bottom: 15px;
}

.avaliacao-rating-admin i {
  color: #ffa500;
  font-size: 1.2rem;
}

.avaliacao-texto-admin {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 15px;
  padding: 15px;
  background: white;
  border-radius: 8px;
}

.avaliacao-actions {
  display: flex;
  gap: 10px;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

.btn-aprovar,
.btn-reprovar,
.btn-excluir-avaliacao {
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
}

.btn-aprovar {
  background: linear-gradient(135deg, #27ae60, #229954);
  color: white;
  box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

.btn-aprovar:hover {
  background: linear-gradient(135deg, #229954, #1e8449);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
}

.btn-reprovar {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.btn-reprovar:hover {
  background: linear-gradient(135deg, #c0392b, #a93226);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.btn-excluir-avaliacao {
  background: linear-gradient(135deg, #95a5a6, #7f8c8d);
  color: white;
  margin-left: auto;
  box-shadow: 0 2px 8px rgba(149, 165, 166, 0.3);
}

.btn-excluir-avaliacao:hover {
  background: linear-gradient(135deg, #7f8c8d, #6c7a7b);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(149, 165, 166, 0.4);
}

.empty-avaliacoes {
  text-align: center;
  padding: 60px 20px;
  color: #7f8c8d;
}

.empty-avaliacoes i {
  font-size: 4rem;
  opacity: 0.3;
  margin-bottom: 20px;
  display: block;
}

/* Responsividade Avaliações */
@media (max-width: 768px) {
  .depoimentos-grid {
    grid-template-columns: 1fr;
  }
  
  .avaliacoes-filters {
    flex-direction: column;
  }
  
  .filter-btn {
    width: 100%;
    justify-content: center;
  }
  
  .avaliacao-header {
    flex-direction: column;
    gap: 10px;
  }
  
  .avaliacao-actions {
    flex-wrap: wrap;
  }
}

/* ==================== NOTIFICAÇÕES DE AVALIAÇÃO ==================== */
.notificacao-avaliacao {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 15px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  font-weight: 600;
  z-index: 99999;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 300px;
  max-width: 500px;
  text-align: center;
}

.notificacao-avaliacao.show {
  top: 30px;
}

.notificacao-avaliacao.success {
  border-left: 5px solid #27ae60;
  color: #27ae60;
}

.notificacao-avaliacao.danger {
  border-left: 5px solid #e74c3c;
  color: #e74c3c;
}

.notificacao-avaliacao.info {
  border-left: 5px solid #2c5282;
  color: #2c5282;
}

@media (max-width: 768px) {
  .notificacao-avaliacao {
    min-width: 250px;
    max-width: 90%;
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

/* ==================== NOVO LAYOUT ESTILO REFERÊNCIA ==================== */

/* Esconder elementos antigos */
.particles-canvas,
.hero-shapes,
.hero-stars,
.hero-overlay,
.floating-badges,
.hero-badge,
.hero-title,
.hero-subtitle,
.hero-cta-group,
.hero-stats,
.hero-image,
.scroll-indicator {
  display: none !important;
}

/* Header Clean */
.header {
  background: #D3D3D3 !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(10, 37, 64, 0.10) !important;
  padding: 0 !important;
  box-shadow: 0 2px 20px rgba(10, 37, 64, 0.07) !important;
}

.header .container {
  max-width: 100% !important;
  margin: 0 !important;
  padding-left: 6px !important;
  padding-right: 10px !important;
}

.header .navbar {
  position: relative;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 8px !important;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-left: -2px;
  gap: 0;
}

.logo-text-group {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 4px;
  pointer-events: none;
}

.logo h1 {
  display: block;
  font-family: 'Cinzel', serif !important;
  font-size: 1.65rem !important;
  font-weight: 700 !important;
  color: #0F0F59 !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #0F0F59 !important;
  filter: none !important;
  letter-spacing: 3px !important;
  margin: 0 !important;
  padding: 0 !important;
  text-shadow: 0 1px 6px rgba(10, 37, 64, 0.18) !important;
}

.logo-tooth {
  font-size: 1.25rem;
  color: #2c5282;
}

.logo-dr-icon {
  width: 160px;
  height: 160px;
  margin-top: -14px;
  margin-bottom: -14px;
  background: #D3D3D3;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.logo-subtitle {
  font-size: 0.62rem;
  color: #0F0F59;
  letter-spacing: 3.5px;
  font-weight: 500;
  margin-top: -2px;
  text-align: left;
}

.nav-links a {
  color: rgba(10, 37, 64, 0.85) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  padding: 6px 16px !important;
  letter-spacing: 0.5px !important;
}

.nav-links a i {
  display: none !important;
}

.nav-links a:hover {
  color: #0a2540 !important;
}

.nav-links a::before {
  display: none !important;
}

/* Badge contador de avaliações na aba admin */
.tab-badge {
  display: none;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: #e53e3e;
  border-radius: 12px;
  padding: 1px 7px;
  margin-left: 5px;
  vertical-align: middle;
  letter-spacing: 0;
}

/* Toggle de senha */
.input-password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-password-wrapper input {
  width: 100%;
  padding-right: 44px !important;
}

.btn-toggle-password {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: #ffffff;
  font-size: 1rem;
  padding: 0;
  line-height: 1;
  transition: color 0.2s ease;
  z-index: 2;
}

.btn-toggle-password:hover {
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 769px) {
  .header .navbar {
    justify-content: flex-start;
  }

  .header .nav-links {
    margin-left: auto;
    margin-right: 24px;
    gap: 4px;
  }

  .header .header-actions {
    margin-left: 0;
  }
}

/* Hero Section Dark */
.hero {
  background: #081a33 !important;
  min-height: 100vh !important;
  padding: 80px 0 !important;
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  overflow: hidden !important;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.hero-content-left {
  z-index: 10;
}

/* Badge de Sucesso */
.success-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease-out;
}

.success-avatars {
  display: flex;
  align-items: center;
}

.success-avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #081a33;
  margin-left: -12px;
  object-fit: cover;
}

.success-avatars img:first-child {
  margin-left: 0;
}

.success-badge span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 400;
}

/* Título Principal */
.hero-title-main {
  font-size: 3rem;
  font-family: 'Segoe UI Variable', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 40px;
  letter-spacing: -1px;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: none !important;
  filter: none !important;
}

/* Botão CTA Principal */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.9);
  color: #081a33;
  padding: 18px 35px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.btn-cta:hover {
  background: #ffffff;
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.btn-cta i {
  font-size: 1rem;
}

/* Descrição Hero */
.hero-description {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 500px;
  animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

/* Foto do Profissional */
.hero-image-right {
  position: relative;
  height: 600px;
  border-radius: 22px;
  overflow: hidden;
  animation: fadeIn 1s ease-out 0.3s backwards;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 10px rgba(255, 255, 255, 0.02);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.hero-image-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 14, 26, 0.18) 0%, rgba(8, 14, 26, 0.02) 45%, rgba(8, 14, 26, 0.3) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-image-right::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.14) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-18deg);
  z-index: 3;
  pointer-events: none;
  transition: left 0.8s ease;
}

.hero-image-right:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 38px 90px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0 0 12px rgba(255, 255, 255, 0.03);
}

.hero-image-right:hover::after {
  left: 135%;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 22px;
  transform: scale(1.02);
  transition: transform 0.6s ease;
}

.hero-image-right:hover .hero-photo {
  transform: scale(1.06);
}

/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsivo */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-title-main {
    font-size: 2.8rem;
  }
  
  .hero-image-right {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .hero-title-main {
    font-size: 2.2rem;
  }
  
  .logo-mark {
    width: 34px;
    height: 34px;
  }
  .hero-container {
    padding: 0 20px;
  }
  
  .btn-cta {
    width: 100%;
    justify-content: center;
  }
  
  .hero-image-right {
    height: 400px;
  }

  .phone-mockup {
    animation: phoneFloatMobile 24s ease-in-out infinite !important;
  }

  .sobre-image img {
    animation-duration: 24s !important;
  }

  .sobre-image::before,
  .sobre-image::after {
    animation-duration: 30s !important;
  }
}
/* ==================== SEÇÕES DARK THEME ==================== */

/* Sobre Section */
.sobre {
  background: #081a33 !important;
  padding: 100px 0 !important;
}

.section-title {
  color: #ffffff !important;
  text-align: center;
  font-size: 2.5rem !important;
  font-weight: 500 !important;
  margin-bottom: 20px !important;
}

.sobre-text h3,
.sobre-text p,
.sobre-text li {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Especialidades/Procedimento */
.especialidades {
  background: #0d2342 !important;
  padding: 100px 0 !important;
}

.section-subtitle {
  color: rgba(255, 255, 255, 0.6) !important;
}

.especialidade-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: all 0.3s ease !important;
}

.especialidade-card:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  transform: translateY(-5px) !important;
}

.especialidade-card h3 {
  color: #ffffff !important;
}

.especialidade-card p {
  color: rgba(255, 255, 255, 0.6) !important;
}

.card-icon {
  background: rgba(255, 255, 255, 0.1) !important;
}

/* Antes e Depois / Casos */
.antes-depois {
  background: #081a33 !important;
  padding: 100px 0 !important;
}

.section-highlight {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Depoimentos */
.depoimentos {
  background: #0d2342 !important;
  padding: 100px 0 !important;
}

/* Blog */
.blog {
  background: #081a33 !important;
  padding: 100px 0 !important;
}

.blog-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.blog-card:hover {
  background: rgba(255, 255, 255, 0.05) !important;
}

.blog-card h3 {
  color: #ffffff !important;
}

.blog-card p {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* Contato */
.contato {
  background: #0d2342 !important;
  padding: 100px 0 !important;
}

.contato-form input,
.contato-form textarea {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

.contato-form input::placeholder,
.contato-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

/* Footer */
.footer {
  background: #061426 !important;
  color: rgba(255, 255, 255, 0.6) !important;
}

.footer h3 {
  color: #ffffff !important;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6) !important;
}

.footer-links a:hover {
  color: #ffffff !important;
}