/* ==========================================================================
   REMATE SOFISTICADO — Custom Design System
   Ficheiro: public/css/remate-custom.css
   Carrega DEPOIS do CSS do template Printnow.
   Não modificar o template — todas as overrides ficam aqui.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIÁVEIS DA MARCA
   -------------------------------------------------------------------------- */
:root {
    /* Cores primárias */
    --rs-orange:       #F97316;
    --rs-magenta:      #C026D3;
    --rs-blue:         #2563EB;

    /* Gradiente da marca (horizontal, left→right) */
    --rs-gradient:     linear-gradient(90deg, #F97316 0%, #C026D3 50%, #2563EB 100%);
    /* Versão diagonal para fundos */
    --rs-gradient-diag: linear-gradient(135deg, #F97316 0%, #C026D3 55%, #2563EB 100%);

    /* Fundos escuros */
    --rs-dark:         #0d0a1a;
    --rs-dark-mid:     #120e24;
    --rs-dark-surface: #1a1430;

    /* Texto sobre fundos escuros */
    --rs-text-primary:   #ffffff;
    --rs-text-secondary: rgba(255, 255, 255, 0.78);
    --rs-text-muted:     rgba(255, 255, 255, 0.45);

    /* Bordas subtis */
    --rs-border-light:   rgba(255, 255, 255, 0.08);
    --rs-border-mid:     rgba(255, 255, 255, 0.15);

    /* Tipografia */
    --rs-font:           'Poppins', sans-serif;

    /* Espaçamentos de secção */
    --rs-section-py:     80px;
    --rs-section-px:     56px;
}

/* --------------------------------------------------------------------------
   2. HERO — vídeo fullscreen
   -------------------------------------------------------------------------- */

.rs-hero-video {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    font-family: var(--rs-font);
}

.rs-hero-video__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    z-index: 0;
}

.rs-hero-video__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.40) 60%,
        rgba(0,0,0,0.15) 100%
    );
    z-index: 1;
}

.rs-hero-video__inner {
    position: relative;
    z-index: 2;
    padding: 120px 56px 80px;
    width: 100%;
}

.rs-hero-video__h1 {
    font-family: var(--rs-font);
    font-size: clamp(56px, 9vw, 130px);
    font-weight: 300;
    line-height: 0.92;
    letter-spacing: -3px;
    color: #fff;
    text-transform: uppercase;
    margin: 0 0 20px;
}

.rs-hero-video__sub {
    font-family: var(--rs-font);
    font-size: clamp(12px, 1.2vw, 16px);
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    background: var(--rs-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

@media (max-width: 768px) {
    .rs-hero-video__inner { padding: 100px 24px 60px; }
    .rs-hero-video__h1 { letter-spacing: -1.5px; }
}

/* --------------------------------------------------------------------------
   3. UTILITÁRIOS GERAIS
   -------------------------------------------------------------------------- */

/* Linha de acento com gradiente da marca */
.rs-accent-line {
    display: block;
    width: 120px;
    height: 12px;
    border-radius: 6px;
    background: var(--rs-gradient);
    margin-bottom: 24px;
}

.rs-accent-line--center {
    margin-left: auto;
    margin-right: auto;
}

/* Texto com gradiente */
.rs-text-gradient {
    background: var(--rs-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Botão principal */
.rs-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    border-radius: 6px;
    font-family: var(--rs-font);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.rs-btn:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

.rs-btn--primary {
    background: var(--rs-gradient);
    color: #fff;
    border: none;
}

.rs-btn--outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.rs-btn--outline:hover {
    border-color: var(--rs-magenta);
    color: #fff;
}

/* --------------------------------------------------------------------------
   3. SECÇÕES COM FUNDO ESCURO E BLOBS ANIMADOS
   -------------------------------------------------------------------------- */

/*
 * Classe base para qualquer secção com fundo escuro + blobs.
 * O <canvas> gerado pelo JS é inserido automaticamente como
 * primeiro filho com position: absolute.
 */
.rs-dark-section {
    position: relative;
    background: var(--rs-dark);
    overflow: hidden;
    font-family: var(--rs-font);
    color: var(--rs-text-primary);
    padding: var(--rs-section-py) var(--rs-section-px);
}

/* Canvas dos blobs — gerado pelo remate-blobs.js */
.rs-dark-section > .rs-blob-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Todo o conteúdo dentro fica acima do canvas */
.rs-dark-section > *:not(.rs-blob-canvas) {
    position: relative;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   4. BLOCO "SOBRE NÓS" (e outros blocos intro de página)
   -------------------------------------------------------------------------- */

.rs-intro-block {
    /* herda .rs-dark-section */
}

.rs-intro-block__header {
    margin-bottom: 48px;
}

.rs-intro-block__title {
    font-size: clamp(40px, 5.5vw, 72px);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1;
    color: var(--rs-text-primary);
    text-transform: uppercase;
    margin: 0;
}

.rs-intro-block__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

@media (max-width: 900px) {
    .rs-intro-block__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Imagem */
.rs-intro-block__img-wrap {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--rs-dark-surface);
    border: 0.5px solid var(--rs-border-light);
}

.rs-intro-block__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.rs-intro-block__img-wrap:hover img {
    transform: scale(1.03);
}

/* Texto */
.rs-intro-block__text {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rs-intro-block__text p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--rs-text-secondary);
    margin: 0;
}

.rs-intro-block__text p strong {
    color: var(--rs-text-primary);
    font-weight: 600;
}

.rs-intro-block__tagline {
    font-size: 15px;
    font-style: italic;
    font-weight: 500;
    color: var(--rs-magenta);
    margin-top: 8px;
}

/* --------------------------------------------------------------------------
   5. BLOCO DE NÚMEROS / ESTATÍSTICAS
   -------------------------------------------------------------------------- */

.rs-stats {
    /* herda .rs-dark-section se for standalone, ou usa .rs-dark-section diretamente */
    padding-top: 0; /* se vier logo a seguir a outro bloco escuro */
}

.rs-stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2px; /* separa com uma linha fina via gap + bg do parent */
    background: var(--rs-border-light);
    border: 0.5px solid var(--rs-border-light);
    border-radius: 12px;
    overflow: hidden;
}

.rs-stats__item {
    background: var(--rs-dark-mid);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rs-stats__number {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    background: var(--rs-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rs-stats__label {
    font-size: 14px;
    color: var(--rs-text-muted);
    font-weight: 400;
}

/* --------------------------------------------------------------------------
   6. CARDS DE SERVIÇOS (sobre fundo escuro)
   -------------------------------------------------------------------------- */

.rs-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.rs-service-card {
    background: var(--rs-dark-surface);
    border: 0.5px solid var(--rs-border-light);
    border-radius: 12px;
    padding: 32px 28px;
    transition: border-color 0.25s ease, transform 0.25s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rs-service-card:hover {
    border-color: var(--rs-magenta);
    transform: translateY(-3px);
    color: inherit;
    text-decoration: none;
}

.rs-service-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--rs-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.rs-service-card__title {
    font-size: 17px;
    font-weight: 600;
    color: var(--rs-text-primary);
    margin: 0;
}

.rs-service-card__desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--rs-text-secondary);
    margin: 0;
    flex: 1;
}

.rs-service-card__arrow {
    font-size: 13px;
    color: var(--rs-magenta);
    font-weight: 500;
    margin-top: 4px;
}

/* --------------------------------------------------------------------------
   7. CTA BANNER (secção de chamada à ação)
   -------------------------------------------------------------------------- */

.rs-cta-banner {
    /* herda .rs-dark-section */
    text-align: center;
}

.rs-cta-banner__title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    color: var(--rs-text-primary);
    margin: 0 0 16px;
}

.rs-cta-banner__subtitle {
    font-size: 16px;
    color: var(--rs-text-secondary);
    margin: 0 0 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.rs-cta-banner__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   8. SECTION HEADER (título + subtítulo reutilizável)
   -------------------------------------------------------------------------- */

.rs-section-header {
    margin-bottom: 48px;
}

.rs-section-header--center {
    text-align: center;
}

.rs-section-header--center .rs-accent-line {
    margin-left: auto;
    margin-right: auto;
}

.rs-section-header__eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rs-magenta);
    margin-bottom: 10px;
}

.rs-section-header__title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    color: var(--rs-text-primary);
    margin: 0 0 14px;
    line-height: 1.1;
}

.rs-section-header__subtitle {
    font-size: 16px;
    color: var(--rs-text-secondary);
    max-width: 600px;
    line-height: 1.7;
    margin: 0;
}

.rs-section-header--center .rs-section-header__subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* --------------------------------------------------------------------------
   9. BLOCO "SOBRE NÓS" — rs-home-about (homepage)
   Layout: barra acento + título grande + imagem | texto lado a lado
   Inspiração: Canva do cliente
   -------------------------------------------------------------------------- */

/* Secção principal — fundo escuro, blobs injetados pelo JS */
.rs-home-about {
    position: relative;
    background: var(--rs-dark);
    overflow: hidden;
    font-family: var(--rs-font);
    color: var(--rs-text-primary);
    padding: 110px 0 120px;
}

/* Canvas dos blobs */
.rs-home-about > .rs-blob-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Tudo acima do canvas */
.rs-home-about > .container {
    position: relative;
    z-index: 1;
}

/* ── Cabeçalho: barra + título ── */
.rs-ha-header {
    margin-bottom: 72px;
}

.rs-ha-header .rs-accent-line {
    margin-bottom: 28px;
}

.rs-ha-title {
    font-family: var(--rs-font);
    font-size: clamp(52px, 7vw, 100px);
    font-weight: 300;
    line-height: 0.95;
    letter-spacing: -2px;
    color: var(--rs-text-primary);
    text-transform: uppercase;
    margin: 0;
}

/* ── Grelha imagem | texto ── */
.rs-ha-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.rs-ha-img {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    border: 0.5px solid var(--rs-border-light);
    aspect-ratio: 4 / 3;
    background: #111827;
}

.rs-ha-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.rs-ha-img:hover img {
    transform: scale(1.03);
}

.rs-ha-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.20);
}

.rs-ha-placeholder svg {
    width: 48px;
    height: 48px;
}

.rs-ha-placeholder span {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: var(--rs-font);
}

/* Badge "10 Anos" — canto inferior direito da imagem */
.rs-ha-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--rs-gradient);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-shadow: 0 8px 32px rgba(192, 38, 211, 0.45);
    z-index: 2;
}

.rs-ha-num {
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    font-family: var(--rs-font);
}

.rs-ha-lbl {
    font-size: 9px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    text-align: center;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--rs-font);
}

/* Coluna de texto */
.rs-ha-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rs-ha-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--rs-text-secondary);
    margin: 0;
    font-family: var(--rs-font);
}

.rs-ha-text p strong {
    color: var(--rs-text-primary);
    font-weight: 600;
}

/* Checklist */
.rs-check-list {
    list-style: none;
    padding: 0;
    margin: 4px 0 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rs-check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-family: var(--rs-font);
    color: var(--rs-text-secondary);
}

.rs-check-list li::before {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--rs-gradient);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 10l4 4 8-8' stroke='white' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 14px;
    -webkit-mask-position: center;
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 10l4 4 8-8' stroke='white' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-size: 14px;
    mask-position: center;
}

/* Botão */
.rs-home-about .theme-btn {
    font-family: var(--rs-font);
    margin-top: 8px;
    align-self: flex-start;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .rs-ha-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .rs-ha-title {
        font-size: clamp(44px, 10vw, 72px);
        letter-spacing: -2px;
    }

    .rs-ha-img img {
        aspect-ratio: 4 / 3;
    }

    .rs-ha-badge {
        bottom: 16px;
        right: 16px;
    }
}

/* --------------------------------------------------------------------------
   10. SECÇÃO "ÁREAS DE ATUAÇÃO" — rs-home-services
   -------------------------------------------------------------------------- */

.rs-home-services {
    position: relative;
    background: var(--rs-dark);
    overflow: hidden;
    font-family: var(--rs-font);
    color: var(--rs-text-primary);
    padding: 100px 0 110px;
}

.rs-home-services > .rs-blob-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.rs-home-services > .container {
    position: relative;
    z-index: 1;
}

.rs-svc-header { margin-bottom: 56px; }

.rs-svc-title {
    font-family: var(--rs-font);
    font-size: clamp(32px, 5vw, 68px);
    font-weight: 300;
    letter-spacing: -1.5px;
    line-height: 1;
    text-transform: uppercase;
    color: var(--rs-text-primary);
    margin: 0 0 32px;
}

.rs-svc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 28px;
    border-radius: 6px;
    background: var(--rs-gradient);
    color: #fff;
    font-family: var(--rs-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity .2s, transform .2s;
}

.rs-svc-btn:hover {
    opacity: .88;
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}

.rs-svc-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.rs-svc-card {
    border-radius: 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    padding: 36px 20px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
    color: inherit;
    transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.rs-svc-card:hover {
    border-color: var(--rs-orange);
    background: rgba(249, 115, 22, 0.05);
    transform: translateY(-4px);
    color: inherit;
    text-decoration: none;
}

.rs-svc-ico-wrap {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rs-svc-ico-wrap svg {
    width: 72px;
    height: 72px;
    stroke: #fff;
    stroke-width: 1.2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rs-svc-ico-wrap i {
    font-size: 40px;
    color: #fff;
    opacity: .85;
}

.rs-svc-name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
    color: var(--rs-text-primary);
    line-height: 1.4;
    font-family: var(--rs-font);
}

.rs-svc-subs-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.rs-svc-subs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0 8px;
}

.rs-svc-subs span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--rs-text-muted);
    text-align: center;
    line-height: 1.5;
    font-family: var(--rs-font);
}

@media (max-width: 1024px) {
    .rs-svc-grid, .rs-svc-subs-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
    .rs-svc-grid, .rs-svc-subs-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------------------------------------------------------
   12. COUNTER — rs-home-counter
   -------------------------------------------------------------------------- */

.rs-home-counter {
    position: relative;
    background: var(--rs-dark);
    overflow: hidden;
    font-family: var(--rs-font);
    padding: 80px 0;
}

.rs-home-counter > .rs-blob-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.rs-home-counter > .container {
    position: relative;
    z-index: 1;
}

.rs-counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px 16px;
    text-align: center;
    border-right: 0.5px solid rgba(255, 255, 255, 0.07);
}

.rs-counter-item:last-child {
    border-right: none;
}

.rs-c-num {
    font-size: clamp(56px, 7vw, 100px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    background: var(--rs-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    font-family: var(--rs-font);
}

/* remover o em e o sep antigos */
.rs-c-num em { font-style: normal; }
.rs-c-sep { display: none; }

.rs-c-lbl {
    font-size: 15px;
    font-weight: 700;
    color: var(--rs-text-primary);
    letter-spacing: .01em;
    font-family: var(--rs-font);
}

@media (max-width: 576px) {
    .rs-counter-item {
        border-right: none;
        border-bottom: 0.5px solid rgba(255, 255, 255, 0.07);
    }
    .rs-counter-item:last-child { border-bottom: none; }
}

/* --------------------------------------------------------------------------
   13. PORTFÓLIO — rs-home-portfolio
   -------------------------------------------------------------------------- */

.rs-home-portfolio {
    position: relative;
    background: var(--rs-dark);
    overflow: hidden;
    font-family: var(--rs-font);
    padding: 100px 0 80px;
}

.rs-home-portfolio > .rs-blob-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.rs-home-portfolio > .container,
.rs-home-portfolio > .rs-home-pf-grid {
    position: relative;
    z-index: 1;
}

/* Cabeçalho */
.rs-pf-header {
    margin-bottom: 56px;
}

.rs-pf-title {
    font-family: var(--rs-font);
    font-size: clamp(52px, 7vw, 100px);
    font-weight: 300;
    letter-spacing: -2px;
    line-height: 0.95;
    text-transform: uppercase;
    color: var(--rs-text-primary);
    margin: 0 0 32px;
}

.rs-pf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 28px;
    border-radius: 6px;
    background: var(--rs-gradient);
    color: #fff;
    font-family: var(--rs-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity .2s, transform .2s;
}

.rs-pf-btn:hover {
    opacity: .88;
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}

/* Grid de fotos — full width, 4 colunas */
.rs-home-pf-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 260px);
    gap: 4px;
    margin-top: 0;
}

.rs-home-pf-item {
    position: relative;
    overflow: hidden;
    background: #111;
    cursor: pointer;
}

/* Item largo (colunas 2-3 da primeira linha) */
.rs-home-pf-item.rs-pf-wide {
    grid-column: span 2;
}

.rs-home-pf-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s cubic-bezier(.25,.46,.45,.94), opacity .4s;
}

.rs-home-pf-item:hover img {
    transform: scale(1.06);
    opacity: .65;
}

/* Overlay com título */
.rs-home-pf-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity .3s;
}

.rs-home-pf-item:hover .rs-home-pf-overlay { opacity: 1; }

.rs-home-pf-overlay h4 {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 0 0 4px;
    font-family: var(--rs-font);
}

.rs-home-pf-overlay span {
    font-size: 11px;
    color: rgba(255,255,255,.6);
    font-weight: 500;
    font-family: var(--rs-font);
}

/* Placeholder para items sem imagem */
.rs-pf-placeholder {
    width: 100%;
    height: 100%;
    background: #1a1430;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.15);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--rs-font);
}

@media (max-width: 768px) {
    .rs-home-pf-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .rs-home-pf-item.rs-pf-wide { grid-column: span 1; }
}

/* --------------------------------------------------------------------------
   14. PROCESSO — rs-home-process
   -------------------------------------------------------------------------- */

.rs-home-process {
    position: relative;
    background: var(--rs-dark);
    overflow: hidden;
    font-family: var(--rs-font);
    color: var(--rs-text-primary);
    padding-bottom: 90px;
}

.rs-home-process > .rs-blob-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.rs-home-process > .container {
    position: relative;
    z-index: 1;
}

/* Cabeçalho */
.rs-proc-header {
    padding: 100px 0 80px;
}

.rs-proc-title {
    font-family: var(--rs-font);
    font-size: clamp(56px, 9vw, 120px);
    font-weight: 300;
    line-height: 0.92;
    letter-spacing: -3px;
    text-transform: uppercase;
    color: var(--rs-text-primary);
    margin: 0 0 24px;
}

.rs-proc-sub {
    font-size: clamp(16px, 2vw, 22px);
    font-style: italic;
    font-weight: 300;
    color: var(--rs-text-muted);
    margin: 0;
    font-family: var(--rs-font);
}

/* Grid de cards — full width */
.rs-proc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    position: relative;
    z-index: 1;
}

.rs-proc-card {
    background: rgba(255, 255, 255, 0.04);
    border-top: 0.5px solid rgba(255, 255, 255, 0.08);
    padding: 40px 32px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.rs-proc-num {
    font-family: var(--rs-font);
    font-size: clamp(72px, 8vw, 120px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -4px;
    background: var(--rs-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.rs-proc-name {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rs-text-primary);
    font-family: var(--rs-font);
    text-align: center;
}

.rs-proc-desc {
    padding: 28px 32px 56px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--rs-text-primary);
    font-family: var(--rs-font);
    text-align: center;
}

/* Descrições — faixa abaixo dos cards */
.rs-proc-descs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    background: rgba(0, 0, 0, 0.20);
    border-top: 0.5px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .rs-proc-grid,
    .rs-proc-descs {
        grid-template-columns: repeat(2, 1fr);
    }

    .rs-proc-title {
        font-size: clamp(48px, 12vw, 80px);
        letter-spacing: -2px;
    }
}

/* --------------------------------------------------------------------------
   15. CTA FINAL — marquee + faixa gradiente
   -------------------------------------------------------------------------- */

.rs-cta-marquee {
    background: var(--rs-dark);
    overflow: hidden;
    padding: 0;
    border-top: 0.5px solid rgba(255, 255, 255, 0.06);
}

.rs-cta-marquee-track {
    display: flex;
    width: max-content;
    animation: rs-mq 18s linear infinite;
}

@keyframes rs-mq {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.rs-cta-marquee-track:hover { animation-play-state: paused; }

.rs-cta-mq-item {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    padding: 0 32px;
    font-family: var(--rs-font);
    font-size: clamp(100px, 14vw, 180px);
    font-weight: 700;
    letter-spacing: -.04em;
    text-transform: none;
    white-space: nowrap;
    flex-shrink: 0;
    background: linear-gradient(180deg, #F97316 0%, #C026D3 55%, #2563EB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.05;
}

.rs-cta-mq-sep {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(180deg, #F97316, #2563EB);
    flex-shrink: 0;
    display: inline-block;
    -webkit-text-fill-color: initial;
}

.rs-cta-bar {
    background: var(--rs-gradient);
    padding: 72px 24px;
    text-align: center;
}

.rs-cta-bar-label {
    font-family: var(--rs-font);
    font-size: clamp(48px, 8vw, 110px);
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #1a1a2e;
    display: block;
    line-height: 1;
}

/* --------------------------------------------------------------------------
   16. RESPONSIVE GERAL
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
    :root {
        --rs-section-py: 56px;
        --rs-section-px: 24px;
    }

    .rs-intro-block__title {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .rs-stats__number {
        font-size: 36px;
    }

    .rs-cta-banner__actions {
        flex-direction: column;
        align-items: center;
    }
}