/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
    background-color: #ffffff;
}

/* Utilitários de Acessibilidade */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* Barra de Acessibilidade */
.accessibility-bar {
    background: #1e3a8a;
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.accessibility-links {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 1rem;
}

.accessibility-links a {
    color: white;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.accessibility-links a:hover,
.accessibility-links a:focus {
    color: #fbbf24;
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* Cabeçalho */
.header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 60px;
    width: auto;
}

.site-title h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e3a8a;
    margin: 0;
}

.subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
}

/* Campo de Busca */
.search-form {
    display: flex;
    max-width: 400px;
    width: 100%;
}

.search-input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #d1d5db;
    border-radius: 0.375rem 0 0 0.375rem;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-button {
    padding: 0.75rem 1rem;
    background: #1e3a8a;
    color: white;
    border: 2px solid #1e3a8a;
    border-radius: 0 0.375rem 0.375rem 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-button:hover,
.search-button:focus {
    background: #1e40af;
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

.search-icon {
    width: 20px;
    height: 20px;
}

/* Navegação Principal */
.main-nav {
    background: #f3f4f6;
    border-bottom: 1px solid #d1d5db;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item a {
    display: block;
    padding: 1rem 1.5rem;
    color: #374151;
    text-decoration: none;
    transition: background-color 0.2s ease;
    font-weight: 500;
}

.nav-item a:hover,
.nav-item a:focus {
    background: #e5e7eb;
    outline: 2px solid #3b82f6;
    outline-offset: -2px;
}

.nav-item.active a {
    background: #1e3a8a;
    color: white;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1rem 0;
    font-size: 0.875rem;
    color: #6b7280;
    background: #f9fafb;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-list li:not(:last-child)::after {
    content: " > ";
    margin: 0 0.5rem;
    color: #9ca3af;
}

.breadcrumb-list a {
    color: #3b82f6;
    text-decoration: none;
}

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

/* Conteúdo Principal */
.main-content {
    min-height: 60vh;
}

/* Hero Section */
.hero {
    position: relative;
    margin-bottom: 3rem;
}

.hero-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 2rem 0;
}

.hero-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    max-width: 800px;
}

@media (min-width: 768px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }
}

/* Seções */
section {
    margin-bottom: 3rem;
}

section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Grid de Valores */
.values-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.value-card ul {
    list-style-position: inside;
    margin-left: 0;
}

.value-card li {
    margin-bottom: 0.5rem;
}

/* Grid de Destaques */
.highlights-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .highlights-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.highlight-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.highlight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.highlight-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.highlight-content {
    padding: 1.5rem;
}

.highlight-content h3 {
    margin-bottom: 1rem;
}

.highlight-content h3 a {
    color: #1e3a8a;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
}

.highlight-content h3 a:hover,
.highlight-content h3 a:focus {
    text-decoration: underline;
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Acesso Rápido */
.quick-links {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .quick-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

.quick-link {
    display: block;
    padding: 1.5rem;
    background: #f3f4f6;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #374151;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.quick-link:hover,
.quick-link:focus {
    background: #e5e7eb;
    border-color: #3b82f6;
    outline: none;
}

.quick-link-title {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
}

.quick-link-desc {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Rodapé */
.footer {
    background: #1e3a8a;
    color: white;
    padding: 2rem 0 1rem;
    margin-top: 4rem;
}

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

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

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

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bfdbfe;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a:hover,
.footer-section a:focus {
    color: white;
    text-decoration: underline;
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

.footer-bottom {
    border-top: 1px solid #3b82f6;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: #bfdbfe;
}

/* Estados de Foco */
*:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

a:focus {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

button:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Responsividade */
@media (max-width: 767px) {
    .nav-list {
        flex-direction: column;
    }
    
    .nav-item a {
        padding: 0.75rem 1rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
}

/* Suporte a Modo de Alto Contraste */
@media (prefers-contrast: high) {
    * {
        border-color: ButtonText !important;
    }
    
    .value-card,
    .highlight-card {
        border-width: 2px;
    }
}

/* Suporte a Movimento Reduzido */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}



/* Estilos para FAQ */
.faq-list {
    margin-top: 2rem;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    background: #f9fafb;
    border: none;
    padding: 1.5rem;
    width: 100%;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e3a8a;
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative;
    margin: 0;
}

.faq-question:hover,
.faq-question:focus {
    background: #f3f4f6;
    outline: 2px solid #3b82f6;
    outline-offset: -2px;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.faq-question[aria-expanded="true"]::after {
    content: '−';
    transform: translateY(-50%) rotate(0deg);
}

.faq-answer {
    padding: 1.5rem;
    background: white;
    border-top: 1px solid #e5e7eb;
}

.faq-answer p {
    margin: 0 0 1rem 0;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Estilos para Formulário de Contato */
.contact-form {
    max-width: 600px;
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background: #1e3a8a;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.submit-button:hover,
.submit-button:focus {
    background: #1e40af;
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Estilos para seções de conteúdo */
.content-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f3f4f6;
}

.content-section:last-child {
    border-bottom: none;
}

.content-section h2 {
    color: #1e3a8a;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: left;
}

.content-section h3 {
    color: #374151;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.content-section h3:first-child {
    margin-top: 0;
}

.content-section dl {
    margin: 1rem 0;
}

.content-section dt {
    font-weight: 600;
    color: #1e3a8a;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.content-section dt:first-child {
    margin-top: 0;
}

.content-section dd {
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.content-section dd ul {
    margin-top: 0.5rem;
}

.content-section address {
    font-style: normal;
    line-height: 1.6;
}

.content-section address p {
    margin-bottom: 0.5rem;
}

/* Aviso LGPD */
.lgpd-notice {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 0.5rem;
    padding: 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #92400e;
}

.lgpd-notice strong {
    color: #78350f;
}

.lgpd-notice a {
    color: #1e40af;
    text-decoration: underline;
}

.lgpd-notice a:hover,
.lgpd-notice a:focus {
    color: #1e3a8a;
}

