*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
html {
    scroll-behavior: smooth;
}
.container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.container.visible {
    opacity: 1;
    transform: translateY(0);
}
.header{
    width: 100%;
    height: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo {
    width: 17%;
    height: 100px;
    display: flex;
    justify-content: center;
    margin-right: 120px;
}
.logo img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* Menu sanduíche oculto por padrão */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #1c1c1c;
    cursor: pointer;
    margin-left: auto;
    z-index: 1002;
}

/* Mobile menu oculto por padrão */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: #51504E;
    z-index: 1001;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}
.mobile-menu li {
    margin: 0 0 18px 0; /* Espaço entre as opções */
    padding-bottom: 8px;
    border-bottom: 3px solid #fff; /* Linha/margem colorida abaixo de cada item */
    width: 90%;
}

.mobile-menu li:last-child {
    border-bottom: none; /* Remove a linha do último item */
}
.mobile-menu a {
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    transition: color 0.2s;
    font-weight: lighter !important;
}
.mobile-menu a:hover {
    color: #ed1b24;
}
.nav-menu{
    padding: 3px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    font-size: 18px;
}
.horizontal-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    align-items: center;
}

.horizontal-menu li {
    margin: 0;
}

.horizontal-menu a {
    display: block;
    padding: 10px 18px;
    color: #1c1c1c;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: bolder;
}

.horizontal-menu a:hover {
    color: #FFF;
    background-color: #ed1b24;
}
.slider{
    width: 100vw;
    height: 400px;
    margin-top: 20px;
    background-image: url("./imgs/slider.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.slider h1{
    width: 100%;
    display: flex;
    justify-content: center;
    color: #FFF;
    font-size: 3rem;
    z-index: 1;
    text-align: center;
}
.slider::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(34, 34, 34, 0.55); /* cinza translúcido */
    z-index: 0;
}
.slider > * {
    position: relative;
    z-index: 1;
}
.button-slider button {
    background: #1c1c1c;
    color: #fff;
    border: none;
    padding: 22px 42px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.button-slider{
    width: 100%;
    margin-top: 30px;
    display: flex;
    justify-content: center;
}
.button-slider button:hover {
    background: #333;
}
.years-experience{
    width: 100%;
    height: 120px;
    background-image: url("./imgs/12315.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.years-experience::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(28,28,28,0.4); /* cor escura e opacidade leve */
    z-index: 0;
}

.years-experience > * {
    position: relative;
    z-index: 1;
}
.details{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    height: 90px;
}
.details h1{
    font-size: 80px;
    color: #ed1b24;
    margin-right: 10px;
    margin-left: 30px;
}
.details h2{
    color: #FFF;
}
.what-we-do{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    gap: 50px;
    background-color: #F1F1F1;
    flex-wrap: wrap;
}
.what-we-do h1 {
    width: 60%;
    height: 80px;
    display: flex;
    justify-content: left;
    margin-top: 40px;
    position: relative;
    display: inline-block; 
}

.what-we-do h1::after {
    content: "";
    display: block;
    width: 100px;           /* Largura da barra */
    height: 10px;           /* Altura da barra */
    background: #ed1b24;   /* Cor da barra */
    margin: 12px 0 0 0; /* Espaço acima e centralização */
}
.content-wwd{
    width: 80%;
    height: auto;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 10px;
    margin-bottom: 50px;
}
.cards-wwd{
    width: 400px;
    height: 120px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    box-shadow: -8px 8px 5px rgba(0, 0, 0, 0.7);
    background-color: #FFF;
    padding: 20px;
}
.cards-wwd:hover{
    box-shadow: -8px 8px 15px rgba(0, 0, 0, 0.7);
    transform: scale(1.02);
    transition: all 0.3s ease-in-out;
    /*cursor: pointer;*/
    background-color: #1c1c1c;
    color: #FFF;
}
.icon-card{
    width: 70px;
    height: 70px;
    margin-right: 10px
}
.icon-card img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.desc-wwd{
    font-size: 1.2rem;
    font-weight: bolder;
}
.who-we-are{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    gap: 50px;
    background-color: #51504E;
    flex-wrap: wrap;
}
.who-we-are h1 {
    width: 60%;
    height: 80px;
    display: flex;
    justify-content: left;
    margin-top: 40px;
    position: relative;
    display: inline-block; 
    color: #FFF;
}
.who-we-are h1::after {
    content: "";
    display: block;
    width: 100px;           /* Largura da barra */
    height: 10px;           /* Altura da barra */
    background: #ed1b24;   /* Cor da barra */
    margin: 12px 0 0 0; /* Espaço acima e centralização */
}
.wwa-content{
    width: 40%;
    height: auto;
    display: flex;
    justify-content: center;
    padding: 20px;
    margin-bottom: 40px;
}
.wwa-content p{
    color: #FFF;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-top: -30px;
}
.wwa-photo{
    width: 20%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    gap: 10px;
    margin-top: -100px;
    text-align: center;
    color: #FFF;
}
.photo{
    width: 150px;
    height: 150px;
    border-radius: 75px;
    border: solid thin #FFF; /* sombra leve à direita e abaixo */
    object-fit: cover;
}
.photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 75px;
}
.contact-us {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    background-color: #F1F1F1;
    flex-wrap: wrap;
}

.contact-us h1 {
    width: 60%;
    text-align: left;
    margin-top: 40px;
    margin-bottom: 0;
    color: #1c1c1c;
    font-size: 2rem;
    position: relative;
    display: inline-block;
}
.contact-us h1::after {
    content: "";
    display: block;
    width: 100px;           /* Largura da barra */
    height: 10px;           /* Altura da barra */
    background: #ed1b24;   /* Cor da barra */
    margin: 12px 0 0 0; /* Espaço acima e centralização */
}

.contact-columns {
    display: flex;
    width: 100%;
    max-width: 1100px;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
}
.form-contact {
    flex: 1 1 340px;
    max-width: 650px;
    height: 370px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.10);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 40px;
}

.form-contact form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-contact input,
.form-contact textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #ccc;
    border-radius: 7px;
    font-size: 1rem;
    background: #fff;
    color: #222;
    transition: border-color 0.2s;
    resize: none;
}

.form-contact input:focus,
.form-contact textarea:focus {
    border-color: #ed1b24;
    outline: none;
    background: #fff;
}

.form-contact button[type="submit"] {
    padding: 12px 0;
    background: #ed1b24;
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: 1px;
}

.form-contact button[type="submit"]:hover {
    background: #b3131a;
}

.contact-map {
    flex: 1 1 320px;
    max-width: 600px;
    height: 370px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 28px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-map h2 {
    color: #1c1c1c;
    margin-bottom: 8px;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.map-frame {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}

.footer {
    width: 100vw;
    min-height: 120px;
    background-color: #1c1c1c;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.footer-content {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 16px;
    flex-wrap: wrap;
}

.footer-logo img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-info {
    text-align: center;
    flex: 1;
    font-size: 1rem;
}

.footer-info a {
    color: #ed1b24;
    text-decoration: none;
    margin: 0 6px;
    transition: color 0.2s;
}

.footer-info a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-social a {
    margin: 0 6px;
    display: inline-block;
}

.footer-social img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
    transition: filter 0.2s;
}

.footer-social img:hover {
    filter: brightness(0.7) invert(0.7) sepia(1) hue-rotate(-30deg) saturate(5);
}

/* Responsividade para tablet */
@media (max-width: 900px) {
    .header {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: auto;
    gap: 0;
    padding: 0 10px;
}

    .menu-toggle {
        display: block;
        order: 2;
        margin-left: 0;
        margin-right: 30px;
    }
    /* ...restante do seu código... */
    .logo {
        order: 1;
        width: 40%;
        height: 60px;
        margin-right: 0;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    .horizontal-menu {
        gap: 8px;
    }
    
    .nav-menu {
        display: none !important;
    }
    .mobile-menu {
        display: none;
    }
    .mobile-menu.open {
        display: flex;
    }
    .slider {
        height: 280px;
        font-size: 1.2rem;
    }
    .years-experience {
        width: 100%;
        height: 90px;
        background-color: #51504E;
        background-image: none;
    }
    .years-experience h1 {
        font-size: 2rem;
    }
    .years-experience h2 {
        font-size: 1rem;
    }
    .what-we-do h1,
    .who-we-are h1,
    .contact-us h1 {
        width: 90%;
        font-size: 1.3rem;
        height: auto;
    }
    .wwa-content {
        width: 90%;
        padding: 10px;
    }
    .wwa-photo {
        width: 60%;
        margin-top: -40px;
    }
    .content-wwd {
        width: 98%;
        gap: 20px;
    }
    .cards-wwd {
        width: 95vw;
        min-width: 220px;
        height: auto;
        flex-direction: column;
        padding: 16px 8px;
        gap: 10px;
    }
    .icon-card {
        margin-right: 0;
        margin-bottom: 8px;
    }
    .contact-us{
        padding: 10px;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    .contact-columns {
        flex-direction: column;
        gap: 20px;
        max-width: 100vw;
    }
    .form-contact, .contact-map {
        max-width: 95vw;
        width: 100%;
        padding: 16px 8px;
        height: auto;
    }
    .footer-content {
        flex-direction: column;
        gap: 10px;
        padding: 16px 4px;
    }
}

/* Responsividade para mobile */
@media (max-width: 600px) {
    .header {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: auto;
    gap: 0;
    padding: 0 10px;
}

    .menu-toggle {
        order: 2;
        margin-left: 0;
        margin-right: 10px;
    }
    .logo {
        order: 1;
        width: 40%;
        height: 60px;
        margin-right: 0;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    .horizontal-menu {
        gap: 8px;
    }
    .mobile-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #1c1c1c;
        z-index: 2000;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 24px;
        transition: opacity 0.3s;
    }

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

    .mobile-menu .close-menu {
        background: none;
        border: none;
        color: #fff;
        font-size: 2.2rem;
        margin-left: 18px;
        margin-bottom: 24px;
        cursor: pointer;
    }

    .mobile-menu ul {
        list-style: none;
        padding: 0 0 0 32px;
        margin: 0;
        width: 100%;
    }

    .mobile-menu li {
        margin: 18px 0;
    }

    .mobile-menu a {
        color: #fff;
        font-size: 1.5rem;
        text-decoration: none;
        font-weight: bold;
        letter-spacing: 1px;
        transition: color 0.2s;
    }

    .mobile-menu a:hover {
        color: #ed1b24;
    }
    .slider {
        height: 160px;
        font-size: 1rem;
        margin-top: 10px;
    }
    .slider h1 {
        font-size: 1.2rem;
        padding: 0 4px;
    }
    .button-slider button {
        padding: 10px 18px;
        font-size: 0.95rem;
    }
    .years-experience {
        background-color: #51504E !important;
        background-image: none !important;
        height: 60px;
        font-size: 0.9rem;
    }
    .details {
        height: 50px;
        padding: 2px;
        font-size: 0.9rem;
    }
    .details h1 {
        font-size: 2rem;
        margin-left: 10px;
        margin-right: 5px;
    }
    .details h2 {
        font-size: 1rem;
    }
    .what-we-do,
    .who-we-are {
        flex-direction: column;
        gap: 10px;
        padding: 20px;
    }
    .wwa-content {
        width: 90%;
        padding: 10px;
        font-size: 1rem;
        margin-top: -40px;
    }
    .wwa-content p{
        margin-top: 50px;
        text-align: justify;
    }
    .wwa-photo {
        width: 100%;
        margin-top: 10px !important;
        padding: 10px;
    }
    .wwa-photo .photo{
        width: 130px;
        height: 130px;
        border-radius:60px;
    }
    .wwa-photo .photo img{
        border-radius: 60px;
    }
    .name-owner{
        margin-top: 20px;
    }
    .what-we-do h1,
    .who-we-are h1,
    .contact-us h1 {
        width: 98%;
        font-size: 1.1rem;
        margin-top: 18px;
        height: auto;
        padding: 15px;
    }
    .content-wwd {
        width: 100%;
        gap: 10px;
        padding: 4px;
    }
    .cards-wwd {
        width: 98vw;
        min-width: 160px;
        height: auto;
        flex-direction: column;
        padding: 10px 2px;
        gap: 6px;
    }
    .icon-card {
        width: 48px;
        height: 48px;
        margin-right: 0;
        margin-bottom: 6px;
    }
    .desc-wwd {
        font-size: 1rem;
    }
    .wwa-content {
        width: 98%;
        padding: 6px;
        font-size: 1rem;
    }
    .wwa-photo {
        width: 90%;
        margin-top: -20px;
        padding: 8px;
    }
    .photo {
        width: 90px;
        height: 90px;
        border-radius: 45px;
    }
    .photo img {
        border-radius: 45px;
    }
    .name-owner h2, .name-owner h3 {
        font-size: 1rem;
    }
    .contact-columns {
        flex-direction: column;
        gap: 14px;
        max-width: 100vw;
    }
    .form-contact, .contact-map {
        max-width: 99vw;
        width: 100%;
        padding: 12px 4px;
        height: auto;
    }
    .form-contact button[type="submit"] {
        padding: 10px 0;
        font-size: 1rem;
    }
    .contact-map h2 {
        font-size: 1rem;
    }
    .map-frame {
        height: 180px;
    }
    .footer-content {
        flex-direction: column;
        gap: 8px;
        padding: 10px 2px;
    }
    .footer-logo img {
        height: 28px;
    }
    .footer-info {
        font-size: 0.95rem;
    }
    .footer-social img {
        width: 22px;
        height: 22px;
    }
}
@media (min-width: 901px) {
    .menu-toggle,
    .mobile-menu {
        display: none !important;
    }
    .nav-menu {
        display: flex !important;
    }
}