/*--------------------------------------------------------------
# Maior Clínica Médica — Medicina do Trabalho · Louveira-SP
--------------------------------------------------------------*/

:root {
  /* Marca (vermelho e cinza da logo) */
  --red: #e3313a;
  --red-deep: #b8222a;
  --red-soft: #fdecec;
  --gray-brand: #939598;

  /* Grafite para seções escuras */
  --dark: #17191f;
  --dark-2: #22252d;

  /* Neutros */
  --ink: #1b1d23;
  --text: #4a4f5a;
  --muted: #7a808c;
  --line: #e9eaee;
  --soft: #f6f6f8;
  --white: #ffffff;

  --wa: #25d366;

  --radius: 20px;
  --radius-sm: 14px;
  --shadow-sm: 0 2px 10px rgba(23, 25, 31, 0.06);
  --shadow: 0 18px 44px -16px rgba(23, 25, 31, 0.2);
  --shadow-lg: 0 30px 70px -24px rgba(23, 25, 31, 0.4);
  --shadow-red: 0 12px 26px -10px rgba(227, 49, 58, 0.6);

  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 100px;
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 18px;
}

a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--red-deep);
}

.main {
  overflow-x: clip;
}

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

section,
[id] {
  scroll-margin-top: calc(var(--header-h) - 1px);
}

::selection {
  background: var(--red);
  color: #fff;
}

/*--------------------------------------------------------------
# Botões
--------------------------------------------------------------*/
.btn-cta,
.btn-ghost,
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn-cta {
  background: linear-gradient(135deg, var(--red) 0%, #f0484f 100%);
  color: #fff;
  box-shadow: var(--shadow-red);
}

.btn-cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -10px rgba(227, 49, 58, 0.7);
}

.btn-cta i {
  font-size: 17px;
}

.btn-cta i.bi-arrow-right {
  transition: transform 0.2s;
}

.btn-cta:hover i.bi-arrow-right {
  transform: translateX(4px);
}

.btn-cta-sm {
  padding: 11px 20px;
  font-size: 14px;
}

.btn-cta-light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.4);
}

.btn-cta-light:hover {
  color: var(--red);
}

.btn-cta-light i {
  color: var(--wa);
  font-size: 18px;
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
}

.btn-outline:hover {
  color: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Topbar
--------------------------------------------------------------*/
.topbar {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13.5px;
  padding: 9px 0;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar-info span,
.topbar-info a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.78);
}

.topbar-info a:hover {
  color: #fff;
}

.topbar-info i {
  color: var(--red);
}

.topbar-info a[aria-label="Instagram"] i {
  color: #fff;
  font-size: 15px;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  position: sticky;
  top: 0;
  height: var(--header-h);
  z-index: 997;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}

.header>.container {
  height: 100%;
}

.scrolled .header {
  box-shadow: 0 10px 30px -14px rgba(23, 25, 31, 0.25);
}

.header .logo img {
  height: 86px;
  width: auto;
}

/* Navegação desktop */
@media (min-width: 1200px) {
  .navmenu ul {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .navmenu a {
    position: relative;
    display: block;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
  }

  .navmenu a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 3px;
    height: 2px;
    border-radius: 2px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform 0.25s;
  }

  .navmenu a:hover,
  .navmenu a.active {
    color: var(--ink);
  }

  .navmenu a.active::after,
  .navmenu a:hover::after {
    transform: scaleX(1);
  }
}

.mobile-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--ink);
  font-size: 24px;
  position: relative;
  z-index: 999;
}

/* Navegação mobile */
@media (max-width: 1199.98px) {
  .navmenu {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(23, 25, 31, 0.55);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
    z-index: 996;
  }

  .navmenu ul {
    list-style: none;
    margin: 0;
    padding: 14px 16px 24px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    transition: transform 0.3s;
  }

  .navmenu a {
    display: block;
    padding: 13px 14px;
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    border-radius: 10px;
  }

  .navmenu a.active,
  .navmenu a:hover {
    color: var(--red);
    background: var(--red-soft);
  }

  .navmenu .nav-cta {
    margin-top: 10px;
    text-align: center;
    background: var(--wa);
    color: #fff;
  }

  .navmenu .nav-cta:hover {
    background: #1fb859;
    color: #fff;
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .navmenu {
    opacity: 1;
    visibility: visible;
  }

  .mobile-nav-active .navmenu ul {
    transform: none;
  }
}

@media (max-width: 575.98px) {
  :root {
    --header-h: 76px;
  }

  .header .logo img {
    height: 62px;
  }
}

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - 38px);
  min-height: calc(100svh - var(--header-h) - 38px);
  display: flex;
  align-items: center;
  padding: 90px 0 140px;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}

.hero .container {
  z-index: 3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(227, 49, 58, 0.28), transparent 50%),
    linear-gradient(100deg, rgba(17, 18, 23, 0.92) 0%, rgba(23, 25, 31, 0.7) 45%, rgba(23, 25, 31, 0.25) 100%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 26px;
}

.hero-badge i {
  color: var(--red);
  font-size: 16px;
}

.dot-live {
  position: relative;
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #34e27a;
  flex-shrink: 0;
}

.dot-live::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #34e27a;
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.is-closed .dot-live,
.is-closed .dot-live::after {
  background: #ff8a8f;
}

.is-closed .dot-live::after {
  animation: none;
}

@keyframes ping {

  75%,
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.hero h1 {
  color: #fff;
  font-size: clamp(36px, 5.6vw, 64px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.hero h1 .hl {
  position: relative;
  color: #fff;
  white-space: nowrap;
}

.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 0.08em;
  height: 0.32em;
  background: var(--red);
  border-radius: 4px;
  z-index: -1;
  opacity: 0.9;
}

.hero h1 .hl {
  z-index: 0;
  isolation: isolate;
}

.hero-lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin-bottom: 34px;
}

.hero-lead strong {
  color: #fff;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-checks i {
  color: var(--red);
  margin-right: 6px;
}

/* Cartão flutuante do hero */
.hero-card {
  position: relative;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  50% {
    transform: translateY(-10px);
  }
}

.hero-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-card-head strong {
  display: block;
  font-family: var(--font-head);
  font-size: 18px;
}

.hero-card-head .open-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 24px;
  background: linear-gradient(135deg, var(--red), #f0646a);
  box-shadow: var(--shadow-red);
}

.hero-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 14px;
}

.hero-card-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-card-list i {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-card-phones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hero-card-phones a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 10px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  background: #fff;
  color: var(--ink);
  transition: transform 0.2s;
}

.hero-card-phones a:hover {
  transform: translateY(-2px);
  color: var(--ink);
}

.hero-card-phones i {
  color: var(--wa);
  font-size: 16px;
}

/* Slideshow de fundo */
.bg-slideshow {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.2s ease, transform 0s linear 1.2s;
}

.bg-slide.is-active {
  opacity: 1;
  transform: scale(1.08);
  transition: opacity 1.2s ease, transform 7s ease-out;
}

.bg-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 96px;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.bg-dots button {
  position: relative;
  width: 34px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
  cursor: pointer;
}

.bg-dots button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}

.bg-dots button.is-active::after {
  animation: bgDotFill var(--slide-interval, 5s) linear forwards;
}

@keyframes bgDotFill {
  to {
    transform: scaleX(1);
  }
}

/*--------------------------------------------------------------
# Destaques (sobrepostos ao hero)
--------------------------------------------------------------*/
.highlights {
  position: relative;
  z-index: 5;
  margin-top: -70px;
}

.highlight {
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform 0.25s, border-color 0.25s;
}

.highlight:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 49, 58, 0.35);
}

.highlight>i {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 22px;
  color: var(--red);
  background: var(--red-soft);
}

.highlight strong {
  display: block;
  font-family: var(--font-head);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 3px;
}

.highlight span {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
  display: block;
}

@media (max-width: 575.98px) {
  .highlight {
    flex-direction: column;
    padding: 18px;
  }
}

/*--------------------------------------------------------------
# Seções (base)
--------------------------------------------------------------*/
.section {
  padding: 110px 0;
}

.section-soft {
  background: var(--soft);
}

.section-dark {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  right: -200px;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 49, 58, 0.22), transparent 65%);
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-head {
  margin-bottom: 56px;
}

.section-head.text-center {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  margin: 0;
}

.section-dark .section-sub {
  color: rgba(255, 255, 255, 0.68);
}

.section-aside {
  max-width: 420px;
  color: var(--muted);
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.eyebrow-light {
  color: #ff7a80;
}

.lead-text {
  font-size: 18px;
  color: var(--ink);
}

@media (max-width: 991.98px) {
  .section {
    padding: 80px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .section-aside {
    margin-top: 10px;
  }
}

/*--------------------------------------------------------------
# Sobre
--------------------------------------------------------------*/
.about-media {
  position: relative;
  padding: 0 70px 70px 0;
}

.about-img-main {
  width: 100%;
  aspect-ratio: 9 / 10;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.about-img-sub {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 24px;
  border: 8px solid #fff;
  box-shadow: var(--shadow-lg);
}

.about-badge {
  position: absolute;
  left: -18px;
  bottom: 110px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 18px;
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-red);
  max-width: 230px;
}

.about-badge strong {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
}

.about-badge span {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.about-values>div {
  padding: 18px;
  border-radius: var(--radius-sm);
  background: var(--soft);
  border: 1px solid var(--line);
}

.about-values i {
  display: block;
  font-size: 22px;
  color: var(--red);
  margin-bottom: 8px;
}

.about-values strong {
  display: block;
  font-family: var(--font-head);
  color: var(--ink);
  margin-bottom: 4px;
}

.about-values span {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 767.98px) {
  .about-media {
    padding: 0 36px 50px 0;
  }

  .about-badge {
    left: 10px;
    bottom: 70px;
    padding: 12px 16px;
    max-width: 200px;
  }

  .about-badge strong {
    font-size: 32px;
  }

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

/*--------------------------------------------------------------
# Serviços
--------------------------------------------------------------*/
.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.service-card:hover .service-img img {
  transform: scale(1.06);
}

.service-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--red);
}

.service-body {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 36px 26px 26px;
}

.service-icon {
  position: absolute;
  top: -28px;
  left: 26px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 24px;
  color: #fff;
  background: var(--red);
  border: 4px solid #fff;
  box-shadow: var(--shadow-red);
}

.service-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-body p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 18px;
}

.service-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
}

.service-link i {
  transition: transform 0.2s;
}

.service-link:hover i {
  transform: translateX(4px);
}

.service-card-featured {
  border-color: rgba(227, 49, 58, 0.35);
}

.service-card-sm .service-body h3 {
  font-size: 18px;
}

/*--------------------------------------------------------------
# Tipos de ASO
--------------------------------------------------------------*/
.aso-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.aso-timeline::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 46px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 8px, transparent 8px 16px);
}

.aso-step {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.3s, border-color 0.3s;
}

.aso-step:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 49, 58, 0.5);
}

.aso-step>i {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 20px;
  color: #fff;
  background: var(--red);
  box-shadow: 0 0 0 6px var(--dark-2);
  margin-bottom: 18px;
}

.aso-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.08);
}

.aso-step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.aso-step p {
  font-size: 14.5px;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 1199.98px) {
  .aso-timeline {
    grid-template-columns: repeat(3, 1fr);
  }

  .aso-timeline::before {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .aso-timeline {
    grid-template-columns: 1fr;
  }
}

/*--------------------------------------------------------------
# Para empresas
--------------------------------------------------------------*/
.company-media {
  position: relative;
}

.company-media img {
  width: 100%;
  aspect-ratio: 9 / 10;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.company-float {
  position: absolute;
  left: -24px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

.company-float i {
  font-size: 30px;
  color: var(--red);
}

.company-float strong {
  display: block;
  font-family: var(--font-head);
  color: var(--ink);
}

.company-float span {
  font-size: 13.5px;
  color: var(--muted);
}

@media (max-width: 767.98px) {
  .company-float {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 26px 0;
  display: grid;
  gap: 18px;
}

.benefit-list li {
  display: flex;
  gap: 16px;
}

.benefit-list i {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 20px;
  color: var(--red);
  background: var(--red-soft);
}

.benefit-list strong {
  display: block;
  font-family: var(--font-head);
  color: var(--ink);
  font-size: 17px;
}

.benefit-list span {
  color: var(--muted);
  font-size: 15px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 80px;
  border-radius: var(--radius);
  background: var(--soft);
  border: 1px solid var(--line);
  overflow: hidden;
}

.step {
  position: relative;
  padding: 30px 28px;
}

.step+.step {
  border-left: 1px solid var(--line);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 800;
  color: #fff;
  background: var(--ink);
  margin-bottom: 14px;
}

.step:last-child .step-num {
  background: var(--red);
}

.step h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.step p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 991.98px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .step:nth-child(3) {
    border-left: 0;
  }

  .step:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 575.98px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .step+.step {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/*--------------------------------------------------------------
# Toxicológico
--------------------------------------------------------------*/
.tox-media {
  position: relative;
}

.tox-media img {
  width: 100%;
  aspect-ratio: 9 / 10;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.tox-chip {
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 14.5px;
  color: #fff;
  background: rgba(23, 25, 31, 0.72);
  backdrop-filter: blur(8px);
}

.tox-chip i {
  color: #ff7a80;
  font-size: 18px;
}

.tox-card {
  height: 100%;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.tox-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.tox-card-head i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 19px;
  color: #fff;
  background: var(--red);
}

.tox-card-head h3 {
  font-size: 19px;
  margin: 0;
}

.tox-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.tox-card li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
}

.tox-card li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--red);
}

.tox-note {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--red-soft);
  color: var(--ink);
}

.tox-note i {
  color: var(--red);
  font-size: 20px;
}

.tox-note p {
  margin: 0;
  font-size: 15px;
}

/*--------------------------------------------------------------
# Avaliações
--------------------------------------------------------------*/
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  transition: transform 0.2s, box-shadow 0.2s;
}

.google-badge:hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.google-badge small {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.google-badge>i {
  color: var(--muted);
}

.google-g {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  background: conic-gradient(#ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0);
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: #fbbc05;
  font-size: 15px;
}

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

.review {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--soft);
  border: 1px solid var(--line);
}

.review::after {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 22px;
  font-family: Georgia, serif;
  font-size: 90px;
  line-height: 1;
  color: rgba(227, 49, 58, 0.14);
}

.review blockquote {
  margin: 14px 0 22px;
  font-size: 16px;
  color: var(--ink);
}

.review figcaption {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.review figcaption strong {
  display: block;
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
}

.review figcaption small {
  color: var(--muted);
}

.avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 800;
  color: #fff;
  background: var(--red);
}

@media (max-width: 991.98px) {
  .reviews {
    grid-template-columns: 1fr;
  }

  .google-badge {
    margin-top: 16px;
  }
}

/*--------------------------------------------------------------
# CTA
--------------------------------------------------------------*/
.cta-band {
  position: relative;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(184, 34, 42, 0.95) 0%, rgba(227, 49, 58, 0.86) 55%, rgba(23, 25, 31, 0.8) 100%);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #fff;
}

.cta-inner h2 {
  color: #fff;
  max-width: 640px;
  margin-bottom: 10px;
}

.cta-inner p {
  margin: 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.cta-actions .btn-ghost i {
  color: #fff;
}

@media (max-width: 991.98px) {
  .cta-band {
    background-attachment: scroll;
    padding: 80px 0;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/*--------------------------------------------------------------
# FAQ
--------------------------------------------------------------*/
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-list details[open] {
  border-color: rgba(227, 49, 58, 0.4);
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 60px 20px 24px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "\F64D";
  font-family: "bootstrap-icons";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 15px;
  color: var(--red);
  background: var(--red-soft);
  transition: transform 0.25s;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--text);
}

/*--------------------------------------------------------------
# Contato
--------------------------------------------------------------*/
.contact-cards {
  display: grid;
  gap: 12px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

a.contact-card:hover {
  color: var(--ink);
  transform: translateX(4px);
  border-color: rgba(227, 49, 58, 0.4);
  background: #fff;
}

.contact-card>i {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 21px;
  color: #fff;
  background: var(--red);
}

.contact-card>i.bi-whatsapp {
  background: var(--wa);
}

.contact-card span {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.contact-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 17px;
  line-height: 1.3;
  word-break: break-word;
}

.contact-card small {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
}

.form-card {
  height: 100%;
  padding: 36px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-card h3 {
  font-size: 24px;
  margin-bottom: 6px;
}

.form-card>p {
  color: var(--muted);
  margin-bottom: 24px;
}

.lead-form .form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.lead-form .form-control,
.lead-form .form-select {
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background-color: var(--soft);
  font-size: 15px;
  color: var(--ink);
}

.lead-form .form-control:focus,
.lead-form .form-select:focus {
  border-color: var(--red);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(227, 49, 58, 0.12);
}

.lead-form .is-invalid {
  border-color: var(--red) !important;
}

.form-error {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
}

@media (max-width: 575.98px) {
  .form-card {
    padding: 24px 20px;
  }
}

.map-wrap {
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  line-height: 0;
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(0.15);
}

/*--------------------------------------------------------------
# Rodapé
--------------------------------------------------------------*/
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.68);
  padding: 80px 0 0;
  font-size: 15px;
}

.footer-logo {
  display: inline-block;
  padding: 10px;
  border-radius: 18px;
  background: #fff;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 110px;
  width: auto;
}

.footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 18px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer ul a {
  color: rgba(255, 255, 255, 0.68);
}

.footer ul a:hover {
  color: #fff;
}

.footer-contact {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-contact i {
  color: var(--red);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s, transform 0.2s;
}

.social-links a:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 60px;
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom strong {
  color: #fff;
}

.credits a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
}

/*--------------------------------------------------------------
# WhatsApp flutuante e voltar ao topo
--------------------------------------------------------------*/
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 60px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--wa);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.2s;
}

.wa-float:hover {
  color: #fff;
  transform: translateY(-3px);
}

.wa-float i {
  font-size: 28px;
}

.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--wa);
  animation: waPulse 2.2s ease-out infinite;
}

@keyframes waPulse {
  to {
    transform: scale(1.25);
    opacity: 0;
  }
}

@media (max-width: 767.98px) {
  .wa-float {
    width: 58px;
    height: 58px;
    padding: 0;
    justify-content: center;
  }

  .wa-float-label {
    display: none;
  }
}

.scroll-top {
  position: fixed;
  right: 30px;
  bottom: 96px;
  z-index: 997;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 26px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.scroll-top:hover {
  background: var(--red);
  color: #fff;
}

@media (max-width: 767.98px) {
  .scroll-top {
    right: 29px;
  }
}

/*--------------------------------------------------------------
# Conheça a clínica (vídeo + tour 360)
--------------------------------------------------------------*/
.media-card {
  height: 100%;
  padding: 12px;
  border-radius: 26px;
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.media-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
}

.media-frame video,
.media-frame img,
.media-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.media-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0;
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, rgba(23, 25, 31, 0.15), rgba(23, 25, 31, 0.55));
  cursor: pointer;
  transition: background 0.3s;
}

.media-play:hover {
  background: linear-gradient(180deg, rgba(23, 25, 31, 0.05), rgba(23, 25, 31, 0.45));
}

.media-play span {
  position: relative;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 36px;
  background: var(--red);
  box-shadow: var(--shadow-red);
  transition: transform 0.25s;
}

.media-play span::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--red);
  animation: waPulse 2.2s ease-out infinite;
}

.media-play:hover span {
  transform: scale(1.08);
}

.media-play .bi-play-fill {
  margin-left: 4px;
}

.media-play strong {
  font-family: var(--font-head);
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(23, 25, 31, 0.6);
  backdrop-filter: blur(6px);
}

.video-frame.is-playing .media-play {
  display: none;
}

.media-caption {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 10px 6px;
}

.media-caption>i {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 20px;
  color: #fff;
  background: rgba(227, 49, 58, 0.18);
  color: #ff7a80;
}

.media-caption strong {
  display: block;
  font-family: var(--font-head);
  color: #fff;
}

.media-caption span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/*--------------------------------------------------------------
# Acessibilidade
--------------------------------------------------------------*/
:focus-visible {
  outline: 3px solid rgba(227, 49, 58, 0.5);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
