/* ============================================
BASE & RESET
============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #000000;
    color: #FFFFFF;
    overflow-x: hidden;
}

.wordmark {
    font-family: 'Tiro Bangla', serif;
}

.tagline {
    letter-spacing: 0.18em;
}

/* ============================================
SCROLLBAR
============================================ */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #BF8060, #A66B4D);
    border-radius: 4px;
}

/* ============================================
SCROLL PROGRESS BAR
============================================ */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #BF8060, #D4977A, #BF8060);
    z-index: 9999;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(191, 128, 96, 0.6);
}

/* ============================================
HEADER
============================================ */
#main-header {
    transition: padding 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
}

#main-header.scrolled {
    background-color: rgba(0, 0, 0, 0.97) !important;
    box-shadow: 0 2px 30px rgba(191, 128, 96, 0.08);
}

#main-header.scrolled .header-inner {
    height: 4.5rem;
}

.header-inner {
    height: 6rem;
    transition: height 0.4s ease;
}

.nav-link {
    position: relative;
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #BF8060;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #BF8060;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #BF8060;
}

.btn-primary {
    position: relative;
    overflow: hidden;
    background: #BF8060;
    color: #fff;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    background: #A66B4D;
    box-shadow: 0 4px 20px rgba(191, 128, 96, 0.35);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: scale(0.97);
}

/* Hamburger Animated */
.hamburger-line {
    transition: transform 0.35s ease, opacity 0.35s ease;
    transform-origin: center;
    display: block;
}

#mobile-menu-btn.open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu-btn.open .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

#mobile-menu-btn.open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
HERO
============================================ */
#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(191, 128, 96, 0.07) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 5s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

.hero-fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 0.9s ease forwards;
}

.hero-fade-in:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-fade-in:nth-child(2) {
    animation-delay: 0.45s;
}

.hero-fade-in:nth-child(3) {
    animation-delay: 0.65s;
}

.hero-fade-in:nth-child(4) {
    animation-delay: 0.85s;
}

@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-line {
    display: block;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #BF8060, #D4977A);
    margin: 1.5rem auto;
    animation: lineGrow 1.2s ease forwards 0.8s;
    box-shadow: 0 0 12px rgba(191, 128, 96, 0.5);
}

@keyframes lineGrow {
    to {
        width: 80px;
    }
}

.btn-outline-gold {
    border: 1px solid #BF8060;
    color: #BF8060;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-gold:hover {
    background: #BF8060;
    color: #fff;
    box-shadow: 0 4px 20px rgba(191, 128, 96, 0.35);
}

.btn-outline-gold:active {
    transform: scale(0.97);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.5s;
}

.scroll-indicator span {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: #6b7280;
    text-transform: uppercase;
}

.scroll-mouse {
    width: 22px;
    height: 36px;
    border: 1.5px solid #4b5563;
    border-radius: 11px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-dot {
    width: 3px;
    height: 8px;
    background: #BF8060;
    border-radius: 99px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(8px);
        opacity: 0.3;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ============================================
SCROLL REVEAL
============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
SEÇÃO SOBRE — STATS
============================================ */
.stat-value {
    font-size: 2.75rem;
    font-weight: 800;
    color: #BF8060;
    line-height: 1;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, #BF8060, transparent);
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #BF8060;
    border-left: 2px solid #BF8060;
    padding-left: 10px;
    margin-bottom: 1rem;
}

.gold-line {
    display: block;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #BF8060, transparent);
    margin-top: 1.5rem;
    transition: width 1.2s ease;
}

.gold-line.revealed {
    width: 120px;
}

.sobre-strip {
    background: linear-gradient(90deg, rgba(191, 128, 96, 0.12), rgba(191, 128, 96, 0.05));
    border-left: 3px solid #BF8060;
    padding: 2px 10px 2px 12px;
    border-radius: 0 4px 4px 0;
}

/* ============================================
SOLUÇÕES — CARDS
============================================ */
.solution-card {
    position: relative;
    background: #0f0f0f;
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    padding: 2rem;
    transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #BF8060, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.solution-card:hover {
    border-color: rgba(191, 128, 96, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(191, 128, 96, 0.1);
}

.solution-card:hover::before {
    opacity: 1;
}

.icon-wrap {
    width: 48px;
    height: 48px;
    background: rgba(191, 128, 96, 0.08);
    border: 1px solid rgba(191, 128, 96, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.solution-card:hover .icon-wrap {
    background: rgba(191, 128, 96, 0.18);
    border-color: rgba(191, 128, 96, 0.4);
    transform: scale(1.1) rotate(5deg);
}

.card-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.025);
    line-height: 1;
    user-select: none;
}

/* ============================================
PORTFÓLIO — CARDS
============================================ */
.portfolio-card {
    position: relative;
    background: #0a0a0a;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #1a1a1a;
    transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.portfolio-card:hover {
    border-color: rgba(191, 128, 96, 0.35);
    transform: translateY(-6px);
    box-shadow: 0 16px 50px rgba(191, 128, 96, 0.12);
}

.portfolio-img {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, #111 0%, #1a1612 100%);
    overflow: hidden;
}

.portfolio-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1.5rem;
}

.portfolio-card:hover .portfolio-img-overlay {
    opacity: 1;
}

.portfolio-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0.3;
}

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
}

.badge-gold {
    background: #BF8060;
    color: #000;
}

.badge-green {
    background: #1a4d2e;
    color: #4ade80;
    border: 1px solid #166534;
}

.badge-pulse {
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(191, 128, 96, 0.4);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(191, 128, 96, 0);
    }
}

.btn-filter {
    padding: 0.4rem 1.2rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #2a2a2a;
    color: #6b7280;
    cursor: pointer;
    background: transparent;
}

.btn-filter:hover {
    border-color: #BF8060;
    color: #BF8060;
}

.btn-filter.active {
    background: #BF8060;
    border-color: #BF8060;
    color: #fff;
}

.portfolio-card {
    animation-duration: 0.4s;
    animation-timing-function: ease;
    animation-fill-mode: both;
}

.card-hide {
    animation-name: cardHide;
    pointer-events: none;
}

.card-show {
    animation-name: cardShow;
}

@keyframes cardHide {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    to {
        opacity: 0;
        transform: scale(0.92) translateY(10px);
    }
}

@keyframes cardShow {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ============================================
FAQ ACCORDION (Smooth)
============================================ */
.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: #BF8060;
}

.faq-btn {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
    color: #111;
    gap: 1rem;
}

.faq-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: rgba(191, 128, 96, 0.1);
    border: 1px solid rgba(191, 128, 96, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #BF8060;
    font-size: 1.1rem;
    line-height: 1;
    transition: transform 0.35s ease, background 0.3s;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: rgba(191, 128, 96, 0.2);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 1.5rem;
}

.faq-content-inner {
    padding-bottom: 1.25rem;
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.75;
}

/* ============================================
FORMULÁRIO — FLOATING LABELS
============================================ */
.field-wrap {
    position: relative;
}

.field-wrap label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: #6b7280;
    pointer-events: none;
    transition: all 0.25s ease;
    background: #000;
    padding: 0 4px;
    font-family: 'Montserrat', sans-serif;
}

.field-wrap.textarea-wrap label {
    top: 1rem;
    transform: none;
}

.field-wrap input:focus~label,
.field-wrap input:not(:placeholder-shown)~label,
.field-wrap select:focus~label,
.field-wrap select.has-value~label,
.field-wrap textarea:focus~label,
.field-wrap textarea:not(:placeholder-shown)~label {
    top: 0;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: #BF8060;
}

.field-wrap.textarea-wrap textarea:focus~label,
.field-wrap.textarea-wrap textarea:not(:placeholder-shown)~label {
    transform: translateY(-50%);
}

.form-input {
    width: 100%;
    background: #000;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    padding: 1rem 1rem 0.6rem;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    appearance: none;
}

.form-input:focus {
    border-color: #BF8060;
    box-shadow: 0 0 0 3px rgba(191, 128, 96, 0.12);
}

.form-input.valid {
    border-color: #22c55e;
}

.form-input.invalid {
    border-color: #ef4444;
}

select.form-input {
    cursor: pointer;
}

select.form-input option {
    background: #111;
}

textarea.form-input {
    resize: vertical;
    min-height: 110px;
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
MODAL DE SUCESSO
============================================ */
#success-modal {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

#success-modal.show {
    opacity: 1;
    pointer-events: all;
}

#success-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
}

#success-modal-box {
    position: relative;
    background: #0f0f0f;
    border: 1px solid rgba(191, 128, 96, 0.3);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    text-align: center;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#success-modal.show #success-modal-box {
    transform: scale(1);
}

.checkmark-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(191, 128, 96, 0.1);
    border: 2px solid rgba(191, 128, 96, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

/* ============================================
WHATSAPP FLOAT BUTTON
============================================ */
#whatsapp-btn {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    width: 56px;
    height: 56px;
    background: #BF8060;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(191, 128, 96, 0.45);
    z-index: 500;
    transition: background 0.3s, transform 0.3s;
    text-decoration: none;
}

#whatsapp-btn:hover {
    background: #A66B4D;
    transform: scale(1.1);
}

#whatsapp-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(191, 128, 96, 0.4);
    animation: waPulse 2.5s ease-in-out infinite;
}

@keyframes waPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    70% {
        transform: scale(1.6);
        opacity: 0;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* ============================================
BACK TO TOP
============================================ */
#back-to-top {
    position: fixed;
    bottom: 1.75rem;
    left: 1.75rem;
    width: 40px;
    height: 40px;
    background: rgba(191, 128, 96, 0.12);
    border: 1px solid rgba(191, 128, 96, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s, background 0.3s;
    pointer-events: none;
    border: none;
    /* override to style */
    border: 1px solid rgba(191, 128, 96, 0.25);
}

#back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

#back-to-top:hover {
    background: rgba(191, 128, 96, 0.25);
}

/* ============================================
MOBILE MENU
============================================ */
#mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(280px, 85vw);
    background: #080808;
    border-left: 1px solid #1a1a1a;
    z-index: 600;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.open {
    transform: translateX(0);
}

#menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    z-index: 590;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

#menu-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 0.85rem 0;
    color: #d1d5db;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid #111;
    transition: color 0.3s, padding-left 0.3s;
    text-decoration: none;
}

.mobile-nav-link:hover {
    color: #BF8060;
    padding-left: 6px;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

/* ============================================
MISC
============================================ */
.gradient-text {
    background: linear-gradient(135deg, #BF8060, #D4977A, #BF8060);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #2a2a2a, transparent);
    margin: 2rem 0;
}

.section-title-wrap {
    position: relative;
    display: inline-block;
}

/* ============================================
TIMELINE (Soluções)
============================================ */
.timeline-wrap {
    position: relative;
    padding-left: 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(191, 128, 96, 0.5) 10%, rgba(191, 128, 96, 0.5) 90%, transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    align-items: start;
    gap: 0;
    margin-bottom: 3.5rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-content {
    background: #0f0f0f;
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.timeline-content:hover {
    border-color: rgba(191, 128, 96, 0.4);
    box-shadow: 0 8px 30px rgba(191, 128, 96, 0.08);
    transform: translateY(-3px);
}

/* Card clicável (Seguros) */
a.timeline-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
    border-color: rgba(191, 128, 96, 0.55);
    background: linear-gradient(145deg, #151210, #0f0f0f);
    box-shadow: 0 0 0 1px rgba(191, 128, 96, 0.12), 0 4px 20px rgba(191, 128, 96, 0.10);
}

a.timeline-link:hover,
a.timeline-link:focus-visible {
    border-color: #bf8060;
    box-shadow: 0 10px 34px rgba(191, 128, 96, 0.25);
    outline: none;
}

a.timeline-link .timeline-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    padding: 0.55rem 1.1rem;
    border: 1px solid #bf8060;
    border-radius: 999px;
    background: rgba(191, 128, 96, 0.12);
    color: #bf8060;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    transition: background 0.3s ease, color 0.3s ease;
}

a.timeline-link:hover .timeline-cta,
a.timeline-link:focus-visible .timeline-cta {
    background: #bf8060;
    color: #000;
}
.timeline-content-right::before {
    content: '';
    position: absolute;
    top: 1.25rem;
    left: -8px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid #1f1f1f;
    transition: border-right-color 0.4s;
}

.timeline-content-right:hover::before {
    border-right-color: rgba(191, 128, 96, 0.4);
}

.timeline-content-left::before {
    content: '';
    position: absolute;
    top: 1.25rem;
    right: -8px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid #1f1f1f;
    transition: border-left-color 0.4s;
}

.timeline-content-left:hover::before {
    border-left-color: rgba(191, 128, 96, 0.4);
}

.timeline-empty {
    /* spacer */
}

.timeline-node {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 1.25rem;
}

.timeline-dot {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #BF8060;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #000;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(191, 128, 96, 0.15), 0 0 0 8px rgba(191, 128, 96, 0.05);
    transition: box-shadow 0.3s;
}

.timeline-item:hover .timeline-dot {
    box-shadow: 0 0 0 6px rgba(191, 128, 96, 0.25), 0 0 20px rgba(191, 128, 96, 0.2);
}

/* Mobile: stack */
@media (max-width: 768px) {
    .timeline-line {
        left: 19px;
    }

    .timeline-item {
        grid-template-columns: 38px 1fr;
        gap: 0 1rem;
    }

    .timeline-node {
        padding-top: 1.25rem;
        padding-left: 0;
        justify-content: flex-start;
    }

    .timeline-empty {
        display: none;
    }

    .timeline-content-right {
        order: 1;
    }

    .timeline-content-left {
        order: 1;
    }

    .timeline-content-right::before,
    .timeline-content-left::before {
        display: none;
    }
}

/* ============================================
DIFERENCIAIS (Sobre)
============================================ */
.diferencial-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.5rem;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.diferencial-card:hover {
    border-color: #BF8060;
    box-shadow: 0 6px 24px rgba(191, 128, 96, 0.1);
    transform: translateY(-3px);
}

.diferencial-icon {
    width: 44px;
    height: 44px;
    background: rgba(191, 128, 96, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: background 0.3s;
}

.diferencial-card:hover .diferencial-icon {
    background: rgba(191, 128, 96, 0.2);
}

/* ============================================
LOGO NAVBAR
============================================ */
.navbar-logo {
    height: 150px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease, filter 0.3s ease, height 0.4s ease;
}

.group:hover .navbar-logo {
    opacity: 0.82;
    filter: brightness(1.1);
}

#main-header.scrolled .navbar-logo {
    height: 120px;
}

@media (max-width: 768px) {
    .navbar-logo {
        height: 110px;
    }
}