/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables */
:root {
    --primary-color: #2a9d8f;
    --secondary-color: #264653;
    --accent-color: #e9c46a;
    --background-color: #f4f4f9;
    --text-color: #333;
    --light-text: #fff;
    --gradient: linear-gradient(45deg, #2a9d8f, #e76f51);
    --border-radius: 12px;
    --transition: 0.3s ease-in-out;
}

/* Body */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background: var(--background-color);
    color: var(--text-color);
    padding-top: 0;
}

/* Header */
#header {
    position: relative;
    background: url('../images/background.jpg') center center / cover no-repeat;
    color: var(--light-text);
    padding: 0rem 1rem;
}

#subheader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    padding: 1rem 2rem;
}

#subheader--right a{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--light-text);
    text-decoration: none;
    font-weight: bold;
    position: relative;
}

#subheader--right a:hover{
    color: var(--accent-color);
}

#subheader--right svg{
    max-width: 35px;
}

#subheader--right h3{
    margin-left: 5px;
}

#nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#nav ul {
    display: flex;
    list-style: none;
}

#nav ul li {
    margin: 0 1rem;
}

#nav ul li a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: bold;
    position: relative;
    transition: var(--transition);
}

#nav div#logo img{
    max-width: 130px;
    margin: 0;
}

#nav ul li a:hover {
    color: var(--accent-color);
}

#hamburger {
    display: none;
    font-size: 2rem;
    color: var(--light-text);
    position: absolute;
    top: 100px;
    right: 20px;
    cursor: pointer;
}

/* Hero Section */
#hero {
    display: grid;
    grid-template-columns: 60% 40%;
    min-height: 70vh;
    position: relative;
}

#hero .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem;
}

#hero .image img{
    padding: 5rem;
}

#hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

#hero button {
    padding: 0.8rem 2rem;
    background: var(--accent-color);
    color: var(--light-text);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

#hero button:hover {
    background: #d4a649;
}

/* Sections */
section {
    padding: 4rem 1rem;
    text-align: center;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

section#section2{
    background: url('../images/background.jpg') center center / cover no-repeat;
    background-attachment: fixed;
}

section#section2 h2{
    color: white;
}

section#section5{
    background: url('../images/background.jpg') center center / cover no-repeat;
    background-attachment: fixed;
}

section#section5 h2{
    color: white;
}

section#section3{
    background: url('../images/background.jpg') center center / cover no-repeat;
    background-attachment: fixed;
}

section#section3 h2{
    color: white;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

section span {
    color: var(--primary-color);
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits,
.steps,
.promo,
.faq {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.benefit,
.step,
.faq-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    flex: 1 1 calc(25% - 2rem);
    max-width: calc(25% - 2rem);
    text-align: left;
}

.benefit:hover,
.step:hover,
.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

img {
    max-width: 100%;
    margin-bottom: 1rem;
}

.promo {
    background: var(--gradient);
    color: var(--light-text);
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: var(--border-radius);
    padding: 2rem;
}

.promo .promo-text h1{
    font-size: 2.5rem;
}

.promo-extra {
    max-width: 120px;
    color: white;
}

/* Promo Action Section */
.promo-action {
    text-align: center; /* Center the content */
}

.promo-action button {
    padding: 0.8rem 2rem; /* Adjust button padding */
    background-color: var(--primary-color); /* Button color */
    color: var(--light-text); /* Button text color */
    border: none; /* Remove default border */
    border-radius: var(--border-radius); /* Smooth corners */
    font-size: 1.1rem; /* Font size */
    font-weight: bold; /* Bold text */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color var(--transition), transform var(--transition); /* Smooth transition */
}

.promo-action button:hover {
    background-color: var(--accent-color); /* Change button color on hover */
    transform: scale(1.05); /* Slight scale-up effect on hover */
}

/* Footer */
#footer {
    background: var(--secondary-color);
    color: var(--light-text);
    text-align: center;
    padding: 2rem 1rem;
}

#footer nav a {
    color: var(--accent-color);
    text-decoration: none;
    margin: 0 1rem;
}

#footer nav a:hover {
    text-decoration: underline;
}
/* Section Container */
#plans {
    padding: 4rem 1rem;
    background: var(--background-color);
    text-align: center;
}

/* Content Wrapper */
#plans .content-wrapper {
    max-width: 1500px;
    margin: 0 auto;
}

/* Section Title */
#plans h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

#plans p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

/* Plans Grid */
/* Plans Grid */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    justify-items: stretch;
    align-items: stretch;
}

  /* Plan Card */

.plan-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Align content within the card */
    text-align: center;
}

/* Cartão Destaque */
.plan-card.highlight {
    background: var(--gradient);
    color: var(--light-text);
    transform: scale(1.05);
}

/* Plan Title */
.plan-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    }

.plan-card.highlight h3 {
    color: var(--light-text);
}

/* Plan Description */
.plan-card p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Price Styling */
.plan-card .price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

/* Button */
.plan-card button a{
    color: var(--light-text);
    text-decoration: none;
}

.plan-card button {
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.plan-card button:hover {
    background: var(--accent-color);
}

#Politicas{
    display: flex;
    flex-direction: column;
    text-align: start;
}


#Politicas h2 {
    font-size: 2rem;
    color: #264653;
    text-align: center;
    margin-bottom: 1rem;
    border-bottom: 2px solid #2a9d8f;
    padding-bottom: 0.5rem;
}

#Politicas h3 {
    font-size: 1.5rem;
    color: #2a9d8f;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

#Politicas p {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

#Politicas ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

#Politicas ul li {
    margin-bottom: 0.5rem;
}

#Politicas a {
    color: #e76f51;
    text-decoration: none;
    font-weight: bold;
}

#Politicas a:hover {
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 1200px) {
    .plans-grid {
        grid-template-columns: repeat(3, 1fr); /* Ajusta para 3 colunas em telas médias */
    }
}

@media (max-width: 768px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr); /* Ajusta para 2 colunas em telas pequenas */
    }
}

@media (max-width: 480px) {
    .plans-grid {
        grid-template-columns: 1fr; /* 1 coluna em telas muito pequenas */
    }
}
/* Responsiveness */
@media (max-width: 768px) {

    #mainBody {
        padding: 1rem;
    }

    #Politicas h2 {
        font-size: 1.8rem;
    }

    #Politicas h3 {
        font-size: 1.3rem;
    }

    #Politicas p, #Politicas ul {
        font-size: 0.95rem;
    }

    #plans h2 {
        font-size: 2rem;
    }

    #plans p {
        font-size: 1rem;
    }

    .plan-card .price {
        font-size: 1.8rem;
    }

    .promo-action button {
        font-size: 1rem; /* Smaller font size on smaller screens */
        padding: 0.6rem 1.5rem; /* Adjust padding for smaller devices */
    }

    .benefit,
    .step,
    .promo,
    .faq-item {
        flex: 1 1 100%;
        max-width: 100%;
    }

    #hero {
        grid-template-columns: 1fr; /* Stack text and image vertically on small screens */
    }

    #hamburger {
        display: block;
        z-index: 21;
    }

    #nav ul {
        display: none;
        flex-direction: column;
        background: var(--secondary-color);
        position: absolute;
        top: 140px;
        right: 0;
        width: 200px;
        padding: 1rem;
        border-radius: var(--border-radius);
        flex-direction: column;
        align-items: center;
        z-index: 20;
    }

    #nav ul.show {
        display: flex;
    }

    #nav ul li {
        margin: 0.5rem 0;
    }

    #hero .text {
        padding: 1.5rem;
    }

    #hero h1 {
        font-size: 1.8rem;
    }

    #hero p {
        font-size: 1rem;
    }

    #hero button {
        font-size: 0.9rem;
        padding: 0.6rem 1.5rem;
    }
}


#progressBar {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    background: var(--accent-color);
    width: 0;
    z-index: 1000;
}

/* Loader Container */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* Fundo levemente opaco */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* Certifique-se de que o loader fique acima de outros elementos */
    visibility: visible; /* Inicialmente visível */
    opacity: 1;
    transition: opacity 0.9s ease, visibility 0.9s ease;
}

/* Spinner Animation */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid transparent;
    border-top: 5px solid #3498db; /* Cor principal */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Keyframes para rotação */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
