/* Service pages (services hub, installation, maintenance, cleaning, repair), document verification and contact. The top banner comes from the shared page-banner. */
.sv :where(h2, h3, h4, p, ul, ol, figure, fieldset, legend, dl, dd) { margin: 0; }
.sv :where(fieldset) { min-width: 0; padding: 0; border: 0; }
.sv :where(ul, ol) { padding: 0; list-style: none; }
.sv { --ink: #1f2b3d; --muted: #5c6878; --line: #dce6f1; --ice: #f5faff; --cyan: #02b6f8; color: var(--ink); }

.sv-h2 { font-family: "Open Sans", Arial, sans-serif; font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.4rem); font-weight: 800; line-height: 1.12; letter-spacing: -.028em; color: var(--navy); text-wrap: balance; }
.sv-cta { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 24px; border-radius: 10px; background: var(--navy); color: #fff; font-family: "Poppins", sans-serif; font-size: .98rem; font-weight: 600; transition: background-color .2s ease; }
.sv-cta svg { flex: none; width: 20px; height: 20px; color: #4ade80; }
.sv-cta:hover { background: #0b4a93; }
.sv-section { padding: clamp(4.5rem, 3rem + 4vw, 7rem) 0; }
.sv-band { padding: clamp(4.5rem, 3rem + 4vw, 7rem) 0; background: var(--ice); }
.sv-narrow { max-width: 50rem; }
.sv-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 1rem 4rem; align-items: end; }
.sv-head > p { max-width: 26rem; font-size: 1.125rem; line-height: 1.65; color: var(--muted); }

.sv legend { margin-bottom: 10px; font-family: "Poppins", sans-serif; font-size: .95rem; font-weight: 600; color: var(--navy); }
.sv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sv-chips label { position: relative; }
.sv-chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sv-chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid #c9d8e8; border-radius: 10px; background: #fff; font-family: "Poppins", sans-serif; font-size: .92rem; color: var(--navy); transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.sv-chips label:hover span { border-color: var(--navy); }
.sv-chips input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.sv-chips input:focus-visible + span { outline: 3px solid #1f74d3; outline-offset: 2px; }

.sv-faq { margin-top: 32px; border-top: 1px solid var(--line); }
.sv-faq details { border-bottom: 1px solid var(--line); }
.sv-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 16px 0; font-family: "Poppins", sans-serif; font-size: 1.02rem; font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; }
.sv-faq summary::-webkit-details-marker { display: none; }
.sv-faq summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid #1f74d3; border-bottom: 2px solid #1f74d3; transform: rotate(45deg); transition: transform .2s ease; }
.sv-faq details[open] summary::after { transform: rotate(225deg); }
.sv-faq details p { max-width: 42rem; padding: 0 0 22px; line-height: 1.75; color: var(--muted); }
/* Darker than --blue so the links keep 4.5:1 on the ice bands too */
.sv-faq details p a { color: #1c6fc9; text-decoration: underline; text-underline-offset: 3px; }

.sv :focus-visible { outline: 3px solid #1f74d3; outline-offset: 3px; }

/* Room under the standard banner for a card that overlaps it; pages without one set it back to 0. */
:root { --tool-overlap: clamp(90px, 40px + 6vw, 140px); }
.page-banner { padding-bottom: var(--tool-overlap); }
.btu-range { display: grid; grid-template-columns: minmax(0, 1fr) auto; row-gap: 10px; align-items: baseline; }
.btu-range label { font-family: "Poppins", sans-serif; font-size: .95rem; font-weight: 600; color: var(--navy); }
.btu-range output { font-family: "Open Sans", Arial, sans-serif; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.btu-range input { grid-column: 1 / -1; width: 100%; height: 44px; margin: 0; accent-color: var(--navy); cursor: pointer; }
.btu-range__scale { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: -12px; font-size: .82rem; color: var(--muted); }
.btu-plan__floor { fill: #fff; stroke: var(--navy); stroke-width: 2.5; }
.btu-plan__grid { fill: url(#btu-tiles); stroke: none; }
#btu-tiles path { fill: none; stroke: #8fdcff; stroke-width: 1; }
.btu-plan__unit { fill: var(--navy); stroke: none; }
.btu-plan__air { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-dasharray: 3 5; }
.btu-plan__window { fill: #d9efff; stroke: var(--navy); stroke-width: 2; }
.btu-plan__window.is-sunny { fill: #ffd766; }
.btu-plan__light { display: none; fill: #f5b301; fill-opacity: .22; stroke: none; }
.btu-plan__light.is-on { display: inline; }
.btu-plan__label { font-family: "Poppins", sans-serif; font-size: 15px; font-weight: 600; fill: var(--navy); }

/* The visitor's space comes first; each tab pairs a kind of room with the model that suits it. */
.g-hero { padding: clamp(3.5rem, 2.5rem + 3vw, 5.5rem) 0 clamp(4rem, 3rem + 3vw, 6rem); background: linear-gradient(180deg, #fff 0%, var(--ice) 100%); }
.g-tabs { display: flex; gap: 4px; margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.g-tab { flex: none; min-height: 54px; margin-bottom: -1px; padding: 0 18px; border: 0; border-bottom: 3px solid transparent; background: none; font-family: "Poppins", sans-serif; font-size: 1rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.g-tab:hover { color: var(--navy); }
.g-tab[aria-selected="true"] { border-bottom-color: var(--cyan); color: var(--navy); }
.g-tab:focus-visible { outline-offset: -3px; }
.g-panel { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; margin-top: 36px; }
.g-panel[hidden] { display: none; }
.g-panel__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 30px 60px -40px rgb(0 36 80 / .45); }
.g-panel__media img { width: 100%; height: 100%; object-fit: cover; }
.g-panel__credit { position: absolute; right: 10px; bottom: 10px; padding: 4px 8px; border-radius: 6px; background: rgb(0 20 45 / .6); color: #fff; font-size: .75rem; line-height: 1.3; }
.g-panel__credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.g-panel__kicker { font-size: .95rem; color: var(--muted); }
.g-panel__model { margin-top: 4px; font-family: "Open Sans", Arial, sans-serif; font-size: clamp(2rem, 1.4rem + 1.6vw, 2.8rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; color: var(--navy); }
.g-panel__why { margin-top: 18px; font-size: 1.0625rem; line-height: 1.7; }
.g-panel h4 { margin-top: 26px; font-family: "Poppins", sans-serif; font-size: 1rem; font-weight: 600; color: var(--navy); }
.g-panel__how { margin-top: 6px; line-height: 1.7; color: var(--muted); }
.g-panel .sv-cta { margin-top: 30px; }
.g-steps { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); }
.g-steps > div > p { max-width: 24rem; margin-top: 16px; line-height: 1.7; color: var(--muted); }
.g-steps__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.g-steps__list li { padding: 22px 0; border-top: 1px solid var(--line); }
.g-steps__list h3 { font-family: "Poppins", sans-serif; font-size: 1.05rem; font-weight: 600; color: var(--navy); }
.g-steps__list p { margin-top: 6px; line-height: 1.6; color: var(--muted); }

.sv-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.sv-duo > div > p { max-width: 30rem; margin-top: 16px; font-size: 1.0625rem; line-height: 1.7; color: var(--muted); }
.sv-rows li { padding: 20px 0; border-top: 1px solid var(--line); }
.sv-rows li:last-child { border-bottom: 1px solid var(--line); }
.sv-rows h3 { font-family: "Poppins", sans-serif; font-size: 1.05rem; font-weight: 600; color: var(--navy); }
.sv-rows p { margin-top: 4px; line-height: 1.6; color: var(--muted); }

.sv-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 3vw, 3rem); margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); counter-reset: step; }
.sv-steps li { position: relative; padding: 26px 0 26px 56px; border-top: 1px solid var(--line); counter-increment: step; }
.sv-steps li::before { content: counter(step); position: absolute; top: 24px; left: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-family: "Poppins", sans-serif; font-weight: 600; }
.sv-steps h3 { font-family: "Poppins", sans-serif; font-size: 1.05rem; font-weight: 600; color: var(--navy); }
.sv-steps p { margin-top: 6px; line-height: 1.6; color: var(--muted); }
.sv-duo .sv-note { font-size: 1rem; }
.sv-note a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.sv-field label { display: block; margin-bottom: 10px; font-family: "Poppins", sans-serif; font-size: .95rem; font-weight: 600; color: var(--navy); }
.sv-field :is(select, input) { width: 100%; min-height: 44px; padding: 0 14px; border: 1px solid #c9d8e8; border-radius: 10px; background-color: #fff; font-family: "Poppins", sans-serif; font-size: .95rem; color: var(--navy); }
.sv-field select { padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23002d5f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 8px; appearance: none; cursor: pointer; }
.sv-field input::placeholder { color: #9aa7b6; }

/* Services hub: no floating card; services are grouped by the visitor's situation, each group with its own quote button. */
.page-servicos .page-banner { padding-bottom: 0; }
.svc { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.svc__intro { position: sticky; top: 24px; }
.svc__intro p { max-width: 26rem; margin-top: 16px; font-size: 1.0625rem; line-height: 1.7; color: var(--muted); }
.svc__item { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); align-items: center; padding: 28px 0; border-top: 1px solid var(--line); }
.svc__item:first-child { padding-top: 0; border-top: 0; }
.svc__photo img { display: block; width: 100%; height: auto; aspect-ratio: 19 / 10; object-fit: cover; border-radius: 12px; }
.svc__item h3 { font-family: "Poppins", sans-serif; font-size: 1.2rem; font-weight: 600; line-height: 1.35; }
.svc__item h3 a { display: inline-block; margin: -10px 0; padding: 10px 0; color: var(--navy); text-decoration: underline; text-decoration-color: rgb(0 45 95 / .25); text-underline-offset: 4px; }
.svc__item h3 a:hover { text-decoration-color: currentColor; }
.svc__item p { margin-top: 8px; line-height: 1.65; color: var(--muted); }

.sv-duo .vf-help-box p { margin-top: 6px; font-size: 1rem; }

/* Contact: the e-mail form with the direct channels (e-mail, WhatsApp, hours) beside it; no floating card, so the banner keeps its normal height. */
.page-fale-conosco .page-banner, .page-mensagem-enviada .page-banner { padding-bottom: 0; }
.page-mensagem-enviada .alert { max-width: 46rem; font-size: 1rem; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.contact-layout .form-panel h2 { margin-bottom: 24px; font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); line-height: 1.15; letter-spacing: -.02em; }
/* The channels are a plain ruled list, label beside value, with no box or icons; its top rule meets the form panel's top edge. */
.contact-channels { border-bottom: 1px solid #d3e1ef; }
.contact-channels li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); align-items: baseline; column-gap: 16px; padding: 18px 0; border-top: 1px solid #d3e1ef; }
.contact-channels small { font-size: .9375rem; color: #5d6f84; }
.contact-channels :is(a, strong) { font-family: "Poppins", sans-serif; font-size: 1.0625rem; font-weight: 600; line-height: 1.45; color: var(--navy); overflow-wrap: anywhere; text-wrap: balance; }
.contact-channels a { justify-self: start; margin: -10px 0; padding: 10px 0; text-decoration: underline; text-decoration-color: rgb(0 45 95 / .25); text-underline-offset: 4px; }
.contact-channels a:hover { text-decoration-color: currentColor; }
.contact-form select { width: 100%; height: 54px; padding: 0 42px 0 15px; border: 1px solid #c9d6e4; border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23002d5f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 15px center / 12px 8px; color: var(--ink); font: inherit; appearance: none; cursor: pointer; }
.contact-form select:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(32, 116, 212, .12); }
.contact-form .sv-cta { justify-self: start; border: 0; cursor: pointer; }

@media (max-width: 1024px) {
  .sv-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-head, .g-panel, .g-steps, .sv-duo, .svc, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .svc__intro { position: static; }
}

@media (max-width: 720px) {
  .sv-cta { width: 100%; justify-content: center; }
  .g-tabs { flex-wrap: wrap; gap: 8px; overflow: visible; border-bottom: 0; }
  .g-tab { min-height: 44px; margin: 0; padding: 0 14px; border: 1px solid #c9d8e8; border-radius: 10px; background: #fff; font-size: .92rem; font-weight: 400; color: var(--navy); }
  .g-tab[aria-selected="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
  .g-tab:focus-visible { outline-offset: 2px; }
  .g-panel { margin-top: 24px; }
  .g-steps__list, .sv-steps, .svc__item { grid-template-columns: minmax(0, 1fr); }
  .svc__item { gap: 16px; }
  .contact-channels li { grid-template-columns: minmax(0, 1fr); row-gap: 2px; padding: 14px 0; }
  .contact-channels :is(a, strong) { font-size: 1rem; }
}

/* Old document links (/documento/) */
.dl-card { max-width: 40rem; margin: 0 auto; padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 18px 55px rgb(0 45 95 / .1); }
.dl-card h2 { font-family: "Poppins", sans-serif; font-size: 1.4rem; font-weight: 600; color: var(--navy); }
.dl-card p { margin-top: 10px; line-height: 1.6; }
.dl-card__actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 22px; }
@media (max-width: 860px) {
    .dl-card { padding: 24px 20px; }
}
