/* 
   CRICON Contabilidade - Style Guide
   Colors:
   - Navy: #002B5B
   - Gold: #B8860B
   - Dark: #1A1A1A
   - Gray: #F4F4F4
   - White: #FFFFFF
*/

:root {
    --primary: #002B5B;
    --primary-light: #004C8C;
    --secondary: #B8860B;
    --dark: #1A1A1A;
    --light: #F4F4F4;
    --white: #FFFFFF;
    --text: #333333;
    --text-muted: #666666;
    --border: #E0E0E0;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-stack);
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
}

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

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1.5rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.btn-nav {
    border: 1px solid var(--primary);
    padding: 8px 16px;
    border-radius: 4px;
}

.btn-nav:hover {
    background: var(--primary);
    color: var(--white);
}

/* Hero */
.hero {
    padding: 100px 0;
    background: url('../img/hero.svg') center center/cover no-repeat;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.badge {
    display: inline-block;
    background: rgba(184, 134, 11, 0.1);
    color: var(--secondary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-dark {
    background-color: var(--primary);
    color: var(--white);
}

.section-dark h2, .section-dark h3 {
    color: var(--white);
}

.section-gray {
    background-color: var(--light);
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Cards */
.card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: 100%;
    color: var(--text);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.card-metodo {
    background: var(--primary);
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
}

.card-metodo h3 {
    color: var(--white);
    margin-bottom: 25px;
}

.step {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.step-num {
    background: var(--secondary);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

/* List Check */
.list-check {
    list-style: none;
}

.list-check li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
}

.list-check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.comparison-table th, .comparison-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background: var(--primary);
    color: var(--white);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
}

.form-feedback {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.form-feedback.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Footer */
.main-footer {
    background: #0a0a0a;
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 40px;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.8rem;
}

.footer-bottom p {
    margin-bottom: 5px;
    opacity: 0.5;
}

.disclaimer {
    margin-top: 15px;
    font-style: italic;
}

/* Responsive */
@media (max-width: 992px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 60px 0;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .main-nav {
        display: none; /* In a real site, add a hamburger menu */
    }
}
