:root {
    --cyan: #0cc0df;
    --cyan-dark: #078ea6;
    --cyan-soft: #edfafd;
    --orange: #df7d0c;
    --ink: #101820;
    --ink-soft: #35414c;
    --muted: #66727d;
    --line: #dce6eb;
    --surface: #ffffff;
    --surface-alt: #f5f8fa;
    --green: #20b85a;
    --green-dark: #159447;
    --shadow: 0 14px 36px rgba(16, 24, 32, .10);
    --radius: 18px;
    --shell: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.narrow { max-width: 760px; }
.narrow-wide { max-width: 930px; }

.skip-link { position: fixed; z-index: 99999; top: 8px; left: 8px; transform: translateY(-160%); padding: 10px 14px; background: #000; color: #fff; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 74px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.brand-mark { width: 46px; height: 44px; object-fit: contain; border-radius: 6px; }
.brand-word { color: var(--cyan); font-weight: 950; font-size: 22px; letter-spacing: -.02em; }
.site-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.site-nav a { text-decoration: none; font-weight: 760; font-size: 14px; color: var(--ink-soft); position: relative; }
.site-nav a:hover, .site-nav a.active { color: var(--cyan-dark); }
.site-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 3px; border-radius: 999px; background: var(--cyan); }
.header-cta { white-space: nowrap; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 999px; }

/* BUTTONS */
.btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border: 1px solid transparent; border-radius: 11px; text-decoration: none; font-weight: 850; line-height: 1.15; transition: .2s ease; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-large { min-height: 52px; padding: 14px 22px; }
.btn-primary { background: var(--cyan); color: #062a30; box-shadow: 0 8px 22px rgba(12,192,223,.20); }
.btn-primary:hover { background: #20cae7; }
.btn-whatsapp { background: var(--green); color: #fff; box-shadow: 0 8px 22px rgba(32,184,90,.20); }
.btn-whatsapp:hover { background: var(--green-dark); }
.btn-secondary { background: var(--ink); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.40); color: #fff; background: rgba(0,0,0,.12); }
.btn-ghost:hover { background: rgba(0,0,0,.25); }
.btn-ghost-dark { border-color: var(--line); color: var(--ink); background: #fff; }

.eyebrow { display: inline-block; margin-bottom: 9px; color: var(--cyan-dark); font-size: 11px; line-height: 1.2; font-weight: 950; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow.light { color: #8de7f7; }

/* HERO */
.hero { position: relative; overflow: hidden; background: #101820 url('cdmtec_fundo.jpg') center/cover no-repeat; color: #fff; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,16,23,.96) 0%, rgba(7,16,23,.87) 54%, rgba(7,16,23,.64) 100%); }
.hero-grid { position: relative; min-height: 500px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr); gap: 56px; align-items: center; padding: 56px 0; }
.hero-copy { max-width: 690px; }
.hero h1 { margin: 0 0 18px; max-width: 760px; font-size: clamp(44px, 5.5vw, 68px); line-height: 1; letter-spacing: -.045em; }
.hero-lead { max-width: 650px; margin: 0 0 24px; color: rgba(255,255,255,.82); font-size: clamp(17px, 1.8vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hero-points span { padding: 6px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.76); font-size: 11px; font-weight: 800; }
.hero-visual { overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 22px; background: rgba(255,255,255,.07); box-shadow: 0 28px 70px rgba(0,0,0,.30); }
.hero-visual > img { width: 100%; height: 260px; object-fit: cover; object-position: center; }
.hero-visual-grid { display: grid; grid-template-columns: 1fr 1fr; }
.hero-visual-grid a { min-height: 92px; padding: 16px 17px; text-decoration: none; border-top: 1px solid rgba(255,255,255,.12); }
.hero-visual-grid a + a { border-left: 1px solid rgba(255,255,255,.12); }
.hero-visual-grid strong { display: block; margin-bottom: 4px; color: #fff; font-size: 15px; }
.hero-visual-grid span { display: block; color: rgba(255,255,255,.64); font-size: 12px; line-height: 1.4; }

/* TRUST */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid > div { padding: 18px 24px; border-right: 1px solid var(--line); }
.trust-grid > div:first-child { padding-left: 0; }
.trust-grid > div:last-child { border-right: 0; padding-right: 0; }
.trust-grid strong { display: block; font-size: 14px; }
.trust-grid span { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }

/* SECTIONS */
.section { padding: 72px 0; }
.compact-section { padding: 62px 0; }
.section-soft { background: var(--surface-alt); }
.section-dark { background: #101820; color: #fff; }
.section-heading { max-width: 720px; margin: 0 auto 34px; text-align: center; }
.section-heading.compact { margin-bottom: 24px; }
.section-heading h2, .contact-panel h2, .cta-band h2, .page-hero h1, .city-hero h1, .city-intro-grid h2, .city-service-grid h2, .maintenance-process h2, .value-copy h2 {
    margin: 0 0 14px;
    font-size: clamp(30px, 3.6vw, 46px);
    line-height: 1.08;
    letter-spacing: -.035em;
}
.section-heading p, .contact-panel p, .cta-band p, .value-copy p { margin: 0; color: var(--muted); font-size: 17px; }

/* HOME SERVICES */
.service-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.service-choice { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 28px rgba(16,24,32,.06); }
.service-choice-image { width: 100%; height: 200px; object-fit: cover; object-position: center; }
.service-choice-body { padding: 24px 26px 26px; }
.service-kicker { display: block; margin-bottom: 8px; color: var(--cyan-dark); font-size: 11px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.service-choice h3 { margin: 0 0 10px; font-size: 24px; line-height: 1.16; }
.service-choice p { margin: 0; color: var(--muted); font-size: 15px; }
.check-list { display: grid; gap: 7px; margin: 16px 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 22px; color: var(--ink-soft); font-size: 14px; font-weight: 700; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan-dark); font-weight: 950; }
.text-link { color: var(--cyan-dark); text-decoration: none; font-weight: 900; font-size: 14px; }
.text-link:hover { text-decoration: underline; }

/* VALUE */
.value-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.value-copy { max-width: 510px; }
.value-copy .btn { margin-top: 24px; }
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.value-grid > div { min-height: 132px; padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.value-grid strong { display: block; margin-bottom: 6px; font-size: 16px; }
.value-grid span { display: block; color: var(--muted); font-size: 13px; }

/* CTA / COVERAGE / FOOTER */
.cta-band { padding: 48px 0; background: linear-gradient(135deg, #0b2930 0%, #073d49 56%, #075565 100%); color: #fff; }
.cta-band-inner { display: grid; grid-template-columns: 1fr auto; gap: 38px; align-items: center; }
.cta-band h2 { max-width: 780px; font-size: clamp(28px, 3.2vw, 40px); }
.cta-band p { color: rgba(255,255,255,.70); }

.coverage { padding: 52px 0; background: #26323b; color: #fff; }
.coverage .section-heading h2 { font-size: clamp(27px, 3vw, 36px); }
.coverage .section-heading p { color: rgba(255,255,255,.65); font-size: 15px; }
.city-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.city-links a { padding: 7px 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; text-decoration: none; color: rgba(255,255,255,.80); font-size: 12px; }
.city-links a:hover { background: rgba(255,255,255,.08); color: #fff; }

.site-footer { background: #090d10; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; padding: 44px 0; }
.footer-brand img { width: 72px; height: 72px; object-fit: contain; }
.footer-brand p { max-width: 350px; color: rgba(255,255,255,.60); font-size: 14px; }
.site-footer h3 { margin: 0 0 12px; color: var(--cyan); font-size: 14px; }
.site-footer .footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer .footer-grid a { margin: 3px 0; text-decoration: none; color: rgba(255,255,255,.74); font-size: 14px; }
.site-footer .footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 14px 0; color: rgba(255,255,255,.44); font-size: 11px; }
.footer-bottom a { color: rgba(255,255,255,.70); }
.floating-whatsapp { display: none; }

/* INTERNAL PAGES */
.page-hero { padding: 50px 0; background: linear-gradient(180deg, #f4fbfd 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.58fr); gap: 56px; align-items: center; }
.page-hero h1 { font-size: clamp(38px, 4.6vw, 56px); }
.page-hero p { max-width: 650px; margin: 0 0 22px; color: var(--muted); font-size: 17px; }
.page-hero-media { position: relative; justify-self: end; width: min(100%, 410px); aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #eaf3f6; box-shadow: 0 18px 42px rgba(16,24,32,.12); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.page-hero-media span { position: absolute; left: 14px; bottom: 14px; padding: 7px 10px; border-radius: 999px; background: rgba(8,25,32,.84); color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; backdrop-filter: blur(4px); }

.benefit-grid { display: grid; gap: 16px; }
.internal-benefits { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 980px; margin: 0 auto; }
.benefit-grid article { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 8px 22px rgba(16,24,32,.05); }
.internal-benefits article { display: grid; grid-template-columns: 132px 1fr; grid-template-rows: auto 1fr; align-items: stretch; min-height: 132px; }
.internal-benefits article img { grid-row: 1 / 3; width: 132px; height: 100%; min-height: 132px; object-fit: cover; }
.internal-benefits article h3 { margin: 20px 18px 6px; align-self: end; color: var(--orange); font-size: 18px; line-height: 1.2; }
.internal-benefits article p { margin: 0 18px 20px; color: var(--muted); font-size: 13px; line-height: 1.5; }

.equipment-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; }
.equipment-grid article { padding: 20px 17px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.equipment-grid article span { color: var(--cyan-dark); font-size: 10px; font-weight: 950; letter-spacing: .09em; }
.equipment-grid article h3 { margin: 7px 0; font-size: 16px; line-height: 1.2; }
.equipment-grid article p { margin: 0; color: var(--muted); font-size: 12px; }

.contact-panel { display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center; padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(135deg,#fff 0%,#f7fbfc 100%); box-shadow: var(--shadow); }
.contact-panel h2 { font-size: clamp(28px,3.4vw,40px); }
.contact-actions { display: flex; flex-direction: column; gap: 9px; min-width: 245px; }

.maintenance-process { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.process-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 16px; border: 1px solid rgba(255,255,255,.10); border-radius: 14px; background: rgba(255,255,255,.04); }
.process-list li > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--cyan); color: #062a30; font-weight: 950; }
.process-list strong { font-size: 16px; }
.process-list p { margin: 3px 0 0; color: rgba(255,255,255,.62); font-size: 13px; }

.city-hero { position: relative; padding: 64px 0; background: #101820 url('cdmtec_fundo.jpg') center/cover no-repeat; color: #fff; }
.city-hero::before { content: ""; position: absolute; inset: 0; background: rgba(6,16,22,.84); }
.city-hero > .shell { position: relative; text-align: center; }
.city-hero h1 { font-size: clamp(36px,4.6vw,56px); }
.city-hero p { max-width: 780px; margin: 0 auto 24px; color: rgba(255,255,255,.75); font-size: 17px; }
.city-intro-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 46px; align-items: center; }
.city-intro-grid p { color: var(--muted); font-size: 16px; }
.city-summary-card { padding: 28px; border-radius: 18px; background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.city-summary-card span { color: var(--cyan); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.city-summary-card strong { display: block; margin: 7px 0; font-size: 24px; }
.city-summary-card p { margin: 0; color: rgba(255,255,255,.64); }
.city-service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.city-service-grid article { overflow: hidden; padding-bottom: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.city-service-grid article img { width: 100%; height: 190px; object-fit: cover; margin-bottom: 22px; }
.city-service-grid article > *:not(img) { margin-left: 24px; margin-right: 24px; }
.city-service-grid h2 { font-size: 28px; }
.city-service-grid p { color: var(--muted); font-size: 14px; }

.simple-page { padding: 96px 0; text-align: center; }
.simple-page h1 { margin: 0 0 14px; font-size: clamp(38px,5vw,58px); }
.simple-page p { margin: 0 0 24px; color: var(--muted); }

@media (max-width: 1020px) {
    .header-cta { display: none; }
    .hero-grid { grid-template-columns: 1fr .72fr; gap: 34px; }
    .internal-benefits { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .equipment-grid { grid-template-columns: repeat(3,1fr); }
    .value-layout { gap: 34px; }
}

@media (max-width: 780px) {
    .shell { width: min(calc(100% - 28px), var(--shell)); }
    .header-inner { min-height: 68px; gap: 12px; }
    .brand { gap: 8px; }
    .brand-mark { width: 40px; height: 38px; }
    .brand-word { font-size: 19px; }
    .nav-toggle { display: block; margin-left: auto; }
    .site-nav { position: fixed; left: 14px; right: 14px; top: 76px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 9px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 13px 12px; border-radius: 9px; font-size: 14px; }
    .site-nav a.active::after { display: none; }
    .site-nav a:hover, .site-nav a.active { background: var(--cyan-soft); }

    .hero-grid, .page-hero-grid, .value-layout, .city-intro-grid, .maintenance-process { grid-template-columns: 1fr; }
    .hero-grid { min-height: auto; padding: 38px 0 42px; }
    .hero h1 { font-size: clamp(37px,10.5vw,52px); }
    .hero-lead { font-size: 16px; }
    .hero-visual { display: none; }
    .trust-grid { grid-template-columns: 1fr; padding: 8px 0; }
    .trust-grid > div, .trust-grid > div:first-child, .trust-grid > div:last-child { padding: 12px 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .trust-grid > div:last-child { border-bottom: 0; }

    .section { padding: 48px 0; }
    .compact-section { padding: 44px 0; }
    .section-heading { margin-bottom: 26px; }
    .service-choice-grid, .city-service-grid { grid-template-columns: 1fr; }
    .service-choice-image { height: 170px; }
    .service-choice-body { padding: 21px 20px 23px; }
    .service-choice h3 { font-size: 21px; }
    .value-grid { grid-template-columns: 1fr 1fr; }
    .value-grid > div { min-height: 112px; padding: 16px; }
    .value-copy .btn { width: 100%; }

    .cta-band { padding: 42px 0; }
    .cta-band-inner, .contact-panel { grid-template-columns: 1fr; }
    .cta-band-inner .btn { width: 100%; }
    .coverage { padding: 44px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; padding: 38px 0; }

    .page-hero { padding: 40px 0; }
    .page-hero-media { order: -1; justify-self: start; width: min(100%, 520px); aspect-ratio: 16 / 8.8; }
    .internal-benefits { grid-template-columns: 1fr; }
    .internal-benefits article { grid-template-columns: 120px 1fr; min-height: 120px; }
    .internal-benefits article img { width: 120px; min-height: 120px; }
    .equipment-grid { grid-template-columns: 1fr 1fr; }
    .contact-actions { min-width: 0; }
    .maintenance-process { gap: 26px; }
    .city-service-grid article img { height: 170px; }

    .floating-whatsapp { position: fixed; z-index: 1200; left: 14px; right: 14px; bottom: 14px; min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 15px; border-radius: 15px; background: var(--green); color: #fff; text-decoration: none; box-shadow: 0 16px 38px rgba(0,0,0,.26); }
    .floating-whatsapp span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.18); font-size: 10px; font-weight: 950; }
    .site-footer { padding-bottom: 76px; }
}

@media (max-width: 520px) {
    .brand-word { font-size: 18px; }
    .hero-actions, .page-hero .hero-actions { flex-direction: column; }
    .hero-actions .btn, .page-hero .btn { width: 100%; }
    .hero-points { margin-top: 18px; }
    .value-grid, .internal-benefits, .equipment-grid { grid-template-columns: 1fr; }
    .value-grid > div { min-height: auto; }
    .service-choice-image { height: 150px; }
    .internal-benefits article { grid-template-columns: 102px 1fr; min-height: 116px; }
    .internal-benefits article img { width: 102px; min-height: 116px; }
    .internal-benefits article h3 { margin: 15px 14px 5px; font-size: 16px; }
    .internal-benefits article p { margin: 0 14px 15px; font-size: 12px; }
    .page-hero-media { width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; }
    .contact-panel { padding: 24px 19px; }
    .city-service-grid article > *:not(img) { margin-left: 19px; margin-right: 19px; }
}

/* CDMTEC homolog V3 - layout compact 2026-11-12 */

/* CDMTEC homolog V4 - internal pages image/layout fix 2026-11-12 */
