/* ============================================================
   Terrade Expedições — custom component styles
   ============================================================ */
@import url('./font-face.css');

* {
    font-family: 'Axiforma';
}

/* ---------- Header nav links ---------- */
.nav-link {
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    color: white;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.nav-link:hover {
    opacity: 0.65;
}

/* ---------- Hero section ---------- */
.hero-section {
    position: relative;
    height: 60dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.hero-section.home-hero {
    height: 100dvh !important;
    min-height: 600px;
}

.hero-overlay-top {
    position: absolute;
    inset: 0;
    background: linear-gradient(181.76deg, #161616 1.49%, rgba(102, 102, 102, 0) 51.78%);
    z-index: 1;
}

.hero-overlay-bottom {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #161616 0%, rgba(102, 102, 102, 0) 50%);
    z-index: 1;
}

.hero-tint {
    display: none;
    /* mobile: no tint */
}

@media (min-width: 1024px) {
    .hero-tint {
        display: block;
        position: absolute;
        inset: 0;
        background-color: #346173;
        opacity: 0.28;
        z-index: 1;
    }
}

/* ---------- Hero text ---------- */
.hero-title-line {
    font-weight: 400;
    line-height: 66px;
    color: white;
    display: block;
}

.golpe-word {
    color: #F3B15E;
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}

/* ---------- Hero button ---------- */
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background-color: #F3B15E;
    color: #346173;
    font-weight: 800;
    font-size: 20px;
    line-height: 1;
    border-radius: 49px;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
    transition: opacity 0.2s, transform 0.2s;
}

.btn-hero:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

/* ---------- Seção "Pra quem é a Terradê?" ---------- */
.section-sobre {
    background-color: #2b2b2b;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 768px) {
    .sobre-grid {
        grid-template-columns: 3fr 2fr;
        gap: 2rem;
    }
}

/* ---------- Botão "Conheça a Terradê" ---------- */
.btn-conheca {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background-color: #F3B15E;
    color: #ffffff;
    font-weight: 600;
    border-radius: 9999px;
    border: 2px solid #F3B15E;
    font-size: 0.875rem;
    transition: opacity 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.btn-conheca:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

/* ---------- Mobile hero overrides ---------- */
@media (max-width: 1023px) {
    .btn-hero {
        background-color: #F3B15E;
        color: #FFFFFF;
        width: 236px;
        height: 56px;
        justify-content: center;
    }
}

/* ---------- Hamburger button (mobile) ---------- */
.hamburger-btn {
    width: 29px;
    height: 21px;
    padding: 0;
}

/* ---------- Histórias Reais ---------- */
.section-historias {
    position: relative;
    padding: 80px 0 80px;
    overflow: hidden;
    background-color: #F6F6F6;
}

.section-historias-bg {
    position: absolute;
    inset: 0;
    background-image: url("/assets/img/fundo_historias_reais.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.20;
    z-index: 0;
}

.historias-top {
    position: relative;
    z-index: 1;
    text-align: center;
}

.historias-title {
    font-size: 48px;
    line-height: 1;
    color: #252525;
    display: inline-block;
}

.historias-underline {
    width: 152px;
    height: 7px;
    background: #252525;
    border-radius: 3px;
    margin: 12px auto 0;
}

.historias-arrow {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #F3B15E;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: opacity 0.2s;
    cursor: pointer;
}

.historias-arrow:hover {
    opacity: 0.85;
}

/* Carousel */
.historias-carousel-outer {
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin-top: 40px;
    padding-top: 24px;
    width: 100%;
}

.historias-carousel-track {
    display: flex;
    gap: 40px;
    will-change: transform;
}

.historias-slide {
    display: flex;
    gap: 21px;
    align-items: flex-start;
    flex-shrink: 0;
}

/* Expedition photo */
.historias-photo-wrap {
    flex-shrink: 0;
    width: 327px;
    height: 435px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.historias-photo-label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    font-size: 20px;
    line-height: 1;
    color: #ffffff;
}

/* Card */
.historias-card {
    width: 560px;
    min-height: 346px;
    border-radius: 12px;
    background: #F6F6F6;
    box-shadow: 0px 2px 11.4px 0px #00000040;
    padding: 40px 36px 36px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Quote marks — two absolute bars protruding above the card */
.historias-quote {
    position: absolute;
    top: -10.63px;
    left: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.historias-quote::before,
.historias-quote::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 38px;
    background-color: #F3B15E;
    border-radius: 6px 6px 4px 4px;
    top: 0;
}

.historias-quote::before {
    left: 12px;
}

.historias-quote::after {
    left: 30px;
}

.historias-text {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #252525;
    margin-top: 12px;
}

.historias-person {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: auto;
}

.historias-person-photo {
    width: 118px;
    height: 118px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #F3B15E;
    flex-shrink: 0;
}

.historias-person-initial {
    background: #D9D9D9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 700;
    color: #555;
}

.historias-person-name {
    font-size: 18px;
    line-height: 1;
    color: #252525;
    margin-bottom: 10px;
}

.historias-stars {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Mobile */
@media (max-width: 1000px) {
    .historias-title {
        font-size: 30px;
    }

    .historias-slide {
        flex-direction: column-reverse;
        align-items: stretch;
        width: calc(100vw - 48px);
    }

    .historias-photo-wrap {
        width: 100%;
        height: 240px;
        margin-top: -50px;
    }

    .historias-card {
        width: 100%;
    }

    .historias-arrow {
        width: 60px;
        height: 60px;
    }
}

/* ---------- Badge giratório ---------- */
@keyframes badge-rotate {
    to {
        transform: rotate(360deg);
    }
}

.badge-spin {
    animation: badge-rotate 14s linear infinite;
    transform-origin: center;
}

@media (max-width: 1024px) {
    .hero-overlay-bottom {
        background: linear-gradient(0deg, #161616 0%, rgba(102, 102, 102, 0) 75%);
    }
}

@media (max-width: 575px) {
    .btn-hero {
        width: 220px;
        height: 48px;
        font-size: 18px;
    }
}