/* Variáveis e Reset */
:root {
    --primary-color: #1D4771;
    --secondary-color: #4A6B8E;
    --text-color: #333;
    --bg-color: #f5f5f5;
    --rounded-corner: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: #F8F8F8;
}

/* Links Globais */
a {
    text-decoration: none;
}

/* Headings Globais */
h1 {
    text-align: center;
    font-family: 'Lato', sans-serif;
    font-size: 25px;
    line-height: 32px;
    padding-top: 70px;
}

h1 a {
    color: #66CCCC;
}

/* Header & Navigation */
header {
    background: var(--bg-color);
    padding: 1rem 0;
    position: fixed!important;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #0088cc;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0.5rem;
}

/* Botão Área do Cliente */
.btn-area-cliente {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: transform 0.2s ease, box-shadow ease;
}

.btn-area-cliente:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
#hero {
    background-image: url('templates/1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

/* Botões */
.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: var(--rounded-corner);
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: pulse 2s infinite;
    border: none;
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: var(--rounded-corner);
    background-color: var(--secondary-color);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: none;
}

.btn-primary:hover, 
.btn-secondary:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Seções Gerais */
section {
    padding: 4rem 2rem;
}

section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

#servicos {
    background-color: #275a8e;
    color: white;
}

.mission-section {
    padding: 50px 0;
    margin-bottom: 5px; /* Espaço entre as seções */
}

.mission-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-section {
    padding: 50px 0;
}

.services-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.services-header {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    color: #0066cc;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    margin-bottom: 5px;
}

.services-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.services-header p {
    font-size: 1rem;
    color: #666666;
    line-height: 1.5;
}

.service-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 250px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.service-icon {
    background-color: #007bff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.service-icon i {
    font-size: 24px;
    color: #fff;
}

.service-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #0066cc;
}

.service-content p {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.5;
}

/* Seção de Preços */
.price-table-wrapper {
    font-family: 'Lato', sans-serif;
    text-align: center;
    margin-top: 30px;
}

.price-table-wrapper .featured-table {
    box-shadow: 0px 0px 19px -3px rgba(0, 0, 0, 0.36);
}

.pricing-table {
    display: inline-block;
    border: 1px solid #C8C8C8;
    border-radius: 10px;
    background: white;
    margin: 20px;
    transition: all 0.3s ease-in-out;
    width: 320px;
}

.pricing-table__header {
    padding: 20px;
    font-size: 20px;
    color: white;
    background: #275a8e;
}

.pricing-table__price {
    color: #1d4771;
    padding: 20px;
    margin: auto;
    font-size: 40px;
    font-weight: 500;
}

/* Botões da Tabela de Preços */
.pricing-table__button {
    display: block;
    background: #275a8e;
    text-decoration: none;
    padding: 20px;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.pricing-table__button:before {
    position: absolute;
    left: -20%;
    top: -10%;
    content: '';
    width: 60%;
    height: 220%;
    transform: rotate(-30deg);
    background: white;
    opacity: 0.3;
    transition: all 0.3s ease-in-out;
}

.pricing-table__button:after {
    position: absolute;
    content: '>';
    top: 0;
    right: 0;
    font-size: 25px;
    padding: 15px;
    padding-right: 40px;
    color: white;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.pricing-table__button:hover {
    background: #00a3ff;
}

.pricing-table__button:hover:before {
    top: -80%;
    transform: rotate(0deg);
    width: 100%;
}

.pricing-table__button:hover:after {
    opacity: 1;
    padding-right: 15px;
}

.pricing-table__list {
    padding: 20px;
    color: #000000;
}

.pricing-table__list li {
    padding: 15px;
    border-bottom: 1px solid #C8C8C8;
}

.pricing-table__list li:last-child {
    border: none;
}

.pricing-table:hover {
    box-shadow: 0px 0px 19px -3px rgba(0, 0, 0, 0.36);
}

.pricing-table:hover .pricing-table__button {
    padding-left: 0;
    padding-right: 35px;
}

/* FAQ Section */
#faq {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8%;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 5%;
}

.faq-item {
    border: 1px solid #007bff;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: #275a8e;
    color: white;
    padding: 1rem;
    width: 100%;
    text-align: left;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

.faq-answer {
    display: none;
    padding: 1rem;
    background-color: #f9f9f9;
}

.faq-answer p {
    margin: 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.modal-content {
    background: linear-gradient(145deg, #f9f9f9, #ececec);
    border-radius: 12px;
    padding: 20px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    z-index: 1001;
}

.modal-content .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1002;
}

.modal-content .close:hover {
    color: #000;
}

.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.modal-body .modal-image img {
    width: 120px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Benefits Section */
.benefits-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
    background: linear-gradient(135deg, #f3f3f3, #ffffff);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.benefits-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.benefit-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 15px;
}

.benefit-icon img {
    width: 100%;
    height: 100%;
}

.benefit-item h3 {
    font-size: 1.4rem;
    color: #0073e6;
    margin-bottom: 10px;
}

.benefit-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    font-family: 'Arial', sans-serif;
    padding: 2rem 1rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #007bff;
}

.footer-brand p {
    font-size: 0.95rem;
    margin: 0.5rem 0;
    margin-left: 0;
    display: block;
    text-align: left;
}

.footer-links ul,
.footer-social ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-social li {
    margin-bottom: 0.8rem;
}

.footer-links a,
.footer-social a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.footer-links a:hover,
.footer-social a:hover {
    color: #007bff;
}

.social-icons a {
    padding: 5px;
    margin-right: 1rem;
    color: #fff;
    font-size: 1.4rem;
    transition: color 0.3s;
}

.social-icons a:last-child {
    margin-right: 0;
}

.social-icons a:hover {
    color: #007bff;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #aaa;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.footer-container i {
    font-size: 1.2rem;
    margin-right: 0.5rem;
    color: #007bff;
}

/* WhatsApp Button */
#whatsapp-button {
    background-color: #25D366;
    color: white;
    border: none;
    padding: 20px 20px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: fixed;
    bottom: 20px;
    right: 20px;
    animation: pulse 2s infinite;
}

#whatsapp-button i {
    font-size: 20px;
}

#whatsapp-button:hover {
    background-color: #1EBE58;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: none;
}

/* Animações */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    /* Header & Navigation */
    .mobile-menu-btn {
        display: block;
        margin-right: 15px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 0.5rem 0;
        text-align: center;
        width: 100%;
    }

    /* Hero Section */
    #hero {
        min-height: 100vh;
        height: auto;
        padding: 4rem 1rem;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .services-header {
        height: auto;
    }

    .service-item {
        height: auto;
    }

    /* Pricing Tables */
    .price-table-wrapper {
        padding: 1rem;
    }

    .pricing-table {
        width: 100%;
        max-width: 350px;
        margin: 10px auto;
    }

    /* Benefits Section */
    .benefits-section {
        padding: 1rem;
    }

    .benefits-container {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    /* WhatsApp Button */
    #whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
        right: 15px;
        bottom: 15px;
    }

    /* Modal */
    .modal-content {
        width: 95%;
        padding: 15px;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Print Styles */
@media print {
    .nav-links,
    .mobile-menu-btn,
    #whatsapp-button,
    .cta-buttons {
        display: none;
    }
}

/* Landscape Mode */
@media (max-height: 500px) and (orientation: landscape) {
    #hero {
        height: auto;
        min-height: 120vh;
    }

    .nav-links.active {
        max-height: 80vh;
        overflow-y: auto;
    }
}