:root {
    --bg: #080f18;
    --bg-soft: #0d1723;
    --card: rgba(18, 31, 45, .78);
    --line: rgba(244, 203, 122, .22);
    --gold: #f4cb7a;
    --white: #f7f9fc;
    --muted: #aeb9c7;
    --cyan: #35d7f4;
    --purple: #c66bff;
    --max: 1180px;
    --radius: 22px;

    --size-social-icons: 1.2rem;
    --size-logo-height: 3rem;
}

/* Mobile */
@media (max-width: 1024px) {
    :root {
        --size-logo-height: 2rem;
        --size-social-icons: 1.5rem;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 85% 0%, rgba(42, 94, 145, .16), transparent 34rem),
        var(--bg);
    color: var(--white);
    font-family: "DM Sans", Arial, sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: min(calc(100% - 40px), var(--max));
    margin-inline: auto;
}

.eyebrow {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .74rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

h1,
h2,
h3 {
    font-family: "DM Sans", Arial, sans-serif;
    line-height: 1.12;
    margin: 0;
}

h1 {
    font-size: clamp(2.35rem, 5vw, 4.7rem);
    letter-spacing: -.055em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    letter-spacing: -.04em;
}

h3 {
    font-size: 1.18rem;
}

.highlight {
    color: var(--gold);
}

.cyan {
    color: var(--cyan);
}

.topbar {
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    font-size: .82rem;
    color: var(--muted);
    padding: 11px 0;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.header {
    height: 76px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(0, 0, 0, .07)
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 11px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    letter-spacing: .05em;
    font-size: 14px
}

.brand b {
    font-weight: 700
}

.brand-mark {
    width: 34px;
    height: 34px;
    border: 1.5px solid var(--gold);
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 10px;
    color: var(--navy);
    font-weight: 700
}

.logo-horizontal {
    position: relative;
    height: var(--size-logo-height);
    user-select: none;
}

.nav-links {
    display: flex;
    gap: 24px;
    color: #dce3eb;
    font-size: .9rem;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-cta {
    padding: 11px 16px !important;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    padding: 15px 22px;
    border-radius: 10px;
    font-weight: 800;
    font-size: .92rem;
    transition: transform .2s, box-shadow .2s, background .2s;
    cursor: pointer;
    border: 0;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gold);
    color: #10151d;
    box-shadow: 0 10px 35px rgba(244, 203, 122, .14);
}

.btn-outline {
    border: 1px solid rgba(244, 203, 122, .5);
    color: var(--gold);
    background: transparent;
}

.hero {
    min-height: 790px;
    display: grid;
    align-items: center;
    padding: 50px 0 80px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, #080f18 0%, rgba(8, 15, 24, .91) 38%, rgba(8, 15, 24, .6) 70%, rgba(8, 15, 24, .7)),
        linear-gradient(0deg, var(--bg) 0%, transparent 25%),
        url("../images/content/featured/casa-inteligente-automacao-redes-som-cftv-alpha-sirius-marilia-sp.webp") center right / cover no-repeat;
}

.hero-content {
    max-width: 690px;
    position: relative;
    z-index: 1;
}

.hero p {
    color: #d0d8e2;
    font-size: 1.12rem;
    max-width: 600px;
    margin: 25px 0 30px;
}

.hero-actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
}

.microcopy {
    color: var(--muted);
    font-size: .78rem;
    margin-top: 15px;
}

.proof-row {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 46px;
    color: var(--muted);
    font-size: .85rem;
}

.proof-row strong {
    color: var(--white);
    display: block;
    font-size: 1.05rem;
}

section {
    padding: 100px 0;
}

.section-head {
    max-width: 730px;
    margin-bottom: 45px;
}

.section-head p {
    color: var(--muted);
    margin-top: 18px;
    font-size: 1.05rem;
}

.pain-grid,
.benefit-grid,
.steps-grid,
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    background: linear-gradient(145deg, rgba(18, 31, 45, .92), rgba(10, 19, 30, .78));
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius);
    padding: 28px;
}

.card p {
    color: var(--muted);
    margin-bottom: 0;
}

.icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 0;
    background: rgba(53, 215, 244, .1);
    color: var(--cyan);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.dark-band {
    background: #0b141f;
    border-block: 1px solid rgba(255, 255, 255, .05);
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
    display: grid;
    gap: 16px;
}

.check-list li {
    display: flex;
    gap: 12px;
    color: #dce3eb;
}

.check-list li::before {
    content: "✓";
    color: var(--gold);
    font-weight: 800;
}

.estimate {
    border: 1px solid var(--line);
    background: linear-gradient(145deg, #121f2d, #0b141f);
    border-radius: var(--radius);
    padding: 38px;
    position: relative;
    overflow: hidden;
}

.estimate::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -80px;
    top: -80px;
    border-radius: 50%;
    background: rgba(198, 107, 255, .1);
    filter: blur(5px);
}

.estimate .price {
    font-size: 3.5rem;
    font-family: "DM Sans", Arial, sans-serif;
    font-weight: 800;
    color: var(--gold);
    margin: 12px 0;
}

.estimate small {
    color: var(--muted);
}

.estimate p {
    color: #dce3eb;
}

.steps-grid {
    grid-template-columns: repeat(4, 1fr);
    counter-reset: steps;
}

.step {
    position: relative;
}

.step-number {
    color: var(--gold);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .12em;
    margin-bottom: 20px;
}

.service-grid {
    grid-template-columns: repeat(4, 1fr);
}

.service-grid .card {
    padding: 23px;
    min-height: 190px;
}

.service-grid .card p {
    font-size: .9rem;
}

.form-wrap {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 40px;
    align-items: start;
}

.form-card {
    background: #f4f6f8;
    color: #101820;
    border-radius: 24px;
    padding: 34px;
}

.form-card h3 {
    margin-bottom: 8px;
}

.form-card .form-note {
    color: #596674;
    font-size: .84rem;
    margin-bottom: 22px;
}

form {
    display: grid;
    gap: 13px;
}

label {
    font-size: .78rem;
    font-weight: 800;
    color: #394653;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #d6dde5;
    border-radius: 9px;
    padding: 13px 14px;
    font: inherit;
    font-size: .92rem;
    margin-top: 6px;
    background: white;
}

textarea {
    min-height: 92px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.optional {
    color: #999;
    font-weight: 400
}

.form-note {
    font-size: 12px !important;
    color: #888 !important;
    margin: 0 0 1rem !important
}

.form-card .btn {
    width: 100%;
    margin-top: 4px;
}

.form-success {
    display: none;
    padding: 13px;
    border-radius: 9px;
    background: #e5f7ed;
    color: #1f6b42;
    font-size: .88rem;
}

details {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    padding: 20px 0;
}

summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    float: right;
    color: var(--gold);
    font-size: 1.4rem;
}

details[open] summary::after {
    content: "−";
}

details p {
    color: var(--muted);
    max-width: 850px;
}


.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 12px
}

.footer {
    background: #080e15;
    padding: 4rem 0 2rem 0;
    border-top: 1px solid rgba(224, 224, 224, 0.02);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, .5);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(2, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin: 1rem 0 1.5rem 0;
    line-height: 1.5;
}

.footer-title {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-link:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(224, 224, 224, 0.03);
    padding-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
}

.social-icons {
    margin-top: 1rem;
}

.social-icons a {
    display: inline-flex;
    transition: color 0.3s, transform 0.3s;
}

.social-icons a .icon {
    width: var(--size-social-icons);
    height: var(--size-social-icons);
    fill: rgba(255, 255, 255, .5);
    margin: 0.3rem;
    transition: fill 0.3s, transform 0.3s;
    background: none;
}

.social-icons a:hover .icon {
    transform: scale(1.1);
    will-change: transform;
}

.social-icons a[aria-label="Instagram"]:hover .icon { fill: #E1306C; }
.social-icons a[aria-label="Facebook"]:hover  .icon { fill: #0866FF; }
.social-icons a[aria-label="YouTube"]:hover   .icon { fill: #FF0033; }
.social-icons a[aria-label="LinkedIn"]:hover  .icon { fill: #0A66C2; }
.social-icons a[aria-label="Email"]:hover     .icon { fill: #284668; }
.social-icons a[aria-label="WhatsApp"]:hover  .icon { fill: #25D366; }


.floating {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 10;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .hero {
        min-height: 720px;
        background-position: 62% center;
    }

    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(8, 15, 24, .35);
    }

    .hero-content {
        z-index: 1;
    }

    .split,
    .form-wrap {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .pain-grid,
    .benefit-grid {
        grid-template-columns: 1fr 1fr;
    }

    .steps-grid,
    .service-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid { grid-template-columns: 2fr; gap: 2.5rem; }
}

@media (max-width: 560px) {
    .container {
        width: min(calc(100% - 28px), var(--max));
    }

    header {
        top: 42px;
    }

    .hero {
        padding-top: 130px;
        min-height: 760px;
        background-position: 66% center;
    }

    section {
        padding: 70px 0;
    }

    .hero-actions,
    .hero-actions .btn {
        width: 100%;
    }

    .pain-grid,
    .benefit-grid,
    .steps-grid,
    .service-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 24px;
    }

    .proof-row {
        margin-top: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr; gap: 2.5rem;
    }

    .footer-bottom {
        margin-bottom: 24px;
    }
}