/* =====================================================
   Dr. Francisco Furtado
   Sistema de medidas e componentes portado dos templates do projeto
   (container, seções de 92px, títulos 34-48px, cartões arredondados, pílulas)
   Cores: identidade do Instagram dele (azul-marinho, cinzas, branco)
   ===================================================== */
:root {
  --navy: #030a2a;
  --deep: #050c24;
  --navy-2: #0d1236;
  --azul: #d2d3d9;          /* destaque (cinza claro) sobre fundo escuro */
  --azul-2: #4d4e55;        /* destaque (cinza escuro) sobre fundo claro */
  --grafite-1: #606166;
  --grafite-2: #303135;
  --prata-1: #f5f5f7;
  --prata-2: #cfd0d4;
  --wa: #25d366;
  --wa-2: #1ebe5a;
  --fundo: #f2f2f4;
  --suave: #e6e6ea;
  --branco: #fff;
  --texto: #12142a;
  --muted: #55575f;
  --borda: rgba(255, 255, 255, .24);
  --sombra: 0 24px 70px rgba(3, 10, 42, .14);
  --sombra-2: 0 18px 45px rgba(3, 10, 42, .22);

  --font: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;
  --box: max(20px, calc((100vw - 1200px) / 2));   /* margem lateral única: cresce em monitor grande */
  --header-h: 82px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); background: var(--fundo); color: var(--texto); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
li { list-style: none; }
h1, h2, h3 { font-family: var(--font); line-height: 1.1; }
h2 { font-size: clamp(34px, 4vw, 48px); font-weight: 700; letter-spacing: -.02em; color: var(--navy); }
h2 .hl { color: #6b6c74; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 12px; background: #fff; color: var(--navy); padding: 10px 14px; border-radius: 999px; z-index: 9999; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid rgba(180, 181, 188, .95); outline-offset: 3px; }
::selection { background: rgba(180, 181, 188, .6); color: var(--navy); }

.container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
section { padding: 92px 0; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--azul-2); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--azul-2); }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 999px; padding: 15px 26px; font: 800 14px/1.2 var(--font); white-space: nowrap; cursor: pointer; transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease, color .3s ease; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--wa); color: #05260f; box-shadow: none; }
.btn-primary:hover { background: var(--wa-2); }
.btn-dark { background: var(--navy); color: #fff; box-shadow: none; }
.btn-dark:hover { background: var(--navy-2); }
.btn-white { background: #fff; color: var(--navy); box-shadow: none; }
.btn-outline { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .08); }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-lg { padding: 17px 34px; font-size: 15px; }
.link-light { font-weight: 800; color: #fff; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.link-light:hover { color: var(--azul); }

/* ---------- cabeçalho ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.header.is-solid, .header.is-open { background: rgba(3, 10, 42, .96); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.header__inner { height: var(--header-h); padding-inline: var(--box); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: block; font-weight: 800; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 34px; font-size: 14px; color: #fff; }
.nav a:not(.btn) { position: relative; font-weight: 500; opacity: .85; transition: opacity .2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 2px; background: var(--azul); transition: width .3s; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav .btn { padding: 12px 22px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 14px; background: rgba(255, 255, 255, .08); position: relative; cursor: pointer; padding: 0; color: #fff; }
.nav-toggle__bar { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 99px; background: currentColor; transition: transform .3s, top .3s; }
.nav-toggle__bar:nth-child(1) { top: 16px; } .nav-toggle__bar:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- topo da Home: ele em tela cheia (aprovado) ---------- */
.hero { position: relative; min-height: max(100svh, 680px); display: flex; align-items: center; overflow: hidden; padding: 0; background: linear-gradient(100deg, var(--navy) 0%, #0a0c1a 46%, #0d0d0d 100%); }
.hero__photo { position: absolute; top: 0; bottom: 0; right: calc(var(--box) + clamp(0px, 4vw, 60px)); display: flex; align-items: flex-end; }
.hero__photo img { height: 100%; width: auto; max-width: none; object-fit: contain; object-position: bottom;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 88%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 22%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 88%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 22%); mask-composite: intersect;
  animation: heroIn 2.4s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes heroIn { from { transform: scale(1.05); opacity: .2; } to { transform: scale(1); opacity: 1; } }
.hero__inner { position: relative; z-index: 2; width: 100%; padding: calc(var(--header-h) + 24px) var(--box) 72px; color: #fff; }
.hero__title { font-size: clamp(1.7rem, 4.6vw, 4.4rem); line-height: 1.06; letter-spacing: -.01em; font-weight: 700; color: #fff; }
.hero__light { display: block; font-weight: 400; margin-bottom: .12em; }
.hero__lead { margin-top: 28px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 34ch; color: rgba(255, 255, 255, .9); }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; }
.hero__crm { margin-top: 44px; font-size: .95rem; color: rgba(255, 255, 255, .8); letter-spacing: .06em; }

/* ---------- cabeçalho das páginas internas ---------- */
.page-head { padding: calc(var(--header-h) + 64px) 0 70px; text-align: center; color: #fff; background: radial-gradient(circle at 85% 18%, rgba(255, 255, 255, .08), transparent 34%), linear-gradient(165deg, #0a1030 0%, var(--navy) 100%); }
.page-head .eyebrow { display: flex; justify-content: center; color: var(--azul); }
.page-head .eyebrow::before { background: var(--azul); }
.page-head h1 { font-weight: 700; color: #fff; letter-spacing: -.03em; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; max-width: 20ch; margin-inline: auto; }
.page-head p { color: rgba(255, 255, 255, .82); margin: 14px auto 0; max-width: 640px; font-size: 17px; }

/* ---------- sobre: foto com cartão de vidro + texto ---------- */
.about-grid { display: grid; grid-template-columns: .88fr 1fr; gap: 72px; align-items: center; }
.about-grid--rev { grid-template-columns: 1fr .88fr; }
.about-grid--rev .about-photo { order: 2; }
.about-photo { position: relative; border-radius: 32px; overflow: hidden; box-shadow: var(--sombra); }
.about-photo img { width: 100%; height: 620px; object-fit: cover; object-position: 50% 22%; }
.about-photo--short img { height: 480px; }
.about-card { position: absolute; left: 24px; right: 24px; bottom: 24px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .7); border-radius: 22px; padding: 18px 20px; box-shadow: 0 15px 35px rgba(0, 0, 0, .12); }
.about-card strong { display: block; font-size: 24px; color: var(--navy); line-height: 1.2; }
.about-card span { font-size: 15px; color: var(--muted); }
.about-text p { margin: 18px 0 26px; color: var(--muted); }
.features { display: grid; gap: 18px; margin: 28px 0 32px; }
.feature { display: grid; grid-template-columns: 48px 1fr; gap: 15px; align-items: start; }
.outline-icon { width: 48px; height: 48px; border: 1px solid var(--azul-2); border-radius: 999px; display: grid; place-items: center; color: var(--azul-2); background: #fff; flex: none; }
.outline-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 18px; margin-bottom: 3px; color: var(--navy); }
.feature p { margin: 0; font-size: 14px; }

/* ---------- seção escura: cartões de tratamentos ---------- */
.dark { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 90% 20%, rgba(255, 255, 255, .07), transparent 28%), linear-gradient(165deg, #0a1030 0%, var(--deep) 100%); }
.dark h2 { color: #fff; text-align: center; }
.dark h2 .hl { color: #aeb0b8; }
.dark .eyebrow { display: flex; justify-content: center; color: var(--azul); }
.dark .eyebrow::before { background: var(--azul); }
.dark .section-subtitle-center { color: rgba(255, 255, 255, .78); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; }
.service { display: block; min-height: 245px; border: 1px solid rgba(255, 255, 255, .26); border-radius: 20px; padding: 28px; background: linear-gradient(145deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); transition: transform .3s, background .3s, border-color .3s; }
.service:hover { background: linear-gradient(145deg, var(--grafite-1), var(--grafite-2)); transform: translateY(-6px); border-color: rgba(255, 255, 255, .5); }
.service .outline-icon { background: transparent; color: var(--azul); border-color: var(--azul); margin-bottom: 22px; }
.service:hover .outline-icon { color: #fff; border-color: rgba(255, 255, 255, .65); }
.service h3 { font-size: 22px; margin-bottom: 12px; color: #fff; }
.service p { font-size: 14px; color: rgba(255, 255, 255, .82); }

/* ---------- diferenciais numerados ---------- */
.section-title-center { text-align: center; max-width: 760px; margin: 0 auto 12px; }
.section-title-center .eyebrow { justify-content: center; display: flex; }
.section-subtitle-center { text-align: center; max-width: 680px; margin: 0 auto 36px; color: var(--muted); }
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.diff { background: #fff; border: 1px solid rgba(3, 10, 42, .09); border-radius: 18px; padding: 28px; box-shadow: 0 12px 30px rgba(3, 10, 42, .06); transition: transform .35s, box-shadow .35s, border-color .35s; }
.diff:hover { transform: translateY(-7px); box-shadow: 0 28px 70px rgba(3, 10, 42, .16); border-color: rgba(77, 78, 85, .5); }
.diff-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.diff-number { font-size: 42px; font-weight: 600; color: var(--azul-2); line-height: 1; }
.diff h3 { font-size: 19px; margin-bottom: 10px; color: var(--navy); }
.diff p { font-size: 14px; color: var(--muted); }
.diff__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-bottom: 20px; }

/* ---------- resultados (antes e depois) ---------- */
.results { position: relative; color: #fff; background: linear-gradient(165deg, var(--grafite-1) 0%, var(--grafite-2) 100%); }
.results h2 { color: #fff; text-align: center; max-width: 880px; margin: 0 auto 14px; font-size: clamp(30px, 3.6vw, 44px); }
.results h2 .hl { color: #c6c7cd; }
.results .section-subtitle-center { color: rgba(255, 255, 255, .8); }
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ba-grid--one { grid-template-columns: minmax(0, 460px); justify-content: center; }
.ba-item { display: flex; flex-direction: column; gap: 14px; }
.ba { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 28px; background: var(--navy-2); --pos: 50%; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); }
.ba__layer { position: absolute; inset: 0; }
.ba__layer img { width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--navy); pointer-events: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .6); }
.ba__handle { position: absolute; top: 50%; left: var(--pos); width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; pointer-events: none; border: 2px solid #fff; }
.ba__handle svg { width: 20px; height: 20px; }
.ba__tag { position: absolute; bottom: 16px; padding: 9px 18px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; pointer-events: none; }
.ba__tag--l { left: 16px; } .ba__tag--r { right: 16px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba:has(.ba__range:focus-visible) { outline: 3px solid var(--azul); outline-offset: 3px; }
.ba__cap { text-align: center; color: rgba(255, 255, 255, .85); font-weight: 600; }
.note { margin: 34px auto 0; max-width: 760px; text-align: center; font-size: 14px; color: rgba(255, 255, 255, .72); }
.center-btn { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- cartões brancos empilhados (causas e atendimento) ---------- */
.curriculo-wrap { padding: 92px 0; background: radial-gradient(circle at 88% 30%, rgba(255, 255, 255, .07), transparent 28%), linear-gradient(165deg, #0a1030 0%, var(--deep) 100%); }
.stacked-cards { width: min(900px, calc(100% - 40px)); margin: 0 auto; display: grid; gap: 34px; }
.info-card { background: #fff; border-radius: 28px; padding: 40px 48px; box-shadow: var(--sombra-2); border: 1px solid rgba(255, 255, 255, .7); }
.info-title { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.info-title h2 { font-size: clamp(28px, 3.2vw, 42px); color: var(--navy); }
.info-lead { color: var(--muted); margin-bottom: 26px; max-width: 60ch; }
.curriculo-list { display: grid; gap: 18px; }
.curriculo-list li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; color: var(--muted); font-size: 15px; }
.curriculo-list svg { width: 18px; height: 18px; stroke: var(--azul-2); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 3px; }
.curriculo-list strong { color: var(--navy); }
.attendance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.attendance-item { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: start; border-radius: 18px; padding: 22px; min-height: 150px; background: var(--suave); transition: transform .35s, box-shadow .35s; }
.attendance-item:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(3, 10, 42, .14); }
.attendance-item.accent { background: linear-gradient(145deg, var(--grafite-1), var(--grafite-2)); color: #fff; }
.attendance-item .mini-icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--azul-2); box-shadow: 0 8px 20px rgba(3, 10, 42, .1); }
.attendance-item.accent .mini-icon { background: rgba(255, 255, 255, .22); color: #fff; }
.attendance-item svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.attendance-item h3 { font-size: 17px; margin-bottom: 6px; color: inherit; }
.attendance-item p { font-size: 13px; line-height: 1.55; opacity: .9; }

/* ---------- tratamentos: blocos alternados ---------- */
.treat { background: linear-gradient(165deg, var(--prata-1) 0%, var(--prata-2) 100%); }
.treat--alt { background: linear-gradient(165deg, #ffffff 0%, #e4e4e8 100%); }
.treat .about-text p { max-width: 52ch; }

/* ---------- dúvidas ---------- */
.faq { max-width: 880px; margin: 0 auto; display: grid; gap: 16px; }
.faq details { background: #fff; border: 1px solid rgba(3, 10, 42, .09); border-radius: 20px; box-shadow: 0 12px 30px rgba(3, 10, 42, .06); transition: box-shadow .3s; }
.faq details[open] { box-shadow: 0 20px 50px rgba(3, 10, 42, .12); border-color: rgba(77, 78, 85, .45); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 64px 24px 28px; font-weight: 700; font-size: 18px; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 28px; top: 50%; width: 11px; height: 11px; margin-top: -8px; border-right: 2.5px solid var(--azul-2); border-bottom: 2.5px solid var(--azul-2); transform: rotate(45deg); transition: transform .25s, margin-top .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { padding: 0 28px 26px; color: var(--muted); max-width: 70ch; }

/* ---------- faixa de chamada ---------- */
.cta { padding: 64px 0; color: #fff; background: linear-gradient(135deg, var(--grafite-1) 0%, var(--grafite-2) 100%); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta h2 { color: #fff; font-size: clamp(30px, 3vw, 44px); }
.cta p { max-width: 590px; color: rgba(255, 255, 255, .9); margin-top: 10px; }
.cta .btn { padding-inline: 40px; }

/* ---------- contato ---------- */
.contact { background: linear-gradient(165deg, #ffffff 0%, #dedfe3 100%); padding: 90px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 80px; align-items: center; }
.contact .lead { color: var(--muted); margin-top: 16px; max-width: 52ch; }
.contact-list { display: grid; gap: 18px; margin-top: 28px; }
.contact-list a, .contact-list div { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 14px; color: #3c4256; transition: transform .3s; }
.contact-list a:hover { transform: translateX(5px); }
.contact-list .ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--suave); color: var(--azul-2); }
.contact-list .ico svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-list strong { display: block; color: var(--navy); }
.contact .btn { margin-top: 30px; }
.phone { width: 310px; height: 610px; margin: 0 auto 50px; background: #101010; border-radius: 42px; padding: 14px; box-shadow: 0 35px 70px rgba(3, 10, 42, .22); position: relative; }
.phone::before { content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 98px; height: 24px; border-radius: 0 0 18px 18px; background: #101010; z-index: 4; }
.phone-screen { height: 100%; border-radius: 31px; overflow: hidden; background: #efeae2; display: flex; flex-direction: column; }
.chat-top { background: #0f5b36; color: #fff; padding: 34px 14px 12px; display: flex; align-items: center; gap: 10px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.chat-name strong { display: block; font-size: 14px; line-height: 1.1; }
.chat-name span { font-size: 11px; opacity: .82; }
.chat-body { padding: 16px 11px; display: flex; flex-direction: column; gap: 10px; font-size: 12px; line-height: 1.45; color: #1c1c1c; }
.bubble { max-width: 82%; padding: 10px 12px; border-radius: 15px; box-shadow: 0 3px 8px rgba(0, 0, 0, .05); }
.bubble.patient { align-self: flex-end; background: #d9fdd3; border-bottom-right-radius: 4px; }
.bubble.doctor { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.chat-time { display: block; text-align: right; font-size: 9px; opacity: .55; margin-top: 4px; }
.chat-input { margin-top: auto; padding: 10px; display: flex; gap: 7px; align-items: center; }
.fake-input { background: #fff; border-radius: 999px; flex: 1; padding: 10px 12px; color: #888; font-size: 11px; }
.send { width: 34px; height: 34px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; }
.send svg { width: 16px; height: 16px; }

/* ---------- rodapé ---------- */
.footer { background: #070b1f; color: #fff; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-name { font-weight: 800; font-size: 22px; letter-spacing: .12em; text-transform: uppercase; }
.footer p { color: rgba(255, 255, 255, .72); font-size: 14px; margin-top: 14px; max-width: 34ch; }
.footer h3 { font-size: 17px; margin-bottom: 14px; color: #fff; }
.footer li { margin-bottom: 8px; font-size: 14px; }
.footer li a { color: rgba(255, 255, 255, .85); transition: color .2s; }
.footer li a:hover { color: var(--azul); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: 13px; color: rgba(255, 255, 255, .6); text-align: center; }
.footer-bottom span { display: block; margin-top: 4px; }

.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 66px; height: 66px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); animation: pulse 1.8s ease-in-out infinite; }
.wa-float svg { width: 34px; height: 34px; }
.wa-float::after { content: ""; position: absolute; right: 8px; top: 7px; width: 13px; height: 13px; border-radius: 50%; background: #ff4d4d; border: 2px solid #fff; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }

/* ---------- entrada ao rolar ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .phone .bubble { opacity: 0; transform: translateY(12px) scale(.96); }
.js .phone.is-visible .bubble { animation: bubbleIn .55s ease forwards; }
.js .phone.is-visible .bubble:nth-child(1) { animation-delay: .25s; }
.js .phone.is-visible .bubble:nth-child(2) { animation-delay: .5s; }
.js .phone.is-visible .bubble:nth-child(3) { animation-delay: .75s; }
.js .phone.is-visible .bubble:nth-child(4) { animation-delay: 1s; }
@keyframes bubbleIn { to { opacity: 1; transform: none; } }

/* ---------- responsivo ---------- */
@media (max-width: 980px) {
  .about-grid, .about-grid--rev, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .about-grid--rev .about-photo { order: 0; }
  .about-photo img, .about-photo--short img { height: auto; aspect-ratio: 4 / 4.4; }
  .service-grid, .diff-grid { grid-template-columns: 1fr 1fr; }
  .ba-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .cta-inner { display: block; }
  .cta .btn { margin-top: 25px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-toggle { display: block; }
  .nav { position: absolute; top: calc(var(--header-h) - 6px); left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px; border-radius: 22px; background: rgba(3, 10, 42, .98); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 24px 70px rgba(0, 0, 0, .35); }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px; border-radius: 14px; opacity: 1; font-size: 15px; }
  .nav a:not(.btn)::after { display: none; }
  .nav a:not(.btn):hover, .nav a[aria-current="page"] { background: rgba(143, 176, 255, .14); }
  .nav .btn { margin-top: 8px; }

  .hero { display: block; min-height: 0; }
  .hero__photo { position: relative; inset: auto; right: auto; width: 100%; margin-top: var(--header-h); justify-content: center; }
  .hero__photo img { height: auto; width: min(100%, 520px); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 70%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 70%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%); }
  .hero__inner { padding-top: 0; margin-top: -72px; padding-bottom: 64px; }
  .hero__actions .btn { width: 100%; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1200px); }
  section { padding: 70px 0; }
  .service-grid, .diff-grid, .attendance-grid, .footer-grid { grid-template-columns: 1fr; }
  .info-card { padding: 30px 22px; border-radius: 24px; }
  .stacked-cards { width: min(100% - 28px, 900px); }
  .phone { width: 286px; height: 565px; margin-bottom: 30px; }
  .wa-float { width: 58px; height: 58px; right: 17px; bottom: 17px; }
  .wa-float svg { width: 30px; height: 30px; }
  .brand { font-size: 13px; letter-spacing: .12em; }
  .btn { padding: 13px 20px; font-size: 13px; }
  .cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .phone .bubble { opacity: 1; transform: none; }
}

/* enquadramento das fotos dos tratamentos */
#queda .about-photo img { object-position: 50% 88%; }
#fue .about-photo img { object-position: 50% 45%; }
#calvicie .about-photo img { object-position: 50% 40%; }
#tricologia .about-photo img { object-position: 50% 35%; }


/* seções claras: degradê de cinza claro a cinza médio */
main > section:not([class]) { background: linear-gradient(165deg, var(--prata-1) 0%, var(--prata-2) 100%); }
.about-photo, .diff, .attendance-item, .faq details { box-shadow: 0 14px 34px rgba(3, 10, 42, .12); }
.diff, .faq details { background: #fff; }
.attendance-item { background: #ececef; }


/* fundo azul-marinho dele com uma foto apagada por trás (cinza, tingida de azul-marinho) */
.bg-photo { position: relative; overflow: hidden; isolation: isolate; }
.bg-photo::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bg) center / cover no-repeat; filter: grayscale(1) contrast(1.05); opacity: .3; }
.bg-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 10, 42, .78) 0%, rgba(3, 10, 42, .92) 100%); }
.page-head.bg-photo::before { background-position: center 25%; }


/* =====================================================
   Quebras de seção em onda (sem linha reta): a cor da seção anterior desce em curva
   ===================================================== */
:root { --wave-h: clamp(40px, 6.5vw, 96px); }
.wave { position: absolute; top: -1px; left: 0; width: 100%; height: var(--wave-h); z-index: 2; pointer-events: none; display: block; }
main > section:not(.hero):not(.page-head) { position: relative; padding-top: calc(92px + var(--wave-h) * .55); }
main > section.cta:not(.hero) { padding-top: calc(64px + var(--wave-h) * .55); }
main > section.contact:not(.hero) { padding-top: calc(90px + var(--wave-h) * .55); }
.footer { position: relative; padding-top: calc(64px + var(--wave-h) * .55); }


/* degradês na vertical: a base de cada seção tem uma cor só, igual à da onda seguinte */
main > section:not([class]) { background: linear-gradient(180deg, var(--prata-1) 0%, var(--prata-2) 100%); }
.treat { background: linear-gradient(180deg, var(--prata-1) 0%, var(--prata-2) 100%); }
.treat--alt { background: linear-gradient(180deg, #ffffff 0%, #e4e4e8 100%); }
.contact { background: linear-gradient(180deg, #ffffff 0%, #dedfe3 100%); }
.results, .cta { background: linear-gradient(180deg, var(--grafite-1) 0%, var(--grafite-2) 100%); }
.dark, .curriculo-wrap { background: radial-gradient(circle at 90% 20%, rgba(255, 255, 255, .07), transparent 28%), linear-gradient(180deg, #0a1030 0%, #050c24 100%); }


/* =====================================================
   Topo da Home: banner em tela cheia (foto dele à direita, texto no espaço azul à esquerda)
   ===================================================== */
.hero { background: #000423; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 38%; z-index: 0; animation: heroIn 2.4s cubic-bezier(.2, .7, .2, 1) both; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0, 4, 35, .88) 0%, rgba(0, 4, 35, .6) 34%, rgba(0, 4, 35, 0) 62%); pointer-events: none; }
.hero__inner { position: relative; z-index: 2; }
.hero__curve { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(50px, 7vw, 100px); z-index: 3; display: block; pointer-events: none; }
.hero + section { padding-top: 92px; }
.hero { padding-bottom: 0; }
.hero__inner { padding-bottom: calc(72px + clamp(30px, 4.5vw, 70px)); }

@media (max-width: 980px) {
  .hero { display: block; min-height: 0; }
  .hero__bg { position: relative; inset: auto; display: block; width: 100%; height: min(62vw, 420px); margin-top: var(--header-h); object-position: 80% 40%; animation: none;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
  .hero::before { display: none; }
  .hero__inner { padding-top: 0; margin-top: -40px; padding-bottom: calc(56px + 60px); }
  .hero__actions .btn { width: 100%; }
}

/* =====================================================
   Botões: cinza em fundo escuro, azul-marinho em fundo claro (sem verde)
   ===================================================== */
.btn-primary { background: linear-gradient(180deg, #e9eaee 0%, #bcbdc4 100%); color: var(--navy); box-shadow: none; }
.btn-primary:hover { background: linear-gradient(180deg, #ffffff 0%, #d3d4da 100%); }
.btn-primary svg { color: var(--navy); }
main > section:not([class]) .btn-primary, .treat .btn-primary, .contact .btn-primary, .info-card .btn-primary { background: var(--navy); color: #fff; }
main > section:not([class]) .btn-primary:hover, .treat .btn-primary:hover, .contact .btn-primary:hover, .info-card .btn-primary:hover { background: var(--navy-2); }
main > section:not([class]) .btn-primary svg, .treat .btn-primary svg, .contact .btn-primary svg, .info-card .btn-primary svg { color: #fff; }


/* ondas mais suaves */
:root { --wave-h: clamp(32px, 5vw, 76px); }

/* faixa final e rodapé com as informações centralizadas */
.cta-inner { flex-direction: column; justify-content: center; text-align: center; gap: 26px; }
.cta h2 { max-width: none; }
.cta p { margin-inline: auto; }
.cta .btn { margin-top: 0; }
.footer-grid { text-align: center; justify-items: center; }
.footer p { margin-inline: auto; }
.footer-bottom { text-align: center; }
@media (max-width: 980px) { .cta-inner { display: flex; } .cta .btn { margin-top: 0; } }

/* comparadores em 3:4, enquadramento de rosto */
.ba { aspect-ratio: 3 / 4; }
.ba__layer img { object-position: 50% 30%; }


/* resultados: fundo cinza claro; diferenciais: cinza mais escuro */
.results--light { background: linear-gradient(180deg, var(--prata-1) 0%, var(--prata-2) 100%); color: var(--texto); }
.results--light h2 { color: var(--navy); }
.results--light h2 .hl { color: #6b6c74; }
.results--light .section-subtitle-center { color: var(--muted); }
.results--light .ba__cap { color: #3a3c44; }
.results--light .note { color: #55575f; }
.results--light .btn-primary { background: var(--navy); color: #fff; }
.results--light .btn-primary:hover { background: var(--navy-2); }
.results--light .btn-primary svg { color: #fff; }

.graphite { background: linear-gradient(180deg, var(--grafite-1) 0%, var(--grafite-2) 100%); color: #fff; }
.graphite h2 { color: #fff; }
.graphite h2 .hl { color: #c6c7cd; }
.graphite .eyebrow { color: var(--azul); }
.graphite .eyebrow::before { background: var(--azul); }
.graphite .section-subtitle-center { color: rgba(255, 255, 255, .84); }


/* diferenciais: fundo branco, cartões em cinza muito claro */
.plain-white { background: linear-gradient(180deg, #ffffff 0%, #f1f1f4 100%); color: var(--texto); }
.plain-white h2 { color: var(--navy); }
.plain-white h2 .hl { color: #6b6c74; }
.plain-white .eyebrow { color: var(--azul-2); }
.plain-white .eyebrow::before { background: var(--azul-2); }
.plain-white .section-subtitle-center { color: var(--muted); }
.plain-white .diff { background: #f3f3f6; border: 1px solid rgba(3, 10, 42, .08); box-shadow: 0 14px 34px rgba(3, 10, 42, .10); }
.plain-white .diff:hover { box-shadow: 0 24px 50px rgba(3, 10, 42, .16); }
.plain-white .outline-icon { background: #fff; }

.quote { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; font-weight: 600; color: var(--navy); margin: 6px 0 18px; max-width: 34ch; }


/* =====================================================
   Texto do topo: nome, frase principal, botão e pontos de confiança
   ===================================================== */
.hero__name { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .86); margin-bottom: 22px; }
.hero__name::before { content: ""; width: 34px; height: 2px; background: rgba(255, 255, 255, .6); }
.hero__title { font-size: clamp(1.45rem, 3.4vw, 3.5rem); line-height: 1.12; letter-spacing: -.015em; max-width: 20ch; }
.hero__light { margin-bottom: .1em; }
.hero__lead { margin-top: 24px; max-width: 36ch; }
.hero__actions { margin-top: 32px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .18); max-width: 620px; }
.hero__proof li { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .9); }
.hero__ico { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); display: grid; place-items: center; flex: none; }
.hero__ico svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (prefers-reduced-motion: no-preference) {
  .hero__inner > * { animation: heroUp .8s ease both; }
  .hero__title { animation-delay: .12s; } .hero__lead { animation-delay: .24s; }
  .hero__actions { animation-delay: .36s; } .hero__proof { animation-delay: .5s; }
  @keyframes heroUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 980px) {
  .hero__proof { margin-top: 32px; padding-top: 22px; }
}

/* topo: a frase principal em uma linha e os três pontos de confiança juntos */
.hero__title { max-width: none; font-size: clamp(1.3rem, 3.4vw, 3.5rem); }
.hero__proof { max-width: 780px; gap: 14px 26px; }
@media (max-width: 640px) { .hero__proof li { font-size: 13.5px; } }


/* =====================================================
   Causas da queda (cartões) e preparação da consulta
   ===================================================== */
.cause-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.cause { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: 22px; padding: 30px; transition: transform .35s, background .35s, border-color .35s; }
.cause:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .34); }
.cause .outline-icon { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; margin-bottom: 20px; }
.cause h3 { font-size: 20px; margin-bottom: 10px; color: #fff; }
.cause p { font-size: 15px; color: rgba(255, 255, 255, .8); }
.cause--cta { background: linear-gradient(145deg, var(--grafite-1), var(--grafite-2)); border-color: rgba(255, 255, 255, .2); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.cause--cta .btn { align-self: flex-start; margin-top: 10px; }

.graphite .feature h3 { color: #fff; }
.graphite .feature p { color: rgba(255, 255, 255, .82); }
.graphite .outline-icon { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.graphite .about-text > p { color: rgba(255, 255, 255, .86); }
.graphite .about-photo { box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.prep .about-photo img { object-position: 60% 20%; }

@media (max-width: 980px) { .cause-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cause-grid { grid-template-columns: 1fr; } .cause { padding: 24px; } }


/* =====================================================
   Cartões e tags flutuantes: saem da borda da foto e se movem devagar
   ===================================================== */
.about-photo { overflow: visible; border-radius: 0; box-shadow: none; }
.about-photo img { border-radius: 32px; box-shadow: var(--sombra); }
.about-card { left: auto; right: -34px; bottom: 36px; width: min(88%, 360px); z-index: 3; box-shadow: 0 22px 50px rgba(3, 10, 42, .28); animation: floaty 5.5s ease-in-out infinite; }
.float-tag { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--navy); font-weight: 700; font-size: 13.5px; line-height: 1.2; white-space: nowrap; box-shadow: 0 14px 34px rgba(3, 10, 42, .24); animation: floaty 6.5s ease-in-out infinite; }
.float-tag svg { width: 16px; height: 16px; stroke: var(--navy); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.float-tag--a { top: 38px; left: -30px; animation-delay: -1.5s; }
.float-tag--b { top: 44%; right: -30px; animation-delay: -3.5s; animation-duration: 7.5s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

@media (max-width: 980px) {
  .about-card { right: 14px; width: calc(100% - 28px); max-width: 360px; }
  .float-tag--a { left: 12px; top: 18px; }
  .float-tag--b { right: 12px; top: 18px; }
}
@media (max-width: 640px) {
  .float-tag { font-size: 12.5px; padding: 8px 13px; }
  .float-tag--b { top: 60px; }
}


/* faixa final em branco: título azul-marinho, texto cinza escuro, botão azul-marinho */
.cta { background: linear-gradient(180deg, #ffffff 0%, #eeeef1 100%); color: var(--texto); }
.cta h2 { color: var(--navy); }
.cta p { color: #4a4c55; }
.cta .btn-primary { background: var(--navy); color: #fff; }
.cta .btn-primary:hover { background: var(--navy-2); }
.cta .btn-primary svg { color: #fff; }


/* rodapé alinhado à esquerda, cada coluna */
.footer-grid { text-align: left; justify-items: start; }
.footer p { margin-inline: 0; }
.footer-addr { color: rgba(255, 255, 255, .85); line-height: 1.7; }
.footer-addr strong { color: #fff; }

/* causas: cinza claro ao passar o mouse; cartão final já em cinza claro, com botão azul-marinho */
.cause:hover { background: #e8e9ed; border-color: #ffffff; }
.cause:hover h3 { color: var(--navy); }
.cause:hover p { color: #3d3f48; }
.cause:hover .outline-icon { border-color: var(--navy); color: var(--navy); }
.cause--cta, .cause--cta:hover { background: #e8e9ed; border-color: #ffffff; }
.cause--cta h3 { color: var(--navy); }
.cause--cta p { color: #3d3f48; }
.cause--cta .btn-primary { background: var(--navy); color: #fff; }
.cause--cta .btn-primary:hover { background: var(--navy-2); }
.cause--cta .btn-primary svg { color: #fff; }

/* números e ícones dos diferenciais em azul-marinho */
.diff-number { color: var(--navy); }
.plain-white .diff .outline-icon { border-color: var(--navy); color: var(--navy); }


/* seis cartões de tratamentos na Home (3 por linha no computador) */
@media (min-width: 981px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }

/* tecnologia MAMBA (página de tratamentos) */
.mamba { margin-top: 48px; padding: clamp(26px, 4vw, 44px); border: 1px solid rgba(255, 255, 255, .18); border-radius: 26px; background: rgba(255, 255, 255, .06); }
.mamba__head { max-width: 62ch; }
.mamba__head h3 { font-size: clamp(24px, 3vw, 32px); color: #fff; margin-bottom: 10px; }
.mamba__head p { color: rgba(255, 255, 255, .84); }
.mamba__vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin: 30px 0 26px; }
.mamba__col { padding: 24px 26px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .05); }
.mamba__col span { display: block; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-bottom: 8px; }
.mamba__col strong { display: block; font-size: 24px; color: #fff; }
.mamba__col p { margin-top: 2px; color: rgba(255, 255, 255, .78); }
.mamba__col--on { background: #e8e9ed; border-color: #fff; }
.mamba__col--on span { color: #4a4c55; }
.mamba__col--on strong { color: var(--navy); }
.mamba__col--on p { color: #3d3f48; }
.mamba__badge { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; }
.mamba__pts { display: flex; flex-wrap: wrap; gap: 14px 32px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); }
.mamba__pts li { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; }
@media (max-width: 760px) {
  .mamba__vs { grid-template-columns: 1fr; }
  .mamba__badge { justify-self: center; }
}

/* tratamentos: cinza claro ao passar o mouse, igual aos cartões das causas */
.service:hover { background: #e8e9ed; border-color: #ffffff; }
.service:hover h3 { color: var(--navy); }
.service:hover p { color: #3d3f48; }
.service:hover .outline-icon { border-color: var(--navy); color: var(--navy); }


/* galeria "Do planejamento à cirurgia" */
.proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.proc { margin: 0; }
.proc img { width: 100%; aspect-ratio: 1 / 1.1; object-fit: cover; border-radius: 20px; transition: transform .4s ease; }
.proc:hover img { transform: scale(1.03); }
.proc figcaption { margin-top: 12px; font-weight: 600; font-size: 15px; color: rgba(255, 255, 255, .86); }
@media (max-width: 980px) { .proc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .proc-grid { gap: 12px; } .proc figcaption { font-size: 13.5px; } }

/* títulos das páginas internas: um pouco mais largos para frases mais completas */
.page-head h1 { max-width: 24ch; }
.page-head p { max-width: 680px; }

/* quebra de linha equilibrada nos títulos das páginas */
.page-head h1 { text-wrap: balance; }
.page-head p { text-wrap: pretty; }

/* frase de destaque no texto da trajetória */
.about-text .lead-p { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; font-weight: 600; color: var(--navy); max-width: 30ch; margin: 18px 0 8px; }

.section-title-center h2 { text-wrap: balance; }


/* =====================================================
   Página de contato: formas de falar, endereço e mapa
   ===================================================== */
.ways { background: linear-gradient(180deg, var(--prata-1) 0%, var(--prata-2) 100%); }
.ways-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 24px; align-items: stretch; }
.way { display: flex; flex-direction: column; gap: 10px; padding: 34px; background: #fff; border-radius: 26px; box-shadow: 0 16px 40px rgba(3, 10, 42, .12); transition: transform .35s, box-shadow .35s; }
.way:hover { transform: translateY(-6px); box-shadow: 0 24px 54px rgba(3, 10, 42, .18); }
.way__ico { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--navy); display: grid; place-items: center; color: var(--navy); margin-bottom: 8px; }
.way__ico svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.way h2 { font-size: clamp(30px, 3.4vw, 42px); }
.way h3 { font-size: 22px; color: var(--navy); }
.way__val { font-size: 20px; font-weight: 700; color: var(--navy); }
.way p { color: var(--muted); font-size: 15.5px; }
.way .btn, .way__link { margin-top: auto; }
.way .btn { align-self: flex-start; margin-top: 18px; }
.way__link { display: inline-block; padding-top: 14px; font-weight: 800; color: var(--navy); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.way__link:hover { color: #6b6c74; }
.way--main { background: linear-gradient(160deg, #0a1030 0%, #030a2a 100%); }
.way--main h2, .way--main .way__val { color: #fff; }
.way--main p { color: rgba(255, 255, 255, .82); }
.way--main .way__ico { border-color: rgba(255, 255, 255, .6); color: #fff; }
.way--main .btn-primary { background: linear-gradient(180deg, #e9eaee 0%, #bcbdc4 100%); color: var(--navy); }
.way--main .btn-primary svg { color: var(--navy); }

.visit-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.visit__lead { margin: 16px 0 6px; color: var(--muted); max-width: 52ch; }
.visit .features { margin-bottom: 0; }
.map { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--sombra); min-height: 440px; background: #dfe0e4; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35); }
.map__card { position: absolute; left: 18px; right: 18px; bottom: 18px; background: rgba(255, 255, 255, .94); border-radius: 18px; padding: 16px 18px; box-shadow: 0 14px 34px rgba(3, 10, 42, .22); }
.map__card strong { display: block; color: var(--navy); }
.map__card span { font-size: 14px; color: var(--muted); }

@media (max-width: 980px) {
  .ways-grid, .visit-grid { grid-template-columns: 1fr; }
  .map { min-height: 380px; }
}


/* vídeos do Instagram (Sobre) */
.reel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.reel { border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 16px 40px rgba(3, 10, 42, .14); aspect-ratio: 9 / 16.2; }
.reel iframe { display: block; width: 100%; height: 100%; border: 0; }
.reel-more { text-align: center; margin-top: 30px; }
@media (max-width: 980px) { .reel-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; } }


/* vídeos: recorte do cabeçalho/rodapé do player + etiqueta flutuante própria */
.reel { position: relative; aspect-ratio: auto; background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.reel__clip { position: relative; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; background: #000; box-shadow: 0 16px 40px rgba(3, 10, 42, .22); }
.reel__clip iframe { position: absolute; left: 0; top: -54px; width: 100%; height: calc(100% + 240px); border: 0; }
.float-tag--ig { top: 20px; left: -16px; background: linear-gradient(180deg, #0d1236 0%, #030a2a 100%); color: #fff; text-decoration: none; transition: transform .25s; }
.float-tag--ig svg { stroke: #fff; }
.reel:nth-child(2) .float-tag--ig { animation-delay: -2.5s; }
.reel:nth-child(3) .float-tag--ig { animation-delay: -4.5s; }
@media (max-width: 980px) { .float-tag--ig { left: 12px; } }
.float-tag--ig { border: 1px solid rgba(255, 255, 255, .45); }

/* vídeos: volta ao cartão original do Instagram; só o botão "Ver perfil" é trocado pela etiqueta flutuante */
.reel__clip { aspect-ratio: 9 / 16.2; background: #fff; box-shadow: 0 16px 40px rgba(3, 10, 42, .14); }
.reel__clip iframe { position: static; display: block; width: 100%; height: 100%; }
.reel__clip::after { content: ""; position: absolute; z-index: 2; top: 0; right: 0; width: 136px; height: 54px; background: #fff; }
.float-tag--ig { top: 8px; right: 10px; left: auto; }
@media (max-width: 980px) { .float-tag--ig { left: auto; right: 10px; } }

/* botão do Instagram (seção de vídeos): navy, ícone em traço */
.reels .btn-primary { background: var(--navy); color: #fff; }
.reels .btn-primary:hover { background: var(--navy-2); }
.reels .btn-primary svg { width: 20px; height: 20px; color: #fff; stroke: #fff; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
