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

/* BODY */
body {
    font-family: 'Poppins', sans-serif;
    background: #0b0f19;
    color: #ffffff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* MAIN */
main {
    flex: 1;
    overflow-y: auto;
    margin-top: 64px;
    padding-bottom: 100px;
    scroll-behavior: smooth;
}


/* ========================= */
/* HEADER APPLE MINIMAL      */
/* ========================= */

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px; /* ↓ menor que 80px */
    z-index: 999;

    background: rgba(7, 10, 18, 0.55);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-container {
    min-height: 64px;
}

.nav-logo {
    font-size: 1rem; /* ↓ menor e mais elegante */
    font-weight: 600;
    letter-spacing: -0.01em;
    color: rgba(255,255,255,0.9);
}

.navbar {
    display: flex;
    gap: 22px; /* ↓ mais compacto */
}

.navbar a {
    text-decoration: none;
    color: rgba(255,255,255,0.65);
    font-weight: 400; /* ↓ menos “pesado” */
    font-size: 0.92rem;
    transition: 0.25s ease;
}

.navbar a:hover {
    color: #ffffff;
}

/* HERO */
.hero {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left,
        rgba(0, 191, 255, 0.08),
        transparent 30%),
        radial-gradient(circle at bottom right,
        rgba(138, 43, 255, 0.08),
        transparent 20%),
        #050816;
}

/* OVERLAY */
.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
}

/* CONTAINER */
.container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* LOGO */
.logo-area {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.logo {
    width: 100%;
    max-width: 640px;

    filter:
        drop-shadow(0 20px 40px rgba(0,0,0,0.45))
        drop-shadow(0 0 25px rgba(120,120,120,0.08));

    animation: floatLogo 10s ease-in-out infinite;
}

/* glow premium mais suave */
.logo-area::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle,
        rgba(0, 191, 255, 0.08),
        rgba(123, 44, 255, 0.04));
    filter: blur(50px);
    pointer-events: none;
}

/* TEXTO */
.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cfcfcf;
    margin-bottom: 35px;
}

/* BOTÕES */
.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    text-decoration: none;
    padding: 15px 32px;
    border-radius: 12px;
    font-weight: 600;
    transition: 0.3s ease;
}

/* BOTÕES PREMIUM HOVER MELHORADO */
.btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.05);
}

/* PRIMARY */
.primary {
    background: #25D366;
    color: white;
}

.primary:hover {
    box-shadow: 0 0 25px rgba(37,211,102,0.35);
}

/* INSTAGRAM */
.instagram {
    background: linear-gradient(
        135deg,
        #7638FA,
        #D300C5,
        #FF0069,
        #FF7A00,
        #FFD600
    );
    color: white;
}

.instagram:hover {
    box-shadow: 0 0 25px rgba(255, 0, 105, 0.35);
}

/* SECTION */
.section {
    padding: 120px 20px;
}

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

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.section-text {
    max-width: 800px;
    line-height: 1.8;
    color: #cfcfcf;
}

/* SERVICES */
.services-grid {
    width: 100%;
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    border-radius: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0,191,255,0.3);
    box-shadow: 0 0 25px rgba(0,191,255,0.08);
}

.service-card h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.service-card p {
    line-height: 1.7;
    color: #cfcfcf;
}

/* ========================= */
/* PORTFÓLIO PREMIUM */
/* ========================= */

.portfolio-grid {
    width: 100%;
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.portfolio-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 18px;
    overflow: hidden;
    transition: 0.3s ease;
    backdrop-filter: blur(10px);
}

.portfolio-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0,191,255,0.35);
    box-shadow: 0 0 30px rgba(0,191,255,0.12);
}

/* 🔥 efeito premium de imagem */
.portfolio-image {
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: 0.4s ease;
}

/* zoom leve no hover */
.portfolio-card:hover img {
    transform: scale(1.05);
}

.portfolio-info {
    padding: 20px;
}

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

.portfolio-info p {
    color: #cfcfcf;
    line-height: 1.6;
    font-size: 0.95rem;
}

.portfolio-buttons {
    margin-top: 12px;
}

/* link leve estilo Apple */
.portfolio-link {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.portfolio-link:hover {
    color: #ffffff;
    transform: translateX(3px);
}

/* BOTÃO PEQUENO */
.btn.small {
    padding: 10px 14px;
    font-size: 0.85rem;
    border-radius: 10px;
}

/* ========================= */
/* LIGHTBOX (IMAGEM FULLSCREEN) */
/* ========================= */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 40px rgba(0,0,0,0.6);
}

.lightbox.active {
    display: flex;
}


/* ========================= */
/* FOOTER APPLE MINIMAL      */
/* ========================= */

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 44px; /* ↓ bem mais leve */
    
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(7, 10, 18, 0.5);
    backdrop-filter: blur(18px);
    
    border-top: 1px solid rgba(255,255,255,0.05);

    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);

    z-index: 999;
}

/* CTA FLUTUANTE (VENDA AUTOMÁTICA) */
.floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    padding: 14px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 0 25px rgba(0,0,0,0.3);
    transition: 0.3s;
}

.floating-cta:hover {
    transform: translateY(-3px);
}

/* ========================= */
/* RESPONSIVO PREMIUM APPLE  */
/* ========================= */

@media (max-width: 900px) {

    /* base */
    body {
        overflow-y: auto;
    }

    main {
        overflow: visible;
        margin-top: 56px; /* ajustado para header menor */
    }

    /* HEADER (corrige Apple mobile) */
    .topbar {
        height: 56px;
        backdrop-filter: blur(16px);
    }

    .nav-container {
        min-height: 56px;
    }

    .nav-logo {
        font-size: 0.95rem;
    }

    .navbar {
        display: none;
    }

    /* HERO */
    .hero {
        padding: 60px 18px;
        min-height: auto;
        text-align: center;
    }

    .container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 25px;
    }

    .hero-buttons {
        justify-content: center;
        gap: 12px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    /* LOGO */
    .logo {
        max-width: 260px;
    }

    /* SEÇÕES */
    .section {
        padding: 70px 18px;
    }

    .section h2 {
        font-size: 1.7rem;
    }

    .section-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* SERVIÇOS */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 40px;
    }

    .service-card {
        padding: 28px 22px;
    }

    /* PORTFÓLIO */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 40px;
    }

    .portfolio-image img {
        height: 180px;
    }

    .portfolio-info {
        padding: 16px;
    }

    .portfolio-info h3 {
        font-size: 1.1rem;
    }

    .portfolio-info p {
        font-size: 0.9rem;
    }

    /* FOOTER */
    .footer {
        position: relative;
        height: 44px;
        font-size: 0.75rem;
        text-align: center;
        padding: 0 10px;
    }

    /* CTA FLUTUANTE (evita poluir mobile) */
    .floating-cta {
        bottom: 14px;
        right: 14px;
        padding: 12px 14px;
        font-size: 0.85rem;
    }
}

/* ========================= */
/* EXTRA PEQUENO (IPHONE)    */
/* ========================= */

@media (max-width: 480px) {

    .hero-content h1 {
        font-size: 1.7rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .logo {
        max-width: 220px;
    }

    .section h2 {
        font-size: 1.5rem;
    }
}

@keyframes floatLogo {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}
    
/* ========================= */
/* APPLE MINIMAL PREMIUM UX  */
/* ========================= */

body {
    background: #070A12;
    color: #ffffff;
}

/* suaviza contraste geral */
.section-text {
    color: rgba(255,255,255,0.72);
}

/* HERO mais “clean” */
.hero {
    background: radial-gradient(circle at top,
        rgba(120, 120, 255, 0.08),
        transparent 40%),
        #070A12;
}

/* tipografia mais leve e premium */
h1, h2, h3 {
    letter-spacing: -0.02em;
}

/* BOTÕES estilo Apple */
.btn {
    border-radius: 999px;
    font-weight: 500;
    padding: 14px 28px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

/* hover suave, sem “grito” */
.btn:hover {
    transform: translateY(-2px);
}

/* primary mais sofisticado */
.primary {
    background: #1DB954;
    box-shadow: none;
}

.primary:hover {
    box-shadow: 0 10px 30px rgba(29,185,84,0.15);
}

/* instagram menos “neon exagerado” */
.instagram {
    background: linear-gradient(135deg,
        #833AB4,
        #C13584,
        #E1306C);
}

/* CARDS estilo Apple */
.service-card,
.portfolio-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(20px);
}

/* hover quase imperceptível (premium feel) */
.service-card:hover,
.portfolio-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.12);
}

/* imagens mais “soft” */
.portfolio-image img {
    filter: saturate(0.95) contrast(1.05);
    transition: all 0.4s ease;
}

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

/* NAV mais Apple */
.navbar a {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
}

.navbar a:hover {
    color: #ffffff;
}

/* footer ultra discreto */
.footer {
    background: rgba(10,10,15,0.7);
    border-top: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.5);
}
