/* ================================
   ROOT & GLOBAL
================================ */
:root {
    --bg: #080808;
    --bg2: #111111;
    --bg3: #161616;
    --red: #E63946;
    --red-dark: #c0303b;
    --white: #ffffff;
    --gray: #888888;
    --gray-light: #aaaaaa;
    --border: rgba(255, 255, 255, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
    --container: 1140px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Syne', sans-serif;
    line-height: 1.15;
}

img {
    width: 100%;
    display: block;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section-dark {
    background-color: var(--bg2);
}

section {
    padding: 100px 0;
}

.section-tag {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 48px;
}

.section-title em {
    font-style: italic;
    color: var(--gray-light);
}

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

/* ================================
   BUTTONS
================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-red:hover {
    background-color: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 17px;
}

/* ================================
   ANIMATIONS
================================ */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   NAVBAR
================================ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(8, 8, 8, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
}

.logo span {
    color: var(--red);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-light);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--red);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 22px;
    font-size: 14px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 22px;
    cursor: pointer;
}

/* ================================
   HERO
================================ */
#hero {
    padding: 160px 0 100px;
    background: var(--bg);
    background-image:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(230, 57, 70, 0.12) 0%, transparent 70%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--red);
    color: var(--red);
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.8);
    }
}

.hero-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 700px;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 560px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 48px;
    text-align: center;
    min-width: 180px;
}

.stat-number {
    display: block;
    font-family: 'Syne', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--red);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: var(--gray);
    font-weight: 500;
}

/* ================================
   SOBRE
================================ */
#sobre .section-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
}

#sobre {
    background: var(--bg);
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.sobre-img-wrap {
    position: relative;
}

.sobre-img {
    border-radius: 18px;
    border: 2px solid var(--red);
    filter: grayscale(20%);
    aspect-ratio: 4/5;
    object-fit: cover;
}

.sobre-content .section-tag {
    text-align: left;
}

.sobre-desc {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 32px;
    line-height: 1.8;
}

.sobre-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.sobre-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--gray-light);
}

.sobre-list li i {
    color: var(--red);
    font-size: 14px;
    flex-shrink: 0;
}

/* ================================
   SERVIÇOS
================================ */
#servicos {
    background: var(--bg2);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--red);
    transform: translateY(-6px);
}

.service-icon {
    width: 52px;
    height: 52px;
    background: rgba(230, 57, 70, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 22px;
    color: var(--red);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--red);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.service-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.75;
}

/* ================================
   PROCESSO
================================ */
#como-trabalho .section-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
}

#como-trabalho {
    background: var(--bg);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.process-step {
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg3);
    color: var(--gray);
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    border: 2px solid var(--border);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.step-number.active {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.step-connector {
    position: absolute;
    top: 30px;
    left: 50%;
    right: -50%;
    height: 2px;
    background: var(--border);
    z-index: 1;
}

.step-connector.last {
    display: none;
}

.process-step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.process-step p {
    color: var(--gray);
    font-size: 0.875rem;
    line-height: 1.75;
}

/* ================================
   PORTFÓLIO
================================ */
#portfolio {
    background: var(--bg2);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.portfolio-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-card:hover {
    border-color: var(--red);
    transform: translateY(-4px);
}

.portfolio-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.portfolio-img-wrap img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-img-wrap img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
}

.tag {
    background: var(--red);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.portfolio-info {
    padding: 24px;
}

.portfolio-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.portfolio-info p {
    color: var(--gray);
    font-size: 0.875rem;
    line-height: 1.7;
}

/* ================================
   DEPOIMENTOS
================================ */
#depoimentos {
    background: var(--bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(230, 57, 70, 0.4);
}

.stars {
    color: var(--red);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.testimonial-text {
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 28px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: var(--white);
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--gray);
}

/* ================================
   CTA
================================ */
#cta {
    background: var(--bg2);
    padding: 80px 0;
}

.cta-box {
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 80px 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.05) 0%, transparent 60%);
    position: relative;
}

.cta-divider {
    width: 48px;
    height: 4px;
    background: var(--red);
    border-radius: 2px;
    margin: 0 auto 32px;
}

.cta-title {
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    font-weight: 800;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-desc {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 40px;
}

/* ================================
   FOOTER
================================ */
#footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 40px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-nav {
    display: flex;
    gap: 28px;
}

.footer-nav a {
    font-size: 14px;
    color: var(--gray);
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--red);
}

.footer-copy {
    font-size: 13px;
    color: var(--gray);
}

/* ================================
   FLOATING WHATSAPP
================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .step-connector {
        display: none;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }

    #hero {
        padding: 130px 0 70px;
        min-height: auto;
    }

    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sobre-img {
        max-width: 340px;
        margin: 0 auto;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--bg2);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        transform: translateY(-120%);
        transition: var(--transition);
        z-index: 99;
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .cta-box {
        padding: 48px 28px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-stats {
        flex-direction: column;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}