/* ===== Oral Unic Pelotas – LP Implante Dentário ===== */
:root {
  --roxo: #540247;
  --roxo-2: #940d74;
  --roxo-3: #3d0134;
  --roxo-texto: #4f1948;
  --turq: #19d3c5;
  --turq-2: #6fd8cb;
  --turq-bg: #e6f9f7;
  --verde: #25d366;
  --verde-2: #1ebe5b;
  --cinza-bg: #f6f6f8;
  --cinza-linha: #e6e6ea;
  --texto: #3a3a3f;
  --texto-2: #64646b;
  --branco: #fff;
  --radius: 28px;
  --shadow: 0 10px 30px rgba(84, 2, 71, .10);
  --container: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Work Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: var(--texto);
  background: var(--branco);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--roxo); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.container.narrow { max-width: 820px; }
.center { text-align: center; margin-top: 2.25rem; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section__kicker { color: var(--roxo-2); font-weight: 500; text-align: center; margin: 0 0 .35rem; font-size: 1.05rem; }
.section__title { text-align: center; margin-bottom: 1.25rem; }
.section__lead { text-align: center; color: var(--texto-2); max-width: 640px; margin: -0.5rem auto 2.25rem; font-size: 1.1rem; }
.left { text-align: left; margin-left: 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  border-radius: 999px; font-weight: 700; text-decoration: none;
  padding: .95rem 1.9rem; font-size: 1.05rem; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1.15rem 2.3rem; font-size: 1.2rem; }
.btn--sm { padding: .7rem 1.3rem; font-size: .98rem; }
.btn--wa { background: var(--verde); color: #fff; box-shadow: 0 8px 22px rgba(37, 211, 102, .35); }
.btn--wa:hover { background: var(--verde-2); box-shadow: 0 12px 28px rgba(37, 211, 102, .45); }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.22); }
.btn--outline { background: transparent; color: var(--roxo); border-color: var(--roxo); }
.btn--outline:hover { background: var(--roxo); color: #fff; }
.ico-wa, .ico { width: 1.45em; height: 1.45em; fill: currentColor; flex: none; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--roxo); color: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.header__logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.header__logo img { height: 40px; width: auto; }
.header__unidade {
  font-size: 1.1rem; font-weight: 500; color: var(--turq); letter-spacing: .01em;
  padding-left: .75rem; border-left: 1px solid rgba(255,255,255,.3);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 85% 20%, #7a1466 0%, transparent 60%),
              linear-gradient(135deg, #5d0450 0%, var(--roxo) 55%, #3d0134 100%);
  padding: clamp(2.5rem, 6vw, 5rem) 0 0;
}
.hero::before {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 520px; height: 520px;
  border-radius: 50%; background: rgba(25, 211, 197, .12); filter: blur(2px);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0 2rem; align-items: center; position: relative; }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero .hl { color: var(--turq); }
.hero__sub { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.9); max-width: 560px; font-weight: 300; }
.hero__sub strong { font-weight: 600; color: #fff; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.9rem 0 0; }
.hero__media { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.blob { width: min(100%, 440px); position: relative; }
.blob img { width: 100%; }
.hero__card {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  background: #fff; color: var(--roxo); border-radius: 18px; padding: .7rem 1.2rem;
  box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; white-space: nowrap;
}
.hero__card strong { font-size: 1.05rem; }
.hero__card span { font-size: .85rem; color: var(--texto-2); }
.hero__selos { grid-column: 1 / -1; margin-top: .5rem; padding: 1.25rem 0 1.75rem; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: center; }
.hero__selos img { max-width: 560px; width: 100%; }
.hero__selos-text { display: none; color: rgba(255,255,255,.8); font-size: .92rem; text-align: center; margin: 0; }

/* ---------- Diferenciais ---------- */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.card {
  background: #fff; border: 1px solid var(--cinza-linha); border-radius: var(--radius);
  padding: 1.75rem 1.5rem; box-shadow: var(--shadow); text-align: center;
}
.card__ico {
  width: 72px; height: 72px; border-radius: 22px; margin: 0 auto 1rem;
  background: var(--turq-bg); display: grid; place-items: center;
}
.card__ico svg { width: 36px; height: 36px; fill: var(--turq); }
.card h3 { margin-bottom: .4rem; }
.card p { margin: 0; color: var(--texto-2); font-size: 1rem; }

/* ---------- Antes e depois ---------- */
.antes-depois { background: var(--cinza-bg); }
.ba-list { display: flex; flex-direction: column; gap: 2.5rem; max-width: 880px; margin-inline: auto; }
.ba { margin: 0; }
.ba__pair { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.ba__side { position: relative; overflow: hidden; border-radius: 20px; box-shadow: var(--shadow); background: #ddd; }
.ba__side img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba__tag {
  position: absolute; left: 12px; bottom: 12px; padding: .3rem .8rem; border-radius: 999px;
  font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(20,20,24,.72); color: #fff; backdrop-filter: blur(2px);
}
.ba__tag--d { background: var(--turq); color: var(--roxo-3); }
.ba figcaption { text-align: center; margin-top: .85rem; color: var(--roxo-texto); font-weight: 500; font-size: 1.05rem; }
.ba__nota { max-width: 700px; margin: 2rem auto 0; text-align: center; font-size: .9rem; color: var(--texto-2); line-height: 1.5; }

/* ---------- Depoimentos em vídeo ---------- */
.depo__head { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 2rem; }
.depo__head img { width: 90px; flex: none; }
.depo__head .section__lead { margin: 0; }

.rail__wrap { position: relative; }
.rail__inner { position: relative; }
.rail {
  display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .5rem .25rem 1.25rem; margin-inline: -.25rem;
  scrollbar-width: thin; scrollbar-color: var(--turq) transparent;
}
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--turq); border-radius: 99px; }
.rail::-webkit-scrollbar-track { background: transparent; }

.depo { scroll-snap-align: start; margin: 0; flex: 0 0 260px; min-width: 0; }
@media (min-width: 900px) { .depo { flex-basis: calc((100% - 3 * 1.1rem) / 4); } }
.depo__media {
  position: relative; aspect-ratio: 600 / 1066; border-radius: 22px; overflow: hidden;
  background: var(--roxo-3); box-shadow: var(--shadow); cursor: pointer;
}
.depo__media img, .depo__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.depo__media img { transition: transform .4s cubic-bezier(.22,1,.36,1); }
.depo:hover .depo__media img { transform: scale(1.04); }
.depo__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(transparent 55%, rgba(61,1,52,.45));
}
.depo__media.is-playing::after { display: none; }
.depo__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  background: rgba(255,255,255,.94); box-shadow: 0 8px 26px rgba(0,0,0,.35);
  display: grid; place-items: center; transition: transform .2s ease, background .2s ease;
}
.depo__play svg { width: 30px; height: 30px; fill: var(--roxo); margin-left: 3px; }
.depo:hover .depo__play { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.depo__quote { margin: .9rem 0 .25rem; color: var(--roxo); font-weight: 600; font-size: 1.02rem; line-height: 1.35; }
.depo__nome { margin: 0; font-size: .9rem; color: var(--texto-2); font-weight: 600; }
.depo__nome span { font-weight: 400; opacity: .75; }
.depo__nome span::before { content: "· "; }

.rail__btn {
  position: absolute; top: calc(50% - 3rem); transform: translateY(-50%); z-index: 4;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--cinza-linha);
  background: #fff; cursor: pointer; display: none; place-items: center;
  box-shadow: 0 6px 20px rgba(84,2,71,.18); transition: background .2s ease;
}
.rail__btn svg { width: 26px; height: 26px; fill: var(--roxo); }
.rail__btn:hover { background: var(--turq-bg); }
.rail__btn[disabled] { opacity: .35; cursor: default; }
.rail__btn--prev { left: -26px; }
.rail__btn--next { right: -26px; }
@media (min-width: 900px) { .rail__btn { display: grid; } }
.rail__dica { display: none; text-align: center; color: var(--texto-2); font-size: .9rem; margin: 0; }

/* ---------- Google ---------- */
.google { background: var(--turq-bg); }
.google__badge {
  display: flex; align-items: center; gap: 1rem; background: #fff; border-radius: 999px;
  padding: .8rem 1.5rem .8rem 1rem; width: max-content; margin: 0 auto 1.5rem; box-shadow: var(--shadow);
}
.google__score { font-size: 1.5rem; color: var(--roxo); display: block; line-height: 1.1; }
.google__badge span:not(.stars) { color: var(--texto-2); font-size: .95rem; }
.stars { color: #f5a623; letter-spacing: .05em; font-size: .9em; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.review { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.review__top { display: flex; align-items: center; gap: .8rem; margin-bottom: .8rem; }
.review__top div { display: flex; flex-direction: column; }
.review__avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--roxo); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; flex: none;
}
.review p { margin: 0; color: var(--texto); }

/* ---------- Passos ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: s; }
.steps li { position: relative; background: #fff; border: 1px solid var(--cinza-linha); border-radius: var(--radius); padding: 2rem 1.5rem 1.5rem; text-align: center; box-shadow: var(--shadow); }
.steps__n {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--roxo), var(--roxo-2)); color: #fff; font-weight: 800; font-size: 1.5rem;
}
.steps p { margin: 0; color: var(--texto-2); }

/* ---------- Clínica ---------- */
.clinica { background: var(--cinza-bg); }
.clinica__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.clinica__cro { color: var(--roxo-2); font-weight: 600; margin-top: -.5rem; }
.clinica__text .btn { margin-top: .5rem; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.gallery__big { grid-column: 1 / -1; aspect-ratio: 2 / 1 !important; }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border: 1px solid var(--cinza-linha); border-radius: 18px; padding: 0 1.4rem; margin-bottom: .8rem; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--roxo); font-size: 1.15rem; padding: 1.1rem 2.2rem 1.1rem 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--turq-bg); color: var(--roxo); display: grid; place-items: center; font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1.2rem; color: var(--texto-2); }

/* ---------- Localização ---------- */
.local { padding-top: 0; }
.local__band { background: var(--roxo); color: #fff; padding: 2.25rem 0; }
.local__band-inner { display: flex; align-items: center; gap: 1.25rem; }
.local__band h2 { color: #fff; margin: 0 0 .2rem; }
.local__band p { margin: 0; color: rgba(255,255,255,.85); }
.local__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; margin-top: 2.5rem; align-items: stretch; }
.local__info { background: #fff; border: 1px solid var(--cinza-linha); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.local__info h3 { font-size: 1.5rem; }
.local__info strong { color: var(--roxo); }
.local__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 340px; }
.local__map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ---------- CTA final ---------- */
.cta-final {
  position: relative; color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: linear-gradient(rgba(84,2,71,.85), rgba(84,2,71,.85)), url("../assets/img/cta-bg.webp") center/cover no-repeat;
}
.cta-final__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-final h2 { color: #fff; margin-bottom: .3rem; }
.cta-final p { margin: 0; color: rgba(255,255,255,.88); font-size: 1.1rem; }

/* ---------- Footer ---------- */
.footer { background: var(--roxo-3); color: rgba(255,255,255,.85); padding: 3rem 0; font-size: .95rem; }
.footer__grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer__grid img { margin-bottom: 1rem; }
.footer__links { display: flex; flex-direction: column; gap: .5rem; }
.footer__links a { color: #fff; text-decoration: none; }
.footer__links a:hover { text-decoration: underline; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.5rem; font-size: .85rem; color: rgba(255,255,255,.6); }

/* ---------- Sticky bar ---------- */
.stickybar {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60;
  display: none; transition: transform .35s cubic-bezier(.22,1,.36,1), opacity .35s ease;
}
.stickybar .btn { padding: .8rem 1.15rem .8rem .95rem; font-size: 1rem; box-shadow: 0 10px 26px rgba(37,211,102,.45), 0 2px 6px rgba(0,0,0,.18); }
.stickybar .ico-wa { width: 1.6em; height: 1.6em; }
.stickybar.is-hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .cards4 { grid-template-columns: repeat(2, 1fr); }
  .reviews, .steps { grid-template-columns: repeat(2, 1fr); }
  .clinica__grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  body { font-size: 17px; }
  .section { padding: 2.75rem 0; }
  .section__title { margin-bottom: 1rem; }
  .section__lead { margin-bottom: 1.5rem; font-size: 1rem; }
  .center { margin-top: 1.5rem; }
  .center .btn, .cta-final .btn, .hero__ctas .btn { width: 100%; max-width: 420px; }
  .btn--lg { padding: 1rem 1.6rem; font-size: 1.08rem; }

  /* header */
  .header__inner { min-height: 60px; }
  .header__logo { gap: .55rem; }
  .header__logo img { height: 30px; }
  .header__unidade { font-size: .95rem; padding-left: .55rem; }
  .header .btn span { display: none; }
  .header .btn { padding: .55rem .7rem; }

  /* hero: só texto, sem foto */
  .hero { padding: 2rem 0 0; }
  .hero::before { display: none; }
  .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero__text { order: 1; }
  .hero__selos { order: 2; }
  .hero__media { order: 3; }
  .hero h1 { font-size: clamp(1.9rem, 8.2vw, 2.4rem); margin-bottom: .75rem; }
  .hero__sub { font-size: 1.05rem; }
  .hero__ctas { margin: 1.5rem 0 0; gap: .7rem; }
  .hero__selos { margin-top: 1.5rem; padding: 1.25rem 0 0; }
  .hero__selos img { display: none; }
  .hero__selos-text { display: block; }
  .hero__media { margin-top: .5rem; }
  .blob { width: min(80%, 320px); }

  /* diferenciais: lista compacta em vez de 4 cards empilhados */
  .cards4 { grid-template-columns: 1fr; gap: .6rem; }
  .card { display: grid; grid-template-columns: 56px 1fr; column-gap: 1rem; align-items: center; text-align: left; padding: 1rem 1.1rem; border-radius: 20px; box-shadow: none; }
  .card__ico { width: 56px; height: 56px; border-radius: 16px; margin: 0; grid-row: 1 / 3; }
  .card__ico svg { width: 28px; height: 28px; }
  .card h3 { font-size: 1.08rem; margin: 0 0 .15rem; }
  .card p { font-size: .95rem; line-height: 1.4; }

  .reviews, .steps { grid-template-columns: 1fr; gap: 1.1rem; }
  .ba-list { gap: 1.75rem; }
  .ba__pair { gap: .35rem; }
  .ba__side { border-radius: 14px; }
  .ba__tag { left: 7px; bottom: 7px; padding: .22rem .55rem; font-size: .7rem; }
  .ba figcaption { font-size: .95rem; margin-top: .6rem; }
  .ba__nota { font-size: .82rem; margin-top: 1.5rem; }
  .rail { gap: .8rem; padding-bottom: 1rem; }
  .depo { flex-basis: 74vw; }
  .rail__dica { display: block; }
  .depo__quote { font-size: .98rem; }
  .steps li { padding: 1.5rem 1.25rem 1.25rem; }
  .depo__head { flex-direction: column; text-align: center; gap: .5rem; margin-bottom: 1.25rem; }
  .depoimentos { padding-bottom: 2rem; }
  .depo__head img { width: 56px; }
  .depo__head .section__title, .depo__head .section__lead { text-align: center; }
  .google__badge { width: 100%; justify-content: center; border-radius: 24px; }
  .review { padding: 1.25rem; }
  .clinica__grid { gap: 1.5rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .gallery img { border-radius: 14px; }
  .faq summary { font-size: 1.05rem; }
  .local__band { padding: 1.75rem 0; }
  .local__band-inner { flex-direction: column; text-align: center; gap: .5rem; }
  .local__band-inner img { width: 44px; }
  .local__grid { grid-template-columns: 1fr; margin-top: 1.5rem; gap: 1.25rem; }
  .local__info { padding: 1.5rem; }
  .local__map, .local__map iframe { min-height: 260px; }
  .cta-final__inner { flex-direction: column; text-align: center; gap: 1.25rem; }
  .footer { padding-bottom: 5.5rem; }
  .footer__grid { flex-direction: column; gap: 1.25rem; }
  .stickybar { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .video img { transition: none; }
}
