/* =====================================================
   VIVA Odontologia — clínica odontológica
   Paleta: branco/mint + azul-turquesa + navy
   Tema claro, clínico e acolhedor (confiança)
   ===================================================== */

:root {
  --bg:       #f2f9fb;
  --white:    #ffffff;
  --ink:      #0f2e46;
  --ink-soft: #5a7386;
  --teal:     #12a7c4;
  --teal-dk:  #0e8ba3;
  --teal-800: #0a6f85;
  --teal-lt:  #e2f4f8;
  --teal-tint:#eaf7fa;
  --mint:     #d7eef2;
  --coral:    #ff8a73;
  --line:     rgba(15, 46, 70, .1);
  --line-soft:rgba(15, 46, 70, .06);
  --shadow:   0 24px 60px -30px rgba(15, 46, 70, .35);
  --shadow-sm:0 14px 34px -20px rgba(15, 46, 70, .3);

  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-serif:   'Spectral', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;

  --container: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); background: var(--bg); color: var(--ink); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- tipografia ---------- */
.eyebrow { font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; color: var(--teal-dk); margin-bottom: 14px; }
.section-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 4.6vw, 3.1rem); line-height: 1.08; letter-spacing: -.5px; color: var(--ink); }
.section-title em { font-family: var(--font-serif); font-style: italic; font-weight: 600; color: var(--teal); letter-spacing: 0; }
.section-sub { color: var(--ink-soft); font-size: 1.06rem; max-width: 50ch; margin: 14px auto 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); }

/* ---------- botões ---------- */
.btn { --pad-y: 13px; --pad-x: 26px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: var(--pad-y) var(--pad-x); font-family: var(--font-display); font-weight: 700; font-size: .95rem; border-radius: 100px; border: 2px solid transparent; cursor: pointer; transition: transform .3s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .3s; white-space: nowrap; }
.btn--lg { --pad-y: 16px; --pad-x: 30px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 12px 26px -12px rgba(18,167,196,.9); }
.btn--primary:hover { background: var(--teal-dk); transform: translateY(-3px); box-shadow: 0 18px 34px -12px rgba(18,167,196,1); }
.btn--soft { background: var(--teal-lt); color: var(--teal-800); }
.btn--soft:hover { background: var(--mint); transform: translateY(-3px); }
.btn--white { background: #fff; color: var(--teal-dk); }
.btn--white:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -14px rgba(0,0,0,.3); }
.btn--ghost-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost-white:hover { background: rgba(255,255,255,.14); border-color: #fff; transform: translateY(-3px); }

/* ---------- topbar ---------- */
.topbar { background: var(--ink); color: #cfe3ee; font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 9px 0; flex-wrap: wrap; }
.topbar__sep { opacity: .4; }
.topbar__phone { margin-left: auto; color: #fff; font-weight: 600; }
.topbar__phone:hover { color: var(--teal); }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(242,249,251,.9); backdrop-filter: blur(12px); transition: box-shadow .4s, background .4s; }
.header.is-stuck { box-shadow: 0 10px 30px -20px rgba(15,46,70,.4); background: rgba(255,255,255,.9); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { font-size: 1.7rem; }
.logo__text { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -.5px; color: var(--ink); display: flex; flex-direction: column; line-height: .95; }
.logo__text i { font-family: var(--font-body); font-style: normal; font-weight: 600; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); margin-top: 3px; }
.logo__text--light { color: #fff; }
.logo__text--light i { color: var(--teal); }

.nav { display: flex; gap: 30px; }
.nav a { font-weight: 600; font-size: .96rem; color: var(--ink-soft); position: relative; padding: 4px 0; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--teal); border-radius: 2px; transition: width .3s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: var(--white); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 76px) 0 clamp(52px, 7vw, 90px); overflow: hidden; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(10px); z-index: 0; pointer-events: none; }
.hero__blob--1 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(18,167,196,.16), transparent 68%); top: -120px; right: -80px; }
.hero__blob--2 { width: 360px; height: 360px; background: radial-gradient(circle, rgba(215,238,242,.7), transparent 66%); bottom: -120px; left: -100px; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.pill { display: inline-block; background: var(--white); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); color: var(--teal-800); font-weight: 600; font-size: .88rem; padding: 8px 16px; border-radius: 100px; margin-bottom: 22px; }
.hero__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.5rem, 6vw, 4.3rem); line-height: 1.03; letter-spacing: -1.5px; margin-bottom: 22px; }
.hero__title em { font-family: var(--font-serif); font-style: italic; font-weight: 600; color: var(--teal); letter-spacing: 0; }
.hero__lead { color: var(--ink-soft); font-size: 1.14rem; max-width: 46ch; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero__trust li { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: .92rem; }
.hero__trust span { color: #fff; background: var(--teal); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .68rem; }

.hero__media { position: relative; }
.hero__imgwrap { position: relative; border-radius: 30px 30px 30px 90px; overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; }
.hero__imgwrap img { width: 100%; aspect-ratio: 9/10; object-fit: cover; }
.hero__card { position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.hero__card--1 { left: -22px; top: 40px; }
.hero__card--1 strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.hero__card--1 small { color: var(--ink-soft); font-size: .78rem; }
.hero__card-ico { font-size: 1.6rem; }
.hero__card--2 { right: -18px; bottom: 40px; flex-direction: column; align-items: flex-start; gap: 2px; }
.hero__stars { color: #ffb400; letter-spacing: 2px; }
.hero__card--2 small { color: var(--ink-soft); font-size: .78rem; }

/* ---------- trust strip ---------- */
.trust { padding: 4px 0 8px; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; background: var(--white); border: 1px solid var(--line-soft); border-radius: 20px; padding: 30px 24px; box-shadow: var(--shadow-sm); }
.trust__item { text-align: center; position: relative; }
.trust__item:not(:last-child)::after { content: ""; position: absolute; right: -8px; top: 50%; transform: translateY(-50%); width: 1px; height: 42px; background: var(--line); }
.trust__item strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--teal); line-height: 1; }
.trust__item span { color: var(--ink-soft); font-size: .88rem; margin-top: 4px; display: block; }

/* ---------- serviços ---------- */
.services { padding: clamp(56px, 8vw, 96px) 0; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { background: var(--white); border: 1px solid var(--line-soft); border-radius: 20px; padding: 32px 28px; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.service:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.service__ico { width: 60px; height: 60px; border-radius: 16px; background: var(--teal-lt); display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 18px; transition: background .3s, transform .3s; }
.service:hover .service__ico { background: var(--teal); transform: scale(1.06) rotate(-4deg); }
.service h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin-bottom: 8px; }
.service p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- como funciona ---------- */
.steps { padding: clamp(56px, 8vw, 90px) 0; background: linear-gradient(180deg, var(--teal-tint), var(--bg)); }
.steps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.step { background: var(--white); border-radius: 20px; padding: 30px 26px; box-shadow: var(--shadow-sm); position: relative; transition: transform .4s var(--ease); }
.step:hover { transform: translateY(-6px); }
.step__num { width: 46px; height: 46px; border-radius: 14px; background: var(--teal); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .94rem; }

/* ---------- a clínica ---------- */
.about { padding: clamp(56px, 8vw, 100px) 0; }
.about__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 54px; align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); }
.about__badge { position: absolute; right: -18px; bottom: -20px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 16px 20px; display: flex; align-items: center; gap: 12px; max-width: 260px; }
.about__badge-ico { font-size: 1.8rem; }
.about__badge strong { display: block; font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.about__badge small { color: var(--ink-soft); font-size: .82rem; }
.about__copy p { color: var(--ink-soft); font-size: 1.05rem; margin-top: 16px; }
.about__copy .section-title { text-align: left; margin: 0; }
.about__points { margin-top: 26px; display: grid; gap: 16px; }
.about__points > div { display: flex; flex-direction: column; padding-left: 16px; border-left: 3px solid var(--teal-lt); }
.about__points strong { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.about__points span { color: var(--ink-soft); font-size: .92rem; }

/* ---------- depoimentos ---------- */
.reviews { padding: clamp(56px, 8vw, 96px) 0; background: var(--teal-tint); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--white); border-radius: 20px; padding: 30px 28px; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease); }
.review:hover { transform: translateY(-6px); }
.review__stars { color: #ffb400; letter-spacing: 2px; margin-bottom: 14px; }
.review blockquote { font-size: 1.04rem; line-height: 1.6; color: var(--ink); margin-bottom: 20px; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review__av { width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; }
.review figcaption strong { display: block; font-family: var(--font-display); }
.review figcaption small { color: var(--ink-soft); font-size: .84rem; }

/* ---------- faq ---------- */
.faq { padding: clamp(56px, 8vw, 96px) 0; }
.faq__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: start; }
.faq__intro .section-title { text-align: left; margin: 0; }
.faq__intro p { color: var(--ink-soft); margin: 14px 0 22px; }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: var(--white); border: 1px solid var(--line-soft); border-radius: 16px; padding: 4px 22px; box-shadow: var(--shadow-sm); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 0; font-family: var(--font-display); font-weight: 700; font-size: 1.04rem; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; background: var(--teal); border-radius: 2px; transition: transform .3s var(--ease); }
.faq__plus::before { left: 0; top: 9px; width: 20px; height: 2px; }
.faq__plus::after { left: 9px; top: 0; width: 2px; height: 20px; }
.faq__item[open] .faq__plus::after { transform: rotate(90deg); opacity: 0; }
.faq__item p { color: var(--ink-soft); padding: 0 0 20px; font-size: .98rem; }

/* ---------- cta ---------- */
.cta { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 96px); }
.cta__card { background: linear-gradient(135deg, var(--teal), var(--teal-800)); border-radius: 30px; padding: clamp(34px, 5vw, 60px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.cta__card::before { content: "🦷"; position: absolute; right: -20px; top: -30px; font-size: 12rem; opacity: .08; }
.cta__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.1; letter-spacing: -.5px; }
.cta__title em { font-family: var(--font-serif); font-style: italic; font-weight: 600; }
.cta__copy p { margin-top: 14px; font-size: 1.08rem; color: rgba(255,255,255,.9); max-width: 42ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.cta__info { display: grid; gap: 16px; position: relative; z-index: 1; }
.cta__info-item { display: flex; gap: 14px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 16px; padding: 18px 20px; }
.cta__info-item span { font-size: 1.5rem; }
.cta__info-item strong { font-family: var(--font-display); font-weight: 700; display: block; margin-bottom: 4px; }
.cta__info-item p { font-size: .92rem; color: rgba(255,255,255,.88); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #b9cddb; padding-top: 58px; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 2fr; gap: 40px; padding-bottom: 42px; }
.footer__brand p { margin: 16px 0 20px; max-width: 34ch; color: rgba(185,205,219,.8); }
.footer__social { display: flex; gap: 18px; }
.footer__social a { color: var(--teal); font-weight: 600; font-size: .9rem; transition: color .25s; }
.footer__social a:hover { color: #fff; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h5 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; color: #7f9bb0; margin-bottom: 14px; }
.footer__cols a, .footer__cols p { display: block; font-size: .94rem; margin-bottom: 8px; color: rgba(185,205,219,.85); transition: color .25s; }
.footer__cols a:hover { color: var(--teal); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer__bottom span { color: #7f9bb0; font-size: .82rem; }
.footer__credit strong { color: var(--teal); }

/* ---------- whatsapp ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 200; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #25d366; box-shadow: 0 12px 30px -8px rgba(37,211,102,.7); animation: pulse 2.6s ease-in-out infinite; transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.1); }
@keyframes pulse { 0%,100% { box-shadow: 0 12px 30px -8px rgba(37,211,102,.7), 0 0 0 0 rgba(37,211,102,.5); } 50% { box-shadow: 0 12px 30px -8px rgba(37,211,102,.7), 0 0 0 14px rgba(37,211,102,0); } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =====================================================
   RESPONSIVO
   ===================================================== */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 54px; }
  .hero__media { max-width: 420px; margin: 0 auto; width: 100%; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .trust__item:nth-child(2)::after { display: none; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .steps__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner { grid-template-columns: 1fr; gap: 44px; }
  .about__media { max-width: 460px; }
  .reviews__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .faq__inner { grid-template-columns: 1fr; gap: 32px; }
  .cta__card { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav { position: fixed; top: 0; right: 0; left: auto; height: 100vh; height: 100dvh; overflow-y: auto; width: min(80vw, 320px); flex-direction: column; gap: 4px; padding: 96px 30px 40px; background: #fff; border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .4s var(--ease); z-index: 90; }
  .nav.is-open { transform: none; box-shadow: 0 0 0 100vmax rgba(0,0,0,.5), -30px 0 60px -20px rgba(15,46,70,.3); }
  .nav a { font-size: 1.2rem; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-toggle { display: flex; }
  .header__cta { display: none; }
  .topbar__item { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__phone { margin: 0; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .services__grid, .steps__grid, .trust__grid { grid-template-columns: 1fr; }
  .trust__item::after { display: none !important; }
  .hero__card--1 { left: 8px; }
  .hero__card--2 { right: 8px; }
  .hero__actions .btn, .cta__actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* menu mobile: botao X acima do painel */
.nav-toggle { position: relative; z-index: 95; }
