/* RFORM – identidade visual: vermelho, laranja, preto, branco e cinza claro. Mobile first. */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --red: #e30613;
  --red-dark: #b90000;
  --orange: #ff5a00;
  --black: #171717;
  --white: #ffffff;
  --gray: #f4f4f4;
  --gray-line: #e4e4e4;
  --text-muted: #555555;
  --green: #25d366;
  --green-dark: #12803f;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 10px 30px rgb(23 23 23 / 0.08);
  --shadow-lg: 0 20px 50px rgb(23 23 23 / 0.14);
  --header-h: 64px;
  --font: 'Montserrat', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6; color: var(--black); background: var(--white); text-rendering: optimizeLegibility; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 6vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 4.4vw, 2.35rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }
.center { text-align: center; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--black); color: var(--white); padding: 10px 16px; border-radius: var(--radius); z-index: 100; }
.skip-link:focus { left: 8px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55em; min-height: 48px; padding: 0.75em 1.3em; border-radius: var(--radius); border: 2px solid transparent; font-weight: 700; font-size: 0.98rem; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 42px; padding: 0.55em 1em; font-size: 0.9rem; }
.btn--lg { min-height: 54px; padding: 0.85em 1.5em; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--primary { background: linear-gradient(135deg, var(--red), var(--red-dark)); color: var(--white); box-shadow: 0 8px 20px rgb(227 6 19 / 0.28); }
.btn--primary:hover { box-shadow: 0 12px 26px rgb(227 6 19 / 0.36); }
.btn--whatsapp { background: var(--green-dark); color: var(--white); box-shadow: 0 8px 20px rgb(18 128 63 / 0.28); }
.btn--whatsapp:hover { background: #0e6d35; }
.btn--whatsapp .icon { width: 1.35em; height: 1.35em; }
.btn--ghost { background: var(--white); color: var(--black); border-color: #d6d6d6; }
.btn--ghost:hover { border-color: var(--black); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgb(255 255 255 / 0.7); }
.btn--outline-light:hover { background: rgb(255 255 255 / 0.1); border-color: var(--white); }
.link-button { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 0.97); border-bottom: 1px solid transparent; transition: box-shadow 0.2s ease, border-color 0.2s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgb(23 23 23 / 0.07); border-color: var(--gray-line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--header-h); }
.brand img { height: 30px; width: auto; }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.site-header__actions .btn span { white-space: nowrap; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--gray-line); border-radius: var(--radius); background: var(--white); color: var(--black); cursor: pointer; }
.menu-toggle .icon { width: 24px; height: 24px; }

.site-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); padding: 20px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform 0.25s ease, visibility 0.25s; }
.site-header.is-open .site-nav { transform: none; visibility: visible; }
.site-nav__list { list-style: none; display: grid; gap: 4px; }
.site-nav__list > li > a, .site-nav__label { display: block; padding: 12px 4px; font-weight: 700; color: var(--black); text-decoration: none; border-bottom: 1px solid var(--gray); }
.site-nav__label { color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; border: 0; padding-bottom: 4px; }
.site-nav__sub { list-style: none; display: grid; gap: 4px; padding-bottom: 8px; border-bottom: 1px solid var(--gray); }
.site-nav__sub a { display: flex; align-items: center; gap: 10px; padding: 10px 4px; color: var(--black); text-decoration: none; font-weight: 600; }
.site-nav__sub .icon { color: var(--red); }
.site-nav__cta { margin-top: 20px; }
.site-nav__cta .btn { width: 100%; }

@media (max-width: 420px) {
  .site-header__actions .btn--sm { padding: 0.5em 0.75em; font-size: 0.82rem; }
  .site-header__actions .btn--sm .icon { display: none; }
  .brand img { height: 24px; }
}

/* Componentes gerais */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.eyebrow::before { content: ''; width: 26px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--red), var(--orange)); }
.eyebrow--icon::before { display: none; }
.eyebrow--icon .icon { width: 22px; height: 22px; padding: 4px; box-sizing: content-box; border-radius: 8px; background: rgb(227 6 19 / 0.1); }
.eyebrow--light { color: #ffd1c2; }
.accent { color: var(--red); }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 22px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; font-size: 0.88rem; font-weight: 600; }
.chips .icon { color: var(--red); }

.section { padding: 64px 0; }
.section--light { background: var(--gray); }
.section--diagonal { position: relative; }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head p:last-child { color: var(--text-muted); }

.breadcrumb { padding-top: 14px; font-size: 0.84rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; color: var(--text-muted); }
.breadcrumb li + li::before { content: '›'; margin-right: 6px; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero__lead { font-size: 1.08rem; color: var(--text-muted); max-width: 620px; }
.hero__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.hero__actions .btn { width: 100%; }

.hero--home { display: flex; align-items: flex-end; min-height: min(92svh, 760px); color: var(--white); background: var(--black); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero--home::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgb(23 23 23 / 0.35) 0%, rgb(23 23 23 / 0.82) 55%, rgb(23 23 23 / 0.95) 100%); }
.hero__content--home { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 64px; }
.hero--home h1 { max-width: 820px; }
.hero--home .accent { color: #ff6b4a; }
.hero--home .hero__lead { color: rgb(255 255 255 / 0.88); }
.hero--home .chips .icon { color: var(--orange); }

.hero--service { padding: 28px 0 56px; background: linear-gradient(180deg, var(--white) 0%, var(--gray) 100%); }
.hero--service::before { content: ''; position: absolute; right: -20%; top: 0; width: 70%; height: 100%; background: linear-gradient(135deg, rgb(227 6 19 / 0.08), rgb(255 90 0 / 0.06)); clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%); }
.hero__grid { position: relative; display: grid; gap: 32px; }
.hero__media { margin: 0; position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero__media::before { content: ''; position: absolute; left: -10px; bottom: -10px; width: 55%; height: 55%; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--red), var(--orange)); z-index: -1; }

/* Cards de serviço (home) */
.service-cards { display: grid; gap: 22px; }
.service-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.service-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service-card__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 34px 22px 22px; }
.service-card__icon { position: absolute; top: -28px; left: 22px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: var(--white); background: linear-gradient(135deg, var(--red), var(--red-dark)); border: 4px solid var(--white); }
.service-card__icon .icon { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.3rem; }
.service-card h3 a { color: var(--black); text-decoration: none; }
.service-card p { color: var(--text-muted); }
.service-card__list { list-style: none; display: grid; gap: 6px; margin-bottom: 20px; font-size: 0.92rem; }
.service-card__list li { padding-left: 18px; position: relative; }
.service-card__list li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 2px; background: var(--red); transform: rotate(45deg); }
.service-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

/* Sobre */
.about { display: grid; gap: 28px; }
.about__highlights { list-style: none; display: grid; gap: 12px; }
.about__highlights li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--white); border-radius: var(--radius); border-left: 4px solid var(--red); font-weight: 700; box-shadow: var(--shadow); }
.about__highlights .icon { color: var(--red); width: 26px; height: 26px; }

/* Benefícios e diferenciais */
.feature-grid { list-style: none; display: grid; gap: 16px; }
.feature { padding: 24px; background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius-lg); }
.section--light .feature { border-color: transparent; box-shadow: var(--shadow); }
.feature > .icon { width: 46px; height: 46px; padding: 10px; margin-bottom: 14px; border-radius: 12px; color: var(--red); background: rgb(227 6 19 / 0.09); }
.feature p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

.service-list { list-style: none; display: grid; gap: 14px; }
.service-list__item { display: flex; gap: 14px; padding: 20px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.service-list__item > .icon { width: 26px; height: 26px; color: var(--red); margin-top: 2px; }
.service-list__item h3 { margin-bottom: 0.3em; }
.service-list__item p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* Faixa de CTA */
.cta-band { position: relative; overflow: hidden; padding: 56px 0; color: var(--white); background: var(--black); }
.cta-band::before { content: ''; position: absolute; top: 0; right: -10%; width: 60%; height: 100%; background: linear-gradient(135deg, var(--red-dark), var(--red) 50%, var(--orange)); clip-path: polygon(35% 0, 100% 0, 100% 100%, 0 100%); opacity: 0.92; }
.cta-band__inner { position: relative; display: grid; gap: 22px; }
.cta-band h2 { margin-bottom: 0.3em; }
.cta-band p { margin: 0; color: rgb(255 255 255 / 0.85); }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; }
.cta-band__actions .btn { width: 100%; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius); }
.faq__item[open] { border-color: rgb(227 6 19 / 0.35); box-shadow: var(--shadow); }
.faq__item summary { position: relative; padding: 18px 52px 18px 20px; font-weight: 700; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgb(227 6 19 / 0.1); color: var(--red); font-size: 1.2rem; line-height: 1; }
.faq__item[open] summary::after { content: '−'; }
.faq__answer { padding: 0 20px 18px; color: var(--text-muted); }
.faq__answer p { margin: 0; }

/* Formulário de orçamento */
.quote { background: linear-gradient(180deg, var(--white), var(--gray)); }
.quote__grid { display: grid; gap: 28px; }
.steps { list-style: none; counter-reset: step; display: grid; gap: 10px; margin: 18px 0; }
.steps li { counter-increment: step; display: flex; align-items: center; gap: 12px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--black); color: var(--white); font-weight: 800; font-size: 0.85rem; }
.quote__privacy { display: flex; gap: 10px; font-size: 0.88rem; color: var(--text-muted); }
.quote__privacy .icon { color: var(--red); margin-top: 2px; }
.quote__card { padding: 22px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border-top: 5px solid var(--red); }
.form-step:focus { outline: none; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; gap: 0 16px; }
.field label { font-weight: 700; font-size: 0.92rem; }
.field label span[aria-hidden] { color: var(--red); }
.field__optional { font-weight: 500; color: var(--text-muted); font-size: 0.85em; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--black); background: var(--white); border: 1.5px solid #cfcfcf; border-radius: var(--radius); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--black) 50%), linear-gradient(135deg, var(--black) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgb(227 6 19 / 0.12); }
.field [aria-invalid='true'] { border-color: var(--red-dark); background-color: #fff6f6; }
.field__error { margin: 0; color: var(--red-dark); font-size: 0.85rem; font-weight: 600; }
.field--check { grid-template-columns: 22px 1fr; align-items: start; gap: 10px; }
.field--check input { width: 22px; min-height: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--red); }
.field--check label { font-weight: 500; font-size: 0.88rem; }
.field--check .field__error { grid-column: 1 / -1; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-step h3 { font-size: 1.3rem; }
.form-step__hint { color: var(--text-muted); font-size: 0.92rem; }
.review-list { display: grid; grid-template-columns: minmax(110px, auto) 1fr; gap: 10px 16px; margin: 0 0 22px; padding: 18px; background: var(--gray); border-radius: var(--radius); font-size: 0.94rem; }
.review-list dt { font-weight: 700; }
.review-list dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.form-actions { display: flex; flex-direction: column-reverse; gap: 10px; }
.form-actions .btn { width: 100%; }
.done { text-align: center; padding: 12px 0; }
.done > .icon { width: 58px; height: 58px; color: var(--green-dark); margin: 0 auto 12px; }
.form-status { margin: 10px 0 0; font-size: 0.9rem; color: var(--red-dark); font-weight: 600; min-height: 1em; }

/* Links internos */
.link-cards { display: grid; gap: 14px; }
.link-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius); color: var(--black); text-decoration: none; text-align: left; transition: border-color 0.2s ease, transform 0.2s ease; }
.link-card:hover { border-color: var(--red); transform: translateY(-2px); }
.link-card > .icon:first-child { width: 40px; height: 40px; padding: 8px; border-radius: 10px; color: var(--red); background: rgb(227 6 19 / 0.09); }
.link-card > .icon:last-child { margin-left: auto; color: var(--red); }
.link-card span { display: grid; gap: 2px; }
.link-card small { color: var(--text-muted); font-size: 0.85rem; }

/* Rodapé */
.site-footer { background: #0f0f0f; color: rgb(255 255 255 / 0.82); }
.site-footer .cta-band { background: var(--black); }
.site-footer__grid { display: grid; gap: 32px; padding-top: 56px; padding-bottom: 32px; }
.logo-plate { display: inline-block; padding: 10px 14px; background: var(--white); border-radius: var(--radius); margin-bottom: 16px; }
.logo-plate img { height: 34px; width: auto; }
.site-footer__brand p { font-size: 0.92rem; max-width: 340px; }
.site-footer__title { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--white); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: rgb(255 255 255 / 0.82); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.contact-list a { display: inline-flex; align-items: center; gap: 10px; }
.contact-list .icon { color: var(--orange); }
.site-footer__bottom { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; padding-bottom: 96px; border-top: 1px solid rgb(255 255 255 / 0.1); font-size: 0.84rem; }
.site-footer__bottom p { margin: 0; }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 60px; height: 60px; border-radius: 50%; background: var(--green); color: var(--white); text-decoration: none; font-weight: 800; box-shadow: 0 10px 26px rgb(37 211 102 / 0.45); transition: transform 0.2s ease; }
.wa-float:hover { transform: scale(1.05); }
.wa-float .icon { width: 32px; height: 32px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgb(37 211 102 / 0.55); animation: wa-pulse 2.6s ease-out infinite; }
.wa-float__label { display: none; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgb(37 211 102 / 0.5); } 70%, 100% { box-shadow: 0 0 0 16px rgb(37 211 102 / 0); } }

/* Consentimento */
.consent { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 70; }
.consent__inner { padding: 18px; background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 16px 50px rgb(0 0 0 / 0.25); border-top: 4px solid var(--red); font-size: 0.88rem; }
.consent__title { font-weight: 800; font-size: 1rem; margin-bottom: 6px; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
body:has(.consent:not([hidden])) .wa-float { bottom: calc(200px + env(safe-area-inset-bottom)); }

/* Páginas legais */
.legal h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.legal h2 { font-size: 1.25rem; margin-top: 1.8em; }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; margin-bottom: 1em; }
.legal .link-cards { margin-top: 24px; }

/* Painel administrativo */
.admin { min-height: 100vh; background: var(--gray); }
.admin__header { background: var(--white); border-bottom: 4px solid var(--red); }
.admin__header-inner { display: flex; align-items: center; gap: 18px; min-height: 72px; flex-wrap: wrap; }
.admin__header h1 { font-size: 1.3rem; margin: 0; }
.admin__body { display: grid; gap: 22px; padding-top: 28px; padding-bottom: 60px; }
.admin__body > *, .admin-grid > * { min-width: 0; }
.admin__section-title { font-size: 1.1rem; margin-bottom: 12px; }
.admin-card { padding: 22px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.admin-card h2 { font-size: 1.1rem; }
.admin-card p { color: var(--text-muted); font-size: 0.92rem; }
.admin-grid { display: grid; gap: 22px; }
.admin-token { display: grid; gap: 6px; }
.admin-token label { font-weight: 700; font-size: 0.9rem; }
.admin-token__row { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-token input { flex: 1; min-width: 200px; min-height: 42px; padding: 8px 12px; border: 1.5px solid #cfcfcf; border-radius: var(--radius); font: inherit; }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.kpi { padding: 18px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border-left: 4px solid var(--red); }
.kpi span { display: block; font-size: 0.82rem; color: var(--text-muted); font-weight: 600; }
.kpi strong { font-size: 1.8rem; }
.admin-table { overflow-x: auto; }
.admin-table table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.admin-table th, .admin-table td { padding: 8px 10px; border-bottom: 1px solid var(--gray-line); text-align: left; white-space: nowrap; }
.admin-table th { background: var(--gray); }
.empty { font-style: italic; }
.status-list { list-style: none; display: grid; gap: 8px; }
.status-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 8px; background: var(--gray); font-size: 0.9rem; }
.status-list li.ok strong { color: var(--green-dark); }
.status-list li.off strong { color: var(--red-dark); }
.admin-form .btn { margin-top: 4px; }

/* Tablet */
@media (min-width: 640px) {
  .hero__actions, .cta-band__actions, .form-actions { flex-direction: row; flex-wrap: wrap; }
  .hero__actions .btn, .cta-band__actions .btn, .form-actions .btn { width: auto; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .service-list { grid-template-columns: repeat(2, 1fr); }
  .link-cards { grid-template-columns: repeat(2, 1fr); }
  .quote__card { padding: 32px; }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .consent { left: 20px; right: auto; bottom: 20px; max-width: 460px; }
  body:has(.consent:not([hidden])) .wa-float { bottom: calc(16px + env(safe-area-inset-bottom)); }
  .admin-grid { grid-template-columns: 1fr 1fr; }
  .admin-card--wide { grid-column: 1 / -1; }
}

/* Desktop */
@media (min-width: 960px) {
  :root { --header-h: 78px; }
  .brand img { height: 38px; }
  .section { padding: 96px 0; }
  .section--diagonal { clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%); padding: 128px 0; }
  .menu-toggle { display: none; }
  .site-nav { position: static; inset: auto; padding: 0; overflow: visible; transform: none; visibility: visible; background: none; display: flex; align-items: center; }
  .site-nav__list { display: flex; align-items: center; gap: 6px; }
  .site-nav__list > li > a, .site-nav__label { border: 0; padding: 10px 14px; border-radius: 8px; font-size: 0.95rem; text-transform: none; letter-spacing: 0; color: var(--black); cursor: default; }
  .site-nav__list > li > a { cursor: pointer; }
  .site-nav__list > li > a:hover { color: var(--red); }
  .site-nav__group { position: relative; }
  .site-nav__label::after { content: ''; display: inline-block; margin-left: 8px; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
  .site-nav__sub { position: absolute; top: 100%; left: 0; min-width: 250px; padding: 10px; background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s; }
  .site-nav__group:hover .site-nav__sub, .site-nav__group:focus-within .site-nav__sub { opacity: 1; visibility: visible; transform: none; }
  .site-nav__sub a { border-radius: 8px; padding: 10px 12px; }
  .site-nav__sub a:hover { background: var(--gray); color: var(--red); }
  .site-nav__cta { display: none; }

  .hero--home { align-items: center; min-height: 680px; }
  .hero--home::before { background: linear-gradient(90deg, rgb(23 23 23 / 0.92) 0%, rgb(23 23 23 / 0.75) 45%, rgb(23 23 23 / 0.1) 80%); }
  .hero__content--home { padding-top: 80px; padding-bottom: 80px; }
  .hero--home h1 { max-width: 700px; font-size: clamp(2.4rem, 4vw, 3.4rem); }
  .hero--service { padding: 36px 0 88px; }
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 56px; }
  .hero--service h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); }

  .service-cards { grid-template-columns: repeat(3, 1fr); }
  .about { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 56px; }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .feature-grid--5 { grid-template-columns: repeat(5, 1fr); }
  .service-list { grid-template-columns: repeat(3, 1fr); }
  .cta-band { padding: 72px 0; }
  .cta-band__inner { grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
  .cta-band__actions { flex-direction: column; }
  .cta-band__actions .btn { width: 100%; }
  .quote__grid { grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
  .quote__intro { position: sticky; top: calc(var(--header-h) + 24px); }
  .link-cards { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .site-footer__bottom { flex-direction: row; justify-content: space-between; padding-bottom: 28px; }
  .wa-float { right: 24px; bottom: 24px; width: auto; height: 60px; padding: 0 22px 0 16px; border-radius: 30px; }
  .wa-float__label { display: inline; }
}

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