/*==================== HERO ================= */

#hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #050505;
    color: #ffffff;
}


/* CONTAINER */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}


/* CONTEÚDO */

.hero-content {
    max-width: 750px;
    padding-top: 0px;
}


/* IDENTIDADE */

.hero-badge {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    font-size: 14px;
    letter-spacing: 2px;
    color: #d4af37;
    margin-bottom: 25px;
}

/* TÍTULO */

.hero-content h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 25px;
}


.hero-content h1 span {
    display: block;
    background: linear-gradient(
        90deg,
        #ffffff,
        #d4af37
    );

background-clip:text;
  -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* TEXTO */

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #b8b8b8;
    max-width: 620px;
    margin-bottom: 40px;
}


/* BOTÕES */

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


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


/* =====================================================
BOTÃO PRINCIPAL
===================================================== */

.btn-primary{

    background:var(--color-primary);

    color:#faf9f9;

    border:1px solid var(--color-primary);

    box-shadow:
        0 10px 30px
  rgba(212,175,55,.22);

}

/* =====================================================
BOTÃO PRINCIPAL • HOVER
===================================================== */

.btn-primary:hover{

    background:#f0d46a;

    color:#111111;

    border-color:#f0d46a;

}




.btn-secondary {
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
}


.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}


/* FUNDO */

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}


.gradient {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}


.gradient-1 {
    width: 500px;
    height: 500px;
    background: rgba(212,175,55,0.18);
    top: -150px;
    right: -100px;
}


.gradient-2 {
    width: 400px;
    height: 400px;
    background: rgba(120,80,255,0.15);
    bottom: -100px;
    left: -100px;
}


/* INDICADOR DE SCROLL */

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #aaa;
    font-size: 12px;
    text-align: center;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid #aaa;
    border-radius: 20px;
    margin: 10px auto;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: #d4af37;
    border-radius: 10px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
}
/* ===============================
   ESTILO GERAL
================================ */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:var(--font-text);
    background:var(--color-dark);
    color:var(--color-secondary);
    overflow-x:hidden;
}

.container{
    width:90%;
    max-width:var(--container-width);
    margin:auto;
}

/* ================== HERO=================== */

#hero{
    min-height: 100vh;
    display:flex;
    align-items:center;
    position:relative;
    overflow:hidden;
}

.hero-content{
    max-width:700px;
    z-index:2;
}

.hero-badge{
    display:inline-block;
    padding:10px 18px;
    border:1px solid rgba(255,255,255,.2);
    border-radius:50px;
    color:var(--color-primary);
    margin-bottom:20px;
}

.hero-content h1{
    font-size:4rem;
    line-height:1.1;
    margin-bottom:20px;
}

.hero-content h1 span{
    color:var(--color-primary);
}

.hero-content p{
    font-size:1.2rem;
    color:var(--color-gray);
    margin-bottom:40px;
    line-height:1.7;
}

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

@media (min-width: 769px) {
    #hero .hero-buttons {
        transform: translateY(-20px) !important;
    }
}

.btn{
    text-decoration:none;
    padding:15px 30px;
    border-radius:50px;
    transition:.3s;
    font-weight:600;
}

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

.btn-primary:hover{
    transform:translateY(-5px);
}

.btn-secondary{
    border:1px solid rgba(255,255,255,.2);
    color:white;
}

.btn-secondary:hover{
    background:rgba(255,255,255,.08);
}
/* ===============================
   FUNDO DA HERO
================================ */

.hero-background{
    position:absolute;
    inset:0;
    overflow:hidden;
    z-index:1;
}

.gradient{
    position:absolute;
    border-radius:50%;
    filter:blur(120px);
}

.gradient-1{
    width:500px;
    height:500px;
    background:rgba(212,175,55,.18);
    top:-150px;
    right:-100px;
}

.gradient-2{
    width:450px;
    height:450px;
    background:rgba(94,76,255,.15);
    bottom:-150px;
    left:-100px;
}

.stars{
    position:absolute;
    inset:0;
    opacity:.25;
}
/* ===============================
   BOTÕES PREMIUM
================================ */

.btn{
    position:relative;
    overflow:hidden;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
}

.btn::before{

    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:100%;
    height:100%;

    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.35),
        transparent
    );

    transition:.8s;

}

.btn:hover::before{
    left:120%;
}

.btn-primary{

    box-shadow:
    0 0 25px rgba(212,175,55,.35);

}

.btn-primary:hover{

    box-shadow:
    0 0 45px rgba(212,175,55,.6);

    transform:translateY(-4px);

}

.btn-secondary:hover{

    border-color:var(--color-primary);
    color:var(--color-primary);

}

#portfolio {
    scroll-margin-top: 200px;
}
/* ===============================
   RESPONSIVIDADE
================================ */

@media (max-width: 992px){

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

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

}

@media (max-width:768px){

    #hero{
        padding:60px 45px
    }

    .scroll-indicador {
        bottom: 18px;
    }
    .hero-content{
        text-align:center;
        max-width:100%;
    }

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

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

    .hero-buttons{
        flex-direction:column;
        align-items:center;
        margin-bottom: 70px;
    }

    .btn{
        width:100%;
        max-width:300px;
    }   
.footer a.contact-item {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    width: auto;
    max-width: none;
    padding: 12px 20px;
    min-height: 0;
    align-self: flex-start;
    box-sizing: border-box;
    gap: 3px;
}

.footer .contact-item span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.75;
}

.footer .contact-item strong {
    font-size: 1rem;
    white-space: nowrap;
}
}

@media (max-width:480px){

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

    .hero-badge{
        font-size:.85rem;
        padding:8px 16px;
    }

    .btn{
        padding:14px 24px;
    }

}
/* ===============================
   ANIMAÇÕESxd
================================ */

.hero-content{

    opacity:1;
    transform:translateY(0px);

}
/* ===============================
   ANIMAÇÃO DOS GRADIENTES
================================ */

.gradient-1{
    animation:floatOne 10s ease-in-out infinite;
}

.gradient-2{
    animation:floatTwo 14s ease-in-out infinite;
}

@keyframes floatOne{

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

    50%{
        transform:translate(-40px,30px) scale(1.08);
    }

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

}

@keyframes floatTwo{

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

    50%{
        transform:translate(40px,-30px) scale(1.1);
    }

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

}
/* ===============================
   ESTRELAS
================================ */

.stars{

    background-image:
        radial-gradient(circle, rgba(255,255,255,.8) 1px, transparent 1px),
        radial-gradient(circle, rgba(255,255,255,.5) 1px, transparent 1px),
        radial-gradient(circle, rgba(212,175,55,.6) 1px, transparent 1px);

    background-size:
        180px 180px,
        260px 260px,
        320px 320px;

    background-position:
        0 0,
        50px 80px,
        120px 40px;

    animation:starsMove 90s linear infinite;

}

@keyframes starsMove{

    from{

        transform:translateY(0);

    }

    to{

        transform:translateY(-180px);

    }

}

/* ===============================
   GOLD SHINE
================================ */

.hero-content h1 span{

    position:relative;
    display:inline-block;
    overflow:hidden;

}

.hero-content h1 span::after{

    content:"";
    position:absolute;
    top:0;
    left:-150%;

    width:70%;
    height:100%;

    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.85),
        transparent
    );

    transform:skewX(-25deg);

    animation:goldShine 2.8s ease forwards;
    animation-delay:1s;

}

@keyframes goldShine{

    from{

        left:-150%;

    }

    to{

        left:180%;

    }

}
/* =====================================================
   HEADER
===================================================== */

#header{

    position:fixed;
    top:0;
    left:0;

    width:100%;

    padding:18px 0;

    z-index:1000;

    background:rgba(8,8,12,.18);

    backdrop-filter:blur(14px);

    -webkit-backdrop-filter:blur(14px);

    border-bottom:1px solid rgba(255,255,255,.08);

    transition:all .35s ease;

}

#header .container{

    display:flex;

    align-items:center;

    justify-content:space-between;
}

.logo{

    font-size:1.7rem;

    font-weight:700;

    letter-spacing:.5px;

    color:#fff;

    text-decoration:none;
}

.logo img {
    height: 42px;
    width: auto;
    max-width: 220px;
    display: block;

}
.logo span{

    color:var(--color-primary);

}

.nav{

    display:flex;

    gap:32px;

}

.nav a{

    color:rgba(255,255,255,.88);

    text-decoration:none;

    font-weight:500;

    font-size:.95rem;

    transition:.3s ease;

}

.nav a:hover{

    color:var(--color-primary);

}

.menu-toggle{

    display:none;

    background:none;

    border:none;

    color:#fff;

    font-size:2rem;

    cursor:pointer;

}
/* =====================================================
HEADER RESPONSIVO
===================================================== */

@media (max-width:768px){

    #header .container{

        position:relative;

        min-height:68px;

        padding:0 20px;

        display: flex;
        align-items: center;
        justify-content: space-between;

    }

    .logo{

        display:inline-flex;

        align-items:center;

        color:#fff;

        font-size:1.5rem;

        font-weight:700;

        text-decoration:none;

        z-index:1002;

    }

    .logo img {
        height: 40px;
        width: auto;
        max-width: 205px;
        object-fit: contain;
        display: block;
    }
    .menu-toggle{

        display:block;

        position:relative;

        background:none;

        border:none;

        color:#fff;

        font-size:2rem;

        line-height:1;

        cursor:pointer;

        z-index:1002;

    }

    .nav{

        position:absolute;

        top:calc(100% + 10px);

        left:20px;

        right:20px;

        display:flex;

        flex-direction:column;

        align-items:stretch;

        gap:0;

        padding:15px;

        background:rgba(8,8,12,.96);

        backdrop-filter:blur(20px);

        -webkit-backdrop-filter:blur(20px);

        border:1px solid rgba(255,255,255,.08);

        border-radius:18px;

        box-shadow:0 20px 50px rgba(0,0,0,.35);

        opacity:0;

        visibility:hidden;

        pointer-events:none;

        transform:translateY(-10px);

        transition:
            opacity .35s ease,
            visibility .35s ease,
            transform .35s ease;

        z-index:1001;

    }

    .nav a{

        display:block;

        width:100%;

        padding:14px 10px;

        color:#fff;

        text-decoration:none;

    }

    .nav.active{

        opacity:1;

        visibility:visible;

        pointer-events:auto;

        transform:translateY(0);

    }

}
   
/* =====================================================
HEADER SCROLLED
===================================================== */

#header.scrolled{

    background:rgba(5,5,8,.78);

    backdrop-filter:blur(20px);

    -webkit-backdrop-filter:blur(20px);

    border-bottom:1px solid rgba(200,169,91,.18);

    padding:14px 0;

}
/* =====================================================
HERO RESPONSIVA
===================================================== */

@media (max-width:768px){

    #hero{

        min-height:100svh;

        padding: 145px 0 40px;

        text-align:center;

        align-items: flex-start;

    }

    #hero .container{

        width:100%;

        padding:0 20px;

    }

    .hero-content{

        max-width:100%;

        padding-top:0;

        margin:0 auto;

    }

    .hero-badge{

        padding:9px 16px;

        font-size:.82rem;

        margin-bottom:22px;

    }

    .hero-content h1{

        font-size:clamp(1.8rem, 7vw, 2.5rem);

        line-height:1.08;

        margin-bottom: 16px;

    }

    .hero-content h1 span{

        display:block;

        margin-top:8px;

    }

    .hero-content p{

        max-width:560px;

        margin:0 auto 22px;

        font-size:1rem;

        line-height:1.65;

    }

    .hero-buttons{

        width:100%;

        flex-direction:column;

        align-items:stretch;

        gap:14px;

    }

    .hero-buttons .btn{

        width:220px;
        max-width: 100%;
        margin: auto;
        padding:15px 22px;

        text-align:center;

    }

    .gradient-1{

        width:340px;

        height:340px;

        top:-100px;

        right:-170px;

    }

    .gradient-2{

        width:300px;

        height:300px;

        bottom:-100px;

        left:-160px;

    }

    .scroll-indicator{

        bottom:22px;

    }

    .scroll-indicator span{

        display:none;

    }

    #contact {
        scroll-margin-top: 110px;
    }

/* =========================TABLET • HERO ===================================*/
@media (min-width: 600px) and (max-width: 768px) {

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

    }
#hero .hero-content {
    padding-top: 35px;
}


    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 24px;
    }

.services-grid .service-card:last-child {
    grid-column: 1 / -1 !important;
    width: calc((100% - 24px) / 2) !important;
    max-width: none !important;
    margin: 0 auto !important;
    justify-self: center;

}

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

}
} 
    
/* =====================================================
HERO • REFINAMENTOS FINAIS
===================================================== */

/* Destaque suave no selo */

.hero-badge{

    position:relative;

    overflow:hidden;

    background:rgba(255,255,255,.035);

    backdrop-filter:blur(12px);

    -webkit-backdrop-filter:blur(12px);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 10px 35px rgba(0,0,0,.18);

}

/* Brilho passando pelo selo */

.hero-badge::before{

    content:"";

    position:absolute;

    top:0;

    left:-120%;

    width:70%;

    height:100%;

    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.18),
        transparent
    );

    transform:skewX(-20deg);

    animation:badgeShine 5s ease-in-out infinite;

}

@keyframes badgeShine{

    0%,
    65%{

        left:-120%;

    }

    100%{

        left:160%;

    }

}

/* =====================================================
BOTÕES DA HERO
===================================================== */

.hero-buttons .btn{

    position:relative;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    overflow:hidden;

    isolation:isolate;

    border:1px solid transparent;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background .3s ease,
        border-color .3s ease,
        color .3s ease;

}

.hero-buttons .btn:hover{

    transform:translateY(-4px);

}

.hero-buttons .btn:active{

    transform:translateY(-1px) scale(.98);

}

.hero-buttons .btn-primary:hover{

    box-shadow:
        0 14px 35px rgba(212,175,55,.24),
        0 0 30px rgba(212,175,55,.12);

}

.hero-buttons .btn-secondary{

    color:#ffffff;

    background:rgba(255,255,255,.035);

    border-color:rgba(255,255,255,.16);

    backdrop-filter:blur(12px);

    -webkit-backdrop-filter:blur(12px);

}

.hero-buttons .btn-secondary:hover{

    background:rgba(255,255,255,.08);

    border-color:rgba(212,175,55,.45);

    color:var(--color-primary);

}

/* Foco para navegação pelo teclado */

.hero-buttons .btn:focus-visible{

    outline:2px solid var(--color-primary);

    outline-offset:4px;

}

/* =====================================================
TÍTULO DA HERO
===================================================== */

.hero-content h1{

    text-wrap:balance;

}

.hero-content h1 span{

    text-shadow:
        0 0 30px rgba(212,175,55,.12);

}

/* =====================================================
INDICADOR DE ROLAGEM
===================================================== */

.scroll-indicator{

    animation:scrollFloat 2.6s ease-in-out infinite;

}

@keyframes scrollFloat{

    0%,
    100%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(7px);

    }

}

/* =====================================================
ACESSIBILIDADE • REDUZIR MOVIMENTOS
===================================================== */

@media (prefers-reduced-motion:reduce){

    .hero-badge::before,
    .scroll-indicator{

        animation:none;

    }

    .hero-buttons .btn{

        transition:none;

    }

}

/* =====================================================
CORREÇÃO FINAL • BOTÃO PRINCIPAL DA HERO
===================================================== */

#hero .hero-buttons .btn.btn-primary{

    background:#d4af37 !important;

    color:#050505 !important;

    border:1px solid #d4af37 !important;

    opacity:1 !important;

    visibility:visible !important;

    text-shadow:none !important;

    box-shadow:
        0 12px 35px rgba(212,175,55,.28) !important;

}

#hero .hero-buttons .btn.btn-primary:hover{

    background:#f0d46a !important;

    color:#050505 !important;

    border-color:#f0d46a !important;

}
/* =====================================================
SERVIÇOS
===================================================== */

.services{

    position:relative;

    padding:120px 0;

    overflow:hidden;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(212,175,55,.10),
            transparent 28%
        ),
        radial-gradient(
            circle at 5% 95%,
            rgba(14,35,70,.08),
            transparent 32%
        ),
        #f7f7f4;

    color:#111111;

}

/* =====================================================
CABEÇALHO DOS SERVIÇOS
===================================================== */

.services .section-header{

    max-width:780px;

    margin:0 auto 64px;

    text-align:center;

}

.services .section-tag{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    margin-bottom:20px;

    padding:9px 18px;

    border:1px solid rgba(212,175,55,.40);

    border-radius:50px;

    background:#fffaf0;

    color:#9b7416;

    font-size:.82rem;

    font-weight:700;

    letter-spacing:.12em;

    text-transform:uppercase;

}

.services .section-header h2{

    margin-bottom:22px;

    color:#111111;

    font-size:clamp(2.4rem, 5vw, 4rem);

    line-height:1.08;

    text-wrap:balance;

}

.services .section-header h2 span{

    display:block;

    color:#0e2346;

}

.services .section-header p{

    max-width:670px;

    margin:0 auto;

    color:#555b66;

    font-size:1.05rem;

    line-height:1.75;

}

/* =====================================================
GRADE DOS SERVIÇOS
===================================================== */

.services-grid{

    display:grid;

    grid-template-columns:repeat(3, minmax(0, 1fr));

    gap:24px;

}

/* =====================================================
CARD DE SERVIÇO
===================================================== */

.service-card{

    position:relative;

    min-height:390px;

    padding:34px;

    overflow:hidden;

    border:1px solid rgba(14,35,70,.10);

    border-radius:26px;

    background:#ffffff;

    box-shadow:
        0 20px 55px rgba(14,35,70,.08);

    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;

}

.service-card::before{

    content:"";

    position:absolute;

    width:210px;

    height:210px;

    top:-130px;

    right:-110px;

    border-radius:50%;

    background:rgba(212,175,55,.12);

    filter:blur(42px);

    pointer-events:none;

}

.service-card::after{

    content:"";

    position:absolute;

    left:34px;

    right:34px;

    bottom:0;

    height:3px;

    background:linear-gradient(
        90deg,
        transparent,
        #d4af37,
        #0e2346,
        transparent
    );

    opacity:0;

    transform:scaleX(.4);

    transition:
        opacity .35s ease,
        transform .35s ease;

}

.service-card:hover{

    transform:translateY(-10px);

    border-color:rgba(212,175,55,.46);

    box-shadow:
        0 28px 70px rgba(14,35,70,.14);

}

.service-card:hover::after{

    opacity:1;

    transform:scaleX(1);

}

/* =====================================================
NÚMERO DO SERVIÇO
===================================================== */

.service-number{

    position:absolute;

    top:28px;

    right:30px;

    color:rgba(14,35,70,.28);

    font-size:.9rem;

    font-weight:800;

    letter-spacing:.1em;

}

/* =====================================================
ÍCONE DO SERVIÇO
===================================================== */

.service-icon{

    display:flex;

    align-items:center;

    justify-content:center;

    width:58px;

    height:58px;

    margin-bottom:32px;

    border:1px solid rgba(212,175,55,.28);

    border-radius:18px;

    background:#fffaf0;

    color:#a67c18;

    font-size:1.6rem;

    transition:
        transform .35s ease,
        background .35s ease,
        color .35s ease;

}

.service-card:hover .service-icon{

    transform:rotate(6deg) scale(1.06);

    background:#0e2346;

    color:#f4d76b;

}

/* =====================================================
CONTEÚDO DOS CARDS
===================================================== */

.service-card h3{

    margin-bottom:18px;

    color:#111111;

    font-size:1.55rem;

    line-height:1.25;
}

.service-card p{

    margin-bottom:32px;

    color:#5d626b;

    font-size:.98rem;

    line-height:1.7;

}

/* =====================================================
LINK DOS SERVIÇOS
===================================================== */

.service-link{

    display:inline-flex;

    align-items:center;

    gap:10px;

    color:#0e2346;

    font-size:.94rem;

    font-weight:700;

    text-decoration:none;

    transition:
        gap .3s ease,
        color .3s ease;

}

.service-link:hover{

    gap:16px;

    color:#a67c18;

}

.service-link:focus-visible{

    outline:2px solid #d4af37;

    outline-offset:5px;

    border-radius:4px;

}

/* =====================================================
SERVIÇOS • TABLET
===================================================== */

@media (max-width:980px){

    .services-grid{

        grid-template-columns:repeat(2, minmax(0, 1fr));

    }

    .service-card:last-child{

        grid-column:1 / -1;

        width:100%;

        max-width:520px;

        margin:0 auto;

    }

}

/* =====================================================
SERVIÇOS • MOBILE
===================================================== */

@media (max-width:768px)  {

.services{
        padding:50px 0 35px;
}


    .services .container{

        width:100%;

        padding:0 20px;

    }

    .services .section-header{

        margin-bottom: 28px;

    }

    .services .section-header h2{

        font-size:clamp(2.1rem, 10vw, 3rem);

    }

    .services .section-header p{

        font-size:.98rem;

    }

    .services-grid{

        grid-template-columns:1fr;

        gap:18px;
    }
            
         
        .service-visual {
        height: 210px;
        margin-bottom: 8px;
    }

.service-visual img {

    height: 190px;
    max-width: 95%;
}


    .service-card,
    .service-card:last-child{

        grid-column:auto;

        max-width:none;

        min-height:auto;

        padding:28px;

    }

    .service-card::after{

        left:28px;

        right:28px;

    }

    #services {
    scroll-margin-top: 110px;

}
}
/* =====================================================
SERVIÇOS • REDUÇÃO DE MOVIMENTO
===================================================== */

@media (prefers-reduced-motion:reduce){

    .service-card,
    .service-icon,
    .service-link,
    .service-card::after{

        transition:none;

    }

}
/* =====================================================
PORTFÓLIO
===================================================== */

.portfolio{

    position:relative;

    padding:60px 0;

    background:#f1f3f5;

    color:#111111;
}


/* =====================================================
CABEÇALHO DO PORTFÓLIO
===================================================== */

.portfolio .section-header{

    max-width:780px;

    margin:0 auto 64px;

    text-align:center;

}

.portfolio .section-tag{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    margin-bottom:20px;

    padding:9px 18px;

    border:1px solid rgba(212,175,55,.40);

    border-radius:50px;

    background:#fffaf0;

    color:#9b7416;

    font-size:.82rem;

    font-weight:700;

    letter-spacing:.12em;

    text-transform:uppercase;

}

.portfolio .section-header h2{

    margin-bottom:22px;

    color:#111111;

    font-size:clamp(2.4rem, 5vw, 4rem);

    line-height:1.08;

}

.portfolio .section-header h2 span{

    display:block;

    color:#0e2346;

}

.portfolio .section-header p{

    max-width:670px;

    margin:0 auto;

    color:#5a6069;

    font-size:1.05rem;

    line-height:1.75;

}

/* =====================================================
GRADE DO PORTFÓLIO
===================================================== */

.portfolio-grid{

    display:grid;

    grid-template-columns:repeat(2, minmax( 0, 1fr));

    gap:32px;
    
    align-items: stretch;
}

/* =====================================================
CARD DO PORTFÓLIO
===================================================== */

.portfolio-card{

    overflow:hidden;

    border:1px solid rgba(14,35,70,.10);

    border-radius:24px;

    background:#ffffff;

    box-shadow:
        0 20px 55px rgba(14,35,70,.08);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;

}

.portfolio .portfolio-card:first-of-type {
    margin-top: 0px !important;
}

.portfolio-card:hover{

    transform:translateY(-10px);

    border-color:rgba(212,175,55,.45);

    box-shadow:
        0 30px 70px rgba(14,35,70,.14);

}


#portfolio .portfolio-card {
    width: 100% !important;
    max-width: 100% !important;
}

#portfolio .portfolio-image {
    width: 100% !important;
    overflow: hidden !important;
}
/* =====================================================
IMAGEM DO PROJETO
===================================================== */

.portfolio-image{

    position:relative;

    height:240px;

    overflow:hidden;

    background:
        linear-gradient(
            135deg,
            #0e2346,
            #182f59 55%,
            #d4af37
        );

}


/* =====================================================
CONTEÚDO DO PROJETO
===================================================== */


.portfolio-content > span{

    display:block;

    margin-bottom:10px;

    color:#9b7416;

    font-size:.78rem;

    font-weight:700;

    letter-spacing:.1em;

    text-transform:uppercase;

}

.portfolio-content h3{

    margin-bottom:18px;

    color:#111111;

    font-size:1.45rem;

}

.portfolio-content a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 18px;
    border-radius: 999px;

    background: #0e2346;
    color: #ffffff;

    font-weight: 700;
    text-decoration: none;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}

.portfolio-content a:hover {
    transform: translateY(-2px);
    background: #173664;
    box-shadow: 0 10px 24px rgba(14, 35, 70, 0.18);
}
/* =====================================================
PORTFÓLIO • TABLET
===================================================== */

@media (max-width:980px){

    .portfolio-grid{

        grid-template-columns:repeat(2, minmax( 1fr ));

    }

    .portfolio-card:last-child{

        grid-column: auto;

        width:100%;

        max-width: none;

        margin: 0;

    }

}

/* =====================================================
PORTFÓLIO • MOBILE
===================================================== */

@media (max-width:768px){

    .portfolio{

        padding:30px 0 35px;

    }

    .portfolio .container{

        width:100%;

        padding:0 20px;

    }

    .portfolio .section-header{

        margin-bottom:45px;

    }

    .portfolio .section-header h2{

        font-size:clamp(2.1rem, 10vw, 3rem);

    }

    .portfolio-grid{

        grid-template-columns:1fr;

        gap:45px;

    }

    
    .portfolio-card:last-child{

        grid-column:auto;

        max-width:none;

    }

    .portfolio-image{

        height: auto;

    }
}

/* =====================================================
PORTFÓLIO • MOCKUPS
===================================================== */

.portfolio-image{

    display:flex;

    align-items:center;

    justify-content:center;

    padding:10px;
 
}

/* =====================================================
CORES DOS PROJETOS
===================================================== */

.portfolio-image-1{

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(212,175,55,.35),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #08111f,
            #102847
        );

}

.portfolio-image-2{

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(212,175,55,.28),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #151515,
            #30281a
        );

}

.portfolio-image-3{

    background:
        radial-gradient(
            circle at 80% 80%,
            rgba(32,68,110,.42),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #f3eee4,
            #d9d0c2
        );

}

/* =====================================================
JANELA DO NAVEGADOR
===================================================== */

.browser-mockup{

    width:100%;

    max-width:320px;

    overflow:hidden;

    border:1px solid rgba(255,255,255,.16);

    border-radius:15px;

    background:#ffffff;

    box-shadow:
        0 24px 55px rgba(0,0,0,.25);

    transform:
        perspective(900px)
        rotateX(3deg)
        rotateY(-5deg);

    transition:
        transform .45s ease,
        box-shadow .45s ease;

}

.portfolio-card:hover .browser-mockup{

    transform:
        perspective(900px)
        rotateX(0)
        rotateY(0)
        scale(1.03);

    box-shadow:
        0 30px 70px rgba(0,0,0,.30);

}

/* =====================================================
TOPO DO NAVEGADOR
===================================================== */

.browser-top{

    display:flex;

    align-items:center;

    gap:5px;

    height:24px;

    padding:0 10px;

    background:#ececec;

}

.browser-top span{

    width:6px;

    height:6px;

    border-radius:50%;

    background:#bababa;

}

/* =====================================================
CONTEÚDO DO MOCKUP
===================================================== */

.mockup-content{

    min-height:145px;

    padding:22px;

    display:flex;

    flex-direction:column;

    align-items:flex-start;

    justify-content:center;

    background:#ffffff;

}

.mockup-logo{

    margin-bottom:18px;

    color:#a67c18;

    font-size:.65rem;

    font-weight:800;

    letter-spacing:.18em;

}

.mockup-content strong{

    max-width:220px;

    margin-bottom:18px;

    color:#111111;

    font-size:1rem;

    line-height:1.35;

}

.mockup-button{

    width:70px;

    height:10px;

    border-radius:20px;

    background:#0e2346;

}

/* Projeto 3 com visual claro */

.portfolio-image-3 .mockup-content{

    background:#faf7f1;

}

.portfolio-image-3 .mockup-button{

    background:#d4af37;

}

/* =====================================================
MOBILE
===================================================== */

@media (max-width:768px){

    .portfolio-image{

        padding:8px;

    }

    .browser-mockup{

        max-width:290px;

        transform:none;

    }

}

/* =====================================================
SOBRE
===================================================== */

.about{

    position:relative;

    padding:60px 0;

    overflow:hidden;

    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(212,175,55,.10),
            transparent 30%

        ),
        #ffffff;

    color:#111111;

}

/* =====================================================
SOBRE • GRID
===================================================== */

.about-grid{

    display:grid;

    grid-template-columns:
        minmax(0, .85fr)
        minmax(0, 1.15fr);

    gap:80px;

    align-items:center;

}

/* =====================================================
SOBRE • CONTEÚDO
===================================================== */

.about-content{

    max-width:650px;

}

.about .section-tag{

    display:inline-flex;

    align-items:center;

    margin-bottom:22px;

    padding:9px 18px;

    border:1px solid rgba(212,175,55,.40);

    border-radius:50px;

    background:#fffaf0;

    color:#9b7416;

    font-size:.82rem;

    font-weight:700;

    letter-spacing:.12em;

    text-transform:uppercase;

}

.about-content h2{

    margin-bottom:28px;

    color:#111111;

    font-size:clamp(2.5rem, 4vw, 3.5rem);

    line-height:1.08;

}

.about-content h2 span{

    display:block;

    color:#0e2346;

}

.about-content p{

    margin-bottom:18px;

    color:#5b616b;

    font-size:1.03rem;

    line-height:1.8;

}

/* =====================================================
SOBRE • LINK
===================================================== */

.about-link{

    display:inline-flex;

    align-items:center;

    gap:10px;

    margin-top:12px;

    color:#0e2346;

    font-weight:700;

    text-decoration:none;

    transition:
        gap .3s ease,
        color .3s ease;

}

.about-link:hover{

    gap:16px;

    color:#a67c18;

}

/* =====================================================
SOBRE • CARDS
===================================================== */

.about-highlights{

    display:grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap:18px;

    grid-column: 1 / -1;
    width: 100%;
}

.about-card{

    position:relative;

    padding:36px 32px;

    overflow:hidden;

    border:1px solid rgba(14,35,70,.10);

    border-radius:22px;

    background:#f7f7f4;

    box-shadow:
        0 16px 40px rgba(14,35,70,.06);

    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;

}

.about-card::before{

    content:"";

   position:absolute;

    top:0;

    left:0;

    width:4px;

    height:100%;

    background:linear-gradient(
        #d4af37,
        #0e2346
    );

}

.about-card:hover{

    transform:translateX(8px);

    border-color:rgba(212,175,55,.38);

    box-shadow:
        0 22px 50px rgba(14,35,70,.10);

}

.about-card strong{

    display:block;

    margin-bottom:12px;

    color:#a67c18;

    font-size:.78rem;

    letter-spacing:.12em;

}

.about-card h3{

    margin-bottom:8px;

    color:#0e2346;

    font-size:1.35rem;

}

.about-card p{

    margin:0;

    color:#646a73;

    font-size:.95rem;

    line-height:1.6;

}

/* =====================================================
SOBRE • TABLET
===================================================== */

@media (max-width:980px){

    .about-grid{

        grid-template-columns:1fr;

        gap:55px;

    }

    .about-content{

        max-width:760px;

    }

}

/* =====================================================
SOBRE • MOBILE
===================================================== */

@media (max-width:768px){


    .about{

        padding:50px 0 35px;

    }

    .about .container{

        width:100%;

        padding:0 20px;

    }

    .about-content h2{

        font-size:clamp(2.1rem, 10vw, 3rem);

    }

    .about-card{

        padding:24px;

    }
    .about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.about-image {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 4px;
}

.about-image img {
    width: 100%;
    max-width: 180px;
    height: auto;
    display: block;
}

.about-content {
    width: 100%;
    margin-top: 25px;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 20px;
}

.about-card {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.about-image {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 35px 0;
    padding: 0;
}

.about-image img {
    width: 180px;
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0;
}

.about-grid {
    gap: 6px !important;
}

#about {
    scroll-margin-top: 110px;
}

 }

/* =====================================================
PROCESSO
===================================================== */

.process{

    position:relative;

    padding:60px 0 60px;

    overflow:hidden;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f6f7f9 100%
        );

    color:#111111;

}

.process .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.process {
    scroll-margin-top: 120px;
}
/* =====================================================
PROCESSO • CABEÇALHO
===================================================== */

.process .section-header{

    max-width:780px;

    margin:0 auto 70px;

    text-align:center;

}

.process .section-tag{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    margin-bottom:20px;

    padding:9px 18px;

    border:1px solid rgba(212,175,55,.40);

    border-radius:50px;

    background:#fffaf0;

    color:#9b7416;

    font-size:.82rem;

    font-weight:700;

    letter-spacing:.12em;

    text-transform:uppercase;

}

.process .section-header h2{

    margin-bottom:22px;

    color:#111111;

    font-size:clamp(2.4rem, 5vw, 4rem);

    line-height:1.08;

}

.process .section-header h2 span{

    display:block;

    color:#0e2346;

}

.process .section-header p{

    max-width:660px;

    margin:0 auto;

    color:#5c626c;

    font-size:1.05rem;

    line-height:1.75;

}

/* =====================================================
PROCESSO • GRID
===================================================== */

.process-grid{

    position:relative;

    display:grid;

    grid-template-columns:repeat(4, minmax(0, 1fr));

    gap:28px;

}

/* Linha conectando as etapas */

.process-grid::before{

    content:"";

    position:absolute;

    top:34px;

    left:7%;

    right:7%;

    height:2px;

    background:
        linear-gradient(
            90deg,
            #d4af37,
            #0e2346,
            #d4af37
        );

    opacity:.35;

}

/* =====================================================
PROCESSO • CARD
===================================================== */

.process-card{

    position:relative;

    padding-top:78px;

}

.process-number{

    position:absolute;

    top:0;

    left:0;

    display:flex;

    align-items:center;

    justify-content:center;

    width:68px;

    height:68px;

    border:2px solid #ffffff;

    border-radius:50%;

    background:#0e2346;

    color:#f2d56b;

    font-size:.9rem;

    font-weight:800;

    letter-spacing:.1em;

    box-shadow:
        0 10px 30px rgba(14,35,70,.16);

    z-index:2;

    transition:
        transform .35s ease,
        background .35s ease,
        color .35s ease;

}

.process-card:hover .process-number{

    transform:translateY(-6px) scale(1.05);

    background:#d4af37;

    color:#0e2346;

}

.process-card h3{

    margin-bottom:14px;

    color:#0e2346;

    font-size:1.35rem;

    line-height:1.3;

}

.process-card p{

    margin:0;

    color:#616772;

    font-size:.96rem;

    line-height:1.7;

}

/* =====================================================
PROCESSO • DETALHE
===================================================== */

.process-card::after{

    content:"";

    display:block;

    width:42px;

    height:2px;

    margin-top:24px;

    background:#d4af37;

    transition:width .35s ease;

}

.process-card:hover::after{

    width:72px;

}

/* =====================================================
PROCESSO • TABLET
===================================================== */

@media (max-width:980px){

    .process-grid{

        grid-template-columns:repeat(2, minmax(0, 1fr));

        gap:50px 32px;

    }

    .process-grid::before{

        display:none;

    }

}

/* =====================================================
PROCESSO • MOBILE
===================================================== */

@media (max-width:768px){

    .process{

        padding:50px 0;

    }

    .process .container{

        width:100%;

        padding:0 20px;

    }

    .process .section-header{

        margin-bottom:50px;

    }

    .process .section-header h2{

        font-size:clamp(2.1rem, 10vw, 3rem);

    }

    .process-grid{

        grid-template-columns:1fr;

        gap:36px;

    }

    .process-card{

        padding-top:0;

        padding-left:86px;

        min-height:76px;

    }

    .process-number{

        top:0;

        left:0;

    }

}
.about-image {
    margin-bottom: 8px;
}

.about-image img {
    max-width: 180px;
}

.about-content {
    margin-top: 0;
}
#process {
     scroll-margin-top:110px;
}
/* =====================================================
POR QUE ESCOLHER A ASTRA
===================================================== */

.why-astra{

    position:relative;

    padding:60px 0 60px;

    overflow:hidden;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(212,175,55,.10),
            transparent 30%
        ),
        #f8f8f6;

    color:#111111;

}

/* =====================================================
CABEÇALHO
===================================================== */

.why-header{

    max-width:850px;

    margin:0 auto 75px;

    text-align:center;

}

.why-header .section-tag{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    margin-bottom:24px;

    padding:9px 18px;

    border:1px solid rgba(212,175,55,.40);

    border-radius:50px;

    background:#fffaf0;

    color:#9b7416;

    font-size:.82rem;

    font-weight:700;

    letter-spacing:.12em;

    text-transform:uppercase;

}

.why-header h2{

    margin-bottom:26px;

    color:#111111;

    font-size:clamp(2.8rem, 5vw, 4.5rem);

    line-height:1.08;

}

.why-header h2 span{

    display:block;

    color:#0e2346;

}

.why-header p{

    max-width:700px;

    margin:0 auto;

    color:#5d626b;

    font-size:1.08rem;

    line-height:1.8;

}

/* =====================================================
GRADE
===================================================== */

.why-grid{

    display:grid;

    grid-template-columns:repeat(3, minmax(0, 1fr));

    gap:28px;

}

/* =====================================================
CARDS
===================================================== */

.why-card{

    position:relative;

    padding:36px;

    border:1px solid rgba(14,35,70,.10);

    border-radius:24px;

    background:#ffffff;

    box-shadow:
        0 20px 50px rgba(14,35,70,.07);

    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;

}

.why-card:hover{

    transform:translateY(-8px);

    border-color:rgba(212,175,55,.42);

    box-shadow:
        0 28px 65px rgba(14,35,70,.12);

}

/* =====================================================
NÚMERO
===================================================== */

.why-number{

    display:flex;

    align-items:center;

    justify-content:center;

    width:50px;

    height:50px;

    margin-bottom:28px;

    border-radius:14px;

    background:#0e2346;

    color:#f2d56b;

    font-size:.82rem;

    font-weight:800;

    letter-spacing:.08em;

}

/* =====================================================
CONTEÚDO DOS CARDS
===================================================== */

.why-card h3{

    margin-bottom:16px;

    color:#0e2346;

    font-size:1.45rem;

}

.why-card p{

    margin:0;

    color:#616772;

    font-size:.98rem;

    line-height:1.75;

}

/* =====================================================
DETALHE INFERIOR
===================================================== */

.why-card::after{

    content:"";

    position:absolute;

    left:36px;

    right:36px;

    bottom:0;

    height:2px;

    background:linear-gradient(
        90deg,
        transparent,
        #d4af37,
        #0e2346,
        transparent
    );

    opacity:1;

    transform:scaleX(.5);

    transition:
        opacity .35s ease,
        transform .35s ease;

}

.why-card:hover::after{

    opacity:1;

    transform:scaleX(1);

}

/* =====================================================
TABLET
===================================================== */

@media (max-width:980px){

    .why-grid{

        grid-template-columns:repeat(2, minmax(0, 1fr));

    }

    .why-card:last-child{

        grid-column:1 / -1;

        max-width:520px;

        width:100%;

        margin:0 auto;

    }

}

/* =====================================================
MOBILE
===================================================== */

@media (max-width:768px){

    .why-astra{

        padding:30px 0 45px;

    }

    .why-astra .container{

        width:100%;

        padding:0 20px;

    }

    .why-header{

        margin-bottom:50px;

    }

    .why-header h2{

        font-size:clamp(2.2rem, 10vw, 3.2rem);

    }

    .why-grid{

        grid-template-columns:1fr;

        gap:18px;

    }

    .why-card,
    .why-card:last-child{

        grid-column:auto;

        max-width:none;

        padding:28px;

    }

}

/* =====================================================
CONTATO
===================================================== */

.contact{

    position:relative;

    padding:75px 0 70px;

    overflow:hidden;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(212,175,55,.10),
            transparent 28%
        ),
        #ffffff;

    color:#111111;

}

/* =====================================================
CONTATO • GRID
===================================================== */

.contact-grid{

    display:grid;

    grid-template-columns:
        minmax(0, .9fr)
        minmax(0, 1.1fr);

    gap:80px;

    align-items:start;

}

/* =====================================================
CONTATO • CONTEÚDO
===================================================== */

.contact-content{

    max-width:560px;

}

.contact .section-tag{

    display:inline-flex;

    align-items:center;

    margin-bottom:22px;

    padding:9px 18px;

    border:1px solid rgba(212,175,55,.40);

    border-radius:50px;

    background:#fffaf0;

    color:#9b7416;

    font-size:.82rem;

    font-weight:700;

    letter-spacing:.12em;

    text-transform:uppercase;

}

.contact-content h2{

    margin-bottom:24px;

    color:#111111;

    font-size:clamp(2.5rem, 5vw, 4rem, 3.5rem);

    line-height:1.08;

}

.contact-content h2 span{

    display:block;

    color:#0e2346;

}

.contact-content > p{

    margin-bottom:34px;

    color:#5c626c;

    font-size:1.04rem;

    line-height:1.8;

}

/* =====================================================
CONTATO • INFORMAÇÕES
===================================================== */

.contact-info{

    display:grid;

    gap:14px;

}

.contact-item{

    display:block;

    padding:18px 20px;

    border:1px solid rgba(14,35,70,.10);

    border-radius:16px;

    background: linear-gradient (135deg, #ffffff 0%, #f3ead7 100%); 

    text-decoration:none;

    transition:
        transform .3s ease,
        border-color .3s ease,
        background .3s ease;

}

.contact-item:hover{

    transform:translateX(6px);

    border-color:rgba(212,175,55,.42);

    background:#ffffff;

}

.contact-item span{

    display:block;

    margin-bottom:5px;

    color:#596579;

    font-size:.74rem;

    font-weight:700;

    letter-spacing:.08em;

    text-transform:uppercase;

}

.contact-item strong{

    color:#0e2346;

    font-size:.98rem;

}

/* =====================================================
FORMULÁRIO
===================================================== */

.contact-form{

    padding:36px;

    border:1px solid rgba(14,35,70,.10);

    border-radius:26px;

    background:#f7f8fa;

    box-shadow:
        0 24px 60px rgba(14,35,70,.08);

}

/* =====================================================
FORMULÁRIO • CAMPOS
===================================================== */

.form-group{

    margin-bottom:22px;
    
.form-group:last-of-type {
    margin-bottom: 12px;
}

}

.form-group label{

    display:block;

    margin-bottom:8px;

    color:#0e2346;

    font-size:.88rem;

    font-weight:700;

}

.form-group input,
.form-group select,
.form-group textarea{

    width:100%;

    padding:14px 16px;

    border:1px solid rgba(14,35,70,.14);

    border-radius:12px;

    background:#ffffff;

    color:#111111;

    font:inherit;

    outline:none;

    transition:
        border-color .3s ease,
        box-shadow .3s ease;

}

.form-group textarea{

    resize:vertical;

    min-height:150px;

}

.form-group input::placeholder,
.form-group textarea::placeholder{

    color:#a0a5ad;

}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{

    border-color:#d4af37;

    box-shadow:
        0 0 0 3px rgba(212,175,55,.12);

}

/* =====================================================
BOTÃO DO FORMULÁRIO
===================================================== */

.contact-submit{

    width:100%;

    min-height:52px;

    cursor:pointer;

    border: none;
     border-radius: 50 px;
     background: #d4af37;
     color: #111111;

     font-size: 1rem;
     font-weight: 700;

     transition: transform .25s ease, 
     box-shadow .25s ease;
}

.contact-submit:hover {
    transform: translatey(-2px);
    box-shadow: 0 12px 28px rgba
    (14, 35, 70, .14);

}
/* =====================================================
STATUS DO FORMULÁRIO
===================================================== */

.form-status{

    min-height:22px;

    margin-top:14px;

    color:#0e2346;

    font-size:.88rem;

    text-align:center;

}

/* =====================================================
CONTATO • TABLET
===================================================== */

@media (max-width:980px){

    .contact-grid{

        grid-template-columns:1fr;

        gap:55px;

    }

    .contact-content{

        max-width:720px;

    }

}

/* =====================================================
CONTATO • MOBILE
===================================================== */

@media (max-width:768px){

    .contact{

        padding:40px 0 40px;

    }

    .contact .container{

        width:100%;

        padding:0 20px;

    }

    .contact-submit {
        width: 220px;
        max-width: 100%;
        min-height: 48px;
        margin: 0 auto;
        display: block;

    }

    .contact-content h2{

        font-size:clamp(1.8rem, 7.5vw, 2.2rem);

    }

    .contact-form{

        padding:24px;

    }

   .form-group textarea {
    min-height: 110px;
}

}
/* =====================================================
RODAPÉ
===================================================== */

.footer{
    position:relative;
    padding:90px 0 30px;
    background:#07101f;
    color:#ffffff;
}

.footer-grid{
    display:grid;
    grid-template-columns:1.5fr .7fr .8fr;
    gap:70px;
    padding-bottom:60px;
}

.footer-brand{
    max-width:430px;
}

.footer-logo{
    display:inline-block;
    margin-bottom:20px;
    color:#ffffff;
    font-size:2rem;
    font-weight:800;
    text-decoration:none;
}

.footer-logo span{
    color:#d4af37;
}

.footer-brand p{
    margin:0;
    color:rgba(255,255,255,.62);
    line-height:1.8;
}

.footer-column h3{
    margin:0 0 20px;
    color:#ffffff;
    font-size:1rem;
}

.footer-nav,
.footer-contact{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:13px;
}

.footer-column a{
    color:rgba(255,255,255,.65);
    text-decoration:none;
    transition:.3s ease;
}

.footer-column a:hover{
    color:#d4af37;
    transform:translateX(4px);
}

.footer-bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
    padding-top:28px;
    border-top:1px solid rgba(255,255,255,.10);
}

.footer-bottom p{
    margin:0;
    color:rgba(255,255,255,.45);
    font-size:.85rem;
}

.footer-bottom a{
    color:rgba(255,255,255,.45);
    text-decoration:none;
    font-size:.85rem;
}

.footer-bottom a:hover{
    color:#d4af37;
}

@media (max-width:900px){

    .footer-grid{
        grid-template-columns:1fr 1fr;
        gap:45px;
    }

    .footer-brand{
        grid-column:1 / -1;
    }

}

@media (max-width:600px){

    .footer{
        padding:25px 0 25px;
    }

    .footer-grid{
        grid-template-columns:1fr;
        gap:12px;
        padding-bottom: 15px;
    }
    

        .footer-contact {
            margin-top: 8px;
        }
        
        .footer-nav {
            gap: 12px;
        
    }
    .footer-bottom {
        margin-top: 15px;
        padding-top: 15px;

    }
}



    .footer-brand{
        grid-column:auto;
    }

    .footer-bottom{
        flex-direction:column;
        align-items:flex-start;
        gap:12px;

        .footer-brand {
            margin-bottom: 0;
        }
        .footer-contact {
            margin-top: 0;
        }
    }



.form-status{
    margin-top:18px;
    font-size:.95rem;
    line-height:1.5;
    color:#0e2346;
    font-weight:600;}
.portfolio-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-background {
    z-index: 0;
}

/* TAMANHO DAS IMAGENS DOS SERVIÇOS */
.service-visual {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 20px;
}

.service-visual img {
    width: auto;
    height: 160px;
    max-width: 90%;
    object-fit: contain;
    display: block;
}

/* DECORAÇÃO DA SEÇÃO SERVIÇOS */
.services {
    position: relative;
    overflow: hidden;
}

.services::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("../imagens/decorativo-servicos.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 1;
}
.about-grid {
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 330px;
    height: auto;
    object-fit: contain;
    display: block;
}
.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
}

.contact-item {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 22px;
    border: 1px solid rgba(40, 90, 255, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(20, 60, 150, 0.12);
}

.footer {
    padding: 40px 0 20px;
}

.footer-bottom {
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-nav a,
.footer-email,
.footer-bottom a {
    transition: opacity 0.25s ease;
}

.footer-nav a:hover,
.footer-email:hover,
.footer-bottom a:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {

    .about-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 32px;
    }

    .about-image {
        width: 100%;
        justify-content: center;
    }

    .about-image img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .about-content {
        width: 100%;
    }

    .about-highlights {
        display: grid;
        grid-template-columns: 1fr !important;
        width: 100%;
        gap: 16px;
    }

    .about-card {
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box;
    }
}
/* CORREÇÃO FINAL - SOBRE MOBILE */
@media (max-width: 768px) {

    .about-grid {
        display: block !important;
    }

    .about-image {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 35px 0 10px 0 !important;
        padding: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .about-image img {
        width: 180px !important;
        max-width: 180px !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        transform: block !important;
    }

    .about-content {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

/* ==================================
   CORREÇÃO FINAL - SOBRE MOBILE
================================== */

@media (max-width: 768px) {

    .about-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    .about-content {
        display: contents !important;
    }

    /* 1 - etiqueta */
    .about-content .section-tag {
        order: 1;
        margin-bottom: 18px;
    }

    /* 2 - título */
    .about-content h2 {
        order: 2;
        margin-bottom: 22px;
    }

    /* 3 - imagem */
    .about-image {
        order: 3;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        display: flex !important;
        justify-content: center !important;
        margin: 30px 0 22px !important;
        padding: 0 !important;
    }

    .about-image img {
        width: 180px !important;
        max-width: 180px !important;
        height: auto !important;
        display: block !important;
    }

    /* 4 - textos */
    .about-content p {
        order: 4;
    }

    /* 5 - botão/link */
    .about-content .about-link {
        order: 5;
    }

    /* 6 - cards */
    .about-highlights {
        order: 6;
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        margin-top: 30px;
    }

    .about-card {
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box;
    }
}
@media (max-width: 768px) {

    .about-image {
        transform: translateY(-35px) !important;
        margin-bottom: -25px !important;
    }
}

/* ==================================
   CORREÇÃO FINAL - PORTFÓLIO MOBILE
================================== */

@media (max-width: 768px) {

    .portfolio-image,
    .portfolio-image-1,
    .portfolio-image-3 {
        height: 220px !important;
        min-height: 0 !important;
        max-height: 220px !important;
        padding: 10px !important;
        box-sizing: border-box !important;
    }

    
    .portfolio-grid {
        gap:32px !important;
        row-gap: 32px !important;
    }

/* espaço entre o título do portfólio e o primeiro projeto */
.section-header + .portfolio-card {
    margin-top: 28px !important;
}

/* espaço entre os projetos */
.portfolio-card {
    margin-bottom: 18px !important;
}

.portfolio-card:last-child {
    margin-bottom: 0 !important;
}
.portfolio .portfolio-card:first-of-type {
    margin-top: 50px !important;
}

}

@media (max-width: 768px) {
    #hero .scroll-indicator {
        bottom: 10px !important;
    }
    .contact-content h2 {
    font-size: clamp(2rem, 9vw, 2.7rem);
    line-height: 1.08;
    margin-bottom: 22px;
}

.contact-content > p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 26px;
}

.contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
}

.contact-form {
    width: 100%;
}

}

/* ==================================================
   PORTFÓLIO — CARD ÉLAN | DESKTOP
   ================================================== */




@media (max-width: 600px) {
    .footer-bottom {
        margin-top: 15px;
        padding-top: 15px;
    }
}





/* NEXA • AJUSTE TABLET FINAL */
@media (min-width: 600px) and (max-width: 768px) {

    #portfolio .portfolio-image-2 {
        height: 190px !important;
        min-height: 190px !important;
        max-height: 190px !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    #portfolio .portfolio-image-2 img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }
 
}

/* =========================
   CONTEÚDO DOS CARDS
========================= */

.portfolio-link:hover {
    opacity: 0.65;
}
.portfolio-content {
    padding: 28px 10px 18px;
}

.portfolio-category {
    display: block;
    margin-bottom: 12px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    color: #7b8190;
}

.portfolio-content h3 {
    margin-bottom: 14px;

    font-size: 32px;
    line-height: 1.05;
}

.portfolio-content p {
    max-width: 620px;
    margin-bottom: 20px;

    font-size: 16px;
    line-height: 1.65;

    color: #626875;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;

    font-size: 14px;
    font-weight: 700;

    color: #111827;

    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
}

#portfolio .portfolio-image {
    overflow: hidden;
}

#portfolio .portfolio-image img {
    width: 100%;
    display: block;
}



#portfolio .portfolio-card:nth-child(1) .portfolio-content {
    min-height: 250px !important;
}


#portfolio .portfolio-card:nth-child(1) .portfolio-image {
    padding: 4px !important;
    border: none !important;
    border-radius: 24px !important;

    background: linear-gradient(
        135deg,
        #d9b4b8,
        #f0d9cf,
        #b98b96
    ) !important;
}



#portfolio .portfolio-card:nth-child(1) .portfolio-image {
    padding: 0 !important;
    background: transparent !important;

    border: 2px solid #b78f96 !important;
    border-radius: 24px !important;

    overflow: hidden !important;
}

#portfolio .portfolio-card:nth-child(1) .portfolio-image::before {
    display: none !important;
}

#portfolio .portfolio-card:nth-child(1) .portfolio-image {
    padding: 10px !important;
    border: none !important;
    border-radius: 24px !important;
    overflow: hidden !important;

    background:
        radial-gradient(
            circle at 80% 80%,
            rgba(183, 143, 150, .38),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #f4e8e5,
            #d7b5bc
        ) !important;
}

#portfolio .portfolio-card:nth-child(1) .portfolio-image::before {
    display: none !important;
}


#portfolio .portfolio-card:nth-child(1) .portfolio-image {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

}


#portfolio .portfolio-card:nth-child(2) .portfolio-image {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    padding: 6px !important;
    border: none !important;
    border-radius: 24px !important;
    overflow: hidden !important;

    background:
        radial-gradient(
            circle at 80% 80%,
            rgba(34, 211, 238, .35),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #07152f 0%,
            #0b2d63 55%,
            #1269b8 100%

        ) !important;
}

#portfolio .portfolio-card:nth-child(2) .portfolio-image::before {
    display: none !important;
}

#portfolio .portfolio-card:nth-child(2) .portfolio-image img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block !important;
}

#portfolio .portfolio-card:nth-child(3) .portfolio-image {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    padding: 6px !important;
    border: none !important;
    border-radius: 24px !important;
    overflow: hidden !important;

    background:
        radial-gradient(
            circle at 80% 80%,
            rgba(120, 55, 85, .28),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            rgba(216, 194, 200, .75),
            rgba(123, 52, 87, .55)
        ) !important;
}

#portfolio .portfolio-card:nth-child(3) .portfolio-image::before {
    display: none !important;
}

#portfolio .portfolio-card:nth-child(3) .portfolio-image img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block !important;
}

#portfolio .portfolio-card:nth-child(4) .portfolio-image {
    height: 330px !important;
    min-height: 330px !important;
    max-height: 330px !important;

    padding: 4px !important;
    border: none !important;
    border-radius: 24px !important;
    overflow: hidden!important;

    background:
        linear-gradient(
            135deg,
            rgba(45, 110, 210, .12),
            rgba(90, 160, 255, .20),
            rgba(45, 110, 210, .08)
        ) !important;
}

#portfolio .portfolio-card:nth-child(4) .portfolio-image::before {
    display: none !important;
}

#portfolio .portfolio-card:nth-child(4) .portfolio-image img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block !important;
}

#portfolio .portfolio-card:nth-child(4) {
    height: 100% !important;
    min-height: 0 !important;
    align-self: stretch !important;
}

#portfolio .portfolio-card:nth-child(4) .portfolio-content {
    min-height: 0 !important;
}

@media (min-width: 600px) and (max-width: 980px) {

    /* Impede os cards de esticarem uns aos outros */
    #portfolio .portfolio-grid {
        align-items: stretch !important;
    }

    #portfolio .portfolio-card {
        align-self: stretch !important;
        height: 100% !important;
        min-height: 0 !important;
        margin-top: 0 !important;
        transform: none !important;
    }


    /* NORA menor somente no tablet */
    #portfolio .portfolio-card:nth-child(4) .portfolio-image {
        height: 220px !important;
        min-height: 220px !important;
        max-height: 220px !important;
    }


}


@media (max-width: 599px) {
    #portfolio .portfolio-card:nth-child(4) {
        height: auto !important;
        min-height: 0 !important;
    }

    #portfolio .portfolio-card:nth-child(4) .portfolio-image {
        height: 180px !important;
        min-height: 180px !important;
        max-height: 180px !important;
    }
}

@media (min-width: 981px) {
    #portfolio .portfolio-grid {
        align-items: stretch !important;
    }

    #portfolio .portfolio-card {
        height: 100% !important;
        align-self: stretch !important;
    }
}
/* =====================================================
   PORTFOLIO: CARDS E BOTOES ALINHADOS
   Mantem os ajustes visuais das imagens existentes.
   ===================================================== */
@media (min-width: 600px) {
    #portfolio .portfolio-grid {
        align-items: stretch !important;
    }

    #portfolio .portfolio-grid > .portfolio-card {
        display: flex !important;
        flex-direction: column !important;
        align-self: stretch !important;
        height: auto !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    #portfolio .portfolio-grid > .portfolio-card > .portfolio-image {
        flex-shrink: 0;
    }

    #portfolio .portfolio-grid > .portfolio-card > .portfolio-content {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
        min-height: 0 !important;
    }

    #portfolio .portfolio-grid > .portfolio-card > .portfolio-content > a:last-child {
        margin-top: auto !important;
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    #hero {
        min-height: auto;
    }
}