/* ============================================
   JÚLIO CÉSAR — INSTITUTIONAL SITE
   Visual Identity: Brandbook Compliant
   Style: Apple-inspired Premium
   ============================================ */

/* ---- CSS Custom Properties ---- */
:root {
    --azul: #274C78;
    --azul-deep: #1a3555;
    --offwhite: #E7ECEF;
    --sage: #79958B;
    --sage-light: #8fa99f;
    --dark: #222222;
    --dark-soft: #2a2a2a;
    --font-title: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-smooth: 0.6s var(--ease-out-expo);
    --transition-fast: 0.3s var(--ease-out-quad);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--offwhite);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ---- Layout ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.section {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
}

.section-light {
    background: var(--offwhite);
}

.section-dark {
    background: var(--azul);
}

.section-sage {
    background: var(--sage);
}

.section-grain {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    pointer-events: none;
    z-index: 1;
}

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-fast);
}

.nav.scrolled {
    background: rgba(34, 34, 34, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom: 1px solid rgba(231, 236, 239, 0.08);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-title);
    font-size: 32px;
    font-weight: 500;
    color: var(--offwhite);
    letter-spacing: -0.02em;
    transition: opacity var(--transition-fast);
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: rgba(231, 236, 239, 0.7);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--offwhite);
    transition: width var(--transition-fast);
}

.nav-link:hover {
    color: var(--offwhite);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--offwhite);
    transition: all var(--transition-fast);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(34, 34, 34, 0.98);
    backdrop-filter: blur(30px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-link {
    font-family: var(--font-title);
    font-size: 40px;
    font-weight: 400;
    color: var(--offwhite);
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-smooth);
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-link:nth-child(6) { transition-delay: 0.35s; }

/* ---- Hero Section ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--azul);
    overflow: hidden;
}

.hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    pointer-events: none;
    z-index: 1;
}

.hero-circles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(231, 236, 239, 0.06);
}

.circle-1 {
    width: 600px;
    height: 600px;
    top: -100px;
    right: -100px;
    animation: circleFloat 20s ease-in-out infinite;
}

.circle-2 {
    width: 400px;
    height: 400px;
    bottom: -50px;
    left: -50px;
    animation: circleFloat 15s ease-in-out infinite reverse;
}

.circle-3 {
    width: 800px;
    height: 800px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: circleFloat 25s ease-in-out infinite;
}

@keyframes circleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(15px, -20px) scale(1.02); }
    50% { transform: translate(-10px, 15px) scale(0.98); }
    75% { transform: translate(20px, 10px) scale(1.01); }
}

.circle-3 {
    animation: circleFloatCenter 25s ease-in-out infinite;
}

@keyframes circleFloatCenter {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    25% { transform: translate(-48%, -52%) scale(1.02); }
    50% { transform: translate(-52%, -48%) scale(0.98); }
    75% { transform: translate(-49%, -51%) scale(1.01); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    padding: 0 24px;
}

.hero-monogram {
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 400;
    color: var(--offwhite);
    opacity: 0.6;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
    animation: fadeInUp 1s var(--ease-out-expo) 0.2s both;
}

.hero-title {
    margin-bottom: 28px;
    animation: fadeInUp 1s var(--ease-out-expo) 0.4s both;
}

.hero-name {
    font-family: var(--font-title);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 400;
    color: var(--offwhite);
    letter-spacing: -0.03em;
    line-height: 1.05;
    display: block;
}

.hero-tagline {
    font-family: var(--font-title);
    font-size: clamp(18px, 2.5vw, 28px);
    font-weight: 400;
    color: var(--offwhite);
    opacity: 0.85;
    line-height: 1.5;
    margin-bottom: 20px;
    animation: fadeInUp 1s var(--ease-out-expo) 0.6s both;
}

.tagline-line {
    display: block;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--sage-light);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 48px;
    animation: fadeInUp 1s var(--ease-out-expo) 0.8s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s var(--ease-out-expo) 1s both;
}

.hero-tagline-ghost {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-title);
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 400;
    color: var(--offwhite);
    opacity: 0.03;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
    line-height: 1.2;
    text-align: center;
}

.hero-tagline-ghost span {
    display: block;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: fadeInUp 1s var(--ease-out-expo) 1.4s both;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(231, 236, 239, 0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-line {
    width: 2px;
    height: 8px;
    background: var(--offwhite);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--offwhite);
    color: var(--azul);
}

.btn-primary:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    color: var(--offwhite);
    border: 1px solid rgba(231, 236, 239, 0.3);
}

.btn-outline:hover {
    border-color: var(--offwhite);
    background: rgba(231, 236, 239, 0.08);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--offwhite);
    color: var(--azul);
}

.btn-white:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-outline-light {
    background: transparent;
    color: var(--offwhite);
    border: 1px solid rgba(231, 236, 239, 0.3);
}

.btn-outline-light:hover {
    border-color: var(--offwhite);
    background: rgba(231, 236, 239, 0.1);
    transform: translateY(-2px);
}

/* ---- Section Headers ---- */
.section-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--sage);
    display: block;
    margin-bottom: 20px;
}

.section-label-light {
    color: var(--sage-light);
}

.section-label-dark {
    color: var(--dark);
    opacity: 0.6;
}

.section-title {
    font-family: var(--font-title);
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 400;
    color: var(--dark);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 24px;
}

.section-title-light {
    color: var(--offwhite);
}

.section-title-dark {
    color: var(--dark);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-text {
    font-size: 17px;
    color: var(--dark);
    opacity: 0.75;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ---- About Section ---- */
.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-grid-about {
    grid-template-columns: 1.2fr 0.8fr;
}

.about-quote {
    margin-top: 40px;
    padding-left: 24px;
    border-left: 3px solid var(--sage);
}

.about-quote blockquote {
    font-family: var(--font-title);
    font-size: 22px;
    font-style: italic;
    color: var(--azul);
    line-height: 1.5;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stat-card {
    background: #fff;
    padding: 36px;
    border-radius: var(--radius-md);
    position: relative;
    transition: transform var(--transition-fast);
}

.stat-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--azul);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.stat-card:hover {
    transform: translateX(8px);
}

.stat-number {
    font-family: var(--font-title);
    font-size: 52px;
    font-weight: 600;
    color: var(--azul);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-title);
    font-size: 28px;
    font-weight: 400;
    color: var(--sage);
    margin-left: 4px;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--dark);
    opacity: 0.6;
    margin-top: 8px;
}

/* ---- Expertise Section ---- */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.expertise-card {
    background: rgba(231, 236, 239, 0.06);
    border: 1px solid rgba(231, 236, 239, 0.08);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(231, 236, 239, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.expertise-card:hover {
    background: rgba(231, 236, 239, 0.1);
    border-color: rgba(231, 236, 239, 0.15);
    transform: translateY(-4px);
}

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

.expertise-icon {
    color: var(--sage-light);
    margin-bottom: 24px;
}

.expertise-title {
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 500;
    color: var(--offwhite);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.expertise-text {
    font-size: 15px;
    color: rgba(231, 236, 239, 0.6);
    line-height: 1.7;
}

/* ---- Timeline Section ---- */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 60px;
}

.timeline-line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--azul) 10%, var(--azul) 90%, transparent);
}

.timeline-item {
    position: relative;
    padding-bottom: 48px;
}

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

.timeline-dot {
    position: absolute;
    left: -48px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--offwhite);
    border: 3px solid var(--azul);
    transition: all var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
    background: var(--azul);
    transform: scale(1.3);
    box-shadow: 0 0 0 6px rgba(39, 76, 120, 0.15);
}

.timeline-year {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--sage);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 8px;
}

.timeline-title {
    font-family: var(--font-title);
    font-size: 26px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.timeline-text {
    font-size: 15px;
    color: var(--dark);
    opacity: 0.65;
    line-height: 1.7;
}

/* ---- Pilares Section ---- */
.pilares-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.pilar-card {
    background: rgba(34, 34, 34, 0.08);
    border-radius: var(--radius-md);
    padding: 40px;
    transition: all var(--transition-fast);
    border: 1px solid rgba(34, 34, 34, 0.06);
}

.pilar-card:hover {
    background: rgba(34, 34, 34, 0.12);
    transform: translateY(-4px);
}

.pilar-main {
    grid-column: span 2;
    background: var(--dark);
    border-color: transparent;
}

.pilar-main .pilar-number,
.pilar-main .pilar-title {
    color: var(--offwhite);
}

.pilar-main .pilar-text {
    color: rgba(231, 236, 239, 0.7);
}

.pilar-main .pilar-serie {
    color: var(--sage-light);
}

.pilar-main:hover {
    background: var(--dark-soft);
}

.pilar-number {
    font-family: var(--font-title);
    font-size: 48px;
    font-weight: 300;
    color: var(--dark);
    opacity: 0.3;
    margin-bottom: 16px;
    line-height: 1;
}

.pilar-title {
    font-family: var(--font-title);
    font-size: 28px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.pilar-text {
    font-size: 15px;
    color: var(--dark);
    opacity: 0.65;
    line-height: 1.7;
    margin-bottom: 20px;
}

.pilar-serie {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    opacity: 0.5;
    font-style: italic;
    display: block;
    margin-bottom: 16px;
}

.pilar-channels {
    display: flex;
    gap: 8px;
}

.channel-badge {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--azul);
    color: var(--offwhite);
}

.channel-badge-ig {
    background: var(--dark);
}

/* ---- Clients Section ---- */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto 48px;
}

.client-item {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    border: 1px solid rgba(34, 34, 34, 0.05);
}

.client-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.client-name {
    font-family: var(--font-title);
    font-size: 28px;
    font-weight: 600;
    color: var(--azul);
    letter-spacing: -0.02em;
}

.clients-note {
    text-align: center;
}

.clients-note p {
    font-size: 14px;
    color: var(--dark);
    opacity: 0.5;
}

/* ---- Formação Section ---- */
.formacao-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.formacao-card {
    background: rgba(231, 236, 239, 0.06);
    border: 1px solid rgba(231, 236, 239, 0.08);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition-fast);
}

.formacao-card:hover {
    background: rgba(231, 236, 239, 0.1);
    border-color: rgba(231, 236, 239, 0.15);
    transform: translateY(-4px);
}

.formacao-icon {
    color: var(--sage-light);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.formacao-title {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 500;
    color: var(--offwhite);
    margin-bottom: 8px;
}

.formacao-desc {
    font-size: 14px;
    color: rgba(231, 236, 239, 0.6);
    line-height: 1.6;
}

/* ---- Values Section ---- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.value-item {
    padding-left: 28px;
    position: relative;
}

.value-line {
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 0;
    width: 3px;
    background: var(--azul);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.value-item:hover .value-line {
    background: var(--sage);
    width: 4px;
}

.value-title {
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.value-text {
    font-size: 15px;
    color: var(--dark);
    opacity: 0.65;
    line-height: 1.7;
}

/* ---- CTA Section ---- */
.section-cta {
    background: var(--azul);
    padding: 160px 0;
    text-align: center;
}

.cta-circles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.cta-circles .circle-1 {
    width: 500px;
    height: 500px;
    top: -150px;
    left: -100px;
}

.cta-circles .circle-2 {
    width: 350px;
    height: 350px;
    bottom: -80px;
    right: -50px;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: var(--font-title);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 400;
    color: var(--offwhite);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 24px;
}

.cta-text {
    font-size: 17px;
    color: rgba(231, 236, 239, 0.7);
    max-width: 540px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- Footer ---- */
.footer {
    background: var(--dark);
    padding: 60px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    font-family: var(--font-title);
    font-size: 28px;
    font-weight: 500;
    color: var(--offwhite);
}

.footer-tagline {
    font-size: 13px;
    color: rgba(231, 236, 239, 0.4);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 13px;
    font-weight: 500;
    color: rgba(231, 236, 239, 0.5);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--offwhite);
}

.footer-copy p {
    font-size: 12px;
    color: rgba(231, 236, 239, 0.3);
}

/* ---- Animations ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out-expo);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate].animate-in {
    opacity: 1;
    transform: translate(0, 0);
}

/* ---- Responsive Design ---- */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }

    .section {
        padding: 100px 0;
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .formacao-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-grid {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .section {
        padding: 80px 0;
    }

    .nav-inner {
        padding: 0 24px;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-tagline-ghost {
        display: none;
    }

    .section-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .section-grid-about {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat-card {
        flex: 1 1 calc(50% - 12px);
        min-width: 150px;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .pilares-grid {
        grid-template-columns: 1fr;
    }

    .pilar-main {
        grid-column: span 1;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .formacao-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .timeline {
        padding-left: 48px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 44px;
    }

    .stat-card {
        flex: 1 1 100%;
    }

    .stat-number {
        font-size: 40px;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: column;
    }
}

/* ---- Selection ---- */
::selection {
    background: var(--azul);
    color: var(--offwhite);
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--azul);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--sage);
}
