/* Desentupidora Modelo: estilo principal */
:root {
    --bg: #edf0f1; --surface: #ffffff; --surface-2: #e3e9ea;
    --ink: #0c2b30; --muted: #4a6166; --line: #cbd6d8;
    --teal: #0f5c63; --teal-deep: #0c2b30; --hero: #0c2b30;
    --yellow: #ffc400; --yellow-hover: #ffd23d; --on-yellow: #0c2b30;
    --wa: #15803d; --wa-hover: #116b32;
    --danger: #b42318; --ok: #146c43;
    --radius: 6px;
    --font-head: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    --font-body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color-scheme: light;
}
[data-theme="dark"] {
    --bg: #081619; --surface: #102428; --surface-2: #17313a;
    --ink: #e8f0f1; --muted: #9db5b9; --line: #1f3d42;
    --teal: #4cc3cf; --hero: #06181b;
    --danger: #ff8a80; --ok: #6fd6a0;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--bg); }
img, svg { max-width: 100%; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.05; margin: 0 0 .6em; letter-spacing: .005em; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--yellow); color: var(--on-yellow); padding: .6rem 1rem; z-index: 2000; font-weight: 700; }
.skip-link:focus { left: .5rem; top: .5rem; }
.icon { flex: none; vertical-align: -0.2em; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: 700 1.02rem/1 var(--font-body); padding: .95rem 1.5rem; border-radius: var(--radius); border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-sm { padding: .65rem 1rem; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-cta { background: var(--yellow); color: var(--on-yellow); }
.btn-cta:hover { background: var(--yellow-hover); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); color: #fff; }
.btn-outline { border-color: currentColor; color: var(--teal); background: transparent; }
.btn-outline:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
[data-theme="dark"] .btn-outline:hover { color: #06181b; }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--teal-deep); }
.btn[disabled] { opacity: .7; cursor: progress; }

/* Barra superior */
.topbar { background: var(--teal-deep); color: #d7e6e8; font-size: .9rem; }
[data-theme="dark"] .topbar { background: #040f11; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .45rem; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.topbar-hours { display: inline-flex; align-items: center; gap: .55rem; }
.live-dot { width: .55rem; height: .55rem; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: ping 2.2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 .5rem rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header.is-scrolled { box-shadow: 0 2px 14px rgba(0,0,0,.12); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand-name { font: 800 1.55rem/1 var(--font-head); letter-spacing: .01em; }
.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav ul { list-style: none; display: flex; gap: .25rem; }
.main-nav li a { display: block; padding: .5rem .8rem; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; border-bottom: 3px solid transparent; }
.main-nav li a:hover { color: var(--teal); }
.main-nav li a[aria-current="page"] { border-bottom-color: var(--yellow); }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.theme-toggle, .nav-toggle { background: none; border: 2px solid var(--line); color: var(--ink); width: 42px; height: 42px; border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.theme-toggle:hover, .nav-toggle:hover { border-color: var(--teal); color: var(--teal); }
.nav-toggle { display: none; }
.show-dark, .when-open { display: none; }
[data-theme="dark"] .show-dark { display: inline-flex; }
[data-theme="dark"] .show-light { display: none; }
.nav-toggle[aria-expanded="true"] .when-open { display: inline-flex; }
.nav-toggle[aria-expanded="true"] .when-closed { display: none; }

/* Hero: a peça memorável é o telefone gigante */
.hero { background: var(--hero); color: #fff; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { color: #fff; margin-bottom: .35em; animation: rise .7s ease both; }
.hero-lead { font-size: 1.2rem; color: #c3d6d9; max-width: 34rem; animation: rise .7s .1s ease both; }
.big-phone { display: inline-flex; align-items: center; gap: .8rem; margin: .4rem 0 1.4rem; font: 800 clamp(2.4rem, 7vw, 4.4rem)/1 var(--font-head); color: var(--yellow); text-decoration: none; letter-spacing: .01em; animation: rise .7s .2s ease both; }
.big-phone:hover { text-decoration: underline; text-decoration-thickness: 4px; }
.big-phone .icon { width: .8em; height: .8em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; animation: rise .7s .3s ease both; }
.ticks { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.8rem; color: #c3d6d9; font-size: .98rem; }
.ticks li { display: inline-flex; gap: .45rem; align-items: center; }
.ticks .icon { color: #3ddc84; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.quote-card { background: var(--surface); color: var(--ink); border-radius: var(--radius); border-top: 6px solid var(--yellow); padding: 1.6rem; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.quote-card h2 { font-size: 2rem; margin-bottom: .2em; }
.quote-card .muted { font-size: .95rem; margin-bottom: 1.1rem; }
[data-theme="dark"] .quote-card { border-top-color: var(--yellow); }

/* Seções */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: 2.2rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.page-head { background: var(--hero); color: #fff; padding: 2.6rem 0 2.2rem; }
.page-head h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.6rem); margin: 0; }
.page-head p { color: #c3d6d9; margin: .8rem 0 0; max-width: 40rem; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .92rem; margin-bottom: 1rem; color: #9fbcc0; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; }
.breadcrumb a { color: #fff; }

/* Serviços: linhas, não cartões idênticos */
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.service { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.6rem; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.service:nth-child(odd) { border-right: 1px solid var(--line); }
.service:nth-last-child(-n+2) { border-bottom: 0; }
.service:hover { background: var(--surface-2); }
.service-icon { width: 52px; height: 52px; border-radius: var(--radius); background: var(--teal-deep); color: var(--yellow); display: inline-flex; align-items: center; justify-content: center; }
[data-theme="dark"] .service-icon { background: #04252a; }
.service h3 { margin: 0 0 .25em; }
.service p { margin: 0 0 .6em; color: var(--muted); }
.service .more { font-weight: 700; color: var(--teal); display: inline-flex; gap: .35rem; align-items: center; }

/* Como funciona */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.steps li { counter-increment: step; position: relative; padding-top: 3.6rem; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 2.7rem; height: 2.7rem; border-radius: 50%; background: var(--yellow); color: var(--on-yellow); font: 800 1.6rem/2.7rem var(--font-head); text-align: center; }
.steps h3 { margin-bottom: .2em; }
.steps p { color: var(--muted); margin: 0; }

/* Diferenciais */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.features { list-style: none; display: grid; gap: 1.2rem; }
.features li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; }
.features .icon-box { color: var(--teal); }
.features strong { display: block; font: 700 1.5rem/1.1 var(--font-head); }
.features span { color: var(--muted); }

/* Áreas */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .95rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 600; }
.chips .icon { color: var(--teal); }

/* FAQ */
.faq { max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; font: 700 1.45rem/1.15 var(--font-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 1.8rem/1 var(--font-body); color: var(--teal); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-bottom: 1.2rem; margin: 0; }

/* Faixa final com listra de sinalização */
.hazard { height: 10px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, #0c2b30 14px 28px); }
.cta-band { background: var(--hero); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: 2.6rem 0 3rem; }
.cta-inner h2 { color: #fff; margin: 0 0 .2em; }
.cta-inner p { margin: 0; color: #c3d6d9; }

/* Formulário */
.form .field { margin-bottom: .95rem; }
.form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .3rem; }
.form input, .form select, .form textarea { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); padding: .75rem .9rem; }
[data-theme="dark"] .form input, [data-theme="dark"] .form select, [data-theme="dark"] .form textarea { background: #0b1d20; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(15,92,99,.25); }
.form input[aria-invalid="true"] { border-color: var(--danger); }
.form-alert { margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--radius); font-weight: 600; border-left: 5px solid; }
.form-alert.ok { background: rgba(20,108,67,.12); color: var(--ok); border-color: var(--ok); }
.form-alert.err { background: rgba(180,35,24,.1); color: var(--danger); border-color: var(--danger); }
.form-note { font-size: .9rem; color: var(--muted); }
.spinner { width: 1rem; height: 1rem; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Páginas internas */
.prose { max-width: 44rem; }
.prose p { color: var(--ink); }
.layout-2 { display: grid; grid-template-columns: 1fr 22rem; gap: 3rem; align-items: start; }
.side-card { position: sticky; top: 96px; background: var(--teal-deep); color: #fff; border-radius: var(--radius); padding: 1.6rem; border-top: 6px solid var(--yellow); }
.side-card h2 { color: #fff; font-size: 1.9rem; }
.side-card p { color: #c3d6d9; font-size: .98rem; }
.side-card .btn + .btn { margin-top: .7rem; }
.contact-list { list-style: none; display: grid; gap: .9rem; }
.contact-list li { display: flex; gap: .7rem; }
.contact-list .icon { color: var(--teal); margin-top: .25rem; }
.error-page { padding: 5rem 0; text-align: center; }
.error-code { font: 800 clamp(6rem, 20vw, 11rem)/1 var(--font-head); color: var(--teal); margin: 0; }

/* Rodapé */
.site-footer { background: #071a1d; color: #aac2c5; margin-top: 0; }
[data-theme="dark"] .site-footer { background: #040f11; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.4fr .8fr; gap: 2.5rem; padding: 3rem 0 2rem; }
.footer-brand { font: 800 1.8rem/1 var(--font-head); color: #fff; margin-bottom: .6rem; }
.footer-title { font: 700 1.2rem/1 var(--font-head); color: #fff; margin-bottom: 1rem; letter-spacing: .04em; }
.footer-text { font-size: .98rem; max-width: 24rem; }
.footer-list { list-style: none; display: grid; gap: .6rem; font-size: .98rem; }
.footer-list li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-list .icon { margin-top: .3rem; color: var(--yellow); }
.footer-links .icon { display: none; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0 1.6rem; border-top: 1px solid #1b3a3f; font-size: .9rem; }
.admin-link { opacity: .45; }
.admin-link:hover { opacity: 1; }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 900; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.35); transition: transform .15s; }
.wa-float:hover { transform: scale(1.07); color: #fff; }

/* Responsivo */
@media (max-width: 960px) {
    .hero-grid, .split, .layout-2 { grid-template-columns: 1fr; }
    .side-card { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
    .nav-toggle { display: inline-flex; }
    .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.2rem; box-shadow: 0 14px 24px rgba(0,0,0,.18); }
    .main-nav.is-open { display: flex; }
    .main-nav ul { flex-direction: column; }
    .main-nav li a { padding: .85rem .2rem; border-bottom: 1px solid var(--line); }
    .nav-actions { margin-top: 1rem; justify-content: space-between; }
    .nav-actions .btn { flex: 1; }
}
@media (max-width: 680px) {
    body { font-size: 1rem; }
    .topbar-hours { font-size: .85rem; }
    .service-list { grid-template-columns: 1fr; }
    .service:nth-child(odd) { border-right: 0; }
    .service:nth-last-child(2) { border-bottom: 1px solid var(--line); }
    .steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-actions .btn { flex: 1 1 100%; }
    .cta-inner .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Utilitários de título */
.h2 { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.05; }
.h3 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; line-height: 1.05; }

.topbar a { white-space: nowrap; }
@media (max-width: 680px) { .topbar-hours { font-size: .8rem; line-height: 1.25; } .topbar-inner { gap: .6rem; } }
