/* Estilos principais do site */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Azul de marca */
    --primary-blue: #0e0a29;
    --primary-blue-hover: #1a1540;
    
    /* Fundos claros - branco gelo e cinzas */
    --bg-primary: #f5f7fa;
    --bg-secondary: #e8ecf1;
    --bg-card: #ffffff;
    --bg-dark: #0e0a29;
    
    /* Cinzas para contraste */
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    
    /* Texto em fundos claros */
    --text-primary: #0e0a29;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light-gray: #94a3b8;
    
    /* Texto em fundos escuros (hero, footer) */
    --text-on-dark: #ffffff;
    
    /* Acentos e links */
    --accent-blue: #0e0a29;
    --accent-blue-light: #1a1540;
    --accent-cyan: #0e0a29;
    
    /* Overlays para hero */
    --bg-overlay: rgba(14, 10, 41, 0.85);
    --bg-overlay-light: rgba(14, 10, 41, 0.65);
    
    /* Gradientes */
    --gradient-overlay: linear-gradient(135deg, rgba(14, 10, 41, 0.88) 0%, rgba(14, 10, 41, 0.75) 100%);
    --gradient-hero: linear-gradient(135deg, #1a1540 0%, #2d2865 100%);
    
    /* Compatibilidade (equivalentes à nova paleta) */
    --primary-dark: #0e0a29;
    --primary-medium: #ffffff;
    --primary-dark-light: #e8ecf1;
    --primary-medium-light: #e2e8f0;
    --gradient-accent: linear-gradient(135deg, #0e0a29 0%, #1a1540 100%);
    
    /* Espaçamento */
    --spacing-unit: 1rem;
    --container-max-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: var(--bg-primary);
}

/* Contexto escuro: hero e footer usam texto claro */
.hero-section .hero-headline,
.hero-section .hero-subheadline,
.hero-section .hero-brand-name,
.page-hero .page-hero-title,
.page-hero .page-hero-subtitle,
.page-hero .page-hero-label,
.page-hero a,
.main-footer,
.main-footer * {
    color: var(--text-on-dark);
}
.main-footer a:hover { color: rgba(255,255,255,0.9); }
.page-hero .page-hero-label { color: rgba(255, 255, 255, 0.9); }

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   HEADER E NAVEGAÇÃO
   ============================================ */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.navbar-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-logo {
    height: 50px;
    width: auto;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.navbar-brand-link:hover .navbar-logo {
    transform: scale(1.05);
}

.navbar-brand-name {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.05em;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.navbar-brand-link:hover .navbar-brand-name {
    color: var(--accent-blue-light);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.navbar-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.navbar-item {
    position: relative;
}

.navbar-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-link:hover {
    color: var(--accent-blue-light);
}

/* Botão Contactos no menu: manter texto branco no hover */
.navbar-link.btn-primary,
.navbar-link.btn-primary:hover {
    color: #ffffff;
}

.navbar-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 250px;
    border: 1px solid var(--gray-200);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(14, 9, 41, 0.4);
    border: 1px solid rgba(92, 127, 184, 0.1);
    margin-top: 0.5rem;
}

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

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

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: var(--gray-100);
    color: var(--primary-blue);
    padding-left: 2rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* WebP primeiro, JPG como fallback se .webp não existir */
    background-image: url('../img/hero-home.webp'), url('../img/hero-home.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(92, 127, 184, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 10, 41, 0.75) 0%, rgba(14, 10, 41, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    text-align: left;
    animation: fadeInUp 1s ease-out;
}

.hero-text {
    max-width: 900px;
    margin: 0;
}

.hero-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.hero-brand-name {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.hero-headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-subheadline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 800px;
}

@media (min-width: 769px) {
    .hero-subheadline {
        margin-left: 0;
        margin-right: 0;
    }
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: fadeIn 1s ease-out 1.5s forwards;
    opacity: 0;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
    animation: scrollDown 2s ease-in-out infinite;
}

/* ============================================
   SHORTCUTS SECTION
   ============================================ */

.shortcuts-section {
    padding: 6rem 0;
    background: var(--bg-primary);
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: left;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.section-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.section-title-link:hover {
    color: var(--accent-blue-light);
}

.shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.shortcut-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.shortcut-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.shortcut-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(14, 10, 41, 0.12);
    border-color: var(--gray-300);
}

.shortcut-card:hover::before {
    transform: scaleX(1);
}

.shortcut-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-on-dark);
    box-shadow: 0 4px 15px rgba(14, 10, 41, 0.2);
}

.shortcut-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.shortcut-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: left;
}

.shortcut-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.shortcut-link:hover {
    color: var(--primary-blue-hover);
    gap: 0.75rem;
}

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

.shortcut-link:hover i {
    transform: translateX(5px);
}

/* ============================================
   SERVIÇOS SECTION (home)
   ============================================ */

.services-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

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

.service-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(14, 10, 41, 0.1);
    border-color: var(--gray-300);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff;
    box-shadow: 0 4px 12px rgba(14, 10, 41, 0.15);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    text-align: left;
}

.service-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease, gap 0.2s ease;
}

.service-link:hover {
    color: var(--primary-blue-hover);
    gap: 0.75rem;
}

.service-link i {
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.service-link:hover i {
    transform: translateX(4px);
}

/* ============================================
   WHY SECTION
   ============================================ */

.why-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.why-section .section-title,
.why-section .why-feature h4,
.why-section .why-feature p {
    color: var(--text-primary);
}

.why-content {
    max-width: 900px;
    margin: 0 auto;
}

.why-text {
    margin-bottom: 3rem;
}

.why-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.why-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-feature {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.why-feature:hover {
    transform: translateY(-5px);
    border-color: var(--gray-300);
}

.why-feature i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.why-feature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.why-feature p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: left;
}

/* ============================================
   PRESENCE SECTION
   ============================================ */

.presence-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.presence-section .section-title,
.presence-section .section-subtitle {
    color: var(--text-primary);
}

.section-subtitle {
    text-align: left;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.presence-intro {
    text-align: left;
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.presence-countries {
    overflow: hidden;
    margin-top: 1rem;
}

.presence-countries-track {
    display: flex;
    width: max-content;
    animation-duration: 45s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.presence-countries-track--row1 {
    animation-name: presence-marquee;
}

.presence-countries-track--row2 {
    animation-name: presence-marquee-reverse;
}

.presence-countries-inner {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    padding-right: 0.75rem;
    flex-shrink: 0;
}

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

@keyframes presence-marquee-reverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Apenas uma linha no desktop; duas linhas no mobile */
@media (min-width: 769px) {
    .presence-countries-track--row2 {
        display: none;
    }
}

/* Mobile: sem animação; todas as bandeiras visíveis, quebrando linha */
@media (max-width: 768px) {
    .presence-countries {
        overflow: visible;
    }
    .presence-countries-track {
        animation: none;
        display: block;
        width: 100%;
    }
    /* esconde a segunda track e as cópias usadas só para o efeito de marquee */
    .presence-countries-track--row2 {
        display: none;
    }
    .presence-countries-inner {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        padding-right: 0;
    }
    .presence-countries-inner[aria-hidden="true"] {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .presence-countries-track {
        animation: none;
    }
    .presence-countries {
        overflow: visible;
    }
    .presence-countries-track {
        flex-wrap: wrap;
        width: 100%;
    }
    .presence-countries-inner:last-of-type {
        display: none;
    }
}

.country-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-card);
    border-radius: 50px;
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

/* Bandeiras com flag-icon-css (compatível com todos os navegadores) */
.country-pill .flag-icon {
    width: 1.5em;
    height: 1.125em;
    flex-shrink: 0;
}


/* Legado: mantido para páginas que usam presence-grid / country-item */
.presence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.presence-region {
    background: var(--primary-medium);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(92, 127, 184, 0.1);
    transition: all 0.3s ease;
}

.presence-region:hover {
    transform: translateY(-5px);
    border-color: rgba(92, 127, 184, 0.3);
    box-shadow: 0 12px 32px rgba(14, 9, 41, 0.4);
}

.region-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: left;
}

.countries-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.country-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--primary-dark-light);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.country-item:hover {
    background: var(--primary-medium-light);
    transform: translateX(5px);
}

.country-flag {
    font-size: 2rem;
}

.country-name {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.about-intro,
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-section-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    margin: 4rem 0 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.team-card {
    background: var(--primary-medium);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(92, 127, 184, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: rgba(92, 127, 184, 0.3);
    box-shadow: 0 12px 32px rgba(14, 9, 41, 0.4);
}

.team-photo {
    width: 220px;
    height: 220px;
    object-fit: cover;
    object-position: center 25%;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: block;
    border: 4px solid rgba(92, 127, 184, 0.3);
    box-shadow: 0 8px 24px rgba(14, 9, 41, 0.3);
}

.team-card:hover .team-photo {
    border-color: rgba(92, 127, 184, 0.5);
}

.team-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.95rem;
    color: var(--accent-blue-light);
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.team-bio {
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    text-align: left;
}

.team-bio:last-child {
    margin-bottom: 0;
}

.about-item {
    background: var(--primary-medium);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(92, 127, 184, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.about-item:hover {
    transform: translateY(-5px);
    border-color: rgba(92, 127, 184, 0.3);
}

.about-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: left;
}

/* ============================================
   NEWS SECTION
   ============================================ */

.news-section {
    padding-bottom: 6rem;
    background: var(--bg-primary);
}

.news-placeholder {
    text-align: left;
    padding: 4rem 2rem;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--gray-200);
}

.news-placeholder p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ============================================
   BLOG / NOTÍCIAS PAGE
   ============================================ */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(14, 10, 41, 0.12);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--gray-200);
}

.blog-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.blog-card-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: block;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: left;
}

.blog-card-link {
    font-size: 0.95rem;
    color: var(--primary-blue);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-card-link:hover {
    color: var(--primary-blue-hover);
}

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

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

/* Card destacado: estrela amarela */
.blog-card--featured {
    position: relative;
}

.blog-card-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    color: #facc15;
    font-size: 1rem;
}

.blog-card-badge i {
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
}

.blog-grid-empty {
    grid-column: 1 / -1;
    text-align: left;
    color: var(--text-secondary);
    padding: 3rem 1rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-2px);
}

.contact-details {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-detail {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    cursor: default;
}

.contact-detail i {
    color: var(--accent-primary);
    width: 1.25rem;
}

.contact-form-container {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--gray-200);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-primary);
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(92, 127, 184, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   FOOTER
   ============================================ */

.main-footer {
    --footer-bg: #0e0a29;
    --footer-text: rgba(255, 255, 255, 0.95);
    --footer-text-muted: rgba(255, 255, 255, 0.65);
    --footer-border: rgba(255, 255, 255, 0.08);
    background: var(--footer-bg);
    padding: 2rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
    padding-bottom: 1.5rem;
}

.footer-brand {
    max-width: 280px;
}

.footer-brand-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: opacity 0.2s ease;
}

.footer-brand-link:hover {
    opacity: 0.92;
}

.footer-brand-container {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.footer-logo {
    height: 36px;
    width: auto;
    display: block;
    opacity: 0.98;
}

.footer-brand-name {
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--footer-text);
    letter-spacing: 0.02em;
    white-space: nowrap;
    margin-top: 10px;
}

.footer-brand p {
    color: var(--footer-text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    line-height: 1.4;
}

.footer-contact-details {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.footer-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--footer-text-muted);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-item:hover {
    color: var(--footer-text);
}

.footer-contact-item i {
    color: var(--footer-text-muted);
    width: 1rem;
    text-align: left;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-column h4 {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--footer-text-muted);
    margin-bottom: 0.75rem;
}

.footer-column ul {
    list-style: none;
    text-align: left;
}

.footer-column ul li {
    margin-bottom: 0.375rem;
}

.footer-column a {
    color: var(--footer-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--footer-text);
}

.footer-bottom {
    padding: 1rem 0;
    border-top: 1px solid var(--footer-border);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    color: var(--footer-text-muted);
    font-size: 0.75rem;
}

.footer-bottom p:first-child {
    margin: 0;
}

.footer-bottom .footer-credits {
    margin: 0;
    font-size: 0.75rem;
}

.footer-bottom .footer-credits a {
    color: var(--footer-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom .footer-credits a:hover {
    color: var(--footer-text);
}

@media (max-width: 768px) {
    .main-footer {
        padding-top: 2rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-bottom: 1.25rem;
    }
    .footer-links {
        align-items: flex-start;
    }
    .footer-column ul {
        text-align: left;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: left;
        padding: 0.875rem 0;
    }
}

/* ============================================
   ANIMAÇÕES
   ============================================ */

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

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

@keyframes scrollDown {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.8;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.4;
    }
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .navbar-toggle {
        display: flex;
    }
    
    .navbar-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-top: 1px solid rgba(92, 127, 184, 0.1);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .navbar-menu.active {
        transform: translateX(0);
    }
    
    .navbar-menu .navbar-link {
        color: rgba(255, 255, 255, 0.95);
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-menu .navbar-link:hover {
        color: #fff;
    }
    
    .navbar-menu .navbar-link.btn-primary {
        color: #fff;
        border-bottom: none;
        margin-top: 0.5rem;
        text-align: left;
    }
    
    .navbar-menu .navbar-link.btn-primary:hover {
        color: #fff;
    }
    
    .navbar-item {
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0;
        margin-left: 1rem;
        box-shadow: none;
        border: none;
        background: transparent;
    }
    
    .navbar-menu .dropdown-menu a {
        color: rgba(255, 255, 255, 0.9);
        padding: 0.5rem 0 0.5rem 1rem;
    }
    
    .navbar-menu .dropdown-menu a:hover {
        color: #fff;
        background: transparent;
    }
    
    .shortcuts-grid {
        grid-template-columns: 1fr;
    }
    
    .presence-grid {
        grid-template-columns: 1fr;
    }
    
    .why-features {
        grid-template-columns: 1fr;
    }
    
    .about-intro,
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-section-title {
        margin: 3rem 0 1.5rem;
        font-size: 1.5rem;
    }
    
    .team-photo {
        width: 180px;
        height: 180px;
    }
    
    .hero-logo {
        height: 56px;
    }
    
    .hero-headline {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    .section-title {
        font-size: clamp(1.75rem, 5vw, 2rem);
    }
    
    /* Remove background-attachment fixed em mobile para melhor performance e ajuste de enquadramento */
    .hero-background {
        background-attachment: scroll;
        background-position: center 25%;
        background-size: cover;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .shortcut-card,
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
}

/* Prevenção de zoom em inputs (iOS Safari) */
@media screen and (max-width: 768px) {
    input,
    textarea,
    select {
        font-size: 16px;
    }
}

/* ============================================
   PÁGINAS INTERNAS
   ============================================ */

/* Page Hero */
.page-hero {
    position: relative;
    min-height: 80vh;
    min-height: 80dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    margin-bottom: 4rem;
}

.page-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
}

/* Imagem de fundo por página (WebP quando disponível) */
.page-hero-vistos-europa { background-image: url('../img/hero-vistos-europa.jpg'); }
.webp .page-hero-vistos-europa { background-image: url('../img/hero-vistos-europa.webp'); }
.page-hero-estudantes { background-image: url('../img/hero-estudantes.jpg'); }
.webp .page-hero-estudantes { background-image: url('../img/hero-estudantes.webp'); }
.page-hero-equipe { background-image: url('../img/equipe.jpg'); }
.webp .page-hero-equipe { background-image: url('../img/equipe.webp'); }
.page-hero-investimentos { background-image: url('../img/investimentos.jpg'); }
.webp .page-hero-investimentos { background-image: url('../img/investimentos.webp'); }

.page-hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(92, 127, 184, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 10, 41, 0.75) 0%, rgba(14, 10, 41, 0.6) 100%);
    z-index: 2;
}

.page-hero-content {
    position: relative;
    z-index: 3;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    text-align: left;
}

.page-hero-label {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-blue-light);
    margin-bottom: 0.75rem;
}

.page-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    max-width: 900px;
    margin: 0 auto;
}

.page-hero-small {
    min-height: 45vh;
    min-height: 45dvh;
}

.page-hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero-nacionalidades .page-hero-subtitle {
    margin-left: 0;
    margin-right: 0;
}

/* Page Sections */
.page-section {
    padding: 5rem 0;
}

.page-section.bg-secondary {
    background: var(--bg-secondary);
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: left;
}

.page-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.page-text-large {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-align: left;
}

/* Artigo do blog (título, imagem e corpo abaixo da hero) */
.article-post-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.article-post-date {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    display: block;
}

.article-post-figure {
    margin: 0 0 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--gray-200);
}

.article-post-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.article-post-body {
    margin-top: 0;
}

.article-post-body .page-text,
.article-post-body .page-section-title {
    margin-bottom: 1rem;
}

.article-post-body .page-figure {
    margin: 1.5rem 0;
}

/* Solution Blocks */
.solution-block {
    margin-bottom: 4rem;
}

.solution-blocks-row-wrap {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--gray-200);
}

.solution-blocks-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 0;
}

.solution-blocks-row .solution-block {
    margin-bottom: 0;
}

.solution-blocks-row .solution-block-content {
    max-width: none;
}

@media (max-width: 768px) {
    .solution-blocks-row-wrap {
        padding: 1.5rem;
    }
    .solution-blocks-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.solution-block-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}

.solution-block.highlight {
    background: var(--primary-medium);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(92, 127, 184, 0.2);
    text-align: left;
}

.solution-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Quando tem visa-icon-large, ícone e título um acima do outro e alinhados ao centro */
.solution-header:has(.visa-icon-large) {
    flex-direction: column;
    text-align: left;
    align-items: center;
}

.solution-block.highlight .solution-header {
    flex-direction: column;
    text-align: left;
}

.country-flag-large {
    font-size: 3rem;
}

.country-flag-large .flag-icon {
    display: block;
    width: 4rem;
    height: 3rem;
}

.country-flag-large.country-flag-icon-globe {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue-light);
}

.visa-icon-large {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #ffffff;
    margin: 0 auto 1.5rem;
}

.solution-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Visa Grid */
.visa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.visa-card {
    background: var(--primary-medium);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(92, 127, 184, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.visa-card:hover {
    transform: translateY(-5px);
    border-color: rgba(92, 127, 184, 0.3);
    box-shadow: 0 12px 32px rgba(14, 9, 41, 0.4);
}

.visa-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
}

.visa-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.visa-description {
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: left;
}

/* Differential Features */
.differential-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.differential-feature {
    text-align: center;
    padding: 2rem;
    background: var(--primary-medium);
    border-radius: 12px;
    border: 1px solid rgba(92, 127, 184, 0.1);
}

.differential-feature i {
    font-size: 2.5rem;
    color: var(--accent-blue-light);
    margin-bottom: 1rem;
}

.differential-feature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.differential-feature p {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: left;
}

/* Support Grid */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.support-card {
    background: var(--primary-medium);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(92, 127, 184, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.support-card:hover {
    transform: translateY(-5px);
    border-color: rgba(92, 127, 184, 0.3);
    box-shadow: 0 12px 32px rgba(14, 9, 41, 0.4);
}

.support-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #ffffff;
}

.support-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.support-description {
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: left;
}

/* Process Steps */
.process-steps {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background: var(--primary-medium);
    border-radius: 12px;
    border: 1px solid rgba(92, 127, 184, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Quote Section */
.quote-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.quote-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.quote-text {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 300;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-blue-light);
    padding-left: 2rem;
    text-align: left;
}

.quote-author {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Investment Sections */
.investment-section {
    margin-bottom: 4rem;
}

.investment-header {
    text-align: left;
    margin-bottom: 3rem;
}

.investment-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.investment-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-style: italic;
}

.investment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.investment-card {
    background: var(--primary-medium);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(92, 127, 184, 0.1);
    transition: all 0.3s ease;
}

.investment-card.highlight {
    border-color: rgba(92, 127, 184, 0.3);
    background: linear-gradient(135deg, var(--primary-medium) 0%, var(--primary-medium-light) 100%);
}

.investment-card:hover {
    transform: translateY(-5px);
    border-color: rgba(92, 127, 184, 0.4);
    box-shadow: 0 12px 32px rgba(14, 9, 41, 0.5);
}

.investment-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #ffffff;
}

.investment-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.investment-card-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.investment-features {
    list-style: none;
    padding: 0;
}

.investment-features li {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.investment-features i {
    color: var(--accent-blue-light);
    font-size: 0.875rem;
}

/* Excellence Features */
.excellence-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.excellence-feature {
    text-align: center;
    padding: 2rem;
    background: var(--primary-medium);
    border-radius: 12px;
    border: 1px solid rgba(92, 127, 184, 0.1);
}

.excellence-feature i {
    font-size: 2.5rem;
    color: var(--accent-blue-light);
    margin-bottom: 1rem;
}

.excellence-feature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.excellence-feature p {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: left;
}

/* CTA Section Page */
.cta-section-page {
    padding: 5rem 0;
    background: var(--gradient-hero);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.cta-section-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(92, 127, 184, 0.2) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.cta-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-section-page .btn-primary {
    background: #ffffff;
    color: var(--primary-blue);
}

.cta-section-page .btn-primary:hover {
    background: var(--gray-100);
    color: var(--primary-blue);
}

/* Responsividade para páginas internas */
@media (max-width: 768px) {
    .page-hero {
        min-height: 70vh;
        min-height: 70dvh;
        padding-top: 100px;
    }
    
    /* Remove background-attachment fixed em mobile para melhor performance */
    .page-hero-background {
        background-attachment: scroll;
    }
    
    .visa-grid,
    .support-grid,
    .investment-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex-direction: column;
        text-align: left;
    }
    
    .step-number {
        margin: 0 auto;
    }
    
    .quote-text {
        padding-left: 1rem;
        border-left-width: 3px;
    }
    
    .solution-header {
        flex-direction: column;
        text-align: left;
    }
}

/* ============================================
   CHAT WIDGET (botão flutuante + chat João)
   ============================================ */

#chat-widget-wrap {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    font-family: inherit;
}

.chat-widget-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    font-size: 1.75rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-widget-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.chat-widget-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 2rem);
    height: 480px;
    max-height: calc(100vh - 8rem);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.96);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.chat-widget-panel--open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-widget-header {
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #0e0a29 0%, #1a1540 100%);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-widget-header-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.chat-widget-header-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.chat-widget-online {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #25d366;
    border: 2px solid #0e0a29;
}

.chat-widget-online--sm {
    width: 10px;
    height: 10px;
    bottom: 0;
    right: 0;
    border-width: 1.5px;
}

.chat-widget-header-info {
    flex: 1;
    min-width: 0;
}

.chat-widget-header-name {
    font-weight: 600;
    font-size: 1rem;
    display: block;
}

.chat-widget-header-status {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
}

.chat-widget-close {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.chat-widget-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.chat-widget-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background: #f0f2f5;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chat-widget-msg {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.chat-widget-msg--joao {
    flex-direction: row;
}

.chat-widget-msg-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.chat-widget-msg-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.chat-widget-msg-bubble-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    max-width: 85%;
}

.chat-widget-msg-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.chat-widget-msg-bubble {
    padding: 0.75rem 1rem;
    border-radius: 12px 12px 12px 4px;
    background: #fff;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.45;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.chat-widget-msg-time {
    font-size: 0.7rem;
    color: var(--text-secondary);
    opacity: 0.85;
}

.chat-widget-input-wrap {
    padding: 0.75rem 1rem;
    background: #fff;
    border-top: 1px solid var(--gray-200);
}

.chat-widget-form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.chat-widget-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 24px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.chat-widget-input:focus {
    border-color: #25d366;
}

.chat-widget-send {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.chat-widget-send:hover {
    transform: scale(1.05);
    opacity: 0.95;
}

@media (max-width: 480px) {
    #chat-widget-wrap {
        bottom: 1rem;
        right: 1rem;
    }
    .chat-widget-panel {
        width: calc(100vw - 2rem);
        height: 70vh;
    }
}

/* ============================================
   BANNER COOKIES / PRIVACIDADE (RGPD)
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: #fff;
    color: var(--text-primary);
    padding: 1rem 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    border-top: 1px solid var(--gray-200);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-banner--hidden {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
}

.cookie-banner-inner {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-banner-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 1;
    min-width: 200px;
}

.cookie-banner-text a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.cookie-banner-text a:hover {
    color: var(--primary-blue-hover);
}

.cookie-banner-btn {
    flex-shrink: 0;
    padding: 0.6rem 1.25rem;
    background: var(--primary-blue);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.cookie-banner-btn:hover {
    background: var(--primary-blue-hover);
}

@media (max-width: 640px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }
    .cookie-banner-btn {
        align-self: flex-start;
    }
}

/* Melhorias de performance para animações em mobile */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
