/* Estilos específicos para a página inicial - visual moderno tech com credibilidade */

/* Hero Section Styles */
.hero {
    height: 100vh;
    min-height: 100vh;
    width: 100%;
    display: flex;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-with-bg {
    background-image: url('../images/background-office.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 26, 48, 0.7);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-caption-footer {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.hero-title {
    font-family: 'AvenirLTStd-Light';
    font-weight: 300;
    font-size: 10rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-family: 'AvenirLTStd-Light';
    font-size: 10rem;
    color: #ffffff;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 10rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 10rem;
    }
}

@media (max-width: 767px) {
    .hero-caption-footer {
        text-align: center;
    }

    .hero .col-lg-6 {
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }
}

/* Mission Statement Styles */
.mission-statement {
    padding: 1rem 0;
    text-align: center;
    background-color: var(--primary-color);
    margin: 10rem 0;
    border-radius: 1px;
}

.mission-statement-text {
    font-family: 'AvenirLTStd-Light';
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.2;
    padding: 1rem 1rem;
    position: relative;
}

.quote-line-container {
    position: relative;
    margin-bottom: 0.25rem;
    display: block;
    overflow: hidden;
}

.quote-line-faded {
    color: rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

.quote-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: white;
    z-index: 2;
    clip-path: polygon(0 0, 0% 0, 0% 100%, 0% 100%);
    transition: clip-path 0.1s ease;
}

/* All line fills are now white */
.quote-line-fill {
    color: white;
}


/* Section Transitions and Continuity Effects */
.section-transition {
    position: absolute;
    left: 0;
    right: 0;
    height: 120px;
    overflow: hidden;
    z-index: 2;
}

.transition-top {
    top: -60px;
    transform: translateY(1px); /* Previne gap entre seções */
}

.transition-bottom {
    bottom: -60px;
    transform: translateY(-1px); /* Previne gap entre seções */
}

.wave-divider {
    position: absolute;
    left: 0;
    width: 100%;
    height: 120px;
    background-color: inherit;
}

.wave-divider.wave-top {
    bottom: 0;
    border-radius: 70% 70% 0 0;
}

.wave-divider.wave-bottom {
    top: 0;
    border-radius: 0 0 70% 70%;
}

.diagonal-divider {
    position: absolute;
    left: 0;
    width: 100%;
    height: 120px;
    background-color: inherit;
}

.diagonal-divider.diagonal-top {
    bottom: 0;
    clip-path: polygon(0 35%, 100% 0, 100% 100%, 0% 100%);
}

.diagonal-divider.diagonal-bottom {
    top: 0;
    clip-path: polygon(0 0, 100% 0, 100% 65%, 0 100%);
}

.section-overlap {
    position: relative;
    z-index: 2;
    margin-top: -80px;
}

.bg-primary-dark {
    background-color: var(--primary-color);
}

.bg-primary-medium {
    background-color: var(--navy-blue);
}

.bg-light-custom {
    background-color: var(--light-gray);
}

.bg-white-custom {
    background-color: var(--white);
}

/* Fontes e tipografia */
/* Avenir Pro já está sendo importado no base.html */

/* Elementos de destaque */
.text-highlight {
    color: var(--secondary-color);
    position: relative;
}

.text-accent {
    color: var(--secondary-color);
    position: relative;
}

.text-high-contrast {
    color: var(--primary-color); /* Cor azul escuro para contraste */
    font-weight: 700;
}

/* Texto laranja em fundos escuros para manter o contraste */
.bg-primary-dark .text-highlight,
.bg-primary-dark .text-accent,
.bg-primary-medium .text-highlight,
.bg-primary-medium .text-accent,
.navbar .text-highlight,
.navbar .text-accent,
.hero .text-highlight,
.hero .text-accent {
    color: var(--secondary-color-alt);
}

/* Seção com vídeo de fundo - Impact Statement */
.impact-statement-section {
    min-height: 100vh !important; /* Força a altura mínima para ocupar toda a tela */
    height: 100vh !important; /* Define altura exata da viewport */
    display: flex;
    align-items: center; /* Centraliza o conteúdo verticalmente */
    justify-content: center; /* Centraliza horizontalmente */
    padding: 0; /* Remove padding para garantir altura total */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.video-foreground {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-foreground iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 26, 48, 0.7); /* Overlay escuro para melhorar contraste com texto */
}

.impact-statement-section .mission-statement-text {
    text-align: center; /* Centraliza o texto */
    font-size: 2rem; /* Tamanho menor para o texto conforme solicitado */
    line-height: 1.6;
    z-index: 2; /* Garante que o texto fique sobre o vídeo */
    position: relative;
    margin: 0 auto;
    max-width: 85%; /* Reduz um pouco a largura máxima */
    left: 0; /* Garante que não haja deslocamento para esquerda */
    right: 0; /* Garante que não haja deslocamento para direita */
    width: 100%; /* Garante que ocupe toda a largura disponível */
}

/* Hero Section */
.hero.hero-with-bg {
    background-image: url('../images/background-office.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 92vh;
    display: flex;
    align-items: center;
    position: relative;
    background-attachment: fixed;
    overflow: hidden; /* Para os elementos geométricos não vazarem */
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(9, 26, 48, 0.6) 0%, rgba(23, 49, 79, 0.6) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Elementos geométricos para efeito tech no hero (removidos) */
.hero:before {
    content: none;
}

.hero:after {
    content: none;
}

.hero-content {
    padding: 2rem 0;
    position: relative;
    z-index: 3;
}

.hero-caption-footer {
    position: relative;
    z-index: 3;
    margin-top: auto;
    padding: 0.5rem 0;
    margin-bottom: 0;
}

.hero-title {
    font-family: 'AvenirLTStd-Light';
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-family: 'AvenirLTStd-Light';
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto;
}

.main-heading {
    font-family: 'AvenirLTStd-Light';
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--white);
    position: relative;
    letter-spacing: -1px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.main-heading:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--secondary-color-alt);
    bottom: -15px;
    left: 0;
    border-radius: 1px;
}

.hero-subtitle {
    font-family: 'AvenirLTStd-Light';
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 90%;
}

.hero-buttons .btn {
    padding: 0.9rem 2.2rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition-medium);
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-buttons .btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease-in-out;
    z-index: -1;
}

.hero-buttons .btn:hover:before {
    left: 0;
}

.hero-buttons .btn-secondary {
    background: var(--secondary-gradient);
    border: none;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn-outline-light {
    border-width: 2px;
}

/* Section Transitions Visual Elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    z-index: 2;
    opacity: 0.35;
    filter: blur(30px);
    transition: all 0.8s ease-in-out;
    display: block; /* Mostrando os elementos flutuantes para efeito tech */
    animation: floatAnimation 15s infinite alternate ease-in-out;
}

@keyframes floatAnimation {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(15px, -15px) scale(1.1);
    }
    100% {
        transform: translate(-15px, 15px) scale(0.95);
    }
}

.floating-element.accent {
    background-color: var(--secondary-color);
}

.floating-element.primary {
    background-color: var(--tertiary-color);
}

.floating-element.secondary {
    background-color: var(--accent-color);
}

.floating-element.small {
    width: 150px;
    height: 150px;
}

.floating-element.medium {
    width: 250px;
    height: 250px;
}

.floating-element.large {
    width: 350px;
    height: 350px;
}

.floating-element.top-right {
    top: -75px;
    right: -75px;
}

.floating-element.bottom-left {
    bottom: -75px;
    left: -75px;
}

.floating-element.center-right {
    top: 50%;
    right: -125px;
    transform: translateY(-50%);
}

.floating-element.center-left {
    top: 50%;
    left: -125px;
    transform: translateY(-50%);
}

.section-visual-connector {
    position: absolute;
    height: 100px;
    width: 2px;
    background: linear-gradient(to bottom, var(--secondary-color), rgba(0, 43, 73, 0));
    left: 50%;
    z-index: 3;
    animation: pulseConnector 2s infinite alternate ease-in-out;
}

@keyframes pulseConnector {
    0% {
        opacity: 0.5;
        height: 90px;
    }
    100% {
        opacity: 1;
        height: 110px;
    }
}

.connector-top {
    top: -50px;
}

.connector-bottom {
    bottom: -50px;
}

/* Section Headings */
.section-heading {
    font-family: 'AvenirLTStd-Light';
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    position: relative;
    letter-spacing: -0.5px;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.section-title .section-heading:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color-alt), var(--tertiary-color));
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-subheading {
    font-family: 'AvenirLTStd-Light';
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--dark-gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.85;
}

.stat-text {
    font-family: 'AvenirLTStd-Light';
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.stat-item:hover .stat-text {
    color: var(--primary-color);
}

/* Services Section - Inspirado no layout da Pipeline Capital */
.services-section {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: background-color 0.8s ease;
}

.service-category {
    margin-bottom: 4rem;
}

.category-heading {
    font-weight: 600;
    color: var(--primary-color-alt);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-item {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0%;
    background-color: var(--accent-color);
    transition: height 0.4s ease;
}

.service-item:hover::before {
    height: 100%;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color-alt) 0%, var(--primary-color) 100%);
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.service-title {
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--primary-color-dark);
    transition: color 0.3s ease;
}

.service-item:hover .service-title {
    color: var(--accent-color);
}

.service-link {
    margin-top: auto;
    color: var(--accent-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--accent-color-dark);
    transform: translateX(5px);
}

.service-link:after {
    content: '\ea45';
    font-family: 'AvenirLTStd-Light';
    margin-left: 0.5rem;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

/* Pipeline Capital Style Services Section */
.pipeline-style {
    position: relative;
    z-index: 2;
}

.pipeline-category {
    margin-bottom: 5rem;
}

.pipeline-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.pipeline-service-item {
    background-color: var(--white);
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border-bottom: 3px solid transparent;
}

.pipeline-service-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-bottom: 3px solid var(--accent-color);
}

.pipeline-service-header {
    padding: 2rem 2rem 1rem;
    background-color: #f8f9fa;
    transition: background-color 0.3s ease;
}

.pipeline-service-item:hover .pipeline-service-header {
    background-color: var(--primary-color-alt);
}

.pipeline-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    margin-bottom: 1.25rem;
    font-size: 1.75rem;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.pipeline-service-item:hover .pipeline-service-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.pipeline-service-title {
    font-weight: 600;
    color: var(--primary-color-dark);
    transition: color 0.3s ease;
    margin-bottom: 0.5rem;
}

.pipeline-service-item:hover .pipeline-service-title {
    color: var(--white);
}

.pipeline-service-content {
    padding: 1.5rem 2rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pipeline-service-content p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.pipeline-service-highlight {
    background-color: rgba(var(--accent-color-rgb), 0.1);
    border-left: 3px solid var(--accent-color);
    padding: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    font-style: italic;
}

.pipeline-service-link {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    padding-bottom: 3px;
    align-self: flex-start;
}

.pipeline-service-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary-color-alt);
    transition: width 0.3s ease;
}

.service-item:hover .service-link:after {
    width: 100%;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .service-item {
        padding: 20px 15px;
    }
}

/* Estilo Minimalista para Seção de Serviços */
.minimal-style {
    position: relative;
    z-index: 2;
    perspective: 1000px;
}

.minimal-category {
    margin-bottom: 4rem;
}

.category-subtitle {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-top: -0.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
    max-width: 800px;
}

.minimal-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.minimal-service-item {
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    position: relative;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform-style: preserve-3d;
    will-change: transform, box-shadow, background-color;
}

.minimal-service-item:hover {
    transform: translateY(-15px) scale(1.02);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(var(--accent-color-rgb), 0.3);
    z-index: 5;
}

.minimal-service-header {
    padding: 1.5rem 1.5rem 0.5rem;
    border-bottom: 1px solid rgba(var(--primary-color-rgb), 0.1);
    position: relative;
    transition: all 0.5s ease;
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.5) 100%);
}

.minimal-service-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.5s ease;
}

.minimal-service-item:hover .minimal-service-header::after {
    width: 100%;
    height: 2px;
    box-shadow: 0 0 8px var(--accent-color);
}

.minimal-service-title {
    font-weight: 500;
    color: var(--primary-color-dark);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.minimal-service-item:hover .minimal-service-title {
    color: var(--accent-color);
}

.minimal-service-content {
    padding: 1.25rem 1.5rem 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.minimal-service-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--accent-color-rgb), 0.03) 0%, rgba(var(--secondary-color-rgb), 0.02) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.minimal-service-item:hover .minimal-service-content::before {
    opacity: 1;
}

.minimal-service-content p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
    font-size: 0.9rem;
}

.minimal-service-highlight {
    color: var(--accent-color);
    border-left: 2px solid var(--accent-color);
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    background-color: rgba(var(--accent-color-rgb), 0.05);
}

.minimal-service-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    padding: 8px 15px;
    position: relative;
    align-self: flex-start;
    margin-top: auto;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(var(--primary-color-rgb), 0.2);
    background-color: rgba(255, 255, 255, 0.5);
}

.minimal-service-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(var(--accent-color-rgb), 0.1), rgba(var(--accent-color-rgb), 0.05));
    transition: all 0.5s ease;
    z-index: -1;
}

.minimal-service-link:hover {
    color: var(--accent-color);
}

.minimal-service-link:hover::before {
    left: 0;
}

.minimal-service-link:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--accent-color-rgb), 0.2);
}

/* Featured Service - Estilo Minimalista */
.featured-service {
    border-top: 3px solid var(--accent-color);
    position: relative;
}

.featured-service::before {
    content: 'Destaque';
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-color);
    color: #fff;
    padding: 0.2rem 0.6rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
}

/* Animation Effects - Estilo Minimalista */
.minimal-service-item {
    transition-delay: 0.05s;
    animation: fadeInUp 0.8s both;
    animation-delay: calc(0.05s * var(--animation-order, 1));
}

.minimal-service-item:nth-child(1) {
    --animation-order: 1;
}

.minimal-service-item:nth-child(2) {
    --animation-order: 2;
}

.minimal-service-item:nth-child(3) {
    --animation-order: 3;
}

.minimal-service-item:nth-child(4) {
    --animation-order: 4;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Responsive Adjustments - Estilo Minimalista */
@media (max-width: 1199px) {
    .minimal-services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .minimal-service-title {
        font-size: 1rem;
    }
}

@media (max-width: 991px) {
    .minimal-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .category-subtitle {
        margin-bottom: 1.5rem;
    }

    .minimal-service-item:hover {
        transform: translateY(-10px) scale(1.01);
    }
}

@media (max-width: 767px) {
    .minimal-service-header {
        padding: 1.25rem 1.25rem 0.5rem;
    }

    .minimal-service-content {
        padding: 1rem 1.25rem 1.25rem;
    }

    .minimal-service-title {
        font-size: 0.95rem;
    }

    .minimal-service-content p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .minimal-service-highlight {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    .floating-element {
        opacity: 0.25;
    }
}

@media (max-width: 575px) {
    .minimal-services-grid {
        grid-template-columns: 1fr;
    }

    .minimal-service-item:hover {
        transform: translateY(-5px) scale(1.02);
    }

    .services-section {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* Service Cards - para compatibilidade com os elementos antigos */
.service-card-container {
    perspective: 1000px;
}

.service-card {
    border: none;
    border-radius: 10px;
    background-color: var(--white);
    box-shadow: var(--card-shadow);
    transition: var(--transition-medium);
    overflow: hidden;
    border-top: 4px solid transparent;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(9, 26, 48, 0.01) 0%, rgba(142, 216, 247, 0.08) 100%);
    opacity: 0;
    transition: var(--transition-medium);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
    border-top: 4px solid var(--secondary-color-alt);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card-body {
    padding: 2.5rem;
    position: relative;
    z-index: 2;
}

.service-card-body:before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    top: -30px;
    right: -30px;
    background: linear-gradient(135deg, rgba(189, 214, 61, 0.05) 0%, rgba(142, 216, 247, 0.08) 100%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: var(--transition-medium);
}

.service-card:hover .service-card-body:before {
    opacity: 0.7;
    transform: scale(1.2);
}

.service-card-title {
    font-family: 'AvenirLTStd-Light';
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.service-card-title:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color-alt), var(--tertiary-color));
    bottom: 0;
    left: 0;
    border-radius: 1px;
    transition: var(--transition-medium);
}

.service-card:hover .service-card-title:after {
    width: 60px;
}

.service-card-text {
    font-family: 'AvenirLTStd-Light';
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    font-weight: 300;
    line-height: 1.7;
}

.service-link {
    color: var(--secondary-color-alt);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
    display: inline-block;
}

.service-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color-alt), var(--tertiary-color));
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.service-link:hover:after {
    width: 100%;
}

/* Service Categories */
.service-category {
    margin-bottom: 3rem;
}

.category-heading {
    font-family: 'AvenirLTStd-Light';
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
    color: var(--primary-color);
    position: relative;
    padding-left: 1rem;
    display: inline-block;
}

.category-heading:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, var(--secondary-color-alt), var(--tertiary-color));
    border-radius: 2px;
}

/* Service Features List */
.service-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-family: 'AvenirLTStd-Light';
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-gray);
}

.service-features li:before {
    content: '\e9e9';
    font-family: 'boxicons';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary-color-alt);
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.service-card:hover .service-features li:before {
    transform: scale(1.2);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, #8ED8F7, #BDD63D);
    transition: height 0.5s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--secondary-color);
}

.feature-item:hover::before {
    height: 100%;
}

.feature-title {
    font-family: 'AvenirLTStd-Light';
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* News Cards */
.news-card {
    background-color: var(--white);
    border: none;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: var(--transition-medium);
    height: 100%;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid transparent;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-bottom: 3px solid var(--secondary-color);
}

.news-card-body {
    padding: 2.2rem;
}

.news-card-title {
    font-family: 'AvenirLTStd-Light';
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.news-card-text {
    font-family: 'AvenirLTStd-Light';
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    font-weight: 300;
    line-height: 1.7;
}

.news-link {
    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: none;
    position: relative;
    display: inline-block;
    margin-top: 1rem;
    transition: var(--transition-fast);
    padding-bottom: 3px;
}

.news-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary-gradient);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
    border-radius: 1px;
}

.news-link:hover:after {
    width: 100%;
}

/* Novas seções e elementos */
/* Elemento de onda removido conforme solicitação */
/* .hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
} */

.hero-shape {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(142, 216, 247, 0.2) 0%, rgba(142, 216, 247, 0.3) 100%);
    position: absolute;
    right: -50px;
    top: 30%;
    animation: pulse 4s infinite ease-in-out;
}

/* Tech backgrounds */
.tech-bg-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(142, 216, 247, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
    opacity: 0.5;
    animation: gridPulse 8s infinite alternate ease-in-out;
}

@keyframes gridPulse {
    0% {
        opacity: 0.3;
        background-size: 25px 25px;
    }
    100% {
        opacity: 0.7;
        background-size: 35px 35px;
    }
}

.tech-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(9, 26, 48, 0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(9, 26, 48, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.4;
    z-index: 1;
}

/* Tech shapes para o CTA */
.tech-shape {
    position: absolute;
    z-index: 0;
    opacity: 0.8;
}

.cta-shape-1 {
    top: 20px;
    right: 10%;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(142, 216, 247, 0.15) 0%, rgba(189, 214, 61, 0.1) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-shape-2 {
    bottom: 20px;
    left: 10%;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(240, 80, 38, 0.1) 0%, rgba(142, 216, 247, 0.15) 100%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 8s ease-in-out infinite reverse;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
    50% { border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%; }
    75% { border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%; }
    100% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
}

.section-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: linear-gradient(90deg, rgba(9, 26, 48, 0.02) 0%, rgba(23, 49, 79, 0.05) 100%);
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 0;
}

.tech-bg-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: radial-gradient(#8ED8F7 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.15;
}

.tech-bg-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: linear-gradient(var(--medium-gray) 1px, transparent 1px),
                      linear-gradient(90deg, var(--medium-gray) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.2;
}

.tech-shape {
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(189, 214, 61, 0.15);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 10s linear infinite alternate;
}

.cta-shape-1 {
    top: -75px;
    right: 10%;
}

.cta-shape-2 {
    bottom: -75px;
    left: 10%;
    animation-delay: 5s;
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
    50% {
        border-radius: 30% 30% 70% 70% / 60% 40% 60% 40%;
    }
    75% {
        border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%;
    }
    100% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05) rotate(3deg);
        opacity: 0.6;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
}

/* Mission Statement Section - Estilo com cores da GLM */
.mission-statement-section {
    background-color: var(--primary-color); /* Azul corporativo #002B49 */
    padding: 10rem 0; /* Aumentado de 5rem para 8rem para maior altura vertical */
    position: relative;
    overflow: hidden;
    margin-top: -2px; /* Para garantir a integração perfeita com a seção anterior */
}

.mission-statement {
    position: relative;
    z-index: 2;
}

.mission-statement-text {
    font-family: 'AvenirLTStd-Light';
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.4;
    color: #ffffff;
    margin: 0 0 0.8rem 0;
    text-align: left;
}

.mission-highlight {
    color: var(--secondary-color); /* Dourado #A67C52 */
    font-weight: 400;
    display: inline-block;
}

.mission-statement-subtext {
    font-family: 'AvenirLTStd-Light';
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    text-align: left;
}

/* Media queries for responsiveness */
@media (max-width: 991px) {
    .mission-statement-text {
        font-size: 2rem;
    }

    .mission-statement-subtext {
        font-size: 1.3rem;
    }
}

@media (max-width: 767px) {
    .mission-statement-section {
        padding: 6rem 0; /* Aumentado proporcionalmente */
    }

    .mission-statement-text {
        font-size: 1.7rem;
    }

    .mission-statement-subtext {
        font-size: 1.1rem;
    }
}

@media (max-width: 575px) {
    .mission-statement-section {
        padding: 5rem 0; /* Aumentado proporcionalmente */
    }

    .mission-statement-text {
        font-size: 1.5rem;
    }

    .mission-statement-subtext {
        font-size: 1rem;
        line-height: 1.4;
    }
}

/* Ícones de serviço */
.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color-alt);
    transition: var(--transition-fast);
    display: inline-block;
    position: relative;
}

.service-icon:before {
    content: '';
    position: absolute;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(142, 216, 247, 0.1) 0%, rgba(240, 80, 38, 0.05) 100%);
    border-radius: 10px;
    left: -12px;
    top: -10px;
    z-index: -1;
    transform: rotate(20deg);
    transition: var(--transition-medium);
}

.service-card:hover .service-icon {
    transform: translateY(-5px);
}

.service-card:hover .service-icon:before {
    transform: rotate(35deg) scale(1.1);
    background: linear-gradient(135deg, rgba(189, 214, 61, 0.15) 0%, rgba(142, 216, 247, 0.1) 100%);
}

/* Progress Bar */
.progress-wrapper {
    margin-top: 2rem;
}

.progress-item span {
    font-family: 'AvenirLTStd-Light';
    font-weight: 600;
    font-size: 0.9rem;
}

.progress {
    height: 8px;
    border-radius: 4px;
    background-color: var(--light-gray);
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress-bar {
    background: linear-gradient(90deg, #8ED8F7, #BDD63D);
    border-radius: 4px;
    transition: width 1.5s ease-in-out;
}

/* Value Cards */
.value-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: var(--transition-medium);
    height: 100%;
    border-top: 3px solid transparent;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-5px);
    border-top: 3px solid var(--secondary-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #F05026 0%, #F26E44 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 20px rgba(240, 80, 38, 0.2);
}

.value-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.value-card p {
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: var(--primary-gradient);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(142, 216, 247, 0.15);
    top: -150px;
    right: -100px;
    z-index: 1;
}

.cta-section:after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(189, 214, 61, 0.12);
    bottom: -100px;
    left: -100px;
    z-index: 1;
}

.cta-section .row {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-family: 'AvenirLTStd-Light';
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-family: 'AvenirLTStd-Light';
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    padding: 1rem 2.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 0;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .main-heading {
        font-size: 2.8rem;
    }

    .section-heading {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .hero.hero-with-bg {
        height: auto;
        padding: 6rem 0;
    }

    .main-heading {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-heading {
        font-size: 1.8rem;
    }

    .section-subheading {
        font-size: 1.1rem;
    }
}

/* Container customizado para maior largura */
.container {
    max-width: 95%;
    width: 95%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Mobile container adjustments */
@media (max-width: 767px) {
    .container {
        max-width: 100%;
        width: 100%;
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

@media (max-width: 575px) {
    .container {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }
}

/* Estilo para o vídeo de fundo local */
.impact-statement-section {
    position: relative;
    padding: 6rem 0;
    background-color: #000;
    min-height: 100vh;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-foreground {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
}

.video-foreground video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover; /* Esta propriedade faz o vídeo cobrir toda a área mantendo a proporção */
    z-index: -1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 43, 73, 0.5); /* Cor corporativa com opacidade */
    z-index: 1;
}

/* Garante que o conteúdo de texto fique acima do vídeo */
.container {
    position: relative;
    z-index: 2;
}

.mission-statement-text {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    position: relative;
    z-index: 3;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
    .impact-statement-section {
        min-height: 60vh;
        padding: 4rem 0;
    }

    .mission-statement-text {
        font-size: 1.8rem !important;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .mission-statement-text {
        font-size: 1.5rem !important;
    }
}
