/* --- RESET BÁSICO E VARIÁVEIS --- */
:root {
    --primary-color: #00C48C;
    --dark-color: #1A1A1A;
    --dark-grey-color: #121212;
    --light-grey-color: #F3F4F6;
    --text-color: #111827;
    --text-light-color: #6B7280;
    --white-color: #FFFFFF;
    
    --font-family: 'Poppins', sans-serif;
    --container-width: 1120px;
    --container-padding: 1.5rem;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--white-color);
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- COMPONENTES GLOBAIS --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

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

.btn-dark {
    background-color: var(--dark-color);
    color: var(--white-color);
}

section {
    padding: 60px 0;
}

h1, h2, h3 {
    font-weight: 700;
}

h1 {
    font-size: 2.5rem; /* 40px */
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem; /* 32px */
    text-align: center;
    margin-bottom: 1rem;
}

/* --- HEADER E NAVEGAÇÃO --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #E5E7EB;
}

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

.logo {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-list a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light-color);
    transition: color 0.2s;
}

.nav-list a:hover {
    color: var(--text-color);
}

.hamburger {
    display: none;
    border: none;
    background: none;
    cursor: pointer;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='3' y1='12' x2='21' y2='12'%3E%3C/line%3E%3Cline x1='3' y1='6' x2='21' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='18' x2='21' y2='18'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* --- HERO --- */
.hero {
    padding-top: 140px;
    background-color: var(--light-grey-color);
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-text {
    text-align: center;
}

.hero-text p {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--text-light-color);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: var(--text-light-color);
    font-size: 0.9rem;
}

.features {
    background-color: #fff;
    padding: 3px 5px;
    border-radius: 20px;
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


/* --- SOBRE (ABOUT / PRESETS) --- */
.about .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.about-image {
    flex: 1;
    max-width: 500px;
}
.about-image img {
    border-radius: 16px;
}
.about-text {
    flex: 1;
    max-width: 500px;
    text-align: center;
}
.about-text h2 {
    text-align: center;
}

.stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
    background-color: var(--light-grey-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.stat {
    border-right: 1px solid #D1D5DB;
    padding: 0 1rem;
    flex: 1;
}
.stat:last-child {
    border-right: none;
}
.stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}
.stat span {
    font-size: 0.9rem;
    color: var(--text-light-color);
}

.presets .btn {
    margin-top: 1rem;
}

/* --- SERVIÇOS --- */
.services {
    background-color: var(--light-grey-color);
}
.services .section-subtitle {
    text-align: center;
    color: var(--text-light-color);
    margin-bottom: 3rem;
}
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.service-card {
    background-color: var(--white-color);
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
}
.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.service-card > p {
    color: var(--text-light-color);
    margin-bottom: 1.5rem;
}
.service-card .btn {
    width: 100%;
    margin-bottom: 1.5rem;
}
.service-card ul {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.service-card ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-light-color);
}
.service-card ul li::before {
    content: '✔';
    color: var(--primary-color);
    font-size: 1rem;
}
.service-card.recommended {
    border-color: var(--primary-color);
    border-width: 2px;
}
.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--dark-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* --- PORTFÓLIO --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}
.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.portfolio-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.7);
    color: var(--white-color);
    padding: 1rem;
    text-align: center;
    font-weight: 600;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--dark-grey-color);
    color: var(--light-grey-color);
    padding: 20px 0;
}
.footer .container {
    text-align: center;
    font-size: 0.9rem;
}

/* --- MEDIA QUERIES PARA RESPONSIVIDADE --- */

/* TABLET */
@media (min-width: 768px) {
    h1 {
        font-size: 3rem; /* 48px */
    }
    .hamburger {
        display: none;
    }
    .nav-list {
        display: flex;
    }
    .hero-text {
        text-align: left;
    }
    .hero-text p {
        margin: 0 0 2rem;
    }
    .hero .container {
        flex-direction: row;
        gap: 3rem;
        text-align: left;
    }
    .hero-buttons, .hero-features {
        justify-content: flex-start;
    }
    .hero-text {
        flex: 1;
    }
    .hero-image {
        flex: 1;
    }
    .about .container {
        flex-direction: row;
        text-align: left;
    }
    .about-text h2 {
        text-align: left;
    }
    .stats {
        justify-content: space-between;
    }
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* DESKTOP */
@media (min-width: 1024px) {
    section {
        padding: 80px 0;
    }
    h1 {
        font-size: 3.5rem; /* 56px */
    }
    .about-text {
        padding-left: 2rem;
    }
    .presets.about .container {
      flex-direction: row-reverse;
    }
    .presets .about-text {
      padding-left: 0;
      padding-right: 2rem;
    }
    .portfolio-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- ESTILOS DO MENU HAMBÚRGUER (MOBILE) --- */
@media (max-width: 767px) {
    .nav {
        position: static;
    }
    .nav-list {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }
    .nav-list.active {
        transform: translateX(0);
    }
    .nav-list a {
        font-size: 1.2rem;
        color: var(--text-color);
    }
    .hamburger {
        display: block;
    }
    .hamburger.active {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
    }

    .about-text {
    flex: 1;
    max-width: 400px;
    text-align: center;
    }
    .stat strong {
    display: block;
    font-size: 1.0rem;
    font-weight: 700;
}
}
