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

html, body {
    height: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    padding-top: 80px;
}

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

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
    padding: 0 2%;
    background-color: #000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.header-hidden {
    transform: translateY(-100%);
}

header .div-logo-img {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

header .logo-img {
    width: 10rem;
    height: auto;
}

.div-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.div-menu .div-nav-menu ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.div-menu .div-nav-menu ul li {
    padding: 0 1.5rem;
    cursor: pointer;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #fff;
}

.div-menu .div-nav-menu ul li:hover {
    color: #cf1411;
    transition: 0.3s;
}

/* ===================== */
/* ===  HAMBURGUER   === */
/* ===================== */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    gap: 5px;
    z-index: 1002;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===================== */
/* ===   CARROSSEL   === */
/* ===================== */

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    max-width: 100%;
}

.slide {
    min-width: 100%;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center center;
}


.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: white;
    border: none;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 28px;
    z-index: 10;
    transition: color 0.3s ease, transform 0.3s ease;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.9);
}

.prev:hover, .next:hover {
    color: #cf1411;
    transform: translateY(-50%) scale(1.15);
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.9);
}

.prev { left: 18px; }
.next { right: 18px; }

.dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 6px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background-color: #cf1411;
}

/* ===================== */
/* ===   SR-ONLY     === */
/* ===================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===================== */
/* ===   FADE-IN     === */
/* ===================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================== */
/* ===  QUEM SOMOS   === */
/* ===================== */

section.Quem-Somos {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    padding: 0.63rem 1rem 0;
}

section.Quem-Somos > h2 {
    font-family: 'Montserrat', sans-serif;
}

section.Quem-Somos div {
    width: 100%;
    max-width: 60rem;
}

.qsmswrapper {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 1rem;
}

.qsmswrapper img {
    width: calc(50% - 0.5rem);
    min-width: 0;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

section.Quem-Somos > p {
    margin: 10px 0;
    max-width: 60rem;
    width: 100%;
}

section.Quem-Somos div h3 {
    text-align: center;
    margin-top: 1rem;
}

section.Quem-Somos p {
    text-align: start;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    padding-top: 0.63rem;
}

.Quem-Somos .valores p {
    margin-bottom: 2rem;
}

.missao, .valores, .visao {
    padding: 1rem;
}

section.Quem-Somos .missao p,
section.Quem-Somos .visao p,
section.Quem-Somos .valores p {
    text-align: center;
}

/* ===================== */
/* ===    NÚMEROS     === */
/* ===================== */

.numeros {
    display: flex;
    justify-content: center;
    gap: 3rem;
    background-color: #1a1a1a;
    padding: 3rem 1rem;
    width: 100%;
    flex-wrap: wrap;
}

.numero-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.numero-valor {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #cf1411;
    line-height: 1;
}

.numero-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-align: center;
}

.reverse {
    flex-direction: row-reverse;
}

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

section.services {
    color: #fff;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #cf1411;
    margin-top: 1rem;
}

section.services p {
    font-family: 'Open Sans', sans-serif;
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.92);
}

.services > h2 {
    width: 100%;
    text-align: center;
    padding: 1.5rem 0 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.03em;
}

.services h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    padding-bottom: 0.75rem;
    text-align: left;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 0.75rem;
}

.img-service, .text-service {
    width: 50%;
}

.text-service {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 0.5rem;
}

.services img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.service-simple {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1.25rem 1rem;
    gap: 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.service-simple:last-child {
    border-bottom: none;
}

.service-simple:nth-child(even) {
    flex-direction: row-reverse;
}

.container-services {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    width: 100%;
}

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

section.contato {
    padding: 3rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

section.contato h2 {
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    font-family: 'Montserrat', sans-serif;
}

.form-contato {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-group label {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: 'Open Sans', sans-serif;
}

.form-group textarea {
    resize: none;
    min-height: 120px;
}

.form-contato button {
    padding: 12px;
    background-color: #cf1411;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.form-contato button:hover {
    background-color: #a50f0d;
}

.form-status {
    margin-top: 1rem;
    padding: 12px 16px;
    border-radius: 6px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    text-align: center;
    width: 100%;
    max-width: 600px;
}

.form-status.sucesso {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.erro {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===================== */
/* ===    FOOTER     === */
/* ===================== */

footer {
    width: 100%;
    min-height: 8rem;
    background-color: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 1rem;
    gap: 0.5rem;
}

.social-media {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.social-media div {
    width: 2rem;
    height: 2rem;
    background-position: center;
    background-size: contain;
    margin-right: 10px;
    border-radius: 10px;
}

.social-media .whatsapp {
    background-image: url("/icons/whatsapp.png");
}

.social-media .facebook {
    background-image: url("/icons/facebook.png");
    background-color: #fff;
}

.social-media .instagram {
    background-image: url("/icons/instagram.png");
}

footer .empresa-text p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    padding: 5px 10px;
    text-align: center;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===================== */
/* === WHATSAPP FLOAT === */
/* ===================== */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #28a61b;
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.whatsapp-float a:hover {
    filter: brightness(0.85);
    transform: translateY(-2px);
}

.whatsapp-float img {
    width: 20px;
    height: 20px;
}

/* ========================== */
/* ===    MEDIA QUERIES    === */
/* ========================== */

/* DESKTOP */
@media (min-width: 1025px) {
    .service-simple {
        gap: 2rem;
    }

    .container-services {
        gap: 1rem;
    }
}

/* TABLET: hamburguer ativa */
@media (max-width: 1024px) {
    body {
        padding-top: 70px;
    }

    header {
        height: 4.5rem;
        padding: 0 4%;
    }

    /* Mostra o botão hamburguer */
    .hamburger {
        display: flex;
    }

    /* Esconde social media do header */
    header .social-media {
        display: none;
    }

    /* Menu mobile: dropdown abaixo do header */
    .div-menu {
        position: fixed;
        top: 4.5rem;
        left: 0;
        width: 100%;
        background-color: #000;
        flex-direction: column;
        align-items: center;
        display: none;
        z-index: 999;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        padding: 1rem 0;
    }

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

    .div-menu .div-nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .div-menu .div-nav-menu ul li {
        padding: 0.85rem 2rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #e0e0e0;
    }

    .div-menu .div-nav-menu ul a:last-child li {
        border-bottom: none;
    }

    /* Carrossel */
    .slide img {
        height: 320px;
    }

    /* Quem Somos */
    section.Quem-Somos div {
        width: 100%;
        max-width: 100%;
    }

    /* Serviços */
    .container-services {
        max-width: 100%;
        padding: 0 1rem;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    header {
        height: 3.75rem;
        padding: 0 4%;
    }

    .div-menu {
        top: 3.75rem;
    }

    header .logo-img {
        width: 7.5rem;
    }

    /* Carrossel */
    .slide {
        aspect-ratio: 1600 / 666;
    }

    .slide img {
        height: 100%;
        object-fit: cover;
    }

    .prev, .next {
        padding: 8px 12px;
        font-size: 18px;
    }

    /* Serviços: coluna única */
    .service-simple,
    .service-simple:nth-child(even) {
        flex-direction: column-reverse;
    }

    .img-service,
    .text-service {
        width: 100%;
    }

    .services img {
        padding: 0;
        margin-bottom: 0.75rem;
    }

    .img-service {
        margin-top: 1rem;
    }

    /* Footer */
    footer .empresa-text p {
        font-size: 0.85rem;
    }

    /* WhatsApp float: esconde texto no mobile */
    .whatsapp-float a {
        padding: 10px 12px;
    }

    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float img {
        width: 28px;
        height: 28px;
    }
}

/* MOBILE PEQUENO */
@media (max-width: 480px) {
    .div-menu .div-nav-menu ul li {
        font-size: 1.2rem;
    }

    section.contato {
        padding: 2rem 0.75rem;
    }
}
