@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-blue: #02075d;
  --primary-blue-hover: #030882;
  --secondary-cyan: #55dbde;
  --secondary-cyan-light: #8ef7fa;
  --text-dark: #1e293b;
  --text-light: #f8fafc;
  --bg-color: #f1f5f9;
  
  /* OVERHAUL LIQUIDGLASS: Mais reflexo, mais blur para ficar super visível */
  --glass-bg: rgba(255, 255, 255, 0.4);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 10px 40px 0 rgba(31, 38, 135, 0.15);
  
  --glass-bg-dark: rgba(2, 7, 93, 0.4);
  --glass-border-dark: rgba(255, 255, 255, 0.25);
  --glass-shadow-dark: 0 15px 40px 0 rgba(0, 0, 0, 0.4);
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  /* Fundo muito mais vivo para o vidro borrar */
  background: radial-gradient(circle at 0% 0%, #ffffff 0%, #f1f5f9 100%);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden; /* Impede barra lateral do menu mobile */
  position: relative;
  /* Transição suave de entrada */
  opacity: 0;
  transition: opacity 0.8s ease;
  /* Sleek modern SVG Native Arrow */
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%2355dbde" stroke="%2302075d" stroke-width="1.5"><path d="M4 2 L20 12 L11 14 L8 22 Z"/></svg>'), auto;
}

body.loaded {
  opacity: 1;
}

html {
  scroll-behavior: smooth;
}

/* Liquidglass utilities */
.liquidglass {
  background: var(--glass-bg);
  backdrop-filter: blur(25px) saturate(150%);
  -webkit-backdrop-filter: blur(25px) saturate(150%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 28px !important;
  position: relative;
  overflow: hidden;
}
.liquidglass::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.liquidglass-dark {
  background: var(--glass-bg-dark);
  backdrop-filter: blur(30px) saturate(150%);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
  border: 1px solid var(--glass-border-dark);
  box-shadow: var(--glass-shadow-dark);
  border-radius: 28px;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}
.liquidglass-dark::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1350px;
  z-index: 1000;
  padding: 15px 40px;
  transition: all 0.4s ease;
  border-radius: 50px;
}

header.scrolled {
  padding: 10px 40px;
  width: 92%;
  max-width: 1350px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 10px 40px rgba(2, 7, 93, 0.1);
}

header.scrolled .nav-links a {
  color: var(--primary-blue) !important;
}

header.scrolled .logo img {
  filter: none; /* Mantêm logo original (azul) no fundo branco */
}

header .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.navbar .nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.mobile-nav {
  display: none !important;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: all 0.3s;
  font-size: 1.1rem;
}

.nav-links a:hover {
  color: var(--secondary-cyan-light);
}

header.scrolled .nav-links a {
  color: var(--primary-blue);
}
header.scrolled .nav-links a:hover {
  opacity: 0.7;
}

header .logo img {
  height: 45px;
  transition: transform 0.3s ease;
  z-index: 1002;
}

/* Nav Socials */
.nav-socials {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-left: 20px;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s, transform 0.3s;
}
.social-icon-svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: 0.3s;
}
.solid-icon {
  fill: currentColor;
  stroke: none;
  stroke-width: 0;
}
.social-icon:hover {
  transform: scale(1.1);
  color: var(--secondary-cyan);
}

/* Hamburger Menu CSS */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1002;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 5px;
  transition: 0.3s;
}
header.blog-nav .hamburger span {
  background: var(--primary-blue);
}
header.scrolled .hamburger span {
  background: var(--primary-blue);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

header .cta-button {
  background-color: var(--secondary-cyan);
  color: var(--primary-blue);
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(85, 219, 222, 0.3);
}

header .cta-button:hover {
  transform: translateY(-2px);
  background-color: var(--secondary-cyan-light);
  box-shadow: 0 6px 20px rgba(85, 219, 222, 0.5);
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 5%;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Gradiente Azul Vibrante Wellcare - Sincronizado com a nova seção de vídeo */
  background: linear-gradient(160deg, rgba(2, 7, 93, 0.9) 0%, rgba(0, 80, 220, 0.85) 50%, rgba(45, 150, 255, 0.7) 100%);
  background-size: 200% 200%;
  animation: bgGradient 10s ease infinite;
  z-index: -1;
}

@keyframes bgGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-content {
  max-width: 1000px;
  text-align: center;
  z-index: 10;
  padding: 0 20px;
}

/* HERO ANIMATIONS */
.hero-entrance {
  animation: heroPopUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(60px) scale(0.95);
}

@keyframes heroPopUp {
  0% { opacity: 0; transform: translateY(60px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  line-height:1.1;
  margin-bottom: 25px;
  letter-spacing: -2px;
  color: white;
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: txtFadeUp 1s ease 0.3s forwards;
  opacity: 0;
}

.hero h1 .highlight {
  color: var(--secondary-cyan);
  display: inline-block;
  position: relative;
}
  font-size: 1.4rem;
  margin-bottom: 40px;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  animation: txtFadeUp 1s ease 0.5s forwards;
  opacity: 0;
}

.hero .cta-button {
  animation: txtFadeUp 1s ease 0.7s forwards;
  opacity: 0;
}

.btn-glass {
  display: inline-block;
  padding: 16px 36px;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255,255,255,0.4);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), inset 0 2px 0 rgba(255,255,255,0.6);
  transform: translateY(-3px) scale(1.02);
}

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

/* Video Highlight Section */
.video-highlight-section {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-blue);
  padding: 0;
}

.video-item-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  object-fit: cover;
}

.video-overlay-blue {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Overlay azul mais vibrante e denso para esconder os pretos do vídeo */
  background: linear-gradient(160deg, rgba(2, 7, 93, 0.85) 0%, rgba(0, 102, 255, 0.7) 50%, rgba(85, 219, 222, 0.5) 100%);
  z-index: 1;
}

.video-phrase {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 800;
  color: white;
  text-shadow: 0 10px 40px rgba(0,0,0,0.5);
  line-height: 1.1;
  max-width: 900px;
  margin: 0 auto;
}

/* Sections */
section {
  padding: 100px 5%;
  position: relative;
}

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

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 60px;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Cards - Icons Area fix */
.card {
  padding: 40px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.6);
}

.card:hover {
  transform: translateY(-10px);
  background: white;
  border-color: var(--secondary-cyan);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.card img {
  transition: transform 0.4s ease;
}
.card:hover img {
  transform: scale(1.05);
}

.card h3 {
  font-size: 1.4rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.num-icon {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--secondary-cyan);
  opacity: 0.5;
  margin-bottom: 10px;
  line-height: 1;
}

/* Pills para Sintomas (Indicado para) */
.symptom-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.symptom-tag {
  background: white;
  color: var(--primary-blue);
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: 1px solid rgba(85, 219, 222, 0.3);
  transition: all 0.3s;
}

.symptom-tag:hover {
  background: var(--secondary-cyan);
  color: var(--primary-blue);
  transform: scale(1.05);
}

/* Checks List */
.check-list {
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.check-list li::before {
  content: '✔️';
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 1rem;
}

/* Professional Card */
.prof-card {
  text-align: center;
}

.prof-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: var(--primary-blue);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: bold;
}

/* Stepper / Timeline */
.stepper-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.stepper-wrapper::before {
  content: '';
  position: absolute;
  left: 25px; /* Half of circle width + border */
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--secondary-cyan);
  z-index: 0;
}

.step {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.step:last-child {
  margin-bottom: 0;
}

.step-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  border: 2px solid var(--secondary-cyan);
  margin-right: 20px;
  flex-shrink: 0;
}

.hero-share-btn {
    margin-top: 25px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.hero-share-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    color: var(--secondary-cyan);
}
.hero-share-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.step-content {
  font-size: 1.2rem;
  text-align: left;
  line-height: 1.4;
}

/* Form Section */
.form-section {
  background: var(--primary-blue);
  color: white;
  position: relative;
  overflow: hidden;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
}

.custom-input {
  width: 100%;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: white;
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  outline: none;
}

.custom-input::placeholder {
  color: rgba(255,255,255,0.6);
}

.custom-input:focus {
  background: rgba(255,255,255,0.15);
  border-color: var(--secondary-cyan);
}

.submit-btn {
  width: 100%;
  background: var(--secondary-cyan);
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 1.2rem;
  padding: 18px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: var(--secondary-cyan-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(85, 219, 222, 0.3);
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 5%;
  background: #010433;
  color: rgba(255,255,255,0.6);
}

/* WhatsApp Bubble */
.whatsapp-bubble {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 65px;
  height: 65px;
  background: #25d366; /* WhatsApp Green mais vibrante */
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

.whatsapp-bubble:hover {
  transform: scale(1.15) rotate(5deg);
  background: rgba(37, 211, 102, 0.4);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 15px 50px rgba(37, 211, 102, 0.3);
}

.whatsapp-bubble svg {
  width: 35px;
  height: 35px;
  /* Filter: white with slight glow */
  filter: drop-shadow(0 0 5px rgba(255,255,255,0.5));
  fill: white;
}

/* Edit Mode Visual Cues */
.edit-mode [contenteditable="true"] {
  outline: 2px dashed var(--secondary-cyan);
  padding: 2px;
  border-radius: 4px;
  transition: all 0.2s;
  cursor: text;
}
.edit-mode [contenteditable="true"]:hover {
  background: rgba(85, 219, 222, 0.1);
}

.edit-panel-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #111;
  color: lime;
  padding: 10px;
  text-align: center;
  z-index: 9999;
  font-family: monospace;
  display: none;
}

/* --- INTERACTIVE CURSORS NATIVE --- */
a, button, [contenteditable="true"], .mapping-node, .btn-glass, img[data-edit-id] {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%230050ff" stroke="%23ffffff" stroke-width="1.5"><path d="M4 2 L20 12 L11 14 L8 22 Z"/></svg>'), pointer !important;
}

/* --- BACKGROUND ANIMATIONS --- */
.bg-blob {
  position: fixed;
  filter: blur(120px);
  z-index: -2;
  opacity: 0.8;
  animation: floatAnim 15s ease-in-out infinite alternate;
  pointer-events: none;
}
.blob-1 { width: 60vw; height: 60vw; max-width: 800px; max-height: 800px; background: rgba(85, 219, 222, 0.45); top: -20%; left: -20%; border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
.blob-2 { width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: rgba(2, 7, 93, 0.35); bottom: -30%; right: -20%; border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%; animation-delay: -5s; }
.blob-3 { width: 50vw; height: 50vw; max-width: 600px; max-height: 600px; background: rgba(2, 7, 93, 0.25); top: 30%; left: 40%; border-radius: 50% 30% 60% 40% / 30% 50% 40% 60%; animation-duration: 20s; }

@keyframes floatAnim {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33% { transform: translate(50px, -50px) scale(1.1) rotate(10deg); }
  66% { transform: translate(-30px, 40px) scale(0.9) rotate(-10deg); }
  100% { transform: translate(0, 0) scale(1) rotate(0deg); }
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1 !important;
  transform: translateY(0);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-info h2 {
  font-size: 2.2rem;
  color: white;
  margin-bottom: 18px;
  line-height: 1.2;
}
.contact-info > p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 35px;
  line-height: 1.8;
}
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.1);
}
.contact-card strong {
  display: block;
  color: white;
  font-size: 0.9rem;
  margin-bottom: 3px;
}
.contact-card span {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}
.contact-card-icon {
  width: 44px;
  height: 44px;
  background: var(--secondary-cyan);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-blue);
}
.contact-card-icon svg {
  width: 22px;
  height: 22px;
}
.contact-form-wrapper {
  padding: 40px;
}
.contact-form-wrapper h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 25px;
  text-align: center;
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 28px 20px; }
  .contact-info h2 { font-size: 1.8rem; }
}

/* Panel Specific */
.admin-header {
  background: var(--primary-blue);
  color: white;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.leads-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.leads-table th, .leads-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.leads-table th {
  background: var(--primary-blue);
  color: white;
}

.toggle-btn {
  background: transparent;
  border: 2px solid var(--secondary-cyan);
  color: var(--secondary-cyan);
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.toggle-btn.active {
  background: var(--secondary-cyan);
  color: var(--primary-blue);
}

/* ── Team Cards Premium ── */
.team-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 28px !important;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  mask-image: -webkit-radial-gradient(white, black);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.team-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 30px 60px rgba(2, 7, 93, 0.2);
}
.team-photo-wrapper {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  z-index: 2; /* Garante que a foto fique acima do overlay liquidglass */
}

/* Remove o efeito esbranquiçado/nublado de cima das fotos da equipe */
.team-card.liquidglass::after,
.team-modal-content.liquidglass::after {
  display: none;
}

#modal-team-img {
  opacity: 1 !important;
  filter: none !important;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
        .post-hero {
            position: relative;
            height: 100vh;
            min-height: 560px;
            max-height: 720px;
            overflow: hidden;
            padding: 0 !important; 
        }
.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: all 0.5s ease;
  display: block;
  opacity: 1 !important;
}

.team-card:hover .team-photo {
  transform: scale(1.08);
  filter: brightness(1.1);
}

/* ── Imagens Premium (Entrada e Hover) ── */
.premium-img {
  transition: all 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
  backface-visibility: hidden;
  opacity: 1 !important;
}

.premium-img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* ── Team Info & Socials ── */
.team-info {
  padding: 25px 28px 28px;
}
.team-info h3 {
  font-size: 1.25rem;
  color: var(--primary-blue);
  margin: 0 0 8px;
  font-weight: 700;
}
.team-badge {
  display: inline-block;
  background: var(--secondary-cyan);
  color: var(--primary-blue);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.team-info p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 18px;
}
.team-social {
  display: flex;
  gap: 14px;
  color: var(--primary-blue);
}
.team-social .social-icon:hover {
  color: var(--secondary-cyan);
}

/* ── UI Components ── */
.brain-area-card, .method-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.brain-area-card:hover, .method-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(2,7,93,0.12);
}
.brain-area-icon {
  font-size: 3rem;
  line-height: 1;
  display: block;
  margin-bottom: 5px;
}
.num-icon {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--secondary-cyan);
  margin-bottom: 15px;
  line-height: 1;
  letter-spacing: -1px;
}

/* Brain Mapping Interactive */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}
.brain-map-container {
  display: flex;
  justify-content: center;
  padding: 40px 0;
  position: relative;
  animation: float 6s ease-in-out infinite;
}
.brain-graphic-wrapper {
  position: relative;
  width: 500px;
  height: 400px;
}
.brain-circle {
  width: 100%;
  height: 100%;
  background: transparent;
}
.brain-circle canvas {
  width: 100%; height: 100%; display: block;
}
}

.mapping-node {
  position: absolute;
  width: 20px;
  height: 20px;
  z-index: 10;
  cursor: pointer;
}
.node-dot {
  width: 16px; height: 16px;
  background: var(--secondary-cyan);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 15px var(--secondary-cyan);
  animation: pulseNode 2s infinite;
}
@keyframes pulseNode {
  0% { box-shadow: 0 0 0 0 rgba(85,219,222,0.6); }
  70% { box-shadow: 0 0 0 15px rgba(85,219,222,0); }
  100% { box-shadow: 0 0 0 0 rgba(85,219,222,0); }
}

.node-card {
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translateY(-50%) translateX(20px);
  width: 250px;
  padding: 15px 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}
.mapping-node:hover .node-card {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}
.node-card h4 {
  color: var(--primary-blue);
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.node-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.4;
}

/* General Mobile Responsiveness */
@media (max-width: 850px) {
  .hero h1 { font-size: 2.2rem; line-height: 1.2; }
  .section-title { font-size: 1.8rem; line-height: 1.3; margin-bottom: 30px; }
  p, li { font-size: 1rem !important; line-height: 1.5 !important; }
  
  /* Redução de espaçamentos exagerados no mobile */
  .grid-2 { gap: 30px; }
  .liquidglass { padding: 20px !important; }
  .video-highlight-section { height: 50vh; }
  .video-phrase { font-size: 1.5rem; }
}

/* Menu Mobile & Tablet Full Screen - Quebra segura antes do menu bugar */
@media (max-width: 1150px) {
  header { width: 95%; top: 15px; border-radius: 50px; padding: 10px 25px; }
  header.scrolled { width: 92%; }

  .hamburger { display: flex; }
  header .navbar { flex-wrap: nowrap; justify-content: space-between; width: 100%; }
  header .nav-links { display: none !important; } /* Esconde o menu original (desktop) no mobile */

  /* ── Menu Mobile Full Screen ─────────────────────────── */
  .mobile-nav {
    display: flex !important;
    position: fixed;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: linear-gradient(160deg, rgba(2, 7, 93, 1) 0%, rgba(0, 50, 180, 1) 50%, rgba(2, 7, 93, 1) 100%);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 9999;
    overflow: hidden;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    pointer-events: none;
    visibility: hidden;
  }

  .mobile-nav.active {
    transform: translateY(0) !important;
    pointer-events: all;
    visibility: visible;
  }

  /* Detalhe de luz no canto superior */
  .nav-links::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(85,219,222,0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
  }
  .nav-links::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(85,219,222,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
  }

  .mobile-nav a {
    color: white !important;
    font-size: 1.5rem;
    font-weight: 600;
  }

  /* Links individuais força o branco no mobile overlay */
  .nav-links a,
  header.scrolled .nav-links a {
    color: white !important;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    padding: 12px 32px;
    border-radius: 50px;
    border: 2px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    width: 100%;
    max-width: 320px;
    text-decoration: none;
    position: relative;
    z-index: 1;
  }

  /* Borda LiquidGlass no hover */
  .nav-links a:hover {
    color: var(--secondary-cyan) !important;
    border-color: rgba(85,219,222,0.4);
    background: rgba(85,219,222,0.08);
    box-shadow: 0 0 20px rgba(85,219,222,0.15), inset 0 0 12px rgba(85,219,222,0.06);
  }

  /* Borda LiquidGlass no CLIQUE (active) */
  .nav-links a:active,
  .nav-links a.nav-active {
    color: white !important;
    border-color: var(--secondary-cyan) !important;
    background: rgba(85,219,222,0.15) !important;
    box-shadow: 0 0 30px rgba(85,219,222,0.3), inset 0 0 20px rgba(85,219,222,0.1) !important;
    transform: scale(0.98);
  }

  /* Botão CTA interno */
  .nav-links .cta-button {
    margin-top: 14px;
    font-size: 1.1rem;
    background: var(--secondary-cyan);
    color: var(--primary-blue);
    font-weight: 800;
    border: none !important;
    box-shadow: 0 8px 30px rgba(85,219,222,0.4) !important;
  }

  /* Sociais */
  .nav-socials {
    margin-left: 0;
    margin-top: 16px;
    gap: 24px;
  }
  .nav-socials .social-icon {
    color: rgba(255,255,255,0.7) !important;
    transition: color 0.25s, transform 0.25s;
  }
  .nav-socials .social-icon:hover { color: var(--secondary-cyan) !important; transform: scale(1.15); }
  .nav-socials .social-icon-svg { width: 30px; height: 30px; }

  /* ── Botão X para fechar ─────────────────────────────── */
  .nav-links.active .nav-close-btn {
    display: flex !important;
  }
}

/* X — oculto fora do mobile */
.nav-close-btn {
  display: none; /* Oculto por padrão, aparece apenas no mobile via media query */
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: none !important;
  outline: none !important;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2005;
}
.nav-close-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: translateX(-50%) rotate(90deg);
}
.nav-close-btn svg {
  width: 32px;
  height: 32px;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
}
/* ── Imagens Premium (Entrada e Hover) ── */
.premium-img {
  transition: all 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
  backface-visibility: hidden;
  opacity: 1 !important;
}

/* Hover: Leve zoom sem cortar, usando overflow:hidden no pai */
/* O usuário pediu "sem cortar bordas", então o zoom deve ser sutil e o container deve limitar */
.premium-img:hover {
  transform: scale(1.07);
  filter: saturate(1.2) brightness(1.1);
}

/* Entrada Suave vinculada ao Scroll Reveal - Sem opacidade inicial */
.reveal .premium-img {
  opacity: 1; /* Removida opacidade inicial a pedido do usuário */
  transform: translateY(20px) scale(0.98);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active .premium-img {
  opacity: 1;
  transform: translateY(0) scale(1);
}


/* Wellcare Post Hero & Share */
.post-hero { 
  position: relative; 
  height: 100vh; 
  min-height: 560px; 
  max-height: 720px; 
  overflow: hidden; 
  padding: 0 !important; 
}

.hero-share-btn { 
  margin-top: 25px; 
  background: rgba(255, 255, 255, 0.15); 
  backdrop-filter: blur(10px); 
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3); 
  color: white; 
  padding: 12px 24px; 
  border-radius: 50px; 
  text-decoration: none; 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  width: fit-content; 
  font-weight: 700; 
  font-size: 0.95rem; 
  transition: all 0.3s; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
}

.hero-share-btn:hover { 
  background: rgba(255, 255, 255, 0.25); 
  transform: translateY(-3px); 
  box-shadow: 0 15px 40px rgba(0,0,0,0.3); 
  color: var(--secondary-cyan); 
}

.hero-share-btn svg { 
  width: 20px; 
  height: 20px; 
  fill: currentColor; 
}

/* ─────────────────────────────────────────────────────────────
   MOBILE OPTIMIZATIONS (FINAL OVERRIDES)
   ───────────────────────────────────────────────────────────── */

@media (max-width: 850px) {
  /* Tipografia Mobile */
  h1 { font-size: 2.1rem !important; line-height: 1.2 !important; }
  h2 { font-size: 1.7rem !important; line-height: 1.3 !important; }
  h3 { font-size: 1.3rem !important; line-height: 1.4 !important; }
  p, li, .step-content { font-size: 0.95rem !important; line-height: 1.6 !important; }
  
  .section-title { margin-bottom: 30px !important; }
  section { padding: 40px 5% !important; }
  
  /* Blog Hero & Post Tuning */
  .blog-hero { height: 75vh !important; }
  .hero-slide-content { padding: 100px 20px 40px !important; }
  
  /* Ajuste de cards e grids */
  .grid-2, .grid-3, .grid-4, .contact-grid { 
    grid-template-columns: 1fr !important; 
    gap: 30px !important; 
  }
  .liquidglass { padding: 20px !important; }
  
  /* =============================================================
     MENU MOBILE DEFINITIVO (V1.2 - ZERO CONFLITO)
     ============================================================= */

  .mobile-nav {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    padding-top: 100px !important;
    padding-bottom: 60px !important;
    gap: 15px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    text-align: center !important;
  }

  /* Botão X - Forçado no canto superior direito */
  .nav-close-btn {
    position: fixed !important;
    top: 25px !important;
    right: 25px !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255,255,255,0.15) !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    z-index: 10008 !important;
    margin: 0 !important;
  }

  .nav-close-btn svg {
    width: 24px !important;
    height: 24px !important;
    stroke: white !important;
    stroke-width: 3 !important;
  }

  .mobile-nav a {
    color: white !important;
    font-size: 1.15rem !important;
    text-decoration: none !important;
    padding: 10px 20px !important;
    display: block !important;
    width: 100% !important;
    font-weight: 500 !important;
  }

  /* Sociais e Botão de Baixo */
  .nav-socials {
    margin: 15px 0 !important;
    display: flex !important;
    justify-content: center !important;
    gap: 30px !important;
  }

  /* Cabeçalho Liquid Glass (Restaurado) */
  header {
    position: fixed !important;
    top: 15px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 92% !important;
    max-width: 600px !important;
    border-radius: 50px !important;
    padding: 10px 20px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    z-index: 1000 !important;
  }

  header.scrolled {
    background: rgba(255, 255, 255, 0.88) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 10px 30px rgba(2, 7, 93, 0.12) !important;
  }

  /* Ocupar mais a parte central */
  .contact-container, .container {
    max-width: 500px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem !important; }
  .mobile-nav { padding-top: 100px !important; gap: 12px !important; }
  .mobile-nav a { font-size: 1.1rem !important; }
  header { width: 94% !important; top: 10px !important; }
}

/* ── Galeria Nossa Estrutura ── */
.gallery-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}

.gallery-swiper .swiper-slide {
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-swiper .swiper-pagination-bullet {
  background: var(--primary-blue);
  opacity: 0.3;
}

.gallery-swiper .swiper-pagination-bullet-active {
  background: var(--secondary-cyan);
  opacity: 1;
  width: 25px;
  border-radius: 5px;
  transition: all 0.3s;
}

.gallery-swiper .swiper-button-next::after,
.gallery-swiper .swiper-button-prev::after {
  font-size: 1.2rem;
  font-weight: bold;
}

/* ── Lightbox Galeria ── */
.gallery-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  margin: auto;
  background: white;
  padding: 10px;
  border-radius: 20px;
  box-shadow: 0 50px 100px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  animation: modalIn 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

#gallery-modal-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
  transition: opacity 0.2s ease;
}

.gallery-caption {
  padding: 20px;
  color: var(--primary-blue);
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
}

/* Setas internas do Lightbox */
.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  color: var(--primary-blue);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  backdrop-filter: blur(5px);
}

.gallery-nav-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  color: var(--secondary-cyan);
}

.gallery-nav-btn.prev { left: 20px; }
.gallery-nav-btn.next { right: 20px; }

@media (max-width: 768px) {
  .gallery-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .gallery-nav-btn.next { right: 10px; }
}

/* ── Modais e Lightbox ── */
.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 32px;
  cursor: pointer;
  color: var(--primary-blue);
  transition: all 0.3s ease;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  line-height: 0;
  padding-bottom: 4px; /* Centraliza o &times; verticalmente */
  border: none;
}

.modal-close-btn:hover {
  transform: rotate(90deg) scale(1.1);
  color: var(--secondary-cyan);
  background: white;
}

/* Otimização Mobile Galeria */
@media (max-width: 768px) {
  #estrutura {
    padding: 40px 0 !important;
  }
  .gallery-swiper .swiper-slide img {
    height: 300px !important; /* Menor altura no mobile */
    border-radius: 15px !important;
  }
  .gallery-caption {
    font-size: 1rem !important;
    padding: 15px !important;
  }
}

/* ── Estilo Premium para Equipe no Mobile (Cards Flutuantes Separados) ── */
@media (max-width: 768px) {
  .team-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding-bottom: 20px;
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }
  
  .team-photo-wrapper {
    border-radius: 28px !important;
    box-shadow: 0 15px 35px rgba(2, 7, 93, 0.2);
    margin-bottom: -40px; /* Faz o texto sobrepor a foto */
    position: relative;
    z-index: 1;
    overflow: hidden;
  }
  
  .team-info {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 28px !important;
    box-shadow: 0 15px 40px rgba(2, 7, 93, 0.15);
    margin: 0 15px; /* Deixa uma margem nas laterais parecendo flutuar */
    position: relative;
    z-index: 2;
    padding: 30px 20px 25px !important;
  }
}
