@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url(../css/coverage_map.css);

:root {
    --primary-color: #0a3b70;
    --secondary-color: #ff9100;
    --background-color: #f8f9fa;
    --text-color: #333;
    --light-text-color: #666;
    --border-color: #e9ecef;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* === Header === */
.main-header {
    background-color: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 15px;
    transition: color 0.3s;
}

.main-nav ul li {
    align-items: center;
    align-content: center;
}

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

/* === Main Content Sections === */
main {
    padding-top: 0;
    padding-bottom: 2rem;
}

section {
    margin-bottom: 4rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

section p {
    text-align: center;
    color: var(--light-text-color);
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
    border: 1px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #c97100;
}

/* === Home Section (Plans) === */
.plans-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: var(--background-color);
}

.plan-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.plan-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    text-align: center;
    width: 300px;
    border: 2px solid transparent;
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
}

.plan-card.highlighted-plan {
    /* border-color: var(--primary-color); */
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    text-align: center;
    width: 300px;
}

.plan-card.highlighted-plan:hover {
    transform: translateY(-15px);
}

.plan-card:hover {
    transform: translateY(-10px);
}

.plan-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.plan-card .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
}

.plan-card .price .small {
    font-size: 1rem;
    font-weight: 400;
}

.plan-card ul {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
}

plan-card ul li {
    margin-bottom: 10px;
}

.plan-card ul li i {
    color: green;
    margin-right: 10px;
}

.plan-card.special-plan {
    border: 2px solid var(--secondary-color);
    box-shadow: 0 6px 12px rgba(255, 145, 0, 0.2);
    transition: transform 0.4s, box-shadow 0.4s;
}

.plan-card.special-plan:hover {
    transform: translateY(-15px);
    box-shadow: 0 12px 24px rgba(255, 145, 0, 0.3);
}

.plan-card.special-plan::before {
    content: "Ideal Para Empresas";
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 5px;
    animation: pulse-badge 1.5s infinite ease-in-out;
}

.plan-card.special-plan1 {
    border: 2px solid var(--primary-color);
    box-shadow: 0 6px 12px rgba(255, 145, 0, 0.2);
    transition: transform 0.4s, box-shadow 0.4s;
}

.plan-card.special-plan1:hover {
    transform: translateY(-15px);
    box-shadow: 0 12px 24px rgba(255, 145, 0, 0.3);
}

.plan-card.special-plan1::before {
    content: "Mais Contratado";
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 5px;
    animation: pulse-badge 1.5s infinite ease-in-out;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* === FAQ Section === */
.faq-section {
    padding: 4rem 0;
    background-color: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--background-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(10, 59, 112, 0.05);
    border-radius: 8px;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    text-align: left;
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: var(--light-text-color);
    line-height: 1.6;
    text-align: left;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question {
    background-color: rgba(10, 59, 112, 0.05);
    border-radius: 8px 8px 0 0;
}

/* === About Section === */
.about-section {
    padding-top: 0rem;
    max-width: 100%;
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
    background-color: var(--text-color);
    padding: 3rem 0;
}

.about-header h2 {
  color: var(--secondary-color);
}

.about-header p {
  color: var(--background-color);
}

.history-content {
    display: flex;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 0 10rem;
}

.history-content .text-content {
    flex: 1;
}

.history-content .text-content h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: left;
}

.history-content .text-content p {
    text-align: left;
    color: var(--light-text-color);
    margin-bottom: 1rem;
}

.history-content .image-content {
    flex: 1;
    text-align: center;
}

.history-content .image-content img {
    max-width: 100%;
    height: auto;
}

.our-area {
    text-align: center;
    margin-bottom: 4rem;
}

.our-area h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.area-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.area-item {
    display: flex;
    align-items: center;
    background-color: var(--background-color);
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.area-item i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* === Services Section === */
.services-section h2, .services-section p {
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 2rem;
    padding: 0 10rem;
}

.service-item {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.service-item h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-item p {
    text-align: left;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.service-item ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-item ul li {
    margin-bottom: 10px;
}

.service-item ul li i {
    color: green;
    margin-right: 10px;
}

.service-item .btn {
    align-self: flex-start;
}

/* === Coverage Section === */
.coverage-map {
    text-align: center;
    margin-bottom: 4rem;
}

.coverage-map img {
    max-width: 100%;
    height: auto;
    margin-top: 2rem;
}

.covered-cities {
    text-align: center;
    padding: 0 10rem;
}

.covered-cities h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.city-card {
    background-color: var(--background-color);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.city-card h4 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.city-card p {
    text-align: left;
    color: var(--light-text-color);
    margin-bottom: 1rem;
}

/* === Contact Section === */
.contact-section {
    padding-top: 0rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    padding: 0 2rem;
}

.contact-form {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-form p {
    text-align: left;
    margin-bottom: 2rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 5px;
}

.info-item span {
    font-weight: 600;
    color: var(--primary-color);
}

.info-item p {
    margin: 0;
    text-align: left;
    color: var(--light-text-color);
}

.social-media {
    margin-top: 2rem;
}

.social-media .social-icons {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
}

.social-media .social-icons a {
    color: var(--primary-color);
}


/* === Footer === */
.main-footer {
    background-color: #333;
    color: #fff;
    padding: 4rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-column {
    flex-basis: 250px;
}

.footer-column.brand-info {
    background-color: #fff; /* Fundo branco */
    color: var(--text-color); /* Cor do texto padrão */
    border-radius: 10px; /* Cantos arredondados */
    padding: 20px; /* Espaçamento interno */
    display: flex; /* Usar flexbox para centralizar */
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-column.brand-info .logo {
    color: var(--text-color); /* Cor do texto do logo */
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-column.brand-info p {
    font-size: 0.9rem;
    color: var(--light-text-color); /* Cor do texto do parágrafo */
    margin-bottom: 0; /* Remover a margem inferior do parágrafo */
    text-align: center; /* Centralizar o texto do parágrafo */
}

.footer-column.brand-info .social-icons {
    margin-top: 1rem; /* Adicionar margem superior aos ícones para separá-los do texto */
}

.footer-column.brand-info .social-icons a {
    color: var(--light-text-color); /* Cor dos ícones sociais */
    margin-right: 15px;
    font-size: 1.2rem;
}
/* ------------------------------------------------ */

.footer-column h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-column p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 10px;
}

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

.footer-column ul li a {
    text-decoration: none;
    color: #ccc;
    display: block;
    margin-bottom: 10px;
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    margin-top: 2rem;
    color: #ccc;
}

/* === Responsiveness === */
@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
    }
    .main-nav {
        margin-top: 1rem;
    }
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .history-content {
        flex-direction: column;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        margin-bottom: 0rem;
    }
    h2 {
        font-size: 2rem;
    }
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-column {
        flex-basis: 100%;
        margin-bottom: 2rem;
    }
    .footer-column ul, .footer-column .social-icons {
        justify-content: center;
    }
    .plan-card {
        width: 100%;
        padding: 1rem;
    }
    .plan-card.highlighted-plan {
        width: 100%;
        padding: 1rem;
    }
    .faq-container {
        padding: 0 1rem;
    }
    .faq-question h3 {
        font-size: 1rem;
    }
    .faq-answer p {
        font-size: 0.9rem;
    }
}

/* === Responsiveness === */
@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
    }
    .main-nav {
        margin-top: 1rem;
    }
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .history-content {
        flex-direction: column;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-column {
        flex-basis: 100%;
        margin-bottom: 2rem;
    }
    .footer-column ul, .footer-column .social-icons {
        justify-content: center;
    }
    .plan-card {
        width: 100%;
    }
    .about-header {
        padding: 3rem 2rem;
    }
    .history-content {
        padding: 0 2rem;
        flex-direction: column-reverse;
        gap: 2rem;
    }
    .service-grid {
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        align-content: center;
    }
    .service-item {
        max-width: 400px;
        padding: 1.5rem;
    }
    .covered-cities {
        padding: 0 3rem;
    }
}


.hero-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../assets/hero-bg.jpg') center/cover no-repeat;
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

/* Estilos para o menu hamburguer */
.hamburger-menu {
    display: none; /* Oculta o menu hamburguer por padrão em telas maiores */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1000;
}

.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
}

/* Estilos para o menu responsivo */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

/* Oculta o menu por padrão em telas menores */
@media (max-width: 768px) {

    .header-content {
        flex-direction: row;
        padding: 0 1.5rem;
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        width: 70%;
        background-color: #fff;
        padding-top: 5rem;
        transition: left 0.3s ease-in-out;
        z-index: 999;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        left: 30% !important;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .main-nav ul li {
        margin: 15px 0;
    }

    .hamburger-menu {
        display: block;
    }

    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}