/*//////////////////////////////////////////////////////////////////
[ HERO SECTION - Padrão LaVuRS / Figma node 69:465 ]
Layout editorial de duas colunas: texto + CTAs + valores à esquerda,
fotografia em arco com citação sobreposta à direita, faixa de
parceiros abaixo. */

.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: var(--lavurs-surface-offwhite, #f7f5f0);
    padding: 0 20px;
    margin-top: -82px;
    text-align: left;
}

/* As duas camadas decorativas do hero usam a mesma familia de arte da
   textura de fundo do resto da pagina (css/backdrop.css), para que a
   composicao comece no topo e siga continua ate o rodape. */
.hero-section::before {
    content: '';
    position: absolute;
    top: 40px;
    left: -40px;
    width: 260px;
    height: 340px;
    background: url('../images/decorative/backdrop/dots1.webp') no-repeat left top;
    background-size: contain;
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 100px;
    left: -60px;
    width: 240px;
    height: 380px;
    background: url('../images/decorative/backdrop/leafs3.webp') no-repeat left bottom;
    background-size: contain;
    opacity: 0.16;
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.hero-grid {
    display: flex;
    align-items: stretch;
    gap: var(--lavurs-spacing-40, 40px);
    position: relative;
    padding: 0;
    min-height: 800px;
}

.hero-left {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--lavurs-spacing-40, 40px);
    position: relative;
    z-index: 1;
    padding: 176px 0 104px 60px;
}

/* Título Hero - Ancizar Serif 72/70 */
.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--font-size-hero-title, 72px);
    line-height: 0.98;
    color: var(--lavurs-text-primary);
    margin: 0;
}

.hero-title .hero-title-accent {
    color: var(--lavurs-text-primary-alt, #25533e);
}

.hero-title-underline {
    display: block;
    width: 140px;
    height: 18px;
    margin-top: var(--lavurs-spacing-12, 12px);
    background: url('../images/decorative/underline-gold-short.svg') no-repeat left center;
    background-size: contain;
    border: none;
}

/* Descrição Hero - Inter 18px */
.hero-description {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: var(--font-size-hero-body, 18px);
    line-height: 1.5;
    color: var(--lavurs-text-secondary);
    margin: 0;
    max-width: 620px;
}

.hero-description strong {
    font-weight: 700;
    color: var(--lavurs-text-primary);
}

/* CTAs */
.hero-cta-group {
    display: flex;
    gap: var(--lavurs-spacing-16, 16px);
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--lavurs-spacing-10, 10px);
    padding: var(--lavurs-spacing-18, 18px) var(--lavurs-spacing-28, 28px);
    border-radius: var(--lavurs-radius-pill);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--lavurs-text-primary);
    color: var(--lavurs-text-inverse);
    border: 1px solid var(--lavurs-text-primary);
}

.btn-primary:hover {
    background-color: var(--lavurs-text-primary-alt, #25533e);
    color: var(--lavurs-text-inverse);
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--lavurs-text-primary);
    border: 1px solid var(--lavurs-border-subtle);
}

.btn-secondary:hover {
    background-color: var(--lavurs-surface-white);
    color: var(--lavurs-text-primary);
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-primary svg,
.btn-secondary svg,
.btn-primary img,
.btn-secondary img {
    width: 18px;
    height: 18px;
}

/* Faixa de valores institucionais */
.hero-values-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: auto;
}

.hero-value-item {
    display: flex;
    align-items: center;
    gap: var(--lavurs-spacing-8, 8px);
    padding: 0 var(--lavurs-spacing-16, 16px) 0 0;
    margin-right: var(--lavurs-spacing-16, 16px);
    border-right: 1px solid var(--lavurs-border-subtle);
}

.hero-value-item:last-child {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
}

.hero-value-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lavurs-accent-teal);
}

.hero-value-icon svg,
.hero-value-icon i {
    width: 100%;
    height: 100%;
}
.hero-value-icon i { display: grid; place-items: center; font-size: 20px; }

.hero-value-label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 11px;
    line-height: 1.4;
    color: var(--lavurs-text-secondary);
}

/* Coluna direita: fotografia em arco + citação */
.hero-right {
    flex: 0 0 43.5%;
    min-width: 0;
    display: flex;
    margin-right: min(-20px, calc((1400px - 100vw) / 2));
}

.hero-image-arch {
    position: relative;
    width: 100%;
    min-height: 800px;
    border-radius: 0 0 0 180px;
    overflow: hidden;
}

.hero-image-arch img.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-image-arch::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--lavurs-overlay-dark-strong) 0%, rgba(0, 0, 0, 0.35) 45%, transparent 75%);
    pointer-events: none;
}

.hero-quote {
    position: absolute;
    right: 32px;
    bottom: 150px;
    max-width: 190px;
    z-index: 2;
    color: var(--lavurs-text-inverse);
}

.hero-quote-mark {
    font-family: var(--font-quote);
    font-weight: 600;
    font-size: 48px;
    line-height: 1;
    color: var(--lavurs-accent-gold);
    display: block;
    margin-bottom: var(--lavurs-spacing-8, 8px);
}

.hero-quote-text {
    color: var(--lavurs-text-inverse);
    font-family: var(--font-quote);
    font-weight: 600;
    font-style: normal;
    font-size: 22px;
    line-height: 1.3;
    margin: 0 0 var(--lavurs-spacing-12, 12px);
}

.hero-quote-underline {
    display: block;
    width: 90px;
    height: 14px;
    background: url('../images/decorative/underline-gold-short.svg') no-repeat left center;
    background-size: contain;
    border: none;
}

/* Parceiros e financiadores */
.hero-partners {
    width: 100%;
    position: relative;
    z-index: 3;
    margin-top: -40px;
    padding-bottom: 0;
}

.hero-partners-card {
    display: flex;
    align-items: stretch;
    min-height: 158px;
    height: auto;
    background-color: var(--lavurs-surface-white);
    border: 1px solid var(--lavurs-border-partner);
    border-radius: var(--lavurs-radius-37, 37px);
    overflow: hidden;
    flex-wrap: nowrap;
}

.hero-partners-intro {
    flex: 0 0 295px;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
    gap: var(--lavurs-spacing-8, 8px);
    justify-content: center;
}

.partners-title {
    line-height: 17px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    color: var(--lavurs-text-primary);
    margin: 0;
}

.partners-subtitle {
    max-width: 218px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 12px;
    line-height: 1.5;
    color: var(--lavurs-text-secondary);
    margin: 0;
}

.partners-link {
    line-height: 18px;
    display: inline-flex;
    align-items: center;
    gap: var(--lavurs-spacing-4, 4px);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 12px;
    color: var(--lavurs-text-primary);
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.partners-slider {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.partners-track {
    display: flex;
    align-items: center;
    animation: scroll-partners 30s linear infinite;
    width: max-content;
    min-width: 200%;
}

@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    position: relative;
    width: 150px;
    flex: 1 0 150px;
    height: auto;
    min-height: 158px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--lavurs-spacing-8, 8px);
    padding: var(--lavurs-spacing-20, 20px) var(--lavurs-spacing-16, 16px);
}

.partner-logo::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 64px;
    background: var(--lavurs-border-subtle);
}

.partner-logo-mark {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.partner-logo span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    max-width: 130px;
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.25;
    color: var(--lavurs-text-secondary);
    text-align: center;
}

/* Responsivo */
@media (max-width: 1300px) {
    .hero-grid {
        gap: var(--lavurs-spacing-24, 24px);
    }

    .hero-title {
        font-size: 56px;
    }
}

@media (max-width: 991px) {
    .hero-section {
        margin-top: 0;
    }

    .hero-left {
        padding: 48px 0 24px;
    }

    .hero-grid {
        min-height: 0;
        flex-direction: column;
    }

    .hero-right {
        max-width: none;
        margin-right: -20px;
        flex: none;
    }

    .hero-image-arch {
        min-height: 420px;
        border-radius: 0 0 0 100px;
    }

    .hero-values-strip {
        margin-top: var(--lavurs-spacing-24, 24px);
    }
}

@media (max-width: 767px) {
    .hero-grid {
        padding-top: var(--lavurs-spacing-40, 40px);
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-value-item {
        flex: 1 1 45%;
        border-right: none !important;
        margin-right: 0 !important;
        margin-bottom: var(--lavurs-spacing-16, 16px);
    }

    .hero-partners-card {
        height: auto;
        flex-wrap: wrap;
    }

    .hero-partners-intro {
        flex: 1 1 100%;
        padding: 24px;
        text-align: center;
        align-items: center;
    }
}
@media (max-width: 767px) {
    .partners-slider { flex-basis: 100%; padding: 24px 0; }
    .hero-quote { bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
    .partners-track { animation: none; }
}
