/**
 * Estilos específicos da página Termo de Uso
 * Petições Online®
 */

:root {
    --primary-green: #2d5f2e;
    --secondary-green: #4a8f4d;
    --light-green: #e8f5e9;
    --accent-green: #66bb6a;
    --dark-gray: #333;
    --medium-gray: #666;
    --light-gray: #f8f9fa;
    --border-color: #e0e0e0;
    --warning-orange: #ff9800;
    --danger-red: #e74c3c;
}

/* HEADER */
.header-content {
    background: linear-gradient(135deg, var(--primary-green) 0%, #1e4620 100%);
    color: white;
    padding: 40px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb {
    font-size: 0.875rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.breadcrumb i {
    margin: 0 8px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-title i {
    font-size: 2.75rem;
}

.page-subtitle {
    font-size: 1.125rem;
    opacity: 0.95;
    font-weight: 400;
}

/* MAIN CONTENT */
.main-container {
    max-width: 1000px;
    margin: -40px auto 60px;
    padding: 0 20px;
}

.content-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 50px;
}

.company-intro {
    background: var(--light-green);
    border-left: 4px solid var(--secondary-green);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 40px;
    font-size: 1.0625rem;
}

.company-intro strong {
    color: var(--primary-green);
    font-weight: 700;
}

.last-updated {
    background: var(--light-green);
    border-left: 4px solid var(--secondary-green);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 40px;
    font-size: 0.9375rem;
}

.last-updated i {
    color: var(--secondary-green);
    margin-right: 8px;
}

.last-updated strong {
    color: var(--primary-green);
    font-weight: 700;
}

/* TYPOGRAPHY */
.content-card h2 {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-top: 50px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--light-green);
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-card h2:first-of-type {
    margin-top: 0;
}

.content-card h2 i {
    font-size: 1.75rem;
}

.content-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--secondary-green);
    margin-top: 35px;
    margin-bottom: 15px;
}

.clause {
    margin-bottom: 30px;
    padding: 20px;
    background: #fafafa;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-green);
}

.clause-number {
    font-weight: 800;
    color: var(--primary-green);
    font-size: 1.125rem;
    margin-bottom: 10px;
    display: block;
}

.content-card p {
    margin-bottom: 20px;
    font-size: 1.0625rem;
    text-align: justify;
    line-height: 1.8;
}

.content-card ul,
.content-card ol {
    margin: 20px 0;
    padding-left: 30px;
}

.content-card li {
    margin-bottom: 15px;
    font-size: 1.0625rem;
    line-height: 1.8;
}

.content-card strong {
    color: var(--primary-green);
    font-weight: 700;
}

/* SPECIAL BOXES */
.critical-box {
    background: #fff3e0;
    border: 3px solid var(--warning-orange);
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.15);
}

.critical-box h3 {
    color: #f57c00;
    margin-top: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
}

.critical-box h3 i {
    font-size: 2rem;
}

.critical-box h4 {
    color: #ef6c00;
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 15px;
}

.critical-box p {
    text-align: left;
}

.b2b-box {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border: 3px solid var(--secondary-green);
    border-radius: 12px;
    padding: 35px;
    margin: 40px 0;
    box-shadow: 0 6px 20px rgba(45, 95, 46, 0.2);
}

.b2b-box h3 {
    color: var(--primary-green);
    margin-top: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.625rem;
    font-weight: 800;
}

.b2b-box h3 i {
    font-size: 2.25rem;
}

.b2b-relationship {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 15px;
    align-items: center;
    margin: 25px 0;
    padding: 20px;
    background: white;
    border-radius: 8px;
}

.b2b-item {
    text-align: center;
}

.b2b-item-label {
    font-size: 0.875rem;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 8px;
}

.b2b-item-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-green);
}

.b2b-arrow {
    font-size: 2rem;
    color: var(--secondary-green);
}

.b2b-conclusion {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-green);
    margin-top: 20px;
}

.b2b-conclusion p {
    text-align: left;
    margin-bottom: 10px;
}

.jurisprudence {
    background: #f5f5f5;
    border-left: 4px solid var(--secondary-green);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-style: italic;
}

.jurisprudence-title {
    font-weight: 700;
    color: var(--primary-green);
    font-style: normal;
    margin-bottom: 10px;
}

.danger-box {
    background: #ffebee;
    border: 3px solid var(--danger-red);
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.15);
}

.danger-box h3 {
    color: #c62828;
    margin-top: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
}

.danger-box h3 i {
    font-size: 2rem;
}

.danger-box h4 {
    color: #c62828;
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.danger-box ul {
    margin-left: 0;
    padding-left: 25px;
}

.danger-box p {
    text-align: left;
}

.info-box {
    background: #e3f2fd;
    border-left: 5px solid #2196f3;
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
}

.info-box h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1976d2;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box p {
    margin-bottom: 0;
    text-align: left;
}

.guarantee-box {
    background: linear-gradient(135deg, #fff9c4 0%, #fff59d 100%);
    border: 3px solid #fbc02d;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 4px 12px rgba(251, 192, 45, 0.2);
}

.guarantee-box h3 {
    color: #f57f17;
    margin-top: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
}

.guarantee-box h3 i {
    font-size: 2rem;
}

/* CONFIRMATION BOX */
.confirmation-box {
    background: var(--light-green);
    padding: 30px;
    border-radius: 12px;
    margin-top: 50px;
    border: 2px solid var(--secondary-green);
    text-align: center;
}

.confirmation-box h3 {
    color: var(--primary-green);
    margin-top: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.confirmation-box p {
    margin-bottom: 0;
    font-size: 1.0625rem;
    text-align: center;
}

/* ACTION BUTTONS */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--secondary-green);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 95, 46, 0.3);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: white;
    color: var(--secondary-green);
    border: 2px solid var(--secondary-green);
}

.btn-secondary:hover {
    background: var(--light-green);
    border-color: var(--primary-green);
    color: var(--primary-green);
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: var(--medium-gray);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--light-gray);
    border-color: var(--medium-gray);
    color: var(--dark-gray);
    text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .page-title {
        font-size: 1.875rem;
    }

    .content-card {
        padding: 30px 25px;
    }

    .content-card h2 {
        font-size: 1.5rem;
    }

    .content-card h3 {
        font-size: 1.25rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .b2b-relationship {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .b2b-arrow {
        transform: rotate(90deg);
    }

    .main-container {
        margin-top: 0;
    }

    .header-content {
        padding: 30px 15px;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 1.5rem;
    }

    .content-card {
        padding: 20px 15px;
    }

    .clause {
        padding: 15px;
    }

    .b2b-box,
    .danger-box,
    .info-box {
        padding: 20px;
    }
}

/* PRINT STYLES */
@media print {
    .header-content,
    .action-buttons {
        display: none;
    }

    .content-card {
        box-shadow: none;
        padding: 20px;
    }

    .main-container {
        margin: 0;
    }

    .clause,
    .b2b-box,
    .danger-box,
    .info-box,
    .confirmation-box {
        break-inside: avoid;
    }

    body {
        background: white;
    }
}
