/* =========================================================
   DISKETTE INFORMÁTICA | EMPRESAS
   empresas.css
========================================================= */


/* =========================================================
   VARIÁVEIS
========================================================= */

:root {
    --bg: #080a0d;
    --bg-soft: #0d1015;
    --card: #11151b;
    --card-hover: #151a22;

    --blue: #1677ff;
    --blue-hover: #3289ff;
    --blue-light: #8dbdff;
    --blue-soft: rgba(22, 119, 255, 0.10);

    --white: #f5f7fa;
    --gray: #a8b0bb;
    --gray-dark: #747d89;

    --border: #242a33;
    --border-light: #35404d;

    --container: 1160px;
}


/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    background: var(--bg);
    color: var(--white);

    font-family: "Inter", Arial, sans-serif;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(92%, var(--container));
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(8, 10, 13, 0.92);
    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.header-content {
    min-height: 74px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* LOGO */

.brand {
    display: flex;
    align-items: center;
    gap: 11px;

    flex-shrink: 0;
}

.brand-icon {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 2px solid var(--blue);
    border-radius: 7px;

    color: var(--blue);

    font-size: 13px;
    font-weight: 800;
}

.brand-name {
    color: var(--white);

    font-size: 17px;
    font-weight: 800;

    letter-spacing: -0.025em;
}

.brand-name span {
    margin-left: 5px;

    color: var(--gray);

    font-weight: 500;
}


/* NAVEGAÇÃO */

.nav {
    display: flex;
    align-items: center;
    gap: 27px;

    color: var(--gray);

    font-size: 14px;
    font-weight: 500;
}

.nav a {
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.nav a:hover {
    color: var(--white);
}

.nav-button {
    padding: 10px 17px;

    color: var(--white) !important;

    border: 1px solid var(--border);
    border-radius: 8px;
}

.nav-button:hover {
    background: var(--bg-soft);
    border-color: var(--blue);
}


/* =========================================================
   ELEMENTOS GERAIS
========================================================= */

.eyebrow {
    margin-bottom: 18px;

    color: var(--blue);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.button {
    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 22px;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.button-primary {
    position: relative;
    overflow: visible;
    background: var(--blue);
    color: #ffffff;
    border: 1px solid var(--blue);
    box-shadow: 0 8px 26px rgba(22, 119, 255, 0.30), 0 0 0 0 rgba(22, 119, 255, 0.48);
    animation: cta-pulse 1.8s ease-in-out infinite;
}

.button-primary:hover {
    background: var(--blue-hover);
    border-color: var(--blue-hover);
}

@keyframes cta-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 26px rgba(22, 119, 255, 0.28), 0 0 0 0 rgba(22, 119, 255, 0.50);
    }
    50% {
        transform: scale(1.025);
        box-shadow: 0 12px 34px rgba(22, 119, 255, 0.40), 0 0 0 10px rgba(22, 119, 255, 0);
    }
}

.button-secondary {
    color: var(--white);

    background: transparent;
    border: 1px solid var(--border);
}

.button-secondary:hover {
    background: var(--bg-soft);
    border-color: #46505d;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    padding: 45px 0 90px;

    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);

    align-items: center;

    gap: 70px;
}


/* TEXTO */

.hero-content {
    max-width: 680px;
}

.hero h1 {
    margin-bottom: 26px;

    font-size: clamp(46px, 5vw, 70px);
    font-weight: 700;

    line-height: 1.02;
    letter-spacing: -0.052em;
}

.hero-description {
    max-width: 610px;

    margin-bottom: 34px;

    color: var(--gray);

    font-size: 18px;
    line-height: 1.65;
}


/* BOTÕES */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 13px;
}


/* INFORMAÇÕES */

.hero-info {
    margin-top: 28px;

    display: flex;
    flex-wrap: wrap;

    gap: 10px 22px;

    color: var(--gray);

    font-size: 13px;
}

.hero-info span::before {
    content: "•";

    margin-right: 8px;

    color: var(--blue);
}


/* =========================================================
   VISUAL DO HERO
========================================================= */

.hero-visual {
    position: relative;

    height: 500px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 85%,
            rgba(22, 119, 255, 0.18),
            transparent 55%
        ),
        #0b0e12;

    border: 1px solid var(--border);
    border-radius: 18px;
}


/* brilho azul discreto */

.hero-visual::before {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    left: 50%;
    bottom: -190px;

    transform: translateX(-50%);

    background: rgba(22, 119, 255, 0.22);

    filter: blur(80px);

    border-radius: 50%;

    pointer-events: none;

    z-index: 2;
}


/* FOTOS */

.hero-photo {
    position: relative;

    height: 100%;

    overflow: hidden;
}

.hero-photo:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;
}


/* ETIQUETA */

.hero-visual-label {
    position: absolute;

    left: 20px;
    right: 20px;
    bottom: 20px;

    z-index: 5;

    padding: 15px 17px;

    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;

    column-gap: 9px;

    background: rgba(8, 10, 13, 0.86);

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    color: var(--gray);

    font-size: 11px;
}

.hero-visual-label strong {
    grid-column: 2;

    color: var(--white);

    font-size: 13px;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;

    grid-row: 1 / 3;

    background: var(--blue);

    border-radius: 50%;
}


/* =========================================================
   SEÇÕES
========================================================= */

.section {
    padding: 90px 0;

    border-top: 1px solid var(--border);
}

.section-header {
    max-width: 680px;

    margin-bottom: 45px;
}

.section-header h2,
.about-content h2 {
    margin-bottom: 16px;

    font-size: clamp(30px, 3.8vw, 44px);
    font-weight: 700;

    line-height: 1.12;
    letter-spacing: -0.04em;
}

.section-header > p:last-child {
    max-width: 620px;

    color: var(--gray);

    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   SERVIÇOS
========================================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 14px;
}

.service-card {
    min-height: 230px;

    padding: 27px;

    display: flex;
    flex-direction: column;

    background: var(--card);

    border: 1px solid var(--border);
    border-radius: 12px;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.service-card:hover {
    background: var(--card-hover);
    border-color: var(--border-light);

    transform: translateY(-2px);
}

.card-number {
    display: block;

    margin-bottom: auto;
    padding-bottom: 35px;

    color: var(--blue);

    font-size: 12px;
    font-weight: 700;
}

.service-card h3 {
    margin-bottom: 9px;

    font-size: 18px;
    font-weight: 700;
}

.service-card p {
    color: var(--gray);

    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   FORMAS DE CONTRATAR
========================================================= */

.contract-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 16px;
}

.contract-card {
    min-height: 310px;

    padding: 38px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    background: var(--card);

    border: 1px solid var(--border);
    border-radius: 14px;
}

.contract-featured {
    border-color: rgba(22, 119, 255, 0.55);

    background:
        linear-gradient(
            145deg,
            rgba(22, 119, 255, 0.10) 0%,
            var(--card) 48%
        );
}

.contract-label {
    display: block;

    margin-bottom: 22px;

    color: var(--blue);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.09em;
}

.contract-card h3 {
    max-width: 440px;

    margin-bottom: 13px;

    font-size: 27px;
    font-weight: 700;

    line-height: 1.2;
    letter-spacing: -0.03em;
}

.contract-card p {
    max-width: 480px;

    margin-bottom: 25px;

    color: var(--gray);

    font-size: 15px;
    line-height: 1.7;
}

.text-link {
    margin-top: auto;

    color: var(--blue-light);

    font-size: 14px;
    font-weight: 600;

    transition: color 0.2s ease;
}

.text-link:hover {
    color: var(--white);
}


/* =========================================================
   PLANOS
========================================================= */

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 16px;
}

.plan-card {
    position: relative;

    min-height: 410px;

    padding: 32px;

    background: var(--card);

    border: 1px solid var(--border);
    border-radius: 14px;
}

.plan-featured {
    border-color: var(--blue);

    background:
        linear-gradient(
            160deg,
            rgba(22, 119, 255, 0.08),
            var(--card) 35%
        );
}

.recommended {
    position: absolute;

    top: 18px;
    right: 18px;

    padding: 5px 8px;

    color: var(--blue-light);
    background: rgba(22, 119, 255, 0.12);

    border-radius: 5px;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.08em;
}

.plan-card h3 {
    margin-bottom: 8px;

    font-size: 20px;
    font-weight: 700;
}

.plan-description {
    min-height: 50px;

    margin-bottom: 25px;

    color: var(--gray);

    font-size: 14px;
    line-height: 1.6;
}

.plan-price {
    margin-bottom: 25px;
}

.plan-price span {
    display: block;

    color: var(--gray);

    font-size: 12px;
}

.plan-price strong {
    display: block;

    margin-top: 2px;

    color: var(--white);

    font-size: 28px;
    font-weight: 700;

    letter-spacing: -0.04em;
}

.plan-card ul {
    padding-top: 22px;

    border-top: 1px solid var(--border);

    list-style: none;
}

.plan-card li {
    position: relative;

    margin-bottom: 11px;
    padding-left: 21px;

    color: var(--gray);

    font-size: 14px;
    line-height: 1.5;
}

.plan-card li::before {
    content: "✓";

    position: absolute;
    left: 0;

    color: var(--blue);

    font-weight: 800;
}


/* =========================================================
   QUEM SOMOS
========================================================= */

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    align-items: center;

    gap: 70px;
}


/* BLOCO DAS DUAS FOTOS */

.about-image {
    width: 100%;
    height: 430px;
    min-height: 0;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 1px;

    overflow: hidden;

    background: var(--border);

    border: 1px solid var(--border);
    border-radius: 14px;
}


/* FOTO INDIVIDUAL */

.technician-photo {
    position: relative;

    width: 100%;
    height: 100%;
    min-height: 0;

    overflow: hidden;

    background: var(--card);
}

.technician-photo img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;
}


/* TEXTO */

.about-content {
    min-width: 0;
}

.about-content > p:not(.eyebrow) {
    max-width: 560px;

    margin-bottom: 16px;

    color: var(--gray);

    font-size: 16px;
    line-height: 1.7;
}

.technicians {
    margin-top: 27px;
    padding-top: 24px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    border-top: 1px solid var(--border);

    font-size: 14px;
}

.technicians strong {
    color: var(--white);
}

.technicians span {
    color: var(--blue);
}


/* =========================================================
   CTA FINAL
========================================================= */

.final-section {
    padding: 90px 0;
}

.final-card {
    padding: 58px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;

    background: var(--blue);

    border-radius: 16px;
}

.final-card h2 {
    max-width: 600px;

    margin-bottom: 15px;

    color: #ffffff;

    font-size: clamp(30px, 4vw, 48px);
    font-weight: 700;

    line-height: 1.08;
    letter-spacing: -0.04em;
}

.final-card p {
    max-width: 630px;

    color: rgba(255, 255, 255, 0.84);

    font-size: 16px;
    line-height: 1.7;
}

.final-button {
    flex-shrink: 0;

    background: #ffffff;
    color: #0c4fa8;
}

.final-button:hover {
    background: #f1f5fb;

    transform: translateY(-2px);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    padding: 35px 0;

    border-top: 1px solid var(--border);

    color: var(--gray);

    font-size: 12px;
}

.footer-content {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    flex-wrap: wrap;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .plan-card {
        min-height: auto;
    }

    .about-grid {
        gap: 40px;
    }

}


/* =========================================================
   MOBILE / TABLET PEQUENO
========================================================= */

@media (max-width: 800px) {

    .nav > a:not(.nav-button) {
        display: none;
    }

    .hero {
        padding: 80px 0 70px;
    }

    .about-grid {
        grid-template-columns: 1fr;

        gap: 38px;
    }

    .about-image {
        height: 430px;
    }

    .final-card {
        flex-direction: column;
        align-items: flex-start;

        gap: 28px;
    }

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

.hero-content {
    max-width: 680px;
}

.hero-visual {
    width: 100%;
    height: 480px;
}

}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 650px) {

    .container {
        width: min(91%, var(--container));
    }


    /* HEADER */

    .header-content {
        min-height: 68px;
    }

    .brand-name span {
        display: none;
    }

    .nav {
        gap: 10px;
    }

    .nav-button {
        padding: 9px 12px;

        font-size: 12px;
    }


    /* HERO */

    .hero {
        padding: 68px 0 60px;
    }

    .hero h1 {
        margin-bottom: 22px;

        font-size: clamp(40px, 12vw, 52px);
    }

    .hero-description {
        font-size: 17px;
    }

    .hero-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-buttons .button {
        width: 100%;
        min-height: 58px;
        padding: 0 20px;
        justify-content: center;
        text-align: center;
        font-size: 15px;
    }

    .hero-buttons .button-primary {
        background: var(--blue);
        color: #ffffff;
        border-color: var(--blue);
        font-weight: 800;
    }

    .hero-info {
        align-items: flex-start;
        flex-direction: column;

        gap: 8px;
    }


    /* SEÇÕES */

    .section {
        padding: 65px 0;
    }

    .section-header {
        margin-bottom: 34px;
    }


    /* SERVIÇOS */

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

    .service-card {
        min-height: 200px;

        padding: 25px;
    }


    /* CONTRATAÇÃO */

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

    .contract-card {
        min-height: 290px;

        padding: 27px;
    }

    .contract-card h3 {
        font-size: 24px;
    }


    /* PLANOS */

    .plan-card {
        padding: 27px;
    }


    /* FOTOS */

    .about-image {
        height: 340px;

        border-radius: 12px;
    }

    .technician-photo {
        height: 100%;
    }

    .technician-photo img {
        object-position: center top;
    }


    /* CTA */

    .final-section {
        padding: 65px 0;
    }

    .final-card {
        padding: 38px 25px;

        border-radius: 13px;
    }

    .final-button {
        width: 100%;
    }


    /* FOOTER */

    .footer-content {
        flex-direction: column;

        gap: 8px;
    }

    .hero-grid {
    gap: 38px;
}

.hero-visual {
    height: 390px;
    border-radius: 14px;
}

.hero-visual-label {
    left: 12px;
    right: 12px;
    bottom: 12px;
}

}


/* =========================================================
   CELULARES PEQUENOS
========================================================= */

@media (max-width: 400px) {

    .brand-icon {
        width: 31px;
        height: 31px;
    }

    .brand-name {
        font-size: 15px;
    }

    .nav-button {
        padding: 8px 10px;

        font-size: 11px;
    }

    .about-image {
        height: 300px;
    }

}

/* Acessibilidade: reduz animações quando solicitado pelo sistema */
@media (prefers-reduced-motion: reduce) {
    .button-primary {
        animation: none;
    }
}


/* CTA HERO MOBILE - regra final */
@media (max-width: 650px) {
    .hero-buttons .button {
        width: 100%;
        min-height: 62px;
        padding: 0 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 16px;
    }

    .hero-buttons .button-primary {
        background: var(--blue);
        color: #ffffff;
        border: 1px solid var(--blue);
        font-weight: 800;
    }
    
    
}
