/* ==========================================================================
   PAS - Clínica Virtual de Psicologia Ampliada
   Design System & Core Stylesheet
   ========================================================================== */

:root {
  /* Color Palette */
  --primary: #0c71c3;
  --primary-hover: #09528f;
  --primary-light: #e0f2fe;
  --primary-glow: rgba(12, 113, 195, 0.25);
  
  --accent: #0284c7;
  --accent-teal: #0d9488;
  --accent-gold: #f59e0b;
  
  --whatsapp: #25d366;
  --whatsapp-hover: #1eb855;
  --whatsapp-glow: rgba(37, 211, 102, 0.35);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-subtle: #f1f5f9;
  --bg-dark: #07192d;

  --border-light: #e2e8f0;
  --border-focus: #38bdf8;

  /* Elevations */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.06);

  /* Geometry & Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Spacings */
  --container-max: 1240px;
  --header-height: 80px;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', var(--font-sans);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}

.section-alt {
  background-color: var(--bg-card-subtle);
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 52px auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 16px;
  text-wrap: balance;
}

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.65;
  text-wrap: balance;
  text-wrap: pretty;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: var(--text-white);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(12, 113, 195, 0.4);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--whatsapp) 0%, var(--whatsapp-hover) 100%);
  color: var(--text-white);
  box-shadow: 0 4px 14px var(--whatsapp-glow);
  font-size: 16px;
  font-weight: 700;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, -webkit-backdrop-filter 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  background: transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  height: 100%;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled .header-container {
  justify-content: space-between;
  gap: 16px;
}

.header-left {
  display: none;
  align-items: center;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header.scrolled .header-left {
  display: flex;
  animation: fadeInBrand 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInBrand {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand-link:hover .brand-logo {
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  transition: all 0.3s ease;
}

.site-header.scrolled .nav-menu {
  margin: 0 auto;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  transition: color 0.2s ease;
  padding: 6px 0;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.site-header.scrolled .nav-link {
  color: var(--text-main);
  text-shadow: none;
}

.nav-link:hover {
  color: #38bdf8;
}

.site-header.scrolled .nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #38bdf8;
  transition: width 0.25s ease;
  border-radius: var(--radius-full);
}

.site-header.scrolled .nav-link::after {
  background-color: var(--primary);
}

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

.header-cta {
  justify-self: end;
  display: flex;
  align-items: center;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  color: var(--text-white);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.site-header.scrolled .mobile-toggle {
  color: var(--text-main);
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: currentColor;
  transition: all 0.3s ease;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg-dark);
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(7, 25, 45, 0.72) 0%,
    rgba(7, 25, 45, 0.85) 60%,
    rgba(7, 25, 45, 0.95) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--text-white);
  padding: calc(var(--header-height) + 36px) 0 60px 0;
  max-width: 940px;
  margin: 0 auto;
}

.hero-logo-wrapper {
  margin-bottom: 32px;
}

.hero-logo {
  width: clamp(320px, 42vw, 420px);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 14px 35px rgba(0, 0, 0, 0.5));
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.2vw, 3.85rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 22px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.hero-title span {
  background: linear-gradient(135deg, #38bdf8 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  max-width: 740px;
  margin: 0 auto 38px auto;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Quem Somos & Pilares Institucionais
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.pillar-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(12, 113, 195, 0.25);
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: rgba(12, 113, 195, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pillar-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 12px;
}

.pillar-text {
  font-size: 0.90rem;
  color: var(--text-muted);
  line-height: 1.62;
  margin: 0;
}

/* Philosophy Panels (Valores e Objetivos Específicos) */
.philosophy-panel {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 36px 40px 36px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
  transition: all 0.3s ease;
}

.philosophy-panel:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(12, 113, 195, 0.25);
}

.panel-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
}

.panel-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background-color: rgba(12, 113, 195, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.panel-icon-box img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.panel-title {
  font-family: var(--font-heading);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 4px;
}

.panel-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Values 3x3 Grid (Pure Typography, Zero Pills) */
.values-clean-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 28px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(226, 232, 240, 0.9);
}

.value-dot {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.value-name {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
}

/* Objectives 2-Column Grid (Pure Typography, Zero Pills) */
.objectives-clean-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
}

.obj-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.obj-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.obj-num {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
}

.obj-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Phoenix Banner */
.phoenix-banner {
  background: linear-gradient(135deg, #07192d 0%, #0c71c3 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--text-white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.phoenix-content {
  padding: 48px;
}

.phoenix-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 12px;
}

.phoenix-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}

.phoenix-text {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.phoenix-image-box {
  height: 100%;
  min-height: 320px;
  position: relative;
}

.phoenix-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Equipe Médica & Terapêutica
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.team-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(12, 113, 195, 0.3);
}

.team-photo-wrap {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px 8px 20px;
  background-color: transparent;
  position: relative;
}

.team-photo {
  height: 154px;
  width: 154px;
  border-radius: var(--radius-full);
  object-fit: contain;
  box-shadow: 0 8px 24px rgba(12, 113, 195, 0.12);
  border: 3px solid #ffffff;
  outline: 2px solid var(--border-light);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, outline-color 0.3s ease;
}

.team-card:hover .team-photo {
  transform: scale(1.06);
  outline-color: var(--primary);
  box-shadow: 0 12px 30px rgba(12, 113, 195, 0.22);
}

.team-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-badge {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.team-city {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.team-bio-preview {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.team-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.btn-bio-modal {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.btn-bio-modal:hover {
  gap: 10px;
  color: var(--primary-hover);
}

/* ==========================================================================
   Especialidades & Terapias
   ========================================================================== */
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
}

.spec-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.spec-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(12, 113, 195, 0.25);
}

.spec-image-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.spec-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.spec-card:hover .spec-image {
  transform: scale(1.06);
}

.spec-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.spec-therapist {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.spec-title {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.3;
}

.spec-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   Atuação Institucional & Projetos (Unified Design System)
   ========================================================================== */
.action-group {
  margin-bottom: 24px;
}

.action-group-header {
  margin-bottom: 24px;
}

.action-group-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 6px;
}

.action-group-subtitle {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.action-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

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

.action-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.action-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(12, 113, 195, 0.25);
}

.action-media {
  height: 200px;
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.action-media.logo-pad {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-color: #ffffff;
}

.action-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.action-img-contain {
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 152px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.action-card:hover .action-img-cover,
.action-card:hover .action-img-contain {
  transform: scale(1.04);
}

.action-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.action-kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.action-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 12px;
}

.action-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   Agendamento & Conversão (WhatsApp Focus)
   ========================================================================== */
.cta-box {
  background: linear-gradient(135deg, #0c71c3 0%, #073863 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  color: var(--text-white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  box-sizing: border-box;
  width: 100%;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
}

.cta-content {
  text-align: left;
  box-sizing: border-box;
  width: 100%;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
  color: var(--text-white);
  word-break: break-word;
}

.cta-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.65;
  margin-bottom: 24px;
}

.cta-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  box-sizing: border-box;
  width: 100%;
}

.cta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.96rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  box-sizing: border-box;
  width: 100%;
}

.cta-item-icon {
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.cta-item-text {
  line-height: 1.45;
  min-width: 0;
  word-break: break-word;
}

.cta-actions {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
}

.btn-whatsapp.cta-btn {
  padding: 16px 32px;
  font-size: 1.05rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px var(--whatsapp-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: normal;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

.btn-whatsapp.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

.cta-btn-phone {
  display: inline-block;
  white-space: nowrap;
}

.cta-media {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
}

.cta-image-card {
  background: #ffffff;
  padding: 14px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 44px rgba(5, 23, 44, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 100%;
  max-width: 520px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.cta-image-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(5, 23, 44, 0.45);
}

.cta-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius-lg) - 6px);
  box-sizing: border-box;
}

/* ==========================================================================
   Footer (Compacto, Centralizado, Proporcional & Refinado)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-white);
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}

.footer-copy {
  font-size: 0.86rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

.tronux-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: opacity 0.2s ease;
  line-height: 1;
}

.tronux-badge:hover {
  opacity: 0.85;
}

.tronux-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  line-height: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.02em;
}

.tronux-logo {
  width: 71px;
  height: 16px;
  max-width: 71px;
  max-height: 16px;
  display: block;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* ==========================================================================
   Modais Interativos (Bio & Especialidade Detalhada)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(7, 25, 45, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  padding: 36px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.modal-close svg {
  width: 14px;
  height: 14px;
  display: block;
  transition: transform 0.25s ease;
}

.modal-close:hover {
  background-color: rgba(12, 113, 195, 0.08);
  border-color: rgba(12, 113, 195, 0.25);
  color: var(--primary);
  transform: scale(1.05);
}

.modal-close:hover svg {
  transform: rotate(90deg);
}

.modal-close:active {
  transform: scale(0.95);
}

.modal-header {
  margin-bottom: 20px;
  padding-right: 40px;
}

.modal-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
}

.modal-subtitle {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-top: 4px;
}

.modal-body {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.modal-body p {
  margin-bottom: 16px;
}

.modal-body ul, .modal-body ol {
  margin-left: 20px;
  margin-bottom: 16px;
}

.modal-body li {
  list-style: disc;
  margin-bottom: 8px;
}

.modal-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Floating WhatsApp Badge */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background-color: var(--whatsapp);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  box-shadow: 0 8px 24px var(--whatsapp-glow);
  z-index: 999;
  transition: all 0.3s ease;
  cursor: pointer;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-clean-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .action-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .phoenix-banner {
    grid-template-columns: 1fr;
  }
  .phoenix-image-box {
    height: 240px;
  }
  .cta-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .header-container {
    display: flex;
    justify-content: space-between;
  }

  .site-header:not(.scrolled):not(.menu-open) .header-left,
  .site-header:not(.scrolled):not(.menu-open) .brand-link {
    display: none;
  }

  .site-header.scrolled .header-left,
  .site-header.menu-open .header-left,
  .site-header.scrolled .brand-link,
  .site-header.menu-open .brand-link {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .site-header.menu-open {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
  }

  .site-header.menu-open .mobile-toggle {
    color: var(--text-main);
  }

  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-panel {
    padding: 28px 20px;
  }

  .values-clean-grid {
    grid-template-columns: 1fr;
  }

  .objectives-clean-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .action-grid-2,
  .action-grid-3 {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
  }

  .mobile-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero-content {
    padding-top: calc(var(--header-height) + 20px);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .cta-box {
    padding: 32px 16px;
    border-radius: var(--radius-md);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .cta-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .cta-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .cta-title {
    font-size: clamp(1.55rem, 5.5vw, 2rem);
    line-height: 1.25;
    margin-bottom: 14px;
    width: 100%;
    word-break: break-word;
    text-wrap: balance;
  }

  .cta-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .cta-details {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    align-items: stretch;
    padding: 0;
  }

  .cta-item {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 0.92rem;
  }

  .cta-item-icon {
    flex-shrink: 0;
    margin-top: 2px;
    width: 22px;
    height: 22px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cta-item-text {
    flex: 1;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.45;
  }

  .cta-actions {
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .btn-whatsapp.cta-btn {
    width: 100%;
    max-width: 380px;
    justify-content: center;
    font-size: 0.92rem;
    padding: 14px 16px;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
    gap: 8px;
    box-sizing: border-box;
  }

  .cta-media {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
  }

  .cta-image-card {
    max-width: 100%;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
  }

  .cta-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: calc(var(--radius-md) - 4px);
    box-sizing: border-box;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}
