@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    font-family: 'Barlow', sans-serif;
    font-weight: normal;
    font-style: normal;
}

body {
    display: flex;
    flex-direction: column;
    padding: 0;
    width: 100vw;
}

/* ------ HEADER -------- */

.header {
    width: 100%;
    min-height: 80px;
    display: flex;
    justify-content: end;
    align-items: center;
    background-color: transparent;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 0%;
    padding: 0 10%;
    left: 50%;
    z-index: 1;
    margin-top: 2.5rem;
}

.header * {
    font-size: 1.2rem;
    color: #ffff;
}

.logo {
    margin-right: auto;
    text-decoration: none;
    color: #ffff;
}

.logo-text,
.logo-text span {
    font-size: 2rem;
    font-weight: 800;
}

.vermelho {
    color: red;
}

.ul-nav {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 3rem;
    list-style: none;
}

.ul-nav a{
    text-decoration: none;
    font-size: 1.4rem;
    font-family: 'IBM Plex Sans', sans-serif;
    transition: 0.3s ease;
}

.ul-nav a:hover {
    color: rgba(255, 255, 255, 0.5);
}

.settings-btn {
    margin-left: 3rem;
    border: none;
    background-color: transparent;
    cursor: pointer;
    color: #ffff;
}

.settings-ico {
    font-size: 1.5rem;
    display: inline-block;
}

.desktop-icon {
    transition: 0.3s ease;
}

.desktop-icon:hover .settings-ico {
    transform: rotate(45deg);
}

/* ====== MAIN ======== */

:root {
    --line-color: #222222;
    --second-color: #e2e2e2;
    --form-color: rgb(57, 57, 206);
}

body,
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin: 0 auto;
    width: 100%;
}


main {
    overflow: hidden;
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 45rem;
    width: 100%;
    /* border-bottom: 1px solid var(--line-color); */
    position: relative;
    box-shadow: 0px 0px 5px rgba(34, 34, 34, 0.2);
}

.img-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(50%);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;

    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);

    white-space: nowrap;
    border: 0;
}

/* ========= CARD =========  */

.card {
    position: relative;
    width: 90%;
    height: clamp(10rem, 40vw, 30rem);
    background: transparent;
}

/* ---------- CARD CONTENT ---------- */

.card-content {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: clamp(1.5rem, 5vw, 7rem);

    background: var(--second-color);
    box-shadow: 0 5px 10px rgba(34, 34, 34, .5);

    transform: translate(-50%, -50%);
}

/* ---------- CARD HEADER ---------- */

.card-header {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: clamp(.5rem, 1vw, 1rem);
}

.card-header * {
    margin: 0;
    font-weight: 700;
}

.card-number {
    font-size: clamp(5rem, 10vw, 10rem);
}

.card-title {
    display: flex;
    flex-direction: column;

    margin-top: 1rem;

    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1;
}

/* ---------- CARD BODY ---------- */

.card-body {
    width: 40rem;
    margin: auto;
}

.card-body p {
    font-size: clamp(.875rem, 2vw, 1rem);
}

/* ---------- CARD IMAGE ---------- */

.card-image {
    position: absolute;

    top: 47%;
    left: 100%;

    width: 15%;
    height: 75%;

    overflow: hidden;

    transform: translate(-50%, -50%);

    box-shadow: 5px 0 20px 5px rgba(255,255,255,.3);
}

.card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- VARIATIONS ---------- */

.foundation .card-content {
    top: 40%;
    left: 40%;
    z-index: 3;
}

.mission .card-content {
    top: 30%;
    left: 60%;
    z-index: 2;

    flex-direction: row-reverse;
}

.about .card-content {
    top: 20%;
    left: 40%;
    z-index: 1;
}

.mission .card-image {
    left: 0%;
}

/* ===== CONTACT ===== */

.contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 3rem;
    padding-top: 0rem;
}

.contact-content{
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 15%;
    align-items: stretch;
}

/* ===== FORM CONTATO ===== */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 10rem;
    min-width: 50%;
}

.contact-form-title {
    font-weight: 800;
    font-size: 1.7rem;
    margin: 0;
}

.contact-input {
    background-color: var(--second-color);
    border: none;
    padding: 1rem;
    border-radius: 5px;
    width: 100%;
}

.contact-input:focus {
    outline: 1px solid var(--line-color);
}

.contact-submit {
    cursor: pointer;
    background-color: var(--line-color);
    color: #ffff;
    font-weight: 600;
}

/* ===== LISTA CONTATO ===== */

.contact-info {
    justify-content: center;
    align-items: flex-start;
    margin: 0 auto;
    display: flex;

    padding: 0;
    gap: 1rem;
}

.contact-info * {
    text-decoration: none;
    list-style: none;
    color: #222222;
    margin: 0;
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.contact-info-bar {
    width: 1rem;
    height: 100%;

    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    display: flex;

    position: relative;

    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    background-color: rgba(34, 34, 34, 1);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border-radius: 16px;
}

.contact-info-bar::before {
    transform: translate(-50%, -50%);
    position: absolute;
    content: "";
    left: 50%;
    top: -5%;
    
    aspect-ratio: 1;
    width: 100%;
    
    background: rgba(34,34,34,1);
    border-radius: 50%;
}

.contact .contact-info-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-list {
    flex-direction: column;
    display: flex;
    padding: 0;
    gap: 1.5rem;
}

.contact-action {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    border: none;
    background-color: transparent;
    font-size: 1rem;
    padding: 0;
}

.contact-action,
.contact-action i {
    transition: 0.3s ease;
}

.contact-action:hover,
.contact-action:hover i {
    color: rgba(34, 34, 34, 0.5);
}

.copy-button{
    position: relative;
}

.copy-button:hover {
    cursor: pointer;
}

.copy-button:active {
    color: blue;
}

.copy-button:hover::after {
    content: attr(data-tooltip);
    position: absolute;

    left: 70%;
    top: 100%;

    transform: translateX(-50%);
    margin-top: 8px;

    padding: 4px 8px;
    border-radius: 2px;
    background: #222;
    color: white;
    font-size: .8em;
    white-space: nowrap;
}

/* ======== FOOTER ========= */

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    width: 100%;
}

.footer .logo {
    color: #222222;
    margin: 0;
}

/* Funções */

.mobile-menu {
    display: none;
}

.mobile-icon {
    display: none;
}

.success-message{
    position: fixed;

    left: 50%;
    bottom: -200px;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 1rem;

    padding: 1.2rem 2rem;

    background: #fff;
    color: #222;

    border-radius: 14px;

    box-shadow: 0 15px 40px rgba(0,0,0,.2);

    font-size: 1.1rem;
    font-weight: 600;

    z-index: 9999;

    transition: .6s cubic-bezier(.22,1,.36,1);
}

.success-message.show{
    bottom: 50%;
    transform: translate(-50%,50%);
}

.success-message i{
    color: #22c55e;
    font-size: 1.7rem;
}

/* Laptops */
@media (max-width: 1024px) {
    .card {
        width: 100%;
    }

    .card .card-content {
        padding: 0;
    }

    .card .card-image {
        position: static;
        transform: none;  
        width: 40%;
        height: 100%;
        margin: 0;
    }

    .mission .card-content,
    .foundation .card-content,
    .about .card-content {
        transform: none;
        position: static;
        gap: 2.5%;
    }

    .contact {
        padding: 3rem 0;
        padding-top: 5rem;
    }

    .contact-content {
        padding: 1rem;
    }

    .contact-form{
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 0 5%;
        align-items: stretch;
    }
}

/* Tablets */
@media (max-width: 768px) {

    /* ===== HEADER ===== */

    header {
        margin-top: 2rem;
    }

    header nav {
        display: none;
    }

    .hero {
        height: 20rem;
    }

    /* ===== MAIN ===== */

    main {
        overflow: visible;
        position: static;
    }

    /* ===== MOBILE MENU ===== */

    .mobile-menu-header {
        display: flex;
        font-size: 1rem;
        margin: 1.5rem 0;
    }

    .logo-text, 
    .logo-text span {
        font-size: 1.2rem;
        font-weight: 800;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        right: 0;

        width: 100%;
        min-width: 150px;
        height: 40vh;

        background: #222;
        z-index: 1;

        transform: translateY(-100%);
        transition: transform .4s ease;

        border-radius: 0px 0px 10px 10px;

        display: flex;
        flex-direction: column;
        padding: 0.5rem 10%;
    }

    #close-menu {
        font-size: 1rem;
        margin-left: auto;
    }

    .mobile-menu-list {
        display: flex;
        justify-content: flex-end;
        align-items: flex-start;
        margin-top: 2rem;
        flex-direction: column;
        list-style: none;
        text-decoration: none;
        display: flex;
        color: #ffff;
        gap: 3rem;
        padding: 0;
        width: 100%;
    }

    .mobile-menu-list * {
        text-decoration: none;
        list-style: none;
        color: #ffff;
    }
    
    .mobile-menu-action {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0.5rem;
        border: none;
        background-color: transparent;
        font-size: 1rem;
        padding: 0;
    }

    .mobile-menu-action,
    .mobile-menu-action i {
        transition: 0.3s ease;
    }

    .mobile-menu-action:hover,
    .mobile-menu-action:hover i {
        color: rgba(255, 255, 255, 0.5);
    }

    /* ===== CARD ===== */

    .card {
        height: auto;
    }

    .card .card-content {
        flex-direction: column;
        height: auto;
    }

    .card .card-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        margin: 3rem 0;
    }

    .card-number {
        font-size: 4rem;
    }

    .card-title {
        margin: 0;
        font-size: 4rem;
    }

    .card .card-body {
        width: 100%;
    }

    .card .card-body p {
        font-size: 1.5rem;
    }

    .card .card-image {
        height: 250px;
    }

 /* ====================== */

    .foundation .card-content{
        padding: 2rem;
    }

    .foundation .card-image{
        margin-left: auto;
        height: 20rem;
        width: 12rem;
    }

/* ========================== */

    .mission .card-content{
        padding: 2rem;
    }

    .mission .card-image{
        margin-right: auto;
        height: 20rem;
        width: 12rem;
    }

/* ========================== */

    .about .card-content{
        padding: 2rem;
    }

    .about .card-image{
        margin-left: auto;
        height: 20rem;
        width: 12rem;
    }

/* ========================== */

    /* ===== CONTACT ===== */

    .contact .items {
        flex-direction: column;
        align-items: center;
        gap: 5rem;
    }

    .contact .form {
        width: 100%;
    }

    .contact .contact-info {
        display: none;
    }

    /* Funções Mobile */

    .desktop-icon {
        display: none;
    }

    .mobile-icon {
        display: inline-block;
    }

    .mobile-menu.active {
        transform: translateY(0%);
    } 

    .success-message{
        width: calc(100% - 2rem);
        justify-content: center;
        text-align: center;
        padding: 1rem;
        font-size: 1rem;
    }
}


/* Celulares */
@media (max-width: 480px) {}



    
    



