/* Brand & Layout Styles for Recuperação ICMS-ST */
:root {
    --icms-dark: #0a192f;
    --icms-blue: #1b499e;
    --icms-cyan: #2cb2ca;
    --icms-gold: #f39c12;
    --icms-danger: #e74c3c;
    --icms-success: #2ecc71;
    --icms-card-bg: #ffffff;
    --icms-border: #e2e8f0;
}

/* Hero Section Specifics */
.hero-icms {
    min-height: 26rem;
    padding: 4.5rem 0 3.5rem;
    background: radial-gradient(circle at center, #132a4e, #071224);
    color: #ffffff;
    text-align: center;
    position: relative;
}

.hero-icms h1 {
    font-family: Oswald, 'Arial-Oswald-Large-Match', sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: 0.05rem;
}

.hero-icms h1 span {
    color: var(--icms-cyan);
}

.hero-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1rem 0 1.5rem;
}

.hero-tags span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(44, 178, 202, 0.4);
    background: rgba(44, 178, 202, 0.1);
    padding: 0.3rem 0.9rem;
    border-radius: 2rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.03rem;
}

.hero-icms .hero-text {
    font-size: 1.2rem;
    max-width: 52rem;
    margin: 1.5rem auto 0;
    line-height: 1.7;
    color: #e2e8f0;
}

/* Context & Challenge Section */
.section-context {
    padding: 4rem 0;
    background: #ffffff;
}

.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

.context-box {
    background: #f8fafc;
    border-left: 4px solid var(--icms-blue);
    border-radius: 0.5rem;
    padding: 1.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.context-box.warning {
    border-left-color: var(--orange);
    background: #fffdfa;
}

.context-box h3 {
    font-family: Oswald, sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
    text-transform: uppercase;
}

.context-box p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.context-box ul {
    list-style: none;
    padding-left: 0;
}

.context-box ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    color: #334155;
    font-weight: 500;
}

.context-box ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--icms-blue);
    font-weight: bold;
}

.context-box.warning ul li::before {
    content: "⚠";
    color: var(--orange);
}

/* Methodology Steps Section */
.section-steps {
    padding: 4rem 0;
    background: #f1f5f9;
}

.steps-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.step-card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--icms-cyan);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.step-number {
    background: var(--dark-blue);
    color: #ffffff;
    font-family: Oswald, sans-serif;
    font-size: 1.25rem;
    font-weight: bold;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-card h4 {
    font-size: 1.15rem;
    color: var(--dark-blue);
    margin: 0;
    font-weight: 700;
}

.step-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    flex-grow: 1;
}

.step-deliverable {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--icms-border);
    font-size: 0.85rem;
    color: var(--icms-blue);
    font-weight: 600;
}

/* Risk Matrix Table Section */
.section-risks {
    padding: 4rem 0;
    background: #ffffff;
}

.table-responsive {
    overflow-x: auto;
    margin-top: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.risk-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    text-align: left;
    font-size: 0.95rem;
}

.risk-table th {
    background: var(--dark-blue);
    color: #ffffff;
    padding: 1rem 1.25rem;
    font-family: Oswald, sans-serif;
    font-weight: 500;
    letter-spacing: 0.03rem;
    text-transform: uppercase;
}

.risk-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--icms-border);
    color: #334155;
}

.risk-table tr:hover {
    background: #f8fafc;
}

.badge-risk {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-risk.critical {
    background: #fee2e2;
    color: #991b1b;
}

.badge-risk.high {
    background: #ffedd5;
    color: #9a3412;
}

.badge-risk.medium {
    background: #fef9c3;
    color: #854d0e;
}

/* Benefits Section */
.section-benefits {
    padding: 4rem 0;
    background: radial-gradient(circle at center, #0f2240, #091528);
    color: #ffffff;
}

.section-benefits h2 {
    color: #ffffff !important;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1.75rem;
    margin-top: 2.5rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1.75rem;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--icms-cyan);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.benefit-card h4 {
    font-family: Oswald, sans-serif;
    font-size: 1.25rem;
    color: var(--icms-cyan);
    margin-bottom: 0.75rem;
}

.benefit-card p {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 48rem) {
    .hero-icms h1 {
        font-size: 2rem;
    }

    .grid-2col {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .steps-timeline {
        grid-template-columns: 1fr;
    }
}
