@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

body {
    position: relative;
    min-height: 100vh;
    font-family: 'Poppins';
    font-size: 20px;
    color: #fff;
    overflow-x: hidden;
}

/* Fundo fixo em elemento próprio: o tamanho é calculado sempre em
   relação ao viewport, nunca à altura total da página. Isso evita
   o bug de "zoom" no fundo em telas de celular com páginas longas. */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: url('fundologo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin-left: auto;
}

nav li {
    height: 90px;
}

nav a {
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

nav a:hover {
    color: rgba(255, 220, 140, 0.95);
}

.icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: auto;
    min-width: 200px;
    height: 100vh;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.35) 0%,
        rgba(0,0,0,0.10) 40%,
        rgba(0,0,0,0.45) 100%
    );
}

.words {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 1.5rem;
    text-align: center;
}

.word {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    will-change: transform;
}

.word-seguranca {
    font-size: clamp(28px, 6vw, 72px);
    letter-spacing: 0.35em;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 0 40px rgba(255, 180, 60, 0.20);
    animation: drift1 7s ease-in-out infinite alternate;
}

.word-qualidade {
    font-size: clamp(16px, 3vw, 38px);
    letter-spacing: 0.50em;
    color:  rgba(255, 255, 255, 0.92);
    animation: drift2 9s ease-in-out infinite alternate;
}

.word-compromisso {
    font-size: clamp(16px, 3vw, 38px);
    letter-spacing: 0.50em;
    color:  rgba(255, 255, 255, 0.92);
    animation: drift3 10s ease-in-out infinite alternate;
}

.sep {
    width: 40px;
    height: 1px;
    background: rgba(255, 200, 100, 0.30);
    margin: 4px 0;
    animation: drift1 8s ease-in-out infinite alternate;
}

@keyframes drift1 {
    0%   { transform: translateY(0px); }
    100% { transform: translateY(-12px); }
}

@keyframes drift2 {
    0%   { transform: translateY(0px); }
    100% { transform: translateY(-8px); }
}

@keyframes drift3 {
    0%   { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
    .word, .sep { animation: none; }
}

/* Ícones flutuantes fixos no canto esquerdo */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    align-items: center;
}

.about {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 6rem 2rem;
}

.about-box {
    max-width: 1080px;
    width: 100%;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 3rem 3.5rem;
    text-align: center;
}

.about-box .secao {
    font-size: 21px;
    font-weight: 300;
    letter-spacing: 0.40em;
    text-transform: uppercase;
    color: rgba(255, 210, 120, 0.80);
    margin: 0 0 1rem;
}

.about-box h2 {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.20em;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 1.5rem;
    line-height: 1.2;
}

.about-box .sep {
    width: 100%;
    max-width: 1000px;
    height: 1px;
    background: rgba(255, 200, 100, 0.35);
    margin: 0 auto 1.5rem;
}

.about-box h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.20em;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 1.5rem;
    line-height: 1.2;
}

.about-box p {
    font-family: 'Poppins';
    font-size: clamp(15px, 2vw, 21px);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.85;
    margin: 0 0 1rem;
    text-align: justify;
}

.about-box p:last-child {
    margin-bottom: 0;
}

section[id] {
    scroll-margin-top: 90px;
}

/* PARTNERS */
.partners {
    padding: 8rem 2rem 4rem;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.partners > h1 {
    font-size: clamp(22px, 4vw, 36px);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.20em;
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
    margin: 0 0 3rem;
    line-height: 1.2;
}

.partners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.box1, .box2 {
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
    min-height: 300px;
    padding: 2rem 2.5rem;
}

.box3 {
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
    min-height: 300px;
    padding: 2rem 2.5rem;
    grid-column: 1 / -1;
    width: 50%;
    justify-self: center;
}

.partner-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.partner-header img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    display: block;
}

.partner-header h2 {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 6px;
}

.partner-sep {
    width: 24px;
    height: 1px;
    background: rgba(255, 200, 100, 0.35);
}

.box1 p, .box2 p, .box3 p, .box4 p {
    font-size: clamp(15px, 1.8vw, 17px);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.80;
    margin: 0;
}

#serviços {
    background: linear-gradient(
        to bottom,
        rgba(5, 3, 0, 0.60) 0%,
        rgba(20, 10, 0, 0.82) 50%,
        rgba(5, 3, 0, 0.60) 100%
    );
}

#serviços p {
    font-size: 21px;
}

#serviços h2 {
    font-size: 21px;
}

footer {
    text-align: center;
    padding: 1.5rem 2rem;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.10em;
    color: rgba(28, 21, 21, 0.508);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer p {
    color: #fff;
}

/* Seção de contato */
.contact {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.contact .text {
    max-width: 800px;
    width: 100%;
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    min-height: 400px;
}

.contact .text h1 {
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    text-align: left;
}

.contact .text p {
    font-size: clamp(15px, 2vw, 21px);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.85;
    margin: 0;
}

.contact .text h2 {
    font-size: clamp(15px, 2vw, 21px);
    font-weight: 400;
    letter-spacing: 0.30em;
    text-transform: uppercase;
    color: rgba(255, 210, 120, 0.80);
    margin: 0;
}

.contact .text ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
}

.contact .text ul li {
    font-size: clamp(15px, 2vw, 21px);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.70);
}

.contact .text ul li strong {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.90);
}

/* Ícones dentro do card de contato */
.contact .text .img {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    margin-top: auto;
}

/* ── CARROSSEL ── */
#fotos {
    padding: 4rem 2rem;
}

.carousel-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.carousel-wrapper h1 {
    font-size: clamp(22px, 4vw, 36px);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.20em;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2rem;
}

.carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carousel-track-container {
    overflow: hidden;
    border-radius: 14px;
    flex: 1;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    border-radius: 14px;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.20);
    color: #fff;
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: rgba(255, 200, 100, 0.25);
}

/* ==========================================================
   RESPONSIVIDADE
   ========================================================== */

/* Tablets e telas médias */
@media (max-width: 900px) {
    .partners {
        padding: 6rem 1.5rem 3rem;
    }

    .about-box {
        padding: 2.5rem 2rem;
    }

    .box3 {
        width: 100%;
    }

    .box1, .box2, .box3 {
        padding: 1.75rem 2rem;
    }

    .contact .text {
        padding: 2rem 2rem;
        min-height: unset;
    }
}

/* Celulares (paisagem e retrato) */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    body::before {
        background-position: left center;
    }

    /* Esconde os links de texto do menu e mantém apenas o ícone do menu hamburguer */
    nav > ul:not(.sidebar) li:not(.icon) {
        display: none;
    }

    nav > ul:not(.sidebar) {
        justify-content: flex-end;
    }

    nav li.icon {
        height: 70px;
    }

    .sidebar {
        width: 70%;
        min-width: 220px;
    }

    .sidebar a {
        padding: 15px 30px;
        font-size: 14px;
    }

    .about {
        padding: 5rem 1.2rem;
    }

    .about-box {
        padding: 2rem 1.5rem;
    }

    .about-box p {
        text-align: left;
    }

    .partners {
        padding: 5rem 1.2rem 2.5rem;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .box1, .box2, .box3 {
        min-height: unset;
        padding: 1.5rem;
        width: 100%;
    }

    .partner-header img {
        width: 56px;
        height: 56px;
    }

    #serviços p,
    #serviços h2 {
        font-size: 16px;
    }

    .contact {
        padding: 1.2rem;
    }

    .contact .text {
        padding: 1.75rem 1.5rem;
        gap: 1rem;
    }

    .contact .text > div {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1.2rem !important;
    }

    .contact .text .img {
        flex-direction: row;
        align-items: center;
        align-self: flex-start;
    }

    .carousel-slide img {
        height: 260px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
    }

    .whatsapp-float img {
        width: 48px !important;
        height: 48px !important;
    }
}

/* Telas bem pequenas */
@media (max-width: 420px) {
    .word-seguranca {
        letter-spacing: 0.18em;
    }

    .word-qualidade,
    .word-compromisso {
        letter-spacing: 0.30em;
    }

    .about-box h1,
    .about-box h2 {
        letter-spacing: 0.10em;
    }

    .partner-header {
        flex-wrap: wrap;
    }

    .contact .text .img img {
        width: 48px !important;
        height: 48px !important;
    }

    .carousel-slide img {
        height: 200px;
    }
}