/* ClipeVet — landing CRO: Inter + Neuropolitical, hero escuro, blocos claros */
@font-face {
  font-family: "Neuropolitical";
  src: url("../fonts/Neuropolitical Rg.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b0c0e;
  --ink-soft: #2b2d33;
  --muted: #5c5f6a;
  --line: #e0e2e7;
  --line-dark: #2a2d35;
  --bg: #f4f5f7;
  --bg-card: #ffffff;
  --bg-tint: #eceef2;
  --bg-dark: #0c0e12;
  --bg-dark-2: #12151c;
  --brand: #c41a28;
  --brand-bright: #e32636;
  --brand-dark: #8f101c;
  --gold: #d4a012;
  --max: 1120px;
  --tight: 40rem;
  --radius: 16px;
  --radius-pill: 999px;
  --shadow: 0 20px 50px rgba(5, 8, 16, 0.12);
  --shadow-wa: 0 8px 28px rgba(196, 26, 40, 0.45);
  --font: "Inter", system-ui, sans-serif;
  --display: "Neuropolitical", "Inter", system-ui, sans-serif;
  --gutter: clamp(1.1rem, 4vw, 1.5rem);
  /* Altura aprox. da barra do header (só a faixa, sem safe-area — somamos no hero) */
  --header-bar: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
  /* Ancoras não ficam atrás do header fixo */
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-bar));
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  padding-bottom: 0;
}

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

a {
  color: var(--brand);
}

.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--brand-bright);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

/* Layout */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow {
  max-width: 38rem;
}

.section--narrow {
  max-width: 40rem;
  margin: 0 auto;
}

/* Header: fixo por cima do hero (não empurra o conteúdo); blur ao rolar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  padding-top: env(safe-area-inset-top, 0px);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.28s ease, border-color 0.28s ease, -webkit-backdrop-filter 0.28s ease, backdrop-filter 0.28s ease, box-shadow 0.28s ease;
}

.header--scrolled {
  background: rgba(12, 14, 18, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  padding: 0.35rem 0.6rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.header__logo img {
  max-height: 48px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 400px) {
  .header__nav .btn--ghost {
    display: none;
  }
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  padding: 0.65rem 1.2rem;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.12s;
}

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

/* “Liquid glass” — fundo claro vítreo, borda branca (no header sobre fundo escuro) */
.btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 24px rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
}

.btn--ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 6px 28px rgba(0, 0, 0, 0.25);
}

.btn--header {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 4px 16px rgba(196, 26, 40, 0.35);
}

.btn--header:hover {
  background: var(--brand-bright);
  color: #fff;
}

.btn--wa {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: var(--shadow-wa);
}

.btn--wa:hover {
  background: var(--brand-bright);
  color: #fff;
}

.btn--xl {
  padding: 1rem 1.5rem;
  font-size: 1.02rem;
  min-height: 52px;
}

.btn--wide {
  min-width: 12rem;
}

.btn--outline {
  background: #fff;
  color: var(--brand);
  border-color: var(--brand);
  box-shadow: none;
}

.btn--outline:hover {
  background: #fff0f0;
}

.btn--outline-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 8px 32px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
}

.btn--outline-light:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 40px rgba(0, 0, 0, 0.22);
}

/* Hero — padding-top = espaço do header fixo (imagem/overlay começam no topo do ecrã) */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  color: #f2f3f5;
  overflow: hidden;
  /* Conteúdo abaixo do nav */
  padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-bar));
  box-sizing: border-box;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("/FACHADADACLINICA.jpg") center / cover no-repeat;
  z-index: 0;
  transform: scale(1.01);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(5, 7, 12, 0.94) 0%,
    rgba(5, 7, 12, 0.8) 45%,
    rgba(5, 7, 12, 0.55) 100%
  );
}

@media (max-width: 700px) {
  .hero__overlay {
    background: linear-gradient(180deg, rgba(5, 7, 12, 0.9) 0%, rgba(5, 7, 12, 0.88) 100%);
  }
}

.hero__grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.hero__copy {
  max-width: 38.5rem;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 0.9rem;
}

.hero__title {
  font-family: var(--display);
  font-size: clamp(2.55rem, 6.6vw, 4.6rem);
  line-height: 1.04;
  font-weight: 400;
  color: #fff;
  margin: 0 0 1.1rem;
  letter-spacing: 0.028em;
  text-wrap: balance;
  max-width: 12ch;
  position: relative;
  display: inline-block;
  padding-bottom: 0.42rem;
  text-shadow: 0 3px 36px rgba(0, 0, 0, 0.56);
}

.hero__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: clamp(5.5rem, 14vw, 9.5rem);
  height: 0.23rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-bright) 0%, rgba(227, 38, 54, 0.38) 100%);
}

.hero__sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(242, 243, 245, 0.88);
  margin: 0 0 1.35rem;
  max-width: 38ch;
}

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

.bullets {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.bullets li {
  position: relative;
  padding-left: 1.45rem;
  color: #e7e8ec;
  font-size: 0.98rem;
  line-height: 1.45;
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--brand-bright);
  border-radius: 2px;
  box-shadow: 0 0 0 2px rgba(196, 26, 40, 0.35);
}

.bullets--compact li {
  color: var(--ink-soft);
  font-size: 1rem;
}

.bullets--compact li::before {
  background: var(--brand);
  box-shadow: none;
}

/* Proof bar */
.proof-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  margin-bottom: 1.4rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.proof-bar__item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.proof-bar__star {
  color: var(--gold);
  font-size: 0.9rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.hero__micro {
  margin: 0.75rem 0 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

.hero__disclaimer {
  margin: 0;
  max-width: 40ch;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
}

/* Tensão */
.tension {
  text-align: center;
}

.tension__line {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.5vw, 2.1rem);
  line-height: 1.28;
  color: #e4e5e9;
  margin: 0 0 0.7rem;
  letter-spacing: 0.02em;
}

.tension__line--accent {
  color: var(--brand-bright);
  margin-top: 0.5rem;
  font-size: clamp(1.5rem, 3.7vw, 2.2rem);
}

/* Secções gerais */
.section {
  padding: clamp(3rem, 6vw, 4.25rem) 0;
}

.section--light {
  background: var(--bg);
}

.section--tint {
  background: var(--bg-tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--dark {
  background: var(--bg-dark);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.h2 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  line-height: 1.13;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 1.05rem;
  letter-spacing: 0.024em;
  max-width: 24ch;
  text-wrap: balance;
  position: relative;
  display: inline-block;
  padding-bottom: 0.34rem;
}

.h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: clamp(4rem, 9vw, 7rem);
  height: 0.19rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand) 0%, rgba(196, 26, 40, 0.32) 100%);
}

.h2--dark {
  color: var(--ink);
  max-width: none;
}

.h2--light {
  color: #fff;
  max-width: none;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.4);
}

.h2--light::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.28) 100%);
}

.h2--final {
  font-size: clamp(2.05rem, 4.2vw, 3.05rem);
}

.h2--final::after {
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(2.15rem, 9.2vw, 2.9rem);
    line-height: 1.06;
    letter-spacing: 0.018em;
    max-width: 15ch;
    margin-bottom: 0.95rem;
  }

  .h2 {
    font-size: clamp(1.58rem, 7.2vw, 2.05rem);
    line-height: 1.16;
    letter-spacing: 0.016em;
    padding-bottom: 0.3rem;
  }

  .h2--final {
    font-size: clamp(1.78rem, 7.7vw, 2.2rem);
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: clamp(3.15rem, 5.1vw, 4.95rem);
    max-width: 11.5ch;
    margin-bottom: 1.25rem;
  }

  .h2 {
    font-size: clamp(2.05rem, 2.7vw, 2.95rem);
    margin-bottom: 1.15rem;
    max-width: 26ch;
  }
}

.lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 0.9rem;
  max-width: 46ch;
}

.lead--tight {
  margin-bottom: 0;
  font-weight: 600;
  color: var(--ink-soft);
}

.section-lead {
  color: var(--muted);
  margin: -0.35rem 0 1.5rem;
  max-width: 40ch;
  font-size: 1.02rem;
}

/* Duas colunas */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 880px) {
  .two-col {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 2.5rem 3.5rem;
  }

  .two-col--reverse {
    direction: rtl;
  }

  .two-col--reverse > * {
    direction: ltr;
  }
}

/* Promise card */
.promise-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 1.5rem 1.6rem 1.6rem;
}

.promise-card__kicker {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin: 0 0 0.5rem;
}

.promise-card__text {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 1.05rem;
}

/* CTA strip */
.cta-strip {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 24px rgba(5, 8, 16, 0.04);
  padding: 1.1rem 0;
}

.cta-strip--alt {
  background: var(--bg-tint);
}

.cta-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-strip__inner--stack {
  flex-direction: column;
  text-align: center;
  padding: 0.2rem 0 0.4rem;
}

.cta-strip__line {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 34ch;
}

.cta-strip__line--strong {
  max-width: 44ch;
  font-size: 1.1rem;
}

/* Features */
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 720px) {
  .feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
  }
}

.feature {
  display: flex;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
  box-shadow: 0 8px 24px rgba(5, 8, 16, 0.05);
}

.feature__icon {
  flex: 0 0 2.1rem;
  height: 2.1rem;
  line-height: 2.1rem;
  text-align: center;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.95rem;
}

.feature__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.2rem;
}

.feature__text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

.hospital-stat {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.hospital-stat__big {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  line-height: 1;
  margin: 0 0 0.4rem;
  color: #fff;
  letter-spacing: 0.02em;
}

.hospital-stat__label {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  font-size: 0.98rem;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem 1.3rem;
  box-shadow: 0 6px 20px rgba(5, 8, 16, 0.04);
}

.testimonial__rating {
  color: var(--gold);
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  margin: 0 0 0.6rem;
  line-height: 1;
}

.testimonial__text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 0.7rem;
}

.testimonial__name {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

/* Google reviews prints (sem corte) */
.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 760px) {
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.review-shot {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(5, 8, 16, 0.04);
  padding: 0.5rem;
}

.review-shot img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain; /* garante visual completo sem crop */
  background: #fff;
  border-radius: 12px;
}

/* Objections */
.objection-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

@media (min-width: 820px) {
  .objection-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.objection {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.35rem 1.3rem 1.4rem;
  box-shadow: 0 8px 22px rgba(5, 8, 16, 0.05);
}

.objection__title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.objection__text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* Local */
.link-maps {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.15rem;
  border-bottom: 2px solid var(--brand);
  transition: color 0.2s, border-color 0.2s;
}

.link-maps:hover {
  color: var(--brand);
  border-color: var(--brand-bright);
}

.local-box {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
}

.local-box__kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin: 0 0 0.4rem;
}

.local-box__text {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.98rem;
}

/* Finale */
.section--finale {
  background: linear-gradient(165deg, #141821 0%, var(--bg-dark) 55%, #0a0b0d 100%);
  color: #e8e9ed;
  padding: clamp(3rem, 7vw, 4.5rem) 0;
  border-top: 1px solid var(--line-dark);
}

.finale__sub {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(232, 233, 237, 0.82);
  margin: 0.8rem 0 1.75rem;
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
}

.finale__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}

.finale__micro {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

/* Footer */
.footer {
  background: #08090b;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.86rem;
  padding: 1.5rem 0 2.5rem;
}

@media (min-width: 901px) {
  .footer {
    padding-bottom: 1.5rem;
  }
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

@media (min-width: 901px) {
  .btn--wide {
    min-width: 0;
  }
}
