/* Fonte Inter (licenca OFL) embutida no site, para o texto ficar igual em qualquer aparelho */
@font-face { font-family: "Urbana Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/inter-500.woff") format("woff"); }
@font-face { font-family: "Urbana Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/inter-600.woff") format("woff"); }
@font-face { font-family: "Urbana Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/inter-700.woff") format("woff"); }
@font-face { font-family: "Urbana Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/inter-display-700.woff") format("woff"); }
@font-face { font-family: "Urbana Display"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/inter-display-800.woff") format("woff"); }

:root {
  --ink: #fff;
  --muted: #e9f5ee;
  --mint: #a8ffd0;
  --label: #7dffc0;
  --green: #2cf08c;
  --deep: #0a2a1c;
  --surface: rgba(44, 240, 140, .1);
  --white: #fff;
  --paper: #0b2d1f;
  --black: #050f0a;
  --line: rgba(44, 240, 140, .26);
  --btn: linear-gradient(135deg, #4cf8a6 0%, #22e585 52%, #0fc272 100%);
  --btn-hover: linear-gradient(135deg, #7affbd 0%, #3df098 52%, #1fd584 100%);
  --btn-ink: #02150d;
  --glow: 0 10px 30px rgba(34, 229, 133, .3);
  --bar-h: 108px;
  --logo-w: 232px;
  --logo-w-small: 104px;
  --sans: "Urbana Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Urbana Display", "Inter Display", "Urbana Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: dark;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
/* Quando a pagina e publicada no visualizador do Claude, ele coloca um "esqueleto" em volta (body com fundo branco, letra preta e fonte do sistema).
   Estas regras garantem que o site use as proprias cores e fontes, tanto la quanto em qualquer hospedagem normal. */
:root:root { color-scheme: dark; }
html body { margin: 0; padding: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; font-weight: 500; line-height: 1.6; }
main, header, footer, .section, .institutional { color: var(--ink); }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
figure, p, dl, dd { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); line-height: 1.08; letter-spacing: -.02em; }
h4 { font-family: var(--sans); }
h1 { font-size: clamp(3.15rem, 5.8vw, 6rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.2vw, 3.65rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 700; letter-spacing: -.01em; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #7dffc0; outline-offset: 4px; }
section[id] { scroll-margin-top: calc(var(--bar-h) + 16px); }
.shell { width: min(1320px, calc(100% - 104px)); margin-inline: auto; }
.section { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(64px, 8vw, 114px); }
.skip { position: fixed; inset: 10px auto auto 10px; transform: translateY(-160%); z-index: 20; background: var(--paper); padding: .5rem 1rem; }
.skip:focus { transform: none; }

/* Topo: a logo grande fica pendurada sobre a abertura e encolhe quando a pagina rola */
.header { position: sticky; top: 0; z-index: 5; background: var(--black); color: #fff; transition: box-shadow .3s ease; }
.header.is-compact { box-shadow: 0 10px 30px rgba(0, 0, 0, .6); }
.header-inner { min-height: var(--bar-h); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.header .brand { position: relative; align-self: stretch; width: var(--logo-w); }
.header .brand:focus-visible { outline: none; }
.header .brand:focus-visible img { outline: 3px solid #7dffc0; outline-offset: 4px; border-radius: 8px; }
.header .brand img { position: absolute; top: 10px; left: 0; width: var(--logo-w); height: auto; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .6)); transition: width .3s ease, top .3s ease; }
.header.is-compact .brand img { width: var(--logo-w-small); top: 8px; }
.header .portal { border-color: rgba(255, 255, 255, .6); }
.header .portal:hover { background: rgba(44, 240, 140, .14); border-color: var(--green); }
.header :focus-visible, .hero :focus-visible, footer :focus-visible { outline-color: #7dffc0; }
.desktop-nav, .header-actions { display: flex; align-items: center; }
.desktop-nav { gap: clamp(13px, 1.65vw, 27px); font-size: .89rem; font-weight: 600; }
.desktop-nav a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.desktop-nav a:hover { color: var(--green); }
.header .header-proposal { white-space: nowrap; box-shadow: 0 5px 16px rgba(34, 229, 133, .28); }
@media (min-width: 641px) { .header .portal { white-space: nowrap; } }
.text-link:hover, .mobile-nav a:hover { color: var(--green); }
.header-actions { gap: 11px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 48px; border: 1px solid transparent; border-radius: 100px; padding: .73rem 1.19rem; font-weight: 700; font-size: .91rem; line-height: 1.25; text-align: center; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.button span, .text-link span { font-size: 1.08em; }
.proposal-link { gap: .8rem; border-color: rgba(255, 255, 255, .35); border-radius: 12px; padding: .42rem .48rem .42rem 1rem; background: var(--btn); color: var(--btn-ink); box-shadow: var(--glow); }
.proposal-link span { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 8px; background: #03170f; color: #7dffc0; font-size: 1.12rem; line-height: 1; }
.proposal-link:hover { background: var(--btn-hover); border-color: #d6ffe9; }
.hero .proposal-link { min-height: 54px; padding-left: 1.2rem; }
.hero .proposal-link span { width: 38px; height: 38px; }
.primary { background: var(--btn); color: var(--btn-ink); box-shadow: var(--glow); }
.primary:hover { background: var(--btn-hover); }
.outline { background: transparent; border-color: rgba(255, 255, 255, .55); }
.outline:hover { background: rgba(44, 240, 140, .14); border-color: var(--green); }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .9rem; font-weight: 700; }
.mobile-nav { display: none; }
.hero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: clamp(480px, 44vw, 665px); padding: clamp(110px, 12vw, 176px) 0 clamp(52px, 8vw, 128px); color: #fff; background: radial-gradient(900px 580px at 80% 56%, rgba(44, 240, 140, .2), transparent 68%), linear-gradient(180deg, #050f0a 0%, #08221a 52%, #0b2d1f 100%); }
.hero-grid { position: relative; }
.hero-copy { width: min(100%, 650px); }
.label { color: var(--label); font-size: .78rem; font-weight: 700; line-height: 1.35; letter-spacing: .105em; text-transform: uppercase; display: flex; align-items: center; gap: 9px; }
.label > span { width: 17px; height: 2px; background: var(--label); }
.hero-category { color: #f2fbf6; font-size: clamp(.72rem, 1.25vw, .86rem); font-weight: 700; line-height: 1.4; letter-spacing: .11em; text-transform: uppercase; }
.hero .hero-slogan { margin: 17px 0 24px; max-width: 8.1em; color: #fff; font-family: var(--display); font-size: clamp(3.3rem, 7.15vw, 7rem); font-weight: 800; line-height: 1; letter-spacing: -.025em; }
.hero-slogan span { color: var(--green); }
@supports (background-clip: text) {
  .hero-slogan span { color: transparent; background: linear-gradient(112deg, #a6ffd2 0%, #2cf08c 46%, #10cf7b 100%); background-clip: text; }
}
.lead { max-width: 34rem; color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.18rem); }
.hero .lead { max-width: 31rem; color: #f1f8f4; }
.hero-actions { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; margin-top: 26px; }
.hero .outline { border-color: rgba(255, 255, 255, .6); background: rgba(4, 10, 7, .5); }
.hero .outline:hover { background: rgba(44, 240, 140, .18); border-color: var(--green); }
/* Foto do Parque Barigui: fica num bloco menor, com as bordas esfumadas. Assim ela nao e esticada alem do necessario e perde menos nitidez */
.hero-photo picture { display: block; width: 100%; height: 100%; }
.hero-photo img { display: block; }
.hero-photo { position: absolute; z-index: -1; top: 53%; right: 0; width: min(62vw, 900px); height: min(100%, 640px); transform: translateY(-50%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 11%, #000 42%); mask-image: linear-gradient(90deg, transparent 0%, transparent 11%, #000 42%); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 58%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .3) 12%, rgba(0, 0, 0, .75) 28%, #000 42%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .3) 12%, rgba(0, 0, 0, .75) 28%, #000 42%, #000 82%, transparent 100%); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 15, 10, .4) 0%, rgba(5, 15, 10, 0) 42%); }
.institutional { padding-top: clamp(34px, 5vw, 74px); background: radial-gradient(900px 480px at 92% 45%, rgba(44, 240, 140, .1), transparent 65%), linear-gradient(180deg, #0b2d1f 0%, #0d3626 100%); }
.institution-panel { display: grid; align-items: center; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: clamp(25px, 4vw, 64px); border-radius: 12px; padding: clamp(25px, 4.4vw, 70px); color: #fff; background: radial-gradient(640px 420px at 100% 100%, rgba(44, 240, 140, .13), transparent 70%), linear-gradient(112deg, #0a1f16 0%, #0d3022 52%, #12452f 100%); border: 1px solid rgba(44, 240, 140, .34); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); position: relative; isolation: isolate; overflow: hidden; }
.institution-panel::after { content: ""; z-index: -1; position: absolute; inset: 0 0 0 auto; width: min(62%, 730px); opacity: .09; background: url("assets/marca-dagua.svg") right bottom / auto 120% no-repeat; pointer-events: none; }
.institution-panel .label { color: var(--label); }
.institution-panel .label span { background: var(--label); }
.institution-copy h2, .section h2 { margin-top: 11px; }
.institution-copy p:last-child { color: #e3f0e8; margin-top: 15px; max-width: 35rem; }

.founder { display: grid; grid-template-columns: clamp(112px, 13vw, 175px) minmax(0, 1fr); align-items: center; gap: clamp(15px, 2.6vw, 32px); padding-left: clamp(17px, 3vw, 40px); border-left: 1px solid rgba(44, 240, 140, .4); }
.founder img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 54% 38%; border-radius: 8px; background: rgba(0, 0, 0, .3); }
.founder h3 { font-size: clamp(1.2rem, 2.1vw, 1.7rem); }
.founder-role { margin-top: 7px; color: var(--mint); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.founder-copy p:last-child { margin-top: 10px; color: #fff; font-size: .9rem; }

.service-tabs { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; padding-bottom: 12px; }
.service-tabs[hidden], .service-panel[hidden] { display: none; }
.service-tabs button { min-height: 45px; border: 1px solid rgba(44, 240, 140, .4); border-radius: 100px; background: rgba(255, 255, 255, .04); padding: 8px 17px; color: var(--ink); font-size: .92rem; font-weight: 600; }
.service-tabs button:hover { background: rgba(44, 240, 140, .16); }
.service-tabs button[aria-selected="true"] { color: var(--btn-ink); background: var(--btn); border-color: transparent; box-shadow: var(--glow); }
.service-panel { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); align-items: start; gap: clamp(20px, 4vw, 68px); margin-top: 10px; padding: clamp(20px, 4vw, 55px); border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(160deg, rgba(44, 240, 140, .14), rgba(255, 255, 255, .05)); }
.service-panel h3 { font-size: clamp(1.65rem, 3.25vw, 2.65rem); }
.service-copy > p { max-width: 41rem; margin-top: 13px; color: var(--muted); }
.service-copy .button { margin-top: 20px; }
.service-photo { width: 100%; height: auto; aspect-ratio: 5 / 3; border-radius: 8px; object-fit: cover; }
#administracao-condominial, #sindico-profissional { grid-template-columns: 1fr; }
.syndic-profiles { display: grid; grid-template-columns: minmax(0, 300px); gap: 16px; }
.syndic-profile { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: rgba(0, 0, 0, .38); }
.syndic-profile img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 54% 42%; }
.syndic-profile figcaption { display: grid; gap: 3px; padding: 13px clamp(10px, 1.4vw, 18px); }
.syndic-profile figcaption strong { line-height: 1.3; }
.syndic-profile figcaption span { color: var(--muted); font-size: .9rem; }
.service-areas { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin: 26px 0 0; padding: 0; list-style: none; }
.service-areas li { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: rgba(0, 0, 0, .28); }
.service-areas img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.service-areas h4 { margin: 14px 16px 0; font-size: 1.04rem; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.service-areas p { margin: 6px 16px 16px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.service-steps { color: var(--muted); font-size: .93rem; margin-block: 15px 0; padding-inline-start: 20px; }
.service-steps li { padding-inline-start: 3px; margin-block: 5px; }
.service-steps li::marker { color: var(--green); }
.other-contact p { color: var(--muted); margin-top: 9px; font-size: .96rem; }

.services { background: radial-gradient(900px 520px at 0% 0%, rgba(44, 240, 140, .12), transparent 62%), radial-gradient(800px 560px at 100% 100%, rgba(20, 170, 100, .13), transparent 64%), linear-gradient(180deg, #0d3626 0%, #113f2d 100%); }
.differences { color: var(--ink); background: linear-gradient(135deg, #134733 0%, #164f39 55%, #195a40 100%); }
.differences .label { color: var(--mint); }
.differences .label span { background: var(--mint); }
.difference-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 36px; }
.difference-grid article { border-top: 1px solid rgba(44, 240, 140, .55); padding: 16px 0 3px; }
.difference-grid article p { color: #fff; margin-top: 9px; }
.accounts { background: radial-gradient(900px 520px at 100% 0%, rgba(44, 240, 140, .1), transparent 62%), linear-gradient(180deg, #113f2d 0%, #134733 100%); }
.accounts .lead { margin-top: 16px; }
.accounts-visual a, .system-feature > a { display: block; }
.accounts-visual a:hover img, .system-feature > a:hover img { filter: brightness(1.08); }
.accounts-visual img { border: 1px solid var(--line); border-radius: 10px; width: 100%; height: auto; }
.accounts-visual figcaption { color: var(--muted); font-size: .88rem; margin-top: 10px; }
.account-options { margin: 20px 0; padding-inline-start: 23px; }
.account-options li { padding: 9px 0 9px 5px; border-bottom: 1px solid var(--line); }
.account-options li::marker { color: var(--green); font-weight: 700; }
.account-options p { color: var(--muted); font-size: .94rem; }
.app { background: radial-gradient(900px 560px at 0% 100%, rgba(44, 240, 140, .13), transparent 60%), linear-gradient(135deg, #134733 0%, #165239 60%, #195a40 100%); }
.app .label, .app .resident-device { color: #effff6; }
.app .label > span { background: var(--mint); }
.app-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(25px, 6vw, 95px); }
.app .lead, .contact .lead { margin-top: 17px; }
.resident-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); margin-top: 30px; }
.resident-card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(22px, 3.4vw, 46px); border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, rgba(44, 240, 140, .08), rgba(255, 255, 255, .03) 70%); }
.resident-mobile { background: linear-gradient(145deg, rgba(44, 240, 140, .11), rgba(255, 255, 255, .04) 70%); }
.resident-device { margin-bottom: 10px; color: var(--label); font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.resident-card h3 { font-size: clamp(1.45rem, 2.5vw, 2.1rem); }
.resident-card p, .resident-help p { margin-block: 11px 0; color: #fff; }
.resident-features { display: grid; gap: 8px; width: 100%; margin-block: 16px 4px; padding-left: 20px; }
.resident-features li::marker { color: var(--green); }
.resident-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.app-visual { width: min(100%, 430px); margin-top: 17px; background: rgba(0, 0, 0, .4); overflow: hidden; border-radius: 10px; }
.app-visual img { width: 100%; height: auto; }
.system-features { margin-top: 52px; }
.system-features > h3 { font-size: clamp(1.45rem, 2.7vw, 2.25rem); margin-bottom: 17px; }
.system-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.system-feature { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: rgba(0, 0, 0, .26); }
.system-feature > a:focus-visible { outline-offset: -4px; }
.system-feature img { width: 100%; height: auto; aspect-ratio: 5 / 2; object-fit: cover; object-position: center top; }
.system-feature > div { padding: 17px 22px 22px; }
.system-feature h4 { margin: 0 0 5px; font-size: 1.1rem; }
.system-feature p { color: var(--muted); font-size: .94rem; }
.resident-help { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 21px; padding: clamp(22px, 3.4vw, 38px); border: 1px solid var(--line); border-radius: 12px; }
.resident-help p { max-width: 46rem; }
.resident-help .button { flex: none; }
.faq { background: radial-gradient(800px 480px at 0% 0%, rgba(44, 240, 140, .08), transparent 62%), linear-gradient(180deg, #12402f 0%, #0e3425 100%); }
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(25px, 6vw, 100px); }
.questions details { border-top: 1px solid var(--line); }
.questions details:last-child { border-bottom: 1px solid var(--line); }
.questions summary { display: flex; gap: 15px; justify-content: space-between; align-items: center; padding: 17px 0; cursor: pointer; font-weight: 600; list-style: none; }
.questions summary::after { content: "+"; color: var(--green); font-weight: 500; font-size: 1.5rem; line-height: 1; }
.questions details[open] summary::after { content: "−"; }
.questions p { color: var(--muted); padding: 0 25px 18px 0; font-size: .96rem; }
.contact { background: radial-gradient(900px 560px at 100% 0%, rgba(44, 240, 140, .1), transparent 60%), linear-gradient(150deg, #155c3d 0%, #10492f 52%, #0b3626 100%); }
.contact .lead, .contact address { color: #fff; }
.contact .label { color: #fff; }
.contact .label > span { background: #fff; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(25px, 7vw, 94px); }
address { display: grid; justify-items: start; gap: 0; margin-top: 15px; font-size: .94rem; font-style: normal; font-weight: 600; }
address a { display: block; padding-block: 10px; min-height: 44px; }
address a:hover { text-decoration: underline; }
.nowrap { white-space: nowrap; }
.proposal, .other-contact article { padding: clamp(18px, 3.2vw, 34px); border-radius: 11px; background: linear-gradient(160deg, rgba(44, 240, 140, .08), rgba(0, 0, 0, .28)); border: 1px solid var(--line); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 14px; margin-bottom: 20px; }
.fields label { font-size: .9rem; font-weight: 600; display: flex; flex-direction: column; }
.fields small { display: contents; color: var(--muted); font-weight: 500; }
.fields input, .fields select { background: rgba(0, 0, 0, .4); color: var(--ink); caret-color: #fff; border: 1px solid rgba(255, 255, 255, .42); border-radius: 6px; margin-top: 6px; width: 100%; padding: 10px; min-height: 45px; }
.fields select option { background: #0b2d1f; color: #fff; }
.fields input::placeholder { color: #cfe3d8; opacity: 1; }
.fields input:-webkit-autofill, .fields select:-webkit-autofill { -webkit-text-fill-color: #fff; caret-color: #fff; box-shadow: 0 0 0 100px #0a2a1c inset; }
::selection { background: var(--green); color: var(--btn-ink); }
.proposal .button { width: 100%; }
.form-note { margin-top: 10px; color: var(--muted); font-size: .86rem; }
.other-contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 16px; margin-top: 23px; }
.other-contact .text-link, .partner-links { margin-top: 15px; }
.partner-links { display: flex; flex-wrap: wrap; gap: 7px; }
.partner-links .button { min-height: 44px; padding-inline: .86rem; font-size: .83rem; }
footer { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: linear-gradient(135deg, #07140e, #0b2a1d); border-top: 1px solid rgba(44, 240, 140, .2); padding-top: 34px; }
.footer-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 23px; align-items: start; padding-bottom: 24px; }
.footer-inner > * { display: grid; gap: 7px; justify-items: start; }
.footer-inner p, .footer-inner a { color: #e6f2eb; font-size: .89rem; }
.footer-inner a:hover { text-decoration: underline; }
.footer-inner .brand { margin-bottom: 6px; }
.footer-brand .brand img { width: 214px; height: auto; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(44, 240, 140, .22); padding-block: 15px; font-size: .82rem; color: #e6f2eb; }

/* Marca d'agua: logo da Urbana em tom sobre tom no fundo das secoes e do rodape */
.section::before, footer::before { content: ""; position: absolute; z-index: -1; pointer-events: none; width: var(--wm-w, 760px); aspect-ratio: 1167 / 1026; background: url("assets/marca-dagua-logo.svg") center / contain no-repeat; opacity: var(--wm-o, .05); top: 50%; transform: translateY(-50%); right: var(--wm-r, auto); left: var(--wm-l, auto); }
/* lados alternados: servicos D, diferenciais E, contas D, app E, duvidas D, contato E, rodape D (o logo do rodape fica a esquerda, sem marca atras) */
.services { --wm-w: 760px; --wm-r: -190px; }
.differences { --wm-w: 620px; --wm-l: -190px; --wm-o: .045; }
.accounts { --wm-w: 680px; --wm-r: -220px; }
.app { --wm-w: 700px; --wm-l: -230px; }
.faq { --wm-w: 640px; --wm-r: -210px; }
.contact { --wm-w: 680px; --wm-l: -200px; }
footer { --wm-w: 520px; --wm-r: -140px; --wm-o: .055; }

@media (max-width: 1399px) { .header .header-proposal { display: none; } }
.whatsapp-float { position: fixed; z-index: 6; right: max(22px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; background: #13b55a; color: #fff; box-shadow: 0 6px 24px rgba(0, 0, 0, .6); }
.whatsapp-float:hover { background: #0e9a4a; }
@media (min-width: 965px) { .portal { min-width: 170px; } }
@media (max-width: 1279px) {
  :root { --logo-w: 200px; --logo-w-small: 100px; }
}
@media (max-width: 1100px) {
  .service-areas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* O menu de 5 itens so cabe inteiro no topo a partir de 1100px; abaixo disso vira botao de menu */
@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { display: grid; place-content: center; gap: 4px; width: 44px; height: 44px; list-style: none; border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; cursor: pointer; }
  summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { display: block; width: 16px; height: 2px; background: #fff; }
  .mobile-nav nav { position: absolute; top: calc(100% + 6px); inset-inline-end: 52px; width: min(250px, calc(100% - 32px)); display: grid; padding: 8px; border: 1px solid rgba(44, 240, 140, .32); border-radius: 9px; color: var(--ink); background: #07120d; box-shadow: 0 12px 35px rgba(0, 0, 0, .65); }
  .mobile-nav nav a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 600; }
}
@media (max-width: 1020px) {
  .shell { width: calc(100% - 64px); }
  .desktop-nav { gap: 16px; }
  .mobile-nav nav { inset-inline-end: 32px; }
  .footer-inner > * { gap: 0; }
  .footer-inner > * > strong { margin-bottom: 4px; }
  .footer-inner a:not(.brand) { display: block; padding-block: 10px; min-height: 44px; }
  .header-inner { gap: 12px; }
  :root { --logo-w: 168px; --logo-w-small: 96px; }
}
@media (max-width: 850px) {
  :root { --bar-h: 84px; --logo-w: 150px; --logo-w-small: 84px; }
  .hero .hero-slogan { font-size: clamp(3.4rem, 9vw, 5.4rem); }
  /* No celular a foto fica no alto da abertura e some para o preto embaixo */
  .hero-photo { top: 0; left: 0; right: 0; width: 100%; height: min(100%, 540px); transform: none; -webkit-mask-image: none; mask-image: none; }
  .hero-photo img { object-position: 64% center; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 100%); }
  .hero-photo::after { background: linear-gradient(180deg, rgba(5, 15, 10, .9) 0%, rgba(5, 15, 10, .62) 28%, rgba(5, 15, 10, .55) 58%, rgba(5, 15, 10, 0) 100%); }
  .difference-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  :root { --logo-w: 136px; --logo-w-small: 80px; }
  .shell { width: calc(100% - 36px); }
  .mobile-nav nav { inset-inline-end: 18px; }
  .portal { min-height: 44px; padding: .5rem .66rem; font-size: .73rem; }
  .footer-brand .brand img { width: 168px; }
  .header-inner { gap: 8px; }
  .header-actions { gap: 6px; }
  .hero { align-items: end; min-height: 475px; padding: 78px 0 65px; }
  .hero-photo img { object-position: 69% center; }
  .hero-category { font-size: .74rem; text-shadow: 0 1px 6px rgba(0, 0, 0, .9), 0 0 3px rgba(0, 0, 0, .7); }
  .accounts-visual { order: 2; }
  .hero .hero-slogan { margin-block: 17px; }
  .resident-grid, .system-feature-grid { grid-template-columns: 1fr; }
  .resident-help { flex-direction: column; align-items: flex-start; }
  .hero-actions { margin-top: 22px; }
  .institution-panel, .app-grid, .faq-grid, .contact-grid, .other-contact { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 108px minmax(0, 1fr); border-left: 0; border-top: 1px solid rgba(44, 240, 140, .4); padding: 18px 0 0; }
  .whatsapp-float { right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); width: 50px; height: 50px; }
  footer { padding-bottom: 56px; }
  .institution-panel::after { width: 92%; opacity: .07; background-size: auto 82%; }
  .footer-bottom { flex-wrap: wrap; }
  .service-panel { grid-template-columns: 1fr; }
  .service-areas { grid-template-columns: 1fr; gap: 12px; }
  .service-areas li { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .service-areas img { grid-row: 1 / span 2; height: 100%; aspect-ratio: auto; }
  .service-areas h4 { margin: 12px 12px 0; font-size: .98rem; }
  .service-areas p { margin: 5px 12px 12px; font-size: .86rem; }
  .service-tabs { gap: 6px; }
  .service-tabs button { padding-inline: 12px; font-size: .84rem; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section, footer { --wm-w: 420px; }
}
@media (max-width: 360px) {
  :root { --logo-w: 120px; --logo-w-small: 72px; }
  .shell { width: calc(100% - 24px); }
  .hero .hero-slogan { font-size: 2.95rem; }
  .mobile-nav nav { inset-inline-end: 12px; }
  .mobile-nav summary { width: 44px; height: 44px; }
  .fields, .founder { grid-template-columns: 1fr; }
  .founder img { max-width: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .header, .header .brand img, .button { transition: none; }
}
