/* ===========================================
   Rastreio - Estilos Compartilhados
   Paleta: Verde Teal (#16a34a)
   Fontes: Poppins (títulos) + Inter (corpo)
=========================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
    color: #1f2937;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #111827;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ===== Botões ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 0.65rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
    text-align: center;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background-color: #16a34a;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #15803d;
    box-shadow: 0 8px 20px -6px rgba(22, 163, 74, 0.5);
}

.btn-outline {
    background-color: transparent;
    color: #16a34a;
    border: 2px solid #16a34a;
}

.btn-outline:hover {
    background-color: #16a34a;
    color: #ffffff;
}

.btn-ghost {
    background-color: transparent;
    color: #374151;
    padding: 0.5rem 1rem;
}

.btn-ghost:hover {
    color: #16a34a;
}

.btn-block {
    width: 100%;
}

/* ===== Header ===== */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.logo-icon {
    width: 2.25rem;
    height: 2.25rem;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    border-radius: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #16a34a;
}

nav.main-nav {
    display: flex;
    gap: 2rem;
}

nav.main-nav a {
    color: #374151;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav.main-nav a:hover,
nav.main-nav a.active {
    color: #16a34a;
}

nav.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #16a34a;
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #374151;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    padding: 1.5rem 0 0;
    font-size: 0.875rem;
    color: #6b7280;
}

.breadcrumb a:hover {
    color: #16a34a;
}

/* ===== Page Hero ===== */
.page-hero {
    padding: 4rem 0 3rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.06) 0%, rgba(22, 163, 74, 0.02) 100%);
}

.page-hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    color: #4b5563;
    max-width: 38rem;
    margin: 0 auto;
}

/* ===== Sections ===== */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.25rem;
}

.section-subtitle {
    text-align: center;
    color: #4b5563;
    max-width: 36rem;
    margin: 0 auto 3rem;
}

/* ===== Cards ===== */
.card {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.card:hover {
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

/* ===== Footer ===== */
footer {
    background-color: #111827;
    color: #d1d5db;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

footer .logo-text {
    color: #ffffff;
}

footer h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

footer p {
    font-size: 0.9rem;
    line-height: 1.7;
}

footer .company-info {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 1rem;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 0.6rem;
}

footer ul li a,
footer .contact-list li {
    color: #d1d5db;
    transition: color 0.3s;
    font-size: 0.9rem;
}

footer ul li a:hover {
    color: #4ade80;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.footer-divider {
    border-top: 1px solid #374151;
    margin: 2rem 0;
}

.footer-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: #6b7280;
    max-width: 52rem;
    margin: 0 auto 1rem;
    line-height: 1.7;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.footer-ssl {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #4ade80;
}

/* ===== Cookie Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background-color: #1f2937;
    color: #e5e7eb;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cookie-banner a {
    color: #4ade80;
    text-decoration: underline;
}

.cookie-banner.hidden {
    display: none;
}

/* ===== Forms ===== */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: #374151;
}

.form-group label .required {
    color: #dc2626;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.65rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #4b5563;
}

.checkbox-row input {
    margin-top: 0.25rem;
}

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.success-msg {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background-color: #dcfce7;
    border: 1px solid #86efac;
    border-radius: 0.65rem;
    color: #15803d;
    font-weight: 500;
}
.success-msg.show { display: block; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    nav.main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: #ffffff;
        padding: 1rem 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid #e5e7eb;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

    nav.main-nav.open {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .header-actions .btn-ghost {
        display: none;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
