/* Paleta de Cores - Visabeira Angola */
:root {
    /* Cores Principais */
    --primary-color: #0068FF;           /* Azul escuro elegante */
    --primary-dark: #061B31;            /* Versão mais escura para hover */
    
    /* Cores Secundárias */
    --secondary-color: #1e5f7a;         /* Azul médio */
    --secondary-light: #3d8aa8;         /* Azul claro para destaques */
    
    /* Cores de Destaque (Accent) */
    --accent-color: #03a9f4;            /* Azul brilhante */
    --accent-hover: #004AB5;            /* Hover do accent */
    
    /* Cores de Ação */
    --success-color: #28a745;           /* Verde para sucesso */
    --danger-color: #dc3545;            /* Vermelho para alertas/denúncias */
    --warning-color: #ffc107;           /* Amarelo para avisos */
    
    /* Cores de Fundo */
    --bg-light: #f8f9fa;                /* Cinza muito claro */
    --bg-white: #ffffff;                /* Branco puro */
    --bg-gray: #e9ecef;                 /* Cinza médio */
    
    /* Cores de Texto */
    --text-primary: #212529;            /* Preto suave para texto principal */
    --text-secondary: #6c757d;          /* Cinza para texto secundário */
    --text-light: #adb5bd;              /* Cinza claro para textos sutis */
    
    /* Bordas e Separadores */
    --border-color: #dee2e6;            /* Cor padrão de borda */
    --border-dark: #ced4da;             /* Borda escura */
}

/* Base Styles */
body { 
    min-height: 100vh; 
    background-color: var(--bg-white); 
    font-family: "Manrope", sans-serif;
    display: flex; 
    flex-direction: column; 
    color: var(--text-primary); 
    position: relative; 
    overflow-x: hidden; 
}

.navbar-logo { 
    height: 60px; 
    width: auto; 
    filter: invert(1); /* Branco no navbar escuro */ 
}

.navbar-brand { 
    display: flex; 
    align-items: center; 
    justify-content: flex-start; 
    gap: 8px; 
}

.navbar.bg-white .navbar-logo,
.navbar.bg-white svg {
    filter: none !important; 
}

#menu-toggle:not(.active) .hamburger,
#menu-toggle:not(.active) .hamburger::before,
#menu-toggle:not(.active) .hamburger::after {
    background-color: var(--primary-dark);
}

.desktop-nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.desktop-nav-links a {
    text-decoration: none;
    color: var(--primary-dark);
    font-size: 16px;
    font-weight: 600;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.desktop-nav-links:hover a {
    color: #50617A;
}

.desktop-nav-links a:hover {
    color: var(--primary-dark);
}

@media (max-width: 991px) {
    .desktop-nav-links {
        display: none !important;
    }
}

@media (min-width: 992px) {
    #menu-toggle {
        display: none !important;
    }
}

/* Fullscreen Menu Styles - MD Bootstrap inspired */
#menu-toggle {
    position: static;
    z-index: 1050;
    background-color: transparent;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#menu-toggle .hamburger {
    display: block;
    width: 28px;
    height: 3px;
    margin-bottom: 6px;
    position: relative;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

#menu-toggle .hamburger::before,
#menu-toggle .hamburger::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

#menu-toggle .hamburger::before { top: -9px; }
#menu-toggle .hamburger::after { bottom: -9px; }

/* Hamburger animation when active */
#menu-toggle.active {
    z-index: 0;
}

#menu-toggle.active .hamburger {
    background-color: transparent;
}

#menu-toggle.active .hamburger::before,
#menu-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(45deg);
}

#menu-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* Fullscreen overlay */
#fullscreen-menu {
    position: fixed;
    top: 0;
    right: -110%;
    width: 100vw;
    height: 100vh;
    background-color: #1F2D3D;
    z-index: 1049;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 80px;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
}

#fullscreen-menu.active {
    right: 0;
}

.menu-close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.menu-close-btn:hover {
    transform: rotate(90deg);
}

.fullscreen-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.fullscreen-nav-links li {
    margin: 12px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
}

#fullscreen-menu.active .fullscreen-nav-links li {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for menu items */
#fullscreen-menu.active .fullscreen-nav-links li:nth-child(1) { transition-delay: 0.2s; }
#fullscreen-menu.active .fullscreen-nav-links li:nth-child(2) { transition-delay: 0.3s; }
#fullscreen-menu.active .fullscreen-nav-links li:nth-child(3) { transition-delay: 0.4s; }

.fullscreen-nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 10px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
}

.fullscreen-nav-links a:hover {
    background-color: rgba(255,255,255,0.1);
    transform: scale(1.05);
}

/* Hero Section */
header {
    padding: 96px 0px;
    max-height: 617px;
    height: 100vh;
    display: flex;
    align-items: center;   /* vertical center */
    overflow: hidden;
}

header .container {
    width: 100%;
}
.hero-section { 
    background: linear-gradient(135deg, var(--primary-color) 0%, #032a3d 100%); 
    color: white; 
    padding: 80px 0; 
    margin-bottom: 40px; 
}

.hero-title {
    font-weight: 500;
    font-size: 56px;
    line-height: 58.8px;
    letter-spacing: -1.68px;
    color: white;
    margin: 0;
}

.hero-section h1 { 
    font-size: 3rem; 
    font-weight: bold; 
    margin-bottom: 20px; 
}

.history-section {
    padding: 96px 0px;
}

.history-row {
    padding-top: 76px;
    display: flex;
    gap: 130px;
    align-items: flex-start;
}

.history-col {
    flex: 1;
}

.history-lead {
    font-weight: 600;
    font-size: 44px;
    line-height: 48.8px;
    letter-spacing: -1.1px;
    color: var(--primary-dark);
}

.history-text {
    font-weight: 400;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0px;
    color: var(--primary-dark);
}

/* Company Cards */
.company-card { 
    border-left: 1px solid #dee2e6; 
    transition: transform 0.2s; 
}

.company-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
}

/* Values ticker with horizontal scrolling */
.values-ticker-container { 
    overflow: hidden; 
    white-space: nowrap; 
    position: relative; 
}

.values-ticker { 
    display: inline-block; 
    animation: ticker-scroll 30s linear infinite; 
}

@keyframes ticker-scroll { 
    from { transform: translateX(0); } 
    to { transform: translateX(-50%); } 
}

/* Values cards */
.value-card { 
    border: none; 
}

/* Footer */
.footer {
    background: #ffffff;
    padding: 40px 0;
    color: var(--text-secondary);
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-col {
    flex: 1;
}

.footer-logo svg {
    width: 191px;
    height: auto;
    margin-bottom: 20px;
}

.footer-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.footer-text {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-right {
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;

    display: flex;
    flex-direction: column;
    gap: 12px;

    align-items: flex-start; 
}

.footer-links a {
    color: var(--primary-dark);
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.2s ease;
}

.footer-links:hover a {
    color: #50617A;
}

.footer-links a:hover {
    color: var(--primary-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
}

/* Section Titles */
.section-title { 
    color: var(--primary-color); 
    font-weight: bold; 
    margin-bottom: 30px; 
}

/* Custom primary color overrides */
.bg-primary { 
    background-color: #1F2D3D !important; 
}

.title-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding-bottom: 55.5px;
}

.title-primary { 
    color: var(--primary-color); 
    font-weight: 600;
    font-style: normal;
    font-size: 12px;
    line-height: 15.6px;
    letter-spacing: 1.5%;
    text-align: left;
    vertical-align: middle;
    text-transform: uppercase;
}

.subtitle-primary { 
    color: var(--primary-dark); 
    font-weight: 600;
    font-style: normal;
    font-size: 25px;
    line-height: 29px;
    letter-spacing: -0.26px;
    vertical-align: middle;
}

.subtext-primary { 
    color: var(--primary-dark); 
    font-weight: 600;
    font-style: normal;
    font-size: 32px;
    line-height: 36px;
    letter-spacing: -0.51px;
    text-align: center;
    vertical-align: middle;
    max-width: 835px;
}

.small-text-primary { 
    color: var(--primary-dark); 
    font-family: "Manrope", sans-serif;
    font-weight: 500;
    font-style: Medium;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0px;
    vertical-align: middle;
}

.btn-primary { 
    background-color: #1F2D3D; 
    border-color: #1F2D3D;
}

.btn-primary:hover, 
.btn-primary:focus { 
    background-color: #042a3c; 
    border-color: #042a3c;
}

.navbar.bg-primary { 
    background-color: #1F2D3D !important; 
}

/* Content Cards */
.content-card { 
    background-color: var(--bg-white); 
    border-radius: 12px; 
    padding: 30px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.08); 
    margin-bottom: 30px;
}

/* Hover lift effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
}

/* Button opacity helper */
.opacity-75 {
    opacity: 0.75;
}

/* List items styling */
.list-group-item {
    padding: 12px 15px;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.list-group-item:hover {
    background-color: var(--bg-light);
    border-left-color: var(--primary-color);
}

/* Section title styling */
.section-title { 
    color: var(--primary-color); 
    font-weight: bold; 
    margin-bottom: 30px;
}

/* Alert security styling */
.alert-security { 
    background: linear-gradient(135deg, #fff3cd 0%, #ffc107 100%); 
    border-left: 4px solid #ffc107; 
    padding: 20px; 
    margin-bottom: 30px;
}

/* Form card styling */
.form-card { 
    background-color: var(--bg-white); 
    border-radius: 12px; 
    padding: 40px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.08); 
}

/* Custom icon styling */
.custom-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.hover-link {
    transition: all 0.3s ease;
}

.hover-link:hover {
    background-color: var(--bg-light);
    border-color: var(--primary-color);
}

/* Required field indicator */
.required-field {
    position: relative;
}

.required-field::after {
    content: '*';
    color: var(--danger-color);
    font-weight: bold;
    margin-left: 5px;
}

/* Success Page Styles */
.success-card { 
    background-color: var(--bg-white); 
    border-radius: 12px; 
    padding: 40px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.08); 
}

.reference-box {
    max-width: 600px;
    margin: 30px auto;
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.reference-box h5 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.success-icon { 
    width: 80px; 
    height: 80px; 
    background-color: #d4edda; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 30px;
}

.success-icon i { 
    color: var(--success-color); 
    font-size: 2.5rem; 
}

/* Timeline items */
.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 25px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 8px;
    width: 16px;
    height: 16px;
    background-color: var(--success-color);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 19px;
    top: 26px;
    width: 2px;
    height: calc(100% - 25px);
    background-color: var(--border-color);
}

.timeline-item:last-child::after {
    display: none;
}

/* Action buttons container */
.action-buttons-container {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.action-buttons-container a,
.action-buttons-container button {
    min-width: 160px;
}

/* Print styles */
@media print {
    body * {
        visibility: hidden;
    }
    
    .success-card, 
    .success-card * {
        visibility: visible;
    }
    
    .success-card {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        box-shadow: none;
    }
    
    .action-buttons-container button,
    .no-print {
        display: none !important;
    }
}

/* Desktop-only full-height sections */
.desktop-full-height-layout .desktop-full-height-section {
    min-height: 100vh;
}

@media (min-width: 1024px) {
    .desktop-full-height-layout .desktop-full-height-section {
        min-height: 100vh;
    }
}



/* Fundo igual ao Figma */
.bg-light-section {
    background-color: #f5f9ff;
}

/* Card novo estilo */
.company-card-v2 {
    cursor: pointer;
    transition: color 0.2s ease;

    /*
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    */
}

.company-card-v2:hover {
    /*
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    */
}

/* Imagem */
.company-image img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    opacity: 1;
    object-fit: cover;
    display: block;
}

/* 1ª row (pequeno) */
.company-image.is-small {
    /*width: 404px;*/
    height: 303px;
}

/* restantes (grande) */
.company-image.is-large {
    /*width: 618px;*/
    height: 303px;
}

/* Conteúdo */
.company-content {
    padding: 20px 40px 0px 0px;
}

.company-content h5 {
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
    letter-spacing: 0px;
}

.company-content p {
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0px;
    color: #50617a;
}

/* Link */
.company-card-link {
    text-decoration: none;
    color: inherit;
}

/* Saber mais */
.read-more {
    font-size: 14px;
    line-height: 19px;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    transition: color 0.2s ease;
}

.read-more:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.company-card-v2:hover .read-more {
    color: var(--accent-hover);
}

.company-card-v2:hover .read-more div {
    transform: translateX(5px);
}

/* Modal styles */
#companyModal .modal-content {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

#companyModal .modal-header {
    background-color: var(--bg-light);
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-color);
}

#companyModal .modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
}

#companyModal .modal-body {
    padding: 30px;
}

#companyModal .modal-footer {
    padding: 20px 30px;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

#companyModal .btn-primary {
    min-width: 140px;
}

#companyModal .modal-dialog.modal-lg {
    max-width: 700px;
}

@media (max-width: 991px) {

    /* FOOTER */
    .footer-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-col {
        width: 100%;
    }

    .footer-right {
        margin-left: 0;
        justify-content: center;
        align-items: center;
    }

    .footer-links {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    /* TIPOGRAFIA REDUZIDA */
    .footer-title {
        font-size: 16px;
    }

    .footer-text {
        font-size: 14px;
        line-height: 22px;
    }

    .footer-links a {
        font-size: 14px;
    }

    /* LOGO */
    .footer-logo svg {
        width: 150px;
    }
}
@media (max-width: 768px) {

    /* GLOBAL PADDING RESET */
    header,
    .history-section,
    .footer,
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .navbar-brand {padding-left: 20px;}
    /* HERO */
    header {
        padding: 40px 20px;
        height: auto;
        max-height: 420px; /* reduz drasticamente o hero */
    }

    .hero-title {
        font-size: 22px;
        line-height: 28px;
        letter-spacing: -0.4px;
        padding: 0 20px;
    }

    /* HISTORY */
    .history-section {
        padding: 40px 0px;
    }

    .history-row {
        flex-direction: column;
        gap: 30px;
        padding-top: 30px;
    }

    .history-lead {
        font-size: 24px;
        line-height: 32px;
    }

    .history-text {
        font-size: 14px;
        line-height: 22px;
    }

    /* TITLES */
    .title-primary {
        font-size: 11px;
    }

    .subtitle-primary {
        font-size: 20px;
        line-height: 26px;
    }

    .subtext-primary {
        font-size: 22px;
        line-height: 30px;
    }

    /* COMPANY */
    .company-content {
        padding: 20px 20px 0 0;
    }

    .company-content h5 {
        font-size: 16px;
        line-height: 22px;
    }

    .company-content p {
        font-size: 14px;
        line-height: 22px;
    }

    /* FOOTER */
    .footer {
        padding: 40px 20px;
    }

    .footer-links {
        gap: 3px;
    }
    
    .footer-title {
        font-size: 15px;
    }

    .footer-text {
        font-size: 13px;
        line-height: 20px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-logo svg {
        width: 140px;
    }
}

.read-more{
    line-height: 1.5rem;

}
.read-more:hover{
    text-decoration: none;
}
.read-more div{
    font-size: 1.2rem !important;
}
.read-more div{
    display: inline-block;
    transform: translateX(2px);
    transition: transform 0.3s;
}

.read-more:hover div{
    transform: translateX(5px);
    
}