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

html {
    scroll-behavior: smooth;
}

#pereyra *::selection {
    background: #D4B06A;
    color: #000000;
}

#rpm-construcoes *::selection {
    background: #5A9AC9;
    color: #FFFFFF;
}

body {
    background: #000000;
    color: #F5F5F5;
    font-family: "Poppins", sans-serif;
}

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

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9998;
}

/* ========== SCROLL ========== */

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #1A1A1A;
}

::-webkit-scrollbar-thumb {
    background: #D4B06A;
}

::-webkit-scrollbar-thumb:hover {
    background: #BE9A55;
}

/* ========== INÍCIO ========== */

#inicio {
    padding-top: 60px;
}

.texto {
    color: #D4B06A;
    margin: 0 0 20px 0;
}

/* ========== ANIMAÇÃO ========== */

@keyframes flutuar {
    0% {
        transform: translateY(-15px);
    }

    50% {
        transform: translateY(15px);
    }

    100% {
        transform: translateY(-15px);
    }
}

.pereyra {
    margin: 35px 30px 0 0;
    animation: flutuar 3s ease-in-out infinite;
    display: inline-block;
    width: auto;
    height: 500px;
}

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

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 30px;
}

.adm {
    color: #666666;
    font-size: 14px;
    margin: 0;
}

/* ========== CURSOR ========== */

.cursor {
    width: 20px;
    height: 20px;
    background-color: #D4B06A;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 999999999;
    transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
}

@media (max-width: 768px) {
    .cursor {
        display: none;
    }
}

@media (max-width: 768px) {
    .cursor,
    .pereyra,
    .menu {
        display: none;
    }

    #inicio {
        padding-top: 100px;
        margin-bottom: 20px;
    }
}

.comeco {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 40px;
}

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

#servicos {
    padding-top: 90px;
}

/* ========== CARDS ========== */

.cards {
    display: flex;
    justify-content: center;
    gap: 100px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .cards {
        gap: 25px;
    }
}

.card {
    padding: 20px;
    border-radius: 12px;
    width: 100%;
    max-width: 280px;
    background: #1A1A1A;
    border: 1px solid #333333;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(212, 176, 106, 0.25);
    border-color: #D4B06A;
}

.card h3 {
    border-left: 3px solid #D4B06A;
    padding-left: 8px;
    margin-bottom: 10px;
    color: #D4B06A;
}

.card span {
    font-size: 13px;
    color: #666666;
}

.card p {
    color: #333333;
}

/* ========== BOTÕES ========== */

.btn {
    background: transparent;
    border: 1px solid #D4B06A;
    color: #F5F5F5;
    width: 140px;
    height: 45px;
    border-radius: 8px;
    transition: 0.3s;
    cursor: pointer;
    font-family: "Poppins";
}

.btn:hover {
    background: #D4B06A;
    color: #FFFFFF;
    box-shadow: 0 0 10px rgba(212, 176, 106, 0.4);
}

.btn.ativo {
    background: #D4B06A;
    color: #FFFFFF;
}

.box-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pp {
    max-width: 900px;

    margin: 0 auto 60px;

    background: #1A1A1A;
    border: 1px solid #333333;
    border-radius: 16px;

    padding: 40px;

    text-align: center;

    box-shadow: 0 10px 25px rgba(0,0,0,.25);
}

@media (max-width: 768px) {
    .pp {
        padding: 25px;
        margin: 0 15px 60px;
    }
}

.p1 {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 15px;
}

.p1 h2 {
    color: #F5F5F5;
    font-size: 32px;
}

@media (max-width: 768px) {
    .p1 h2 {
        font-size: 26px;
    }
}

.p1 p {
    color: #C5C5C5;
    max-width: 600px;
    line-height: 1.7;
}

.insta-pereyra {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 12px 20px;

    background: transparent;
    color: #D4B06A;

    border: 1px solid #D4B06A;
    border-radius: 8px;

    text-decoration: none;
    font-family: "Poppins", sans-serif;
    font-weight: 600;

    transition: all 0.3s ease;
}

.insta-pereyra:hover {
    background: #D4B06A;
    color: #000000;

    transform: translateY(-2px);

    box-shadow: 0 0 15px rgba(212, 176, 106, 0.3);
}

.insta-pereyra i {
    font-size: 18px;
}

.p2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin: 50px 0 50px 0;
}

.pp2 {
    width: 100%;
    max-width: 700px;

    overflow: hidden;

    background: #1A1A1A;
    border: 1px solid #333333;
    border-radius: 16px;

    box-shadow: 0 10px 25px rgba(0,0,0,.25);
}

/* ========== SLIDER ========== */

.conteudo {
    display: flex;
    transition: transform 0.5s ease;
}

.sfc {
    min-width: 100%;

    padding: 40px;

    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (max-width: 768px) {
    .sfc {
        padding: 25px;
    }

    .sfc h3 {
        font-size: 22px;
    }
}

.sfc h3 {
    color: #D4B06A;
    font-size: 26px;

    border-left: 4px solid #D4B06A;
    padding-left: 12px;
}

.sfc p {
    color: #C5C5C5;
    line-height: 1.8;
    font-size: 15px;
}

/* ========== NÚMEROS ========== */
.numeros {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    padding: 50px 20px;
    min-height: 500px;
    background: linear-gradient(#000000, #FFFFFF);
}

/* CARD */
.numero {
    background: #1A1A1A;
    border: 1px solid #333333;
    border-radius: 16px;
    padding: 35px 45px;
    text-align: center;
    max-height: 170px;
    min-width: 220px;

    transition: 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

/* glow dourado leve */
.numero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(212, 176, 106, 0.12), transparent 60%);
    opacity: 0;
    transition: 0.3s ease;
}

.numero:hover::before {
    opacity: 1;
}

.numero:hover {
    transform: translateY(-8px);
    border-color: #D4B06A;
    box-shadow: 0 15px 35px rgba(212, 176, 106, 0.15);
}

/* NÚMERO */
.numero h2 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 8px;

    color: #D4B06A; /* dourado principal */
}

/* TEXTO */
.numero span {
    font-size: 14px;
    letter-spacing: 0.5px;

    color: #C5C5C5; /* cinza leve */
}

@media (max-width: 768px) {

    .numero {
        width: 100%;
        max-width: 300px;
        padding: 25px;
    }

    .numero h2 {
        font-size: 34px;
    }

}

/* ========== SOBRE ========== */

#sobre {
    padding: 100px 10%;
    background: #FFFFFF;
}

@media (max-width: 768px) {

    #sobre {
        padding: 80px 20px;
    }

}

.sobre-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 100px;
    align-items: center;
}

@media (max-width: 768px) {

    .sobre-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}

.sobre-texto span {
    color: #D4B06A;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.sobre-texto h2 {
    color: #1A1A1A;
    margin: 15px 0;
    font-size: 38px;
}

@media (max-width: 768px) {

    .sobre-texto h2 {
        font-size: 28px;
    }

}

.sobre-texto p {
    color: #666666;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ========== SOBRE-CARDS ========== */

.sobre-diferenciais {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {

    .sobre-diferenciais {
        grid-template-columns: 1fr;
    }

}

.diferencial {
    background: #FFFFFF;
    border: 1px solid #EDEDED;
    padding: 25px;
    border-radius: 12px;
    text-align: center;

    transition: .3s;
}

.diferencial:hover {
    transform: translateY(-8px);

    border-color: #D4B06A;

    box-shadow: 0 10px 25px rgba(212, 176, 106, .15);
}

.diferencial i {
    font-size: 30px;
    color: #D4B06A;
    margin-bottom: 15px;
}

.diferencial h3 {
    color: #1A1A1A;
    margin-bottom: 10px;
}

.diferencial p {
    color: #666666;
}

/* ================================================
   CLIENTES FAVORITOS — Pereyra Empreiteira
   ================================================ */

.clientes-section {
    background-color: #1A1A1A;
    padding: 72px 24px;
    border-radius: 5px;
    font-family: 'Poppins';
}

.clientes-inner {
    max-width: 980px;
    margin: 0 auto;
}

/* --- Eyebrow --- */
.clientes-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.clientes-eyebrow::before,
.clientes-eyebrow::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #333333;
}

.clientes-eyebrow span {
    color: #D4B06A;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* --- Título e subtítulo --- */
.clientes-titulo {
    color: #F5F5F5;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    font-family: 'Inter';
    text-align: center;
    margin: 0 0 8px;
}

.clientes-subtitulo {
    color: #666666;
    font-size: 0.88rem;
    text-align: center;
    margin: 0 0 48px;
}

/* --- Grid --- */
.clientes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
}

/* --- Card (agora é <a>) --- */
.cliente-card {
    background-color: #111111;
    border: 1px solid #333333;
    border-radius: 6px;
    padding: 26px 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.cliente-card:hover {
    border-color: #BE9A55;
    transform: translateY(-4px);
}

/* --- Área da imagem/logo --- */
.cliente-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #000000;
    border: 1px solid #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.cliente-card:hover .cliente-logo {
    border-color: #BE9A55;
}

.cliente-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;  /* mantém proporção, sem cortar */
    padding: 10px;        /* respiro ao redor da logo */
    filter: brightness(0.95);
    transition: filter 0.25s ease;
}

.cliente-card:hover .cliente-logo img {
    filter: brightness(1.05);
}

/* --- Textos --- */
.cliente-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cliente-nome {
    color: #EDEDED;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.cliente-segmento {
    color: #666666;
    font-size: 0.73rem;
    letter-spacing: 0.04em;
}

/* --- Tag --- */
.cliente-tag {
    display: inline-block;
    background-color: #000000;
    color: #D4B06A;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid #333333;
    transition: border-color 0.25s ease;
}

.cliente-card:hover .cliente-tag {
    border-color: #BE9A55;
}

/* --- Ícone de link externo (aparece no hover) --- */
.cliente-card::after {
    content: '↗';
    position: absolute;
    top: 10px;
    right: 12px;
    color: #333333;
    font-size: 0.75rem;
    transition: color 0.25s ease;
}

.cliente-card {
    position: relative;
}

.cliente-card:hover::after {
    color: #D4B06A;
}

/* --- Rodapé --- */
.clientes-rodape {
    margin-top: 40px;
    text-align: center;
    color: #666666;
    font-size: 0.8rem;
}

.clientes-rodape strong {
    color: #D4B06A;
}

/* --- Responsivo --- */
@media (max-width: 480px) {
    .clientes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clientes-section {
        padding: 48px 16px;
    }
}

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

.cta-pereyra {

    background: #1A1A1A;

    padding: 80px 30px;

    text-align: center;
}

@media (max-width: 768px) {

    .cta-pereyra {
        padding: 60px 20px;
    }

    .cta-pereyra h2 {
        font-size: 30px;
    }

}

.cta-pereyra h2 {
    color: #FFFFFF;
    font-size: 42px;
    margin-bottom: 15px;
}

.cta-pereyra p {
    color: #C5C5C5;
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn-cta {
    display: inline-block;

    padding: 15px 30px;

    background: #D4B06A;
    color: #1A1A1A;

    text-decoration: none;

    border-radius: 8px;

    font-weight: 600;

    transition: .3s;
}

.btn-cta:hover {
    background: #BE9A55;
    transform: translateY(-3px);
}

/* ========== DETALHES ========== */

#detail {
    color: #D4B06A;
}

#pereyra {
    background: #000000;
}

/* ========== RPM ========== */

body.rpm-mode::-webkit-scrollbar-track {
    background: #F5F5F5;
}

body.rpm-mode::-webkit-scrollbar-thumb {
    background: #5A9AC9;
}

body.rpm-mode::-webkit-scrollbar-thumb:hover {
    background: #4A89B8;
}

#rpm-construcoes{
    background: #f5f5f5;
}

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

#rpm-construcoes {
    background: #F5F5F5;
}

#rpm-inicio {
    min-height: 100dvh;

    background-image: url("../imgs/hero rpm.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;

    padding: 120px 10%;
    position: relative;
}

#rpm-inicio::before {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(255,255,255,.10);
}

.rpm-hero {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.rpm-tag {
    display: inline-block;

    background: rgba(90,154,201,.20);
    color: #EAF5FF;
    border: 1px solid rgba(90,154,201,.4);

    padding: 10px 18px;

    border-radius: 999px;

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

    margin-bottom: 20px;
}

.rpm-texto h1 {
    font-size: 58px;
    line-height: 1.1;

    color: #FFFFFF;
    text-shadow: 0 3px 15px rgba(0,0,0,.5);

    margin-bottom: 20px;
}

.rpm-texto p {
    color: #F0F0F0;
    text-shadow: 0 2px 10px rgba(0,0,0,.4);

    font-size: 18px;
    line-height: 1.8;

    margin-bottom: 35px;
}

.rpm-botoes {
    display: flex;
    gap: 15px;
}

.btn-rpm {
    background: #5A9AC9;
    color: #FFFFFF;

    padding: 15px 28px;

    border-radius: 8px;

    text-decoration: none;
    font-weight: 600;

    transition: .3s;
}

.btn-rpm:hover {
    transform: translateY(-3px);
    background: #4A89B8;
}

.btn-rpm-secundario {
    border: 2px solid #FFFFFF;
    color: #FFFFFF;

    backdrop-filter: blur(5px);

    padding: 15px 28px;

    border-radius: 8px;

    text-decoration: none;
    font-weight: 600;

    transition: .3s;
}

.btn-rpm-secundario:hover {
    background: #FFFFFF;
    color: #1A1A1A;
}

.rpm-imagem {
    display: flex;
    justify-content: center;
}

.rpm-imagem img {
    width: 100%;
    max-width: 550px;
}

.rpm-texto {
    max-width: 700px;
}

.rpm-texto h1 {
    font-size: 64px;
    font-weight: 700;
}

@media (max-width: 768px) {

    #rpm-inicio {
        padding: 120px 20px 80px;
        text-align: center;
    }

    .rpm-hero {
        max-width: 100%;
    }

    .rpm-tag {
        font-size: 12px;
        padding: 8px 14px;
    }

    .rpm-texto h1 {
        font-size: 38px;
        line-height: 1.2;
    }

    .rpm-texto p {
        font-size: 16px;
        line-height: 1.7;
    }

    .rpm-botoes {
        flex-direction: column;
        align-items: center;
    }

    .btn-rpm,
    .btn-rpm-secundario {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

}

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

#rpm-servicos {
    padding: 120px 10%;
    background: #F5F5F5;
}

.titulo-rpm {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 70px;
}

.titulo-rpm span {
    display: inline-block;

    color: #5A9AC9;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;

    margin-bottom: 15px;
}

.titulo-rpm h2 {
    font-size: 42px;
    color: #1A1A1A;

    margin-bottom: 20px;
}

.titulo-rpm p {
    color: #666666;
    line-height: 1.8;
}

/* GRID */

.rpm-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* CARD */

.rpm-card {
    background: #FFFFFF;

    border: 1px solid #E5E5E5;
    border-radius: 16px;

    padding: 35px;

    transition: .3s;

    box-shadow: 0 10px 25px rgba(0,0,0,.05);
}

.rpm-card:hover {
    transform: translateY(-8px);

    border-color: #5A9AC9;

    box-shadow: 0 15px 35px rgba(90,154,201,.15);
}

/* ÍCONE */

.rpm-card i {
    font-size: 34px;
    color: #5A9AC9;

    margin-bottom: 20px;
}

/* TÍTULO */

.rpm-card h3 {
    color: #1A1A1A;
    font-size: 22px;

    margin-bottom: 12px;
}

/* TEXTO */

.rpm-card p {
    color: #666666;
    line-height: 1.7;
}

/* RESPONSIVO */

@media (max-width: 992px) {

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

}

@media (max-width: 768px) {

    .rpm-cards {
        grid-template-columns: 1fr;
    }

    .titulo-rpm h2 {
        font-size: 32px;
    }

}

/* =========================
   DEPOIMENTOS RPM
========================= */

.rpm-depoimentos {
    padding: 100px 10%;
    background: #F5F5F5;
    text-align: center;
}

.rpm-depoimentos h2 {
    font-size: 42px;
    color: #1A1A1A;
    text-shadow:
    0 2px 4px rgba(0,0,0,.15),
    0 8px 20px rgba(0,0,0,.10);
    margin-bottom: 60px;
    font-weight: 700;
}

/* GRID */
/* GRID */
.rpm-depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Primeira linha */
.depoimento:nth-child(1) {
    grid-column: 2 / 4;
}

.depoimento:nth-child(2) {
    grid-column: 4 / 6;
}

/* Segunda linha */
.depoimento:nth-child(3) {
    grid-column: 1 / 3;
}

.depoimento:nth-child(4) {
    grid-column: 3 / 5;
}

.depoimento:nth-child(5) {
    grid-column: 5 / 7;
}

/* CARD DEPOIMENTO */
.depoimento {
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 16px;

    padding: 35px 30px;

    box-shadow: 0 10px 25px rgba(0,0,0,.05);
    transition: .3s ease;

    position: relative;
    overflow: hidden;
}

/* glow leve azul */
.depoimento::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(90,154,201,.12), transparent 60%);
    opacity: 0;
    transition: .3s ease;
}

.depoimento:hover::before {
    opacity: 1;
}

.depoimento:hover {
    border-color: #5A9AC9;
    box-shadow: 0 15px 35px rgba(90,154,201,.15);
}

/* TEXTO DO DEPOIMENTO */
.depoimento p {
    font-size: 16px;
    color: #333333;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

/* AUTOR */
.depoimento span {
    font-size: 14px;
    color: #5A9AC9;
    font-weight: 600;
}

/* ASPAS DECORATIVAS */
.depoimento::after {
    content: "“";
    position: absolute;
    top: 10px;
    left: 15px;

    font-size: 60px;
    color: rgba(90,154,201,.15);
    font-family: serif;
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 992px) {

    #rpm-servicos,
    .rpm-depoimentos {
        padding: 90px 6%;
    }

    .titulo-rpm h2 {
        font-size: 36px;
    }

    .rpm-card {
        padding: 30px;
    }

}

@media (max-width: 768px) {

    #rpm-servicos,
    .rpm-depoimentos {
        padding: 70px 5%;
    }

    .titulo-rpm {
        margin-bottom: 50px;
    }

    .titulo-rpm span {
        font-size: 13px;
    }

    .titulo-rpm h2 {
        font-size: 28px;
        line-height: 1.2;
    }

    .titulo-rpm p {
        font-size: 15px;
        line-height: 1.7;
    }

    .rpm-card {
        padding: 25px;
    }

    .rpm-card i {
        font-size: 28px;
    }

    .rpm-card h3 {
        font-size: 20px;
    }

    .rpm-card p {
        font-size: 15px;
    }

    .rpm-depoimentos h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .depoimento {
        padding: 25px 20px;
    }

    .depoimento p {
        font-size: 15px;
    }

    .depoimento::after {
        font-size: 45px;
    }

}

@media (max-width: 480px) {

    .titulo-rpm h2 {
        font-size: 24px;
    }

    .rpm-card {
        padding: 20px;
        border-radius: 12px;
    }

    .depoimento {
        padding: 20px 18px;
        border-radius: 12px;
    }

    .depoimento p {
        font-size: 14px;
    }

    .depoimento span {
        font-size: 13px;
    }

}

@media (max-width: 768px) {

    .rpm-depoimentos-grid {
        grid-template-columns: 1fr;
    }

    .depoimento:nth-child(1),
    .depoimento:nth-child(2),
    .depoimento:nth-child(3),
    .depoimento:nth-child(4),
    .depoimento:nth-child(5) {
        grid-column: auto;
    }

    .rpm-depoimentos h2 {
        font-size: 32px;
    }

}

/* =========================
   PROJETOS RPM
========================= */

#rpm-projetos {
    padding: 100px 10%;
    background: #FFFFFF;
}

/* GRID */

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

    gap: 30px;

    max-width: 1200px;
    margin: 60px auto;
}

/* CARD */

.projeto {
    background: #FFFFFF;

    border-radius: 16px;

    overflow: hidden;

    border: 1px solid #E5E5E5;

    box-shadow: 0 10px 25px rgba(0,0,0,.05);

    transition: .3s ease;
}

.projeto:hover {
    transform: translateY(-8px);

    border-color: #5A9AC9;

    box-shadow: 0 15px 35px rgba(90,154,201,.15);
}

/* IMAGEM */

.projeto img {
    width: 100%;
    height: 260px;

    object-fit: cover;

    display: block;

    transition: .4s ease;
}

.projeto:hover img {
    transform: scale(1.05);
}

/* INFO */

.projeto-info {
    padding: 25px;
}

.projeto-info h3 {
    color: #1A1A1A;

    font-size: 22px;

    margin-bottom: 10px;
}

.projeto-info p {
    color: #666666;

    line-height: 1.7;
}

/* ====================================
   CLIENTES FAVORITOS — RPM Construções
   ==================================== */

.clientes-section-rpm {
    background-color: #F5F5F5;
    padding: 72px 24px;
    border-radius: 5px;
    font-family: 'Poppins';
}

.clientes-inner-rpm {
    max-width: 980px;
    margin: 0 auto;
}

/* --- Eyebrow --- */
.clientes-eyebrow-rpm {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.clientes-eyebrow-rpm::before,
.clientes-eyebrow-rpm::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #D9D9D9;
}

.clientes-eyebrow-rpm span {
    color: #5A9AC9;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* --- Título e subtítulo --- */
.clientes-titulo-rpm {
    color: #1A1A1A;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    font-family: 'Inter';
    text-align: center;
    margin: 0 0 8px;
}

.clientes-subtitulo-rpm {
    color: #666666;
    font-size: 0.88rem;
    text-align: center;
    margin: 0 0 48px;
}

/* --- Grid --- */
.clientes-grid-rpm {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
}

/* --- Card --- */
.cliente-card-rpm {
    background-color: #FFFFFF;
    border: 1px solid #D9D9D9;
    border-radius: 6px;
    padding: 26px 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.cliente-card-rpm:hover {
    border-color: #5A9AC9;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(90, 154, 201, 0.12);
}

/* --- Área da imagem/logo --- */
.cliente-logo-rpm {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #F5F5F5;
    border: 1px solid #D9D9D9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.cliente-card-rpm:hover .cliente-logo-rpm {
    border-color: #5A9AC9;
}

.cliente-logo-rpm img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.25s ease;
}

.cliente-card-rpm:hover .cliente-logo-rpm img {
    transform: scale(1.04);
}

/* --- Textos --- */
.cliente-info-rpm {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cliente-nome-rpm {
    color: #1A1A1A;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.cliente-segmento-rpm {
    color: #666666;
    font-size: 0.73rem;
    letter-spacing: 0.04em;
}

/* --- Tag --- */
.cliente-tag-rpm {
    display: inline-block;
    background-color: #F5F5F5;
    color: #5A9AC9;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid #D9D9D9;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.cliente-card-rpm:hover .cliente-tag-rpm {
    border-color: #5A9AC9;
}

/* --- Ícone de link externo --- */
.cliente-card-rpm::after {
    content: '↗';
    position: absolute;
    top: 10px;
    right: 12px;
    color: #999999;
    font-size: 0.75rem;
    transition: color 0.25s ease;
}

.cliente-card-rpm:hover::after {
    color: #5A9AC9;
}

/* --- Rodapé --- */
.clientes-rodape-rpm {
    margin-top: 40px;
    text-align: center;
    color: #666666;
    font-size: 0.8rem;
}

.clientes-rodape-rpm strong {
    color: #5A9AC9;
}

/* --- Responsivo --- */
@media (max-width: 480px) {
    .clientes-grid-rpm {
        grid-template-columns: repeat(2, 1fr);
    }

    .clientes-section-rpm {
        padding: 48px 16px;
    }

    .cliente-card-rpm {
        padding: 20px 14px;
    }

    .cliente-logo-rpm {
        width: 70px;
        height: 70px;
    }
}

/* CTA */

.rpm-projetos-cta {
    text-align: center;

    margin-top: 80px;
}

.rpm-projetos-cta h3 {
    color: #1A1A1A;

    font-size: 32px;

    margin-bottom: 25px;
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 900px) {

    .rpm-projetos-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

}

@media (max-width: 768px) {

    .depoimento {
        padding: 25px 20px;
    }

}

@media (max-width: 768px) {

    .rpm-projetos-grid {
        grid-template-columns: 1fr;
    }

    .rpm-projetos-cta h3 {
        font-size: 26px;
    }

}

/* =========================
   CONTATO
========================= */

#contato {
    padding: 100px 10%;
    background: #F5F5F5;
}

.contato-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* TOPO */

.contato-topo {
    text-align: center;
    margin-bottom: 70px;
}

.contato-topo span {
    color: #5A9AC9;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contato-topo h2 {
    color: #1A1A1A;
    font-size: 42px;
    margin: 15px 0;
}

.contato-topo p {
    color: #666666;
    max-width: 700px;
    margin: 0 auto 25px;
    line-height: 1.8;
}

#trocar-empresa {
    background: #5A9AC9;
    color: #FFFFFF;

    border: none;
    border-radius: 10px;

    padding: 14px 28px;

    cursor: pointer;

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

    transition: .3s;
}

#trocar-empresa:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(90,154,201,.25);
}

/* CARDS */

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

    gap: 25px;

    margin-bottom: 70px;
}

.contato-card {
    background: #FFFFFF;

    border: 1px solid #E5E5E5;
    border-radius: 16px;

    padding: 35px;

    text-align: center;

    transition: .3s;
}

.contato-card:hover {
    transform: translateY(-8px);

    border-color: #5A9AC9;

    box-shadow: 0 15px 35px rgba(90,154,201,.15);
}

.contato-card i {
    font-size: 40px;

    color: #5A9AC9;

    margin-bottom: 20px;
}

.contato-card h3 {
    color: #1A1A1A;

    margin-bottom: 15px;
}

.contato-card p {
    color: #666666;

    line-height: 1.7;

    margin-bottom: 20px;
}

.contato-card a {
    color: #5A9AC9;

    font-weight: 600;

    text-decoration: none;
}

.contato-card a:hover {
    text-decoration: underline;
}

/* FORMULÁRIO */

.contato-formulario {
    background: #FFFFFF;

    border: 1px solid #E5E5E5;
    border-radius: 20px;

    padding: 50px;

    max-width: 850px;
    margin: 0 auto;

    box-shadow: 0 10px 25px rgba(0,0,0,.05);
}

.contato-formulario h3 {
    color: #1A1A1A;

    text-align: center;

    margin-bottom: 30px;

    font-size: 28px;
}

.contato-formulario form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contato-formulario input,
.contato-formulario textarea {
    width: 100%;

    border: 1px solid #DADADA;
    border-radius: 10px;

    padding: 15px;

    font-family: "Poppins";

    outline: none;

    transition: .3s;
}

.contato-formulario input:focus,
.contato-formulario textarea:focus {
    border-color: #5A9AC9;

    box-shadow: 0 0 0 4px rgba(90,154,201,.12);
}

#btn-contato {
    background: #5A9AC9;
    color: #FFFFFF;

    border: none;
    border-radius: 10px;

    padding: 16px;

    cursor: pointer;

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

    transition: .3s;
}

#btn-contato:hover {
    transform: translateY(-3px);
    background: #4A89B8;
}

/* RESPONSIVO */

@media (max-width: 900px) {

    #contato {
        padding: 80px 6%;
    }

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

    .contato-topo h2 {
        font-size: 32px;
    }

    .contato-topo p {
        font-size: 15px;
    }

    .contato-card {
        padding: 25px;
    }

    .contato-formulario {
        padding: 25px;
    }

    .contato-formulario h3 {
        font-size: 24px;
    }

}

@media (max-width: 480px) {

    .contato-topo h2 {
        font-size: 28px;
    }

    #trocar-empresa {
        width: 100%;
        max-width: 300px;
    }

    .contato-formulario {
        padding: 20px;
    }

    .contato-formulario input,
    .contato-formulario textarea,
    #btn-contato {
        font-size: 14px;
    }

}

/* =========================
   BOTOES FIXOS
========================= */

.btn-whatsapp {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 65px;
    height: 65px;

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

    background: #25D366;
    color: #FFFFFF;

    border-radius: 50%;

    text-decoration: none;

    font-size: 32px;

    z-index: 999;

    box-shadow: 0 8px 25px rgba(37,211,102,.35);

    transition: .3s;
}

.btn-whatsapp:hover {
    transform: translateY(-5px) scale(1.05);

    box-shadow: 0 12px 30px rgba(37,211,102,.45);
}

.btn-topo {
    position: fixed;

    right: 25px;
    bottom: 105px;

    width: 55px;
    height: 55px;

    border: none;
    border-radius: 50%;

    background: #5A9AC9;
    color: #FFFFFF;

    font-size: 20px;

    cursor: pointer;

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

    z-index: 999;

    opacity: 0;
    visibility: hidden;

    transition: .3s;
}

.btn-topo.ativo {
    opacity: 1;
    visibility: visible;
}

.btn-topo:hover {
    transform: translateY(-5px);
    background: #4A89B8;
}

@media (max-width: 768px) {

    .btn-whatsapp {
        right: 15px;
        bottom: 15px;
    }

    .btn-topo {
        right: 15px;
        bottom: 80px;
    }

}

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

.footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    min-height: 350px;

    background: linear-gradient(
        to right,
        #000000 0%,
        #000000 50%,
        #FFFFFF 50%,
        #FFFFFF 100%
    );

    border-top: 4px solid transparent;

    border-image: linear-gradient(
        to right,
        #D4B06A 0%,
        #D4B06A 50%,
        #5A9AC9 50%,
        #5A9AC9 100%
    ) 1;
}

/* =========================
   EMPRESAS
========================= */

.footer-empresa {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-pereyra {
    align-items: flex-end;
    text-align: right;

    padding: 4rem;
    color: #F5F5F5;
}

.footer-rpm {
    align-items: flex-start;
    text-align: left;

    padding: 4rem;
    color: #1A1A1A;
}

/* =========================
   LOGOS
========================= */

.footer-pereyra img {
    width: 200px;
    object-fit: contain;
}

.footer-rpm img {
    width: 220px;
    object-fit: contain;
    border-radius: 12px;
}

/* =========================
   TEXTO
========================= */

.footer-pereyra p {
    max-width: 350px;
    color: #BDBDBD;
    line-height: 1.8;
}

.footer-rpm p {
    max-width: 350px;
    color: #666666;
    line-height: 1.8;
}

/* =========================
   DIVISOR
========================= */

.footer-divisor {
    width: 2px;
    height: 220px;

    background: linear-gradient(
        to bottom,
        #D4B06A,
        #5A9AC9
    );
}

/* =========================
   LINKS
========================= */

.footer-links-pereyra,
.footer-links-rpm {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links-pereyra a,
.footer-links-rpm a {
    display: flex;
    align-items: center;
    gap: .6rem;

    padding: .8rem 1.2rem;

    border-radius: 50px;

    text-decoration: none;
    font-weight: 600;

    transition: .3s ease;
}

/* PEREYRA */

.footer-links-pereyra a {
    color: #D4B06A;
    border: 1px solid #D4B06A;
}

.footer-links-pereyra a:hover {
    background: #D4B06A;
    color: #000;
    transform: translateY(-3px);
}

/* RPM */

.footer-links-rpm a {
    color: #5A9AC9;
    border: 1px solid #5A9AC9;
}

.footer-links-rpm a:hover {
    background: #5A9AC9;
    color: #FFF;
    transform: translateY(-3px);
}

/* ÍCONES */

.footer-links-pereyra i,
.footer-links-rpm i {
    font-size: 1rem;
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 900px) {

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

        background: linear-gradient(
            to bottom,
            #000000 0%,
            #000000 50%,
            #FFFFFF 50%,
            #FFFFFF 100%
        );
    }

    .footer-pereyra,
    .footer-rpm {
        align-items: center;
        text-align: center;
        padding: 3rem 2rem;
    }

    .footer-divisor {
        width: 80%;
        height: 2px;

        margin: 0 auto;

        background: linear-gradient(
            to right,
            #D4B06A,
            #5A9AC9
        );
    }

    .footer-links-pereyra,
    .footer-links-rpm {
        justify-content: center;
    }

    .footer-pereyra p,
    .footer-rpm p {
        max-width: 100%;
    }
}