:root {
    --blue: #1f5cff;
    --blue-dark: #153dbf;
    --yellow: #f5c400;
    --bg: #f7f9fc;
    --text: #2c2c2c;
    --text2: #555;
    --whatsapp: #25D366;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: 'Poppins', sans-serif;
}

a {
    text-decoration: none;
}

.logo {
    height: 60px;
}


/* HEADER */

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    margin-left: 25px;
    font-weight: 600;
    color: #333;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--yellow));
    transition: .3s;
}

nav a:hover::after {
    width: 100%;
}


/* HERO */

.hero {
    height: 100vh;
    background: radial-gradient(circle at top right, var(--yellow), var(--blue) 60%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: white;
}

.hero h1 {
    font-size: 56px;
    max-width: 900px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: auto;
}


/* MENU MOBILE */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #0a3cff;
    border-radius: 3px;
    transition: .3s;
}


/* Overlay */

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 998;
    display: none;
}


/* Menu Mobile */

.nav-mobile {
    position: fixed;
    /* top: 0; */
    top: 95px;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 999;
    display: flex;
    flex-direction: column;
    /* padding: 80px 30px; */
    padding: 20px 30px;
    gap: 25px;
    transition: .4s;
    box-shadow: -10px 0 30px rgba(0, 0, 0, .15);
}

.nav-mobile a {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
}

.nav-mobile.active {
    right: 0;
}


/* Mobile breakpoint */

@media (max-width: 900px) {
    nav.nav {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}


/* SECTIONS */

section {
    padding: 120px 20px;
}

.container {
    max-width: 1200px;
    margin: auto;
}

section h2 {
    font-size: 38px;
    margin-bottom: 60px;
    color: var(--blue);
    text-align: center;
}

.text-white {
    color: var(--bg);
}


/* CARDS */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}


/* Serviços – grid 2x2 */

#servicos .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}


/* Mobile continua 1 coluna */

@media (max-width: 768px) {
    #servicos .grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background: white;
    border-radius: 18px;
    padding: 35px;
    border-left: 6px solid transparent;
    border-image: linear-gradient(180deg, var(--blue), var(--yellow)) 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
    transition: all .4s ease;
}

.card:hover {
    transform: translateY(-14px) scale(1.02);
    box-shadow: 0 35px 70px rgba(31, 92, 255, .25);
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    color: #555;
    margin-bottom: 15px;
}

.card a {
    font-weight: 600;
    color: var(--blue);
}


/* FOOTER */

footer {
    background: linear-gradient(135deg, #0b2783, var(--blue));
    color: #e6ebff;
    padding: 70px 20px 40px;
}

.footer-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

footer h4 {
    margin-bottom: 15px;
}

footer a {
    display: block;
    color: #e6ebff;
    margin-bottom: 8px;
}

footer a:hover {
    color: var(--yellow);
}

.copy {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    opacity: .8;
}


/* WHATSAPP BUTTON */

.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--whatsapp);
    color: white;
    padding: 16px 22px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 15px 30px rgba(0, 0, 0, .25);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 999;
    transition: all .3s;
}

.whatsapp-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
}


/* CTA WhatsApp */

.cta-whatsapp {
    background: linear-gradient(135deg, #0f5132, #198754);
    padding: 80px 20px;
    text-align: center;
    color: #fff;
    margin-top: 80px;
    border-radius: 20px;
}

.cta-whatsapp-home,
.cta-whatsapp-home h2,
.cta-whatsapp-home p {
    padding: 20px 20px;
    text-align: center;
}

.cta-whatsapp-home {
    margin-bottom: 2%;
    border-radius: 0;
}

.cta-whatsapp h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-whatsapp p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 35px;
    opacity: 0.95;
}

.btn-whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: #fff;
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.btn-whatsapp-cta i {
    font-size: 1.4rem;
}

.btn-whatsapp-cta:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.cta-micro {
    display: block;
    margin-top: 14px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.social-proof {
    font-size: 1rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

.social-proof span {
    display: block;
    margin-top: 6px;
    font-size: 0.9rem;
}


/* MOBILE */

@media(max-width:768px) {
    .hero h1 {
        font-size: 36px;
    }
    nav {
        display: none;
    }
    section {
        padding: 80px 15px;
    }
}

.portfolio-section {
    padding: 120px 20px;
    /* background: #0b0b0b; */
    /* color: #fff; */
    background: var(--bg);
    color: var(--text);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    /* color: #bbb; */
    color: var(--text2);
    margin-bottom: 50px;
}

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

.portfolio-card {
    background: #121212;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .4);
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, .25);
}

.portfolio-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s ease;
}

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

.portfolio-card h3 {
    padding: 18px;
    font-size: 18px;
    text-align: center;
    background: linear-gradient(135deg, #d4af37, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}