/* ============== CONFIGURAÇÕES GLOBAIS E VARIÁVEIS ============== */
:root {
    --primary-color: #6a0dad; /* Roxo principal */
    --primary-hover: #550a8a;
    --dark-gray: #2c2c2c;
    --medium-gray: #666;
    --light-gray-bg: #f5f5f7;
    --white: #ffffff;
    --text-color: #333;

    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-gray {
    background-color: var(--light-gray-bg);
}
.section-dark {
    background-color: var(--dark-gray);
    color: var(--white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark-gray);
}
.section-dark .section-title, .section-dark p {
    color: var(--white);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto 50px auto;
}

/* ============== CABEÇALHO E NAVEGAÇÃO ============== */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    z-index: 1000;
}
.header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}
.logo span {
    font-weight: 300;
    font-size: 0.8rem;
    color: var(--medium-gray);
    opacity: 0.7;
}
.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
}
.nav-menu a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 400;
    position: relative;
    padding-bottom: 5px;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.nav-menu a:hover::after {
    width: 100%;
}
.nav-contact-button {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 50px;
    transition: background-color 0.3s ease;
}
.nav-contact-button:hover {
    background: var(--primary-hover);
}
.nav-contact-button::after { display: none; }

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark-gray);
}

/* ============== SEÇÃO HERO ============== */
#hero {
    min-height: 100vh;
    background: linear-gradient(rgba(44, 44, 44, 0.7), rgba(44, 44, 44, 0.7)), url('https://images.unsplash.com/photo-1557804506-669a67965ba0?q=80&w=2670&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}
.hero-content {
    max-width: 800px;
}
#hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
}
#hero p {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 40px;
}
.cta-button {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
}
.cta-button:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ============== SERVIÇOS ============== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    background: var(--white);
    padding: 40px;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.service-card i {
    color: var(--primary-color);
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}
.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

/* ============== PORTFÓLIO ============== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: center;
}
.portfolio-item {
    display: flex;
    justify-content: center;
    align-items: center;
}
.portfolio-item img {
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}
.portfolio-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* ============== PLANOS ============== */
.plan-highlight {
    background: var(--light-gray-bg);
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    max-width: 700px;
}
.plan-highlight .section-title { margin-bottom: 10px; }
.plan-highlight p { margin-bottom: 20px; color: var(--medium-gray); }
.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.price strong {
    font-size: 4rem;
}
.plan-note {
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 30px !important;
}

/* ============== CONTATO ============== */
.contact-content {
    text-align: center;
    padding: 60px 0;
}
.contact-content h2 { font-size: 2.2rem; }
.cta-button-whatsapp {
    background-color: #25D366;
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}
.cta-button-whatsapp:hover {
    background-color: #1EBE57;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ============== RODAPÉ ============== */
.footer {
    background: var(--dark-gray);
    color: var(--light-gray-bg);
    padding: 30px 0;
}
.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.social-links a {
    color: var(--light-gray-bg);
    margin-left: 15px;
    transition: color 0.3s ease;
}
.social-links a:hover {
    color: var(--primary-color);
}

/* ============== EFEITOS DE ANIMAÇÃO ============== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============== RESPONSIVIDADE ============== */
@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .section-title { font-size: 2rem; }
    #hero h1 { font-size: 2.8rem; }
    #hero p { font-size: 1.1rem; }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transform: translateY(-110%);
        transition: transform 0.4s ease-in-out;
    }
    .nav-menu.active {
        transform: translateY(0);
    }
    .hamburger { display: block; }

    .footer .container {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    #hero h1 { font-size: 2.2rem; }
    .portfolio-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
    .price { font-size: 2.5rem; }
    .price strong { font-size: 3rem; }
}