/* ============================================
   VALE SAÚDE — Design System
   Paleta: preto profundo + verde esmeralda + cinza metálico
   ============================================ */

:root {
  /* Brand */
  --emerald-900: #0a3a2f;
  --emerald-700: #0f5a47;
  --emerald-500: #12a37a;
  --emerald-400: #1fc897;
  --emerald-300: #4fe0b5;

  --steel-900: #1a2328;
  --steel-700: #2d3a42;
  --steel-500: #5a6b75;
  --steel-300: #8fa0aa;
  --steel-100: #d6dde2;

  /* Neutrals */
  --ink: #050809;
  --ink-2: #0a1012;
  --ink-3: #121a1e;
  --ink-card: #141d22;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  /* Text */
  --fg: #eaf0ee;
  --fg-dim: #aebbb5;
  --fg-muted: #7a8a85;

  /* Effects */
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  --shadow-emerald: 0 20px 60px -20px rgba(31, 200, 151, 0.4);
  --glow-emerald: radial-gradient(circle, rgba(31, 200, 151, 0.35) 0%, transparent 70%);
  --glow-steel: radial-gradient(circle, rgba(143, 160, 170, 0.25) 0%, transparent 70%);

  /* Gradients */
  --grad-emerald: linear-gradient(135deg, #12a37a 0%, #4fe0b5 100%);
  --grad-steel: linear-gradient(135deg, #5a6b75 0%, #d6dde2 100%);
  --grad-brand: linear-gradient(135deg, #0f5a47 0%, #1fc897 50%, #8fa0aa 100%);
  --grad-text: linear-gradient(135deg, #1fc897 0%, #4fe0b5 50%, #b8ece0 100%);

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  /* Spacing */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }
input, textarea { font: inherit; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================
   UTILITIES
   ============================================ */
.grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
}

em.grad { font-style: italic; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; transition: transform 0.3s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--grad-emerald);
  color: #04261c;
  box-shadow: var(--shadow-emerald);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 80px -15px rgba(31, 200, 151, 0.55);
}

.btn-ghost {
  color: var(--fg);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: var(--emerald-400);
  background: rgba(31, 200, 151, 0.08);
  color: var(--emerald-300);
}

.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
  background: rgba(5, 8, 9, 0.6);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(5, 8, 9, 0.85);
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(31, 200, 151, 0.25));
}

.brand-text {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--steel-300);
}

.brand-text strong {
  font-weight: 700;
  color: var(--emerald-400);
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-dim);
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover { color: var(--fg); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--emerald-400);
  transition: width 0.3s ease;
}

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

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(143, 160, 170, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 160, 170, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: float 20s ease-in-out infinite;
}

.glow-green {
  background: var(--glow-emerald);
  top: -100px;
  left: -150px;
}

.glow-steel {
  background: var(--glow-steel);
  bottom: -100px;
  right: -100px;
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -30px); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
  padding-bottom: 80px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(31, 200, 151, 0.08);
  border: 1px solid rgba(31, 200, 151, 0.2);
  font-size: 13px;
  font-weight: 500;
  color: var(--emerald-300);
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-400);
  box-shadow: 0 0 12px var(--emerald-400);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--steel-100);
}

.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--fg-dim);
  max-width: 560px;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 12px;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.metric-card {
  padding: 20px 20px;
  background: linear-gradient(145deg, rgba(255,255,255,0.02), rgba(255,255,255,0.005));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.35s ease;
}

.metric-card:hover {
  border-color: rgba(31, 200, 151, 0.3);
  transform: translateY(-3px);
  background: linear-gradient(145deg, rgba(31, 200, 151, 0.06), rgba(31, 200, 151, 0.01));
}

.metric-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.metric-card span {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-dim);
}

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

/* Hero visual */
.hero-visual {
  position: relative;
  height: 500px;
  animation: fadeInUp 1s ease 0.4s both;
}

.orbit {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
}

.ring-1 { width: 180px; height: 180px; animation: spin 30s linear infinite; }
.ring-2 {
  width: 320px;
  height: 320px;
  border-color: rgba(31, 200, 151, 0.2);
  border-style: dashed;
  animation: spin 40s linear infinite reverse;
}
.ring-3 { width: 460px; height: 460px; animation: spin 60s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

.pulse {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 200, 151, 0.25) 0%, transparent 70%);
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.4); opacity: 0.2; }
}

.logo-mark {
  position: relative;
  z-index: 2;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--ink-2), var(--ink-card));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 1px var(--line-strong),
    0 30px 60px -20px rgba(31, 200, 151, 0.4),
    inset 0 0 20px rgba(31, 200, 151, 0.1);
}

.logo-mark img {
  width: 110px;
  height: 110px;
  object-fit: contain;
}

.chip {
  position: absolute;
  padding: 10px 18px;
  background: var(--ink-card);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  animation: chip-float 6s ease-in-out infinite;
}

.chip::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-400);
  box-shadow: 0 0 8px var(--emerald-400);
}

.chip { padding-left: 28px; }

.chip-1 { top: 8%; left: -5%; animation-delay: 0s; }
.chip-2 { top: 15%; right: -8%; animation-delay: -1.2s; }
.chip-3 { bottom: 30%; left: -12%; animation-delay: -2.4s; }
.chip-4 { bottom: 10%; right: -2%; animation-delay: -3.6s; }
.chip-5 { top: 55%; right: 8%; animation-delay: -4.8s; }

@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 120px 0;
  position: relative;
}

.section-head {
  max-width: 780px;
  margin-bottom: 64px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--emerald-400);
  margin-bottom: 20px;
}

.section-eyebrow.light { color: var(--emerald-300); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.section-lead {
  font-size: 18px;
  color: var(--fg-dim);
  line-height: 1.65;
  max-width: 620px;
}

.section-head.center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   SOBRE
   ============================================ */
.sobre { background: linear-gradient(180deg, transparent 0%, var(--ink-2) 100%); }

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.mt-16 { margin-top: 16px; }

.feature-stack {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,0.02), transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.feature-row:hover {
  border-color: rgba(31, 200, 151, 0.3);
  background: linear-gradient(145deg, rgba(31, 200, 151, 0.06), transparent);
  transform: translateX(4px);
}

.feature-tag {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  letter-spacing: -0.03em;
  min-width: 48px;
}

.feature-row h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.feature-row p {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.55;
}

.about-card {
  position: relative;
  padding: 48px 40px;
  background: linear-gradient(145deg, var(--ink-card), var(--ink-2));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(145deg, rgba(31, 200, 151, 0.4), transparent 50%);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
}

.about-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(31, 200, 151, 0.12);
  color: var(--emerald-300);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.about-card blockquote {
  border-left: 2px solid var(--emerald-400);
  padding-left: 24px;
  margin-bottom: 36px;
}

.about-card blockquote p {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: var(--fg);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.about-card blockquote footer {
  font-size: 13px;
  color: var(--fg-muted);
  font-style: normal;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.about-metrics strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--emerald-400);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.about-metrics span {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.4;
}

/* ============================================
   SERVIÇOS
   ============================================ */
.servicos { background: var(--ink-2); }

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

.card {
  position: relative;
  padding: 36px 32px;
  background: var(--ink-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(31, 200, 151, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 200, 151, 0.35);
  box-shadow: var(--shadow-emerald);
}

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

.card-highlight {
  border-color: rgba(31, 200, 151, 0.3);
  background: linear-gradient(145deg, var(--ink-card), rgba(15, 90, 71, 0.25));
}

.card-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 12px;
  background: var(--grad-emerald);
  color: #04261c;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(31, 200, 151, 0.14), rgba(31, 200, 151, 0.04));
  border: 1px solid rgba(31, 200, 151, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-400);
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.card:hover .card-icon {
  background: linear-gradient(145deg, rgba(31, 200, 151, 0.25), rgba(31, 200, 151, 0.08));
  transform: scale(1.05);
}

.card-icon svg { width: 26px; height: 26px; }

.card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.card p {
  font-size: 15px;
  color: var(--fg-dim);
  line-height: 1.6;
}

/* ============================================
   DIFERENCIAIS
   ============================================ */
.diferenciais {
  background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 32px;
}

.feat {
  padding: 36px 28px;
  border-left: 1px solid var(--line-strong);
  transition: all 0.3s ease;
}

.feat:first-child { border-left: 1px solid var(--emerald-500); }

.feat:hover { border-left-color: var(--emerald-400); }

.feat-num {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 300;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
}

.feat h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.feat p {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.6;
}

/* ============================================
   ATUAÇÃO
   ============================================ */
.atuacao { background: var(--ink); }

.tags-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.tag-card {
  padding: 32px 24px;
  background: var(--ink-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
  transition: all 0.3s ease;
  cursor: default;
}

.tag-card:hover {
  border-color: rgba(31, 200, 151, 0.3);
  background: linear-gradient(145deg, var(--ink-card), rgba(15, 90, 71, 0.15));
  transform: translateY(-3px);
}

.tag-card span {
  font-size: 28px;
  display: block;
  margin-bottom: 14px;
}

.tag-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.tag-card p {
  font-size: 13px;
  color: var(--fg-muted);
}

/* ============================================
   CTA FINAL
   ============================================ */
.cta-final {
  padding: 100px 0;
  background: var(--ink);
  position: relative;
}

.cta-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 72px 64px;
  background:
    radial-gradient(circle at 0% 0%, rgba(31, 200, 151, 0.15), transparent 50%),
    linear-gradient(145deg, var(--ink-card), var(--ink-2));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M30 0v60M0 30h60' stroke='rgba(255,255,255,0.03)' stroke-width='0.5'/%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
}

.cta-copy { position: relative; z-index: 1; }

.cta-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.cta-copy > p {
  font-size: 17px;
  color: var(--fg-dim);
  line-height: 1.6;
  margin-bottom: 36px;
}

.cta-contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  transition: all 0.25s ease;
  width: 100%;
}

.cta-contact:hover {
  border-color: var(--emerald-400);
  background: rgba(31, 200, 151, 0.08);
  transform: translateX(4px);
}

.cta-contact > svg {
  width: 22px;
  height: 22px;
  color: var(--emerald-400);
  flex-shrink: 0;
}

.cta-contact > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cta-contact strong {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald-300);
}

.cta-contact span {
  font-size: 14px;
  color: var(--fg);
  font-weight: 500;
  line-height: 1.3;
}

.cta-form {
  position: relative;
  z-index: 1;
  padding: 32px;
  background: rgba(5, 8, 9, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
}

.cta-form h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.cta-form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-dim);
  margin-bottom: 14px;
}

.cta-form input,
.cta-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--fg);
  font-size: 14px;
  transition: all 0.2s ease;
  resize: vertical;
  font-family: inherit;
}

.cta-form input:focus,
.cta-form textarea:focus {
  outline: none;
  border-color: var(--emerald-400);
  background: rgba(31, 200, 151, 0.04);
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
  color: var(--fg-muted);
}

.cta-form button { margin-top: 8px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-row label { margin-bottom: 0; }

.form-note {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.4;
  text-align: center;
}

.form-feedback {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(31, 200, 151, 0.1);
  border: 1px solid rgba(31, 200, 151, 0.3);
  color: var(--emerald-300);
}

.form-feedback.error {
  display: block;
  background: rgba(255, 100, 100, 0.08);
  border: 1px solid rgba(255, 100, 100, 0.25);
  color: #ff9090;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  padding: 72px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding-bottom: 56px;
}

.footer-brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 16px rgba(31, 200, 151, 0.25));
}

.footer-brand p {
  font-size: 15px;
  color: var(--fg-dim);
  line-height: 1.5;
  max-width: 280px;
}

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

.footer-cols h5 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--emerald-400);
  margin-bottom: 18px;
}

.footer-cols a {
  display: block;
  font-size: 14px;
  color: var(--fg-dim);
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-cols a:hover { color: var(--emerald-300); }

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  background: var(--ink);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--fg-muted);
}

/* ============================================
   PROGRESS BAR SCROLL
   ============================================ */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad-emerald);
  z-index: 1000;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 12px rgba(31, 200, 151, 0.6);
}

/* ============================================
   NAV ASSOCIADOS (destaque no menu)
   ============================================ */
.nav-associados {
  padding: 7px 16px;
  border: 1px solid rgba(31, 200, 151, 0.3);
  border-radius: 999px;
  background: rgba(31, 200, 151, 0.06);
  color: var(--emerald-300) !important;
  transition: all 0.2s ease;
}

.nav-associados:hover {
  background: rgba(31, 200, 151, 0.15);
  border-color: var(--emerald-400);
}

.nav-associados::after { display: none !important; }

/* ============================================
   WHATSAPP FLUTUANTE
   ============================================ */
.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: wa-pop 0.6s ease 1.5s both;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 50px rgba(37, 211, 102, 0.55);
}

.floating-whatsapp svg {
  width: 22px;
  height: 22px;
}

@keyframes wa-pop {
  from { opacity: 0; transform: translateY(20px) scale(0.8); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================
   MODAL ASSOCIADOS
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 9, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 9999;
}

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

.modal-box {
  position: relative;
  width: min(520px, 96vw);
  max-height: 90vh;
  background: linear-gradient(145deg, var(--ink-card), var(--ink-2));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

/* Variante grande para iframe (ficha cadastral) */
.modal-box-iframe {
  width: min(1100px, 96vw);
  height: min(88vh, 900px);
  max-height: 88vh;
}

.modal-box-iframe iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
  display: block;
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--fg);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--emerald-400);
  color: var(--emerald-300);
}

.modal-placeholder {
  padding: 48px 40px;
  text-align: center;
}

.modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(31, 200, 151, 0.18), rgba(31, 200, 151, 0.04));
  border: 1px solid rgba(31, 200, 151, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-400);
}

.modal-icon svg { width: 28px; height: 28px; }

.modal-placeholder h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.modal-placeholder p {
  font-size: 15px;
  color: var(--fg-dim);
  line-height: 1.55;
  margin-bottom: 14px;
}

.modal-placeholder .modal-small {
  font-size: 12px;
  color: var(--fg-muted);
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}

.modal-placeholder code {
  padding: 1px 6px;
  background: rgba(31, 200, 151, 0.1);
  border-radius: 4px;
  color: var(--emerald-300);
  font-size: 12px;
}

body.modal-open { overflow: hidden; }

/* ============================================
   REVEAL ON SCROLL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; text-align: left; }
  .hero-visual { height: 400px; max-width: 460px; margin: 0 auto; }
  .grid-2 { grid-template-columns: 1fr; gap: 48px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-card { grid-template-columns: 1fr; padding: 48px 36px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-metrics { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 20px 28px;
    background: rgba(5, 8, 9, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: none; }
  .nav-associados { padding: 10px 0 !important; border: none !important; background: transparent !important; text-align: left; }
  .nav-associados:hover { background: transparent !important; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 44px; }
  .cards { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; gap: 16px; }
  .feat { border-left: none; border-top: 1px solid var(--line-strong); padding: 24px 0; }
  .feat:first-child { border-left: none; border-top: 1px solid var(--emerald-500); }
  .tags-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .tag-card { padding: 22px 18px; }
  .hero-metrics { grid-template-columns: 1fr; gap: 12px; }
  .metric-card { padding: 16px 18px; }
  .hero-visual { height: 340px; }
  .ring-3 { width: 320px; height: 320px; }
  .ring-2 { width: 240px; height: 240px; }
  .chip { font-size: 11px; padding: 7px 14px 7px 24px; }
  .about-card { padding: 32px 24px; }
  .about-metrics { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .feature-row { padding: 20px; gap: 16px; }
  .feature-tag { font-size: 24px; min-width: 38px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .cta-card { padding: 36px 24px; }
  .cta-form { padding: 24px 20px; }
  .floating-whatsapp { right: 16px; bottom: 16px; padding: 12px 16px; font-size: 13px; }
  .floating-whatsapp span { display: none; }
  .floating-whatsapp { border-radius: 50%; width: 54px; height: 54px; padding: 0; justify-content: center; }
  .modal-overlay { padding: 10px; }
  .modal-box-iframe { width: 100%; height: 92vh; border-radius: 16px; }
}

/* ============================================
   SEÇÃO: BANNER DE IMAGENS EQUIPE MÉDICA
   ============================================ */

.img-banner {
  padding-top: 20px;
  padding-bottom: 80px;
}

.img-banner-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: center;
}

.img-banner-text .section-title {
  margin-top: 12px;
  margin-bottom: 16px;
}

.img-banner-photos {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.img-photo-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.img-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.img-photo-main {
  height: 380px;
}

.img-photo-sm {
  flex: 1;
  min-height: 160px;
}

.img-photo img, .img-photo-sm img, .img-photo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.88) contrast(1.05) saturate(0.9);
  transition: transform 0.6s ease, filter 0.4s ease;
}

.img-photo:hover img,
.img-photo-sm:hover img,
.img-photo-main:hover img {
  transform: scale(1.04);
  filter: brightness(0.95) contrast(1.05) saturate(1);
}

/* Overlay verde sutil nas imagens */
.img-photo::after,
.img-photo-main::after,
.img-photo-sm::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18, 163, 122, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

/* ============================================
   FAIXA HORIZONTAL DE IMAGENS (img-strip)
   ============================================ */

.img-strip {
  padding: 0;
  overflow: hidden;
  margin: 0 0 80px 0;
}

.img-strip-track {
  display: flex;
  gap: 12px;
  height: 260px;
}

.img-strip-item {
  flex: 1;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.img-strip-item--tall {
  flex: 1.4;
}

.img-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82) contrast(1.08) saturate(0.85);
  transition: transform 0.6s ease, filter 0.4s ease;
}

.img-strip-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.92) contrast(1.05) saturate(1);
}

.img-strip-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 8, 9, 0.4) 0%, transparent 50%);
  pointer-events: none;
}

/* ============================================
   ABOUT CARD COM IMAGEM
   ============================================ */

.about-img-wrap {
  position: relative;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 220px;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) saturate(0.88) contrast(1.05);
  transition: transform 0.6s ease;
}

.about-card:hover .about-img {
  transform: scale(1.03);
}

.about-img-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(18, 163, 122, 0.9);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 99px;
}

/* ============================================
   RESPONSIVO
   ============================================ */

@media (max-width: 900px) {
  .img-banner-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .img-banner-photos {
    height: 300px;
    grid-template-columns: 1.2fr 1fr;
  }

  .img-photo-main { height: 100%; }
  .img-photo-sm { min-height: 0; }

  .img-strip-track {
    height: 180px;
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .img-banner-photos {
    grid-template-columns: 1fr;
    height: auto;
  }

  .img-photo-main { height: 240px; }
  .img-photo-stack { flex-direction: row; }
  .img-photo-sm { height: 120px; }

  .img-strip-track { height: 130px; }
  .img-strip-item--tall { flex: 1; }
}
