:root {
    --primary-color: #0088ff;
    --secondary-color: #004e92;
    --accent-color: #00ffbb;
    --text-color: #333333;
    --light-bg: #e8f4ff;
}

/* Resetando margens, preenchimentos e o box model */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Suaviza o comportamento de rolagem nas páginas */
html {
    scroll-behavior: smooth;
}

/* Corpo da página */
body {
    font-family: 'Arial', sans-serif;  /* Fonte padrão */
    line-height: 1.6;  /* Altura da linha para melhor legibilidade */
    color: var(--text-color);  /* Cor do texto definida em variáveis */
    background-color: var(--light-bg);  /* Cor de fundo clara */
}

/* Definindo uma paleta de cores consistente */
:root {
    --primary-color: #4CAF50; /* Verde */
    --secondary-color: #FF5722; /* Laranja */
    --background-color: #F4F4F4; /* Fundo claro */
    --text-color: #333; /* Texto escuro */
    --light-bg: #FFFFFF; /* Cor de fundo clara para o corpo */
}

/* Cabeçalho e Navegação */
header {
    background-color: var(--primary-color);
    padding: 10px 0;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Estilos para as seções */
h1, h2 {
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

p {
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Formulário de Contato */
form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
}

form label {
    margin-bottom: 5px;
}

form input {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background-color: var(--secondary-color);
}

/* Mensagens de erro */
.error-message {
    background-color: #FFEBEE;
    color: #D32F2F;
    padding: 20px;
    border: 1px solid #D32F2F;
    border-radius: 5px;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Rodapé */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
}

footer p {
    font-size: 1rem;
}

/* Navbar */
.navbar {
    background: linear-gradient(45deg, #0066ff, #00ccff);
    padding: 1.2rem 5%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease, backdrop-filter 0.3s ease; /* Transição suave adicionada */
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-img {
    height: 50px;
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.logo h1 {
    color: white;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Navbar Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent
    );
    transition: 0.5s;
}

.nav-links a:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.nav-links a:hover::before {
    left: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(
            45deg,
            #0033ff,
            #00ccff,
            #00ff88,
            #0099ff
    );
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    position: relative;
    overflow: hidden;
    height: 100vh;
    padding: 0 5%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    animation: shine 8s linear infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 150%; }
    100% { background-position: 0% 50%; }
}

@keyframes shine {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 0.8; }
    100% { opacity: 0.5; }
}

.hero-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center; /* Garante o alinhamento horizontal */
    color: white;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column; /* Alinha os elementos do Hero (título, parágrafo, botão) em coluna */
    align-items: center; /* Centraliza tudo horizontalmente */
    justify-content: center; /* Centraliza verticalmente */
    height: 100%; /* Garante que ocupe toda a altura do Hero */
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.3s backwards;
}

.cta-button {
    background: linear-gradient(45deg, #00ff88, #0066ff);
    padding: 1.2rem 3rem;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Serviços, Planos e outras seções */
.services, .plans {
    padding: 5% 10%;
}

.service-card, .plan-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover, .plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Planos Section */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.plan-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.plan-card .price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.plan-card .promo-price {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.plan-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.plan-card ul li {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.plan-card button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.plan-card button:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 2rem 5%;
    text-align: center;
}

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

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }
}