/* =========================================
   ROPE SOLUÇÕES DIGITAIS - CSS PREMIUM DARK (Obvia Style)
   ========================================= */

:root {
    /* Identidade Visual Rope (Preto e Metálico) */
    --bg-black: #050505;
    --bg-black-alt: #0a0a0c;
    --bg-dark-gray: #111111;
    --bg-card: #18181A;
    --bg-card-hover: #202023;

    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;

    /* Cinza Metálico premium */
    --accent-silver: #E0E0E0;
    --accent-silver-dark: #8C8C8C;
    --accent-silver-gradient: linear-gradient(135deg, #FFFFFF 0%, #999999 100%);

    /* Detalhes de destaque (Como o amarelo/azul da obvia, mas adaptado) */
    --accent-highlight: #A3A3A3;

    --whatsapp-green: #25D366;
    --whatsapp-hover: #1EBE5C;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.15);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-black);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-gradient {
    background: var(--accent-silver-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Sections Common */
.section-padding {
    padding: 100px 0;
}

.dark-section {
    background-color: var(--bg-dark-gray);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.black-section {
    background-color: var(--bg-black);
}

/* Titles Obvia Style (with small line) */
.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-silver-dark);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-header h2,
.split-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.title-line {
    height: 4px;
    width: 60px;
    background: var(--accent-silver-gradient);
    border-radius: 2px;
    margin: 0 auto 20px auto;
}

.title-line.left {
    margin: 0 0 20px 0;
}

.section-header p,
.split-text>p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.split-text>p {
    margin: 0 0 40px 0;
}


/* ================= Buttons ================= */
.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 6px;
    /* Obvia style: slightly rounded */
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
}

/* Primary btn is now Silver/White for max contrast on black */
.btn-primary {
    background: var(--accent-silver-gradient);
    color: var(--bg-black);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Obvia has solid dark buttons for secondary actions */
.btn-secondary {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--accent-silver-dark);
}

/* Outline for pricing */
.btn-outline {
    background: transparent;
    color: var(--accent-silver);
    border: 2px solid var(--border-strong);
}

.btn-outline:hover {
    border-color: var(--accent-silver);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* ================= Navbar ================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
    padding: 20px 0;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(5, 5, 5, 0.95);
    border-bottom: 1px solid var(--border-color);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-r {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--bg-black);
    background: var(--accent-silver-gradient);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    /* Slightly less rounded */
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.logo-text small {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-primary);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent-silver-gradient);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ================= Hero Section (Obvia structured) ================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    /* Offset for navbar */
    background: radial-gradient(circle at top right, #1a1a1c 0%, var(--bg-black) 60%);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--border-strong) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    z-index: 1;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text-content h1 {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-text-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Abstract Premium Shield (Right Side) */
.hero-image-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.premium-shield {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-core {
    width: 120px;
    height: 120px;
    background: var(--accent-silver-gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: var(--bg-black);
    z-index: 3;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.2);
    animation: pulse 3s infinite alternate;
}

.orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed var(--border-strong);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 {
    width: 220px;
    height: 220px;
    animation: rotate 20s linear infinite;
}

.orbit-2 {
    width: 320px;
    height: 320px;
    border-style: solid;
    border-color: var(--border-color);
    animation: rotate 30s linear infinite reverse;
}

@keyframes rotate {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes pulse {
    100% {
        box-shadow: 0 0 80px rgba(255, 255, 255, 0.4);
    }
}


/* ================= Pricing Grid (Obvia Style upfront) ================= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 30px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-strong);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pricing-card.popular {
    background: var(--bg-black-alt);
    border-color: var(--accent-silver-dark);
    transform: scale(1.05);
    /* Highlight logic like Obvia */
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-silver-gradient);
    color: var(--bg-black);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.pricing-price {
    margin: 30px 0 15px 0;
    font-family: var(--font-heading);
    display: flex;
    align-items: flex-start;
}

.pricing-price .currency {
    font-size: 1.2rem;
    margin-top: 5px;
    margin-right: 4px;
    color: var(--text-secondary);
}

.pricing-price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.pricing-price .cents {
    font-size: 1.2rem;
    margin-top: 5px;
    font-weight: 700;
}

.pricing-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-features {
    flex-grow: 1;
    margin-bottom: 30px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.pricing-features i {
    color: var(--accent-silver);
    margin-top: 4px;
}

.pricing-card .btn-outline,
.pricing-card .btn-primary {
    width: 100%;
}

/* ================= Split Layout (Pillars / App style) ================= */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split-image {
    display: flex;
    justify-content: center;
}

.mockup-frame {
    width: 300px;
    height: 600px;
    border: 8px solid var(--border-strong);
    border-radius: 40px;
    padding: 10px;
    background: var(--bg-black);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    border-radius: 25px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    background: var(--bg-dark-gray);
    padding: 20px;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
}

.mockup-body {
    padding: 30px 20px;
}

.m-line {
    height: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    margin-bottom: 15px;
}

.m-line.short {
    width: 60%;
}

.pillar-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.pillar-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--accent-silver);
    flex-shrink: 0;
}

.pillar-content h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.pillar-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}


/* ================= Grid Utility & News ================= */
.grid {
    display: grid;
    gap: 30px;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.news-card:hover {
    border-color: var(--accent-silver-dark);
    transform: translateY(-5px);
}

.news-image {
    width: 100%;
    height: 200px;
    background-color: var(--bg-black-alt);
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--border-color);
}

/* Placeholders for news images just colored for now */
.news-bg-1 {
    background: radial-gradient(rgba(255, 255, 255, 0.05), transparent);
}

.news-bg-2 {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.08));
}

.news-bg-3 {
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.1), transparent);
}

.news-content {
    padding: 30px;
}

.news-date {
    font-size: 0.8rem;
    color: var(--accent-silver-dark);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.news-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.news-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.news-link {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.news-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.news-link:hover i {
    transform: translateX(5px);
}


/* ================= Footer ================= */
.footer {
    background-color: #030303;
    /* Subtly darker than body */
    border-top: 1px solid var(--border-color);
    padding-top: 80px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin: 20px 0;
    max-width: 300px;
    font-size: 0.95rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.social-icons a:hover {
    background: var(--accent-silver);
    color: var(--bg-black);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-secondary);
}

.footer-links ul li a:hover {
    color: var(--text-primary);
    padding-left: 5px;
}

.footer-btn {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp-green);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 6px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-btn:hover {
    background: var(--whatsapp-green);
    color: var(--bg-black);
}

.footer-contact p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-contact i {
    width: 20px;
    color: var(--accent-silver);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 25px 0;
    background-color: #000;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ================= Whatsapp Floating ================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 999;
}

.whatsapp-float:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-5px) scale(1.05);
}

/* Globals */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
}


/* ================= Responsiveness ================= */
@media (max-width: 992px) {

    .hero-grid,
    .split-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text-content h1 {
        font-size: 3rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .title-line.left {
        margin: 0 auto 20px auto;
    }

    .pillar-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .pricing-grid,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 20px auto;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-text-content h1 {
        font-size: 2.5rem;
    }
}