/* style.css - Estilos principais para SavilTech */
@import url('https://cdn.jsdelivr.net/npm/flag-icons@7.2.3/css/flag-icons.min.css');

/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0A2463;
    --primary-orange: #0677c2;
    --primary-accent: #0677c2;
    --dark-gray: #2E2E2E;
    --light-gray: #F5F5F5;
    --medium-gray: #777;
    --white: #FFFFFF;
    --success-green: #00A878;
    --cyan-neon: #00FFFF;
    --transition: all 0.3s ease;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
    top: 0 !important;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Barra superior */
.top-bar {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.top-info {
    flex: 1;
}

.language-selector {
    flex: 1;
    justify-content: flex-end;
}

.top-bar-client-area {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    animation: clientAreaPulse 2.5s ease-in-out infinite;
}

/* Centralizar "Área do cliente" no desktop */
@media (min-width: 769px) {
    .top-bar .container {
        position: relative;
    }
    .top-bar-client-area {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
    }
    .top-bar-client-area:hover {
        transform: translateX(-50%) scale(1.05);
    }
    .top-bar-client-area:active {
        transform: translateX(-50%) scale(0.98);
    }
}

.top-bar-client-area:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.top-bar-client-area:active {
    transform: scale(0.98);
}

@keyframes clientAreaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2); }
    50% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
}

.top-bar-client-area i {
    font-size: 0.95rem;
}

.top-info i {
    margin-right: 5px;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-selector span {
    margin-right: 5px;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 3px 8px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
}

/* Cabeçalho principal */
.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
}

/* Header fixo ao rolar: animação de entrada + fundo transparente com blur */
.main-header.header-scrolled {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    padding: 10px 0;
    animation: headerSlideIn 0.4s ease-out;
}
.main-header.header-scrolled:hover {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 6px 28px rgba(10, 36, 99, 0.08);
}
.main-header.header-scrolled .logo {
    height: 72px;
}
@keyframes headerSlideIn {
    from {
        background: rgba(255, 255, 255, 0);
        backdrop-filter: blur(0);
    }
    to {
        background: rgba(255, 255, 255, 0.75);
        backdrop-filter: blur(16px);
    }
}
.main-header:not(.header-scrolled):hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

/* Dar mais espaço ao menu (desktop) para não esconder o "+" */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    min-width: 0;
}

.logo-container a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark-gray);
}

.logo {
    height: 100px;
    width: auto;
    margin-right: 15px;
    animation: logoPulse 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(10, 36, 99, 0.3));
    transition: height 0.35s ease, filter 0.3s ease, transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(255, 107, 53, 0.5));
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(10, 36, 99, 0.3));
    }
    50% {
        transform: scale(1.03);
        filter: drop-shadow(0 0 15px rgba(255, 107, 53, 0.4));
    }
}

.logo-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--primary-blue);
    line-height: 1;
}

.logo-text p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-top: 2px;
}

/* Navegação principal */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 18px;
    flex-direction: row;
    justify-content: flex-end;
    flex-wrap: wrap;
    row-gap: 10px;
}

@media (min-width: 769px) {
    .main-nav ul {
        flex-direction: row;
    }
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Ícones no menu principal (index.html) */
.main-header .nav-link > i {
    font-size: 0.95rem;
    opacity: 0.92;
    transform: translateY(0.5px);
}

.main-header .nav-link > span {
    display: inline-block;
}

/* Badge "+" (substitui ícones em Quem Somos/Serviços) */
.nav-plus-badge {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: rgba(255, 107, 53, 0.14);
    border: 1px solid rgba(255, 107, 53, 0.22);
    color: rgba(255, 107, 53, 0.95);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.10);
    transform: translateY(0.5px);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    flex: 0 0 auto;
}

.nav-plus-badge::before {
    content: '+';
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.05rem;
    line-height: 1;
}

.dropdown:hover > .nav-link.dropdown-toggle .nav-plus-badge,
.dropdown.active > .nav-link.dropdown-toggle .nav-plus-badge {
    transform: rotate(90deg) translateY(0.5px) scale(1.05);
    background: rgba(6, 119, 194, 0.14);
    border-color: rgba(6, 119, 194, 0.22);
    color: rgba(6, 119, 194, 0.95);
    box-shadow: 0 14px 30px rgba(6, 119, 194, 0.12);
}

.dropdown:hover > .nav-link.dropdown-toggle .nav-plus-badge {
    animation: plusPop 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes plusPop {
    0% { filter: blur(0); }
    40% { transform: rotate(90deg) translateY(0.5px) scale(1.12); }
    100% { transform: rotate(90deg) translateY(0.5px) scale(1.05); }
}

.nav-link i.fa-home {
    font-size: 1.2rem;
    margin: 0;
    display: inline-block;
}

/* Estilo específico para link com apenas ícone de casa */
.nav-link:only-child i.fa-home,
a.nav-link i.fa-home:only-child {
    font-size: 1.2rem;
}

/* Garantir que o link com ícone de casa tenha tamanho adequado */
a.nav-link[href*="index.html"]:has(i.fa-home:only-child),
a.nav-link[href="index.html"]:has(i.fa-home) {
    padding: 10px 15px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fallback para navegadores que não suportam :has() */
a.nav-link[href="index.html"] i.fa-home {
    font-size: 1.2rem;
    margin: 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-blue));
    border-radius: 3px;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 85%;
    left: 50%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-orange);
}

.contact-link {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #e85a2a 50%, var(--primary-orange) 100%);
    background-size: 200% 200%;
    color: var(--white) !important;
    padding: 10px 22px !important;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    animation: contactShine 3s ease-in-out infinite;
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}

.contact-link:hover::before {
    left: 100%;
}

.contact-link::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.4), transparent 40%, transparent 60%, rgba(255,255,255,0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.contact-link:hover::after {
    opacity: 1;
}

@keyframes contactShine {
    0%, 100% {
        background-position: 0% 50%;
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    }
    50% {
        background-position: 100% 50%;
        box-shadow: 0 6px 25px rgba(255, 107, 53, 0.55);
    }
}

.contact-link:hover {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0d2d6e 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(10, 36, 99, 0.45);
}

.contact-link:active {
    transform: translateY(-1px);
}

.contact-link i {
    margin-right: 8px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.contact-link:hover i {
    transform: rotate(-15deg) scale(1.1);
}

/* Dropdown menus */
.dropdown {
    position: relative;
}

.dropdown > .nav-link.dropdown-toggle {
    /* deixa claro que abre por hover (não é para clicar) */
    cursor: default !important;
    user-select: none;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: visible;
    max-width: 100%;
}

.dropdown > .nav-link.dropdown-toggle:active {
    transform: none !important;
}

.dropdown:hover > .nav-link.dropdown-toggle {
    /* realce visual no item pai (ajuda o utilizador a perceber que é dropdown) */
    color: var(--primary-orange);
}

/* “pílula” discreta no item pai ao passar o mouse */
.dropdown:hover > .nav-link.dropdown-toggle {
    background: rgba(255, 107, 53, 0.08);
    border-radius: 12px;
    padding-left: 10px;
    padding-right: 10px;
}

.dropdown > .nav-link.dropdown-toggle {
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 12px;
}

.dropdown > .nav-link.dropdown-toggle:focus-visible {
    outline: 2px solid rgba(255, 107, 53, 0.35);
    outline-offset: 6px;
    border-radius: 10px;
}

.dropdown-toggle {
    cursor: default !important;
}

.dropdown-toggle:hover {
    cursor: default !important;
}

/* Prevenir navegação ao clicar no link do dropdown */
.dropdown > .nav-link.dropdown-toggle {
    pointer-events: auto;
    cursor: default !important;
}

.dropdown > .nav-link.dropdown-toggle:hover {
    cursor: default !important;
}

.dropdown-indicator {
    margin-left: 8px;
    /* transformar o antigo chevron em indicador + (sem mudar HTML de todas as páginas) */
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    vertical-align: middle;
    background: rgba(255, 107, 53, 0.14);
    border: 1px solid rgba(255, 107, 53, 0.18);
    color: rgba(255, 107, 53, 0.95);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.10);
    position: relative;
    top: 1px;
}

.dropdown-indicator::before {
    content: '+';
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 0.95rem;
    line-height: 1;
}

.dropdown-indicator::after {
    content: none !important;
}

.dropdown-indicator[class*="fa-"],
.dropdown-indicator.fas,
.dropdown-indicator.fa-chevron-down {
    font-family: inherit !important;
    font-style: normal !important;
}

.dropdown:hover .dropdown-indicator {
    transform: rotate(45deg) scale(1.05);
    background: rgba(6, 119, 194, 0.14);
    border-color: rgba(6, 119, 194, 0.22);
    color: rgba(6, 119, 194, 0.95);
    box-shadow: 0 14px 30px rgba(6, 119, 194, 0.12);
}

/* Indicador de submenu ( + ) moderno */
.dropdown-indicator-plus {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    margin-left: 8px;
    background: rgba(255, 107, 53, 0.14);
    border: 1px solid rgba(255, 107, 53, 0.18);
    color: rgba(255, 107, 53, 0.95);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.10);
    position: relative;
    top: 1px;
}

.dropdown-indicator-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    min-width: 14px;
    font-weight: 900;
    font-size: 0.95rem;
    line-height: 1;
    color: rgba(255, 107, 53, 0.95);
    transform: translateY(1px);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
}

.menu-plus {
    display: inline-block;
    margin-left: 6px;
    font-weight: 900;
    color: rgba(255, 107, 53, 0.95);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease;
}

.dropdown:hover .menu-plus,
.dropdown.active .menu-plus {
    transform: rotate(45deg);
    color: rgba(6, 119, 194, 0.95);
}

.dropdown:hover .dropdown-indicator-text,
.dropdown.active .dropdown-indicator-text {
    transform: rotate(45deg) translateY(1px);
    color: rgba(6, 119, 194, 0.95);
}

/* Mobile: garantir que o "+" aparece bem visível e não “some” no layout */
@media (max-width: 768px) {
    .dropdown-indicator-text {
        font-size: 1.1rem;
        min-width: 18px;
        margin-left: 10px;
    }
}

.dropdown-indicator-plus::before {
    content: '+';
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 0.95rem;
    line-height: 1;
}

.dropdown:hover .dropdown-indicator-plus,
.dropdown.active .dropdown-indicator-plus {
    transform: rotate(45deg) scale(1.05);
    background: rgba(6, 119, 194, 0.14);
    border-color: rgba(6, 119, 194, 0.22);
    color: rgba(6, 119, 194, 0.95);
    box-shadow: 0 14px 30px rgba(6, 119, 194, 0.12);
}

/* Indicador visual de que tem dropdown */
.dropdown .nav-link {
    position: relative;
}

/* Garantir alinhamento/visibilidade do indicador " + " */
.dropdown > .nav-link.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dropdown > .nav-link.dropdown-toggle .dropdown-indicator-plus {
    flex: 0 0 auto;
}

/* Garantir que os indicadores "+" nunca são “empurrados” para fora */
.dropdown > .nav-link.dropdown-toggle .nav-plus-badge,
.dropdown > .nav-link.dropdown-toggle .dropdown-indicator-text {
    flex: 0 0 auto;
}

/* O texto do dropdown pode encolher, mas o "+" nunca desaparece */
.dropdown > .nav-link.dropdown-toggle .dropdown-label {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown > .nav-link.dropdown-toggle .menu-plus {
    flex: 0 0 auto;
}

/* Garantir que o "+" nunca fica “invisível” */
.dropdown-indicator-plus {
    min-width: 18px;
    min-height: 18px;
    opacity: 1 !important;
    visibility: visible !important;
    filter: drop-shadow(0 6px 10px rgba(255, 107, 53, 0.16));
}

.dropdown .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-blue));
    border-radius: 3px;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.dropdown:hover .nav-link::after {
    width: 85%;
    left: 50%;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background-color: var(--white);
    min-width: 320px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: block !important;
    list-style: none;
    margin: 0;
    flex-direction: column;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-menu li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    float: none !important;
    clear: both !important;
    position: relative;
}

.dropdown-menu a {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    padding: 14px 20px;
    text-decoration: none;
    color: var(--dark-gray);
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    overflow: hidden;
    flex-wrap: nowrap;
    min-height: 48px;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-orange) 0%, var(--primary-blue) 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 0 3px 3px 0;
}

.dropdown-menu a:hover::before {
    transform: scaleY(1);
}

.dropdown-menu a:hover {
    background: linear-gradient(90deg, rgba(255, 107, 53, 0.1) 0%, rgba(10, 36, 99, 0.05) 100%);
    color: var(--primary-orange);
    padding-left: 28px;
    transform: translateX(5px);
    box-shadow: inset 0 0 15px rgba(255, 107, 53, 0.08);
    font-weight: 500;
}

.dropdown-menu a i {
    width: 22px;
    text-align: center;
    color: var(--primary-orange);
    font-size: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    pointer-events: none;
}

.dropdown-menu a:hover i {
    transform: scale(1.15) rotate(5deg);
    color: var(--primary-blue);
}

.dropdown-menu a span {
    flex: 1;
    pointer-events: none;
    display: block;
    width: 100%;
}

/* Botão menu móvel */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* Hero Slider */
.hero-slider {
    height: 600px;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    filter: blur(6px);
    transition: opacity 0.8s ease, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;
}

.hero-slider.hero-ready {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: opacity 0.6s ease-out;
}

.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 36, 99, 0.7), rgba(10, 36, 99, 0.3));
    z-index: 1;
}

/* Hero slider – imagens fixas em CSS para não desaparecerem */
.hero-slider .slide-1 { background: linear-gradient(to right, rgba(10,36,99,0.7), rgba(10,36,99,0.35)), url('../img/web.jpg') center/cover no-repeat; }
.hero-slider .slide-2 { background: linear-gradient(to right, rgba(10,36,99,0.7), rgba(10,36,99,0.35)), url('../img/web1.jpg') center/cover no-repeat; }
.hero-slider .slide-3 { background: linear-gradient(to right, rgba(10,36,99,0.7), rgba(10,36,99,0.35)), url('../img/web2.jpg') center/cover no-repeat; }
.hero-slider .slide-4 { background: linear-gradient(to right, rgba(10,36,99,0.7), rgba(10,36,99,0.35)), url('../img/´web3.jpg') center/cover no-repeat; }
.hero-slider .slide-5 { background: linear-gradient(to right, rgba(10,36,99,0.7), rgba(10,36,99,0.35)), url('../img/mobile.jpg') center/cover no-repeat; }
.hero-slider .slide-6 { background: linear-gradient(to right, rgba(10,36,99,0.7), rgba(10,36,99,0.35)), url('../img/apk.jpg') center/cover no-repeat; }
.hero-slider .slide-7 { background: linear-gradient(to right, rgba(10,36,99,0.7), rgba(10,36,99,0.35)), url('../img/code.jpg') center/cover no-repeat; }
.hero-slider .slide-8 { background: linear-gradient(to right, rgba(10,36,99,0.7), rgba(10,36,99,0.35)), url('../img/code1.jpg') center/cover no-repeat; }
.hero-slider .slide-9 { background: linear-gradient(to right, rgba(10,36,99,0.7), rgba(10,36,99,0.35)), url('../img/code2.jpg') center/cover no-repeat; }
.hero-slider .slide-10 { background: linear-gradient(to right, rgba(10,36,99,0.7), rgba(10,36,99,0.35)), url('../img/IA.jpg') center/cover no-repeat; }
.hero-slider .slide-11 { background: linear-gradient(to right, rgba(10,36,99,0.7), rgba(10,36,99,0.35)), url('../img/informatica.jpg') center/cover no-repeat; }
.hero-slider .slide-12 { background: linear-gradient(to right, rgba(10,36,99,0.7), rgba(10,36,99,0.35)), url('../img/software.jpg') center/cover no-repeat; }

.slide-content {
    position: absolute;
    right: 34px;
    bottom: 28px;
    top: auto;
    left: auto;
    transform: none;
    z-index: 2;
    text-align: left;
    color: var(--white);
    max-width: 560px;
    width: min(92%, 560px);
    padding: 18px 18px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(10, 36, 99, 0.78), rgba(5, 20, 42, 0.58));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(0, 255, 255, 0.08) inset;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(14px);
}

.swiper-slide-active .slide-content {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.65s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.swiper-slide-active .slide-title,
.swiper-slide-active .slide-text,
.swiper-slide-active .btn-slide {
    animation: heroCardIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroCardIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-text {
    font-size: 1.05rem;
    margin-bottom: 14px;
    opacity: 0.9;
}

.btn-slide {
    display: inline-block;
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 12px 18px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.98rem;
    transition: var(--transition);
    border: 2px solid var(--primary-orange);
}

.btn-slide:hover {
    background-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Navegação do slider */
.swiper-button-next,
.swiper-button-prev {
    color: var(--white) !important;
    background-color: rgba(255, 107, 53, 0.42);
    width: 46px !important;
    height: 46px !important;
    border-radius: 50%;
    transition: var(--transition);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 107, 53, 0.25);
}

.hero-slider .swiper-button-prev {
    left: 18px !important;
}

.hero-slider .swiper-button-next {
    right: 18px !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--primary-orange);
}

/* Paginação vertical numérica com linha de preenchimento */
.hero-slider .swiper-pagination {
    left: 86px !important;
    right: auto !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px;
    width: auto !important;
    z-index: 3;
}

.hero-slider .swiper-pagination-bullet {
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    opacity: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    --prog: 0;
}

.hero-slider .swiper-pagination-bullet .hero-pag-num {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.06em;
    width: 2.2rem;
    text-align: right;
    transition: color 0.3s ease, transform 0.3s ease;
}

.hero-slider .swiper-pagination-bullet .hero-pag-line {
    position: relative;
    width: 3px;
    height: 30px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    overflow: hidden;
}

.hero-slider .swiper-pagination-bullet .hero-pag-fill {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: calc(var(--prog) * 100%);
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.35), rgba(255, 107, 53, 0.95));
    border-radius: 999px;
    box-shadow: 0 0 14px rgba(255, 107, 53, 0.25);
    transition: height 90ms linear;
}

.hero-slider .swiper-pagination-bullet-active .hero-pag-num {
    color: rgba(255, 255, 255, 0.95);
    transform: translateX(-2px);
}

@media (max-width: 768px) {
    .hero-slider .swiper-pagination {
        left: 64px !important;
    }
    .slide-content {
        left: 14px;
        right: 14px;
        bottom: 14px;
        width: calc(100% - 28px);
        max-width: none;
        padding: 16px 14px;
    }
}

/* Seção Sobre */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #eef3f9 45%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.about-section .section-title {
    opacity: 0;
    transform: translateY(10px);
    animation: aboutTitleIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.about-section .section-title::after {
    width: 110px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255,107,53,1), rgba(6,119,194,0.85), rgba(255,107,53,0.0));
    box-shadow: 0 10px 22px rgba(255, 107, 53, 0.16);
}

@keyframes aboutTitleIn {
    from { opacity: 0; transform: translateY(12px); filter: blur(6px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* ========== Agendar reunião (form horizontal) ========== */
.meeting-section {
    padding: 34px 0 18px;
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.04) 0%, rgba(255, 107, 53, 0.04) 100%);
    border-bottom: 1px solid rgba(10, 36, 99, 0.06);
    overflow: hidden;
}

.meeting-section .container {
    width: 100%;
    max-width: none;
    padding: 0 20px;
}

.meeting-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.meeting-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: 0.01em;
    margin: 0;
}

.meeting-title-typing {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    padding-right: 10px;
    color: transparent; /* o texto visível é desenhado pelo ::before (efeito typewriter) */
}

.meeting-title-typing::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 2px;
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.3), rgba(255, 107, 53, 1));
    box-shadow: 0 0 18px rgba(255, 107, 53, 0.35);
    animation: meetingCursorBlink 0.9s step-end infinite;
}

.meeting-title-typing::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    display: inline-block;
    white-space: nowrap;
    color: var(--primary-blue);
    text-shadow: 0 0 22px rgba(6, 119, 194, 0.12);
    clip-path: inset(0 100% 0 0);
    animation: meetingTypeLoop 4.2s steps(18, end) infinite;
}

@keyframes meetingTypeLoop {
    0% { clip-path: inset(0 100% 0 0); }
    48% { clip-path: inset(0 0 0 0); }
    64% { clip-path: inset(0 0 0 0); }
    100% { clip-path: inset(0 100% 0 0); }
}

@keyframes meetingCursorBlink {
    50% { opacity: 0; }
}

.meeting-form {
    position: relative;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.92));
    border: 1px solid rgba(10, 36, 99, 0.08);
    box-shadow: 0 16px 44px rgba(10, 36, 99, 0.08);
    padding: 14px;
    transform: translateY(0);
    opacity: 1;
    width: 100%;
}

.meeting-section.meeting-ready .meeting-form {
    animation: meetingIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes meetingIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.meeting-row {
    display: grid;
    grid-template-columns: 1.35fr 1.05fr 1.05fr 0.95fr 0.7fr 0.7fr 0.75fr 0.9fr 1.05fr 1.05fr 1.05fr auto;
    gap: 10px;
    align-items: end;
}

.meeting-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.meeting-field label {
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(10, 36, 99, 0.85);
}

.meeting-field input,
.meeting-field select {
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(10, 36, 99, 0.14);
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,248,252,0.92));
    padding: 0 12px;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.meeting-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
    cursor: pointer;
    background-image:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,248,252,0.92)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230A2463' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat, no-repeat;
    background-size: auto, 18px 18px;
    background-position: 0 0, calc(100% - 14px) 50%;
}

.meeting-field select:hover {
    border-color: rgba(255, 107, 53, 0.35);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.08);
}

.meeting-field input:focus,
.meeting-field select:focus {
    border-color: rgba(6, 119, 194, 0.55);
    box-shadow: 0 0 0 4px rgba(6, 119, 194, 0.12);
    transform: translateY(-1px);
}

.meeting-field--duration .meeting-duration {
    height: 44px;
    border-radius: 12px;
    border: 1px dashed rgba(10, 36, 99, 0.18);
    background: rgba(10, 36, 99, 0.03);
    display: flex;
    align-items: center;
    padding: 0 12px;
    color: rgba(10, 36, 99, 0.9);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.meeting-actions {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.meeting-btn {
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 107, 53, 0.35);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.95), rgba(6, 119, 194, 0.92));
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: 0.02em;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(10, 36, 99, 0.18);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.meeting-btn-glow {
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 180deg at 50% 50%, transparent, rgba(255,255,255,0.22), transparent 35%);
    animation: siteLangSpin 3.2s linear infinite;
    opacity: 0.65;
    pointer-events: none;
}

.meeting-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 40px rgba(10, 36, 99, 0.22);
}

.meeting-btn:active {
    transform: translateY(0) scale(0.985);
}

.meeting-status {
    margin-top: 10px;
    min-height: 22px;
    font-size: 0.92rem;
    font-weight: 700;
    color: rgba(10, 36, 99, 0.85);
}

.meeting-status.ok {
    color: rgba(0, 168, 120, 0.95);
}

.meeting-status.err {
    color: rgba(220, 53, 69, 0.95);
}

@media (max-width: 1100px) {
    .meeting-row {
        grid-template-columns: 1.4fr 1.1fr 1.1fr 1fr 0.8fr 0.8fr 0.9fr 1fr 1.1fr 1.1fr 1.1fr auto;
    }
}

@media (max-width: 900px) {
    .meeting-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .meeting-row {
        grid-template-columns: 1fr 1fr;
    }
    .meeting-actions {
        grid-column: 1 / -1;
        justify-content: stretch;
    }
    .meeting-btn {
        width: 100%;
        justify-content: center;
    }
}


.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(10, 36, 99, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.about-section .container {
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-blue);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-orange);
}

.about-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255,255,255,0.88), rgba(245,250,255,0.82));
    border: 1px solid rgba(10, 36, 99, 0.08);
    box-shadow:
        0 18px 44px rgba(10, 36, 99, 0.08),
        0 0 0 1px rgba(255,255,255,0.6) inset;
}

.about-row.animated {
    opacity: 1;
    transform: translateY(0);
}

.about-row:hover {
    transform: translateY(-4px);
    box-shadow:
        0 24px 56px rgba(10, 36, 99, 0.12),
        0 0 0 1px rgba(6, 119, 194, 0.12) inset;
}

.about-row:nth-child(even) {
    animation-delay: 0.2s;
}

.about-row.reverse {
    flex-direction: row-reverse;
}

.about-img, .about-text {
    flex: 1;
}

.about-img img {
    width: 100%;
    border-radius: 18px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.about-img img:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.about-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange) 0%, transparent 100%);
    border-radius: 2px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--medium-gray);
}

.btn-read-more {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-orange);
    padding: 12px 25px;
    text-decoration: none;
    border: 2px solid var(--primary-orange);
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 12px 26px rgba(255, 107, 53, 0.14);
}

.btn-read-more::before,
.btn-read-more::after {
    content: '';
    position: absolute;
    inset: 50% auto auto 50%;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 2px solid rgba(255, 107, 53, 0.55);
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    z-index: -1;
}

.btn-read-more::before {
    animation: wifiPulse 2.2s ease-out infinite;
}

.btn-read-more::after {
    animation: wifiPulse 2.2s ease-out infinite 0.75s;
}

@keyframes wifiPulse {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
    20% { opacity: 0.7; }
    70% { opacity: 0.08; }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(10); }
}

.btn-read-more:hover {
    background-color: var(--primary-orange);
    color: var(--white);
    transform: translateX(5px);
}

.btn-read-more i {
    margin-left: 8px;
    transition: var(--transition);
}

.btn-read-more:hover i {
    transform: translateX(5px);
}

/* Seção FAQ */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(10,36,99,0.04) 0%, rgba(255,107,53,0.05) 45%, rgba(255,255,255,1) 100%);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(10,36,99,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.faq-section .container {
    position: relative;
    z-index: 1;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    position: relative;
    background: linear-gradient(145deg, rgba(255,255,255,0.92), rgba(245,250,255,0.86));
    border-radius: 18px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    border: 1px solid rgba(10, 36, 99, 0.08);
    box-shadow:
        0 14px 36px rgba(10, 36, 99, 0.07),
        0 0 0 1px rgba(255,255,255,0.65) inset;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow:
        0 20px 54px rgba(10, 36, 99, 0.12),
        0 0 0 1px rgba(6, 119, 194, 0.10) inset;
}

.faq-item.active {
    border-color: rgba(255, 107, 53, 0.22);
    box-shadow:
        0 22px 60px rgba(255, 107, 53, 0.12),
        0 0 0 1px rgba(255, 107, 53, 0.10) inset;
}

.faq-question {
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
    position: relative;
    gap: 14px;
}

.faq-question::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 0%, rgba(255, 107, 53, 0.18), transparent 55%),
        radial-gradient(circle at 100% 50%, rgba(6, 119, 194, 0.12), transparent 45%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.faq-item.active .faq-question::before {
    opacity: 1;
}

.faq-question:hover {
    color: var(--primary-blue);
}

.faq-question span {
    flex: 1;
    transition: var(--transition);
    line-height: 1.35;
}

/* Ícone + moderno do FAQ (vira X ao abrir) */
.faq-question .faq-plus {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255, 107, 53, 0.14);
    border: 1px solid rgba(255, 107, 53, 0.18);
    color: rgba(255, 107, 53, 0.95);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease, box-shadow 0.35s ease, border-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 10px 22px rgba(255, 107, 53, 0.12);
}

.faq-question .faq-plus::before {
    content: '+';
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.15rem;
    line-height: 1;
}

.faq-item.active .faq-question .faq-plus {
    transform: rotate(45deg) scale(1.05);
    background: rgba(6, 119, 194, 0.14);
    border-color: rgba(6, 119, 194, 0.22);
    color: rgba(6, 119, 194, 0.95);
    box-shadow: 0 14px 30px rgba(6, 119, 194, 0.14);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), padding 0.45s ease, opacity 0.35s ease;
    padding: 0 20px;
    background: linear-gradient(to bottom, rgba(10, 36, 99, 0.02), transparent);
    opacity: 0.7;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 20px 18px 20px;
    opacity: 1;
}

.faq-answer p {
    color: var(--medium-gray);
    line-height: 1.8;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.faq-item.active .faq-answer p {
    opacity: 1;
    transform: translateY(0);
}

/* micro-efeito ao passar o mouse */
.faq-item:hover .faq-question .faq-plus {
    transform: translateY(-1px) scale(1.03);
}

@media (max-width: 768px) {
    .faq-container { padding: 0 6px; }
    .faq-question { padding: 16px 16px; font-size: 0.98rem; }
    .faq-answer { padding: 0 16px; }
    .faq-item.active .faq-answer { padding: 0 16px 16px 16px; }
}

/* Footer */
.main-footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-orange);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item i {
    color: var(--primary-orange);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 3px;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #ddd;
}

.contact-item p,
.contact-item a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-orange);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-orange);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--primary-orange);
    transform: translateX(5px);
}

.social-link i {
    width: 30px;
    font-size: 1.2rem;
}

.newsletter h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #ddd;
}

.newsletter p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #555;
    background-color: #444;
    color: var(--white);
    border-radius: 5px 0 0 5px;
    font-family: 'Open Sans', sans-serif;
}

.newsletter-form button {
    background-color: var(--primary-orange);
    color: var(--white);
    border: none;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--primary-blue);
}

.footer-divider {
    height: 1px;
    background-color: #555;
    margin: 30px 0;
}

.footer-bottom {
    padding-top: 20px;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 16px;
    font-size: 0.9rem;
    color: #aaa;
}

.footer-bottom-inner .copyright,
.footer-bottom-inner .created-by {
    white-space: nowrap;
}

.footer-bottom-inner .created-by span {
    color: var(--primary-orange);
    font-weight: 600;
}

.footer-bottom-inner .legal-links {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
}

.copyright p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.created-by span {
    color: var(--primary-orange);
    font-weight: 600;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.legal-links a:hover {
    color: var(--primary-orange);
}

/* Animação do indicador de dropdown */
.dropdown .nav-link i.fa-chevron-down {
    transition: transform 0.3s ease;
    display: inline-block;
}

.dropdown:hover .nav-link i.fa-chevron-down,
.dropdown.active .nav-link i.fa-chevron-down {
    transform: rotate(180deg);
}

/* Animações de entrada de seções */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.section-animate {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.section-animate.animated {
    opacity: 1;
}

/* Barra Lateral Esquerda - Ocultada em todo o site (removida a pedido) */
.contact-sidebar {
    display: none !important;
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    align-items: center;
}

.sidebar-toggle {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1001;
}

.sidebar-toggle:hover {
    background: var(--primary-orange);
    transform: translateX(5px);
}

.sidebar-content {
    background: transparent;
    width: 0;
    overflow: hidden;
    transition: width 0.3s ease;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.3);
}

.contact-sidebar:hover .sidebar-content {
    width: 320px;
}

.sidebar-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 20px 15px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.sidebar-text:hover {
    color: var(--primary-orange);
}

.sidebar-form-container {
    background: var(--white);
    padding: 0;
    border-radius: 0 10px 10px 0;
    margin: 10px 0;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
    display: none;
}

.contact-sidebar:hover .sidebar-form-container {
    opacity: 1;
    transform: translateX(0);
    max-height: 600px;
    margin: 10px;
    padding: 20px;
    display: block;
}

.sidebar-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-gray);
}

.sidebar-form-header h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin: 0;
}

.close-form {
    background: none;
    border: none;
    color: var(--medium-gray);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-form:hover {
    color: var(--primary-orange);
    transform: rotate(90deg);
}

.sidebar-contact-form .form-group {
    margin-bottom: 15px;
}

.sidebar-contact-form label {
    display: block;
    margin-bottom: 5px;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 0.9rem;
}

.sidebar-contact-form input,
.sidebar-contact-form textarea,
.sidebar-contact-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    transition: var(--transition);
}

.sidebar-contact-form input:focus,
.sidebar-contact-form textarea:focus,
.sidebar-contact-form select:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.phone-input-wrapper {
    display: flex;
    gap: 5px;
}

.phone-input-wrapper select {
    width: 80px;
    flex-shrink: 0;
}

.phone-input-wrapper input {
    flex: 1;
}

.btn-submit {
    width: 100%;
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-submit:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.sidebar-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
}

.sidebar-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.sidebar-icon.whatsapp {
    background: #25D366;
}

.sidebar-icon.youtube {
    background: #FF0000;
}

.sidebar-icon.email {
    background: var(--primary-orange);
}

.sidebar-icon:hover {
    transform: scale(1.1) translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Botão Flutuante Inferior Direito */
.floating-contact-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 998;
}

/* Seta para Topo - Separada do botão flutuante */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 50px;
    height: 50px;
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    z-index: 996;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.contact-icon-wrapper {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    transition: var(--transition);
    animation: floatShake 1.6s ease-in-out infinite;
}

@keyframes floatShake {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    15% { transform: rotate(-6deg) translateY(-1px); }
    30% { transform: rotate(6deg) translateY(0); }
    45% { transform: rotate(-5deg) translateY(-1px); }
    60% { transform: rotate(5deg) translateY(0); }
    75% { transform: rotate(-3deg) translateY(-1px); }
}

@keyframes pulseAnimation {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 6px 30px rgba(255, 107, 53, 0.6);
    }
}

.contact-icon-wrapper:hover {
    transform: scale(1.15);
    animation: none;
}

.contact-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.floating-contact-btn:hover .contact-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-contact-btn.active .contact-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-option {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: slideInUp 0.3s ease forwards;
    opacity: 0;
}

.floating-contact-btn.active .contact-option:nth-child(1) { animation-delay: 0.1s; }
.floating-contact-btn.active .contact-option:nth-child(2) { animation-delay: 0.2s; }
.floating-contact-btn.active .contact-option:nth-child(3) { animation-delay: 0.3s; }
.floating-contact-btn.active .contact-option:nth-child(4) { animation-delay: 0.4s; }
.floating-contact-btn.active .contact-option:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-option.sms {
    background: #FF6B9D;
}

.contact-option.email {
    background: #EA4335;
}

.contact-option.phone {
    background: #34A853;
}

.contact-option.messenger {
    background: #0084FF;
}

.contact-option.whatsapp {
    background: #25D366;
}

.contact-option:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Chatbot */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 997;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(10, 36, 99, 0.4);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: chatbotBounce 2s ease-in-out infinite;
}

@keyframes chatbotBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    animation: none;
}

.chatbot-logo {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.chatbot-toggle i.fa-comments {
    display: none;
}

.chatbot-toggle i.fa-robot {
    color: var(--white);
    font-size: 1.8rem;
    z-index: 1;
    opacity: 1;
}

.chatbot-greeting {
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-blue);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    animation: greetingAppear 0.5s ease-out, greetingPulse 3s ease-in-out 0.5s infinite;
    z-index: 998;
}

@keyframes greetingAppear {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

@keyframes greetingPulse {
    0%, 100% {
        transform: translateY(-50%) scale(1);
    }
    50% {
        transform: translateY(-50%) scale(1.05);
    }
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 350px;
    height: 500px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s ease;
}

.chatbot-container.active .chatbot-window {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    padding: 15px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-header-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.chatbot-header-info h4 {
    color: var(--white);
    margin: 0;
    font-size: 1rem;
}

.chatbot-status {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.chatbot-close:hover {
    transform: rotate(90deg);
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chatbot-message {
    max-width: 80%;
    padding: 12px 15px;
    border-radius: 15px;
    animation: messageSlideIn 0.3s ease;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bot-message {
    background: var(--light-gray);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.user-message {
    background: var(--primary-blue);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.chatbot-suggestions {
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid var(--light-gray);
}

.suggestion-btn {
    background: var(--light-gray);
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--dark-gray);
}

.suggestion-btn:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: translateY(-2px);
}

.chatbot-input-container {
    padding: 15px;
    border-top: 1px solid var(--light-gray);
    display: flex;
    gap: 10px;
}

.chatbot-input-container input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
}

.chatbot-input-container input:focus {
    outline: none;
    border-color: var(--primary-orange);
}

#chatbotSend {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

#chatbotSend:hover {
    background: var(--primary-blue);
    transform: scale(1.1);
}


/* Indicadores de Slideshow com linha de preenchimento */
.swiper-pagination {
    bottom: 30px !important;
}

.swiper-pagination-bullet {
    width: 40px !important;
    height: 4px !important;
    border-radius: 2px !important;
    background: rgba(255, 255, 255, 0.3) !important;
    opacity: 1 !important;
    margin: 0 5px !important;
    position: relative;
    overflow: hidden;
}

.swiper-pagination-bullet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--primary-orange);
    transition: width linear;
}

.swiper-pagination-bullet-active::before {
    width: 100%;
    animation: fillProgress 5s linear forwards;
}

@keyframes fillProgress {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Slideshow com imagens dinâmicas */
.swiper-slide {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative;
}

.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 36, 99, 0.7), rgba(10, 36, 99, 0.3));
    z-index: 1;
}

/* Ajustes de z-index para componentes flutuantes */
.contact-sidebar {
    z-index: 999;
}

.floating-contact-btn {
    z-index: 998;
}

.chatbot-container {
    z-index: 997;
}

.scroll-to-top {
    z-index: 996;
}

/* Páginas Internas */
.page-hero {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0 80px;
    text-align: center;
    color: var(--white);
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

/* Sobreposição escura nas imagens do topo de cada página */
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.75) 0%, rgba(10, 36, 99, 0.5) 50%, rgba(255, 107, 53, 0.4) 100%);
    z-index: 0;
}

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

.page-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Páginas legais (Privacidade, Termos, Cookies) */
.legal-content {
    padding: 60px 0 80px;
    background: var(--white);
}

.legal-inner {
    max-width: 800px;
    margin: 0 auto;
    color: var(--medium-gray);
    text-align: justify;
    line-height: 1.5;
}

.legal-updated {
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: var(--dark-gray);
}

.legal-inner h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-inner h2:first-of-type {
    margin-top: 0;
}

.legal-inner h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    color: var(--dark-gray);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-inner p {
    margin-bottom: 1rem;
    text-align: justify;
    line-height: 1.5;
}

.legal-inner ul {
    margin: 0 0 1rem 1.25rem;
    padding-left: 0.5rem;
}

.legal-inner li {
    margin-bottom: 0.4rem;
    text-align: justify;
    line-height: 1.5;
}

.legal-inner a {
    color: var(--primary-orange);
    text-decoration: none;
}

.legal-inner a:hover {
    text-decoration: underline;
}

.legal-inner .btn-read-more {
    display: inline-block;
    margin-top: 1.5rem;
}

.about-history {
    padding: 80px 0;
    background: var(--white);
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.history-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.history-text p,
.text-justify-spacing p {
    margin-bottom: 15px;
    color: var(--medium-gray);
    text-align: justify;
    line-height: 1.5;
}

.about-text p {
    text-align: justify;
    line-height: 1.5;
}

.history-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.history-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.timeline-item {
    text-align: center;
    padding: 30px;
    background: var(--light-gray);
    border-radius: 15px;
    transition: var(--transition);
}

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

.timeline-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 2rem;
}

.timeline-content h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

/* Timeline linha do tempo (Sobre) */
.timeline-wrap {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-orange), var(--primary-blue));
    border-radius: 4px;
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(6, 119, 194, 0.3);
}

.timeline-wrap .timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding: 0;
    background: none;
    text-align: left;
}

.timeline-wrap .timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-wrap .timeline-item.timeline-left .timeline-card {
    margin-right: calc(50% + 35px);
    text-align: right;
}

.timeline-wrap .timeline-item.timeline-right .timeline-card {
    margin-left: calc(50% + 35px);
    text-align: left;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 24px;
    width: 20px;
    height: 20px;
    background: var(--primary-orange);
    border: 4px solid var(--white);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px rgba(6, 119, 194, 0.3);
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 0 8px rgba(6, 119, 194, 0.2);
}

.timeline-card {
    background: var(--white);
    padding: 28px 32px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(6, 119, 194, 0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.timeline-item:hover .timeline-card {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(6, 119, 194, 0.15);
}

.timeline-card .timeline-icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
    margin: 0 0 16px 0;
}

.timeline-wrap .timeline-item.timeline-right .timeline-card .timeline-icon {
    margin-left: 0;
}

.timeline-card h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 1.35rem;
}

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

@media (max-width: 768px) {
    .timeline-line {
        left: 24px;
    }
    .timeline-wrap .timeline-item.timeline-left .timeline-card,
    .timeline-wrap .timeline-item.timeline-right .timeline-card {
        margin-left: 55px;
        margin-right: 0;
        text-align: left;
    }
    .timeline-dot {
        left: 24px;
    }
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: var(--white);
}

.services-section:nth-child(even) {
    background: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-top-color: var(--primary-orange);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 2rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.team-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--light-gray);
    border-radius: 15px;
    transition: var(--transition);
}

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

.team-image {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 3rem;
}

.team-card h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.team-role {
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-card p {
    color: var(--medium-gray);
}

/* Equipa – cards com foto e overlay (elton.png) */
.team-grid-pro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.team-card-pro {
    text-align: center;
    transition: transform 0.3s ease;
}

.team-card-pro:hover {
    transform: translateY(-6px);
}

.team-card-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    margin-bottom: 20px;
}

.team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Sobreposição preta permanente nas fotos da equipa (sem hover) */
.team-card-overlay-dark {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
    z-index: 1;
}

.team-card-pro:hover .team-card-photo img {
    transform: scale(1.08);
}

.team-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 119, 194, 0.95) 0%, rgba(10, 36, 99, 0.7) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 2;
}

.team-card-pro:hover .team-card-overlay {
    opacity: 1;
}

.team-role-overlay {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
}

.team-desc-overlay {
    color: rgba(255,255,255,0.95);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 16px;
    text-align: justify;
}

/* Secção Missão e Valores na página Equipa */
.mission-values-wrap {
    max-width: 800px;
    margin: 0 auto;
}

.mission-values-wrap p,
.mission-values-wrap .value-item p {
    text-align: justify;
    line-height: 1.5;
    color: var(--medium-gray);
    margin-bottom: 1rem;
}

.mission-values-section {
    padding: 60px 0 80px;
    background: var(--light-gray);
}

.mission-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.mission-values-section .mission-heading:first-of-type {
    margin-top: 0;
}

.values-grid-inline {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.mission-values-section .value-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.team-social-overlay {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.team-social-overlay a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
}

.team-social-overlay a:hover {
    background: var(--white);
    color: var(--primary-orange);
    transform: scale(1.1);
}

.team-card-pro h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-blue);
    margin-bottom: 6px;
    font-size: 1.25rem;
}

.team-card-pro .team-role {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: linear-gradient(160deg, #f0f7ff 0%, #e8f2fc 50%, var(--white) 100%);
}

.values-section .mission-box p {
    text-align: justify;
    line-height: 1.5;
}

/* Timeline de Valores */
.values-timeline {
    position: relative;
    margin-top: 40px;
    padding: 10px 0 10px 0;
}

.values-timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(255,107,53,0.8), rgba(6,119,194,0.9));
    border-radius: 999px;
    opacity: 0.5;
    z-index: 0;
}

/* Linha do tempo: grelha — card | conector | eixo | conector | card */
.values-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
    align-items: center;
    margin: 28px 0;
    min-height: 72px;
    opacity: 0;
    filter: blur(6px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}

.values-timeline-item--left {
    transform: translateY(20px) translateX(-16px);
}

.values-timeline-item--right {
    transform: translateY(20px) translateX(16px);
}

.values-timeline-item.appear,
.values-timeline-item.animated {
    opacity: 1;
    transform: translateY(0) translateX(0);
    filter: blur(0);
}

.values-timeline-side--empty {
    min-width: 0;
}

.values-timeline-side--with-card {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 0;
}

.values-timeline-item--left .values-timeline-side--with-card {
    flex-direction: row;
    justify-content: flex-end;
}

.values-timeline-item--right .values-timeline-side--with-card {
    flex-direction: row;
    justify-content: flex-start;
}

/* Barra horizontal visível entre card e linha central */
.values-timeline-connector {
    flex: 1 1 auto;
    min-width: 28px;
    height: 5px;
    border-radius: 3px;
    background: linear-gradient(90deg, #ff6b35 0%, #0677c2 100%);
    box-shadow: 0 0 8px rgba(6, 119, 194, 0.35);
    align-self: center;
    z-index: 1;
}

.values-timeline-item--left .values-timeline-card {
    flex: 0 1 360px;
    max-width: 360px;
}

.values-timeline-item--right .values-timeline-card {
    flex: 0 1 360px;
    max-width: 360px;
}

.values-timeline-axis {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.values-timeline-dot {
    position: relative;
    z-index: 3;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #ffffff;
    border: 3px solid rgba(255, 107, 53, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
}

.values-timeline-dot i {
    font-size: 0.95rem;
}

.values-timeline-card {
    position: relative;
    background: #ffffff;
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(15, 23, 42, 0.06);
    overflow: hidden;
    z-index: 1;
}

.values-timeline-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,107,53,0.18), transparent 55%),
                radial-gradient(circle at bottom left, rgba(6,119,194,0.18), transparent 55%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.values-timeline-item:hover .values-timeline-card::before {
    opacity: 1;
}

.values-timeline-item:hover .values-timeline-card {
    transform: translateY(-4px);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.2);
}

.values-timeline-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 18px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255,107,53,0.12);
    color: rgba(148, 27, 0, 0.9);
    margin-bottom: 4px;
}

.values-timeline-card h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: #111827;
}

.values-timeline-card p {
    margin: 0;
    font-size: 0.95rem;
    color: #4b5563;
    text-align: justify;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .values-timeline-line {
        left: 8px;
    }

    .values-timeline-item,
    .values-timeline-item[data-timeline="left"],
    .values-timeline-item[data-timeline="right"] {
        justify-content: flex-start;
        margin-left: 24px;
    }

    .values-timeline-item .values-timeline-card {
        margin: 0 0 0 18px;
        max-width: 100%;
    }
}

/* Timeline de Valores (estrutura com conectores reais no HTML) */
.values-timeline-item{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
    align-items: center;
    margin: 28px 0;
    position: relative;
    opacity: 0;
    filter: blur(6px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}

.values-timeline-item--left{
    transform: translateY(24px) translateX(-18px);
}

.values-timeline-item--right{
    transform: translateY(24px) translateX(18px);
}

.values-timeline-item.appear,
.values-timeline-item.animated{
    opacity: 1;
    transform: translateY(0) translateX(0);
    filter: blur(0);
}

.values-timeline-side{
    min-width: 0;
}

.values-timeline-side--empty{
    min-width: 0;
}

.values-timeline-side--with-card{
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 0;
}

.values-timeline-item--left .values-timeline-side--with-card{
    justify-content: flex-end;
}

.values-timeline-item--right .values-timeline-side--with-card{
    justify-content: flex-start;
}

.values-timeline-axis{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 56px;
    z-index: 2;
}

.values-timeline-connector{
    height: 3px;
    width: 60px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255,107,53,0.95) 0%, rgba(6,119,194,0.95) 100%);
    box-shadow: 0 0 10px rgba(6,119,194,0.25);
    flex: 0 0 auto;
    z-index: 1;
}

.values-timeline-item--left .values-timeline-connector{
    margin-left: 0;
}

.values-timeline-item--right .values-timeline-connector{
    margin-right: 0;
}

/* A linha vertical sempre atrás */
.values-timeline-line{
    z-index: 0 !important;
}

@media (max-width: 900px) {
    .values-timeline{
        padding-left: 4px;
        padding-right: 4px;
    }

    .values-timeline-item{
        grid-template-columns: 32px minmax(0, 1fr);
    }

    .values-timeline-axis{
        grid-column: 1;
    }

    .values-timeline-side--empty{
        display: none;
    }

    .values-timeline-side--with-card{
        grid-column: 2;
        justify-content: flex-start;
    }

    .values-timeline-line{
        left: 16px !important;
    }

    .values-timeline-connector{
        width: 28px;
    }
}

/* Timeline da página Sobre — texto + animações diferentes de Valores */
.about-timeline-intro {
    text-align: center;
    max-width: 820px;
    margin: 28px auto 8px;
    font-size: 1.05rem;
    line-height: 1.55;
    color: #1e293b;
    padding: 16px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(6, 119, 194, 0.08), rgba(255, 107, 53, 0.06));
    border: 1px solid rgba(6, 119, 194, 0.15);
    animation: sobreIntroPulse 4s ease-in-out infinite;
}

@keyframes sobreIntroPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(6, 119, 194, 0.12); }
    50% { box-shadow: 0 0 24px 4px rgba(255, 107, 53, 0.12); }
}

.timeline-cliente-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(90deg, #0677c2, #0a2463);
    padding: 5px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
    box-shadow: 0 4px 14px rgba(6, 119, 194, 0.35);
}

.values-timeline--sobre .values-timeline-line {
    background: linear-gradient(180deg, #0677c2, #ff6b35, #0677c2);
    background-size: 100% 200%;
    animation: sobreLineFlow 5s linear infinite;
    opacity: 0.65;
}

@keyframes sobreLineFlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 0% 100%; }
}

.values-timeline--sobre .values-timeline-item--left {
    transform: translateY(36px) scale(0.94) rotate(-1.2deg);
    filter: blur(4px);
}

.values-timeline--sobre .values-timeline-item--right {
    transform: translateY(36px) scale(0.94) rotate(1.2deg);
    filter: blur(4px);
}

.values-timeline--sobre .values-timeline-item.appear,
.values-timeline--sobre .values-timeline-item.animated {
    transform: translateY(0) scale(1) rotate(0deg);
    filter: blur(0);
}

.values-timeline--sobre .values-timeline-connector {
    animation: sobreConnectorShine 2.4s ease-in-out infinite;
    height: 4px;
}

@keyframes sobreConnectorShine {
    0%, 100% { opacity: 0.85; filter: brightness(1); }
    50% { opacity: 1; filter: brightness(1.25); box-shadow: 0 0 12px rgba(255, 107, 53, 0.55); }
}

.values-timeline--sobre .values-timeline-dot {
    animation: sobreDotRing 2.8s ease-in-out infinite;
    transition: transform 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

@keyframes sobreDotRing {
    0%, 100% { box-shadow: 0 0 0 0 rgba(6, 119, 194, 0.45); }
    50% { box-shadow: 0 0 0 10px rgba(6, 119, 194, 0); }
}

.values-timeline--sobre .values-timeline-card {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.35s ease;
    border: 1px solid rgba(6, 119, 194, 0.12);
}

.values-timeline--sobre .values-timeline-item:hover .values-timeline-card {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 28px 56px rgba(10, 36, 99, 0.18), 0 0 0 1px rgba(255, 107, 53, 0.25);
}

.values-timeline--sobre .values-timeline-item:hover .values-timeline-dot {
    transform: scale(1.08);
    border-color: #0677c2;
    color: #0677c2;
}

@media (prefers-reduced-motion: reduce) {
    .about-timeline-intro,
    .values-timeline--sobre .values-timeline-line,
    .values-timeline--sobre .values-timeline-connector,
    .values-timeline--sobre .values-timeline-dot {
        animation: none;
    }
}

.mission-box {
    background: linear-gradient(135deg, #0677c2 0%, #0A2463 50%, #054a8a 100%);
    padding: 50px;
    border-radius: 15px;
    color: var(--white);
    text-align: center;
    margin-bottom: 40px;
}

.mission-box h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
}

.mission-box p {
    font-size: 1.1rem;
    line-height: 1.5;
    opacity: 0.95;
    text-align: justify;
    max-width: 100%;
    margin: 0 auto;
}

/* Animação contínua no card Nossa Missão (sem parar) */
.mission-box-animated {
    position: relative;
    overflow: hidden;
    animation: missionCardGlow 4s ease-in-out infinite;
}

.mission-box-animated::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 17px;
    padding: 2px;
    background: linear-gradient(90deg, #0677c2, #00d4ff, #0A2463, #0677c2);
    background-size: 300% 100%;
    animation: missionBorderFlow 6s linear infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.mission-box-animated::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.08) 0%, transparent 50%);
    animation: missionShine 8s linear infinite;
    pointer-events: none;
}

@keyframes missionCardGlow {
    0%, 100% { box-shadow: 0 8px 32px rgba(6, 119, 194, 0.4); }
    50% { box-shadow: 0 12px 48px rgba(6, 119, 194, 0.6); }
}

@keyframes missionBorderFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

@keyframes missionShine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.values-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 36px;
}

.values-subtitle i {
    margin-right: 10px;
    color: var(--primary-orange);
}

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

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--light-gray);
    border-radius: 15px;
    transition: var(--transition);
}

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

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0677c2 0%, #0A2463 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 2rem;
}

.value-card h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.value-card p {
    color: var(--medium-gray);
    line-height: 1.5;
    text-align: justify;
}

/* Soluções: intro + carrossel de ícones */
.solutions-intro {
    padding: 50px 0 60px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
}

.solutions-intro-text {
    text-align: justify;
    font-size: 1.25rem;
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.5;
}

.solutions-software-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.solution-highlight-card {
    background: var(--white);
    padding: 28px 24px;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.07);
    border-left: 4px solid var(--primary-orange);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(10, 36, 99, 0.12);
}

.solution-highlight-card i {
    font-size: 2rem;
    color: var(--primary-orange);
    margin-bottom: 12px;
    display: block;
}

.solution-highlight-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.solution-highlight-card p {
    font-size: 0.95rem;
    color: var(--medium-gray);
    line-height: 1.5;
    margin: 0;
    text-align: justify;
}

.tech-carousel-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 20px;
}

.tech-icons-carousel-wrap {
    overflow: hidden;
    margin: 0 -20px;
}

.tech-icons-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: techMarquee 25s linear infinite;
}

.tech-icon-item {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.tech-icon-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes techMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Solutions Section */
.solutions-section {
    padding: 80px 0;
    background: var(--white);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.solution-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-top-color: var(--primary-orange);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 2rem;
}

.solution-card h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.solution-card p {
    color: var(--medium-gray);
    text-align: justify;
    line-height: 1.5;
}

/* Portfolio Section */
.portfolio-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.portfolio-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-orange) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 2.5rem;
}

.portfolio-item h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.portfolio-item p {
    color: var(--medium-gray);
}

.portfolio-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 32px;
    perspective: 1200px;
}

.portfolio-card-new {
    position: relative;
    background: linear-gradient(160deg, #ffffff 0%, #f7fbff 100%);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(10, 36, 99, 0.1);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.4s ease;
    border: 1px solid rgba(10, 36, 99, 0.1);
    transform-style: preserve-3d;
    opacity: 0;
    animation: portfolioCardIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.portfolio-card-new::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(6, 119, 194, 0.16), rgba(255, 107, 53, 0.16));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.65;
    pointer-events: none;
}

.portfolio-card-new::after {
    content: '';
    position: absolute;
    inset: -45% -35%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 58%);
    opacity: 0;
    transform: translate3d(-18%, 18%, 0) rotate(8deg);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
}

.portfolio-card-new:hover {
    transform: translateY(-12px) rotateX(2.2deg) rotateY(-2.2deg);
    box-shadow: 0 24px 54px rgba(10, 36, 99, 0.19);
    border-color: rgba(255, 107, 53, 0.35);
}

.portfolio-card-new:hover::after {
    opacity: 1;
    transform: translate3d(12%, -10%, 0) rotate(8deg);
}

.portfolio-grid-new .portfolio-card-new:nth-child(1) { animation-delay: 0.06s; }
.portfolio-grid-new .portfolio-card-new:nth-child(2) { animation-delay: 0.13s; }
.portfolio-grid-new .portfolio-card-new:nth-child(3) { animation-delay: 0.2s; }
.portfolio-grid-new .portfolio-card-new:nth-child(4) { animation-delay: 0.27s; }
.portfolio-grid-new .portfolio-card-new:nth-child(5) { animation-delay: 0.34s; }
.portfolio-grid-new .portfolio-card-new:nth-child(6) { animation-delay: 0.41s; }
.portfolio-grid-new .portfolio-card-new:nth-child(7) { animation-delay: 0.48s; }
.portfolio-grid-new .portfolio-card-new:nth-child(8) { animation-delay: 0.55s; }
.portfolio-grid-new .portfolio-card-new:nth-child(9) { animation-delay: 0.62s; }
.portfolio-grid-new .portfolio-card-new:nth-child(10) { animation-delay: 0.69s; }
.portfolio-grid-new .portfolio-card-new:nth-child(11) { animation-delay: 0.76s; }
.portfolio-grid-new .portfolio-card-new:nth-child(12) { animation-delay: 0.83s; }

@keyframes portfolioCardIn {
    0% {
        opacity: 0;
        transform: translateY(28px) scale(0.97);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.portfolio-card-img {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}

.portfolio-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
    transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.portfolio-card-badge i {
    font-size: 0.72rem;
}

.portfolio-card-new:hover .portfolio-card-badge {
    transform: translateY(-2px) scale(1.03);
    filter: brightness(1.06);
}

.portfolio-card-badge--web { background: linear-gradient(135deg, #0677c2 0%, #0a2463 100%); }
.portfolio-card-badge--mobile { background: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%); }
.portfolio-card-badge--infra { background: linear-gradient(135deg, #0f766e 0%, #134e4a 100%); }
.portfolio-card-badge--ai { background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%); }
.portfolio-card-badge--cloud { background: linear-gradient(135deg, #0284c7 0%, #075985 100%); }
.portfolio-card-badge--security { background: linear-gradient(135deg, #ea580c 0%, #9a3412 100%); }
.portfolio-card-badge--software { background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%); }
.portfolio-card-badge--branding { background: linear-gradient(135deg, #db2777 0%, #831843 100%); }
.portfolio-card-badge--education { background: linear-gradient(135deg, #16a34a 0%, #166534 100%); }

.portfolio-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(10,36,99,0.72) 0%, rgba(10, 36, 99, 0.1) 56%, transparent 78%),
        linear-gradient(120deg, rgba(255, 107, 53, 0.14), rgba(6, 119, 194, 0.2));
    opacity: 0.66;
    transition: opacity 0.35s ease, transform 0.4s ease;
}

.portfolio-card-img::before {
    content: '';
    position: absolute;
    top: -120%;
    left: -35%;
    width: 58%;
    height: 300%;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
    transform: rotate(15deg) translateX(-120%);
    transition: transform 0.7s ease;
    z-index: 2;
}

.portfolio-card-new:hover .portfolio-card-img::after {
    opacity: 0.88;
    transform: scale(1.03);
}

.portfolio-card-new:hover .portfolio-card-img::before {
    transform: rotate(15deg) translateX(255%);
}

.portfolio-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.62s cubic-bezier(0.22, 1, 0.36, 1), filter 0.62s ease;
}

.portfolio-card-new:hover .portfolio-card-img img {
    transform: scale(1.12);
    filter: saturate(1.08) contrast(1.06);
}

.portfolio-card-body {
    padding: 24px 24px 26px;
    position: relative;
    z-index: 1;
    transition: transform 0.35s ease;
}

.portfolio-card-new:hover .portfolio-card-body {
    transform: translateY(-3px);
}

.portfolio-card-body h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
    position: relative;
    transition: color 0.35s ease;
}

.portfolio-card-body h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary-orange), #0677c2);
    transition: width 0.38s ease;
}

.portfolio-card-new:hover .portfolio-card-body h3 {
    color: #0677c2;
}

.portfolio-card-new:hover .portfolio-card-body h3::after {
    width: 100%;
}

.portfolio-card-body p {
    font-size: 0.95rem;
    color: #546077;
    line-height: 1.62;
    text-align: justify;
    transition: color 0.35s ease;
}

.portfolio-card-new:hover .portfolio-card-body p {
    color: #42516d;
}

@media (prefers-reduced-motion: reduce) {
    .portfolio-card-new,
    .portfolio-card-new:hover {
        animation: none !important;
        transform: none !important;
    }

    .portfolio-card-new::after,
    .portfolio-card-img::before,
    .portfolio-card-img::after,
    .portfolio-card-img img,
    .portfolio-card-badge,
    .portfolio-card-body,
    .portfolio-card-body h3::after,
    .portfolio-card-body p {
        transition: none !important;
    }
}

.portfolio-intro {
    text-align: justify;
    line-height: 1.5;
    color: var(--medium-gray);
    max-width: 800px;
    margin: -8px auto 32px;
}

.portfolio-videos-wrap {
    margin-top: 48px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0;
}

.portfolio-videos-wrap .swiper-slide {
    opacity: 1;
    transition: none;
}

.portfolio-videos-wrap .swiper-slide-active {
    opacity: 1;
    transform: none;
}

.portfolio-video-slide {
    padding: 0;
}

.video-responsive {
    position: relative;
    padding-bottom: 45vw;
    max-height: 78vh;
    min-height: 360px;
    height: 0;
    overflow: hidden;
    border-radius: 0;
    background: #000;
    box-shadow: none;
}

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

.video-caption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-top: 14px;
    margin-bottom: 24px;
    font-weight: 500;
}

.portfolio-videos-wrap .swiper-button-prev,
.portfolio-videos-wrap .swiper-button-next,
.portfolio-videos-wrap .portfolio-videos-pagination {
    display: none !important;
}

@media (max-width: 992px) {
    .video-responsive {
        padding-bottom: 56.25%;
        min-height: 280px;
    }
}

/* Clients Section */
.clients-section {
    padding: 80px 0;
    background: var(--white);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--light-gray);
    padding: 40px 30px;
    border-radius: 15px;
    position: relative;
    transition: var(--transition);
}

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

.testimonial-icon {
    color: var(--primary-orange);
    font-size: 2rem;
    margin-bottom: 20px;
}

.testimonial-card p {
    color: var(--medium-gray);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-card h4 {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Secção Clientes - Testemunhos (design claro editorial + carrossel automático) */
.clients-testimonials-section {
    padding: 88px 0 100px;
    background-color: #faf8f5;
    background-image: radial-gradient(circle at 1px 1px, rgba(10, 36, 99, 0.06) 1.5px, transparent 0);
    background-size: 28px 28px;
    position: relative;
    overflow: hidden;
}

.clients-testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(10, 36, 99, 0.08), transparent);
    pointer-events: none;
}

.clients-testimonials-section .section-title {
    color: var(--primary-blue);
    position: relative;
    z-index: 1;
}

.clients-section-subtitle {
    text-align: center;
    color: var(--medium-gray);
    font-size: 1.05rem;
    margin-top: -6px;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.testimonials-carousel-wrap {
    margin-top: 0;
    padding: 0 60px 76px;
    position: relative;
    z-index: 1;
}

.testimonials-carousel-wrap .testimonialsSwiper {
    min-height: 340px;
    overflow: hidden;
}

.testimonials-carousel-wrap .swiper-slide {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.45s ease, transform 0.55s ease;
}

.testimonials-carousel-wrap .testimonials-swiper-ready .swiper-slide {
    opacity: 0.35;
    transform: translateY(12px) scale(0.95);
}

.testimonials-carousel-wrap .testimonials-swiper-ready .swiper-slide-active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.testimonials-carousel-wrap .testimonials-swiper-ready .swiper-slide-next,
.testimonials-carousel-wrap .testimonials-swiper-ready .swiper-slide-prev {
    opacity: 0.7;
    transform: translateY(6px) scale(0.975);
}

.testimonials-carousel-wrap .swiper-button-next,
.testimonials-carousel-wrap .swiper-button-prev {
    color: var(--primary-blue) !important;
    background: transparent !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    border: 2px solid rgba(10, 36, 99, 0.2);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.testimonials-carousel-wrap .swiper-button-next:hover,
.testimonials-carousel-wrap .swiper-button-prev:hover {
    background: var(--primary-blue) !important;
    color: var(--white) !important;
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.testimonials-carousel-wrap .testimonials-pagination {
    bottom: 18px !important;
}

.testimonials-carousel-wrap .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    background: rgba(10, 36, 99, 0.2) !important;
    transition: transform 0.25s ease, background 0.25s ease;
}

.testimonials-carousel-wrap .swiper-pagination-bullet-active {
    background: var(--primary-orange) !important;
    transform: scale(1.25);
}

.testimonial-card-pro {
    padding: 38px 42px 34px 40px;
    border-radius: 24px;
    background: linear-gradient(162deg, #ffffff 0%, #f7fbff 62%, #f3f8ff 100%);
    box-shadow: 0 12px 48px rgba(10, 36, 99, 0.08), 0 0 0 1px rgba(10, 36, 99, 0.04);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
    max-width: 720px;
    margin: 0 auto;
    border: 1px solid rgba(10, 36, 99, 0.1);
}

.testimonial-card-pro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, #e8b4a0 0%, #0677c2 50%, var(--primary-blue) 100%);
    border-radius: 24px 0 0 24px;
}

.testimonial-card-pro::after {
    content: '"';
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 6rem;
    font-family: Georgia, serif;
    color: rgba(232, 180, 160, 0.25);
    line-height: 1;
}

.testimonial-card-pro:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(10, 36, 99, 0.12), 0 0 0 1px rgba(10, 36, 99, 0.06);
    border-color: rgba(255, 107, 53, 0.34);
}

.testimonial-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #8b6914;
    background: linear-gradient(135deg, #fef6e6 0%, #fcecd0 100%);
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 22px;
    letter-spacing: 0.03em;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(232, 180, 160, 0.35);
    transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.testimonial-tag i {
    font-size: 0.82rem;
    color: var(--primary-blue);
    opacity: 0.9;
}

.testimonial-card-pro .testimonial-icon {
    font-size: 1.5rem;
    color: #c9956c;
    opacity: 0.95;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    animation: testimonialIconFloat 3s ease-in-out infinite;
}

.testimonial-card-pro .testimonial-icon::after {
    content: '★★★★★';
    display: block;
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: #e8b84d;
    margin-top: 10px;
}

.testimonial-card-pro p {
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--dark-gray);
    position: relative;
    z-index: 1;
    font-style: normal;
    transition: color 0.3s ease;
}

.testimonial-card-pro h4 {
    margin-top: 24px;
    margin-bottom: 2px;
    font-size: 1.02rem;
    color: var(--primary-blue);
    font-weight: 700;
    position: relative;
    z-index: 1;
    letter-spacing: 0.02em;
}

.testimonial-card-pro h4::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8b4a0, #0677c2);
    margin-right: 12px;
    vertical-align: middle;
}

.testimonial-entity {
    display: block;
    font-size: 0.84rem;
    color: var(--medium-gray);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.testimonial-card-pro:hover .testimonial-tag {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(232, 180, 160, 0.25);
}

.testimonial-card-pro:hover p {
    color: #33435f;
}

@keyframes testimonialIconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background:
        radial-gradient(circle at 14% 12%, rgba(6, 119, 194, 0.14), transparent 36%),
        radial-gradient(circle at 86% 6%, rgba(255, 107, 53, 0.12), transparent 34%),
        var(--light-gray);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
    perspective: 1200px;
}

.blog-card {
    position: relative;
    background: linear-gradient(160deg, #ffffff 0%, #f7fbff 100%);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(10, 36, 99, 0.1);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.4s ease;
    border: 1px solid rgba(10, 36, 99, 0.1);
    opacity: 0;
    transform: translateY(28px) scale(0.97);
    animation: blogCardIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.blog-card:hover {
    transform: translateY(-10px) rotateX(1.6deg) rotateY(-1.4deg);
    box-shadow: 0 22px 52px rgba(10, 36, 99, 0.18);
    border-color: rgba(255, 107, 53, 0.35);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, #0A2463 0%, #0677c2 50%, #ff6b35 100%);
    background-size: 200% 200%;
    animation: blogGradient 8s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
}

.blog-card-img .blog-image-wrap {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 999px;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(6px);
    transition: transform 0.35s ease, filter 0.35s ease;
}

.blog-card:hover .blog-category-badge {
    transform: translateY(-2px) scale(1.03);
    filter: brightness(1.06);
}

.blog-category-badge--tech { background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%); }
.blog-category-badge--security { background: linear-gradient(135deg, #ea580c 0%, #9a3412 100%); }
.blog-category-badge--cloud { background: linear-gradient(135deg, #0284c7 0%, #075985 100%); }
.blog-category-badge--dev { background: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%); }
.blog-category-badge--mobile { background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%); }
.blog-category-badge--network { background: linear-gradient(135deg, #0f766e 0%, #134e4a 100%); }
.blog-category-badge--data { background: linear-gradient(135deg, #0891b2 0%, #155e75 100%); }
.blog-category-badge--web { background: linear-gradient(135deg, #0677c2 0%, #0a2463 100%); }
.blog-category-badge--ai { background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%); }
.blog-category-badge--backup { background: linear-gradient(135deg, #16a34a 0%, #166534 100%); }
.blog-category-badge--erp { background: linear-gradient(135deg, #4f46e5 0%, #312e81 100%); }
.blog-category-badge--support { background: linear-gradient(135deg, #db2777 0%, #831843 100%); }

.blog-card-img .blog-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(10,36,99,0.4) 100%);
    opacity: 0.65;
    transition: opacity 0.35s ease;
}

.blog-card-img .blog-image-wrap {
    height: 200px;
    overflow: hidden;
}

.blog-card-img .blog-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.55s ease;
}

.blog-card-img:hover .blog-image-wrap img {
    transform: scale(1.1);
    filter: saturate(1.08) contrast(1.05);
}

.blog-card-img:hover .blog-image-wrap::after {
    opacity: 0.88;
}

.blog-content {
    padding: 24px 26px;
    transition: transform 0.35s ease;
}

.blog-card:hover .blog-content {
    transform: translateY(-3px);
}

.blog-date {
    color: var(--primary-orange);
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-date i {
    font-size: 0.9rem;
}

.blog-link {
    color: var(--primary-orange);
    font-weight: 600;
}

.blog-content h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-blue);
    margin-bottom: 12px;
    font-size: 1.15rem;
    transition: color 0.3s ease;
}

.blog-content p {
    color: var(--medium-gray);
    margin-bottom: 18px;
    font-size: 0.95rem;
    line-height: 1.65;
    transition: color 0.3s ease;
}

.blog-link {
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
    border: 1px solid rgba(6, 119, 194, 0.24);
    box-shadow: 0 8px 18px rgba(10, 36, 99, 0.08);
    position: relative;
    overflow: hidden;
}

.blog-link::before {
    content: '';
    position: absolute;
    top: -130%;
    left: -20%;
    width: 48%;
    height: 320%;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
    transform: rotate(18deg) translateX(-120%);
    transition: transform 0.6s ease;
}

.blog-link i {
    transition: transform 0.3s ease;
}

.blog-link:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #0677c2 0%, #0a2463 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(10, 36, 99, 0.28);
}

.blog-link:hover::before {
    transform: rotate(18deg) translateX(280%);
}

.blog-link:hover i {
    transform: translateX(6px);
}

.blog-card:hover .blog-content h3 {
    color: #0677c2;
}

.blog-card:hover .blog-content p {
    color: #4a566f;
}

@keyframes blogGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes blogCardIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.blog-grid .blog-card:nth-child(1) { animation-delay: 0.05s; }
.blog-grid .blog-card:nth-child(2) { animation-delay: 0.12s; }
.blog-grid .blog-card:nth-child(3) { animation-delay: 0.19s; }
.blog-grid .blog-card:nth-child(4) { animation-delay: 0.26s; }
.blog-grid .blog-card:nth-child(5) { animation-delay: 0.33s; }
.blog-grid .blog-card:nth-child(6) { animation-delay: 0.40s; }
.blog-grid .blog-card:nth-child(7) { animation-delay: 0.47s; }
.blog-grid .blog-card:nth-child(8) { animation-delay: 0.54s; }
.blog-grid .blog-card:nth-child(9) { animation-delay: 0.61s; }
.blog-grid .blog-card:nth-child(10) { animation-delay: 0.68s; }
.blog-grid .blog-card:nth-child(11) { animation-delay: 0.75s; }
.blog-grid .blog-card:nth-child(12) { animation-delay: 0.82s; }

@media (prefers-reduced-motion: reduce) {
    .blog-card {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    .blog-card,
    .blog-content,
    .blog-content h3,
    .blog-content p,
    .blog-card-img .blog-image-wrap::after,
    .blog-card-img .blog-image-wrap img,
    .blog-category-badge,
    .blog-link,
    .blog-link::before,
    .blog-link i {
        transition: none !important;
    }
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info-box h2,
.contact-form-box h2 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.contact-item-large {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 10px;
}

.contact-item-large i {
    color: var(--primary-orange);
    font-size: 1.5rem;
    margin-top: 5px;
}

.contact-item-large h3 {
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.contact-item-large p {
    color: var(--medium-gray);
}

.contact-form-box {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 15px;
}

.main-contact-form .form-group {
    margin-bottom: 20px;
}

.main-contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-gray);
    font-weight: 500;
}

.main-contact-form input,
.main-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.main-contact-form input:focus,
.main-contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.btn-submit-large {
    width: 100%;
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit-large:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .team-grid,
    .values-grid,
    .solutions-grid,
    .portfolio-grid,
    .testimonials,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsividade */
@media (max-width: 1024px) {
    .history-content {
        grid-template-columns: 1fr;
    }
    
    .history-timeline {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    .slide-title {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-sidebar:hover .sidebar-content {
        width: 300px;
    }
    
    .chatbot-window {
        width: 300px;
        height: 450px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        border-radius: 5px;
        background: var(--primary-blue);
        color: var(--white);
        transition: var(--transition);
    }
    
    .mobile-menu-btn:hover {
        background: var(--primary-orange);
    }
    
    .mobile-menu-btn.active {
        background: var(--primary-orange);
    }
    
    .main-nav {
        position: fixed;
        top: 120px;
        left: 0;
        width: 100%;
        max-width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
        padding: 20px;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }
    
    .main-nav.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .main-nav ul li {
        width: 100%;
    }
    
    .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
        width: 100%;
    }

    /* Mobile: manter texto e indicadores visíveis (não “empurrar” para fora) */
    .dropdown > .nav-link.dropdown-toggle {
        justify-content: flex-start;
        gap: 10px;
    }

    /* garante que o "+" do fim fica sempre à direita */
    .dropdown > .nav-link.dropdown-toggle .dropdown-indicator-text {
        margin-left: auto;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        background: var(--light-gray);
        border-radius: 5px;
        margin-top: 5px;
        width: 100%;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 500px;
        padding: 10px 0;
    }
    
    .dropdown-menu a {
        padding: 12px 20px;
        width: 100%;
    }
    
    .dropdown .nav-link i.fa-chevron-down {
        transition: transform 0.3s ease;
    }
    
    .dropdown.active .nav-link i.fa-chevron-down {
        transform: rotate(180deg);
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .hero-slider {
        height: 500px;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-text {
        font-size: 1.1rem;
    }
    
    .about-row,
    .about-row.reverse {
        flex-direction: column;
        gap: 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom-inner {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 12px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
    
    /* Ajustes para componentes flutuantes em mobile */
    .contact-sidebar {
        display: none; /* Ocultar em mobile para não interferir */
    }
    
    .floating-contact-btn {
        bottom: 20px;
        right: 20px;
    }
    
    .chatbot-container {
        bottom: 20px;
        left: 20px;
    }
    
    .chatbot-window {
        width: calc(100vw - 40px);
        max-width: 350px;
        height: 400px;
        left: 0;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 90px;
    }
    
    .chatbot-toggle::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .slide-title {
        font-size: 1.8rem;
    }
    
    .slide-text {
        font-size: 1rem;
    }
    
    .btn-slide {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .faq-question {
        font-size: 1rem;
    }
}

/* Cards de lista de serviços */
.services-list-section {
    padding: 60px 0;
    background: var(--white);
}

.services-list-section .section-title {
    margin-bottom: 50px;
}

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

.service-item-card {
    background: var(--white);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.service-item-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(10, 36, 99, 0.12);
    border-color: rgba(255, 107, 53, 0.3);
}

.service-item-card .service-item-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(10, 36, 99, 0.1) 100%);
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.service-item-card:hover .service-item-icon {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-blue) 100%);
    color: var(--white);
    transform: scale(1.08);
}

.service-item-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.service-item-card p {
    font-size: 0.95rem;
    color: var(--medium-gray);
    line-height: 1.6;
    margin: 0;
}

/* Bloco de formulário fixo após planos */
.service-request-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

.service-request-section .section-title {
    margin-bottom: 40px;
}

.service-request-section-full {
    width: 100%;
    padding: 80px 24px;
}
.service-request-section-full .container-full {
    max-width: 900px;
    margin: 0 auto;
}
.service-request-section-full .service-request-form-box {
    max-width: 100%;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px 24px;
    margin-top: 8px;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 400;
    margin-bottom: 0;
}
.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: var(--primary-orange);
}
.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}
.form-actions .btn-submit { flex: 1; min-width: 180px; }
.btn-submit-whatsapp {
    background: #25D366 !important;
    color: #fff !important;
    text-decoration: none;
    border: none;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s, transform 0.2s;
}
.btn-submit-whatsapp:hover { background: #20bd5a !important; color: #fff; transform: translateY(-2px); }

.service-request-form-box {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 45px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

/* Esconder botão "Solicitar Serviço" dos planos quando o formulário está fixo */
.plans-grid .btn-request-service {
    display: none;
}

/* Seção de Planos de Serviços */
.services-plans-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

/* Variante premium para cards da página de serviços TI */
.services-plans-section--flip {
    background:
        radial-gradient(circle at 12% 15%, rgba(6, 119, 194, 0.15), transparent 36%),
        radial-gradient(circle at 88% 10%, rgba(255, 107, 53, 0.14), transparent 34%),
        linear-gradient(140deg, #f5f8ff 0%, #edf3fa 52%, #e8edf5 100%);
}

.services-plans-section--flip .plans-grid-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    align-items: stretch;
}

.services-plans-section--flip .plan-card-compact {
    min-height: 430px;
    padding: 0;
    border-radius: 20px;
    border: 1px solid rgba(10, 36, 99, 0.12);
    background: transparent;
    box-shadow: 0 16px 40px rgba(10, 36, 99, 0.16);
    overflow: visible;
    opacity: 0;
    transform: translate3d(0, 30px, 0) scale(0.98);
    animation: tiCardEntryLeft 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    position: relative;
}

.services-plans-section--flip .plan-card-compact.featured {
    border-color: rgba(255, 107, 53, 0.45);
    box-shadow: 0 18px 42px rgba(255, 107, 53, 0.22);
}

.services-plans-section--flip .plan-card-compact.featured .ti-service-face-front::after {
    content: 'Mais Procurado';
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(135deg, #ff8b3d 0%, #ff5f2e 100%);
    border: 1px solid rgba(255, 255, 255, 0.36);
    box-shadow: 0 8px 18px rgba(255, 95, 46, 0.34);
    animation: featuredBadgePulse 2.8s ease-in-out infinite;
    z-index: 3;
}

.services-plans-section--flip .plan-card-compact.recommended .ti-service-face-front::after {
    content: 'Recomendado';
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(135deg, #1da1f2 0%, #0a5dba 100%);
    border: 1px solid rgba(255, 255, 255, 0.36);
    box-shadow: 0 8px 18px rgba(10, 93, 186, 0.34);
    animation: recommendedBadgeFloat 3.2s ease-in-out infinite;
    z-index: 3;
}

/* Selos exibidos abaixo do nome do serviço */
.services-plans-section--flip .plan-card-compact.featured .ti-service-face-front::after,
.services-plans-section--flip .plan-card-compact.recommended .ti-service-face-front::after {
    content: none !important;
    animation: none !important;
    display: none !important;
}

.services-plans-section--flip .plan-header-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.services-plans-section--flip .plan-header-badge::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    line-height: 1;
}

.services-plans-section--flip .plan-header-badge--featured {
    background: linear-gradient(135deg, #ff8b3d 0%, #ff5f2e 100%);
    box-shadow: 0 8px 18px rgba(255, 95, 46, 0.34);
    animation: featuredBadgePulse 2.8s ease-in-out infinite;
}

.services-plans-section--flip .plan-header-badge--featured::before {
    content: '\f005';
}

.services-plans-section--flip .plan-header-badge--recommended {
    background: linear-gradient(135deg, #1da1f2 0%, #0a5dba 100%);
    box-shadow: 0 8px 18px rgba(10, 93, 186, 0.34);
    animation: recommendedBadgeFloat 3.2s ease-in-out infinite;
}

.services-plans-section--flip .plan-header-badge--recommended::before {
    content: '\f058';
}

.services-plans-section--flip .plan-card-compact::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.55) 48%, transparent 80%);
    transform: translateX(-120%);
    animation: tiCardGlow 1.1s ease-out both;
}

.services-plans-section--flip .plan-card-compact:nth-child(odd) {
    animation-name: tiCardEntryLeft;
}

.services-plans-section--flip .plan-card-compact:nth-child(even) {
    animation-name: tiCardEntryRight;
}

.services-plans-section--flip .plan-card-compact:nth-child(1) { animation-delay: 0.08s; }
.services-plans-section--flip .plan-card-compact:nth-child(2) { animation-delay: 0.20s; }
.services-plans-section--flip .plan-card-compact:nth-child(3) { animation-delay: 0.32s; }
.services-plans-section--flip .plan-card-compact:nth-child(4) { animation-delay: 0.44s; }
.services-plans-section--flip .plan-card-compact:nth-child(5) { animation-delay: 0.56s; }
.services-plans-section--flip .plan-card-compact:nth-child(6) { animation-delay: 0.68s; }

.services-plans-section--flip .plan-card-compact:nth-child(1)::after { animation-delay: 0.22s; }
.services-plans-section--flip .plan-card-compact:nth-child(2)::after { animation-delay: 0.34s; }
.services-plans-section--flip .plan-card-compact:nth-child(3)::after { animation-delay: 0.46s; }
.services-plans-section--flip .plan-card-compact:nth-child(4)::after { animation-delay: 0.58s; }
.services-plans-section--flip .plan-card-compact:nth-child(5)::after { animation-delay: 0.70s; }
.services-plans-section--flip .plan-card-compact:nth-child(6)::after { animation-delay: 0.82s; }

.services-plans-section--flip .ti-service-flip-card {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 430px;
    border-radius: 20px;
    transform-style: preserve-3d;
    transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.services-plans-section--flip .plan-card-compact:hover .ti-service-flip-card {
    transform: rotateY(180deg) translateY(-8px);
}

.services-plans-section--flip .ti-service-face {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
}

.services-plans-section--flip .ti-service-face::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.services-plans-section--flip .ti-service-face > * {
    position: relative;
    z-index: 1;
}

.services-plans-section--flip .ti-service-face-front {
    justify-content: center;
    text-align: center;
    background: linear-gradient(155deg, #ffffff 0%, #f3f8ff 55%, #edf3fa 100%);
}

.services-plans-section--flip .ti-service-face-front::before {
    background: radial-gradient(circle at 15% 20%, rgba(6, 119, 194, 0.16), transparent 40%);
}

.services-plans-section--flip .ti-service-face-back {
    transform: rotateY(180deg);
    background: linear-gradient(160deg, #0a2463 0%, #0b327f 45%, #0677c2 100%);
    color: #f5f9ff;
}

.services-plans-section--flip .ti-service-face-back::before {
    background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.2), transparent 38%);
}

.services-plans-section--flip .plan-header {
    text-align: center;
    margin-bottom: 16px;
}

.services-plans-section--flip .plan-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    border-radius: 22px;
    margin: 0 auto 18px;
    font-size: 2.1rem;
    color: #ffffff;
    background: linear-gradient(140deg, #0677c2, #0a2463);
    box-shadow: 0 14px 30px rgba(10, 36, 99, 0.32);
    animation: tiIconPulse 3.2s ease-in-out infinite;
}

.services-plans-section--flip .plan-header h3 {
    margin-bottom: 0;
    font-size: 1.35rem;
    line-height: 1.35;
    font-weight: 700;
    color: #0a2463;
}

.services-plans-section--flip .plan-desc {
    margin: 0;
    text-align: center;
    line-height: 1.7;
    font-size: 0.98rem;
    color: #384c6b;
}

.services-plans-section--flip .ti-service-hint {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    align-self: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0a2463;
    background: rgba(6, 119, 194, 0.12);
    border: 1px solid rgba(6, 119, 194, 0.25);
}

.services-plans-section--flip .ti-service-hint::before {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.services-plans-section--flip .ti-service-face-back .plan-features {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    margin-bottom: 18px;
}

.services-plans-section--flip .ti-service-face-back .plan-features li {
    padding: 6px 0;
    border-bottom-color: rgba(255, 255, 255, 0.16);
    color: rgba(245, 249, 255, 0.96);
    font-size: 0.89rem;
    line-height: 1.45;
    transition: transform 0.3s ease, color 0.3s ease, padding-left 0.3s ease;
}

.services-plans-section--flip .ti-service-face-back .plan-features li:hover {
    padding-left: 8px;
    color: #ffffff;
}

.services-plans-section--flip .ti-service-face-back .plan-features li i {
    color: #7fffd4;
    min-width: 18px;
    text-align: center;
    font-size: 0.92rem;
    transition: transform 0.28s ease, color 0.28s ease;
}

.services-plans-section--flip .ti-service-face-back .plan-features li:hover i {
    transform: scale(1.18) rotate(-6deg);
    color: #ffffff;
}

.services-plans-section--flip .ti-service-face-back .btn-solicitar-cotacao {
    margin-top: auto;
    background: linear-gradient(135deg, #ff9f4d 0%, #ff6b35 100%);
    box-shadow: 0 10px 24px rgba(255, 107, 53, 0.34);
}

.services-plans-section--flip .ti-service-face-back .btn-solicitar-cotacao:hover {
    box-shadow: 0 12px 28px rgba(255, 107, 53, 0.48);
}

@keyframes tiIconPulse {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-6px) scale(1.04);
    }
}

@keyframes tiCardEntryLeft {
    0% {
        opacity: 0;
        transform: translate3d(-38px, 34px, 0) scale(0.96);
        filter: blur(6px);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}

@keyframes tiCardEntryRight {
    0% {
        opacity: 0;
        transform: translate3d(38px, 34px, 0) scale(0.96);
        filter: blur(6px);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}

@keyframes tiCardGlow {
    0% {
        opacity: 0;
        transform: translateX(-120%);
    }
    25% {
        opacity: 0.9;
    }
    100% {
        opacity: 0;
        transform: translateX(125%);
    }
}

@keyframes featuredBadgePulse {
    0%,
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 8px 18px rgba(255, 95, 46, 0.34);
    }
    50% {
        transform: translateY(-2px) scale(1.04);
        box-shadow: 0 12px 24px rgba(255, 95, 46, 0.46);
    }
}

@keyframes recommendedBadgeFloat {
    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 8px 18px rgba(10, 93, 186, 0.34);
    }
    50% {
        transform: translateY(-3px);
        box-shadow: 0 12px 22px rgba(10, 93, 186, 0.42);
    }
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Planos compactos e profissionais - 3 colunas e texto reduzido */
.plans-grid-compact {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 28px;
    align-items: stretch;
}

.plan-card-compact {
    padding: 22px 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.plan-card-compact .plan-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.plan-card-compact .plan-icon {
    font-size: 1.35rem;
    color: var(--primary-orange);
    flex-shrink: 0;
    margin-top: 2px;
}

.plan-card-compact .plan-header h3 {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
    color: var(--primary-blue);
}

.plan-card-compact .plan-price {
    width: 100%;
    font-size: 0.9rem;
    margin-top: 6px;
}

.plan-card-compact .price-amount { font-size: 1.15rem; font-weight: 700; color: var(--primary-orange); }
.plan-card-compact .price-period { font-size: 0.75rem; color: var(--medium-gray); }

.plan-desc {
    font-size: 0.8rem;
    color: var(--medium-gray);
    line-height: 1.5;
    margin-bottom: 0;
    margin-top: 0;
    flex: 1;
}

/* Espaço entre descrição e lista de características nos cards de planos */
.plan-card-compact .plan-desc {
    margin-bottom: 1rem;
}

.plan-card-compact .plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 1rem;
    font-size: 0.8rem;
    border-top: 1px solid rgba(10, 36, 99, 0.06);
    padding-top: 1rem;
}

.plan-card-compact .plan-features li {
    padding: 3px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.plan-card-compact .plan-features li i {
    color: var(--success-green);
    font-size: 0.7rem;
    flex-shrink: 0;
}

.plan-card-compact.featured {
    border-color: var(--primary-orange);
    background: linear-gradient(135deg, #fff 0%, #f8fbff 100%);
}

.plan-card-compact.featured::after {
    display: none;
}

/* Botão Solicitar Cotação nos cards de planos */
.btn-solicitar-cotacao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 16px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0677c2 100%);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 14px rgba(6, 119, 194, 0.35);
}

.btn-solicitar-cotacao:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(6, 119, 194, 0.45);
    background: linear-gradient(135deg, #0677c2 0%, var(--primary-blue) 100%);
}

.btn-solicitar-cotacao:active {
    transform: translateY(-1px);
}

.btn-solicitar-cotacao::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.4), transparent, rgba(255,255,255,0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-solicitar-cotacao {
    position: relative;
}

.btn-solicitar-cotacao:hover::before {
    opacity: 1;
}

.plan-card {
    background: var(--white);
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(10, 36, 99, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

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

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-orange);
}

.plan-card.featured {
    border: 2px solid var(--primary-orange);
    transform: scale(1.05);
    background: linear-gradient(135deg, #fff 0%, #fff5f0 100%);
}

.plan-card.featured::after {
    content: 'Mais Popular';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary-orange);
    color: var(--white);
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}

.plan-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff6b35 100%);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.3);
    animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 3px 10px rgba(255, 107, 53, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(255, 107, 53, 0.5);
    }
}

.plan-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.plan-icon {
    font-size: 3.5rem;
    color: var(--primary-orange);
    margin-bottom: 15px;
    display: block;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.plan-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-top: 15px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    font-family: 'Montserrat', sans-serif;
}

.price-period {
    font-size: 1rem;
    color: var(--medium-gray);
}

.plan-features {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dark-gray);
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li:hover {
    padding-left: 10px;
    color: var(--primary-blue);
}

.plan-features li i {
    color: var(--primary-orange);
    font-size: 1rem;
    flex-shrink: 0;
}

.btn-request-service {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #ff6b35 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-request-service::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn-request-service:hover::before {
    width: 300px;
    height: 300px;
}

.btn-request-service:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}

.btn-request-service:active {
    transform: translateY(0);
}

/* Modal de Solicitação */
.service-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: 300;
    color: var(--medium-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary-orange);
    transform: rotate(90deg);
}

.modal-content h2 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-blue);
    margin-bottom: 30px;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Open Sans', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group select[multiple] {
    min-height: 120px;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--medium-gray);
    font-size: 0.85rem;
}

.btn-submit {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0a2463 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(10, 36, 99, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Mapa no Footer */
.map-container {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 200px;
    border: none;
}

/* Responsividade para Planos */
@media (max-width: 1024px) {
    .plans-grid-compact {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-plans-section--flip .plan-card-compact {
        min-height: 400px;
    }

    .services-plans-section--flip .ti-service-flip-card {
        min-height: 400px;
    }
}
@media (max-width: 768px) {
    .plans-grid,
    .plans-grid-compact {
        grid-template-columns: 1fr;
    }
    
    .plan-card.featured {
        transform: scale(1);
    }
    
    .modal-content {
        padding: 25px;
        width: 95%;
    }
    
    .plan-price {
        flex-direction: column;
        align-items: center;
    }
    
    .price-amount {
        font-size: 2rem;
    }

    .services-plans-section--flip .plan-card-compact {
        min-height: auto;
        animation: tiCardEntryLeft 0.75s ease-out forwards;
    }

    .services-plans-section--flip .ti-service-flip-card {
        min-height: auto;
        transform: none;
    }

    .services-plans-section--flip .plan-card-compact:hover .ti-service-flip-card {
        transform: none;
    }

    .services-plans-section--flip .ti-service-face {
        position: relative;
        transform: none;
        min-height: auto;
    }

    .services-plans-section--flip .ti-service-face-back {
        margin-top: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .services-plans-section--flip .ti-service-flip-card,
    .services-plans-section--flip .plan-card-compact:hover .ti-service-flip-card {
        transition: none !important;
        transform: none !important;
    }

    .services-plans-section--flip .plan-icon {
        animation: none !important;
    }

    .services-plans-section--flip .plan-card-compact {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    .services-plans-section--flip .plan-card-compact.featured .ti-service-face-front::after {
        animation: none !important;
    }

    .services-plans-section--flip .plan-card-compact.recommended .ti-service-face-front::after {
        animation: none !important;
    }

    .services-plans-section--flip .plan-header-badge--featured,
    .services-plans-section--flip .plan-header-badge--recommended {
        animation: none !important;
    }
}

/* Carrossel infinito de logotipos de clientes */
.clients-logos-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.clients-logos-section .section-subtitle {
    text-align: center;
    color: var(--medium-gray);
    margin-bottom: 32px;
    font-size: 1rem;
}

.clients-logos-track-wrap {
    overflow: hidden;
    margin: 0 -50px;
}

.clients-logos-track {
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
    animation: clientsMarquee 40s linear infinite;
}

@keyframes clientsMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.client-logo-item {
    flex-shrink: 0;
    background: var(--white);
    padding: 20px 36px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none;
}

.client-logo-item img {
    max-height: 50px;
    max-width: 120px;
    object-fit: contain;
}

/* Clientes: carrossel contínuo sem animações extras */
.clients-logos-section .section-title,
.clients-logos-section .section-subtitle {
    animation: none;
}

/* Contacto: sem sublinhado em links de email/telefone */
.contact-section .contact-item-large a,
.contact-info-box a {
    text-decoration: none !important;
    color: inherit;
}

.contact-section .contact-item-large a:hover,
.contact-info-box a:hover {
    color: var(--primary-orange);
}

.contact-plain-link {
    text-decoration: none !important;
}

/* Mapa largura total na página Contacto */
.contact-page-map {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 0;
    height: 450px;
}

.contact-page-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Contacto - versão premium */
.contact-section--premium {
    background:
        radial-gradient(circle at 12% 10%, rgba(6, 119, 194, 0.14), transparent 38%),
        radial-gradient(circle at 88% 14%, rgba(255, 107, 53, 0.12), transparent 34%),
        linear-gradient(150deg, #f8fbff 0%, #f2f7ff 52%, #eef4fb 100%);
}

.contact-section--premium .contact-wrapper {
    align-items: stretch;
    gap: 34px;
}

.contact-section--premium .contact-info-box,
.contact-section--premium .contact-form-box {
    border-radius: 24px;
    border: 1px solid rgba(10, 36, 99, 0.12);
    box-shadow: 0 16px 44px rgba(10, 36, 99, 0.12);
    position: relative;
    overflow: hidden;
    animation: contactCardIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.contact-section--premium .contact-info-box {
    padding: 34px 30px;
    background: linear-gradient(160deg, #0a2463 0%, #0b327f 46%, #0677c2 100%);
    color: #f2f7ff;
    animation-delay: 0.06s;
}

.contact-section--premium .contact-form-box {
    padding: 34px 32px;
    background: linear-gradient(162deg, #ffffff 0%, #f7fbff 100%);
    animation-delay: 0.14s;
}

.contact-section--premium .contact-info-box h2,
.contact-section--premium .contact-form-box h2 {
    margin-bottom: 12px;
}

.contact-section--premium .contact-info-box h2 {
    color: #ffffff;
}

.contact-info-lead {
    margin-bottom: 20px;
    color: rgba(242, 247, 255, 0.88);
    line-height: 1.62;
}

.contact-item-large--premium {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    margin-bottom: 14px;
    padding: 14px 14px;
    transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.contact-item-large--premium:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.26);
}

.contact-item-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 1rem;
}

.contact-item-content h3 {
    color: #ffffff;
    margin-bottom: 4px;
}

.contact-item-content p,
.contact-item-content a {
    color: rgba(242, 247, 255, 0.92);
}

.contact-quick-points {
    margin-top: 20px;
    display: grid;
    gap: 8px;
}

.contact-quick-points span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(242, 247, 255, 0.94);
}

.contact-form-subtitle {
    margin-bottom: 18px;
    color: #55627a;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-section--premium .main-contact-form .form-group {
    margin-bottom: 16px;
}

.contact-section--premium .main-contact-form input,
.contact-section--premium .main-contact-form textarea,
.contact-section--premium .main-contact-form select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(10, 36, 99, 0.16);
    background: #ffffff;
    font-size: 0.95rem;
    transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.contact-section--premium .main-contact-form input:focus,
.contact-section--premium .main-contact-form textarea:focus,
.contact-section--premium .main-contact-form select:focus {
    outline: none;
    border-color: #0677c2;
    box-shadow: 0 0 0 4px rgba(6, 119, 194, 0.14);
    transform: translateY(-1px);
}

.contact-form-options {
    margin-top: 4px;
    margin-bottom: 18px;
    display: grid;
    gap: 8px;
}

.contact-check-option {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: #42516d;
    line-height: 1.5;
}

.contact-check-option input[type="checkbox"] {
    margin-top: 3px;
    accent-color: #0677c2;
}

.contact-section--premium .btn-submit-large {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0677c2 0%, #0a2463 100%);
    color: #fff;
    border: 1px solid rgba(6, 119, 194, 0.38);
    box-shadow: 0 12px 30px rgba(10, 36, 99, 0.22);
    transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.contact-section--premium .btn-submit-large:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 16px 34px rgba(10, 36, 99, 0.3);
}

@keyframes contactCardIn {
    0% {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@media (max-width: 1024px) {
    .contact-section--premium .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-section--premium .contact-info-box,
    .contact-section--premium .contact-form-box {
        padding: 24px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-section--premium .contact-info-box,
    .contact-section--premium .contact-form-box {
        animation: none !important;
    }

    .contact-item-large--premium,
    .contact-section--premium .btn-submit-large,
    .contact-section--premium .main-contact-form input,
    .contact-section--premium .main-contact-form textarea,
    .contact-section--premium .main-contact-form select {
        transition: none !important;
    }
}

/* ========== Splash Screen (carregamento inicial / reload) ========== */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a2463 0%, #05142a 40%, #0d1b2a 70%, #1b263b 100%);
    transition: opacity 0.6s ease, visibility 0.6s ease;
    overflow: hidden;
}

.splash-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: splashGridMove 20s linear infinite;
    pointer-events: none;
}

@keyframes splashGridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

.splash-screen.splash-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
}

.splash-logo {
    width: 160px;
    height: auto;
    margin-bottom: 24px;
    animation: splashLogoIn 0.8s ease-out;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.3));
}

@keyframes splashLogoIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.splash-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.15em;
    margin-bottom: 8px;
    animation: splashTextIn 0.6s ease-out 0.2s both;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
}

.splash-subtitle {
    font-family: 'Courier New', Consolas, monospace;
    font-size: 0.85rem;
    color: rgba(0, 255, 255, 0.85);
    letter-spacing: 0.2em;
    margin-bottom: 32px;
    animation: splashTextIn 0.6s ease-out 0.35s both;
}

@keyframes splashTextIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.splash-terminal {
    font-family: 'Courier New', Consolas, monospace;
    font-size: 0.8rem;
    color: rgba(0, 255, 255, 0.7);
    text-align: left;
    max-width: 280px;
    margin: 0 auto 24px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
    animation: splashTextIn 0.6s ease-out 0.5s both;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.splash-terminal-line {
    margin-bottom: 6px;
}

.splash-terminal-line .cursor {
    display: inline-block;
    width: 8px;
    height: 1em;
    background: rgba(0, 255, 255, 0.9);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: splashBlink 1s step-end infinite;
}

@keyframes splashBlink {
    50% { opacity: 0; }
}

.splash-progress-wrap {
    width: 220px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
    animation: splashTextIn 0.6s ease-out 0.65s both;
}

.splash-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #00d4ff, #00ffff);
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.5);
    transition: width 120ms linear;
}

@keyframes splashProgress {
    0% { width: 0; }
    100% { width: 100%; }
}

.splash-progress-percent {
    margin-top: 10px;
    font-family: 'Courier New', Consolas, monospace;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.12em;
    text-shadow: 0 0 18px rgba(0, 255, 255, 0.18);
    user-select: none;
    animation: splashTextIn 0.6s ease-out 0.7s both;
}

/* ========== Tradução automática (Google) + seletor de idiomas ========== */
.google-translate-hidden {
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

.goog-te-banner-frame,
.goog-te-balloon-frame,
iframe.goog-te-banner-frame {
    display: none !important;
    visibility: hidden !important;
}

.language-selector-widget {
    display: flex;
    align-items: center;
    margin-left: auto;
    position: relative;
    z-index: 10002;
}

.site-lang-widget {
    position: relative;
}

.site-lang-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem 0.45rem 0.65rem;
    border: 1px solid rgba(6, 119, 194, 0.35);
    border-radius: 999px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 248, 255, 0.95) 100%);
    box-shadow:
        0 2px 12px rgba(10, 36, 99, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-blue);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.35s ease,
        border-color 0.25s ease;
    overflow: hidden;
}

.site-lang-trigger-glow {
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 180deg at 50% 50%, transparent, rgba(6, 119, 194, 0.15), transparent 40%);
    animation: siteLangSpin 4s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.site-lang-widget[data-open="true"] .site-lang-trigger-glow,
.site-lang-trigger:hover .site-lang-trigger-glow {
    opacity: 1;
}

@keyframes siteLangSpin {
    to { transform: rotate(360deg); }
}

.site-lang-trigger:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 8px 24px rgba(10, 36, 99, 0.12),
        0 0 0 1px rgba(6, 119, 194, 0.2) inset;
    border-color: rgba(6, 119, 194, 0.55);
}

.site-lang-trigger:active {
    transform: translateY(0) scale(0.98);
}

.site-lang-widget .site-lang-flag,
.site-lang-widget .site-lang-opt .fi {
    width: 1.35em;
    height: 1em;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.site-lang-trigger-text {
    max-width: 7rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-lang-chevron {
    font-size: 0.65rem;
    color: var(--primary-orange);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-left: 0.15rem;
}

.site-lang-widget[data-open="true"] .site-lang-chevron {
    transform: rotate(180deg);
}

.site-lang-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    max-height: min(70vh, 380px);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.96);
    transform-origin: top right;
    transition:
        opacity 0.3s cubic-bezier(0.34, 1.2, 0.64, 1),
        transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1),
        visibility 0.35s;
    z-index: 10003;
    filter: drop-shadow(0 12px 32px rgba(10, 36, 99, 0.18));
}

.site-lang-widget[data-open="true"] .site-lang-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.site-lang-panel-inner {
    padding: 0.5rem;
    background: linear-gradient(165deg, #ffffff 0%, #f4f8fc 100%);
    border: 1px solid rgba(10, 36, 99, 0.1);
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(10, 36, 99, 0.08);
    max-height: min(68vh, 360px);
    overflow-y: auto;
    scrollbar-width: thin;
}

.site-lang-opt {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.55rem 0.65rem;
    margin-bottom: 4px;
    border: none;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--dark-gray);
    text-align: left;
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.site-lang-opt:last-child {
    margin-bottom: 0;
}

.site-lang-opt:hover {
    background: linear-gradient(90deg, rgba(6, 119, 194, 0.1), rgba(6, 119, 194, 0.04));
    color: var(--primary-blue);
    transform: translateX(4px);
}

.site-lang-opt--active {
    background: linear-gradient(90deg, rgba(10, 36, 99, 0.08), rgba(6, 119, 194, 0.06));
    color: var(--primary-blue);
    font-weight: 600;
}

.site-lang-check {
    margin-left: auto;
    color: var(--success-green);
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .language-selector-widget {
        position: fixed;
        right: 12px;
        bottom: 12px;
        margin-left: 0;
        z-index: 10004;
    }

    .site-lang-trigger-text {
        max-width: 4.5rem;
    }
    .site-lang-panel {
        right: -0.5rem;
        min-width: 200px;
    }
}