/* SITE DR. BENJAMIN — Azul #1A2B56 + Dourado #C5A059 · Imersão Gamer */
:root {
  --navy: #1a2b56;
  --blue-deep: #0a1428;
  --blue-mid: #152240;
  --blue-panel: #1e3358;
  --blue-glow: #2a4a7a;
  --gold-light: #e8c76a;
  --gold: #c5a059;
  --gold-dark: #8a6b12;
  --gold-glow: rgba(197, 160, 89, 0.45);
  --text: #e8f0fa;
  --muted: #8ba4c4;
  --whatsapp: #25d366;
  --instagram: #e1306c;
  --font-display: "Orbitron", system-ui, sans-serif;
  --font-body: "Rajdhani", system-ui, sans-serif;
  --header-h: 76px;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text);
  background: var(--blue-deep);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

address {
  font-style: normal;
}

/* Background layers */
.bg-immersive {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(42, 74, 122, 0.4), transparent),
    radial-gradient(ellipse 60% 40% at 100% 80%, rgba(197, 160, 89, 0.08), transparent),
    linear-gradient(180deg, var(--navy) 0%, var(--blue-deep) 100%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(197, 160, 89, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 160, 89, 0.1) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  pointer-events: none;
}

.bg-scanlines {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.5) 2px,
    rgba(0, 0, 0, 0.5) 4px
  );
}

.bg-hud-corner {
  position: fixed;
  width: 120px;
  height: 120px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.25;
  border: 1px solid rgba(197, 160, 89, 0.3);
}

.bg-hud-corner--tl {
  top: 80px;
  left: 20px;
  border-right: none;
  border-bottom: none;
}

.bg-hud-corner--br {
  bottom: 20px;
  right: 20px;
  border-left: none;
  border-top: none;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  background: rgba(10, 20, 40, 0.92);
  backdrop-filter: blur(14px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 0 10px var(--gold-glow));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--gold-light);
}

.brand-text span {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s var(--ease), text-shadow 0.2s;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--gold-light);
  text-shadow: 0 0 20px var(--gold-glow);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(197, 160, 89, 0.4);
  color: var(--gold);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, filter 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--blue-deep);
  box-shadow: 0 0 24px var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-gold:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 36px var(--gold-glow);
}

.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid rgba(197, 160, 89, 0.55);
}

.btn-outline:hover {
  background: rgba(197, 160, 89, 0.1);
  box-shadow: 0 0 20px var(--gold-glow);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #2ee66f, var(--whatsapp));
  color: #042410;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  filter: brightness(1.06);
}

.btn-instagram {
  background: linear-gradient(135deg, #f77737, var(--instagram), #833ab4);
  color: #fff;
  box-shadow: 0 8px 28px rgba(225, 48, 108, 0.35);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.65rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 0.85rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Hero */
.hero {
  min-height: 100vh;
  padding: calc(var(--header-h) + 48px) 0 80px;
  display: flex;
  align-items: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hud-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  margin-bottom: 20px;
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  background: rgba(26, 43, 86, 0.6);
}

.hud-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  animation: pulse 2s ease infinite;
}

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

.hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.hero h1 .gold,
.gold-text {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 30px var(--gold-glow));
}

.hero-lead {
  margin: 0 0 28px;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.stat-card {
  padding: 14px 18px;
  min-width: 110px;
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: var(--radius);
  background: rgba(30, 51, 88, 0.55);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-light);
}

.stat-card span {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-visual {
  position: relative;
}

.hero-frame {
  position: relative;
  border: 2px solid rgba(197, 160, 89, 0.45);
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1;
  max-width: 420px;
  margin-inline: auto;
  background: var(--blue-panel);
  box-shadow:
    0 0 0 1px rgba(42, 74, 122, 0.5),
    0 0 60px rgba(197, 160, 89, 0.15),
    0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero-frame-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed rgba(197, 160, 89, 0.3);
  animation: spin 30s linear infinite;
  pointer-events: none;
}

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

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge-float {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(10, 20, 40, 0.9);
  border: 1px solid rgba(197, 160, 89, 0.4);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.hero-badge-float img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-alt {
  background: rgba(26, 43, 86, 0.25);
  border-block: 1px solid rgba(197, 160, 89, 0.1);
}

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

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin: 0 0 10px;
}

.section-header h2,
.section-title-left {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  letter-spacing: 0.06em;
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

.section-header strong {
  color: var(--gold-light);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.about-image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(0deg, rgba(10, 20, 40, 0.95), transparent);
}

.about-overlay h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--gold);
}

.about-overlay p {
  margin: 0 0 6px;
  font-size: 0.9rem;
  color: var(--text);
}

.about-panel {
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid rgba(197, 160, 89, 0.2);
  background: rgba(30, 51, 88, 0.5);
}

.about-panel p {
  color: var(--muted);
  margin: 0 0 16px;
}

.specialty-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.chip {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(197, 160, 89, 0.35);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(197, 160, 89, 0.08);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Procedures */
.procedures-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.procedure-panel {
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(197, 160, 89, 0.2);
  background: linear-gradient(145deg, rgba(30, 51, 88, 0.9), rgba(10, 20, 40, 0.85));
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}

.procedure-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 160, 89, 0.45);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 24px var(--gold-glow);
}

.procedure-panel-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.procedure-index {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: rgba(197, 160, 89, 0.25);
  line-height: 1;
}

.procedure-panel h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--gold-light);
}

.procedure-list {
  margin-bottom: 24px;
}

.procedure-list li {
  position: relative;
  padding: 8px 0 8px 20px;
  color: var(--muted);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(197, 160, 89, 0.08);
}

.procedure-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.75rem;
}

/* Hospitals */
.hospitals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.hospital-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(42, 74, 122, 0.6);
  background: var(--blue-panel);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.hospital-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 32px rgba(197, 160, 89, 0.15);
}

.hospital-card-header {
  position: relative;
  padding: 28px 24px 20px;
  background: linear-gradient(135deg, var(--navy), var(--blue-glow));
}

.hospital-card-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(197, 160, 89, 0.1), transparent 60%);
  pointer-events: none;
}

.hospital-card-header h3 {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--gold-light);
}

.hospital-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hospital-address {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.hospital-address svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--gold);
}

.hospital-divider {
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
  margin-bottom: 20px;
  opacity: 0.6;
}

.hospital-card .btn {
  width: 100%;
  margin-top: auto;
}

/* Videos */
.videos-section {
  background: rgba(26, 43, 86, 0.35);
  border-block: 1px solid rgba(197, 160, 89, 0.15);
}

.video-carousel {
  position: relative;
}

.video-carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dark) var(--blue-mid);
}

.video-carousel-track::-webkit-scrollbar {
  height: 6px;
}

.video-carousel-track::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 3px;
}

.video-slide {
  flex: 0 0 min(360px, 85vw);
  scroll-snap-align: start;
}

.video-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, 0.25);
  background: var(--blue-panel);
  transition: box-shadow 0.3s var(--ease);
}

.video-card:hover {
  box-shadow: 0 0 30px var(--gold-glow);
}

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-info {
  padding: 18px 20px;
}

.video-info h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--gold-light);
}

.video-info p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(197, 160, 89, 0.4);
  background: rgba(30, 51, 88, 0.8);
  color: var(--gold);
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.2s, box-shadow 0.2s;
}

.carousel-btn:hover {
  background: rgba(197, 160, 89, 0.15);
  box-shadow: 0 0 16px var(--gold-glow);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(197, 160, 89, 0.3);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.is-active {
  background: var(--gold);
  transform: scale(1.3);
  box-shadow: 0 0 10px var(--gold-glow);
}

.videos-instagram-cta {
  text-align: center;
  margin-top: 32px;
}

/* Booking */
.booking-panel {
  text-align: center;
  padding: 56px 32px;
  border-radius: 20px;
  border: 1px solid rgba(197, 160, 89, 0.3);
  background:
    linear-gradient(135deg, rgba(197, 160, 89, 0.12), transparent),
    rgba(26, 43, 86, 0.8);
  box-shadow: inset 0 0 60px rgba(197, 160, 89, 0.06);
}

.booking-tags {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.booking-tag {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 20px var(--gold-glow);
}

.booking-subtitle {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.1rem;
}

.booking-logo {
  margin: 32px auto 0;
  border-radius: 50%;
  box-shadow: 0 0 30px var(--gold-glow);
}

/* Footer */
.site-footer {
  padding: 48px 0 100px;
  border-top: 1px solid rgba(197, 160, 89, 0.15);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 36ch;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-phone {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.footer-copy {
  text-align: center;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  opacity: 0.7;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s var(--ease);
}

.whatsapp-float:hover {
  transform: translateY(-3px);
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

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

@media (max-width: 960px) {
  .hero-inner,
  .about-grid,
  .procedures-layout {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 20px;
    background: rgba(10, 20, 40, 0.98);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  }

  .site-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-actions .btn-outline {
    display: none;
  }

  .hero-badge-float {
    font-size: 0.65rem;
    padding: 8px 12px;
  }
}

@media (max-width: 640px) {
  .hero-cta .btn {
    width: 100%;
  }

  .stat-card {
    flex: 1 1 calc(50% - 8px);
  }

  .hero-badge-float span {
    display: none;
  }
}
