/* Protege — direção editorial inspirada em jamiemckaye.com */
:root {
  --black: #0a0c0b;
  --black-2: #101310;
  --black-3: #171b18;
  --paper: #f1f1eb;
  --paper-2: #e5e6de;
  --white: #f8f8f4;
  --muted: #a7aea9;
  --ink: #141815;
  --green: #168a4c;
  --green-bright: #27c76f;
  --green-deep: #0b3f27;
  --yellow: #f2d53c;
  --hairline: rgba(255,255,255,.14);
  --hairline-dark: rgba(16,20,17,.18);
  --font: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  --mono: "DM Mono", Consolas, monospace;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --wrap: 1440px;
  --gutter: clamp(20px, 3.1vw, 52px);
  --header: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font); font-size: 16px; line-height: 1.55; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0; z-index: 1000; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E"); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
p, h1, h2, h3, h4, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.page { width: 100%; overflow: clip; }
.wrap { width: min(var(--wrap), calc(100% - (var(--gutter) * 2))); margin-inline: auto; }
section[id], footer[id], article[id] { scroll-margin-top: calc(var(--header) + 18px); }
::selection { background: var(--yellow); color: var(--black); }

.eyebrow { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 1.8rem; color: currentColor; font-family: var(--mono); font-size: .9rem; font-weight: 500; letter-spacing: .16em; line-height: 1.4; text-align: center; text-transform: uppercase; }
.eyebrow::before, .eyebrow::after { content: ""; flex: none; width: clamp(28px, 5vw, 56px); height: 2px; background: currentColor; }
.about .eyebrow { color: var(--yellow); }
.hero .eyebrow { justify-content: flex-start; gap: .7rem; font-size: .69rem; letter-spacing: .09em; text-align: left; }
.hero .eyebrow::before { width: 22px; height: 1px; opacity: .7; }
.hero .eyebrow::after { display: none; }
.display { max-width: 13ch; margin-inline: auto; text-align: center; font-family: var(--serif); font-size: clamp(2.6rem, 5.2vw, 5.8rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.subhead { text-align: center; font-family: var(--serif); font-size: clamp(1.6rem, 2.8vw, 2.6rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.stamp, .plus { color: var(--green); }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .85rem 1.25rem; border: 1px solid currentColor; border-radius: 0; font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .04em; line-height: 1; text-transform: uppercase; transition: color .25s, background .25s, border-color .25s, transform .25s; }
.btn::after { content: "↗"; margin-left: 1.8rem; font-size: .9rem; }
.btn:hover { transform: translateY(-2px); }
.btn--yellow { color: var(--black); background: var(--yellow); border-color: var(--yellow); }
.btn--yellow:hover { background: var(--white); border-color: var(--white); }
.btn--ghost, .btn--line { color: var(--white); border-color: rgba(255,255,255,.38); background: transparent; }
.btn--ghost:hover, .btn--line:hover { color: var(--black); background: var(--white); border-color: var(--white); }
.btn--green { color: var(--white); background: var(--green); border-color: var(--green); }
.btn--green:hover { color: var(--black); background: var(--yellow); border-color: var(--yellow); }
.arrow-link { display: inline-flex; align-items: center; gap: .7rem; padding-bottom: .28rem; border-bottom: 1px solid currentColor; color: var(--green); font-family: var(--mono); font-size: .69rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.arrow-link::after { content: "↗"; transition: transform .2s; }
.arrow-link:hover::after { transform: translate(3px,-3px); }
.arrow-link--light { color: var(--green-deep); }
.arrow-link--light:hover { color: var(--green); }
.social { display: flex; gap: 7px; }
.social a { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid currentColor; border-radius: 50%; transition: .2s ease; }
.social a:hover { color: var(--black); background: var(--white); }
.social svg { width: 14px; height: 14px; }
.social--ink a:hover { color: var(--white); background: var(--black); }

/* Topo */
.topbar { position: sticky; top: 0; z-index: 60; color: var(--white); background: rgba(21,112,61,.96); border-bottom: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(14px); }
.topbar__row { display: flex; align-items: center; min-height: var(--header); gap: clamp(18px, 3vw, 48px); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: auto; height: 52px; object-fit: contain; }
.topbar__nav { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 26px; }
.menu { display: flex; align-items: center; margin-left: auto; }
.menu a { position: relative; padding: 1rem .85rem; color: #d3e8da; font-size: .79rem; font-weight: 500; }
.menu a::after { content: ""; position: absolute; right: .85rem; bottom: .7rem; left: .85rem; height: 1px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.menu a:hover, .menu a.is-active { color: var(--white); }
.menu a:hover::after, .menu a.is-active::after { transform: scaleX(1); }
.topbar__side { display: flex; align-items: center; gap: 14px; }
.topbar__side .btn { min-height: 40px; padding: .6rem .85rem; }
.topbar__side .btn::after { margin-left: .8rem; }
.topbar__side .social { display: none; }
.topbar .btn--line { color: var(--white); border-color: rgba(255,255,255,.5); }
.topbar .btn--line:hover { color: var(--black); background: var(--yellow); border-color: var(--yellow); }
.topbar .social a:hover { color: var(--green-deep); background: var(--white); }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid rgba(255,255,255,.4); background: transparent; }
.burger span { display: block; width: 18px; height: 1px; margin: 5px auto; background: currentColor; transition: .25s; }

/* Hero */
.hero { position: relative; min-height: calc(100svh - var(--header)); color: var(--ink); background: #edf0e8; border-bottom: 1px solid var(--hairline-dark); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg,rgba(243,245,238,.97) 0%,rgba(243,245,238,.88) 38%,rgba(243,245,238,.48) 68%,rgba(243,245,238,.2) 100%), linear-gradient(0deg,rgba(243,245,238,.84) 0%,transparent 48%); pointer-events: none; }
.hero::after { content: ""; position: absolute; z-index: 1; right: -8%; bottom: -34%; width: min(56vw, 800px); aspect-ratio: 1; opacity: .2; background-image: radial-gradient(circle, var(--green-bright) 1px, transparent 1px); background-size: 9px 9px; mask-image: radial-gradient(circle, #000 0 32%, transparent 72%); transform: rotate(-12deg); }
.hero__blob, .hero__lines { display: none; }
.hero__grid { position: static; display: grid; grid-template-columns: minmax(0,1fr); align-items: center; min-height: calc(100svh - var(--header)); padding: clamp(72px, 9vw, 132px) 0 clamp(54px, 7vw, 96px); }
.hero__text { position: relative; z-index: 2; max-width: 780px; align-self: center; }
.hero h1 { max-width: 10ch; font-family: var(--serif); font-size: clamp(3.4rem, 6.2vw, 7.2rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.12; }
.hero h1 span { color: var(--green); }
.hero__lead { max-width: 57ch; margin-top: clamp(28px, 4vw, 48px); color: #3f4942; font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.62; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero .btn--ghost { color: var(--ink); background: rgba(255,255,255,.36); border-color: rgba(20,24,21,.34); }
.hero .btn--ghost:hover { color: var(--white); background: var(--green-deep); border-color: var(--green-deep); }
.hero__facts { display: grid; grid-template-columns: repeat(3,1fr); max-width: 650px; margin-top: clamp(48px, 7vw, 80px); border-top: 1px solid var(--hairline-dark); }
.hero__facts p { padding: 18px 18px 0 0; border-right: 1px solid var(--hairline-dark); }
.hero__facts p:not(:first-child) { padding-left: 18px; }
.hero__facts p:last-child { border-right: 0; }
.hero__facts strong { display: block; color: var(--green); font-size: clamp(1.4rem,2vw,2rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.hero__facts span { display: block; margin-top: 7px; color: #58635b; font-family: var(--mono); font-size: .63rem; line-height: 1.4; text-transform: uppercase; }
.hero__art { position: absolute; z-index: 0; inset: 0; padding: 0; border: 0; background: var(--black); transform: none; }
.hero__art::before, .hero__art::after { display: none; }
.hero__art-label, .hero__art-foot { font-family: var(--mono); font-size: .63rem; letter-spacing: .08em; text-transform: uppercase; }
.hero__art-label { display: none; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; background: var(--black); }
.hero__photo::after { display: none; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 54%; filter: none; transform: scale(1.015); }
.hero__art:hover img { transform: scale(1.015); }
.hero__art-foot { display: none; }
.hero__url { display: none; }

/* Faixa */
.band { display: grid; grid-template-columns: repeat(5,1fr); color: var(--ink); background: #e3ebe4; border-bottom: 1px solid var(--hairline-dark); }
.band li { position: relative; padding: 22px clamp(12px,2vw,30px); border-right: 1px solid var(--hairline-dark); font-family: var(--mono); font-size: .65rem; letter-spacing: .07em; line-height: 1.4; text-transform: uppercase; }
.band li::before { content: "0" counter(list-item); display: block; margin-bottom: 12px; color: var(--green); }
.band li:last-child { border-right: 0; }
.band a { display: block; transition: color .2s, transform .2s; }
.band a:hover { color: var(--green); transform: translateX(3px); }

/* Serviços */
.services { position: relative; color: var(--ink); background: var(--paper); border-block: 1px solid var(--hairline-dark); overflow: hidden; }
.services::before { content: ""; position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(20,24,21,.08) 1px,transparent 1px), linear-gradient(90deg,rgba(20,24,21,.08) 1px,transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(transparent,#000 18%,#000 82%,transparent); }
.sphere-scene { position: relative; min-height: clamp(760px,72vw,920px); isolation: isolate; }
.sphere-scene__kicker { position: absolute; z-index: 4; top: 6%; left: 50%; color: #6b746d; font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; transform: translateX(-50%); white-space: nowrap; }
.sphere-scene__kicker::before { content: "05"; margin-right: 12px; color: var(--green); }
.sphere-canvas { position: absolute; z-index: 1; top: 50%; left: 50%; width: clamp(560px,57vw,760px); height: clamp(560px,57vw,760px); transform: translate(-50%,-50%); }
.sphere-center { position: absolute; z-index: 3; top: 50%; left: 50%; width: min(33vw,430px); text-align: center; transform: translate(-50%,-50%); pointer-events: none; }
.sphere-center::before { content: ""; position: absolute; z-index: -1; inset: -70% -30%; background: radial-gradient(ellipse,rgba(241,241,235,.96) 0 30%,rgba(241,241,235,.72) 48%,transparent 72%); }
.sphere-center h2 { font-family: var(--serif); font-size: clamp(1.6rem,2.7vw,2.7rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.sphere-center h2 span { color: var(--green); }
.sphere-center p { max-width: 34ch; margin: 16px auto 0; color: #58635b; font-size: .87rem; line-height: 1.5; }
.sphere-label { position: absolute; z-index: 5; display: flex; align-items: center; gap: 9px; min-width: 150px; padding: 10px 12px; color: #3f4942; background: rgba(248,248,244,.9); border: 1px solid var(--hairline-dark); font-family: var(--mono); font-size: .62rem; line-height: 1; text-transform: uppercase; backdrop-filter: blur(8px); transition: color .2s,border-color .2s,background .2s; }
.sphere-label b { color: var(--green); font-weight: 500; }
.sphere-label span { white-space: nowrap; }
.sphere-label:hover, .sphere-label:focus-visible { color: var(--ink); background: rgba(22,138,76,.08); border-color: var(--green); outline: 0; }
.sphere-label::after, .sphere-label::before { content: ""; position: absolute; top: 50%; height: 1px; width: clamp(110px,14vw,220px); background: linear-gradient(90deg,rgba(20,24,21,.16) 0 58%,var(--green) 58% 72%,rgba(20,24,21,.16) 72% 100%); background-size: 180% 100%; animation: signal-line 4s linear infinite; pointer-events: none; }
.sphere-label--one { top: 20%; left: 2%; }
.sphere-label--two { top: 47%; left: 0; }
.sphere-label--three { bottom: 18%; left: 5%; }
.sphere-label--four { top: 29%; right: 1%; }
.sphere-label--five { right: 5%; bottom: 24%; }
.sphere-label--one::after, .sphere-label--two::after, .sphere-label--three::after { left: 100%; }
.sphere-label--four::before, .sphere-label--five::before { right: 100%; transform: scaleX(-1); }
.sphere-label--one::before, .sphere-label--two::before, .sphere-label--three::before, .sphere-label--four::after, .sphere-label--five::after { display: none; }
@keyframes signal-line { to { background-position: -180% 0; } }

/* Consultoria e eSocial */
.consulting { color: var(--ink); background: var(--white); padding: clamp(85px,10vw,150px) 0; border-top: 1px solid var(--hairline-dark); }
.consulting__head { display: grid; grid-template-columns: minmax(0,1fr) minmax(340px,.8fr); gap: clamp(45px,9vw,150px); align-items: end; }
.consulting .eyebrow { color: var(--green); }
.consulting .btn--yellow:hover { color: var(--white); background: var(--green-deep); border-color: var(--green-deep); }
.consulting__copy > p:first-child { max-width: 52ch; color: #5e665f; font-size: 1.04rem; }
.consulting__items { max-width: 58ch; margin: 24px 0 28px; color: var(--green); font-family: var(--mono); font-size: .68rem; line-height: 1.7; text-transform: uppercase; }
.consulting__gallery { display: grid; grid-template-columns: repeat(12,1fr); grid-template-rows: repeat(2,minmax(190px,270px)); gap: 14px; margin-top: clamp(55px,7vw,90px); }
.consulting__gallery figure { position: relative; grid-column: span 5; overflow: hidden; background: var(--paper-2); }
.consulting__gallery .consulting__main-photo { grid-column: span 7; grid-row: span 2; }
.consulting__gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.consulting__gallery figure:hover img { transform: scale(1.02); }
.consulting__gallery figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 35px 18px 16px; color: var(--white); background: linear-gradient(transparent,rgba(0,0,0,.78)); font-family: var(--mono); font-size: .63rem; text-transform: uppercase; }

/* Sobre */
.about { position: relative; min-height: 800px; color: var(--white); background: var(--green-deep); border-block: 1px solid rgba(255,255,255,.16); overflow: hidden; }
/* Esfera das cinco frentes no lado direito, em versão para fundo verde-escuro */
.about__sphere { position: absolute; z-index: 1; inset: 0 0 0 48%; }
.about .sphere-center::before { background: radial-gradient(ellipse, rgba(11,63,39,.94) 0 30%, rgba(11,63,39,.7) 48%, transparent 72%); }
.about .sphere-center h2 { color: var(--white); }
.about .sphere-center h2 span { color: var(--yellow); }
.about .sphere-center p { color: #c6d1ca; }
.about .sphere-label { color: #e4ebe6; background: rgba(11,63,39,.72); border-color: rgba(255,255,255,.22); }
.about .sphere-label b { color: var(--yellow); }
.about .sphere-label:hover, .about .sphere-label:focus-visible { color: var(--white); background: rgba(242,213,60,.12); border-color: var(--yellow); }
.about .sphere-label::after, .about .sphere-label::before { background: linear-gradient(90deg,rgba(255,255,255,.2) 0 58%,var(--yellow) 58% 72%,rgba(255,255,255,.2) 72% 100%); background-size: 180% 100%; }
.about__inner { position: relative; z-index: 2; padding: clamp(90px, 10vw, 150px) 0; }
.about__text { width: 48%; max-width: 650px; padding-right: clamp(20px,5vw,80px); }
.about .display { color: var(--white); }
.tagbar { display: inline-block; margin: 34px 0 22px; padding: .65rem .9rem; color: var(--black); background: var(--yellow); font-family: var(--mono); font-size: .68rem; text-transform: uppercase; }
.about__copy { max-width: 53ch; color: #c6d1ca; font-size: 1.03rem; }
.hero__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 20px; max-width: 650px; margin-top: 30px; }
.site-url { color: #58635b; font-family: var(--mono); font-size: .64rem; }
.about__bars { position: absolute; right: 20px; top: 30px; bottom: 30px; width: 5px; background: var(--yellow); z-index: 3; }
.spark { display: none; }

/* Divisória em movimento */
.marquee { position: relative; overflow: hidden; color: #6b746d; background: #fbfbf7; border-block: 1px solid rgba(11,63,39,.12); }
.marquee__track { display: flex; padding: 7px 0; }
.marquee__group { display: flex; flex: 1; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px clamp(14px, 3vw, 48px); padding-inline: var(--gutter); }
.marquee__group + .marquee__group, .marquee__group .marquee__plus:last-child { display: none; }
.marquee__item { font-family: var(--mono); font-size: clamp(.62rem, .85vw, .74rem); font-weight: 400; letter-spacing: .14em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.marquee__plus { color: rgba(22,138,76,.55); font-family: var(--mono); font-size: clamp(.62rem, .85vw, .74rem); font-weight: 400; line-height: 1; }

/* Vídeo institucional */
.institutional { position: relative; display: flex; align-items: center; min-height: clamp(520px, 70vh, 680px); color: var(--ink); background: var(--white); padding: clamp(70px,8vw,120px) 0; border-bottom: 1px solid var(--hairline-dark); overflow: hidden; isolation: isolate; }
.institutional .wrap { position: relative; z-index: 2; }
.institutional__bg { position: absolute; z-index: 0; top: 0; right: 0; width: 66%; height: 100%; object-fit: cover; background: var(--paper-2); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%); mask-image: linear-gradient(90deg, transparent 0, #000 38%); }
.institutional__head { width: min(100%, 42%); }
.institutional__head { text-align: center; }
.institutional .eyebrow { justify-content: center; color: var(--green); text-align: center; }
.institutional .display { margin-inline: auto; text-align: center; }
.institutional__head > p { max-width: 48ch; margin-top: 28px; margin-inline: auto; color: #4a534c; font-size: 1.02rem; }
.institutional__sound { display: inline-flex; align-items: center; gap: .7rem; margin-top: 26px; padding: .8rem 1.1rem; color: var(--ink); background: transparent; border: 1px solid rgba(20,24,21,.34); font-family: var(--mono); font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; transition: color .25s, background .25s, border-color .25s; }
.institutional__sound:hover { color: var(--white); background: var(--green-deep); border-color: var(--green-deep); }
.institutional__sound[hidden] { display: none; }

/* Clínica */
.clinic { color: var(--ink); background: var(--paper); padding: clamp(85px, 10vw, 150px) 0; }
.clinic__grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(420px,1.1fr); gap: clamp(50px, 8vw, 130px); align-items: center; }
.clinic__text .eyebrow { color: var(--green); }
.clinic__text > p:not(.eyebrow) { max-width: 52ch; margin-top: 32px; color: #5e665f; }
.exam-list { columns: 2; column-gap: 34px; margin: 34px 0; }
.exam-list li { break-inside: avoid; padding: 10px 0; border-top: 1px solid var(--hairline-dark); font-family: var(--mono); font-size: .68rem; text-transform: uppercase; }
.photo-block { position: relative; margin: 0; }
.photo-block::before { content: "02 / Clínica própria"; position: absolute; top: -25px; left: 0; color: var(--green); font-family: var(--mono); font-size: .63rem; text-transform: uppercase; }
.photo-block::after { content: ""; position: absolute; right: -16px; bottom: -16px; width: 60%; height: 50%; background: var(--yellow); z-index: 0; }
.photo-block img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/3.15; object-fit: cover; filter: none; }
.team { margin-top: clamp(80px,9vw,130px); }
.team__head { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; text-align: center; padding-bottom: 20px; border-bottom: 1px solid var(--hairline-dark); }
.team__head p { color: #677069; }
.team__list { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 30px; background: var(--hairline-dark); border: 1px solid var(--hairline-dark); }
.team__list li { background: var(--paper); padding: 16px; }
.team__list img { width: 100%; aspect-ratio: 4/4.25; object-fit: cover; object-position: top; filter: none; transition: transform .35s; }
.team__list li:hover img { transform: scale(1.01); }
.team__list b { display: block; margin-top: 17px; font-size: 1.08rem; font-weight: 500; }
.team__list span { display: block; margin-top: 3px; color: var(--green); font-family: var(--mono); font-size: .64rem; text-transform: uppercase; }

/* Treinamento */
.training { color: var(--ink); background: #e8ebe3; padding: clamp(85px, 10vw, 150px) 0; }
.training__head { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(40px,8vw,140px); align-items: end; }
.training__head > p { max-width: 50ch; color: #5e665f; }
.training .eyebrow { color: var(--green); }
.facilities { display: grid; grid-template-columns: repeat(12,1fr); gap: 14px; margin-top: clamp(56px,7vw,94px); }
.facilities li { position: relative; grid-column: span 4; min-height: 390px; overflow: hidden; border: 1px solid var(--hairline-dark); background: var(--paper-2); }
.facilities li:nth-child(4), .facilities li:nth-child(5), .facilities li:nth-child(6) { grid-column: span 4; min-height: 310px; }
.facilities img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.72) saturate(.92); transition: filter .4s, transform .6s; }
.facilities li:hover img { filter: brightness(.82) saturate(1.05); transform: scale(1.025); }
.facilities b, .facilities span { position: absolute; z-index: 2; right: 22px; left: 22px; }
.facilities b { bottom: 52px; color: var(--white); font-size: 1.1rem; font-weight: 500; }
.facilities span { bottom: 22px; overflow: hidden; color: #d2d7d3; font-size: .75rem; white-space: nowrap; text-overflow: ellipsis; }
.facilities li::after { content: ""; position: absolute; inset: 34% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.9)); }
.courses { margin-top: clamp(80px,9vw,130px); }
.courses__head { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; text-align: center; margin-bottom: 30px; }
.courses__head p { margin-top: 8px; color: #5e665f; }
.course-table { width: 100%; border-collapse: collapse; }
.course-table th { padding: 0 18px 13px 0; border-bottom: 1px solid var(--hairline-dark); color: #6b746d; font-family: var(--mono); font-size: .61rem; font-weight: 400; letter-spacing: .06em; text-align: left; text-transform: uppercase; }
.course-table td { padding: 18px 18px 18px 0; border-bottom: 1px solid var(--hairline-dark); color: #4a534c; font-size: .83rem; vertical-align: middle; }
.course-table td:first-child { color: var(--ink); font-size: 1rem; }
.course-table td:last-child { padding-right: 0; text-align: right; }
.course-table .nr { color: var(--green); font-family: var(--mono); }

/* Loja e jurídico — seções independentes */
.business { position: relative; padding: clamp(85px,10vw,150px) 0; overflow: hidden; }
.business__grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(48px,9vw,150px); align-items: center; }
.business__media { position: relative; min-height: 620px; overflow: hidden; }
.business__media::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.42); pointer-events: none; }
.business__media img { width: 100%; height: 100%; min-height: 620px; object-fit: cover; transition: transform .6s ease; }
.business:hover .business__media img { transform: scale(1.025); }
.business__content { max-width: 650px; }
.business__content .display { margin-top: 22px; font-size: clamp(2.6rem,5vw,5.6rem); }
.business__copy { max-width: 52ch; margin-top: 34px; font-size: 1rem; line-height: 1.72; }
.business__items { max-width: 58ch; margin-top: 22px; font-family: var(--mono); font-size: .66rem; line-height: 1.8; text-transform: uppercase; }
.business__content .btn { margin-top: 34px; }
.business__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.business__actions .btn { margin-top: 0; }
.business--store .btn--outline { color: var(--ink); border-color: rgba(20,24,21,.34); }
.business--store .btn--outline:hover { color: var(--white); background: var(--green-deep); border-color: var(--green-deep); }
.business--store { color: var(--ink); background: var(--paper); }
.business--store .eyebrow, .business--store .business__items { color: var(--green); }
.business--store .business__copy { color: #5e665f; }
.business--store .business__media::after { border-color: rgba(255,255,255,.58); }
.business--legal { color: var(--white); background: var(--green-deep); border-top: 1px solid rgba(255,255,255,.16); }
.business--legal::before { content: ""; position: absolute; top: -30%; right: -14%; width: 62vw; aspect-ratio: 1; opacity: .12; background-image: radial-gradient(circle,var(--yellow) 1px,transparent 1px); background-size: 10px 10px; mask-image: radial-gradient(circle,#000 0 28%,transparent 70%); }
.business--legal .business__grid { position: relative; z-index: 1; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); }
.business--legal .eyebrow, .business--legal .business__items { color: var(--yellow); }
.business--legal .business__copy { color: #c0cec5; }

/* Contato */
.contact { position: relative; color: var(--white); background: var(--green-deep); padding: clamp(85px,10vw,150px) 0 30px; overflow: hidden; }
.contact::after { content: ""; position: absolute; right: -8%; top: -20%; width: 58vw; aspect-ratio: 1; opacity: .16; background-image: radial-gradient(circle, var(--yellow) 1.2px, transparent 1.2px); background-size: 11px 11px; mask-image: radial-gradient(circle,#000 0 20%,transparent 68%); }
.contours { display: none; }
.contact .wrap { position: relative; z-index: 1; }
.contact .eyebrow { color: var(--yellow); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px,9vw,150px); align-items: start; }
.contact__lead > p:not(.eyebrow) { max-width: 42ch; margin-top: 32px; color: #bfcbc3; }
.contact__big { display: inline-block; margin: 32px 0 28px; font-size: clamp(2rem,4vw,4.5rem); font-weight: 500; letter-spacing: -.06em; line-height: 1; }
.contact__big:hover { color: var(--yellow); }
.contact__list { border-top: 1px solid rgba(255,255,255,.2); }
.contact__list > div { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.contact__list dt { color: #92a197; font-family: var(--mono); font-size: .63rem; text-transform: uppercase; }
.contact__list dd { color: #d9e0db; font-size: .9rem; }
.contact__list a { border-bottom: 1px solid rgba(255,255,255,.3); }
.contact__list a:hover { color: var(--yellow); }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: clamp(70px,9vw,130px); padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); }
.foot__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; }
.foot__nav a { color: #bdc9c1; font-family: var(--mono); font-size: .62rem; text-transform: uppercase; }
.foot__nav a:hover { color: var(--yellow); }
.foot__legal { display: flex; justify-content: space-between; gap: 18px; margin-top: 24px; color: #85938a; font-family: var(--mono); font-size: .58rem; text-transform: uppercase; }
.whats { position: fixed; z-index: 50; right: 22px; bottom: 22px; display: grid; width: 54px; height: 54px; place-items: center; color: var(--black); background: var(--yellow); border: 1px solid var(--black); border-radius: 50%; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .2s, background .2s; }
.whats:hover { transform: translateY(-3px); background: var(--white); }
.whats svg { width: 24px; height: 24px; }

@media (max-width: 1100px) {
  .menu a { padding-inline: .55rem; font-size: .74rem; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3.4rem,7vw,6rem); }
  .about__text { width: 53%; }
  .facilities li, .facilities li:nth-child(n+4) { grid-column: span 6; }
}

@media (max-width: 900px) {
  :root { --header: 66px; }
  .institutional { display: block; min-height: 0; padding-top: calc(clamp(220px, 52vw, 340px) + 36px); }
  .institutional__bg { top: 0; left: 0; right: auto; width: 100%; height: clamp(220px, 52vw, 340px); -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
  .institutional__head { width: 100%; }
  .burger { display: block; }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .topbar__nav { position: fixed; top: var(--header); right: 0; left: 0; display: none; min-height: calc(100svh - var(--header)); padding: 30px var(--gutter) 40px; align-items: stretch; flex-direction: column; justify-content: space-between; color: var(--white); background: #15703d; border-top: 1px solid rgba(255,255,255,.16); }
  .topbar__nav.is-open { display: flex; }
  .menu { display: block; margin: 0; }
  .menu a { display: block; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.18); font-size: clamp(1.5rem,5vw,2.3rem); font-weight: 500; letter-spacing: -.04em; }
  .menu a::after { display: none; }
  .topbar__side { align-items: stretch; flex-direction: column; }
  .topbar__side .social { display: flex; }
  .topbar__side .btn { width: 100%; }
  .hero__grid { grid-template-columns: 1fr; min-height: calc(100svh - var(--header)); padding-top: 72px; }
  .hero h1 { max-width: 10ch; }
  .hero__art { width: auto; margin: 0; }
  .band { grid-template-columns: repeat(2,1fr); }
  .band li { border-bottom: 1px solid var(--hairline-dark); }
  .band li:last-child { grid-column: 1/-1; }
  .sphere-scene { min-height: 780px; }
  .sphere-canvas { width: min(70vw,650px); height: min(70vw,650px); }
  .sphere-center { width: min(40vw,340px); }
  .sphere-label { min-width: 132px; padding: 9px; font-size: .54rem; }
  .sphere-label::after, .sphere-label::before { width: 11vw; }
  .consulting__head { grid-template-columns: 1fr; align-items: start; }
  .about { min-height: 0; }
  .about__sphere { position: relative; inset: auto; margin-top: -30px; }
  .about__inner { padding-top: 70px; padding-bottom: 0; }
  .about__text { width: 100%; max-width: 720px; padding-right: 0; }
  .clinic__grid { grid-template-columns: 1fr; }
  .photo-block { width: min(92%,700px); margin: 20px auto 0; }
  .training__head { grid-template-columns: 1fr; }
  .business__grid, .business--legal .business__grid { grid-template-columns: 1fr; gap: 48px; }
  .business__content { max-width: 760px; }
  .business__media, .business__media img { min-height: 540px; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .marquee__plus { display: none; }
  .marquee__group { gap: 5px 14px; }
  .marquee__item { font-size: .56rem; letter-spacing: .1em; }
  .brand img { width: auto; height: 44px; }
  .display { font-size: clamp(2.3rem,10.5vw,3.6rem); }
  .hero__grid { padding-top: 56px; gap: 42px; }
  .hero h1 { font-size: clamp(2.5rem,12vw,4.2rem); }
  .hero__lead { font-size: .95rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__facts { margin-top: 44px; }
  .hero__facts p { padding-right: 8px; }
  .hero__facts p:not(:first-child) { padding-left: 9px; }
  .hero__facts strong { font-size: 1.35rem; }
  .hero__facts span { font-size: .53rem; }
  .hero::before { background: linear-gradient(90deg,rgba(243,245,238,.94),rgba(243,245,238,.7)), linear-gradient(0deg,rgba(243,245,238,.91),transparent 52%); }
  .hero__photo img { object-position: 62% center; }
  .hero__art { width: auto; margin: 0; padding: 0; transform: none; }
  .band { grid-template-columns: 1fr; }
  .band li, .band li:last-child { grid-column: auto; border-right: 0; }
  .services .wrap { width: 100%; }
  .sphere-scene { min-height: 900px; }
  .sphere-scene__kicker { top: 4%; font-size: .55rem; }
  .sphere-canvas { top: 37%; width: min(112vw,450px); height: min(112vw,450px); }
  .sphere-center { top: 37%; width: 76vw; }
  .sphere-center h2 { font-size: clamp(1.4rem,7vw,2rem); }
  .sphere-center p { max-width: 28ch; margin-top: 10px; font-size: .73rem; }
  .sphere-label { min-width: 0; width: calc(50% - 27px); justify-content: center; padding: 11px 7px; font-size: .51rem; }
  .sphere-label::before, .sphere-label::after { display: none; }
  .sphere-label--one { top: auto; right: auto; bottom: 180px; left: 18px; }
  .sphere-label--two { top: auto; right: 18px; bottom: 180px; left: auto; }
  .sphere-label--three { top: auto; right: auto; bottom: 124px; left: 18px; }
  .sphere-label--four { top: auto; right: 18px; bottom: 124px; left: auto; }
  .sphere-label--five { top: auto; right: auto; bottom: 68px; left: 50%; transform: translateX(-50%); }
  /* Rótulos da direita não encostam na barra amarela de "Por que a Protege" */
  .about .sphere-scene { min-height: 740px; }
  .about .sphere-label { width: calc(50% - 36px); }
  .about .sphere-label--two, .about .sphere-label--four { right: 36px; }
  .consulting__gallery { display: grid; grid-template-columns: 1fr; grid-template-rows: none; }
  .consulting__gallery figure, .consulting__gallery .consulting__main-photo { grid-column: 1; grid-row: auto; min-height: 280px; }
  .exam-list { columns: 1; }
  .team__head { align-items: center; }
  .team__list { grid-template-columns: 1fr; }
  .team__list img { aspect-ratio: 4/3.6; }
  .facilities { grid-template-columns: 1fr; }
  .facilities li, .facilities li:nth-child(n+4) { grid-column: 1; min-height: 360px; }
  .courses__head { align-items: center; }
  .course-table thead { display: none; }
  .course-table tr { display: grid; grid-template-columns: 1fr auto; gap: 5px 14px; padding: 18px 0; border-bottom: 1px solid var(--hairline-dark); }
  .course-table td { padding: 0; border: 0; }
  .course-table td:first-child { grid-column: 1; }
  .course-table .nr { grid-column: 2; grid-row: 1; }
  .course-table td[data-label] { grid-column: 1/-1; color: #6b746d; }
  .course-table td[data-label]::before { content: attr(data-label) ": "; }
  .course-table td:last-child { grid-column: 1/-1; margin-top: 8px; text-align: left; }
  .business { padding: 78px 0; }
  .business__grid, .business--legal .business__grid { gap: 34px; }
  .business__media, .business__media img { min-height: 380px; }
  .business__media { width: 100%; aspect-ratio: 4/3; }
  .business__content .display { font-size: clamp(2.3rem,10.5vw,3.6rem); }
  .business__copy { margin-top: 24px; }
  .business__content .btn { width: 100%; }
  .contact__list > div { grid-template-columns: 1fr; gap: 5px; }
  .contact__big { font-size: 2.25rem; }
  .foot { align-items: flex-start; flex-direction: column; }
  .foot__nav { justify-content: flex-start; }
  .foot__legal { flex-direction: column; }
  .whats { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Notebook: vídeo, fotos e esfera menores para caber na tela */
@media (min-width: 901px) {
  /* Fotos mais estreitas, mantendo a proporção original (sem cortar mais) */
  .consulting__gallery { width: min(100%, 1000px); margin-inline: auto; grid-template-rows: repeat(2, 213px); }
  .photo-block { width: min(100%, 520px); margin-inline: auto; }
  .team__list { width: min(100%, 960px); margin-inline: auto; }
  .facilities { width: min(100%, 960px); margin-inline: auto; }
  .business__media { width: min(100%, 420px); justify-self: center; min-height: 505px; }
  .business__media img { min-height: 505px; }
  /* Início: tudo na primeira tela do notebook */
  .hero__grid { padding: clamp(28px, 5vh, 56px) 0 clamp(24px, 4vh, 44px); }
  .hero .eyebrow { margin-bottom: clamp(10px, 2vh, 18px); }
  .hero__text { max-width: 1300px; }
  .hero h1 { max-width: none; font-size: clamp(2.8rem, min(5.2vw, 9.6vh), 6rem); line-height: 1.1; }
  .hero__lead { margin-top: clamp(14px, 3vh, 28px); }
  .hero__actions { margin-top: clamp(16px, 3vh, 26px); }
  .hero__facts { margin-top: clamp(22px, 4.5vh, 44px); }
  .hero__facts p { padding-top: clamp(10px, 2vh, 18px); }
  .hero__foot { margin-top: clamp(16px, 3vh, 26px); }
  /* Esfera na metade direita de "Por que a Protege" */
  .about .sphere-scene { height: 100%; min-height: 0; }
  .about .sphere-canvas { width: min(36vw, 78vh, 600px); height: min(36vw, 78vh, 600px); }
  .about .sphere-center { width: min(22vw, 320px); }
  .about .sphere-center h2 { font-size: clamp(1.4rem, 2vw, 2.2rem); }
  .about .sphere-center p { max-width: 28ch; margin-top: 12px; font-size: .8rem; }
  .about .sphere-label { min-width: 0; padding: 9px 11px; font-size: .58rem; }
  .about .sphere-label::after, .about .sphere-label::before { width: clamp(34px, 4vw, 80px); }
  .about .sphere-label--one { top: 20%; left: 3%; }
  .about .sphere-label--two { top: 47%; left: 0; }
  .about .sphere-label--three { bottom: 18%; left: 5%; }
  .about .sphere-label--four { top: 29%; right: 9%; }
  .about .sphere-label--five { right: 11%; bottom: 24%; }
}

/* Ampliar foto ao clicar */
.is-zoomable { cursor: zoom-in; }
.is-zoomable:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }
.facilities li::after, .facilities b, .facilities span, .consulting__gallery figcaption { pointer-events: none; }
html.has-lightbox, html.has-lightbox body { overflow: hidden; }
.lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0; color: var(--white); background: transparent; overflow: hidden; }
.lightbox[open] { display: grid; place-items: center; animation: lightbox-in .3s ease both; }
.lightbox::backdrop { background: rgba(6,10,8,.9); backdrop-filter: blur(6px); animation: lightbox-in .3s ease both; }
@keyframes lightbox-in { from { opacity: 0; } }
.lightbox__figure { display: grid; place-items: center; gap: 14px; width: 100%; height: 100%; margin: 0; padding: clamp(56px, 7vh, 80px) clamp(16px, 7vw, 110px); cursor: zoom-out; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 2 * clamp(56px, 7vh, 80px) - 40px); width: auto; height: auto; object-fit: contain; box-shadow: 0 24px 70px rgba(0,0,0,.5); cursor: default; }
.lightbox__caption { color: #d3ddd6; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.lightbox__close, .lightbox__nav { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; color: var(--white); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.35); border-radius: 50%; font: 400 1.7rem/1 var(--font); transition: background .2s, color .2s, border-color .2s; }
.lightbox__close:hover, .lightbox__nav:hover { color: var(--black); background: var(--yellow); border-color: var(--yellow); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: clamp(10px, 2vw, 32px); }
.lightbox__nav--next { right: clamp(10px, 2vw, 32px); }
.lightbox__nav[hidden] { display: none; }
@media (max-width: 640px) {
  .lightbox__figure { padding: 64px 12px 88px; }
  .lightbox__nav { top: auto; bottom: 20px; transform: none; }
  .lightbox__nav--prev { left: calc(50% - 60px); }
  .lightbox__nav--next { right: calc(50% - 60px); }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox[open], .lightbox::backdrop { animation: none; }
}
