/* ========================================
   NOSSA ESSÊNCIA - PÁGINA 3
   Bemfica Machado | Stone Excellence
   ======================================== */

/* ========================================
   BASE STYLES & VARIABLES
   ======================================== */

#nossa-essencia {
    /* Layout properties */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 400;
    background: var(--dark);
    padding: 0;
    overflow-y: auto;

    /* Custom properties */
    --gold-light: #E4C57A;
    --dark-soft: #0A0A0A;

    /* Typography */
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Interaction properties */
    user-select: text;
    pointer-events: auto;
}

/* ========================================
   LOADER
   ======================================== */

#nossa-essencia .nossa-essencia-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--dark);
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
}

#nossa-essencia .loader-text {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 0.5rem;
    color: var(--gold);
    opacity: 0;
}

/* ========================================
   HEADER SECTION
   ======================================== */

#nossa-essencia .nossa-essencia-header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(180deg, var(--dark) 0%, rgba(0,0,0,0.9) 100%);
    overflow: hidden;
}

#nossa-essencia .header-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

#nossa-essencia .nossa-essencia-title {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg,
        #E4C57A 0%,
        #C9A961 25%,
        #F5E6A3 50%,
        #B8952F 75%,
        #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(50px);
    position: relative;
}

#nossa-essencia .nossa-essencia-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
    opacity: 0.6;
}

#nossa-essencia .nossa-essencia-subtitle {
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(30px);
}

/* ========================================
   SCROLL INDICATOR
   ======================================== */

#nossa-essencia .scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: floatUpDown 3s ease-in-out infinite;
    cursor: pointer;
}

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

#nossa-essencia .scroll-text {
    font-size: 0.8rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

#nossa-essencia .scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    position: relative;
    overflow: hidden;
}

#nossa-essencia .scroll-dot {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { top: -10px; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 60px; opacity: 0; }
}

/* ========================================
   TIMELINE BASE
   ======================================== */

#nossa-essencia .nossa-essencia-timeline {
    position: relative;
    padding: 10rem 0;
    background: var(--dark);
}

#nossa-essencia .timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(201, 169, 97, 0.08);
    transform: translateX(-50%);
    z-index: 0;
}

#nossa-essencia .timeline-progress {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 0%;
    background: linear-gradient(to bottom, var(--gold), rgba(201,169,97,0.3));
    transform: translateX(-50%);
    transition: height 0.3s ease;
    box-shadow: 0 0 10px rgba(201,169,97,0.5);
}

/* ========================================
   TIMELINE EVENTS
   ======================================== */

#nossa-essencia .timeline-event {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    margin-bottom: 18rem;
    padding: 0 6rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    align-items: start;
}

#nossa-essencia .timeline-event:last-child {
    margin-bottom: 8rem;
}

#nossa-essencia .timeline-event:nth-child(even) .event-content {
    order: 2;
}

#nossa-essencia .timeline-event:nth-child(even) .event-image {
    order: 1;
}

#nossa-essencia .event-year {
    position: absolute;
    left: 50%;
    top: -6rem;
    transform: translateX(-50%);
    font-size: 3.5rem;
    font-weight: 200;
    color: rgba(201, 169, 97, 0.12);
    letter-spacing: 0.3rem;
    font-family: 'Georgia', serif;
    z-index: 1;
    animation: yearFloat 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes yearFloat {
    0%, 100% { transform: translateX(-50%) translateY(0px); }
    50% { transform: translateX(-50%) translateY(-5px); }
}

/* ========================================
   EVENT MARKERS
   ======================================== */

#nossa-essencia .event-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--dark);
    border: 2px solid rgba(201, 169, 97, 0.6);
    border-radius: 50%;
    z-index: 5;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 15px rgba(201,169,97,0.3);
}

#nossa-essencia .event-marker::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#nossa-essencia .event-marker.active::before {
    opacity: 1;
}

#nossa-essencia .event-marker:hover {
    transform: translate(-50%, -50%) scale(1.15);
    border-color: rgba(201, 169, 97, 0.9);
    box-shadow: 0 0 25px rgba(201,169,97,0.5);
}

#nossa-essencia .event-marker.active {
    animation: markerPulse 2s ease-in-out infinite;
}

@keyframes markerPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(201,169,97,0.5); }
    50% { box-shadow: 0 0 40px rgba(201,169,97,1); }
}

/* ========================================
   EVENT CONTENT CARDS
   ======================================== */

#nossa-essencia .event-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(15px);
    background: rgba(0,0,0,0.4);
    border-radius: 20px;
    padding: 2rem;
    max-width: 480px;
    border: 1px solid rgba(201,169,97,0.3);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    opacity: 1;
    transform: translateX(0);
}

#nossa-essencia .timeline-event:nth-child(even) .event-content {
    transform: translateX(0);
}

#nossa-essencia .event-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    border-color: rgba(201,169,97,0.6);
}

#nossa-essencia .event-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201,169,97,0.15), transparent);
    transition: left 0.8s ease;
}

#nossa-essencia .event-content:hover::before {
    left: 100%;
}

#nossa-essencia .event-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: var(--gold);
    letter-spacing: -0.02em;
    font-family: 'Georgia', serif;
    text-shadow: 0 0 25px rgba(201,169,97,0.4);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

#nossa-essencia .event-title:hover {
    color: var(--gold-light);
    text-shadow: 0 0 35px rgba(228,197,122,0.6);
}

#nossa-essencia .event-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 300;
    position: relative;
    z-index: 2;
}

#nossa-essencia .event-description {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1rem;
    position: relative;
    z-index: 2;
    text-align: justify;
    hyphens: auto;
}

#nossa-essencia .event-highlight {
    padding: 1.5rem;
    background: rgba(201, 169, 97, 0.1);
    border-left: 2px solid var(--gold);
    margin-top: 1rem;
    border-radius: 0 4px 4px 0;
    box-shadow: inset 0 1px 0 rgba(201, 169, 97, 0.2);
}

#nossa-essencia .event-highlight-title {
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

#nossa-essencia .event-highlight-text {
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   EVENT IMAGES & SLIDESHOWS
   ======================================== */

#nossa-essencia .event-image {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
    transition: all 0.4s ease;
    background: transparent;
}

#nossa-essencia .timeline-event:nth-child(even) .event-image {
    transform: translateX(0);
}

#nossa-essencia .timeline-event[data-year="2016"] .event-image {
    order: unset;
}

#nossa-essencia .event-image:hover {
    box-shadow: 0 35px 70px rgba(0,0,0,0.8);
}

#nossa-essencia .event-image-wrapper {
    position: relative;
    width: 100%;
    height: 520px;
    max-width: 420px;
    aspect-ratio: 4/5;
    overflow: visible;
    border-radius: 20px;
    margin: 0 auto;
    background: transparent;
}

#nossa-essencia .event-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.25) 0%, transparent 50%, rgba(228,197,122,0.15) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#nossa-essencia .event-image-wrapper:hover::before {
    opacity: 1;
}

#nossa-essencia .event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

#nossa-essencia .slideshow-container {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: visible;
    border-radius: 15px;
    background: transparent;
    border-radius: inherit;
}

#nossa-essencia .slide {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background: none;
}

#nossa-essencia .slide.active {
    opacity: 1;
    z-index: 2;
}

#nossa-essencia .slideshow-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2;
}

#nossa-essencia .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

#nossa-essencia .dot.active,
#nossa-essencia .dot:hover {
    background: var(--gold);
    transform: scale(1.2);
}

/* ========================================
   CARD 1980 - IMAGE LEFT
   ======================================== */

#nossa-essencia .timeline-event[data-year="1980"] {
    position: relative;
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin: 9rem auto;
    max-width: 1200px;
    padding: 0 2rem;
}

#nossa-essencia .timeline-event[data-year="1980"] .event-image {
    position: relative !important;
    flex: 0 0 auto;
    order: 1 !important;
    transform: none !important;
}

#nossa-essencia .timeline-event[data-year="1980"] .event-image-wrapper {
    width: 480px !important;
    height: 600px !important;
    max-width: 480px !important;
    aspect-ratio: 4/5 !important;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 40px 120px rgba(0,0,0,0.15), 0 8px 40px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#nossa-essencia .timeline-event[data-year="1980"] .event-content {
    flex: 1;
    order: 2 !important;
    max-width: 500px;
    padding-left: 2rem;
}

#nossa-essencia .timeline-event[data-year="1980"] .slideshow-container {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
    border-radius: inherit;
}

#nossa-essencia .timeline-event[data-year="1980"] .event-image-wrapper:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 60px 140px rgba(0,0,0,0.2), 0 12px 60px rgba(0,0,0,0.15);
}

#nossa-essencia .timeline-event[data-year="1980"] .slide {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 30% center !important;
    top: 0 !important;
    left: 0 !important;
}

#nossa-essencia .timeline-event[data-year="1980"] .event-year {
    position: absolute;
    top: -5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* ========================================
   CARD 2016 - HERO CARD (IMAGE RIGHT)
   ======================================== */

#nossa-essencia .timeline-event[data-year="2016"] {
    position: relative;
    display: flex !important;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin: 9rem auto;
    max-width: 1200px;
    padding: 0 2rem;
}

#nossa-essencia .timeline-event[data-year="2016"] .event-image {
    position: relative !important;
    flex: 0 0 auto;
    order: 1 !important;
    transform: none !important;
}

#nossa-essencia .timeline-event[data-year="2016"] .event-image-wrapper {
    width: 480px !important;
    height: 600px !important;
    max-width: 480px !important;
    aspect-ratio: 4/5 !important;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 40px 120px rgba(0,0,0,0.15), 0 8px 40px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#nossa-essencia .timeline-event[data-year="2016"] .event-content {
    flex: 1;
    order: 2 !important;
    max-width: 500px;
    padding-right: 2rem;
}

#nossa-essencia .timeline-event[data-year="2016"] .slideshow-container {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
    border-radius: inherit;
}

#nossa-essencia .timeline-event[data-year="2016"] .event-image-wrapper:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 60px 140px rgba(0,0,0,0.2), 0 12px 60px rgba(0,0,0,0.15);
}

#nossa-essencia .timeline-event[data-year="2016"] .slide {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    top: 0 !important;
    left: 0 !important;
}

#nossa-essencia .timeline-event[data-year="2016"] .event-year {
    position: absolute;
    top: -5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* ========================================
   CARD 2021 - IMAGE LEFT
   ======================================== */

#nossa-essencia .timeline-event[data-year="2021"] {
    position: relative;
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin: 9rem auto;
    max-width: 1200px;
    padding: 0 2rem;
}

#nossa-essencia .timeline-event[data-year="2021"] .event-image {
    position: relative !important;
    flex: 0 0 auto;
    order: 1 !important;
    transform: none !important;
}

#nossa-essencia .timeline-event[data-year="2021"] .event-image-wrapper {
    width: 480px !important;
    height: 600px !important;
    max-width: 480px !important;
    aspect-ratio: 4/5 !important;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 40px 120px rgba(0,0,0,0.15), 0 8px 40px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#nossa-essencia .timeline-event[data-year="2021"] .event-content {
    flex: 1;
    order: 2 !important;
    max-width: 500px;
    padding-left: 2rem;
}

#nossa-essencia .timeline-event[data-year="2021"] .slideshow-container {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
    border-radius: inherit;
}

#nossa-essencia .timeline-event[data-year="2021"] .event-image-wrapper:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 60px 140px rgba(0,0,0,0.2), 0 12px 60px rgba(0,0,0,0.15);
}

#nossa-essencia .timeline-event[data-year="2021"] .slide {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    top: 0 !important;
    left: 0 !important;
}

#nossa-essencia .timeline-event[data-year="2021"] .event-year {
    position: absolute;
    top: -5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* ========================================
   CARD 2025 - IMAGE RIGHT (SQUARE)
   ======================================== */

#nossa-essencia .timeline-event[data-year="2025"] {
    position: relative;
    display: flex !important;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin: 9rem auto;
    max-width: 1200px;
    padding: 0 2rem;
}

#nossa-essencia .timeline-event[data-year="2025"] .event-image {
    position: relative !important;
    flex: 0 0 auto;
    order: 1 !important;
    transform: none !important;
}

#nossa-essencia .timeline-event[data-year="2025"] .event-image-wrapper {
    width: 480px !important;
    height: 480px !important;
    max-width: 480px !important;
    aspect-ratio: 1/1 !important;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 40px 120px rgba(0,0,0,0.15), 0 8px 40px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#nossa-essencia .timeline-event[data-year="2025"] .event-content {
    flex: 1;
    order: 2 !important;
    max-width: 500px;
    padding-right: 2rem;
}

#nossa-essencia .timeline-event[data-year="2025"] .slideshow-container {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
    border-radius: inherit;
}

#nossa-essencia .timeline-event[data-year="2025"] .event-image-wrapper:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 60px 140px rgba(0,0,0,0.2), 0 12px 60px rgba(0,0,0,0.15);
}

#nossa-essencia .timeline-event[data-year="2025"] .slide {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    top: 0 !important;
    left: 0 !important;
}

#nossa-essencia .timeline-event[data-year="2025"] .event-year {
    position: absolute;
    top: -5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* ========================================
   IMAGE CAPTIONS
   ======================================== */

#nossa-essencia .event-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    z-index: 2;
}

#nossa-essencia .caption-text {
    color: var(--text-light);
    font-size: 0.9rem;
    letter-spacing: 0.05rem;
}

/* ========================================
   CTA BUTTONS
   ======================================== */

.contact-cta-btn {
    position: relative;
    display: inline-block;
    padding: 1.2rem 4rem;
    background: linear-gradient(135deg, #C9A961 0%, #B8952F 50%, #D4AF37 100%);
    color: #000;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    border-radius: 8px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    overflow: hidden;
    z-index: 20;
    pointer-events: auto;
    box-shadow: 0 8px 32px rgba(201, 169, 97, 0.25);
}

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

.contact-cta-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 48px rgba(201, 169, 97, 0.4);
    background: linear-gradient(135deg, #E4C57A 0%, #C9A961 50%, #F5E6A3 100%);
}

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

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

.cta-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255,255,255,0.1) 50%,
        transparent 70%
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.contact-cta-btn:hover .cta-shine {
    transform: translateX(100%);
}

.cta-particles {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-cta-btn:hover .cta-particles {
    opacity: 1;
}

.particle {
    display: inline-block;
    width: 4px;
    height: 4px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    margin: 0 1px;
    animation: float 2s infinite ease-in-out;
}

.particle:nth-child(2) {
    animation-delay: 0.2s;
}

.particle:nth-child(3) {
    animation-delay: 0.4s;
}

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

.nossa-essencia-future {
    margin-bottom: 0 !important;
    padding-bottom: 2rem;
}

.future-cta {
    margin-top: 5rem;
    margin-bottom: 0 !important;
    padding-bottom: 2rem;
    position: relative;
    z-index: 10;
}

/* Timeline CTA Link */
.timeline-nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    cursor: pointer;
    display: inline-block;
    font-family: 'Inter', sans-serif;
}

.timeline-nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

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

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

/* ========================================
   FUTURE SECTION
   ======================================== */

#nossa-essencia .nossa-essencia-future {
    padding: 10rem 4rem 12rem;
    text-align: center;
    background: linear-gradient(180deg,
        rgba(10,10,10,0.95) 0%,
        rgba(0,0,0,1) 40%,
        rgba(5,5,5,1) 100%);
    position: relative;
    margin-bottom: 0;
    min-height: 80vh;
    overflow: hidden;
}

#nossa-essencia .nossa-essencia-future::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1;
    pointer-events: none;
}

.future-content-wrapper {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

#nossa-essencia .future-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg,
        #E4C57A 0%,
        #C9A961 25%,
        #F5E6A3 50%,
        #B8952F 75%,
        #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3rem;
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

#nossa-essencia .future-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
    opacity: 0.6;
}

#nossa-essencia .future-text {
    font-family: 'Inter', sans-serif;
    max-width: 900px;
    margin: 0 auto 6rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    opacity: 1;
    transform: translateY(0);
    position: relative;
    z-index: 10;
    user-select: text;
    pointer-events: auto;
}

/* Legacy Metrics */
.legacy-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 6rem;
    opacity: 1;
    transform: translateY(0);
    position: relative;
    z-index: 10;
}

.metric-item {
    position: relative;
    padding: 2rem 1rem;
    background: rgba(26, 26, 26, 0.4);
    border: 1px solid rgba(201, 169, 97, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    text-align: center;
}

.metric-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.metric-item:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 169, 97, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.metric-item:hover::before {
    opacity: 1;
}

#nossa-essencia .nossa-essencia-future .metric-number {
    font-family: 'Inter', sans-serif !important;
    font-size: 3.5rem !important;
    font-weight: 200 !important;
    line-height: 1 !important;
    background: linear-gradient(135deg,
        #E4C57A 0%,
        #C9A961 50%,
        #D4AF37 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin-bottom: 1rem !important;
    position: relative;
    display: block !important;
}

.metric-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    line-height: 1.4;
}

.metric-accent {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: var(--gold);
    opacity: 0.5;
}

/* ========================================
   BODY STATE & INTERACTION
   ======================================== */

#nossa-essencia * {
    user-select: text;
    pointer-events: auto;
}

#nossa-essencia .contact-cta-btn,
#nossa-essencia .future-cta,
#nossa-essencia .nossa-essencia-future,
#nossa-essencia .future-text,
#nossa-essencia .legacy-metrics {
    pointer-events: auto;
    user-select: text;
    z-index: 8;
}

body.nossa-essencia-active {
    position: relative;
}

body.nossa-essencia-active #nossas-minas,
body.nossa-essencia-active #contato,
body.nossa-essencia-active #catalogo {
    display: none !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

/* ========================================
   RESPONSIVE DESIGN - TABLET (Breakpoint padronizado: 1024px)
   ======================================== */

@media (max-width: 1024px) {
    #nossa-essencia .nossa-essencia-title {
        font-size: 3.5rem;
    }

    #nossa-essencia .timeline-event {
        grid-template-columns: 1fr;
        padding: 0 3rem;
        margin-bottom: 8rem;
        gap: 2rem;
    }

    .future-content-wrapper {
        padding: 0 2rem;
    }

    #nossa-essencia .event-image-wrapper {
        height: 460px;
        max-width: 350px;
        margin: 2rem auto 0;
    }

    #nossa-essencia .slideshow-container {
        height: 460px;
    }

    /* Card 2025 - Tablet */
    #nossa-essencia .timeline-event[data-year="2025"] .event-image-wrapper {
        height: 220px !important;
        max-width: 220px !important;
        margin-top: 1.5rem;
    }

    #nossa-essencia .timeline-event[data-year="2025"] .slideshow-container {
        height: 220px !important;
    }

    #nossa-essencia .timeline-event[data-year="2025"] {
        flex-direction: column !important;
        gap: 2rem;
        margin: 4rem auto;
        padding: 0 1rem;
        text-align: center;
    }

    #nossa-essencia .timeline-event[data-year="2025"] .event-content {
        padding-right: 0;
        max-width: 600px;
    }

    /* Card 2016 - Tablet */
    #nossa-essencia .timeline-event[data-year="2016"] {
        flex-direction: column !important;
        gap: 3rem;
        margin: 4rem auto;
        text-align: center;
    }

    #nossa-essencia .timeline-event[data-year="2016"] .event-image-wrapper {
        width: 400px !important;
        height: 500px !important;
    }

    #nossa-essencia .timeline-event[data-year="2016"] .event-content {
        padding-right: 0;
        max-width: 600px;
    }

    /* Card 1980 - Tablet */
    #nossa-essencia .timeline-event[data-year="1980"] {
        flex-direction: column !important;
        gap: 2rem;
        margin: 4rem auto;
        padding: 0 1rem;
        text-align: center;
    }

    #nossa-essencia .timeline-event[data-year="1980"] .event-image-wrapper {
        width: 400px !important;
        height: 500px !important;
    }

    #nossa-essencia .timeline-event[data-year="1980"] .event-content {
        padding-left: 0;
        max-width: 600px;
    }

    #nossa-essencia .timeline-event[data-year="1980"] .slide {
        object-position: 30% center !important;
    }

    /* Card 2021 - Tablet */
    #nossa-essencia .timeline-event[data-year="2021"] {
        flex-direction: column !important;
        gap: 2rem;
        margin: 4rem auto;
        padding: 0 1rem;
        text-align: center;
    }

    #nossa-essencia .timeline-event[data-year="2021"] .event-image-wrapper {
        width: 400px !important;
        height: 500px !important;
    }

    #nossa-essencia .timeline-event[data-year="2021"] .event-content {
        padding-left: 0;
        max-width: 600px;
    }

    #nossa-essencia .timeline-line,
    #nossa-essencia .timeline-progress {
        left: 2rem;
    }

    #nossa-essencia .event-marker {
        left: 2rem;
    }

    #nossa-essencia .event-year {
        left: 4rem;
        top: -4rem;
        font-size: 2.5rem;
        color: rgba(201, 169, 97, 0.15);
    }

    #nossa-essencia .timeline-event:nth-child(even) .event-content {
        order: 1;
    }

    #nossa-essencia .timeline-event:nth-child(even) .event-image {
        order: 2;
    }

    #nossa-essencia .event-content,
    #nossa-essencia .timeline-event:nth-child(even) .event-content {
        transform: translateX(0);
        margin-bottom: 2rem;
    }

    #nossa-essencia .event-image,
    #nossa-essencia .timeline-event:nth-child(even) .event-image {
        transform: translateX(0);
    }

    #nossa-essencia .timeline-event[data-year="2016"] .event-image {
        order: unset;
    }

    .legacy-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE (Breakpoint padronizado: 768px)
   ======================================== */

@media (max-width: 768px) {
    /* FIX: Position fixed causa problemas em mobile com 100vh */
    #nossa-essencia {
        position: relative !important;
        height: auto !important;
        min-height: 100vh !important;
    }

    /* Header também precisa ajuste de altura no mobile */
    #nossa-essencia .nossa-essencia-header {
        height: auto !important;
        min-height: 100vh !important;
        padding: 8rem 2rem 4rem;
    }

    #nossa-essencia .nossa-essencia-title {
        font-size: 3rem;
    }

    #nossa-essencia .event-title {
        font-size: 1.8rem;
    }

    .legacy-metrics {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    #nossa-essencia .future-title {
        font-size: 3rem;
    }

    .metric-item {
        padding: 1.5rem 1rem;
    }

    #nossa-essencia .nossa-essencia-future .metric-number {
        font-size: 2.5rem !important;
    }

    .future-content-wrapper {
        padding: 0 2rem;
    }

    #nossa-essencia .timeline-event {
        padding: 0 2rem;
    }

    #nossa-essencia .event-image-wrapper {
        height: 400px;
        max-width: 300px;
        margin-top: 2rem;
    }

    #nossa-essencia .slideshow-container {
        height: 400px;
    }

    /* Card 2025 - Mobile */
    #nossa-essencia .timeline-event[data-year="2025"] .event-image-wrapper {
        height: 180px !important;
        max-width: 180px !important;
        margin-top: 1rem;
    }

    #nossa-essencia .timeline-event[data-year="2025"] .slideshow-container {
        height: 180px !important;
    }

    #nossa-essencia .timeline-event[data-year="2025"] {
        flex-direction: column !important;
        gap: 2rem;
        margin: 5rem auto;
        padding: 0 1rem;
        text-align: center;
    }

    #nossa-essencia .timeline-event[data-year="2025"] .event-content {
        padding-right: 0;
        max-width: 100%;
    }

    /* Card 2016 - Mobile */
    #nossa-essencia .timeline-event[data-year="2016"] {
        flex-direction: column !important;
        gap: 2rem;
        margin: 5rem auto;
        padding: 0 1rem;
        text-align: center;
    }

    #nossa-essencia .timeline-event[data-year="2016"] .event-image-wrapper {
        width: 320px !important;
        height: 400px !important;
        border-radius: 16px;
    }

    #nossa-essencia .timeline-event[data-year="2016"] .event-content {
        padding-right: 0;
        max-width: 100%;
    }

    /* Card 1980 - Mobile */
    #nossa-essencia .timeline-event[data-year="1980"] {
        flex-direction: column !important;
        gap: 2rem;
        margin: 5rem auto;
        padding: 0 1rem;
        text-align: center;
    }

    #nossa-essencia .timeline-event[data-year="1980"] .event-image-wrapper {
        width: 320px !important;
        height: 400px !important;
        border-radius: 16px;
    }

    #nossa-essencia .timeline-event[data-year="1980"] .event-content {
        padding-left: 0;
        max-width: 100%;
    }

    #nossa-essencia .timeline-event[data-year="1980"] .slide {
        object-position: 30% center !important;
    }

    /* Card 2021 - Mobile */
    #nossa-essencia .timeline-event[data-year="2021"] {
        flex-direction: column !important;
        gap: 2rem;
        margin: 5rem auto;
        padding: 0 1rem;
        text-align: center;
    }

    #nossa-essencia .timeline-event[data-year="2021"] .event-image-wrapper {
        width: 320px !important;
        height: 400px !important;
        border-radius: 16px;
    }

    #nossa-essencia .timeline-event[data-year="2021"] .event-content {
        padding-left: 0;
        max-width: 100%;
    }

    #nossa-essencia .event-content {
        max-width: 100%;
        padding: 1.5rem;
    }
}
