/* ===== PRIME SERVICE 360 - CSS OTIMIZADO E FUNCIONAL ===== */

/* === VARIÁVEIS CSS === */
:root {
    --primary-color: #0A1128;
    --white: #FFFFFF;
    --light-gray-color: #EEEEEE;
    --secundary-color: #0066cc; /* azul substituindo o vermelho */
    --gap: 3rem;
}

/* === RESET E BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 2rem;
    color: var(--primary-color);
    line-height: 1.5;
}

/* === TIPOGRAFIA === */
h1, h2, h3, h4, h5, h6, p {
    font-family: 'Montserrat', sans-serif;
    word-break: break-word;
    overflow-wrap: break-word;
}

h1 {
    font-size: 6rem;
    text-transform: uppercase;
}

h2 {
    font-size: 6rem;
    margin-bottom: 5rem;
    text-transform: uppercase;
    line-height: 1.2;
}

h3 { font-size: 5rem; }
h4 { font-size: 4.5rem; }
h5 { font-size: 4rem; }
h6 { font-size: 3.5rem; }

a {
    text-decoration: none;
}

p {
    margin-bottom: 3rem;
}

/* === ELEMENTOS MEDIA === */
img, iframe, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === TABELAS === */
.responsive-table {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table caption {
    font-style: italic;
    font-size: 1.6rem;
    text-align: left;
    margin-bottom: 1rem;
}

table td, table th {
    white-space: nowrap;
    padding: 1rem;
    text-align: left;
    border: 0.1rem solid var(--light-gray-color);
}

tfoot td, table th {
    background: var(--light-gray-color);
}

/* === BACKGROUNDS === */
.main-bg {
    background-image: url('../img/fundo-prime.svg');
    background-size: cover;
    background-position: center center;
    color: var(--white);
}

.white-bg {
    background: var(--white);
    color: var(--primary-color);
}

/* === LAYOUT PRINCIPAL === */
.main-content {
    max-width: 120rem;
    margin: 0 auto;
    padding: 10rem var(--gap);
    overflow-x: hidden;
}

.section {
    min-height: 100vh;
    overflow-x: hidden;
}

.menu-spacing {
    height: 6.5rem;
}

/* === MENU === */
.menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--white);
    z-index: 999;
    border-bottom: 0.01rem solid var(--light-gray-color);
    display: block;
    transition: all 0.3s ease-in-out;
}

.menu-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem var(--gap);
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo {
    height: 40px;
    width: auto;
    transform: translateY(-4px);
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.4rem;
    color: #0A1128;
}

.menu h1 {
    font-size: 2.3rem;
    color: var(--primary-color);
}

.menu h1 a {
    color: inherit;
}

.menu ul {
    list-style: none;
    display: flex;
}

.menu ul li a {
    display: block;
    padding: 2rem;
    font-size: 1.8rem;
    color: var(--primary-color);
    position: relative;
    transition: all 0.3s ease;
}

.menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 1rem;
    left: 50%;
    width: 0;
    height: 0.2rem;
    background: var(--secundary-color);
    transition: all 300ms ease-in-out;
}

.menu ul li a:hover::after {
    width: 50%;
    left: 25%;
}

.menu ul li a:hover {
    background-color: rgba(220, 20, 60, 0.1);
    border-radius: 8px;
}

.menu ul li a.active {
    color: var(--secundary-color);
}

/* === SEÇÃO INTRO === */
#intro {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    text-align: center;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--gap);
    min-height: 100vh;
}

.intro-text-content, .intro-img {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* === SEÇÃO TOP3 === */
.top3-content {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

/* === GRID === */
.grid-one-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
}

.grid-description {
    padding-bottom: 5rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.grid h3 {
    font-size: 3rem;
    position: relative;
    padding-left: 0;
    padding-bottom: 2rem;
}

.grid h3::before {
    content: none;
}

.grid article ul {
    padding-left: 2rem;
    list-style-type: disc;
}

.grid article li {
    font-size: 1.8rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.grid article img {
    width: 120px;
    height: auto;
    display: block;
    margin: 0 auto 2rem;
}

/* === GALERIA === */
.gallery-img {
    max-width: 36rem;
    max-height: 36rem;
    overflow: hidden;
    transition: all 300ms ease-in-out;
}

.gallery-img img {
    object-fit: cover;
    height: 100%;
}

.gallery-img img:hover {
    transform: translate(-3%, 3%) scale(1.2) rotate(5deg);
}

/* === FORMULÁRIO === */
.contact-form .form-grid {
    border: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
}

.form-grid legend {
    font-style: italic;
    font-size: 1.6rem;
    margin-bottom: 3rem;
}

.form-group {
    flex: 1 1 32rem;
}

.form-group label {
    display: block;
    margin-bottom: 1rem;
}

.form-group input, .form-group textarea {
    border: 1px solid #ccc;
    background: #fff;
    color: #000;
    padding: 1.5rem 2rem;
    width: 100%;
    font-size: 1.6rem;
    border-radius: 0.5rem;
}

.form-group button {
    border: 2px solid #ffffff;
    background: transparent;
    color: #ffffff;
    padding: 1.5rem 2rem;
    font-size: 2rem;
    cursor: pointer;
    transition: all 300ms ease-in-out;
    border-radius: 0.5rem;
}

.form-group button:hover {
    background: #ffffff;
    color: var(--primary-color);
}

.form-group ::placeholder {
    color: #6f6969;
}

/* === BOTÃO VOLTAR AO TOPO === */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--primary-color);
    color: white;
    font-size: 2.5rem;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

/* === STEPS GRID === */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.step-card {
    background: #f9f9f9;
    padding: 4rem 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-card .step-number {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}

.step-card h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: var(--primary-color);
}

.step-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
}

/* === FOOTER === */
.footer {
    text-align: center;
    padding: 2rem 1rem;
}

.footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    text-align: center;
    padding: 2rem 1rem;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.footer-top a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
}

.footer-top a:hover {
    color: var(--secundary-color);
}

.footer-bottom p {
    margin: 0.2rem;
    font-size: 1.3rem;
    color: #666;
}

.footer a {
    color: var(--primary-color);
    font-size: 1.5rem;
    text-decoration: none;
}

.footer a:hover {
    color: var(--secundary-color);
}

.footer p {
    margin: 0.5rem 0;
    font-size: 1.4rem;
}

.footer a[href^="mailto:"] {
    font-weight: 500;
}

.footer a[href^="mailto:"]:hover {
    text-decoration: underline;
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    font-size: 1.6rem;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease-in-out;
}

.whatsapp-float:hover {
    background: #1ebe5c;
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

/* === SEÇÃO HOME === */
#home .intro-img {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

#home .intro-img img {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 1.2s ease forwards;
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
}

#home .intro-img img:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    filter: brightness(1.05) contrast(1.05);
}

@keyframes fadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* === VIDEO BACKGROUND === */
.video-bg {
    width: 100%;
    max-width: 480px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 1.2s ease forwards;
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
}

/* === QUEM SOMOS === */
.who-we-are {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
    flex-wrap: wrap;
}

.who-we-are .text-content {
    flex: 1;
    min-width: 300px;
}

.who-we-are .text-content h2 {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.who-we-are .text-content p {
    font-size: 2rem;
    line-height: 1.6;
}

.who-we-are .image-content {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.who-we-are .image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 2rem;
    animation: fadeInRight 1s ease-in-out;
    background: transparent;
}

@keyframes fadeInRight {
    0% {
        transform: translateX(30px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* === SEO LOCAL === */
.seo-local {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 6rem 2rem;
    overflow: hidden;
    z-index: 1;
}

.seo-local::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(10, 17, 40, 0.6), rgba(10, 17, 40, 0.6)),
        url('../img/pessoas-limpando.svg') center/cover no-repeat;
    z-index: -1;
}

.seo-local .main-content {
    position: relative;
    z-index: 2;
}

.seo-local h2 {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 3rem;
}

.seo-local p, .seo-local .main-content p {
    font-size: 2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 90rem;
    margin-left: auto;
    margin-right: auto;
}

/* === UTILITÁRIOS === */
[id] {
    scroll-margin-top: 12rem;
}

.h2-menor {
    font-size: 2.5rem !important;
}

input#close-menu {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.close-menu-label {
    display: none;
}

/* === RESPONSIVIDADE === */
@media (max-width: 800px) {
    h1, h2 {
        font-size: 3.5rem;
        text-align: center;
        padding: 0 2rem;
        margin-top: 4rem;
    }

    .intro-content {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        padding: 6rem 2rem 0 2rem !important;
    }

    .form-group.full-width {
        margin-bottom: 6rem !important;
    }

    #contact {
        margin-bottom: 8rem;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .gallery-img {
        max-width: 100%;
    }

    .gallery-img img {
        width: 100%;
    }

    .grid article img {
        width: 80px;
        height: 80px;
    }

    .step-card {
        min-height: 180px;
        padding: 3rem 1.5rem;
    }

    .step-card .step-number {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }

    .step-card h3 {
        font-size: 2rem;
    }

    #home .intro-img img {
        max-width: 320px;
        border-radius: 16px;
    }

    .video-bg {
        max-width: 320px;
        border-radius: 16px;
    }

    .who-we-are {
        flex-direction: column;
        text-align: center;
    }

    .who-we-are .image-content {
        margin-top: 3rem;
    }

    .seo-local {
        padding: 6rem 1.5rem 3rem 1.5rem;
    }

    .seo-local::before {
        background: linear-gradient(rgba(10, 17, 40, 0.6), rgba(10, 17, 40, 0.6)),
            url('../img/pessoas-limpando.svg') center top 60% / contain no-repeat;
        background-color: #0A1128;
    }

    .seo-local .main-content h2 {
        font-size: 2.8rem;
    }

    .seo-local .main-content p {
        font-size: 2rem;
    }

    .footer-grid {
        padding: 1.5rem 1rem;
        gap: 0.6rem;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .footer-top a {
        font-size: 1.4rem;
    }

    .footer-bottom p {
        font-size: 1.1rem;
        margin: 0.2rem 0;
    }

    .logo {
        height: 32px;
        transform: translateY(-5px);
    }

    .logo-text {
        font-size: 2rem;
    }

    .logo-link {
        gap: 0.8rem;
    }

    .menu-content {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 1.5rem 2rem;
    }

    .menu-content nav ul {
        flex-direction: column;
        gap: 1.2rem;
    }

    .menu-content nav ul li a {
        font-size: 1.6rem;
    }

    /* === MENU MOBILE === */
    .menu {
        display: none;
        background: var(--white);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 100vh;
        z-index: 999;
        padding-top: 10rem;
    }

    .menu-content,
    .menu-content ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
    }

    .close-menu-label {
        display: flex;
        position: fixed;
        z-index: 1001;
        top: 2rem;
        right: 2rem;
        background: var(--primary-color);
        color: white;
        font-size: 3rem;
        width: 4.5rem;
        height: 4.5rem;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        cursor: pointer;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        transition: background 0.3s ease;
    }

    .close-menu-label::after {
        content: '≡';
    }

    .close-menu:checked~.menu {
        display: block;
    }

    .close-menu:checked~.close-menu-label::after {
        content: '×';
    }

    .menu-spacing {
        display: none;
    }

    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .seo-local p {
        font-size: 2rem;
        text-align: left;
    }
}

@media (max-width: 600px) {
    .whatsapp-float {
        padding: 10px 14px;
        font-size: 1.4rem;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-float i {
        font-size: 1.6rem;
    }
}.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.grid article {
    background: #FFFFFF;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    text-align: center;
}

.grid article:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.grid article img {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.grid article h3 {
    font-size: 2.4rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    position: relative;
}

.grid article h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.grid article p,
.grid article li,
.grid article ul {
    color: var(--primary-color);
    text-align: left;
}

