/*
 * Armilar Venture Partners — CSS Design System Global
 * Sprint 2 — Versão completa
 */

/* ============================================================
   GOOGLE FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Serif+Display:ital@0;1&display=swap');

/* ============================================================
   VARIÁVEIS CSS — Design Tokens
   ============================================================ */
:root {
    /* Cores */
    --navy:         #1B2A4A;
    --navy-dark:    #0F1B33;
    --coral:        #E8735A;
    --coral-light:  #F0907D;
    --white:        #FFFFFF;
    --off-white:    #F5F5F0;
    --grey-light:   #E8E8E3;
    --grey-text:    #6B7280;
    --text-dark:    #1A1A1A;

    /* Tipografia */
    --font-sans:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif:   'DM Serif Display', Georgia, 'Times New Roman', serif;

    /* Tamanhos de fonte */
    --text-xs:      0.75rem;    /* 12px */
    --text-sm:      0.875rem;   /* 14px */
    --text-base:    1rem;       /* 16px */
    --text-lg:      1.125rem;   /* 18px */
    --text-xl:      1.25rem;    /* 20px */
    --text-2xl:     1.5rem;     /* 24px */
    --text-3xl:     1.875rem;   /* 30px */
    --text-4xl:     2.25rem;    /* 36px */
    --text-5xl:     3rem;       /* 48px */
    --text-6xl:     3.75rem;    /* 60px */
    --text-7xl:     4.5rem;     /* 72px */

    /* Espaçamentos */
    --space-1:      0.25rem;
    --space-2:      0.5rem;
    --space-3:      0.75rem;
    --space-4:      1rem;
    --space-5:      1.25rem;
    --space-6:      1.5rem;
    --space-8:      2rem;
    --space-10:     2.5rem;
    --space-12:     3rem;
    --space-16:     4rem;
    --space-20:     5rem;
    --space-24:     6rem;
    --space-32:     8rem;

    /* Layout */
    --container-max:    1280px;
    --container-wide:   1440px;
    --header-height:    80px;

    /* Bordas */
    --radius-sm:    4px;
    --radius-md:    8px;
    --radius-lg:    12px;
    --radius-xl:    16px;
    --radius-full:  9999px;

    /* Sombras */
    --shadow-sm:    0 1px 3px rgba(0,0,0,0.08);
    --shadow-md:    0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg:    0 8px 32px rgba(0,0,0,0.12);
    --shadow-xl:    0 16px 48px rgba(0,0,0,0.16);

    /* Transições */
    --transition:   0.3s ease;
    --transition-fast: 0.15s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast), opacity var(--transition-fast);
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    color: var(--navy);
}

p {
    margin-bottom: var(--space-4);
}

p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   UTILITÁRIOS DE LAYOUT
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--space-8);
}

.container--wide {
    max-width: var(--container-wide);
}

.container--narrow {
    max-width: 800px;
}

.section {
    padding-block: var(--space-24);
}

.section--sm {
    padding-block: var(--space-16);
}

.section--lg {
    padding-block: var(--space-32);
}

.section--navy {
    background-color: var(--navy);
    color: var(--white);
}

.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4 {
    color: var(--white);
}

.section--off-white {
    background-color: var(--off-white);
}

.section--coral {
    background-color: var(--coral);
    color: var(--white);
}

.section--coral h1,
.section--coral h2,
.section--coral h3 {
    color: var(--white);
}

/* Grid */
.grid {
    display: grid;
    gap: var(--space-8);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }
.grid--6 { grid-template-columns: repeat(6, 1fr); }

/* Flex */
.flex { display: flex; }
.flex--center { align-items: center; justify-content: center; }
.flex--between { align-items: center; justify-content: space-between; }
.flex--gap { gap: var(--space-4); }

/* Texto */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-white  { color: var(--white); }
.text-navy   { color: var(--navy); }
.text-coral  { color: var(--coral); }
.text-grey   { color: var(--grey-text); }

/* Visibilidade */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* ============================================================
   TIPOGRAFIA PÚBLICA
   ============================================================ */
.section-label {
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: var(--space-4);
    display: block;
}

.section-title {
    font-family: var(--font-serif);
    font-size: var(--text-4xl);
    color: var(--navy);
    margin-bottom: var(--space-6);
    line-height: 1.15;
}

.section-title--white {
    color: var(--white);
}

.section-title--lg {
    font-size: var(--text-5xl);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--grey-text);
    max-width: 640px;
    line-height: 1.7;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-height);
    z-index: 1000;
    transition: background-color var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
    background-color: transparent;
}

.site-header--transparent {
    background-color: transparent;
    backdrop-filter: none;
}

.site-header--solid,
.site-header.scrolled {
    background-color: transparent;
    backdrop-filter: none;
    box-shadow: none;
}

/* Sem hero — header transparente (o pill nav tem o seu próprio fundo) */
.site-header--default {
    background-color: transparent;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding-inline: var(--space-8);
    max-width: var(--container-wide);
    margin-inline: auto;
}

/* Logo */
.header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo img {
    height: 80px;
    width: auto;
}

.header-logo-text {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    color: var(--navy);
    letter-spacing: 0.05em;
    font-weight: 400;
}

/* Em páginas com hero (fundo escuro) o logo texto fica branco */
.page-with-hero .header-logo-text {
    color: var(--white);
}

/* Nav principal — bobble pill style */
.header-nav {
    display: flex;
    align-items: center;
}

/* Pill container */
.nav-bobble {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border-radius: 100px;
    padding: 4px;
    gap: 0;
    box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}

.nav-bobble__link {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: 0.01em;
    padding: 6px 20px 6px 20px;
    border-radius: 100px;
    transition: background-color var(--transition-fast), color var(--transition-fast);
    white-space: nowrap;
}

.nav-bobble__link:hover {
    background-color: var(--off-white);
    color: var(--navy);
}

.nav-bobble__link.active {
    background-color: var(--navy);
    color: var(--white);
}

/* Botão hamburger */
.header-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px; height: 40px;
    padding: 4px;
    cursor: pointer;
    background: none;
    border: none;
}

.header-hamburger span {
    display: block;
    width: 24px; height: 2px;
    background-color: var(--navy);
    border-radius: var(--radius-full);
    transition: transform var(--transition), opacity var(--transition);
}

/* Em fundo escuro (hero) as linhas ficam brancas */
.page-with-hero .header-hamburger span {
    background-color: var(--white);
}

.header-hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.header-hamburger.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.header-hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Menu mobile overlay */
.mobile-menu {
    position: fixed;
    inset: 0;
    background-color: var(--navy-dark);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-6);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.mobile-menu.is-open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu a {
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
    color: var(--white);
    opacity: 0.8;
    transition: opacity var(--transition-fast), color var(--transition-fast);
}

.mobile-menu a:hover,
.mobile-menu a.active {
    opacity: 1;
    color: var(--coral);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background-color: var(--navy);
    color: var(--white);
    padding-top: var(--space-20);
    padding-bottom: var(--space-8);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    padding-bottom: var(--space-12);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    margin-bottom: var(--space-12);
}

.footer-logo {
    display: block;
    margin-bottom: var(--space-6);
}

.footer-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) saturate(100%) invert(55%) sepia(54%) saturate(500%) hue-rotate(330deg) brightness(95%);
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: var(--coral);
    letter-spacing: 0.05em;
}

.footer-tagline {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.55);
    margin-bottom: var(--space-8);
    line-height: 1.7;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: var(--space-4);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    color: rgba(255,255,255,0.7);
    font-size: var(--text-sm);
    transition: border-color var(--transition), color var(--transition), background-color var(--transition);
}

.footer-social a:hover {
    border-color: var(--coral);
    color: var(--coral);
    background-color: rgba(232,115,90,0.1);
}

.footer-links-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
}

.footer-links-col h4 {
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: var(--space-5);
    font-style: normal;
}

.footer-links-col a {
    display: block;
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.75);
    margin-bottom: var(--space-3);
    transition: color var(--transition-fast);
}

.footer-links-col a:hover {
    color: var(--coral);
}

/* Newsletter no footer */
.footer-newsletter {
    padding-top: var(--space-12);
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-bottom: var(--space-12);
}

.footer-newsletter h3 {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    color: var(--white);
    margin-bottom: var(--space-3);
}

.footer-newsletter p {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.6);
    margin-bottom: var(--space-8);
}

.newsletter-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 2fr auto;
    gap: var(--space-3);
    align-items: end;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-copyright {
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.4);
}

.footer-legal-links {
    display: flex;
    gap: var(--space-6);
}

.footer-legal-links a {
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.4);
    transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
    color: rgba(255,255,255,0.7);
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.75rem 1.75rem;
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition-fast), box-shadow var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background-color: var(--coral);
    color: var(--white);
    border-color: var(--coral);
}

.btn-primary:hover {
    background-color: var(--coral-light);
    border-color: var(--coral-light);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

.btn-outline:hover {
    background-color: var(--navy);
    color: var(--white);
}

.btn-outline--white {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline--white:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
}

/* Botão pill transparente — estilo bobble ghost */
.btn-bobble-ghost {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 100px;
    border: 1.5px solid rgba(255,255,255,0.5);
    background-color: transparent;
    color: var(--white);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 500;
    text-decoration: none;
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.btn-bobble-ghost:hover {
    background-color: rgba(255,255,255,0.12);
    border-color: var(--white);
    color: var(--white);
}

.btn-text {
    background: none;
    border: none;
    color: var(--coral);
    padding-inline: 0;
    font-weight: 600;
}

.btn-text:hover {
    color: var(--coral-light);
    box-shadow: none;
    transform: none;
}

.btn-arrow::after {
    content: '→';
    font-size: 1.1em;
    transition: transform var(--transition-fast);
}

.btn-arrow:hover::after {
    transform: translateX(4px);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: var(--text-xs);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: var(--text-base);
}

/* ============================================================
   FORMULÁRIOS
   ============================================================ */
.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-dark);
}

.form-label--white {
    color: rgba(255,255,255,0.8);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    color: var(--text-dark);
    background-color: var(--white);
    border: 1.5px solid var(--grey-light);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    -webkit-appearance: none;
    appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(27,42,74,0.1);
}

.form-input--dark,
.form-select--dark,
.form-textarea--dark {
    background-color: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    color: var(--white);
}

.form-input--dark::placeholder,
.form-textarea--dark::placeholder {
    color: rgba(255,255,255,0.4);
}

.form-input--dark:focus,
.form-textarea--dark:focus {
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.06);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* ============================================================
   CARDS DE ARTIGO
   ============================================================ */
.article-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
    text-decoration: none;
    color: inherit;
}

.article-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    color: inherit;
}

.article-card__image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: var(--grey-light);
    flex-shrink: 0;
}

.article-card__image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-card__image img {
    transform: scale(1.04);
}

.article-card__image-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: rgba(255,255,255,0.3);
    font-size: var(--text-sm);
}

.article-card__body {
    padding: var(--space-6);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card__meta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.article-card__category {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--coral);
}

.article-card__date {
    font-size: var(--text-xs);
    color: var(--grey-text);
}

.article-card__title {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    color: var(--navy);
    margin-bottom: var(--space-3);
    line-height: 1.3;
    flex: 1;
    transition: color var(--transition-fast);
}

.article-card:hover .article-card__title {
    color: var(--coral);
}

.article-card__abstract {
    font-size: var(--text-sm);
    color: var(--grey-text);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================================
   LOGOS DE EMPRESAS (PORTFOLIO GRID)
   ============================================================ */
.company-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-2);
}

.company-logo-item {
    display: block;
    aspect-ratio: 2/1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
    background-color: var(--white);
    border: 1.5px solid var(--grey-light);
    border-radius: var(--radius-md);
    text-decoration: none;
    position: relative;
    transition: border-color var(--transition), box-shadow var(--transition), opacity var(--transition);
    overflow: hidden;
}

.company-logo-item:hover {
    border-color: var(--navy);
    box-shadow: var(--shadow-md);
    opacity: 1 !important;
}

.company-logo-item img {
    max-width: 100%;
    max-height: 48px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.65;
    transition: filter var(--transition), opacity var(--transition);
}

.company-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.company-logo-item--placeholder {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--grey-text);
    text-align: center;
    letter-spacing: 0.05em;
}

/* Badge de status */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
}

.badge--active {
    background-color: rgba(27,42,74,0.1);
    color: var(--navy);
}

.badge--exited {
    background-color: rgba(232,115,90,0.12);
    color: var(--coral);
}

.badge--category {
    background-color: var(--off-white);
    color: var(--grey-text);
    border: 1px solid var(--grey-light);
}

/* Badge sobreposto na grelha */
.company-logo-item .badge {
    position: absolute;
    top: var(--space-2);
    right: var(--space-2);
    z-index: 1;
}

/* ============================================================
   HERO SECTIONS
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    background-color: #2596be;
}

.hero--short {
    min-height: 50vh;
    max-height: 600px;
}

.hero--medium {
    min-height: 65vh;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(37,150,190,0.10) 0%,
        rgba(37,150,190,0.30) 100%
    );
    z-index: 1;
}

.hero__video {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero__bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--space-8);
    max-width: 900px;
    margin-inline: auto;
    align-self: center;
}

/* Homepage hero — alinhado à esquerda */
.hero__content--left {
    text-align: left;
    width: 100%;
    max-width: var(--container-wide);
    margin-inline: auto;
    padding-inline: var(--space-8);
    align-self: center;
    margin-top: 10vh;
}

.hero__tag {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: var(--space-6);
}

.hero__title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--white);
    line-height: 1.1;
    margin-bottom: var(--space-8);
}

/* Título da homepage */
.hero__content--left .hero__title {
    font-size: clamp(2rem, 5vw, 4rem);
    max-width: 720px;
    margin-bottom: 0;
    line-height: 1.0;
    color: var(--navy-dark);
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.78);
    max-width: 600px;
    margin-inline: auto;
    margin-bottom: var(--space-10);
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

.hero__scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255,255,255,0.5);
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.hero__scroll-indicator svg {
    width: 20px; height: 20px;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   SECÇÃO DE FILOSOFIA — BLOCOS 3
   ============================================================ */
.philosophy-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--grey-light);
    border-left: 1px solid var(--grey-light);
}

.philosophy-block {
    padding: var(--space-10) var(--space-8);
    border-right: 1px solid var(--grey-light);
    border-bottom: 1px solid var(--grey-light);
    transition: background-color var(--transition);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    color: inherit;
}

.philosophy-block:hover {
    background-color: var(--off-white);
    color: inherit;
}

.philosophy-block__number {
    font-family: var(--font-serif);
    font-size: var(--text-4xl);
    color: var(--grey-light);
    margin-bottom: var(--space-6);
}

.philosophy-block__title {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    color: var(--navy);
    margin-bottom: var(--space-4);
    line-height: 1.3;
    flex: 1;
}

.philosophy-block__link {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--coral);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-4);
    transition: gap var(--transition-fast);
}

.philosophy-block:hover .philosophy-block__link {
    gap: var(--space-3);
}

/* ============================================================
   CAROUSEL / SLIDESHOW
   ============================================================ */
.carousel-section {
    background-color: var(--navy-dark);
    overflow: hidden;
    position: relative;
}

.carousel-wrapper {
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
    min-width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-color: var(--navy-dark);
}

.carousel-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(15,27,51,0.88) 0%,
        rgba(15,27,51,0.60) 60%,
        rgba(15,27,51,0.20) 100%
    );
}

.carousel-slide__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    width: 100%;
    padding: var(--space-20) var(--space-8);
    max-width: var(--container-max);
    margin-inline: auto;
}

.carousel-slide__logo {
    display: flex;
    justify-content: flex-end;
}

.carousel-slide__logo img {
    max-height: 80px;
    max-width: 240px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.carousel-slide__name {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: rgba(255,255,255,0.6);
}

.carousel-slide__content {
    padding-left: var(--space-8);
    border-left: 2px solid var(--coral);
}

.carousel-slide__title {
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
    color: var(--white);
    margin-bottom: var(--space-4);
    line-height: 1.25;
}

.carousel-slide__detail {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
}

.carousel-controls {
    position: absolute;
    bottom: var(--space-10);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
}

.carousel-btn {
    width: 44px; height: 44px;
    border-radius: var(--radius-full);
    border: 1.5px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition), background-color var(--transition);
    background: transparent;
}

.carousel-btn:hover {
    border-color: var(--coral);
    color: var(--coral);
    background-color: rgba(232,115,90,0.1);
}

.carousel-dots {
    display: flex;
    gap: var(--space-2);
}

.carousel-dot {
    width: 8px; height: 8px;
    border-radius: var(--radius-full);
    background-color: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition);
}

.carousel-dot.active {
    background-color: var(--coral);
    transform: scale(1.3);
}

/* ============================================================
   MÉTRICAS / ESTATÍSTICAS
   ============================================================ */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-8);
}

.metric-item {
    text-align: center;
    padding: var(--space-6);
}

.metric-item__value {
    font-family: var(--font-serif);
    font-size: var(--text-5xl);
    color: var(--navy);
    display: block;
    line-height: 1;
    margin-bottom: var(--space-2);
}

.metric-item__label {
    font-size: var(--text-sm);
    color: var(--grey-text);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.section--navy .metric-item__value {
    color: var(--coral);
}

.section--navy .metric-item__label {
    color: rgba(255,255,255,0.65);
}

/* ============================================================
   HOW WE WORK — BLOCOS
   ============================================================ */
.how-we-work-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.how-we-work-block {
    padding: var(--space-8);
    background-color: rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.08);
    transition: background-color var(--transition), border-color var(--transition);
}

.how-we-work-block:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
}

.how-we-work-block__icon {
    width: 48px; height: 48px;
    margin-bottom: var(--space-4);
    color: var(--coral);
}

.how-we-work-block__title {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    color: var(--white);
    margin-bottom: var(--space-3);
}

.how-we-work-block__text {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   TEAM GRID
   ============================================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
}

.team-card {
    display: block;
    text-decoration: none;
    color: inherit;
    text-align: center;
}

.team-card__photo {
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--grey-light);
    margin-bottom: var(--space-4);
    position: relative;
}

.team-card__photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-card__photo img {
    transform: scale(1.04);
}

.team-card__photo-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: rgba(255,255,255,0.35);
    font-size: var(--text-4xl);
    font-family: var(--font-serif);
}

.team-card__name {
    font-family: var(--font-serif);
    font-size: var(--text-lg);
    color: var(--navy);
    margin-bottom: var(--space-1);
    transition: color var(--transition-fast);
}

.team-card:hover .team-card__name {
    color: var(--coral);
}

.team-card__title {
    font-size: var(--text-sm);
    color: var(--grey-text);
    line-height: 1.5;
}

/* ============================================================
   PAGINAÇÃO
   ============================================================ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-12);
}

.pagination__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px; height: 40px;
    padding-inline: var(--space-3);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-dark);
    background-color: var(--white);
    border: 1.5px solid var(--grey-light);
    text-decoration: none;
    transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.pagination__item:hover {
    background-color: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.pagination__item--active {
    background-color: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.pagination__item--disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* ============================================================
   FILTROS DE CATEGORIA
   ============================================================ */
.filter-tabs {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
    margin-bottom: var(--space-10);
}

.filter-tab {
    padding: 0.4rem 1.1rem;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--grey-text);
    background-color: var(--white);
    border: 1.5px solid var(--grey-light);
    border-radius: var(--radius-full);
    cursor: pointer;
    text-decoration: none;
    transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.filter-tab:hover,
.filter-tab.active {
    background-color: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

/* ============================================================
   ARTIGO INDIVIDUAL
   ============================================================ */
.article-header {
    padding-top: calc(var(--header-height) + var(--space-16));
    padding-bottom: var(--space-12);
    max-width: 800px;
    margin-inline: auto;
    padding-inline: var(--space-8);
}

.article-body {
    max-width: 800px;
    margin-inline: auto;
    padding-inline: var(--space-8);
    padding-bottom: var(--space-24);
    font-size: var(--text-lg);
    line-height: 1.8;
    color: var(--text-dark);
}

.article-body h2, .article-body h3, .article-body h4 {
    font-family: var(--font-serif);
    color: var(--navy);
    margin-top: var(--space-10);
    margin-bottom: var(--space-4);
}

.article-body h2 { font-size: var(--text-3xl); }
.article-body h3 { font-size: var(--text-2xl); }
.article-body h4 { font-size: var(--text-xl); }

.article-body p { margin-bottom: var(--space-6); }

.article-body ul, .article-body ol {
    margin-bottom: var(--space-6);
    padding-left: var(--space-6);
}

.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }

.article-body li { margin-bottom: var(--space-2); }

.article-body blockquote {
    border-left: 4px solid var(--coral);
    padding-left: var(--space-6);
    margin-block: var(--space-8);
    font-style: italic;
    color: var(--grey-text);
}

.article-body img {
    width: 100%;
    border-radius: var(--radius-md);
    margin-block: var(--space-8);
}

.article-body a {
    color: var(--coral);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body a:hover {
    color: var(--coral-light);
}

.article-main-image {
    width: 100%;
    max-height: 540px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-12);
}

/* ============================================================
   EMPRESA INDIVIDUAL
   ============================================================ */
.company-header {
    padding-top: calc(var(--header-height) + var(--space-16));
    padding-bottom: var(--space-12);
    background-color: var(--off-white);
}

.company-header__inner {
    display: flex;
    align-items: flex-start;
    gap: var(--space-10);
}

.company-header__logo {
    width: 160px; height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.company-header__logo img {
    max-width: 100%; max-height: 100%;
    object-fit: contain;
}

.company-header__info h1 {
    font-family: var(--font-serif);
    font-size: var(--text-4xl);
    color: var(--navy);
    margin-bottom: var(--space-3);
}

.company-header__meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* ============================================================
   MEMBER INDIVIDUAL
   ============================================================ */
.member-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: var(--space-16);
    align-items: start;
    padding-top: calc(var(--header-height) + var(--space-16));
    padding-bottom: var(--space-24);
}

.member-photo {
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 3/4;
    background-color: var(--grey-light);
}

.member-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.member-info__name {
    font-family: var(--font-serif);
    font-size: var(--text-4xl);
    color: var(--navy);
    margin-bottom: var(--space-2);
}

.member-info__title {
    font-size: var(--text-lg);
    color: var(--coral);
    font-weight: 500;
    margin-bottom: var(--space-6);
}

.member-info__bio {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: var(--space-8);
}

.member-social {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-10);
}

.member-social a {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.5rem 1rem;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--navy);
    border: 1.5px solid var(--grey-light);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), color var(--transition);
}

.member-social a:hover {
    border-color: var(--navy);
    color: var(--navy);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.contact-info__icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-full);
    background-color: rgba(27,42,74,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--navy);
}

.contact-info__label {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grey-text);
    margin-bottom: var(--space-1);
}

.contact-info__value {
    font-size: var(--text-base);
    color: var(--text-dark);
}

/* Memberships */
.memberships-grid {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    flex-wrap: wrap;
    margin-top: var(--space-8);
}

.membership-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter var(--transition), opacity var(--transition);
}

.membership-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ============================================================
   JOBS
   ============================================================ */
.job-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.job-item {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    padding: var(--space-6);
    background-color: var(--white);
    border: 1.5px solid var(--grey-light);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.job-item:hover {
    border-color: var(--navy);
    box-shadow: var(--shadow-md);
    color: inherit;
}

.job-item__logo {
    width: 56px; height: 56px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: var(--grey-light);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-item__logo img {
    max-width: 100%; max-height: 100%;
    object-fit: contain;
}

.job-item__info {
    flex: 1;
}

.job-item__company {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: var(--space-1);
}

.job-item__title {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    color: var(--navy);
    margin-bottom: var(--space-2);
}

.job-item__meta {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.job-item__tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-xs);
    color: var(--grey-text);
}

.job-item__action {
    flex-shrink: 0;
}

/* ============================================================
   PLACEHOLDER DE IMAGEM
   ============================================================ */
.img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--grey-light);
    color: var(--grey-text);
    font-size: var(--text-sm);
    font-weight: 500;
    text-align: center;
    border-radius: var(--radius-md);
    padding: var(--space-4);
}

/* ============================================================
   BACK LINK
   ============================================================ */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--grey-text);
    text-decoration: none;
    margin-bottom: var(--space-8);
    transition: color var(--transition-fast);
}

.back-link:hover {
    color: var(--navy);
}

.back-link::before {
    content: '←';
}

/* ============================================================
   ESG
   ============================================================ */
.esg-download-card {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    padding: var(--space-8);
    background-color: var(--off-white);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--grey-light);
    margin-bottom: var(--space-10);
}

.esg-download-card__icon {
    width: 64px; height: 64px;
    background-color: var(--coral);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
}

.esg-download-card__title {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    color: var(--navy);
    margin-bottom: var(--space-1);
}

.esg-download-card__meta {
    font-size: var(--text-sm);
    color: var(--grey-text);
}

/* ============================================================
   NEWSLETTER SECTION STANDALONE
   ============================================================ */
.newsletter-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding-block: var(--space-20);
    text-align: center;
}

.newsletter-section h2 {
    font-family: var(--font-serif);
    font-size: var(--text-4xl);
    color: var(--white);
    margin-bottom: var(--space-4);
}

.newsletter-section p {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.65);
    margin-bottom: var(--space-10);
    max-width: 520px;
    margin-inline: auto;
}

.newsletter-inline-form {
    display: flex;
    gap: var(--space-3);
    max-width: 480px;
    margin-inline: auto;
}

.newsletter-inline-form input {
    flex: 1;
}

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
    width: 60px;
    height: 3px;
    background-color: var(--coral);
    border: none;
    margin-bottom: var(--space-6);
    display: block;
}

/* ============================================================
   ALERTA / MENSAGEM FLASH
   ============================================================ */
.alert {
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.alert--success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert--error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ============================================================
   MAIN CONTENT OFFSET (devido ao header fixo)
   ============================================================ */
.page-with-hero main {
    /* páginas com hero já compensam o offset dentro do hero */
}

.page-no-hero .page-content {
    padding-top: calc(var(--header-height) + var(--space-16));
}

/* ============================================================
   LUCIDE ICONS (ajuste geral de tamanho)
   ============================================================ */
.icon {
    width: 20px; height: 20px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 24px; height: 24px; }
.icon-xl { width: 32px; height: 32px; }

/* ============================================================
   ANIMAÇÕES DE ENTRADA
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.7s ease both;
}

.fade-in-up--delay-1 { animation-delay: 0.1s; }
.fade-in-up--delay-2 { animation-delay: 0.2s; }
.fade-in-up--delay-3 { animation-delay: 0.3s; }
.fade-in-up--delay-4 { animation-delay: 0.4s; }

/* Count-up animation helper */
[data-count] {
    transition: all 0.1s;
}
