/* Identidade Dr. Ramon Luz (posts do Instagram): fundo verde-petróleo quase preto, brilho petróleo,
   turquesa só nas palavras-chave e nos botões. Tipografia: Poppins (como nos posts); Archivo condensada só na marca.
   Raios: imagens e blocos 8px, botões em pílula. Tema escuro na página inteira. */
:root {
  --bg: #081314;
  --bg-2: #0b1a1b;
  --surface: #0f2122;
  --surface-2: #132a2b;
  --petrol: #0c3839;
  --ink: #eef4f4;
  --muted: #9db3b2;
  --line: rgba(238, 244, 244, .1);
  --accent: #50c7c4;
  --accent-hover: #6fd6d3;
  --on-accent: #052120;
  --font: 'Poppins', system-ui, -apple-system, sans-serif;
  --brand: 'Archivo', 'Poppins', sans-serif;
  --wrap: min(1240px, 100% - 32px);
  --r: 8px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; background: var(--bg); }
body { background: var(--bg); color: var(--ink); font: 400 16px/1.7 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: var(--r); z-index: 50; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; line-height: 1.08; }
h1 em, h2 em, blockquote em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(32px, 4vw, 54px); }
h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.01em; }
.kicker { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 15px/1 var(--font); text-decoration: none; white-space: nowrap; transition: background-color .25s, border-color .25s, color .25s, transform .2s var(--ease); }
.btn:active { transform: scale(.97); }
.btn i { font-size: 20px; }
.btn--light { background: var(--accent); color: var(--on-accent); }
.btn--ghost { border: 1px solid rgba(238, 244, 244, .28); color: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn--lg { min-height: 60px; padding: 0 34px; font-size: 16px; }
@media (hover: hover) {
  .btn--light:hover { background: var(--accent-hover); }
  .btn--ghost:hover { border-color: var(--ink); }
}

/* Topo */
.top { position: fixed; inset: 0 0 auto; z-index: 20; transition: background-color .4s, border-color .4s; border-bottom: 1px solid transparent; }
.top.is-solid { background: rgba(8, 19, 20, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__r { width: 40px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text b { font-family: var(--brand); font-stretch: 72%; font-weight: 700; font-size: 20px; letter-spacing: .02em; text-transform: uppercase; }
.brand__text small { font-family: var(--brand); font-size: 9.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.top__nav { display: flex; gap: 30px; font-size: 14px; }
.top__nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.top__nav a:hover { color: var(--ink); }

/* Hero: foto à direita, brilho petróleo à esquerda (como o fundo dos posts) */
.hero { position: relative; background: radial-gradient(70% 90% at 15% 55%, var(--petrol), transparent 70%), var(--bg); min-height: clamp(640px, 100dvh, 940px); display: flex; align-items: center; overflow: hidden; }
.hero__media { position: absolute; inset: 0 0 0 40%; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 22%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 42%); mask-image: linear-gradient(90deg, transparent 0, #000 42%); }
.hero__media::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8, 19, 20, .7), transparent 22%, transparent 70%, var(--bg)); }
.hero__inner { position: relative; z-index: 2; padding: 120px 0 80px; }
.hero__copy { max-width: 820px; }
.hero__kicker { font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
h1 { font-size: clamp(38px, 4.4vw, 70px); font-weight: 600; line-height: 1.04; letter-spacing: -.03em; }
h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
h1 .line > span { display: block; }
.hero__sub { font-size: 18px; line-height: 1.6; color: #c4d4d3; max-width: 28em; margin: 26px 0 38px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Faixa de confiança */
.proof { background: var(--bg-2); border-block: 1px solid var(--line); padding: 0; }
.proof__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof__list li { padding: 28px 24px 28px 0; display: flex; flex-direction: column; gap: 2px; }
.proof__list li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.proof__list b { font-weight: 600; font-size: 24px; line-height: 1.2; }
.proof__list li:first-child b { color: var(--accent); }
.proof__list span { font-size: 14px; color: var(--muted); }

/* Resumo citável */
section { padding: 120px 0; }
.summary { padding: 110px 0 30px; }
.summary__lead { font-size: clamp(21px, 2.2vw, 30px); line-height: 1.5; font-weight: 300; color: var(--muted); max-width: 34em; }
.summary__lead strong { color: var(--ink); font-weight: 500; }

/* Tratamentos (bento: 7 tratamentos, 7 blocos) */
.treat__title { max-width: 14em; }
.treat__lead { color: var(--muted); font-size: 17px; max-width: 40em; margin: 22px 0 56px; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto); gap: 14px;
  grid-template-areas: "imp imp pro pro" "imp imp len cor" "cla bru cli cli"; }
.tile { position: relative; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); padding: 30px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; transition: transform .5s var(--ease), border-color .3s; }
.tile p { font-size: 15px; color: var(--muted); }
.tile--imp { grid-area: imp; justify-content: flex-end; min-height: 560px; border-color: transparent; }
.tile--imp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transition: transform 1.2s var(--ease); }
.tile--imp::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 19, 20, 0) 25%, rgba(8, 19, 20, .94) 80%); z-index: 1; }
.tile__body { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 12px; max-width: 34em; }
.tile--imp h3 { font-size: clamp(28px, 2.8vw, 38px); }
.tile--imp p { color: #c4d4d3; }
.tile--pro { grid-area: pro; background: radial-gradient(90% 120% at 100% 0%, #11504f, var(--petrol) 60%); border-color: transparent; }
.tile--pro h3 { font-size: 28px; }
.tile--pro p { color: #c4d4d3; }
.tile__for { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--accent) !important; font-size: 14px !important; }
.tile--len { grid-area: len; }
.tile--cor { grid-area: cor; }
.tile--cla { grid-area: cla; }
.tile--bru { grid-area: bru; }
.tile--cli { grid-area: cli; background: var(--surface-2); }
.tile__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; color: var(--accent); text-decoration: none; }
.tile__link i { transition: transform .3s var(--ease); }
@media (hover: hover) {
  .tile:hover { transform: translateY(-4px); border-color: rgba(80, 199, 196, .45); }
  .tile--imp:hover img { transform: scale(1.04); }
  .tile__link:hover i { transform: translateX(5px); }
}

/* Odontologia digital: bloco com brilho petróleo */
.digital { background: radial-gradient(60% 80% at 85% 50%, var(--petrol), transparent 70%), var(--bg-2); border-block: 1px solid var(--line); }
.digital__grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.digital__media video { width: 100%; aspect-ratio: 9 / 14; object-fit: cover; border-radius: var(--r); background: var(--surface); }
.digital__lead { color: var(--muted); font-size: 17px; margin: 24px 0 40px; max-width: 38em; }
.steps { counter-reset: s; display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.steps li { counter-increment: s; padding: 22px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: '0' counter(s); font-weight: 600; font-size: 26px; line-height: 1; color: var(--accent); margin-bottom: 10px; }
.steps b { font-weight: 600; font-size: 17px; }
.steps span { color: var(--muted); font-size: 15px; }
.reset { margin-top: 36px; padding: 20px 24px; border-left: 2px solid var(--accent); background: rgba(8, 19, 20, .5); border-radius: 0 var(--r) var(--r) 0; color: var(--muted); font-size: 15px; }
.reset b { color: var(--ink); }

/* Sobre */
.about__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__photo { position: relative; }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.namecard { position: absolute; left: 24px; bottom: 24px; background: rgba(8, 19, 20, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 22px; }
.namecard b { display: block; font-family: var(--brand); font-stretch: 72%; font-weight: 700; font-size: 24px; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; }
.namecard span { font-size: 13px; color: var(--muted); }
.about__copy h2 { margin-bottom: 28px; max-width: 13em; }
.about__copy > p { color: var(--muted); font-size: 17px; margin-bottom: 16px; max-width: 36em; }
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 34px; }
.creds li { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; font-size: 14px; }
.creds i { font-size: 22px; color: var(--accent); }

/* História */
.story { padding-top: 40px; }
.story__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.story__copy h2 { margin-bottom: 26px; max-width: 12em; }
.story__copy > p { color: var(--muted); font-size: 17px; max-width: 34em; }
.story__line { margin: 30px 0; padding-left: 22px; border-left: 2px solid var(--accent); font-size: 21px !important; font-weight: 300; line-height: 1.5; color: var(--ink) !important; }
.story__media video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--r); background: var(--surface); }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }

/* Equipe */
.team { padding-top: 0; }
.team__photo { position: relative; height: clamp(440px, 78vh, 780px); overflow: hidden; background: var(--surface); }
.team__photo img { width: 100%; height: 114%; object-fit: cover; object-position: 50% 20%; filter: saturate(.8); }
.team__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 19, 20, .2) 30%, rgba(8, 19, 20, .92)), linear-gradient(90deg, rgba(12, 56, 57, .45), transparent 60%); }
.team blockquote { position: absolute; left: max(16px, calc((100% - 1240px) / 2)); right: 16px; bottom: clamp(32px, 6vh, 64px); z-index: 1; font-weight: 600; letter-spacing: -.03em; font-size: clamp(40px, 6vw, 92px); line-height: 1.02; max-width: 10em; }
.team__copy { padding-top: 72px; display: grid; gap: 22px; }
.team__copy h2 { max-width: 13em; }
.team__copy p { color: var(--muted); font-size: 17px; max-width: 40em; }
.team__award { margin-top: 20px; display: inline-flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); font-size: 14px !important; color: var(--ink) !important; }
.team__award i { font-size: 20px; color: var(--accent); }

/* Primeira consulta: linha do tempo */
.first { background: var(--bg-2); border-block: 1px solid var(--line); }
.first h2 { max-width: 13em; margin-bottom: 64px; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.timeline::before { content: ''; position: absolute; top: 28px; left: 28px; right: 16%; height: 1px; background: linear-gradient(90deg, var(--accent), var(--line)); }
.timeline li { position: relative; }
.timeline__dot { width: 56px; height: 56px; border-radius: 50%; background: var(--petrol); border: 1px solid rgba(80, 199, 196, .5); color: var(--accent); display: grid; place-items: center; font-size: 24px; margin-bottom: 26px; position: relative; }
.timeline h3 { font-size: 22px; margin-bottom: 10px; }
.timeline p { color: var(--muted); font-size: 15px; max-width: 26em; }

/* Dúvidas */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__meta { margin-top: 24px; font-size: 13px; color: var(--muted); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-weight: 500; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.35; transition: color .2s; }
.faq__list summary:hover { color: var(--accent); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: '+'; font-weight: 300; font-size: 28px; line-height: 1; color: var(--accent); transition: transform .35s var(--ease); flex: none; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { color: var(--muted); padding: 0 48px 26px 0; max-width: 42em; }

/* Como chegar: card sobre o mapa */
.visit { position: relative; padding: 0; }
.map { height: 620px; background: var(--surface); }
.map iframe { width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(180deg) saturate(.4) brightness(.9); }
.visit__wrap { position: absolute; inset: 0; pointer-events: none; display: flex; align-items: center; }
.visit__card { pointer-events: auto; width: min(440px, 100%); background: rgba(8, 19, 20, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: var(--r); padding: 40px; box-shadow: 0 30px 70px rgba(0, 0, 0, .4); }
.visit__card h2 { font-size: clamp(28px, 2.6vw, 36px); margin-bottom: 22px; }
address { font-style: normal; font-size: 16px; line-height: 1.6; margin-bottom: 22px; color: var(--muted); }
address strong { color: var(--ink); font-weight: 500; }
.hours { border-collapse: collapse; width: 100%; font-size: 15px; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; color: var(--muted); }
.hours td { text-align: right; font-weight: 500; color: var(--ink); }
.visit__note { font-size: 14px; color: var(--muted); margin: 12px 0 22px; }
.areas { margin-top: 22px; font-size: 13px; color: var(--muted); }

/* Rodapé com chamada final */
.foot { background: radial-gradient(60% 70% at 20% 0%, var(--petrol), transparent 70%), #050d0e; color: var(--muted); padding: 130px 0 110px; font-size: 14px; border-top: 1px solid var(--line); }
.foot__cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 90px; border-bottom: 1px solid var(--line); }
.foot__cta h2 { color: var(--ink); font-size: clamp(38px, 5.4vw, 80px); line-height: 1.04; letter-spacing: -.03em; max-width: 11em; }
.foot__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-top: 56px; }
.foot__logo { width: 190px; height: auto; }
.foot p + p { margin-top: 10px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--accent); }
.foot__muted { opacity: .75; }
.foot__legal { margin-top: 48px; font-size: 12px; opacity: .7; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 28px; text-decoration: none; box-shadow: 0 12px 30px rgba(0, 0, 0, .4); transition: transform .2s var(--ease); }
.wa-float:active { transform: scale(.94); }

/* Pendências (abrir com ?pend) */
.show-pend .pend { outline: 2px dashed #e0a100; outline-offset: 2px; background: rgba(255, 196, 0, .2); }

/* Movimento: entrada do hero, revelação ao rolar, parallax leve da equipe */
@media (prefers-reduced-motion: no-preference) {
  .js h1 .line > span { transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
  .js h1 .line:nth-child(2) > span { animation-delay: .12s; }
  .js .hero__kicker, .js .hero__sub, .js .hero__ctas { opacity: 0; animation: fade .9s var(--ease) forwards; }
  .js .hero__kicker { animation-delay: .05s; }
  .js .hero__sub { animation-delay: .35s; }
  .js .hero__ctas { animation-delay: .5s; }
  .js .hero__img { animation: settle 1.8s var(--ease) both; }
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  @supports (animation-timeline: view()) {
    .team__photo img { animation: drift linear both; animation-timeline: view(); }
  }
}
@keyframes rise { to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translateY(-10%); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Responsivo */
@media (min-width: 901px) {
  h1 .line { white-space: nowrap; }
  /* Desktop: a foto começa abaixo do menu, então a cabeça não fica cortada nem escurecida */
  .hero__media { top: 76px; }
  .hero__img { object-position: 60% 0%; }
  .hero__media::before { background: linear-gradient(180deg, var(--bg), transparent 9%, transparent 75%, var(--bg)); }
}
@media (max-width: 1080px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "imp imp" "pro pro" "len cor" "cla bru" "cli cli"; }
  .tile--imp { min-height: 480px; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .top__nav { display: none; }
  section { padding: 84px 0; }
  .hero { display: block; min-height: 0; }
  .hero__media { position: relative; inset: auto; height: 62svh; min-height: 400px; }
  .hero__img { -webkit-mask-image: none; mask-image: none; object-position: 62% 15%; }
  .hero__media::before { background: linear-gradient(180deg, rgba(8, 19, 20, .6), transparent 22%, transparent 45%, rgba(8, 19, 20, .85) 80%, var(--bg)); }
  .hero__inner { margin-top: -80px; padding: 0 0 48px; }
  .hero__kicker { font-size: 11px; letter-spacing: .18em; margin-bottom: 16px; }
  .proof__list { grid-template-columns: 1fr 1fr; }
  .proof__list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .proof__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .digital__grid, .about__grid, .story__grid, .faq__grid, .foot__grid { grid-template-columns: 1fr; }
  .digital__media { max-width: 420px; }
  .about__photo { max-width: 480px; }
  .faq__head { position: static; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { top: 28px; bottom: 28px; left: 28px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--accent), var(--line)); }
  .timeline li { display: grid; grid-template-columns: 56px 1fr; column-gap: 22px; padding-bottom: 34px; }
  .timeline__dot { grid-row: span 2; margin: 0; }
  .map { height: 380px; }
  .visit__wrap { position: static; display: block; }
  .visit__card { width: 100%; margin-top: -60px; position: relative; padding: 30px 24px; }
  .visit { padding-bottom: 84px; }
  .foot { padding-top: 90px; }
  .foot__cta { padding-bottom: 60px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "imp" "pro" "len" "cor" "cla" "bru" "cli"; grid-auto-rows: auto; }
  .tile { padding: 26px 22px; }
  .tile--imp { min-height: 520px; }
  .creds { grid-template-columns: 1fr; }
  .brand__text small { display: none; }
  .brand__text b { font-size: 18px; white-space: nowrap; }
  .brand__r { width: 34px; }
  .top .btn--sm { padding: 0 16px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__sub { font-size: 16px; }
  .proof__list b { font-size: 20px; }
}
