﻿/* Style for Sobre/Tutorial Page Redesign */

body {
    background-color: #f1f5f9 !important;
    background-image: 
      linear-gradient(135deg, rgba(248, 250, 252, 0.85) 0%, rgba(226, 232, 240, 0.95) 100%),
      url("/images/confusa-blue.png") !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    background-attachment: fixed !important;
    color: #0f172a !important;
    font-family: 'Montserrat', sans-serif !important;
}

.sobre-wrapper {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px 80px 20px;
}

/* Sidebar Index */
.sobre-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 60px;
    height: fit-content;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
}

.sobre-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sobre-sidebar li {
    margin-bottom: 4px;
}

.sobre-sidebar a {
    display: block;
    padding: 8px 12px;
    color: #475569;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.sobre-sidebar a:hover {
    color: #0284c7;
    background: rgba(2, 132, 199, 0.08);
    padding-left: 16px;
}

.sobre-sidebar .innerList {
    padding-left: 12px;
    margin-top: 4px;
    margin-bottom: 8px;
    border-left: 2px solid rgba(0, 0, 0, 0.06);
}

.sobre-sidebar .innerList a {
    font-size: 0.88rem;
    padding: 6px 10px;
}

/* Main Content Card */
.sobre-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    min-width: 0;
}

/* Anchor offset for sticky header */
.anchor {
    display: block;
    position: relative;
    top: -80px;
    visibility: hidden;
}

/* Headings and Typography */
h1.headerSobre {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 2rem !important;
    border-bottom: 2px solid rgba(2, 132, 199, 0.15);
    padding-bottom: 10px;
}

h2.headerSobre {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    margin-top: 48px;
    margin-bottom: 18px;
    font-size: 1.5rem !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 6px;
}

p.paragrafoSobre {
    font-family: 'Montserrat', sans-serif !important;
    line-height: 1.75 !important;
    color: #334155 !important;
    margin-bottom: 24px !important;
    font-size: 1rem !important;
    text-align: justify !important;
}

p.paragrafoSobre em {
    font-style: italic;
    color: #0f172a;
}

p.paragrafoSobre a {
    color: #0284c7 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    border-bottom: 1px dashed rgba(2, 132, 199, 0.4);
    transition: all 0.2s ease !important;
}

p.paragrafoSobre a:hover {
    color: #0369a1 !important;
    border-bottom-color: #0369a1;
}

/* List Styling */
ul.featuresListing {
    padding-left: 20px;
    margin-bottom: 30px;
    list-style-type: none;
}

ul.featuresListing li {
    position: relative;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.98rem;
    color: #475569;
    margin-bottom: 12px;
    line-height: 1.6;
    padding-left: 24px;
}

ul.featuresListing li::before {
    content: "⚡";
    position: absolute;
    left: 0;
    top: 1px;
    color: #0284c7;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media only screen and (max-width: 992px) {
    .sobre-wrapper {
        flex-direction: column;
        gap: 24px;
        margin: 20px auto;
    }
    
    .sobre-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        box-sizing: border-box;
    }
    
    .sobre-content {
        padding: 30px 24px;
    }
}
