/* =====================================
   RESET
===================================== */
/* ========= RESET ========= */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #08111f;
    color: #fff;
    font-family: "Segoe UI", sans-serif;
    line-height: 1.7;
}

/* ========= CONTAINER ========= */

.container {
    width: 90%;
    max-width: 1280px;
    margin: auto;
}

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

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(7, 13, 24, 0.85);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255,255,255,.08);
}

header .container {
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    display: flex;
    flex-direction: row; /* texto à esquerda, imagem à direita */
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end; /* empurra a imagem para a direita */
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* .card::before {

    content: "";

    position: absolute;

    top: -100%;

    left: -100%;

    width: 200%;

    height: 200%;

    background:

    linear-gradient(
        45deg,
        transparent,
        rgba(255,255,255,.1),
        transparent
    );

    transform: rotate(25deg);

    transition: .8s;

}

.card:hover::before {

    top: 100%;
    left: 100%;

} */

.logo a {
    color: white;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
}

nav a {
    color: #fff;
    text-decoration: none;
    transition: .3s;
}

nav a:hover {
    color: #36b8ff;
}

/* ========= HERO ========= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    background:
    radial-gradient(circle at top right,
    rgba(0,145,255,.35),
    transparent 40%),

    linear-gradient(
    135deg,
    #07111e,
    #0d2037);
}

.hero h1 {
    font-size: 64px;
    max-width: 800px;
    margin-bottom: 25px;
}

.hero p {
    color: #c6d2df;
    max-width: 700px;
    font-size: 20px;
    margin-bottom: 40px;
}

/* ========= BOTÕES ========= */

.btn,
button,
.back-home {

    display: inline-block;

    padding: 14px 30px;

    border-radius: 10px;

    background: linear-gradient(
    90deg,
    #008cff,
    #00b8ff);

    color: white;

    text-decoration: none;

    border: none;

    cursor: pointer;

    transition: .3s;
}

.btn:hover,
button:hover,
.back-home:hover {

    transform: translateY(-3px);

    box-shadow: 0 0 25px rgba(0,150,255,.5);

}

/* ========= SEÇÕES ========= */

section {
    padding: 120px 0;
}

section h2 {

    font-size: 42px;

    margin-bottom: 40px;

}

/* ========= CARDS ========= */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 30px;
}

.card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 35px;
    transition: .4s;
}


.card:hover::before {
    top: 100%;
    left: 100%;
}

.card:hover {

    transform: translateY(-8px);
    border-color: #00b7ff;

    transform:
        translateY(-12px)
        scale(1.08);

    /* border-color: #0dff00; */

    background: linear-gradient(
        135deg,
        rgba(46, 7, 2, 0.25),
        rgba(2, 19, 57, 0.15)
    );

    box-shadow:
        0 0 20px rgba(187, 191, 195, 0.4),
        0 0 40px rgba(172, 178, 183, 0.3),
        0 0 70px rgba(197, 202, 205, 0.15);
}

/* .card:hover {
    transform: translateY(-12px) scale(1.03);

    border-color: #00b7ff;

    background: linear-gradient(
        145deg,
        rgba(18,35,60,.98),
        rgba(8,17,31,.98)
    );

    box-shadow:
        0 0 20px rgba(0,150,255,.25),
        0 15px 40px rgba(0,150,255,.25);

    z-index: 10;
} */

.card h3 {
    color: #d4d8df;
    margin-bottom: 20px;
    transition: color .3s;
}

/* COR CARDS - DO TITULO CARD COM MOUSE EM CIMA*/
.card:hover h3 {
    color: #1d7110;
}

.card p {
    color: #c9d5e2;
    transition: color .3s;
}
/* COR CARD - TEXTO DO SERVICO COM MOUSE EM CIMA */
.card:hover p {
    color: #6b5f9f;
}


/* =======================
   PARCEIROS
======================= */

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    gap: 30px;
}

.partners-grid a {
    background: rgba(16,25,42,.95);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    padding: 25px;
    min-height: 300px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-decoration: none;
    color: white;

    transition: .3s;
}

.partners-grid a:hover {
    transform: translateY(-8px);
    border-color: #00b7ff;
}

.partner-image {
    width: 100%;
    height: 170px;

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

    margin-bottom: 20px;
}

.partner-image img {
    max-width: 170px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partners-grid span {
    margin-top: auto;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}

/* ======== Partners ===== */

/* =======================
   TECNOLOGIAS
======================= */

.technologies-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));

    gap: 30px;

}

.technologies-grid a {

    background: rgba(16,25,42,.95);

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 20px;

    padding: 25px;

    text-decoration: none;

    color: white;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: flex-start;

    min-height: 320px;

    transition: .3s;

}

.technologies-grid a:hover {

    transform: translateY(-10px);

    border-color: #00b7ff;

    box-shadow: 0 10px 30px rgba(0,140,255,.25);

}

/* =======================
   PARCEIROS
======================= */

.partner-image {

    width: 100%;

    height: 170px;

    display: flex;

    justify-content: center;

    align-items: center;

    margin-bottom: 20px;

}

/* Logo */
.partner-image img {

    max-width: 170px;

    max-height: 120px;

    width: auto;

    height: auto;

    object-fit: contain;

}

/* Nome */
.technologies-grid span {

    margin-top: auto;

    font-size: 20px;

    font-weight: 600;

    text-align: center;

}

.partner-image img {

    max-width: 85%;

    max-height: 100px;

    object-fit: contain;

}
/* ========= FAQ ========= */

.faq-item {

    background: rgba(255,255,255,.05);

    padding: 30px;

    margin-bottom: 20px;

    border-radius: 16px;

}

.faq-item h3 {

    margin-bottom: 15px;

    color: #49bfff;

}

.faq-item p {

    color: #d4dbe4;

}

/* ========= FORM ========= */

form {

    display: flex;

    flex-direction: column;

    gap: 20px;

    max-width: 800px;

}

input,
textarea {

    background: rgba(255,255,255,.05);

    border: 1px solid rgba(255,255,255,.08);

    color: white;

    padding: 18px;

    border-radius: 12px;

    outline: none;

}

textarea {

    min-height: 180px;

    resize: vertical;

}

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

footer {

    border-top: 1px solid rgba(255,255,255,.08);

    text-align: center;

    padding: 40px 0;

    color: #98a7b8;

}

/* ========= VOLTAR AO TOPO ========= */

.back-home {

    margin-top: 50px;

}

/* ========= RESPONSIVO ========= */

@media(max-width:900px){

    nav ul {

        gap: 15px;

        font-size: 14px;

    }

    .hero h1 {

        font-size: 48px;

    }

}

@media(max-width:768px){

    header .container {

        flex-direction: column;

        height: auto;

        padding: 20px 0;

    }

    nav ul {

        flex-wrap: wrap;

        justify-content: center;

        margin-top: 15px;

    }

    .hero {

        text-align: center;

    }

    .hero h1 {

        font-size: 40px;

    }

    section h2 {

        font-size: 34px;

    }

    footer {

        background:
        linear-gradient(
            180deg,
            #07111e,
            #040912);
    
        border-top: 1px solid rgba(255,255,255,.08);
    
        padding: 80px 0;
    
    }
    
    .footer-content {
    
        text-align: center;
    
    }
    
    .footer-content h3 {
    
        font-size: 30px;
    
        margin-bottom: 25px;
    
        color: #00b7ff;
    
    }
    
    .footer-content p {
    
        margin: 12px 0;
    
        color: #c9d3df;
    
    }
    
    .footer-content a {
    
        color: #00b7ff;
    
        text-decoration: none;
    
    }
    
    .footer-content hr {
    
        margin: 30px auto;
    
        max-width: 500px;
    
        border-color: rgba(255,255,255,.08);
    
    }

    /* HERO */
.hero {
    padding: 100px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

/* HERO */
.hero .hero-content {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero .hero-text {
    width: 50%;
}

.hero .hero-image {
    width: 50%;
    display: flex;
    justify-content: center;
}

.hero .hero-image img {
    width: 100%;
    max-width: 650px;
    height: auto;
}


#team .card img.team-avatar{
    width: 110px !important;
    height: 110px !important;
    max-width: 110px !important;
    border-radius: 50%;
    object-fit: cover;
}
.team-avatar{
    width:80px;
    height:80px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:15px;
    border:3px solid #007bff;
}

.team-user{
    display:block;
    margin-bottom:15px;
    color:#007bff;
    text-decoration:none;
    font-weight:600;
}

.team-user:hover{
    text-decoration:underline;
}

.team-roles{
    list-style:none;
    padding:0;
    margin:0;
}

.team-roles li{
    margin-bottom:8px;
    color:#ccc;
    font-size:0.95rem;
}

/* Responsivo */
@media (max-width: 900px) {
    .hero .hero-content {
        /* flex-direction: column; */
    }

    .hero .hero-text,
    .hero .hero-image {
        width: 100%;
        text-align: center;
    }

    .hero .hero-image img {
        max-width: 400px;
    }
}


}

/* =====================================
   EQUIPE
===================================== */
#team .card{
 display:flex;
 flex-direction:column;
 align-items:center;
 text-align:center;
}
#team .team-avatar{
 width:110px;
 height:110px;
 border-radius:50%;
 overflow:hidden;
 border:3px solid #00b7ff;
 margin-bottom:20px;
}
#team .team-avatar img{
 width:100%;
 height:100%;
 object-fit:cover;
 display:block;
}
#team .team-user{
 color:#00b7ff;
 text-decoration:none;
 font-weight:600;
 margin-bottom:15px;
}
#team .team-roles{
 list-style:none;
 padding:0;
 margin:0;
}
#team .team-roles li{
 margin-bottom:8px;
}
