/* Red-Rib Redes de Proteção - CSS Completo */

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

:root {
    --primary: #DC143C;
    --primary-dark: #A01030;
    --secondary: #000000;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #F5F5F5;
    --bg-white: #FFFFFF;
    --border-color: #DDDDDD;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

/* Header */
.header {
    background-color: var(--bg-white);
    border-bottom: 2px solid var(--primary);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
}

.logo img {
    height: 50px;
    width: auto;
}

.logo h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--primary);
}

.whatsapp-btn {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: inline-block;
}

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

/* Breadcrumb */
.breadcrumb {
    background-color: var(--bg-light);
    padding: 15px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    margin: 0 5px;
}

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

/* Main Content */
.main-content {
    min-height: calc(100vh - 300px);
    padding: 40px 0;
}

.main-content h1 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.3;
}

.main-content h2 {
    font-size: 28px;
    color: var(--text-dark);
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 10px;
}

.main-content h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-top: 20px;
    margin-bottom: 15px;
}

/* Content Section */
.content-section {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    border-left: 5px solid var(--primary);
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 15px;
}

.content-section strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
    margin: 40px 0;
}

.faq-list {
    display: grid;
    gap: 20px;
}

.faq-item {
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.faq-item h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 18px;
}

.faq-item p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 50px 40px;
    border-radius: 8px;
    text-align: center;
    margin: 40px 0;
}

.cta-section h2 {
    color: var(--bg-white);
    border-bottom-color: var(--bg-white);
    margin-bottom: 20px;
}

.cta-section p {
    color: var(--bg-white);
    font-size: 16px;
    margin-bottom: 20px;
}

.cta-button {
    background-color: var(--bg-white);
    color: var(--primary);
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background-color: var(--secondary);
    color: var(--bg-white);
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
}

.footer p {
    margin: 10px 0;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .nav ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .nav a {
        display: block;
        padding: 10px;
        text-align: center;
    }

    .main-content h1 {
        font-size: 28px;
    }

    .main-content h2 {
        font-size: 22px;
    }

    .content-section {
        padding: 20px;
    }

    .faq-section {
        padding: 20px;
    }

    .cta-section {
        padding: 30px 20px;
    }

    .faq-list {
        gap: 15px;
    }

    .faq-item {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .logo h2 {
        font-size: 18px;
    }

    .nav {
        gap: 10px;
    }

    .nav ul {
        gap: 8px;
    }

    .main-content h1 {
        font-size: 22px;
    }

    .main-content h2 {
        font-size: 18px;
    }

    .whatsapp-btn {
        padding: 8px 15px;
        font-size: 14px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 14px;
    }
}

/* Utilitários */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

.text-primary {
    color: var(--primary);
}

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

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

/* Print */
@media print {
    .header,
    .breadcrumb,
    .whatsapp-btn,
    .cta-button {
        display: none;
    }
}
