/* @font-face declarations */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Basel';
    src: url('../fonts/Basel/Basel-normal-400-100.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Basel';
    src: url('../fonts/Basel/Basel-normal-500-100.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Basel';
    src: url('../fonts/Basel/Basel-normal-550-100.otf') format('opentype');
    font-weight: 550;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Riegraf';
    src: url('../fonts/riegraf-font/TRIAL_Riegraf-Regular-BF64b75c1055fb5.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Riegraf';
    src: url('../fonts/riegraf-font/TRIAL_Riegraf-Bold-BF64b75c10654e2.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --verde-escuro: #07160C;
    --verde-escuro-30: #0d2c17;
    --verde-escuro-opacity: #ffffff29;
    --verde-medio: #33874D;
    --verde-claro: #7fb069;
    --verde-lima: #D0D34A;
    --amarelo: #D0D34A;
    --cinza-claro: #F4F6F5;
    --branco: #ffffff;
    --preto: #212529;
    --preto-escuro: #101110;
    --cinza-texto: #7D7D7D;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--preto);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 
       'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

header {
    position: absolute;
    width: 100%;
    z-index: 1000;
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0.25rem 0.5rem;
    background-color: transparent;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5em;
    height: 1.5em;
}

.navbar {
    padding: 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

p {
    color: var(--cinza-texto)!important;
}

.bg-banner {
    background: url('../images/banner-top.png');
    background-position: top;
    background-size: cover;
    padding-top: 200px!important;
    padding-bottom: 100px !important;
}

.bg-banner p {
    color: #fff!important;
}

.bg-verde-escuro {
    background-color: var(--verde-escuro) !important;
}

.bg-verde-claro {
    background-color: var(--verde-claro) !important;
}

.bg-verde-lima {
    background-color: var(--verde-lima) !important;
}

.bg-cinza-claro {
    background-color: var(--cinza-claro) !important;
}

.bg-dark {
    background-color: var(--preto-escuro) !important;
    border-top: 1px solid #535353;
}

.text-verde-escuro {
    color: var(--verde-medio) !important;
}

.text-verde-medio {
    color: var(--verde-medio) !important;
}

.text-verde-claro {
    color: var(--verde-claro) !important;
}

.text-verde-lima {
    color: var(--verde-lima) !important;
}

.text-preto-escuro {
    color: var(--preto-escuro);
    font-weight: 500!important;
}

.section-description {
    color: var(--preto-escuro)!important;
    font-size: 1.2rem;
}

.btn-verde-lima {
    background-color: var(--verde-lima);
    color: var(--verde-escuro);
    border: none;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-verde-lima:hover {
    background-color: var(--verde-lima);
    color: var(--verde-escuro);
    transform: translateY(-2px);
    opacity: 0.9;
}

.btn-verde-escuro {
    background-color: var(--verde-escuro);
    color: var(--verde-lima);
    border: 2px solid var(--verde-lima);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-verde-escuro:hover {
    background-color: var(--verde-lima);
    color: var(--verde-escuro);
}

.btn-transparent {
    background-color: var(--verde-escuro-opacity);
    color: white;
    border: 1px solid white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.btn-transparent:hover {
    background-color: var(--verde-escuro-opacity);
    color: rgba(255, 255, 255, 0.571);
    transform: translateY(-2px);
}

.btn-transparent-full {
    background-color: transparent;
    color: white;
    border: 1px solid white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.btn-transparent-full:hover {
    background-color: var(--verde-escuro-opacity);
    color: rgba(255, 255, 255, 0.571);
    transform: translateY(-2px);
}

.btn-amarelo {
    background-color: var(--verde-lima);
    color: var(--verde-escuro);
    border: none;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-amarelo:hover {
    background-color: var(--verde-lima);
    color: var(--verde-escuro);
    transform: translateY(-2px);
    opacity: 0.9;
}

.logo {
    text-decoration: none;
    display: inline-block;
}

.logo-img {
    height: 40px;
    width: auto;
}

.badge-success {
    margin: 12px 10px 0 0;
    background-color: var(--verde-medio);
    font-weight: 400;
    padding: 6px 14px;
    color: var(--verde-escuro);
}

.badge i {
    margin-right: 5px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.bg-banner .row {
    margin-bottom: 0;
}

.bg-banner .col-lg-6 {
    padding-left: 0;
    padding-right: 0;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

#solucao .section-title {
    background: linear-gradient(#D0D34A, #33874D);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-size: 4rem;
    font-weight: 600;
}

#solucao .lead {
    font-size: 1.2rem!important;
    padding: 0 20px;
}

#contato .section-title {
    font-size: 4rem;
    font-weight: 500!important;
}

.section-subtitle {
    font-family: 'Basel', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--verde-medio)!important;
    opacity: 0.7;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.font-riegraf {
    font-family: 'Riegraf', serif;
    font-style: italic;
    font-weight: 400;
    margin-right: 10px;
}

.fw-500 {
    font-weight: 500!important;
}

.card-custom {
    /* border-radius: 12px; */
    /* border: 1px solid rgba(0,0,0,0.1); */
    padding: 2rem;
    height: 100%;
    background-color: var(--branco);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
    position: relative;
    border-radius: 0;
    background-image: 
        linear-gradient(var(--verde-medio), var(--verde-medio)),
        linear-gradient(var(--verde-medio), var(--verde-medio)),
        linear-gradient(var(--verde-medio), var(--verde-medio)),
        linear-gradient(var(--verde-medio), var(--verde-medio)),
        linear-gradient(var(--verde-medio), var(--verde-medio)),
        linear-gradient(var(--verde-medio), var(--verde-medio)),
        linear-gradient(var(--verde-medio), var(--verde-medio)),
        linear-gradient(var(--verde-medio), var(--verde-medio));
    background-size: 
        20px 2px,
        2px 20px,
        20px 2px,
        2px 20px,
        20px 2px,
        2px 20px,
        20px 2px,
        2px 20px;
    background-position: 
        top left,
        top left,
        top right,
        top right,
        bottom left,
        bottom left,
        bottom right,
        bottom right;
    background-repeat: no-repeat;
}

.img-hr {
    width: 100%;
    background-color: var(--cinza-claro);
}

.fa-circle {
    font-size: 0.6rem;
}

.lead-custom {
    font-size: 1.4rem;
    padding: 0 90px;
}

@media (min-width: 768px) {
    #solucao .card-custom {
        margin-bottom: 0;
    }
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--verde-medio);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.illustration-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    position: relative;
}

.illustration-network {
    position: relative;
    width: 100%;
    height: 300px;
}

.illustration-node {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: var(--verde-lima);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--verde-escuro);
    font-size: 1.5rem;
}

.illustration-shield {
    font-size: 10rem;
    color: var(--verde-lima);
    opacity: 0.3;
    position: relative;
}

.illustration-shield::before,
.illustration-shield::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--verde-claro);
    border-radius: 4px;
}

.metric-card {
    background-color: var(--verde-escuro-30);
    border: 1px solid var(--verde-medio);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
}

.metric-value {
    font-size: 4rem;
    font-weight: 700;
    color: var(--verde-lima);
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 1.25rem;
    color: var(--branco);
    font-weight: 600;
}

.metric-description {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.progress-bar-custom {
    height: 8px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 4px;
    margin-top: 1rem;
    overflow: hidden;
}

.progress-bar-custom .progress-fill {
    height: 100%;
    background-color: var(--verde-lima);
    width: 99.9%;
    border-radius: 4px;
}

.footer-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 200;
}

.footer-link:hover {
    color: var(--verde-lima);
}

footer {
    padding: 0 50px;
    border: 1px solid #535353;
}

.custom-space {
    padding: 6rem 0;
}

.footer-title {
    color: var(--branco);
    font-weight: 600;
    margin-bottom: 1rem;
}

#navbarNav ul {
    gap: 10px;
}

.lead {
    font-size: 2rem!important;
}

.span-green {
    color: var(--verde-lima);
}

.section-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

nav .container {
    max-width: 1500px;
}

.section-image {
    vertical-align: middle;
    width: 500px !important;
    margin: 0 auto;
    display: flex;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1.25rem !important;
    }
    
    .illustration-shield {
        font-size: 6rem;
    }
    
    .bg-banner {
        padding-top: 100px !important;
        padding-bottom: 60px !important;
    }
    
    .bg-banner .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .bg-banner .col-lg-6 {
        display: flex;
        flex-direction: column;
        padding: 0 20px;
    }
    
    .bg-banner .col-lg-6 .hero-title {
        margin-bottom: 2rem;
        margin-top: 150px;
    }
    
    .bg-banner .col-lg-6 .lead {
        margin-bottom: 2rem !important;
    }
    
    .bg-banner .col-lg-6 .section-description {
        font-size: 1rem !important;
        margin-bottom: 2.5rem;
        line-height: 1.6;
    }
    
    .bg-banner .d-flex.flex-wrap {
        flex-direction: column;
        gap: 1rem !important;
        margin-bottom: 0;
        margin-top: 0;
    }
    
    .bg-banner .btn-verde-lima,
    .bg-banner .btn-transparent {
        width: 100%;
        margin-bottom: 0;
    }
    
    .section-image {
        margin-top: 2rem;
        margin-bottom: 2rem;
        width: 100% !important;
    }
    
    .card-custom {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
    
    .metric-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
    
    .metric-value {
        font-size: 3rem;
    }
    
    .btn-verde-lima,
    .btn-verde-escuro,
    .btn-amarelo,
    .btn-transparent {
        width: 100%;
        margin-bottom: 0.75rem;
        padding: 14px 24px;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }
    
    .navbar-nav .btn {
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .custom-space {
        padding: 3rem 0 !important;
    }
    
    .section-description {
        font-size: 1rem !important;
    }
    
    #solucao .section-title {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }
    
    #solucao .lead {
        font-size: 1.1rem !important;
        padding: 0 !important;
    }
    
    .lead-custom {
        font-size: 1.1rem !important;
        padding: 0 !important;
    }
    
    #contato .section-title {
        font-size: 2.5rem !important;
    }
    
    footer {
        padding: 0 20px !important;
    }
    
    .section-subtitle {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }
    
    .metric-label {
        font-size: 1.1rem;
    }
    
    .metric-description {
        font-size: 0.85rem;
    }
    
    header {
        padding: 0.5rem 0;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.7);
    }
    
    .navbar-collapse {
        background-color: rgba(7, 22, 12, 0.95);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 8px;
    }
    
    .navbar-nav .nav-item.ms-3 {
        margin-left: 0 !important;
        margin-top: 0.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .card-title {
        font-size: 1.25rem;
    }
    
    .metric-value {
        font-size: 2.5rem;
    }
    
    .bg-banner {
        padding-top: 90px !important;
        padding-bottom: 50px !important;
    }
    
    .bg-banner .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .bg-banner .col-lg-6 .hero-title {
        margin-bottom: 1.75rem;
    }
    
    .bg-banner .col-lg-6 .lead {
        margin-bottom: 1.75rem !important;
    }
    
    .bg-banner .col-lg-6 .section-description {
        font-size: 0.95rem !important;
        margin-bottom: 2.25rem;
        line-height: 1.6;
    }
    
    .bg-banner .d-flex.flex-wrap {
        gap: 1rem !important;
    }
    
    .lead {
        font-size: 1.1rem !important;
    }
    
    .custom-space {
        padding: 2.5rem 0 !important;
    }
    
    .section-description {
        font-size: 0.95rem !important;
    }
    
    #solucao .section-title {
        font-size: 2rem !important;
    }
    
    #contato .section-title {
        font-size: 2rem !important;
    }
    
    .card-custom {
        padding: 1.25rem;
    }
    
    .metric-card {
        padding: 1.25rem;
    }
    
    .card-icon {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }
    
    .metric-label {
        font-size: 1rem;
    }
    
    .metric-description {
        font-size: 0.8rem;
    }
    
    .logo-img {
        height: 28px;
    }
    
    header {
        padding: 0.4rem 0;
    }
    
    .navbar-collapse {
        margin-top: 0.75rem;
        padding: 0.75rem;
    }
}

