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

:root{
    --orange-500:#f97316;
    --orange-600:#ea580c;

    --white:#fff;
    --black:#111;
    --gray-100:#f8f8f8;
    --gray-200:#ececec;
    --text:#b4b4b4;
}

body{
    font-family:Poppins,sans-serif;
    background:var(--gray-100);
    color:var(--text);

    /* altura da navbar */
    padding-top:68px;
}

nav{

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

    height:68px;

    background:#fff;

    display:grid;
    grid-template-columns:1fr auto 1fr;

    align-items:center;

    padding:0 5vw;

    z-index:1000;
}

nav.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}

.nav-logo {
    justify-self: start;
}

.logo-div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: rgb(255, 166, 0);
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    color: var(--white);
    font-size: 14px;
    letter-spacing: -1px;
}

.nav-logo img {
    max-width: 160px;
    /* ajuste conforme desejar */
    height: auto;
    display: block;
}

.nav-logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: var(--white);
}

.nav-logo-text span {
    color: var(--accent);
}

.nav-links {
    justify-self: center;

    display: flex;
    align-items: center;
    gap: 60px;
    /* aumenta o espaço entre os links */
    padding-left: none;

    list-style: none;
}

.nav-links a {
    color: black;
    text-decoration: none;

    font-size: 16px;
    /* aumenta a fonte */
    font-weight: 600;
    /* deixa um pouco mais destacada */

    padding: 8px 12px;
    border-radius: 6px;
    transition: color .2s, background .2s;
}

.nav-social {
    justify-self: end;

    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-social a {
    color: var(--navy);
    font-size: 20px;
    transition: .3s;
}

.nav-social a:hover {
    color: rgb(251, 146, 60);
    transform: translateY(-2px);
}

.nav-links a:hover {
    color: black;
    background: rgb(234, 88, 12);
}

.nav-cta {
    background: var(--accent) !important;
    color: var(--white) !important;
    padding: 7px 18px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: var(--accent2) !important;
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
}

.nav-links .nav-chamados {
    background: black;
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 166, 0, 0.35);
    transition: .3s ease;
}

.nav-links .nav-chamados:hover {
    background: var(--accent2);
    color: #fff;
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--navy);
    padding: 16px 24px 24px;
    border-bottom: 2px solid var(--accent);
    flex-direction: column;
    gap: 4px;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 15px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    font-weight: 500;
}

.mobile-menu a:last-child {
    border: none;
}

main {
    padding-top: 60px;
}



.hero {
    position: relative;
    height: 420px;

    background-color: var(--orange-500);

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;

    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;

    height: 50px; /* altura da faixa com a textura */

    background-image: url("img/background2.png");
    background-repeat: repeat;
    background-position: top left;
    background-size: 50px;

    transform: scaleY(-1);

    pointer-events: none;
}

.hero h1{

    font-size:54px;
    margin-bottom:20px;
}

.hero p{

    max-width:700px;
    margin:auto;

    font-size:25px;
    line-height:1.8;
}

.container {
    width: 90%;
    max-width: 1350px;

    margin: auto;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));

    gap: 35px;

    padding: 80px 0;
}

.card {
    display: flex;
    flex-direction: column;

    background: var(--white);

    border-radius: 18px;
    overflow: hidden;

    box-shadow: 0 12px 35px rgba(0, 0, 0, .08);

    transition: .35s;

    border: 1px solid var(--gray-200);
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .18);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.cards-container{

    width:90%;
    max-width:1350px;

    margin:auto;

    padding:80px 0;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));

    gap:35px;
}

.conteudo {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.conteudo h2 {
    color: var(--orange-500);
    margin-bottom: 18px;
}

.conteudo p {
    line-height: 1.8;
    margin-bottom: 20px;
    flex: 1
}

.conteudo a {
    margin-top: auto; /* mantém o botão sempre na parte inferior */
    display: inline-block;
    padding: 14px 30px;
    background: var(--orange-500);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: .3s;
    align-self: flex-start; /* evita que o botão estique na largura toda */
}

.conteudo a:hover {
    background: var(--orange-600);
}

.cta {
    position: relative;
    overflow: hidden;

    background-color: var(--orange-500);

    padding: 90px 20px;
    text-align: center;
    color: var(--white);
}

.cta::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 50px; /* altura da faixa com o pattern */

    background-image: url("img/background.webp");
    background-repeat: repeat;
    background-position: bottom left;
    background-size: 50px;

    pointer-events: none;
}

.cta h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.cta p {
    max-width: 800px;

    margin: auto;

    line-height: 1.8;

    margin-bottom: 35px;
}

.cta a {
    display: inline-block;

    padding: 18px 40px;

    background: var(--white);

    color: var(--orange-600);

    text-decoration: none;

    border-radius: 10px;

    font-weight: 700;

    transition: .3s;
}

.cta a:hover {
    background: var(--orange-500);
    color: var(--white);
    transform: scale(1.05);
}

footer {
    background: #080f1e;
    color: var(--gray-300);
    padding: 56px 5vw 28px;
    border-top: 1px solid rgba(255, 255, 255, .04);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 1px;
    margin-bottom: 1px;
    line-height: 1.4;
    max-width: 260px;
}

.footer-brand b {
    font-size: 14px;
    color: var(--white);
    margin-top: 3px;
    margin-bottom: 2px;
    line-height: 1.4;
    max-width: 260px;
}

.footer-col h4 {
    font-family: Poppins, sans-serif;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    color: var(--gray-500);
    font-size: 13px;
    text-decoration: none;
    transition: color .2s;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-500);
    font-size: 13px;
    text-decoration: none;
    transition: color .2s;
}

.footer-contact-list a:hover {
    color: var(--accent);
}

.footer-divider {
    border-color: rgba(255, 255, 255, .05);
    margin-bottom: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--gray-500);
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom a {
    color: var(--gray-500);
    text-decoration: none;
}

.footer-bottom span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--gray-500);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom a:hover {
    color: var(--accent);
}

.footer-col h4 {
    font-family: Poppins, sans-serif;
    margin: 0 0 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media(max-width:768px) {

    .hero {
        height: 300px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 17px;
    }

}