/* =====================================================
   CONFIGURAÇÕES GERAIS
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
    color: #26332c;
    background: #f7f8f5;
}

img,
video {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}


/* =====================================================
   HERO
===================================================== */

.hero {
    min-height: 580px;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
            rgba(15, 45, 32, 0.72),
            rgba(15, 45, 32, 0.55)
        ),
        url("imagens/itaguare.jpg")
        center / cover no-repeat;

    color: white;
    position: relative;
}

.hero-content {
    max-width: 820px;
    padding: 80px 0;
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.breadcrumb a {
    text-decoration: underline;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.08;
    margin-bottom: 22px;
    font-weight: 800;
}

.hero p {
    font-size: 20px;
    max-width: 760px;
    margin-bottom: 32px;
}

.btn {
    display: inline-block;
    padding: 15px 28px;
    border-radius: 7px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary {
    background: #d79b36;
    color: white;
}

.btn-primary:hover {
    background: #bd8125;
    transform: translateY(-2px);
}


/* =====================================================
   RESUMO DA EXPERIÊNCIA
===================================================== */

.trail-summary {
    margin-top: -55px;
    position: relative;
    z-index: 5;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: white;
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
    overflow: hidden;
}

.summary-item {
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid #e5e8e4;
}

.summary-item:last-child {
    border-right: none;
}

.summary-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.summary-label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #708078;
    margin-bottom: 4px;
}

.summary-value {
    font-size: 18px;
    font-weight: bold;
    color: #244d38;
}


/* =====================================================
   CARROSSEL DE IMAGENS E VÍDEOS
===================================================== */

.media-carousel {
    margin-top: 35px;
    position: relative;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #111;
    box-shadow: 0 10px 35px rgba(0,0,0,0.15);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    height: 520px;
    background: #111;
}

.carousel-slide img,
.carousel-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 35px 30px 25px;

    color: white;

    background: linear-gradient(
        transparent,
        rgba(0,0,0,0.78)
    );
}

.carousel-caption h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.carousel-caption p {
    font-size: 14px;
    opacity: 0.9;
}


/* BOTÕES */

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 48px;
    height: 48px;

    border: none;
    border-radius: 50%;

    background: rgba(0,0,0,0.55);
    color: white;

    font-size: 28px;

    cursor: pointer;
    z-index: 10;

    transition: 0.3s;
}

.carousel-btn:hover {
    background: rgba(0,0,0,0.8);
}

.carousel-prev {
    left: 18px;
}

.carousel-next {
    right: 18px;
}


/* INDICADORES */

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.carousel-dot {
    width: 10px;
    height: 10px;

    border-radius: 50%;
    border: none;

    background: #c5ccc7;

    cursor: pointer;

    transition: 0.3s;
}

.carousel-dot.active {
    width: 28px;
    border-radius: 10px;
    background: #285d40;
}


/* =====================================================
   CONTEÚDO
===================================================== */

main {
    padding: 80px 0;
}

section {
    margin-bottom: 80px;
}

.section-title {
    font-size: 36px;
    line-height: 1.2;
    color: #214d37;
    margin-bottom: 20px;
}

.section-subtitle {
    color: #66756c;
    font-size: 18px;
    margin-bottom: 30px;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.text-content p {
    margin-bottom: 18px;
}

.highlight-box {
    background: #e9f0e9;
    border-left: 5px solid #3d7655;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
}

.highlight-box strong {
    color: #214d37;
}


/* =====================================================
   ATRATIVOS
===================================================== */

.attractions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.attraction-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    border: 1px solid #e6eae6;
}

.attraction-card h3 {
    color: #285d40;
    font-size: 21px;
    margin-bottom: 10px;
}


/* =====================================================
   DIFICULDADE
===================================================== */

.difficulty-card {
    background: white;
    border-radius: 14px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

.difficulty-level {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    background: #b8d9bd;
    color: #245536;
    font-weight: bold;
    margin-bottom: 20px;
}

.difficulty-bar {
    height: 10px;
    background: #e6e9e5;
    border-radius: 20px;
    overflow: hidden;
    margin: 20px 0;
}

.difficulty-progress {
    width: 30%;
    height: 100%;
    background: #4d8a61;
    border-radius: 20px;
}


/* =====================================================
   RECOMENDAÇÕES
===================================================== */

.recommendations {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 30px;
}

.recommendation {
    background: white;
    padding: 22px;
    border-radius: 10px;
    border: 1px solid #e4e8e4;
}

.recommendation strong {
    display: block;
    color: #285d40;
    margin-bottom: 5px;
}


/* =====================================================
   AGENDAMENTO
===================================================== */

.booking-section {
    background: #214d37;
    color: white;
    border-radius: 18px;
    padding: 55px;
}

.booking-section h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 18px;
}

.booking-section p {
    max-width: 760px;
    margin-bottom: 25px;
}

.booking-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.booking-item {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 9px;
}

.booking-item strong {
    display: block;
    margin-bottom: 5px;
}


/* =====================================================
   SIDEBAR
===================================================== */

.sidebar-card {
    background: white;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 25px;
}

.sidebar-card h3 {
    color: #285d40;
    margin-bottom: 18px;
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card li {
    padding: 10px 0;
    border-bottom: 1px solid #edf0ed;
}

.sidebar-card li:last-child {
    border-bottom: none;
}


/* =====================================================
   FAQ
===================================================== */

.faq {
    margin-top: 30px;
}

.faq details {
    background: white;
    border: 1px solid #e3e7e3;
    border-radius: 9px;
    padding: 20px 25px;
    margin-bottom: 12px;
}

.faq summary {
    cursor: pointer;
    font-weight: bold;
    color: #285d40;
}

.faq p {
    margin-top: 15px;
}


/* =====================================================
   OUTROS ROTEIROS
===================================================== */

.related-trails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.related-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e5e9e5;
    transition: 0.3s;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.related-card h3 {
    color: #285d40;
    margin-bottom: 8px;
}


/* =====================================================
   VOLTAR AO TOPO
===================================================== */

.back-top {
    text-align: center;
    margin-top: 50px;
}

.back-top a {
    color: #285d40;
    font-weight: bold;
}


/* =====================================================
   RESPONSIVO
===================================================== */

@media (max-width: 850px) {

    .summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .summary-item:nth-child(2) {
        border-right: none;
    }

    .summary-item:nth-child(1),
    .summary-item:nth-child(2) {
        border-bottom: 1px solid #e5e8e4;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .sidebar-card {
        position: static;
    }

    .attractions-grid,
    .recommendations {
        grid-template-columns: 1fr;
    }

    .related-trails {
        grid-template-columns: repeat(2, 1fr);
    }

    .carousel-slide {
        height: 430px;
    }
}


@media (max-width: 600px) {

    .hero {
        min-height: 520px;
    }

    .hero p {
        font-size: 17px;
    }

    .summary-grid {
        grid-template-columns: 1fr 1fr;
    }

    .summary-item {
        padding: 20px 10px;
    }

    .section-title {
        font-size: 29px;
    }

    .booking-section {
        padding: 35px 25px;
    }

    .booking-section h2 {
        font-size: 29px;
    }

    .booking-info {
        grid-template-columns: 1fr;
    }

    .related-trails {
        grid-template-columns: 1fr;
    }

    .carousel-slide {
        height: 330px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .carousel-caption {
        padding: 25px 20px 18px;
    }

    .carousel-caption h3 {
        font-size: 18px;
    }
}
