@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #1A1229;
    color: #C5C1D1;
}

.container {
    width: 80%;
    margin: auto;
    padding: 0 20px;
}

header {
    color: #fff;
    padding: 20px 0;
    min-height: 40px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background-color 0.4s ease;
}

header.scrolled {
    position: fixed;
    background-color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Garante que o header na página de contato tenha fundo */
.contact-page header {
    position: sticky;
    background-color: #333;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 40px;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
}

nav ul {
    list-style: none;
}

header h1 {
    margin: 0;
    font-size: 36px;
    text-transform: uppercase;
}

header nav {
    /* As propriedades de posicionamento absoluto foram removidas */
}

header ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

header li {
    display: inline;
    padding: 0 20px 0 20px;
}

header a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

header a:hover {
    color: #0779e4;
    font-weight: bold;
}

section {
    padding: 40px 0;
    /* border-bottom: 0.1px solid #a9a9a9; */
}

#introduction {
    background: url('https://images.unsplash.com/photo-1542831371-29b0f74f9713?auto=format&fit=crop&q=80') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 120px 0;
    position: relative;
    z-index: 1;
    border-bottom: none;
}

#introduction::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

#introduction h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

#introduction p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

/* Success Cases Section */
#success-cases {
    background-color: transparent;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.case-card {
    background: #2C2043;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.12);
}

.case-card img {
    width: 100%;
    height: auto;
    display: block;
}

.case-content {
    padding: 25px;
}

.case-content h3 {
    margin-top: 0;
    color: #FFFFFF;
}

.case-content p {
    color: #C5C1D1;
    font-size: 15px;
    line-height: 1.7;
}

.case-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #0779e4;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.case-btn:hover {
    background-color: #0568bf;
}

.service-box {
    background: #2C2043;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.service-box h3 {
    color: #FFFFFF;
}

/* Team Section */
#team {
    padding-bottom: 60px; /* Espaço para a paginação do swiper */
}

.team-card {
    background: #2C2043;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin: 10px;
}

.team-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.team-card h3 {
    margin: 10px 0 5px;
    color: #FFFFFF;
}

.team-card p {
    margin: 0;
    color: #C5C1D1;
}

/* Styles for the carousel wrapper */
.team-carousel-wrapper {
    position: relative;
    overflow: hidden;
}

/* Swiper adjustments */
.swiper-container {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 50px;
}

.swiper-pagination {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
}

.swiper-pagination-bullet-active {
    background: #0779e4;
}

/* Footer */
footer {
    background: transparent;
    color: #C5C1D1;
    text-align: center;
    padding: 40px 0 20px;
    margin-top: 40px;
}

.social-media a {
    color: #C5C1D1;
    margin: 0 15px;
    font-size: 24px;
    transition: color 0.3s;
}

.social-media a:hover {
    color: #FFFFFF;
}

/* Contact Form */
#contact-form {
    max-width: 700px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #2C2043;
    border-radius: 5px;
    background-color: #1A1229;
    color: #C5C1D1;
    font-size: 16px;
    box-sizing: border-box; /* Adicionado para consistência de tamanho */
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: #8A819E;
}

#contact-form button {
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: #FFFFFF;
    color: #1A1229;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

#contact-form button:hover {
    background-color: #C5C1D1;
}

#introduction {
    color: #FFFFFF;
    padding: 100px 0;
    text-align: center;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    background-color: transparent;
}

#introduction .background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translate(-50%, -50%);
}

#introduction::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

#introduction .container {
    position: relative;
}

#introduction h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

#introduction p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

/* Success Cases Section */
#success-cases {
    background-color: transparent;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.case-card {
    background: #2C2043;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.12);
}

.case-card img {
    width: 100%;
    height: auto;
    display: block;
}

.case-content {
    padding: 25px;
}

.case-content h3 {
    margin-top: 0;
    color: #FFFFFF;
}

.case-content p {
    color: #C5C1D1;
    font-size: 15px;
    line-height: 1.7;
}

.case-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #0779e4;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.case-btn:hover {
    background-color: #0568bf;
}

.service-box {
    background: #2C2043;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.service-box h3 {
    color: #FFFFFF;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.service-card {
    background: #2C2043;
    padding: 40px 20px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 48px;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.service-card h3 {
    color: #FFFFFF;
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    color: #C5C1D1;
}

/* Team Section */
#team {
    background-color: transparent;
}

.team-card {
    background: #2C2043;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin: 10px;
}

.team-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.team-card h3 {
    margin: 10px 0 5px;
    color: #FFFFFF;
}

.team-card p {
    margin: 0;
    color: #C5C1D1;
}

/* Styles for the carousel wrapper */
.team-carousel-wrapper {
    position: relative;
    overflow: hidden;
}

/* Swiper adjustments */
.swiper-container {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 50px;
}

.swiper-pagination {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
}

.swiper-pagination-bullet-active {
    background: #0779e4;
}

/* Footer */
footer {
    background: transparent;
    color: #C5C1D1;
    text-align: center;
    padding: 40px 0 20px;
    margin-top: 0;
    border: none; /* Garante que não há bordas */
}

.social-media a {
    color: #C5C1D1;
    margin: 0 15px;
    font-size: 24px;
    transition: color 0.3s;
}

.social-media a:hover {
    color: #FFFFFF;
}