/* Design system do site institucional do SiForm — redesenho baseado no conteúdo real.
   Carregado por cima de css.css/bootstrap.css (mantidos só pela página órfã
   contato-enviado.php); a home usa exclusivamente as classes daqui. */

:root {
    --azul: #005aff;
    --azul-escuro: #0044cc;
    --azul-claro: #62b0ff;
    --tinta: #0f1b3d;
    --tinta-suave: #4a5578;
    --cinza: #8891ab;
    --fundo: #f6f8ff;
}

.rf * { box-sizing: border-box; }

.rf {
    font-family: 'Lato', system-ui, -apple-system, sans-serif;
    background: var(--fundo);
    color: var(--tinta-suave);
}

.rf h1, .rf h2, .rf h3 {
    font-family: 'Lato', system-ui, sans-serif;
    color: var(--tinta);
    margin: 0;
    line-height: 1.15;
}

.rf p { margin: 0; line-height: 1.6; }

.rf a { color: var(--azul); text-decoration: none; }
.rf a:hover { color: var(--azul-escuro); }
/* Botões/links com cor própria precisam vencer a regra genérica ".rf a" acima
   (que tem mais especificidade que uma classe sozinha) — por isso os
   seletores abaixo repetem ".rf a" na frente. */

.rf-wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

.rf-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--azul);
    text-transform: uppercase;
    margin-bottom: 14px;
}

.rf-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--azul);
    font-weight: 700;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 999px;
    box-shadow: 0 16px 32px -12px rgba(0, 90, 255, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.rf a.rf-btn-primary, .rf a.rf-btn-primary:hover { color: #fff; }
.rf-btn-primary:hover { background: var(--azul-escuro); transform: translateY(-2px); }

.rf-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 6px;
}
.rf a.rf-btn-ghost { color: var(--tinta); }

.rf-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 50px -28px rgba(15, 27, 61, 0.35);
}

.rf-icon { flex-shrink: 0; }

/* NAV */
.rf-nav {
    position: sticky;
    top: 0;
    z-index: 500;
    background: rgba(15, 27, 61, 0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}
.rf-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
    flex-wrap: wrap;
    row-gap: 12px;
}
.rf-nav-right { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.rf-nav-links { display: flex; align-items: center; gap: 28px; }
.rf a.rf-nav-link { color: rgba(255, 255, 255, 0.85); font-weight: 700; font-size: 14px; }
.rf a.rf-nav-link:hover { color: #fff; }

/* HERO */
.rf-hero {
    padding-top: 76px;
    padding-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 64px;
    flex-wrap: wrap;
}
.rf-hero-copy { flex: 1; min-width: 320px; }
.rf-hero-copy h1 { font-size: clamp(34px, 5.4vw, 52px); font-weight: 900; letter-spacing: -0.01em; }
.rf-hero-copy p { font-size: 18px; margin-top: 22px; max-width: 480px; }
.rf-hero-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 34px; }
.rf-hero-image { flex: 1; min-width: 300px; }
.rf-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    box-shadow: 0 40px 80px -30px rgba(15, 27, 61, 0.4);
}

/* TRUST BAR */
.rf-trust-section { padding: 30px 0 70px; }
.rf-trust-label {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cinza);
}
.rf-trust-logos {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 44px;
    flex-wrap: nowrap;
    width: max-content;
    margin-top: 40px;
    opacity: 0.7;
    animation: slideLogos 24s infinite linear;
}
.rf-trust-logos:hover { animation-play-state: paused; }
.rf-trust-logos img { flex: none; height: 80px; width: auto; max-width: 130px; object-fit: contain; filter: grayscale(1); }
.rf-trust-logos img:hover{filter: grayscale(0);}
.rf-trust-track { position: relative; overflow: hidden; }
.rf-trust-track::before,
.rf-trust-track::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 90px;
    z-index: 1;
    pointer-events: none;
}
.rf-trust-track::before { left: 0; background: linear-gradient(to right, #fff, transparent); }
.rf-trust-track::after { right: 0; background: linear-gradient(to left, #fff, transparent); }

/* INTEGRAÇÕES */
.rf-integracoes { background: var(--tinta); padding: 56px 0; }
.rf-integracoes-titulo { text-align: center; color: #fff; font-size: 20px; font-weight: 700; }
.rf-badges { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.rf-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 12px 22px;
    color: #fff;
}
.rf-badge strong { font-size: 14px; font-weight: 700; }
.rf-badge span.rf-badge-desc { font-size: 13px; opacity: 0.6; margin-left: 4px; }

/* MÓDULOS */
.rf-modulo { padding: 100px 32px 40px; }
.rf-modulo-intro { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.rf-modulo-intro h2 { font-size: clamp(26px, 4.6vw, 36px); font-weight: 900; }

.rf-bloco {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-bottom: 110px;
}
.rf-bloco:last-child { margin-bottom: 0; }
.rf-bloco-media { flex: 1; min-width: 300px; }
.rf-bloco-media img { width: 100%; height: auto; display: block; }
.rf-bloco-media img.rf-flutuante {
    max-width: 340px;
    margin: 0 auto;
    filter: drop-shadow(0 30px 40px rgba(15, 27, 61, 0.35));
}
.rf-bloco-texto { flex: 1; min-width: 300px; }
.rf-bloco-texto h3 { font-size: 26px; font-weight: 900; }
.rf-bloco-texto > p { margin-top: 14px; font-size: 16px; }
.rf-bloco-lista { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.rf-bloco-lista-item { display: flex; align-items: center; gap: 12px; }
.rf-bloco-lista-item span { font-size: 15px; color: var(--tinta); font-weight: 600; }

/* SIEVENTOS */
.rf-sieventos { background: #eef2ff; padding: 100px 0; }
.rf-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.rf-feature-card { padding: 32px; }
.rf-feature-card h3 { font-size: 19px; font-weight: 900; margin-top: 16px; }
.rf-feature-card p { margin-top: 8px; font-size: 15px; }

/* APP SIFORMANDO */
.rf-appfeature {
    background: linear-gradient(135deg, var(--tinta) 0%, #1c1440 60%, #0f1b3d 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.rf-appfeature::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 90, 255, 0.35), transparent 70%);
    pointer-events: none;
}
.rf-appfeature-row { display: flex; align-items: center; gap: 64px; flex-wrap: wrap; position: relative; }
.rf-appfeature-texto { flex: 1.1; min-width: 320px; }
.rf-appfeature-texto h2 { color: #fff; font-size: clamp(28px, 4.6vw, 40px); font-weight: 900; letter-spacing: -0.01em; }
.rf-appfeature-texto > p { color: #b7bfdb; font-size: 17px; margin-top: 18px; max-width: 480px; }
.rf-appfeature-lista { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.rf-appfeature-lista-item { display: flex; align-items: center; gap: 12px; }
.rf-appfeature-lista-item span { color: #e3e7f7; font-size: 15px; font-weight: 600; }
.rf-appfeature-texto .rf-btn-primary { margin-top: 36px; }
.rf-appfeature-visual { flex: 1; min-width: 280px; display: flex; justify-content: center; position: relative; }
.rf-appfeature-visual img { max-width: 300px; width: 100%; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.5)); }

/* WHITE LABEL */
.rf-whitelabel { padding: 100px 32px; }
.rf-whitelabel-card {
    background: linear-gradient(120deg, #1c1440, #0f1b3d);
    border-radius: 28px;
    padding: 64px 56px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}
.rf-whitelabel-card::after {
    content: '';
    position: absolute;
    bottom: -140px;
    left: -80px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(98, 176, 255, 0.25), transparent 70%);
    pointer-events: none;
}
.rf-whitelabel-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
    position: relative;
}
.rf-whitelabel-conteudo { position: relative; flex: 1.2; min-width: 320px; }
.rf-whitelabel-conteudo h2 { color: #fff; font-size: clamp(26px, 4.4vw, 36px); font-weight: 900; }
.rf-whitelabel-conteudo > p { color: #b7bfdb; font-size: 16px; margin-top: 16px; }
.rf-whitelabel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; position: relative; }
.rf-whitelabel-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 16px;
}
.rf-whitelabel-item svg { color: var(--azul-claro); flex-shrink: 0; margin-top: 2px; }
.rf-whitelabel-item span { color: #e3e7f7; font-size: 14px; font-weight: 600; }
.rf-whitelabel-card .rf-btn-primary { margin-top: 36px; }
.rf-whitelabel-visual { flex: 1; min-width: 220px; display: flex; justify-content: center; position: relative; }
.rf-whitelabel-visual img { max-width: 240px; width: 100%; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.5)); }

/* CTA BANNER */
.rf-cta-banner { background: linear-gradient(120deg, var(--azul), var(--azul-escuro)); padding: 72px 0; }
.rf-cta-banner-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.rf-cta-banner h2 { color: #fff; font-size: clamp(24px, 4vw, 30px); font-weight: 900; max-width: 480px; }
.rf-cta-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    font-weight: 900;
    font-size: 15px;
    padding: 16px 30px;
    border-radius: 999px;
    box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease;
}
.rf a.rf-cta-banner-btn, .rf a.rf-cta-banner-btn:hover { color: var(--azul-escuro); }
.rf-cta-banner-btn:hover { transform: translateY(-2px); }

/* DEPOIMENTOS */
.rf-depoimentos { padding: 100px 32px; }
.rf-depoimentos-intro { text-align: center; max-width: 560px; margin: 0 auto 56px; }
.rf-depoimentos-intro h2 { font-size: clamp(24px, 4.4vw, 32px); font-weight: 900; }
.rf-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.rf-depoimento-card { padding: 32px; }
.rf-depoimento-card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.rf-depoimento-card p { font-size: 15px; font-style: italic; }
.rf-depoimento-nome { margin-top: 22px; font-weight: 900; color: var(--tinta); font-size: 15px; }
.rf-depoimento-empresa { font-size: 13px; color: var(--cinza); }

/* FOOTER */
.rf-footer { background: var(--tinta); padding: 80px 0 32px; }
.rf-footer-top {
    display: flex;
    gap: 64px;
    flex-wrap: wrap;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.rf-footer-brand { flex: 1.4; min-width: 240px; }
.rf-footer-brand img { height: 24px; }
.rf-footer-brand p { margin-top: 18px; color: #b7bfdb; font-size: 14px; max-width: 260px; }
.rf-footer-col { flex: 1; min-width: 160px; }
.rf-footer-col.rf-footer-contato { flex: 1.2; min-width: 220px; }
.rf-footer-col-titulo {
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.rf-footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.rf a.rf-footer-link { color: #b7bfdb; }
.rf a.rf-footer-link:hover { color: #fff; }
.rf-footer-contato-info { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: #b7bfdb; }
.rf a.rf-footer-contato-link { color: #b7bfdb; }
.rf a.rf-footer-contato-link:hover { color: #fff; }
.rf-footer-bottom { padding-top: 24px; }
.rf-footer-bottom span { color: #7c86a8; font-size: 13px; }

/* RESPONSIVO */
@media (max-width: 760px) {
    .rf-nav-links { display: none; }
    .rf-nav-row img {height: 30px !important;}
}
@media (max-width: 700px) {
    .rf-grid-2col, .rf-grid-3col, .rf-whitelabel-grid { grid-template-columns: minmax(0, 1fr) !important; }
    .rf-hero{padding-inline: 5% !important;}
    .rf-whitelabel{padding-inline: 0%;}
    .rf-whitelabel-card { padding: 40px 24px; }
    .rf-whitelabel-badge{font-size: 10px;}
    .rf-footer { text-align: center;}
    .rf-footer-brand{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

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