* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

html, body {
    overflow-x: hidden;
}

body {
    background: linear-gradient(180deg, #979797, #6e6e6e);
}

/* HERO */
.hero {
    background: url('/banner_4.jpg') no-repeat center center;
    background-size: cover;
    height: 45vh;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 75%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
    gap: 20px;
}

/* LINHA DOURADA (FIXA, SEM LOADING) */
.hero-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;

    background: linear-gradient(
        90deg,
        transparent,
        #ffee00,
        #ffd700,
        #ffee00,
        transparent
    );

    box-shadow: 0 0 8px #ffee00;

    opacity: 0;
    animation: aparecerLinha 1s ease forwards;
}

@keyframes aparecerLinha {
    to { opacity: 1; }
}

.logo-banner img {
    max-width: 270px;
}

/* MENU */
.menu-banner {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* SELECT IDIOMA */
.lang-selector {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.lang-selector select {
    background: rgba(0, 0, 0, 0.7);
    color: #ffee00;
    border: 1px solid #ffee00;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer;
    outline: none;

    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

/* BOTÕES */
button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    background-color: #222;
    color: #eee;
    padding: 15px;
    border: none;
    border-radius: 30px;
    cursor: pointer;

    transition: all 0.3s ease;
}

button:hover {
    background-color: #181818;
    box-shadow: 0 0 10px #ffee00,
                0 0 20px #ffee00,
                0 0 30px rgba(255, 238, 0, 0.4);
    transform: translateY(-5px);
}

button:active {
    background-color: #111;
}

ion-icon {
    color: #ffee00;
    font-size: 28px;
}

/* MAIN */
main {
    color: #111;
    margin: 20px;
    padding: 50px;
    background-color: #808080;
}

main h2 {
    padding: 20px;
    margin: 0 20px;
    letter-spacing: 1px;
}

/* ABOUT */
.about {
    padding: 20px;
    color: #000;
}

.about b {
    font-size: 20px;
}

/* TEXTO */
p {
    font-size: 1.2em;
    line-height: 1.6;
}

/* ANIMAÇÃO AO ENTRAR */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: aparecer 0.8s ease forwards;
}

@keyframes aparecer {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 10px 20px;
}

.card-service {
    background-color: #1a1a1a;
    border-radius: 22px;
    overflow: hidden;
    transition: 0.4s;
    position: relative;
}

.card-service img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-service:hover img {
    transform: scale(1.1);
}

.card-service h3 {
    margin: 20px 0 10px;
    text-align: center;
    color: #ffee00;
}



.card-service p {
    padding: 0 22px 28px;
    color: #eee;
    text-align: center;
}

.card-service:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 238, 0, 0.3);
}


#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;

    background: #1a1a1a;
    color: #ffee00;
    border: none;
    border-radius: 50%;

    width: 55px;
    height: 55px;

    font-size: 22px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 0 10px rgba(0,0,0,0.4);

    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* quando aparece */
#backToTop.show {
    opacity: 1;
    pointer-events: auto;
}

/* hover bonito */
#backToTop:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 10px #ffee00,
                0 0 20px #ffee00;
}


/* CONTACT */
section {
    background-color: #000;
    padding: 40px;
}

.dupla {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

/* TÍTULO CONTACTOS */
.titulo-contatos {
    width: 100%;
    text-align: left;
    font-size: 2em;
    color: #ffee00;
    margin-bottom: 30px;
    border-left: 4px solid #ffee00;
    padding-left: 12px;
}

/* BOXES */
.box {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 500px;
    align-items: center;
    text-align: center;
}

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}


.box h2 {
    color: #ffee00;
}

/* BOTÕES CONTACT */
.buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center; 
    align-items: center; 
}

/* LINHA */
.linha-vertical {
    width: 2px;
    height: 230px;
    background: linear-gradient(#000, #ffee00, #000);
}

/* LINKS */
p a {
    color: #eee;
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}

/* FOOTER LINKS */
.links {
    background-color: #867900;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 40px;
    padding: 20px 40px;
}

.links p {
    font-size: 0.85em;
}

.links a {
    color: #eee;
    text-decoration: none;
    opacity: 0.8;
}

.links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* FOOTER */
footer {
    background: #867900;
    color: white;
    text-align: center;
    padding: 12px;
}

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

/* MOBILE */
@media (max-width: 768px) {

    .hero {
        height: auto;
        padding: 40px 20px;
    }

    .hero-content {
        flex-direction: column;
        gap: 20px;
        padding: 0;
        height: auto;
        text-align: center;
    }

    .logo-banner img {
        max-width: 200px;
    }

.menu-banner {
    flex-wrap: wrap;
    justify-content: center;
}

    button {
        padding: 10px;
    }

    ion-icon {
        font-size: 22px;
    }

    .lang-selector {
        position: static;
        margin-top: 10px;
    }

    main {
        margin: 10px;
        padding: 25px 15px;
    }

    p {
        font-size: 1em;
    }


    .dupla {
        flex-direction: column;
    }

    .linha-vertical {
        display: none;
    }

    .titulo-contatos {
        text-align: center;
        border-left: none;
        border-bottom: 3px solid #ffee00;
        padding-left: 0;
        padding-bottom: 10px;
    }
}