/* Root Variables - Branding Caixa */
:root {
    --caixa-blue: #005ca9;
    --caixa-orange: #f39200;
    --light-gray: #f4f7f9;
    --dark-gray: #333333;
    --white: #ffffff;
    --text-color: #444444;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3, h4 {
    color: var(--caixa-blue);
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--caixa-blue);
    transition: var(--transition);
}

a:hover {
    color: var(--caixa-orange);
}

/* Header & Nav */
header {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--caixa-blue);
}

.logo span {
    color: var(--caixa-orange);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    font-weight: 500;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 92, 169, 0.9), rgba(0, 92, 169, 0.9)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 6rem 0;
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-content {
    flex: 1;
    padding-right: 4rem;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Hero Login Form */
.hero-login {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
}

.hero-login h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
}

.form-group input:focus {
    border-color: var(--caixa-blue);
}

.forgot-password {
    display: block;
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--caixa-orange);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #d68100;
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--caixa-blue);
}

.btn-block {
    width: 100%;
    background-color: var(--caixa-blue);
    color: var(--white);
}

.btn-block:hover {
    background-color: #004a87;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--caixa-orange);
    margin: 0.5rem auto 0;
}

.bg-light {
    background-color: var(--light-gray);
}

.content-text p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.step-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--caixa-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

/* Footer */
footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #ccc;
}

.footer-section a:hover {
    color: var(--caixa-orange);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

.footer-links-autoridade {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links-autoridade a {
    font-size: 0.8rem;
    color: #888;
}

/* Catalog Preview */
.catalogo-preview {
    display: flex;
    align-items: center;
    background: var(--light-gray);
    border-radius: 12px;
    overflow: hidden;
}

.catalogo-info {
    padding: 3rem;
}

.catalogo-info h2 {
    text-align: left;
}

.catalogo-info h2::after {
    margin: 0.5rem 0 0;
}

.catalogo-info ul {
    list-style: none;
    margin-bottom: 2rem;
}

.catalogo-info ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.catalogo-info ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--caixa-orange);
    font-weight: bold;
}

/* Info Cards */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.info-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--caixa-orange);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Split Layout */
.split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.split-image, .split-text {
    flex: 1;
}

.split-text h2 {
    text-align: left;
}

.split-text h2::after {
    margin: 0.5rem 0 0;
}

.accent-section {
    background: var(--caixa-blue);
    color: var(--white);
}

.accent-section h2 {
    color: var(--white);
}

.extra-content h2 {
    margin-top: 3rem;
}

