/* Cópia independente: composição da referência em preto e dourado. */
:root {
  color-scheme: dark;
  --paper: #111110; --white: #1c1c1b; --ink: #f5f4f1;
  --muted: #c4c3c0; --line: #454440; --sand: #242422;
  --blue: #e7c789; --blue-d: #f6ddb0; --teal: #f5f4f1;
  --cyan: #efcb86; --gold: #d7b572; --gold-l: #edce93;
  --gold-d: #e4c080; --deep: #0b0b0b; --ico-bg: #292824;
  --control-border: #797974;
}
body { background: #111110; color: var(--ink); }
.ilha-topo { display: none; }
.topbar { background: linear-gradient(120deg,#191918,#0b0b0b); font-size: 12px; }
.topbar .wrap { width: min(1170px,100% - 110px); min-height: 30px; padding-block: 0; gap: 12px; }
.topbar .group { gap: 26px; }
.topbar .item { min-height: 28px; font-size: 11px; }
.topbar .status::before { width: 6px; height: 6px; }
.status[data-open="false"]::before { background: var(--gold-l); }
.site-header { top: -78px; background: #fff; }
.brandbar { background: linear-gradient(110deg,#fff,#fafafa); border-color: #e0e0de; }
.brandbar .wrap { width: min(1170px,100% - 110px); min-height: 77px; gap: 18px; }
.brand { color: #171717; gap: 18px; }
.brand img { width: 178px; height: auto; }
.brand-text { border-color: #ddd; padding-left: 18px; }
.brand-text b { color: #161616; font-size: 15px; font-weight: 500; }
.brand-text span { color: #333; font-size: 10px; letter-spacing: .15em; margin-top: 3px; }
.brand-contact a { color: #151515; border: 1px solid #b98d43; border-radius: 40px; gap: 13px; padding: 0 24px 0 0; }
.brand-contact .icon { width: 46px; height: 46px; border-color: #c09245; color: #b2843e; }
.brand-contact small { color: #262626; font-size: 9px; letter-spacing: .14em; }
.brand-contact b { font-size: 20px; }
.navbar { background: linear-gradient(110deg,#30302f,#191919); border-color: #5d5139; }
.navbar .wrap { width: min(1170px,100% - 110px); }
.nav { min-height: 46px; }
.nav a.link { font-size: 13px; padding-inline: 18px; }
.nav a.link[aria-current="page"] { background: #ffffff0d; }
.nav a.link[aria-current="page"]::after { left: 0; right: 0; }
.nav-toggle { color: #202020; border-color: #b3a995; border-radius: 6px; }
.head-call { background: #272622; }
.head-call:hover { background: #4e422c; }
.submenu { background: #1d1d1b; }
.btn-primary,.btn-gold { background: linear-gradient(110deg,#d2ae70,#eed19c); color: #14120e; }
.btn-primary:hover,.btn-gold:hover { background: #f1d6a3; color: #14120e; }
.page-hero,.band { background: linear-gradient(120deg,#242321,#0b0b0b); }
.field input,.field textarea,.field select,.setor-botao { background: #151514; color: #f4f3ef; }
.setor-opcoes { background: #20201e; }
.setor-opcoes [role="option"]:hover,.setor-opcoes [aria-selected="true"] { background: #3f382a; }
.site-footer { background: #0c0c0b; }
.cookies { background: #22221f; color: #f5f4f1; border: 1px solid #8c7955; }
.cookies a { color: #edce93; }
.cookies .btn-light { color: #171511; background: #edce93; }
@media screen {
  .cf-bloco legend { background: #302d26; color: #f5f4f1; border-bottom: 1px solid #b99b635c; }
  .cf-bloco legend .cf-num { color: #edce93; }
  .cf-bloco .field small,.cf-bloco .hint,.cf-ciencia p { color: #d1cfc8; }
  .cf-opcao:has(input:checked) { background: #393225; border-color: #d7b572; }
  .cf-passos button[aria-current="step"] { background: #e7c789; color: #171511; }
}
.ref-hero { position: relative; isolation: isolate; background: #10100f; min-height: 610px; color: #fff; }
.ref-photos { position: absolute; inset: 0 0 0 34%; z-index: -3; overflow: hidden; }
.ref-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; opacity: 0; transition: opacity .7s ease; }
.ref-photos img.is-active { opacity: 1; }
.ref-photos img[hidden] { display: none; }
.ref-hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg,#0b0b0b 0%,#0b0b0bf5 30%,#0b0b0bc9 44%,#0b0b0b25 70%,#0b0b0b05),linear-gradient(0deg,#111110 0%,transparent 20%); }
.ref-hero-wrap { width: min(1170px,100% - 110px); margin-inline: auto; position: relative; min-height: 610px; padding: 58px 0 125px; }
.ref-hero-copy { position: relative; z-index: 1; width: 510px; max-width: 100%; }
.ref-kicker { font-size: 10px; font-weight: 600; line-height: 1.5; letter-spacing: .22em; color: #edcb87; text-transform: uppercase; margin-bottom: 8px; }
.ref-hero h1 { color: #faf9f6; font-size: clamp(48px,6vw,76px); line-height: .99; font-weight: 600; letter-spacing: -.025em; margin-bottom: 20px; text-wrap: initial; }
.ref-hero h1 em,.ref-story h2 em { color: #e8c385; font-style: normal; }
.ref-lede { font-size: 18px; line-height: 1.35; margin-bottom: 30px; color: #f0efed; }
.ref-buttons { display: flex; gap: 14px; align-items: stretch; }
.ref-button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 52px; padding: 13px 20px; border-radius: 8px; font-size: 16px; font-weight: 600; text-decoration: none; border: 1px solid transparent; line-height: 1.3; transition: background .2s,border-color .2s; }
.ref-button .icon { width: 24px; height: 24px; }
.ref-button-gold { color: #15120d; background: linear-gradient(110deg,#e6c68c,#cba66d); }
.ref-button-gold:hover { color: #15120d; background: #f0d8ab; }
.ref-button-gold .icon:last-child { width: 18px; }
.ref-button-line { color: #fff; border-color: #ffffff80; min-width: 182px; background: #0a0a0a44; }
.ref-button-line:hover { color: #fff; background: #ffffff15; border-color: #e5c58b; }
.ref-benefits { display: flex; gap: 26px; margin-top: 34px; }
.ref-benefits > div { display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.5; color: #dfdedb; }
.ref-benefits .icon { width: 29px; height: 32px; color: #e5bd70; stroke-width: 1.3; }
.ref-photo-note { position: absolute; right: -20px; bottom: 107px; display: grid; justify-items: end; gap: 6px; }
.ref-photo-note p { font-size: 14px; line-height: 1.25; background: #13130fbb; backdrop-filter: blur(10px); border: 1px solid #ffffff40; border-radius: 10px; margin: 0; padding: 12px 18px; min-width: 265px; color: #eee; }
.ref-photo-controls { display: flex; align-items: center; background: #14140fbb; backdrop-filter: blur(10px); border: 1px solid #ffffff30; border-radius: 12px; font-size: 12px; }
.ref-photo-controls[hidden] { display: none; }
.ref-photo-pause { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); border: 0; padding: 0; }
.ref-photo-pause:focus-visible { position: static; width: auto; height: auto; min-height: 44px; clip-path: none; padding: 10px 16px; border: 1px solid #edce93; border-radius: 8px; color: #fff; background: #24231e; font: 600 14px/1.4 var(--sans); cursor: pointer; }
.ref-photo-controls button { border: 0; padding: 0; width: 40px; height: 38px; display: grid; place-items: center; background: transparent; color: #fff; cursor: pointer; border-radius: 10px; }
.ref-photo-controls button:hover { background: #ffffff20; }
.ref-photo-controls .icon { width: 16px; height: 16px; }
.ref-photo-controls span { padding: 0 8px; }
.ref-services { position: relative; width: min(1220px,100% - 64px); margin: -75px auto 0; padding: 22px 26px 24px; border: 1px solid #ffffff3b; border-radius: 15px; background: linear-gradient(120deg,#252524ee,#151514f7 75%); box-shadow: 0 24px 60px #0002; }
.ref-services-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.ref-rule { display: flex; align-items: center; font-size: 9px; margin-bottom: 6px; }
.ref-rule::before { content: ''; width: 18px; height: 1px; background: #d7b572; margin-right: 6px; }
.ref-services h2 { font-size: clamp(30px,3.9vw,46px); color: #f4f3f0; margin: 0; line-height: 1.12; letter-spacing: -.025em; }
.ref-services-more { text-align: right; font-size: 14px; line-height: 1.35; padding-bottom: 2px; }
.ref-services-more p { margin: 0 0 6px; color: #d6d5d1; }
.ref-services-more a { color: #faf7ed; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.ref-services-more .icon { width: 18px; height: 18px; color: #e5bf7a; }
.ref-cards { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; }
.ref-card { display: flex; flex-direction: column; align-items: start; color: #f5f4f0; text-decoration: none; min-height: 207px; padding: 20px 20px 15px; background: linear-gradient(130deg,#2c2c2af0,#1c1c1b); border: 1px solid #ffffff3d; border-radius: 11px; transition: border-color .2s,background .2s; }
.ref-card:hover { color: #fff; border-color: #e3c282; background: linear-gradient(130deg,#37332a,#20201c); }
.ref-card-icon { color: #e8c17b; margin-bottom: 9px; }
.ref-card-icon .icon { width: 35px; height: 39px; stroke-width: 1.25; }
.ref-card h3 { font: 600 17px/1.1 var(--sans); color: #fff; margin: 0 0 9px; text-wrap: initial; }
.ref-card p { font-size: 13px; line-height: 1.3; color: #d0cfcc; margin: 0 0 12px; flex: 1; text-wrap: initial; }
.ref-card-arrow { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #ffffff80; border-radius: 50%; }
.ref-card-arrow .icon { width: 15px; height: 15px; }
.ref-story { width: min(1280px,100%); margin: 24px auto 0; display: grid; grid-template-columns: 42.5% 57.5%; min-height: 342px; gap: 0; align-items: center; }
.ref-story-photo { height: 342px; position: relative; margin-right: 28px; }
.ref-story-photo::before { content: ''; position: absolute; inset: 0 -22px 0 0; background: #d7b572; clip-path: polygon(0 0,76% 0,100% 46%,100% 60%,76% 100%,0 100%,0 calc(100% - 1px),75.8% calc(100% - 1px),99.7% 59.8%,99.7% 46.2%,75.8% 1px,0 1px); }
.ref-story-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; clip-path: polygon(0 0,88% 0,100% 12%,100% 87%,92% 100%,0 100%); border-top: 3px solid #dfbf83; }
.ref-story-copy { padding: 10px 44px 20px 20px; }
.ref-story .ref-kicker { font-size: 13px; letter-spacing: .17em; line-height: 1.35; margin-bottom: 10px; }
.ref-story h2 { color: #f4f3f0; font-size: clamp(30px,4.1vw,53px); line-height: 1.04; letter-spacing: -.025em; text-wrap: initial; margin-bottom: 16px; }
.ref-story-copy > p:not(.ref-kicker) { font-size: 16px; line-height: 1.3; color: #e3e2df; margin-bottom: 20px; }
.ref-stats { display: grid; grid-template-columns: .9fr 1.1fr 1.15fr; }
.ref-stats > div { display: flex; align-items: center; gap: 14px; font-size: 13px; line-height: 1.5; min-height: 64px; }
.ref-stats > div + div { border-left: 1px solid #ffffff38; padding-left: 22px; }
.ref-stats .icon { width: 42px; height: 42px; padding: 8px; border: 1.5px solid #e0bb74; border-radius: 50%; color: #e8c17b; }
.ref-stats strong { display: block; font: 600 20px/1.1 var(--serif); color: #fff; }
.ref-contact { width: min(1220px,100% - 64px); margin: 0 auto 22px; border: 1px solid #ffffff48; border-radius: 14px; background: linear-gradient(125deg,#30302f,#191918); display: grid; grid-template-columns: 1.12fr .82fr 1.1fr; padding: 20px 14px; position: relative; }
.ref-contact-item { display: flex; gap: 16px; align-items: center; padding: 3px 16px; color: #f2f1ef; text-decoration: none; min-width: 0; }
.ref-contact-item + .ref-contact-item { border-left: 1px solid #ffffff25; }
.ref-contact-item:hover { color: #f2d59d; }
.ref-contact-icon { background: #f1f1ef; color: #161616; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; flex: none; }
.ref-contact-icon .icon { width: 27px; height: 27px; stroke-width: 1.4; }
.ref-contact h2 { font: 600 13px/1.35 var(--sans); color: inherit; margin: 0 0 5px; }
.ref-contact h2 .icon { width: 11px; height: 11px; vertical-align: middle; }
.ref-contact p { font-size: 13px; line-height: 1.7; margin: 0; overflow-wrap: anywhere; }
.ref-contact p a { color: inherit; text-decoration: none; }
.ref-contact p a:hover { text-decoration: underline; color: #f2d59d; }
.ref-visit { padding: 64px 0 72px; background: linear-gradient(130deg,#181817,#111110 80%); }
.ref-visit-wrap,.reference-home .site-footer > .wrap { width: min(1220px,100% - 64px); margin-inline: auto; }
.ref-visit-heading { margin-bottom: 30px; }
.ref-visit-heading .ref-kicker { margin-bottom: 10px; }
.ref-visit-heading h2 { font-size: clamp(30px,3.4vw,44px); color: #f4f3ef; margin: 0 0 14px; letter-spacing: -.025em; }
.ref-visit-heading h2 em { font-style: normal; color: #e8c385; }
.ref-visit-line { display: block; width: 48px; height: 1px; background: #d7b572; }
.ref-visit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: stretch; }
.ref-address-card { background: linear-gradient(135deg,#282826,#1b1b19); border: 1px solid #ffffff38; border-radius: 14px; padding: 28px; box-shadow: 0 12px 30px #0002; min-width: 0; }
.ref-address-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 20px; }
.ref-address-list li { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 14px; align-items: start; }
.ref-address-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #c4a46b66; border-radius: 50%; background: #d7b5720d; color: #e8c385; }
.ref-address-icon .icon { width: 20px; height: 20px; stroke-width: 1.5; }
.ref-address-list h3 { font: 600 11px/1.4 var(--sans); text-transform: uppercase; letter-spacing: .16em; margin: 1px 0 5px; color: #e8c385; }
.ref-address-list p { font-size: 15px; line-height: 1.55; color: #e4e3df; margin: 0; overflow-wrap: anywhere; }
.ref-address-list a { color: #f4f3ef; text-decoration-color: #d7b57280; }
.ref-address-list a:hover { color: #edce93; }
.ref-map-button { font-size: 14px; min-height: 46px; padding: 12px 18px; }
.ref-map-button .icon { width: 17px; height: 17px; }
.ref-map { min-height: 440px; border: 1px solid #c9b08080; border-radius: 14px; overflow: hidden; background: #242422; box-shadow: 0 12px 30px #0002; }
.ref-map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; }
.reference-home .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1.1fr; gap: 30px; }
.reference-home .footer-grid > div { min-width: 0; }
.reference-home .footer-grid p,.reference-home .footer-grid ul { font-size: 14px; line-height: 1.65; }
.reference-home .site-footer .delegacao { font-size: 12px; line-height: 1.6; }
.reference-home .footer-grid a { overflow-wrap: anywhere; text-decoration-color: #cdb57e70; }
.reference-home .footer-grid a:hover { color: #edce93; }
.reference-home .site-footer h2 { line-height: 1.4; font-size: 11px; }
.reference-home { background: radial-gradient(ellipse at 45% 75%,#272725 0%,#111110 52%); }
.reference-home .site-footer { background: #0b0b0a; padding: 52px 0 24px; border-top: 1px solid #c8a76b; }
.reference-home .footer-grid { display: grid; }
.reference-home .footer-credito { display: block; }
.reference-home .footer-bottom { border-top: 1px solid #ffffff20; margin-top: 32px; padding-top: 22px; font-size: 12px; color: #b8b7b3; }
.reference-home .footer-bottom span:last-child { max-width: 58%; }
.reference-home .footer-bottom a { color: #d6c49e; }
@media (min-width: 1280px) {
  .ref-hero-wrap { padding-top: 70px; min-height: 680px; }
  .ref-hero-copy { width: 620px; }
  .ref-hero h1 { font-size: 76px; }
  .ref-lede { font-size: 21px; }
  .ref-benefits { gap: 36px; }
  .ref-benefits > div { font-size: 15px; }
  .ref-services { padding: 30px; }
  .ref-card { min-height: 230px; }
  .ref-card p { font-size: 15px; }
  .ref-story,.ref-story-photo { min-height: 410px; }
  .ref-contact { margin-top: 0; }
}
@media (max-width: 1100px) and (min-width: 821px) {
  .brandbar .wrap { width: calc(100% - 80px); }
  .brand { gap: 16px; }
  .brand img { width: 180px; }
  .brand-text { padding-left: 16px; }
  .brand-text b { font-size: 14px; }
  .brand-contact a { padding-right: 20px; }
  .brand-contact small { font-size: 8px; }
  .brand-contact b { font-size: 19px; }
}
@media (max-width: 900px) {
  .ref-visit-grid { grid-template-columns: 1fr 1.1fr; gap: 18px; }
  .ref-address-card { padding: 22px; }
  .ref-address-list li { grid-template-columns: 32px minmax(0,1fr); gap: 10px; }
  .ref-address-icon { width: 32px; height: 32px; }
  .reference-home .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; }
  .ref-hero-wrap { width: calc(100% - 64px); padding-top: 46px; }
  .ref-hero h1 { font-size: 58px; }
  .ref-hero-shade { background: linear-gradient(90deg,#0b0b0bf7,#0b0b0bd5 42%,#0b0b0b33),linear-gradient(0deg,#111110,transparent 40%); }
  .ref-photo-note { right: 0; bottom: 90px; }
  .ref-photo-note p { min-width: 0; font-size: 12px; }
  .ref-services-head { align-items: start; }
  .ref-services-more { max-width: 235px; }
  .ref-cards { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
  .ref-card { min-height: 210px; }
  .ref-story { grid-template-columns: 40% 60%; }
  .ref-story-photo { height: 380px; }
  .ref-story-copy { padding-right: 30px; }
  .ref-story h2 { font-size: 33px; }
  .ref-stats { gap: 12px; }
  .ref-stats > div { flex-direction: column; align-items: start; gap: 8px; }
  .ref-stats > div + div { padding-left: 12px; }
  .ref-contact { grid-template-columns: 1fr; padding: 6px 22px; margin-top: 20px; }
  .ref-contact-item { padding: 18px 0; }
  .ref-contact-item + .ref-contact-item { border-left: 0; border-top: 1px solid #ffffff25; }
}
/* Cabeçalho de celular (menu ☰) só abaixo de 820px: notebooks com zoom de 125-150% mantêm o menu normal. */
@media (max-width: 820px) {
  .site-header { top: 0; }
  .topbar .wrap { width: calc(100% - 40px); }
  .topbar .social { display: none; }
  .brandbar .wrap { width: calc(100% - 40px); min-height: 76px; }
  .brandbar .brand-text { display: none; }
  .navbar .wrap { width: 100%; }
  .nav { background: #191918; }
  .nav a.link { min-height: 48px; }
  .nav .submenu { background: transparent; }
  .head-call { display: grid; }
}
@media (max-width: 600px) {
  .ref-visit { padding: 42px 0 44px; margin-top: 32px; }
  .ref-visit-wrap,.reference-home .site-footer > .wrap { width: calc(100% - 32px); }
  .ref-visit-heading { margin-bottom: 24px; padding-inline: 8px; }
  .ref-visit-heading h2 { font-size: 31px; line-height: 1.15; }
  .ref-visit-grid { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .ref-address-card { padding: 24px 20px; }
  .ref-address-list { gap: 22px; }
  .ref-address-list li { grid-template-columns: 36px minmax(0,1fr); gap: 12px; }
  .ref-address-icon { width: 36px; height: 36px; }
  .ref-map,.ref-map iframe { min-height: 320px; }
  .ref-map-button { width: 100%; }
  .reference-home .site-footer { padding-top: 36px; }
  .reference-home .footer-grid { grid-template-columns: minmax(0,1fr); gap: 30px; padding-inline: 8px; }
  .reference-home .footer-grid p,.reference-home .footer-grid ul { font-size: 15px; }
  .topbar { display: none; }
  .brandbar .wrap { width: calc(100% - 32px); min-height: 74px; }
  .brand img { width: 170px; }
  .nav-toggle span { display: none; }
  .nav-toggle { width: 44px; padding: 9px; justify-content: center; }
  .ref-hero { min-height: 730px; }
  .ref-photos { inset: 0; height: 410px; }
  .ref-photos img { object-position: center 69%; }
  .ref-hero-shade { background: linear-gradient(0deg,#111110 39%,#111110ed 53%,#11111015 100%); }
  .ref-hero-wrap { width: calc(100% - 40px); min-height: 730px; padding: 275px 0 52px; }
  .ref-kicker { font-size: 9px; letter-spacing: .17em; }
  .ref-hero h1 { font-size: clamp(40px,11.4vw,60px); line-height: 1.02; margin-bottom: 18px; }
  .ref-lede { font-size: 16px; line-height: 1.45; margin-bottom: 24px; }
  .desktop-break { display: none; }
  .ref-buttons { gap: 10px; }
  .ref-button { padding: 13px 12px; gap: 8px; font-size: 14px; min-width: 0; }
  .ref-button-gold { flex: 1.4; }
  .ref-button-line { flex: 1; }
  .ref-button .icon { width: 20px; height: 20px; }
  .ref-button-gold .icon:last-child { display: none; }
  .ref-benefits { gap: 10px; margin-top: 26px; justify-content: space-between; }
  .ref-benefits > div { gap: 7px; font-size: 11px; }
  .ref-benefits .icon { width: 23px; height: 27px; }
  .ref-photo-note { top: 182px; bottom: auto; right: 0; }
  .ref-photo-note p { display: none; }
  .ref-photo-controls button { width: 44px; height: 42px; }
  .ref-services { width: calc(100% - 32px); margin-top: 0; padding: 22px 16px 18px; border-radius: 14px; }
  .ref-services-head { display: block; margin-bottom: 20px; }
  .ref-services h2 { font-size: 31px; }
  .ref-services-more { text-align: left; max-width: none; margin-top: 12px; font-size: 14px; }
  .ref-services-more p { display: none; }
  .ref-cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .ref-card { min-height: 210px; padding: 18px 14px 14px; }
  .ref-card h3 { font-size: 17px; line-height: 1.15; }
  .ref-card p { font-size: 14px; line-height: 1.35; }
  .ref-card-arrow { width: 32px; height: 32px; }
  .ref-story { display: flex; flex-direction: column; margin-top: 30px; gap: 26px; }
  .ref-story-photo { width: calc(100% - 48px); align-self: start; height: 280px; min-height: 0; margin-right: 0; }
  .ref-story-photo img { object-position: center 60%; }
  .ref-story-copy { padding: 0 24px; }
  .ref-story .ref-kicker { font-size: 11px; }
  .ref-story h2 { font-size: 34px; line-height: 1.1; }
  .ref-story h2 br { display: none; }
  .ref-story-copy > p:not(.ref-kicker) { font-size: 16px; line-height: 1.5; }
  .ref-stats { gap: 10px; }
  .ref-stats > div { font-size: 12px; }
  .ref-stats > div + div { padding-left: 10px; }
  .ref-contact { width: calc(100% - 32px); margin-top: 30px; padding: 6px 18px; }
  .ref-contact h2 { font-size: 14px; }
  .ref-contact p { font-size: 14px; }
  .ref-contact-item { gap: 14px; }
  .ref-contact-icon { width: 42px; height: 42px; }
  .reference-home .footer-bottom { display: grid; gap: 12px; padding-inline: 8px; }
  .reference-home .footer-bottom span:last-child { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .ref-card,.ref-button,.ref-photos img { transition: none; } }
@media (max-width: 360px) {
  .ref-benefits { gap: 7px; }
  .ref-benefits > div { gap: 5px; font-size: 10px; }
  .ref-benefits .icon { width: 20px; }
  .ref-button { font-size: 13px; padding-inline: 10px; }
}
@media print {
  .ref-photo-controls,.ref-buttons { display: none !important; }
  .ref-hero,.ref-services,.ref-contact { color: #111; background: #fff; }
}

/* Notebooks e monitores pequenos (821-1100px, comum com zoom de 125-150% no Windows): menu normal, mais justo. */
@media (max-width: 1100px) and (min-width: 821px) {
  .topbar .wrap, .navbar .wrap { width: calc(100% - 48px); }
  .nav a.link { padding-inline: 12px; }
  .ref-hero-wrap { width: calc(100% - 64px); }
  .ref-hero h1 { font-size: 60px; }
}
@media (max-width: 960px) and (min-width: 821px) {
  .brand-text b { font-size: 13px; }
  .brand-text span { display: none; }
  .ref-cards { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
}

/* Telas baixas (notebooks de 768px de altura, ou com zoom): abertura compacta, sem esconder o conteúdo. */
@media (max-height: 760px) and (min-width: 821px) {
  .ref-hero, .ref-hero-wrap { min-height: 0; }
  .ref-hero-wrap { padding: 36px 0 104px; }
  .ref-hero h1 { font-size: clamp(44px, 5.2vw, 62px); margin-bottom: 14px; }
  .ref-lede { font-size: 17px; margin-bottom: 22px; }
  .ref-benefits { margin-top: 24px; }
  .ref-photo-note { bottom: 92px; }
}

/* Monitores grandes (1500px ou mais): conteúdo mais largo e foto ocupando mais a tela. */
@media (min-width: 1500px) {
  :root { --maxw: 1320px; }
  .topbar .wrap, .brandbar .wrap, .navbar .wrap, .ref-hero-wrap { width: min(1320px, 100% - 140px); }
  .ref-services, .ref-contact, .ref-visit-wrap, .reference-home .site-footer > .wrap { width: min(1380px, 100% - 100px); }
  .ref-story { width: min(1440px, 100% - 60px); }
  .ref-photos { inset: 0 0 0 24%; }
  .ref-hero-shade { background: linear-gradient(90deg,#0b0b0b 0%,#0b0b0bf2 24%,#0b0b0bc4 40%,#0b0b0b25 68%,#0b0b0b05),linear-gradient(0deg,#111110 0%,transparent 20%); }
  .ref-hero-copy { width: 680px; }
  .ref-hero h1 { font-size: 84px; }
  .ref-hero-wrap { min-height: 720px; }
}
@media (min-width: 1800px) {
  :root { --maxw: 1440px; }
  .topbar .wrap, .brandbar .wrap, .navbar .wrap, .ref-hero-wrap { width: min(1440px, 100% - 180px); }
  .ref-services, .ref-contact, .ref-visit-wrap, .reference-home .site-footer > .wrap { width: min(1500px, 100% - 140px); }
  .ref-story { width: min(1560px, 100% - 80px); }
  .ref-photos { inset: 0 0 0 20%; }
  .ref-hero-copy { width: 740px; }
  .ref-hero h1 { font-size: 92px; }
  .ref-lede { font-size: 23px; }
  .ref-hero-wrap { min-height: 760px; }
}
@media (min-width: 1500px) and (max-height: 760px) {
  .ref-hero-wrap { min-height: 0; }
  .ref-hero h1 { font-size: 66px; }
}
