
:root {
    --primary: #330df2;
    --primary-rgb: 51, 13, 242;
    --accent-cyan: #00f2ff;
    --bg-light: #E8EEF4;
    --bg-dark: #0a0910;
    --text-light: #ffffff;
    --text-dark: #0f172a; /* slate-900 */
    --text-muted: #64748b; /* slate-500 */
    --text-muted-dark: #94a3b8; /* slate-400 */
    --border-light: #e2e8f0;
    --border-dark: rgba(255, 255, 255, 0.1);
}

a { text-decoration: none; color: inherit; transition: color 0.2s; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* Utilities */
.container {
    max-width: 80rem; /* 7xl */
    margin: 0 auto;
    padding: 6rem 1.5rem ;
}

html {
    scroll-behavior: smooth;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    margin: 10px;
    color: white;
    backdrop-filter: blur(12px);
    background-color: rgba(10, 9, 16, 50%);
    border-radius: 10px;
    position: fixed;
    top: 0px;
    width: 100%;
    max-width: 1232px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    height: 5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.nav-links li a.active,
.sidenav a.active {
    color: var(--accent-cyan);
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* Side Navigation (Mobile) */
.sidenav {
    height: 100%;
    width: 0; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

/* Responsive Media Query */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: block;
    }
}

/* Back to Top Button */
#back-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--primary);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.3s;
}

#back-to-top:hover {
    background-color: var(--accent-cyan);
    transform: translateY(-3px);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding-bottom: 4rem;
    align-items: center;
}

.pricing-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-light);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    z-index: 1;
    box-shadow: 0 20px 25px -5px rgba(51, 13, 242, 0.15);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-align: center;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: normal;
}

.features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.features li {
    margin-bottom: 1rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.features li i {
    color: var(--primary);
    font-size: 1.1rem;
}

.btn-plan {
    display: block;
    text-align: center;
    width: 100%;
    padding: 1rem;
    border-radius: 0.5rem;
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-size: 1rem;
    cursor: pointer;
}

.btn-plan:hover {
    background: var(--primary);
    color: white;
}

.btn-plan.primary {
    background: var(--primary);
    color: white;
}

.btn-plan.primary:hover {
    background: #250abb;
    box-shadow: 0 4px 12px rgba(51, 13, 242, 0.3);
}

@media (max-width: 900px) {
    .pricing-card.popular {
        transform: none;
    }
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
}

/* Accordion (FAQ) */
.accordion {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 4rem;
}

.accordion-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-light);
    border-radius: 0.5rem;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    background: white;
    border: none;
    outline: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s, color 0.3s;
}

.accordion-header:hover,
.accordion-header.active {
    background-color: #f8fafc;
    color: var(--primary);
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 1.5rem;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    padding-bottom: 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-section h3 {
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-section p {
    color: var(--text-muted-dark);
    line-height: 1.6;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: var(--text-muted-dark);
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--accent-cyan);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--border-dark);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted-dark);
    font-size: 0.9rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 110vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Background image of a happy person using internet */
    background-image: url('/img/banner-hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    margin-top: -5rem; /* Pull up behind navbar */
    padding-top: 5rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 9, 16, 0.7), rgba(51, 13, 242, 0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #f1f5f9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.btn-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(51, 13, 242, 0.4);
    border: 2px solid rgba(255,255,255, 50%);
}

.btn-cta:hover {
    background-color: transparent;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(51, 13, 242, 0.6);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding-bottom: 4rem;
}

.service-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Contact Section */
#contato {
    background: linear-gradient(rgba(10, 9, 16, 0.85), rgba(51, 13, 242, 0.2)), url('../img/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-image: url('/img/banner-contato.jpg');
    background-size: cover;
    background-position: center;
}

#contato h2, 
#contato p {
    color: var(--text-light);
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-light);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: bold;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid var(--border-light);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    background-color: #f8fafc;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(51, 13, 242, 0.1);
}

.contact-form button {
    grid-column: 1 / -1;
    justify-self: center;
    margin-top: 1rem;
    cursor: pointer;
    border: none;
    min-width: 200px;
}
.contact-form button:hover{
    background-color: var(--primary);
    color: white;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
@media (max-width: 1261px) {
    .navbar{
        margin: unset;
        border-radius: 0;
    }
}

@media (max-width: 768px) {
    .contact-form {
        grid-template-columns: 1fr;
    }
    .contact-wrapper {
        padding: 1.5rem;
    }

    .whatsapp-btn {
        position: fixed;
        bottom: 20px;
        right: 70px;
        z-index: 999;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        animation: pulse-green 2s infinite;
        padding: 0;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        justify-content: center;
    }

    .whatsapp-btn span {
        display: none;
    }

    .whatsapp-btn i {
        font-size: 24px;
    }

    #back-to-top {
        bottom: 80px;
    }
}