:root {
    --red: #df2638;
    --red-dark: #b91e2d;
    --dark: #151515;
    --dark-light: #202020;
    --text: #262626;
    --muted: #777;
    --light: #f5f5f5;
    --white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    line-height: 1.6;
}

a {
    text-decoration: none;
}

.container {
    width: min(1160px, 90%);
    margin: auto;
}

.header {
    background: var(--dark);
    color: var(--white);
    position: relative;
    z-index: 10;
}

.nav-container {
    min-height: 82px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-icon {
    background: var(--red);
    width: 39px;
    height: 39px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 23px;
}

.red {
    color: var(--red);
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    color: #ddd;
    font-size: 14px;
    transition: .2s;
}

nav a:hover {
    color: white;
}

nav .nav-button {
    background: var(--red);
    color: white;
    padding: 12px 19px;
    border-radius: 5px;
}

.menu-toggle {
    display: none;
    color: white;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

.hero {
    background:
        radial-gradient(circle at 80% 50%, #383838 0, transparent 35%),
        linear-gradient(120deg, #151515, #252525);
    color: white;
    padding: 105px 0;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: 60px;
}

.eyebrow {
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.12;
    margin: 22px 0;
    max-width: 680px;
}

.hero h1 span {
    color: var(--red);
    display: block;
}

.hero-text > p {
    color: #c8c8c8;
    max-width: 510px;
    margin-bottom: 30px;
    font-size: 17px;
}

.button-primary,
.button-light {
    display: inline-flex;
    gap: 18px;
    align-items: center;
    justify-content: center;
    padding: 15px 23px;
    background: var(--red);
    color: white;
    font-weight: 700;
    border-radius: 5px;
    transition: .2s;
}

.button-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 30px;
    font-size: 13px;
    color: #ddd;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 350px;
}

.visual-card {
    width: 100%;
    max-width: 390px;
    min-height: 320px;
    padding: 40px;
    border: 1px solid #555;
    border-radius: 20px;
    background: linear-gradient(145deg, #303030, #191919);
    box-shadow: 0 25px 70px #0008;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.signal-icon {
    color: var(--red);
    font-size: 85px;
    line-height: 1;
}

.visual-label {
    color: #aaa;
    font-size: 11px;
    letter-spacing: 2px;
    margin: 25px 0 12px;
}

.visual-card strong {
    font-size: 24px;
    line-height: 1.3;
}

.signal-bars {
    display: flex;
    align-items: end;
    gap: 7px;
    height: 35px;
    margin-top: 25px;
}

.signal-bars i {
    width: 9px;
    background: var(--red);
    border-radius: 3px;
}

.signal-bars i:nth-child(1) { height: 30%; }
.signal-bars i:nth-child(2) { height: 50%; }
.signal-bars i:nth-child(3) { height: 70%; }
.signal-bars i:nth-child(4) { height: 85%; }
.signal-bars i:nth-child(5) { height: 100%; }

.section {
    padding: 90px 0;
}

.section-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 45px;
}

.section-heading h2,
.plans h2,
.about h2,
.contact h2 {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;
    margin: 15px 0;
}

.section-heading p,
.plans p,
.about p,
.contact p {
    color: var(--muted);
}

.technology-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.tech-card {
    border: 1px solid #e8e8e8;
    padding: 35px;
    border-radius: 9px;
    transition: .2s;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px #0000000d;
    border-color: var(--red);
}

.card-icon {
    color: var(--red);
    font-size: 38px;
    margin-bottom: 18px;
}

.tech-card h3 {
    font-size: 21px;
    margin-bottom: 10px;
}

.tech-card p {
    color: var(--muted);
    font-size: 14px;
}

.plans {
    background: var(--light);
}

.plans-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.plans-content > div {
    max-width: 650px;
}

.plans p {
    max-width: 550px;
}

.about-content {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    align-items: center;
    gap: 70px;
}

.about-mark {
    min-height: 240px;
    border-radius: 15px;
    background: var(--dark);
    color: white;
    display: grid;
    place-items: center;
    font-size: 85px;
    font-weight: 900;
}

.about-mark span {
    color: var(--red);
}

.contact {
    background: var(--red);
    color: white;
    text-align: center;
}

.contact .eyebrow {
    color: #ffe0e0;
}

.contact-content {
    max-width: 700px;
}

.contact h2 {
    font-size: 43px;
}

.contact p {
    color: #ffe4e4;
    margin-bottom: 28px;
}

.button-light {
    background: white;
    color: var(--red);
}

.footer {
    background: var(--dark);
    color: #aaa;
    padding: 28px 0;
    font-size: 12px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

@media (max-width: 800px) {
    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 82px;
        left: 0;
        width: 100%;
        padding: 25px 5%;
        background: #202020;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    nav.open {
        display: flex;
    }

    .hero {
        padding: 70px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-visual {
        min-height: 270px;
    }

    .technology-grid {
        grid-template-columns: 1fr;
    }

    .plans-content,
    .about-content {
        grid-template-columns: 1fr;
        display: grid;
    }

    .plans-content {
        justify-items: start;
    }

    .about-content {
        gap: 30px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* PLANOS NA PAGINA INICIAL */

.home-plans {
    background: #101010;
    color: #fff;
}

.home-plans .section-heading p {
    color: #bbb;
}

.home-plans-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 45px;
}

.home-plan {
    position: relative;
    padding: 30px 22px;
    border: 1px solid #a5222c;
    border-radius: 13px;
    background: linear-gradient(150deg, #281012, #101010);
    text-align: center;
    transition: .25s;
}

.home-plan:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 25px #e3263840;
}

.home-plan h3 {
    font-size: 23px;
    margin-bottom: 18px;
}

.home-price {
    color: #ed293b;
    font-size: 43px;
    font-weight: 900;
}

.home-price span {
    color: #ddd;
    font-size: 13px;
    font-weight: normal;
}

.home-plan p {
    color: #ccc;
    min-height: 45px;
    margin: 12px 0 20px;
    font-size: 14px;
}

.home-plan a {
    display: block;
    background: #df2638;
    color: white;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
}

.home-plan.featured {
    border: 2px solid #ffcf36;
}

.home-plan.premium {
    border-color: #bd8625;
}

.home-tag {
    display: inline-block;
    color: #171000;
    background: #ffcf36;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 12px;
}

.home-plans-note {
    text-align: center;
    color: #aaa;
    font-size: 13px;
    margin-top: 30px;
}

.home-phones {
    margin-top: 25px;
    color: white !important;
    font-weight: bold;
}

@media (max-width: 1050px) {
    .home-plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .home-plans-grid {
        grid-template-columns: 1fr;
        max-width: 410px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* CAPA COM FOTOGRAFIA REAL ALEGRETENET */
.hero-visual {
    min-height: 350px;
    overflow: hidden;
    border-radius: 14px;
}

.hero-image {
    display: block;
    width: 100%;
    height: 390px;
    object-fit: cover;
    object-position: center;
    border-radius: 14px;
    box-shadow: 0 20px 50px #0008;
}

@media (max-width: 768px) {
    .hero-visual {
        min-height: 250px;
    }

    .hero-image {
        height: 280px;
    }
}

/* LOGO OFICIAL ALEGRETENET */
.site-logo {
    display: block;
    width: 190px;
    height: 58px;
    object-fit: contain;
    object-position: left center;
}

.footer .site-logo {
    width: 170px;
    height: 55px;
}

@media (max-width: 768px) {
    .site-logo {
        width: 155px;
        height: 48px;
    }
}

/* LOGO ORIGINAL ALEGRETENET */
.logo-image {
    display: block;
    width: 190px;
    height: auto;
    max-height: 55px;
    object-fit: contain;
}

@media (max-width: 600px) {
    .logo-image {
        width: 155px;
        max-height: 45px;
    }
}

/* LOGO NA SECAO QUEM SOMOS */
.about-mark {
    min-height: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.about-mark img {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
}

/* AJUSTE FINAL DA MARCA NA SECAO QUEM SOMOS */
.about-mark {
    min-height: auto !important;
    height: auto !important;
    background: transparent !important;
    border-radius: 0;
    padding: 10px 0 35px;
}

.about-mark img {
    width: 100%;
    max-width: 420px;
    height: auto;
    background: transparent;
}


/* LINK PARA OS PACOTES DE TV */
.tv-card-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--red);
    font-weight: 700;
    font-size: 14px;
}
.tv-card-link:hover {
    text-decoration: underline;
}
