/* Reset e Configurações Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --primary-color: #C14808;
    --secondary-color: #012840;
    --accent-color: #BF3604;
    --light-color: #f8f9fa;
    --dark-color: #00080D;
    --text-color: #333;
    --text-light: #6c757d;
    --border-color: #e9ecef;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Smooth scroll para âncoras */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}
h1 {
    font-size: 2.5rem;
}
h2 {
    font-size: 2rem;
}
h3 {
    font-size: 1.5rem;
}
p {
    margin-bottom: 1rem;
}
.highlight {
    color: var(--primary-color);
}
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}
.btn-primary {
    background-color: var(--primary-color);
    color: white;
}
.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}
.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.btn-full {
    width: 100%;
}
/* Botão Pequeno para Header */
.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Ajuste do menu para incluir o botão */
.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

/* Responsividade para o botão no mobile */
@media (max-width: 992px) {
    .nav-menu {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-menu .btn-sm {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }
}

/* Header e Navegação */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}
.navbar {
    padding: 1rem 0;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.nav-logo img {
    height: 40px;
    width: auto;
    transition: var(--transition);
}
.nav-logo img:hover {
    transform: scale(1.05);
}
.nav-menu {
    display: flex;
    gap: 2rem;
}
.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}
.nav-link:hover {
    color: var(--primary-color);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}
.nav-link:hover::after {
    width: 100%;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: white;
    padding-top: 3rem;
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    background-size: 100% 4px;
    background-repeat: no-repeat;
    background-position: top;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: white;
}
.footer-section ul {
    list-style: none;
}
.footer-section ul li {
    margin-bottom: 0.5rem;
}
.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}
.footer-section a:hover {
    color: var(--primary-color);
}
.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}
.contact-info i {
    margin-right: 10px;
    color: var(--primary-color);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding: 1.5rem 0;
    text-align: center;
    color: #ccc;
}

/* Placeholders para imagens */
.image-placeholder {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    min-height: 200px;
}

/* Animações para carregamento de imagens */
.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Social Icons - Footer */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(193, 72, 8, 0.3);
    border-color: var(--primary-color);
}

.social-icon i {
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icon:hover i {
    transform: scale(1.1);
}

/* Mensagens do formulário */
#form-message {
    padding: 15px;
    margin: 20px 0;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
}

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

#form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Loading button */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.fa-spin {
    animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsividade para os ícones sociais */
@media (max-width: 768px) {
    .social-icons {
        justify-content: center;
        gap: 0.8rem;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .social-icon i {
        font-size: 1.1rem;
    }
}

/* Responsividade Base */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background-color: white;
        width: 80%;
        height: calc(100vh - 70px);
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 2rem;
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-toggle {
        display: flex;
    }
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
}