/* ========================================
   RIJO Soluções - Site CSS
   ======================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    color: var(--color-text, #313131);
    line-height: 1.6;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 .5em;
    color: var(--color-primary, #011121);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--color-accent, #0693e3); text-decoration: none; transition: .25s; }
a:hover { color: var(--color-primary); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* === Botões === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    border: 2px solid var(--color-primary);
    border-radius: 4px;
    cursor: pointer;
    transition: .3s;
    font-size: 14px;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.btn:hover { background: transparent; color: var(--color-primary); }
.btn-accent { background: var(--color-accent); border-color: var(--color-accent); }
.btn-accent:hover { background: transparent; color: var(--color-accent); }
.btn-outline { background: transparent; color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn-lg { padding: 18px 38px; font-size: 15px; }
.bg-light { background: #fafafa; }
.bg-dark { background: var(--color-primary); color: #fff; }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }

/* === Header === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(1, 17, 33, .95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    height: 90px;
    transition: .3s;
}
.site-header.scrolled { background: rgba(1, 17, 33, .98); height: 70px; box-shadow: 0 4px 20px rgba(0,0,0,.2); }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.site-logo img { max-height: 50px; width: auto; }
.site-header.scrolled .site-logo img { max-height: 40px; }
.logo-mobile { display: none; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-nav a {
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .8px;
    position: relative;
}
.site-nav a:hover, .site-nav a.active { color: var(--color-accent); }
.site-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-accent);
}
.nav-cta {
    background: var(--color-accent);
    padding: 10px 20px;
    border-radius: 4px;
    color: #fff !important;
    font-size: 13px !important;
    text-transform: uppercase;
}
.nav-cta:hover { background: #fff; color: var(--color-primary) !important; }
.nav-toggle, .nav-close {
    display: none;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* === Hero === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    text-align: center;
    padding: 120px 0 80px;
    position: relative;
}
.hero-inner { max-width: 850px; }
.hero-title {
    color: #fff;
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 900;
}
.hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.4rem);
    margin-bottom: 40px;
    opacity: .9;
    font-weight: 300;
}

/* === Page Banner (inner) === */
.page-banner {
    margin-top: 0;
    padding: 180px 0 80px;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}
.page-banner h1 { color: #fff; margin-bottom: 12px; }
.page-banner p { font-size: 1.15rem; opacity: .85; max-width: 700px; margin: 0 auto; }

/* === Sections === */
.section { padding: 90px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head.light h2, .section-head.light p { color: #fff; }
.section-eyebrow {
    display: inline-block;
    color: var(--color-accent);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.section-head h2 { margin-bottom: 16px; }
.section-head p { font-size: 1.1rem; opacity: .8; }
.section-cta { text-align: center; margin-top: 50px; }

/* === Strategy Cards (Home) === */
.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.strategy-card {
    text-align: center;
    padding: 40px 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: .3s;
}
.strategy-card:hover { border-color: var(--color-accent); transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,.08); }
.strategy-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--color-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

/* === Services Grid === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.services-grid-full { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: .3s;
}
.service-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,.1);
}
.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(6, 147, 227, .1);
    color: var(--color-accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: .95rem; opacity: .8; margin-bottom: 20px; }
.service-link {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === Portfolio Grid === */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.portfolio-grid-full { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.portfolio-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}
.portfolio-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: .5s;
}
.portfolio-item:hover .portfolio-image { transform: scale(1.1); }
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 30%, rgba(1,17,33,.95));
    color: #fff;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: .3s;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-cat {
    display: inline-block;
    color: var(--color-accent);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}
.portfolio-overlay h3 { color: #fff; margin: 0 0 8px; font-size: 1.2rem; }
.portfolio-overlay p { margin: 0; font-size: .9rem; opacity: .9; }

/* === Plans Grid === */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.plans-grid-detailed { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.plan-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    color: var(--color-text);
    position: relative;
    transition: .3s;
}
.plan-card.featured {
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(6,147,227,.3);
    border: 2px solid var(--color-accent);
}
.plan-card:hover { transform: translateY(-5px); }
.plan-card.featured:hover { transform: scale(1.05) translateY(-5px); }
.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: #fff;
    padding: 6px 18px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
}
.plan-card h3 { margin-bottom: 16px; color: var(--color-primary); }
.plan-price {
    font-size: 13px;
    color: #888;
    margin-bottom: 16px;
}
.plan-price strong {
    display: block;
    font-size: 2.2rem;
    color: var(--color-primary);
    font-weight: 800;
    margin-top: 4px;
}
.plan-desc { font-size: .95rem; min-height: 50px; }
.plan-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    text-align: left;
}
.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: .9rem;
}
.plan-features li i { color: var(--color-accent); margin-right: 10px; }

/* === Inner page content === */
.content-block { max-width: 850px; margin: 0 auto 60px; }
.content-block .lead { font-size: 1.2rem; opacity: .85; margin-bottom: 24px; }
.content-image { border-radius: 8px; margin: 24px 0; }
.clients-grid { text-align: center; margin-top: 60px; }
.clients-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; align-items: center; margin-top: 30px; }
.client-logo img { max-height: 60px; filter: grayscale(100%); opacity: .7; transition: .3s; }
.client-logo:hover img { filter: none; opacity: 1; }

/* === Contact === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-list-big {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}
.contact-list-big li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}
.contact-list-big i {
    width: 40px;
    height: 40px;
    background: rgba(6,147,227,.1);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-form {
    background: #fafafa;
    padding: 40px;
    border-radius: 8px;
}
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
    background: #fff;
    transition: .25s;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(6,147,227,.1);
}
.contact-form textarea { resize: vertical; margin-bottom: 16px; }
.alert { padding: 16px 20px; border-radius: 4px; margin-bottom: 20px; }
.alert-success { background: #d4edda; color: #155724; }
.alert-error { background: #f8d7da; color: #721c24; }

/* === Footer === */
.site-footer {
    background: var(--color-primary);
    color: #fff;
    padding: 70px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 50px;
}
.footer-logo { max-height: 50px; margin-bottom: 20px; }
.footer-brand p { opacity: .7; max-width: 320px; }
.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.7); }
.footer-col a:hover { color: var(--color-accent); }
.contact-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: rgba(255,255,255,.7);
}
.contact-list i { color: var(--color-accent); margin-top: 4px; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}
.social-links a:hover { background: var(--color-accent); }
.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,.1);
    text-align: center;
    font-size: .9rem;
    opacity: .6;
}
.footer-bottom p { margin: 0; }

/* === Floating WhatsApp === */
.floating-whats {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 8px 24px rgba(37,211,102,.4);
    z-index: 999;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,.4); }
    50% { box-shadow: 0 8px 32px rgba(37,211,102,.8); }
}

/* === Responsive === */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-form .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-primary);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        transition: .3s;
        z-index: 100;
    }
    .site-nav.open { right: 0; }
    .nav-close { display: block; position: absolute; top: 20px; right: 20px; }
    .site-nav ul { flex-direction: column; gap: 20px; width: 100%; }
    .nav-cta { margin-top: 20px; }
    .logo-desktop { display: none; }
    .logo-mobile { display: block; max-height: 40px; }
    .section { padding: 60px 0; }
    .page-banner { padding: 140px 0 60px; }
    .plan-card.featured { transform: none; }
}
