/* templates/layout.css — adiciona no topo */

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

html, body {
  min-height: 100vh;
}

.template-credit{

    margin-top:80px;

    background:#111827;

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

    position:relative;

    overflow:hidden;
}

.template-credit::before{

    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:3px;

    background:linear-gradient(
        90deg,
        #7c3aed,
        #a855f7,
        #7c3aed
    );
}

.template-credit .container_lay{

    max-width:1200px;

    margin:0 auto;

    padding:0 24px;

    box-sizing:border-box;
}

.template-credit__content{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:48px;

    padding:60px 0;

    flex-wrap:wrap;
}

.template-credit__text{

    flex:1;

    min-width:300px;

    max-width:720px;
}

.template-credit__text strong{

    display:block;

    color:#fff;

    font-size:1.8rem;

    font-weight:700;

    margin-bottom:16px;
}

.template-credit__text p{

    color:#b6bcc8;

    line-height:1.8;

    margin:0;
}

.template-credit__actions{

    display:flex;

    align-items:center;

    gap:16px;

    flex-wrap:wrap;

    justify-content:flex-end;
}

.template-credit__button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-height:56px;

    padding:16px 28px;

    border-radius:14px;

    font-weight:600;

    text-decoration:none;

    white-space:nowrap;

    transition:
        transform .25s,
        background .25s,
        color .25s,
        border-color .25s,
        box-shadow .25s;
}

/* Botão principal */

.template-credit__button:not(.template-credit__button--outline){

    background:linear-gradient(
        135deg,
        #7c3aed,
        #9333ea
    );

    color:#fff;

    box-shadow:0 12px 35px rgba(124,58,237,.25);
}

.template-credit__button:not(.template-credit__button--outline):hover{

    transform:translateY(-3px);

    box-shadow:0 18px 45px rgba(124,58,237,.35);
}

/* Botão secundário */

.template-credit__button--outline{

    background:transparent;

    color:#a855f7;

    border:2px solid rgba(168,85,247,.35);
}

.template-credit__button--outline:hover{

    background:rgba(168,85,247,.08);

    border-color:#a855f7;

    color:#fff;

    transform:translateY(-3px);
}

/* Tablet */

@media (max-width:992px){

    .template-credit__content{

        flex-direction:column;

        align-items:flex-start;
    }

    .template-credit__actions{

        justify-content:flex-start;
    }

}

/* Celular */

@media (max-width:768px){

    .template-credit{

        margin-top:60px;
    }

    .template-credit__content{

        padding:48px 0;

        text-align:center;

        align-items:center;
    }

    .template-credit__text{

        min-width:100%;

        max-width:100%;
    }

    .template-credit__text strong{

        font-size:1.6rem;
    }

    .template-credit__text p{

        font-size:1rem;
    }

    .template-credit__actions{

        width:100%;

        flex-direction:column;

        gap:14px;
    }

    .template-credit__button{

        width:100%;

        max-width:340px;
    }

}