:root {
  color-scheme: dark;
  --color-dark-bg: #050814;
  --color-dark-bg-alt: #0a0e1c;
  --color-primary: #00d9ff;
  --color-secondary: #2ecc71;
  --color-text-light: #e0e0e0;
  --color-text-muted: #a0a0b2;
  --color-border: rgba(157, 177, 216, 0.14);
  --color-card-bg: rgba(14, 18, 34, 0.82);
  --color-card-border: rgba(117, 139, 180, 0.2);
  --font-family-base: "Poppins", "Segoe UI", sans-serif;
  --content-width: 1180px;
  --header-height: 82px;
  --border-radius: 18px;
  --transition-speed: 0.3s;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 4% 18%, rgba(0, 217, 255, 0.055), transparent 35rem),
    var(--color-dark-bg);
  color: var(--color-text-light);
  font-family: var(--font-family-base);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(0, 217, 255, 0.72);
  outline-offset: 4px;
}

::selection {
  background: rgba(0, 217, 255, 0.35);
  color: #fff;
}

.container {
  width: min(var(--content-width), calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
  border: 0;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--color-border);
  background: rgba(5, 8, 20, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-width: 140px;
}

.logo img {
  width: 150px;
  max-height: 62px;
  object-fit: contain;
}

.main-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.1vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a:not(.btn) {
  color: #d3d8e5;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color var(--transition-speed) ease;
}

.nav-list a:not(.btn):hover {
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition:
    transform var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease,
    border-color var(--transition-speed) ease,
    background var(--transition-speed) ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(110deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 12px 32px rgba(0, 217, 255, 0.18);
  color: #041019;
}

.btn-primary:hover {
  box-shadow: 0 16px 38px rgba(0, 217, 255, 0.28);
}

.btn-outline {
  border-color: rgba(0, 217, 255, 0.55);
  background: rgba(0, 217, 255, 0.035);
  color: var(--color-text-light);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background: rgba(0, 217, 255, 0.1);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100svh - var(--header-height)));
  align-items: center;
  overflow: hidden;
  padding: clamp(64px, 9vw, 112px) 0;
  background:
    radial-gradient(ellipse at 83% 52%, rgba(0, 217, 255, 0.12), transparent 31rem),
    linear-gradient(110deg, rgba(5, 8, 20, 0.98) 10%, rgba(5, 8, 20, 0.88) 54%, rgba(6, 17, 28, 0.94));
}

.hero::after {
  position: absolute;
  right: -14rem;
  bottom: -24rem;
  width: 48rem;
  height: 48rem;
  border: 1px solid rgba(0, 217, 255, 0.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.74fr);
  align-items: center;
  gap: clamp(36px, 7vw, 94px);
}

.hero-copy {
  max-width: 720px;
}

.hero-kicker {
  margin: 0 0 16px;
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  background: linear-gradient(110deg, #06cbe8 5%, #22dcba 55%, #70e68e);
  background-clip: text;
  color: transparent;
  font-size: clamp(2.8rem, 5.4vw, 5.25rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.12;
  -webkit-background-clip: text;
}

.hero-subtitle {
  max-width: 570px;
  margin: 26px 0 0;
  color: #c9d1df;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
}

.hero-subtitle strong {
  color: #fff;
}

.safety-seals {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.safety-seals img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.hero-highlights {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  color: #dce4ef;
  list-style: none;
}

.hero-highlights li {
  position: relative;
  padding-left: 28px;
}

.hero-highlights li::before {
  position: absolute;
  top: 0.73em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 0 16px rgba(0, 217, 255, 0.65);
  content: "";
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-locations {
  margin: 25px 0 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.hero-locations strong {
  color: #dfeaf6;
}

.hero-media {
  display: grid;
  justify-items: center;
}

.hero-photo {
  position: relative;
  width: min(100%, 410px);
  margin: 0;
  isolation: isolate;
}

.hero-photo::before {
  position: absolute;
  z-index: -1;
  inset: 8% -7% -5% 10%;
  border: 1px solid rgba(0, 217, 255, 0.55);
  border-radius: 48% 48% 28px 28px;
  background: linear-gradient(145deg, rgba(0, 217, 255, 0.12), rgba(46, 204, 113, 0.06));
  content: "";
  transform: rotate(5deg);
}

.hero-photo img {
  width: 100%;
  max-height: 600px;
  aspect-ratio: 0.78;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 48% 48% 22px 22px;
  background: #101829;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.48);
  object-fit: cover;
  object-position: 50% 25%;
}

.section {
  padding: clamp(76px, 9vw, 116px) 0;
}

.section-alt {
  border-block: 1px solid rgba(157, 177, 216, 0.07);
  background:
    radial-gradient(ellipse at 80% 20%, rgba(46, 204, 113, 0.04), transparent 32rem),
    var(--color-dark-bg-alt);
}

.section#mitos-verdades > .container {
  width: min(1150px, calc(100% - 48px));
}

.section#mitos-verdades .section-header {
  max-width: none;
}

.section#mitos-verdades .section-header h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
}

.section#mitos-verdades .section-header h2::after {
  display: block;
  width: 60px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  content: "";
}

.section#mitos-verdades .cards-grid {
  gap: 32px;
}

.section#odonto-canabinoide {
  position: relative;
  isolation: isolate;
  background-color: #060915;
}

.section#odonto-canabinoide::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(135deg, transparent 49.5%, rgba(18, 27, 46, 0.42) 50%, transparent 50.5%),
    linear-gradient(45deg, transparent 49.5%, rgba(18, 27, 46, 0.28) 50%, transparent 50.5%);
  background-position: 0 0, 0 0;
  background-size: 200px 200px;
  content: "";
  pointer-events: none;
}

.section#odonto-canabinoide > .container {
  width: min(1152px, calc(100% - 48px));
  grid-template-columns: minmax(0, 1.355fr) minmax(0, 1fr);
  gap: 57px;
}

.section#odonto-canabinoide .section-header {
  max-width: none;
  margin-bottom: 42px;
  text-align: center;
}

.section#odonto-canabinoide .section-header h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
}

.section#odonto-canabinoide .section-header h2::after {
  display: block;
  width: 60px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  content: "";
}

.section#odonto-canabinoide .section-header p {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
}

.section#odonto-canabinoide .section-image {
  border-radius: 14px;
}

.section#odonto-canabinoide .section-image img {
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
}

.section#jornada-paciente {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #070a17;
}

.section#jornada-paciente::before {
  position: absolute;
  z-index: 0;
  top: 52%;
  left: 50%;
  width: min(560px, 48vw);
  height: min(760px, 92%);
  background-image: url("../assets/timeline-watermark.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  content: "";
  opacity: 0.32;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.section#jornada-paciente > .container {
  position: relative;
  z-index: 1;
}

.section#jornada-paciente .section-header {
  max-width: none;
  margin-bottom: 64px;
}

.section#jornada-paciente .section-header h2 {
  font-size: clamp(2.5rem, 4vw, 3.25rem);
}

.section#jornada-paciente .timeline {
  position: relative;
  width: min(850px, 100%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 116px;
  row-gap: 48px;
  margin-inline: auto;
}

.section#jornada-paciente .timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(0, 217, 255, 0.16),
    rgba(0, 217, 255, 0.82) 18%,
    rgba(46, 204, 113, 0.72) 82%,
    rgba(46, 204, 113, 0.12)
  );
  content: "";
  transform: translateX(-50%);
}

.section#jornada-paciente .timeline-step {
  z-index: 1;
  min-height: 220px;
  padding: 24px;
  border-color: rgba(117, 139, 180, 0.25);
  background: rgba(14, 18, 34, 0.96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.section#jornada-paciente .timeline-step:nth-child(odd) {
  grid-column: 1;
}

.section#jornada-paciente .timeline-step:nth-child(even) {
  grid-column: 2;
}

.section#jornada-paciente .timeline-step:nth-child(1) {
  grid-row: 1;
}

.section#jornada-paciente .timeline-step:nth-child(2) {
  grid-row: 2;
}

.section#jornada-paciente .timeline-step:nth-child(3) {
  grid-row: 3;
}

.section#jornada-paciente .timeline-step:nth-child(4) {
  grid-row: 4;
}

.section#jornada-paciente .timeline-step::before {
  position: absolute;
  top: 26px;
  left: auto;
  width: 12px;
  height: 12px;
  margin: 0;
  border: 2px solid #07101b;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 16px rgba(0, 217, 255, 0.55);
}

.section#jornada-paciente .timeline-step:nth-child(odd)::before {
  right: -65px;
}

.section#jornada-paciente .timeline-step:nth-child(even)::before {
  left: -65px;
  background: var(--color-secondary);
  box-shadow: 0 0 16px rgba(46, 204, 113, 0.48);
}

.section#jornada-paciente .timeline-step h3 {
  color: var(--color-primary);
  font-size: 1.28rem;
}

.section#jornada-paciente .timeline-step p {
  color: #b9c3d1;
}

.section#vias-administracao > .container {
  width: min(1152px, calc(100% - 48px));
}

.section#vias-administracao .section-header {
  max-width: none;
  margin-bottom: 42px;
}

.section#vias-administracao .section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.section#vias-administracao .section-header h2::after {
  display: block;
  width: 60px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  content: "";
}

.section#vias-administracao .section-header p {
  max-width: 720px;
  margin-inline: auto;
}

.section#vias-administracao .cards-vias {
  gap: 32px;
}

.section#vias-administracao .card-via h3 {
  color: var(--color-secondary);
}

.section#indicacoes > .container {
  width: min(1152px, calc(100% - 48px));
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 48px;
}

.section#indicacoes .section-header {
  margin-bottom: 42px;
  text-align: center;
}

.section#indicacoes .section-header h2 {
  font-size: clamp(2rem, 3.7vw, 3rem);
}

.section#indicacoes .section-header h2::after {
  display: block;
  width: 60px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  content: "";
}

.section#indicacoes .section-header p {
  text-align: center;
}

.section#indicacoes .section-image img {
  max-height: 482px;
  aspect-ratio: 0.97;
  object-position: center 36%;
}

.section#indicacoes .list-check {
  gap: 10px;
  margin-top: 42px;
}

.section#indicacoes .list-check li::before {
  top: 0.12em;
  width: 21px;
  height: 21px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-secondary);
  font-size: 1.1rem;
}

.section#prova-social .section-header {
  max-width: 900px;
  margin-bottom: 44px;
  text-align: center;
}

.section#prova-social .section-header h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
}

.section#prova-social .section-header h2::after {
  display: block;
  width: 60px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  content: "";
}

.section#prova-social .section-header p {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
}

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

.section-header h2 {
  margin: 0 0 15px;
  color: #f5f8fc;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.section-header p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.04rem;
}

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

.card-mito,
.card-via,
.pricing-card,
.testimonial,
.contact-info,
.login-container {
  border: 1px solid var(--color-card-border);
  border-radius: var(--border-radius);
  background:
    linear-gradient(145deg, rgba(19, 27, 48, 0.88), rgba(10, 14, 28, 0.94)),
    var(--color-card-bg);
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.17);
}

.card-mito,
.card-via,
.pricing-card {
  padding: clamp(24px, 3vw, 34px);
  transition:
    transform var(--transition-speed) ease,
    border-color var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease;
}

.card-mito:hover,
.card-via:hover,
.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 217, 255, 0.45);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.27);
}

.card-mito h3,
.card-via h3,
.pricing-card h3,
.testimonial h3,
.references h3,
.contact-info h3 {
  margin: 0 0 12px;
  color: #f1f6fb;
  font-size: 1.25rem;
  line-height: 1.35;
}

.section#mitos-verdades .card-mito h3 {
  color: var(--color-primary);
}

.section#mitos-verdades .card-mito h4 {
  color: var(--color-secondary);
  margin: 21px 0 7px;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-mito p,
.card-via p,
.pricing-card p,
.testimonial p,
.references p,
.two-columns .col > p {
  color: #b8c1d0;
}

.card-mito p:last-child,
.card-via p:last-child,
.pricing-card p:last-child {
  margin-bottom: 0;
}

.card-mito-label {
  min-height: 3.4em;
  margin: 0;
  color: #f0f3f9 !important;
  font-weight: 600;
}

.two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(40px, 7vw, 92px);
}

.two-columns .section-header {
  margin: 0 0 24px;
  text-align: left;
}

.two-columns .section-header h2 {
  font-size: clamp(2rem, 3.7vw, 3rem);
}

.two-columns .section-header p {
  text-align: left;
}

.two-columns .col > p {
  margin: 0 0 18px;
}

.two-columns .col ul:not(.list-check) {
  padding-left: 23px;
  color: #c7d0de;
}

.two-columns li::marker {
  color: var(--color-primary);
}

.section-image {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--color-card-border);
  border-radius: 26px;
  background: var(--color-card-bg);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.25);
}

.section-image img {
  width: 100%;
  max-height: 590px;
  aspect-ratio: 0.9;
  object-fit: cover;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-step {
  position: relative;
  padding: 26px 23px;
  border: 1px solid var(--color-card-border);
  border-radius: var(--border-radius);
  background: rgba(14, 18, 34, 0.72);
}

.timeline-step::before {
  display: block;
  width: 34px;
  height: 4px;
  margin-bottom: 22px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  content: "";
}

.timeline-step h3 {
  margin: 0 0 12px;
  color: #f1f6fb;
  font-size: 1.05rem;
}

.timeline-step p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.list-check {
  display: grid;
  gap: 15px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.list-check li {
  position: relative;
  padding: 0 0 0 34px;
  color: #d0d8e4;
}

.list-check li::before {
  position: absolute;
  top: 0.3em;
  left: 0;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 1px solid rgba(46, 204, 113, 0.56);
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.12);
  color: #56df91;
  content: "✓";
  font-size: 0.76rem;
  font-weight: 700;
}

.endoguide-img {
  position: relative;
  display: grid;
  min-height: 360px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(0, 217, 255, 0.25);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 46%, rgba(0, 217, 255, 0.14), transparent 11rem),
    linear-gradient(145deg, #101a2b, #080c19);
}

.endoguide-img::before,
.endoguide-img::after {
  position: absolute;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 50%;
  content: "";
}

.endoguide-img::after {
  width: 280px;
  height: 280px;
  border-color: rgba(46, 204, 113, 0.16);
}

.endoguide-visual {
  position: relative;
  z-index: 1;
  display: grid;
  width: 170px;
  height: 170px;
  place-items: center;
  border: 1px solid rgba(0, 217, 255, 0.4);
  border-radius: 35% 35% 48% 48%;
  background: linear-gradient(145deg, rgba(0, 217, 255, 0.12), rgba(46, 204, 113, 0.08));
  color: var(--color-primary);
  font-size: 3.2rem;
  font-weight: 300;
  box-shadow: 0 0 75px rgba(0, 217, 255, 0.1);
}

.testimonial-carousel {
  position: relative;
  display: grid;
  width: min(980px, 100%);
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  margin-inline: auto;
}

.carousel-viewport {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--color-card-border);
  border-radius: var(--border-radius);
  background:
    linear-gradient(145deg, rgba(19, 27, 48, 0.88), rgba(10, 14, 28, 0.94)),
    var(--color-card-bg);
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.17);
}

.carousel-track {
  display: flex;
  touch-action: pan-y;
  transition: transform 550ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.testimonial {
  display: grid;
  flex: 0 0 100%;
  min-width: 100%;
  min-height: 340px;
  place-items: center;
  padding: clamp(24px, 5vw, 48px);
}

.testimonial-copy {
  width: min(640px, 100%);
  text-align: center;
}

.testimonial-step {
  display: flex;
  width: 62px;
  height: 62px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border: 1px solid rgba(0, 217, 255, 0.4);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(0, 217, 255, 0.12), rgba(46, 204, 113, 0.12));
  color: var(--color-primary);
  font-size: 1.1rem;
  font-weight: 700;
}

.testimonial-copy h3 {
  margin: 0 0 12px;
  color: var(--color-primary);
}

.testimonial-copy p {
  margin: 0;
  font-size: 1.02rem;
}

.carousel-control {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--color-card-border);
  border-radius: 50%;
  background: rgba(14, 18, 34, 0.9);
  color: var(--color-primary);
  cursor: pointer;
  font-size: 1.6rem;
  transition:
    border-color var(--transition-speed) ease,
    background var(--transition-speed) ease,
    transform var(--transition-speed) ease;
}

.carousel-control:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
  background: rgba(0, 217, 255, 0.1);
}

.references {
  max-width: 800px;
  margin: 50px auto 0;
  padding: 28px 32px;
  border-left: 3px solid var(--color-primary);
  background: rgba(0, 217, 255, 0.04);
}

.references p {
  margin-bottom: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pricing-card {
  text-align: center;
}

.price {
  margin: 14px 0;
  background: linear-gradient(100deg, var(--color-primary), #6ce99c);
  background-clip: text;
  color: transparent !important;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  -webkit-background-clip: text;
}

.pricing-note {
  margin: 22px 0 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  text-align: center;
}

.login-container {
  width: min(100%, 590px);
  margin-inline: auto;
  padding: clamp(26px, 5vw, 46px);
}

.login-form,
.contact-form {
  display: grid;
  gap: 19px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  color: #e5ebf3;
  font-size: 0.93rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(157, 177, 216, 0.22);
  border-radius: 11px;
  background: rgba(4, 8, 19, 0.72);
  color: #f2f6fc;
  transition:
    border-color var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #7f899b;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(0, 217, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(0, 217, 255, 0.09);
  outline: none;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select option {
  background: #0a0e1c;
}

.form-help-text {
  color: var(--color-text-muted);
  font-size: 0.82rem;
}

.form-options,
.remember-me {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.remember-me {
  justify-content: flex-start;
  color: #bbc5d4;
  font-size: 0.84rem;
}

.remember-me input {
  width: 17px;
  height: 17px;
  accent-color: var(--color-primary);
}

.forgot-password,
.btn-register {
  color: var(--color-primary);
  font-size: 0.84rem;
  font-weight: 600;
}

.forgot-password:hover,
.btn-register:hover {
  text-decoration: underline;
}

.login-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.login-actions .btn {
  width: 100%;
  padding-inline: 15px;
}

.login-feedback {
  min-height: 1.5em;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.login-feedback.error {
  color: #ff9b9b;
}

.login-feedback.success {
  color: #73e2a2;
}

.register-link {
  margin: 2px 0 0;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  text-align: center;
}

.register-link .btn-register {
  margin-left: 4px;
}

.contact-form {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--color-card-border);
  border-radius: var(--border-radius);
  background: rgba(14, 18, 34, 0.72);
}

.contact-form > .btn {
  justify-self: start;
}

.contact-info {
  padding: clamp(26px, 4vw, 42px);
}

.contact-info ul {
  display: grid;
  gap: 11px;
  margin: 20px 0 25px;
  padding-left: 20px;
  color: #c3ccda;
}

.contact-info li::marker {
  color: var(--color-primary);
}

.contact-info p {
  color: #c3ccda;
  overflow-wrap: anywhere;
}

.contact-info a {
  color: var(--color-primary);
}

.contact-info a:hover {
  text-decoration: underline;
}

.site-footer {
  padding: 30px 0 34px;
  border-top: 1px solid var(--color-border);
  background: #040711;
  text-align: center;
}

.footer-inner p {
  margin: 4px 0;
  color: #b6c0cf;
  font-size: 0.87rem;
}

.footer-inner .footer-note {
  max-width: 760px;
  margin: 10px auto 0;
  color: #7f8999;
  font-size: 0.78rem;
}

.whatsapp-float {
  position: fixed;
  z-index: 25;
  right: max(22px, calc((100vw - var(--content-width)) / 2));
  bottom: 24px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: #20c767;
  box-shadow: 0 10px 28px rgba(18, 186, 96, 0.34);
  color: #fff;
  transition:
    opacity var(--transition-speed) ease,
    transform var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease;
}

.whatsapp-float::before {
  content: "WA";
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 34px rgba(18, 186, 96, 0.46);
}

.whatsapp-float.hidden {
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
}

.fade-in-up {
  animation: fade-in-up 650ms both;
}

@keyframes fade-in-up {
  from {
    transform: translateY(18px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 1000px) {
  :root {
    --header-height: 74px;
  }

  .header-inner {
    gap: 18px;
  }

  .logo {
    min-width: 110px;
  }

  .logo img {
    width: 128px;
  }

  .nav-list {
    gap: 15px;
  }

  .nav-list a:not(.btn) {
    font-size: 0.82rem;
  }

  .btn-header {
    padding-inline: 17px;
    font-size: 0.86rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
    gap: 42px;
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 36px, var(--content-width));
  }

  .header-inner {
    min-height: 72px;
    justify-content: space-between;
    gap: 12px;
  }

  .logo {
    min-width: 0;
  }

  .logo img {
    width: 126px;
    max-height: 54px;
  }

  .main-nav {
    order: 3;
    margin-left: 0;
  }

  .nav-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: rgba(14, 18, 34, 0.92);
    color: var(--color-primary);
    cursor: pointer;
  }

  .nav-toggle-bar,
  .nav-toggle-bar::before,
  .nav-toggle-bar::after {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform var(--transition-speed) ease;
  }

  .nav-toggle-bar {
    position: relative;
  }

  .nav-toggle-bar::before,
  .nav-toggle-bar::after {
    position: absolute;
    left: 0;
    content: "";
  }

  .nav-toggle-bar::before {
    transform: translateY(-6px);
  }

  .nav-toggle-bar::after {
    transform: translateY(6px);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar {
    background: transparent;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
    transform: rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
    transform: rotate(-45deg);
  }

  .nav-list {
    position: fixed;
    z-index: 1;
    top: 71px;
    right: 0;
    left: 0;
    display: flex;
    max-height: calc(100svh - 71px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    padding: 12px 18px 24px;
    border-bottom: 1px solid var(--color-border);
    background: rgba(5, 8, 20, 0.98);
    box-shadow: 0 22px 35px rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity var(--transition-speed) ease,
      transform var(--transition-speed) ease;
  }

  .nav-list.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-list li {
    border-bottom: 1px solid rgba(157, 177, 216, 0.09);
  }

  .nav-list a:not(.btn) {
    display: block;
    padding: 14px 4px;
    font-size: 0.97rem;
  }

  .btn-header {
    min-height: 42px;
    margin-left: auto;
    padding: 10px 15px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: auto;
    padding: 58px 0 72px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero h1 {
    max-width: 650px;
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .hero-media {
    justify-items: center;
  }

  .hero-photo {
    width: min(75%, 340px);
  }

  .hero-photo img {
    max-height: 480px;
  }

  .section {
    padding: 72px 0;
  }

  .cards-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .card-mito-label {
    min-height: 0;
  }

  .two-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section#odonto-canabinoide > .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .two-columns .col + .col {
    order: 2;
  }

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

  .section#jornada-paciente::before {
    width: min(420px, 94vw);
    height: min(570px, 82%);
  }

  .section#jornada-paciente .section-header {
    margin-bottom: 44px;
  }

  .section#jornada-paciente .section-header h2 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .section#jornada-paciente .timeline {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 28px;
    padding-left: 28px;
  }

  .section#jornada-paciente .timeline::before {
    left: 7px;
  }

  .section#jornada-paciente .timeline-step,
  .section#jornada-paciente .timeline-step:nth-child(odd),
  .section#jornada-paciente .timeline-step:nth-child(even) {
    grid-column: 1;
    grid-row: auto;
    min-height: 0;
  }

  .section#jornada-paciente .timeline-step:nth-child(odd)::before,
  .section#jornada-paciente .timeline-step:nth-child(even)::before {
    right: auto;
    left: -28px;
    background: var(--color-primary);
    box-shadow: 0 0 16px rgba(0, 217, 255, 0.55);
  }

  .testimonial-carousel {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 8px;
  }

  .carousel-control {
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }

  .testimonial {
    min-height: 300px;
    padding: 24px;
  }

  .testimonial-copy h3 {
    font-size: 1.1rem;
  }

  .testimonial-copy p {
    font-size: 0.91rem;
  }

  .references {
    margin-top: 34px;
    padding: 23px;
  }

  .contact-form > .btn {
    width: 100%;
  }

  .whatsapp-float {
    right: 18px;
    bottom: 18px;
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 420px) {
  .container {
    width: calc(100% - 30px);
  }

  .logo img {
    width: 102px;
  }

  .btn-header {
    padding-inline: 11px;
    font-size: 0.72rem;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .hero-ctas,
  .login-actions {
    grid-template-columns: 1fr;
  }

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

  .login-actions {
    display: grid;
  }

  .form-options {
    align-items: flex-start;
    flex-direction: column;
  }

  .testimonial-carousel {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    gap: 5px;
  }

  .carousel-control {
    width: 32px;
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
