:root {
    --apnet-orange: #ff7a1a;
    --apnet-green: #24b45a;
    --apnet-blue: #10243f;
    --apnet-blue-2: #173a63;
    --apnet-gray: #f4f7fa;
    --apnet-text: #1d2633;
}

* {
    letter-spacing: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--apnet-text);
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff;
}

.site-header {
    background: rgba(16, 36, 63, 0.94);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(16, 36, 63, 0.18);
}

.navbar {
    min-height: 76px;
}

.apnet-logo {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 900;
    text-decoration: none;
    line-height: 1;
}

.apnet-logo span {
    color: var(--apnet-orange);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.84);
    font-weight: 700;
    padding-inline: 1rem !important;
    font-size: 0.92rem;
}

.navbar-nav .nav-link:hover,
.client-link:hover {
    color: #ffffff;
}

.client-link {
    color: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
}

.btn {
    border-radius: 8px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-apnet-orange {
    background: var(--apnet-orange);
    border-color: var(--apnet-orange);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(255, 122, 26, 0.28);
}

.btn-apnet-orange:hover {
    background: #e7660b;
    border-color: #e7660b;
    color: #ffffff;
}

.btn-apnet-blue {
    background: var(--apnet-blue);
    border-color: var(--apnet-blue);
    color: #ffffff;
}

.btn-apnet-blue:hover {
    background: var(--apnet-blue-2);
    border-color: var(--apnet-blue-2);
    color: #ffffff;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    background-image: url("/images/apnet-hero.png");
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 20, 36, 0.92) 0%, rgba(16, 36, 63, 0.76) 44%, rgba(16, 36, 63, 0.22) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.38));
}

.hero-kicker,
.section-tag {
    color: var(--apnet-orange);
    display: inline-block;
    font-size: 0.84rem;
    font-weight: 900;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
}

.hero-section h1 {
    color: #ffffff;
    font-size: clamp(2.4rem, 5vw, 5.2rem);
    font-weight: 950;
    line-height: 0.98;
    margin-bottom: 1.35rem;
    max-width: 900px;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.12rem, 2vw, 1.45rem);
    line-height: 1.5;
    margin-bottom: 2rem;
    max-width: 720px;
}

.plans-section {
    background: var(--apnet-gray);
}

.section-title {
    color: var(--apnet-blue);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 900;
}

.section-description {
    color: #5e6d7f;
    font-size: 1.08rem;
}

.plan-card {
    background: #ffffff;
    border: 1px solid rgba(16, 36, 63, 0.08);
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(16, 36, 63, 0.08);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.55rem;
    position: relative;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.plan-card:hover {
    border-color: rgba(255, 122, 26, 0.4);
    box-shadow: 0 24px 56px rgba(16, 36, 63, 0.16);
    transform: translateY(-8px);
}

.plan-card-featured {
    border: 2px solid var(--apnet-orange);
    transform: scale(1.02);
}

.plan-card-featured:hover {
    transform: scale(1.02) translateY(-8px);
}

.featured-ribbon {
    background: var(--apnet-green);
    border-radius: 0 6px 0 8px;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 0.45rem 0.7rem;
    position: absolute;
    right: 0;
    text-transform: uppercase;
    top: 0;
}

.plan-badge {
    align-self: flex-start;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
    padding: 0.35rem 0.75rem;
}

.badge-orange {
    background: var(--apnet-orange);
}

.badge-blue {
    background: var(--apnet-blue-2);
}

.badge-green {
    background: var(--apnet-green);
}

.plan-card h3 {
    color: var(--apnet-blue);
    font-size: 2rem;
    font-weight: 950;
}

.plan-price {
    color: var(--apnet-blue);
    font-size: 1.95rem;
    font-weight: 950;
    margin-bottom: 1.35rem;
}

.plan-price span {
    color: #748294;
    font-size: 0.95rem;
    font-weight: 700;
}

.plan-benefits {
    flex: 1;
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

.plan-benefits li {
    align-items: center;
    color: #415166;
    display: flex;
    gap: 0.62rem;
    margin-bottom: 0.7rem;
}

.plan-benefits i {
    color: var(--apnet-green);
}

.services-section {
    background: #0b1d33;
    color: #ffffff;
}

.services-title {
    font-size: clamp(2rem, 3.6vw, 3.5rem);
    font-weight: 950;
    line-height: 1.04;
    margin: 0;
    max-width: 780px;
}

.services-description {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
    line-height: 1.55;
    margin: 0;
}

.service-card {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.service-card-camera {
    background: #102d4d;
}

.service-card-gps {
    background: #173c35;
}

.service-card-phone {
    background: #293244;
}

.service-card:hover {
    border-color: rgba(255, 122, 26, 0.7);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
    transform: translateY(-7px);
}

.service-visual {
    align-items: center;
    aspect-ratio: 16 / 10;
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 1rem 1.25rem 0;
}

.service-visual img {
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    width: 100%;
}

.service-card:hover .service-visual img {
    transform: scale(1.04);
}

.service-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 0.5rem 1.5rem 1.5rem;
}

.service-icon {
    align-items: center;
    background: var(--apnet-orange);
    border-radius: 8px;
    color: #ffffff;
    display: inline-flex;
    font-size: 1.15rem;
    height: 40px;
    justify-content: center;
    margin-bottom: 1rem;
    width: 40px;
}

.service-content h3 {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
}

.service-content p {
    color: rgba(255, 255, 255, 0.74);
    flex: 1;
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

.service-link {
    align-items: center;
    color: #ffffff;
    display: inline-flex;
    font-weight: 850;
    gap: 0.5rem;
    text-decoration: none;
}

.service-link i {
    color: var(--apnet-orange);
    transition: transform 0.2s ease;
}

.service-link:hover {
    color: #ffffff;
}

.service-link:hover i {
    transform: translateX(4px);
}

.caruaru-section {
    background-image: url("/images/caruaru-skyline.jpg");
    background-position: center;
    background-size: cover;
    min-height: 520px;
    overflow: hidden;
    position: relative;
}

.caruaru-overlay {
    background: linear-gradient(90deg, rgba(8, 20, 36, 0.94) 0%, rgba(16, 36, 63, 0.72) 46%, rgba(16, 36, 63, 0.08) 78%);
    inset: 0;
    position: absolute;
}

.caruaru-section .container {
    align-items: center;
    display: flex;
    min-height: 520px;
}

.caruaru-content {
    color: #ffffff;
    max-width: 620px;
    padding: 4rem 0;
}

.caruaru-kicker {
    align-items: center;
    color: #ffffff;
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 900;
    gap: 0.45rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.caruaru-kicker i {
    color: var(--apnet-orange);
}

.caruaru-content h2 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 950;
    line-height: 1.02;
    margin-bottom: 1.15rem;
}

.caruaru-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    line-height: 1.55;
    margin-bottom: 1.75rem;
    max-width: 560px;
}

.photo-credit {
    bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.7rem;
    position: absolute;
    right: 1rem;
    text-decoration: none;
    z-index: 1;
}

.photo-credit:hover {
    color: #ffffff;
}

.why-section {
    background: #ffffff;
}

.why-panel,
.coverage-form {
    background: #ffffff;
    border: 1px solid rgba(16, 36, 63, 0.08);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(16, 36, 63, 0.08);
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.why-panel h2,
.coverage-form h2 {
    color: var(--apnet-blue);
    font-weight: 900;
    margin-bottom: 1rem;
}

.why-panel p,
.coverage-form p {
    color: #5e6d7f;
    font-size: 1.05rem;
}

.why-panel strong {
    color: var(--apnet-blue);
    display: block;
    font-size: 1.45rem;
    font-weight: 950;
}

.why-panel span {
    color: #66778a;
}

.coverage-form .form-control {
    border-color: rgba(16, 36, 63, 0.18);
    border-radius: 8px 0 0 8px;
}

.coverage-form .form-control:focus {
    border-color: var(--apnet-orange);
    box-shadow: 0 0 0 0.25rem rgba(255, 122, 26, 0.18);
}

.coverage-neighborhoods {
    border-top: 1px solid rgba(16, 36, 63, 0.1);
    margin-top: 1.5rem;
    padding-top: 1.25rem;
}

.coverage-neighborhoods-title {
    align-items: center;
    color: var(--apnet-blue) !important;
    display: flex;
    font-size: 0.9rem !important;
    font-weight: 900;
    gap: 0.45rem;
    margin-bottom: 0.9rem;
    text-transform: uppercase;
}

.coverage-neighborhoods-title i {
    color: var(--apnet-orange);
    font-size: 1.05rem;
}

.coverage-neighborhoods ul {
    display: grid;
    gap: 0.65rem 1.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.coverage-neighborhoods li {
    align-items: center;
    color: #415166;
    display: flex;
    font-weight: 700;
    gap: 0.5rem;
}

.coverage-neighborhoods li::before {
    color: var(--apnet-green);
    content: "\2713";
    font-weight: 950;
}

.site-footer {
    background: var(--apnet-blue);
    color: rgba(255, 255, 255, 0.78);
    padding: 2rem 0;
}

.footer-logo {
    display: inline-block;
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    justify-content: flex-md-end;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-contact li {
    align-items: center;
    display: inline-flex;
    gap: 0.45rem;
}

.footer-contact .footer-address {
    flex-basis: 100%;
    justify-content: flex-md-end;
}

.footer-address .footer-contact-link {
    max-width: 680px;
    text-align: right;
}

.footer-contact i {
    color: var(--apnet-orange);
}

.footer-contact-link {
    align-items: center;
    color: rgba(255, 255, 255, 0.78);
    display: inline-flex;
    gap: 0.45rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-link:hover {
    color: #ffffff;
}

.footer-contact-link .bi-whatsapp {
    color: var(--apnet-green);
}

.whatsapp-float {
    align-items: center;
    background: #20b858;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    bottom: 1.5rem;
    box-shadow: 0 14px 34px rgba(6, 52, 27, 0.3);
    color: #ffffff;
    display: inline-flex;
    font-size: 0.95rem;
    font-weight: 800;
    gap: 0.6rem;
    padding: 0.78rem 1rem;
    position: fixed;
    right: 1.5rem;
    text-decoration: none;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    z-index: 1080;
}

.whatsapp-float i {
    font-size: 1.45rem;
    line-height: 1;
}

.whatsapp-float:hover {
    background: #159947;
    box-shadow: 0 18px 42px rgba(6, 52, 27, 0.38);
    color: #ffffff;
    transform: translateY(-3px);
}

.whatsapp-float:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

@media (max-width: 991.98px) {
    .site-header {
        position: absolute;
    }

    .navbar {
        min-height: 68px;
    }

    .navbar-collapse {
        padding: 1rem 0 1.25rem;
    }

    .hero-section {
        min-height: 880px;
    }

    .hero-section .row {
        min-height: 880px !important;
        padding-top: 6rem;
    }

    .plan-card-featured {
        transform: none;
    }

    .plan-card-featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        min-height: 760px;
    }

    .hero-section .row {
        min-height: 760px !important;
    }

    .input-group {
        display: grid;
        gap: 0.75rem;
    }

    .coverage-form .form-control,
    .coverage-form .btn {
        border-radius: 8px !important;
        width: 100%;
    }

    .footer-contact {
        display: grid;
        justify-content: start;
    }

    .footer-contact .footer-address {
        justify-content: start;
    }

    .footer-address .footer-contact-link {
        align-items: flex-start;
        text-align: left;
    }

    .caruaru-section,
    .caruaru-section .container {
        min-height: 560px;
    }

    .caruaru-section {
        background-position: 58% center;
    }

    .caruaru-overlay {
        background: linear-gradient(90deg, rgba(8, 20, 36, 0.94) 0%, rgba(16, 36, 63, 0.74) 76%, rgba(16, 36, 63, 0.42) 100%);
    }

    .caruaru-content {
        padding: 4.5rem 0;
    }

    .coverage-neighborhoods ul {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        bottom: 1rem;
        padding: 0.8rem;
        right: 1rem;
    }

    .whatsapp-float span {
        display: none;
    }
}
