/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores Pirata */
    --primary-gold: hsl(45, 95%, 50%);
    --primary-gold-dark: hsl(45, 85%, 40%);
    --secondary-red: hsl(0, 75%, 48%);
    --secondary-red-dark: hsl(0, 75%, 38%);
    
    /* Neutros */
    --bg-light: hsl(30, 20%, 96%);
    --bg-parchment: hsl(40, 35%, 92%);
    --card-bg: hsl(40, 35%, 92%);
    --text-dark: hsl(25, 30%, 15%);
    --text-muted: hsl(25, 20%, 40%);
    --border-color: hsl(30, 15%, 82%);
    
    /* Fontes */
    --font-heading: 'Pirata One', cursive;
    --font-body: 'Roboto', sans-serif;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.25);
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: normal;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    padding: 1rem 2rem;
    display: inline-block;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-gold);
    color: var(--text-dark);
    box-shadow: var(--shadow-xl);
}

.btn-primary:hover {
    background: var(--primary-gold-dark);
    transform: scale(1.05);
}

.btn-secondary {
    background: var(--secondary-red);
    color: white;
    box-shadow: var(--shadow-xl);
}

.btn-secondary:hover {
    background: var(--secondary-red-dark);
    transform: scale(1.05);
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

/* Cards */
.card {
    background: var(--card-bg);
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('images/hero2.jpg') center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.4), rgba(0,0,0,0.6));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 3rem 1rem;
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: normal;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 4vw, 1.5rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-info {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.875rem, 2vw, 1rem);
}

@media (max-width: 640px) {
    .hero .btn {
        width: 100%;
        max-width: 28rem;
    }
}

/* Expedition Section */
.expedition {
    padding: 3rem 0;
    /*background: url('images/Parchment_texture_background_e7f46fec.png') center/cover;*/
    position: relative;
}

.expedition::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--card-bg);
    opacity: 0.8;
}

.expedition .container {
    position: relative;
    z-index: 1;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.icon-large {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: normal;
}

.card-text {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Adventures Section */
.adventures {
    padding: 3rem 0;
    background: var(--bg-light);
}

.adventure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.adventure-highlight {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .adventure-highlight {
        grid-column: span 1;
    }
}

.adventure-card {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.adventure-card:hover {
    transform: translateY(-4px);
}

.adventure-image {
    height: 30rem;
    background-size: cover;
    background-position: center;
    position: relative;
}

.adventure-highlight .adventure-image {
    height: 30rem;
}

.adventure-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.5), transparent);
}

.adventure-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: white;
}

.adventure-content h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 0.5rem;
    font-weight: normal;
}

.adventure-content p {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
}

/* Pricing Section */
.pricing {
    padding: 3rem 0;
    background: var(--card-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.pricing-card {
    position: relative;
    text-align: center;
    padding: 2rem;
}

.pricing-highlight {
    border: 2px solid var(--primary-gold);
}

.pricing-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gold);
    color: var(--text-dark);
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 700;
}

.pricing-category {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: normal;
}

.pricing-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.pricing-value {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary-gold);
    font-weight: normal;
}

.cta-center {
    text-align: center;
}

@media (max-width: 640px) {
    .cta-center .btn {
        width: 100%;
        max-width: 28rem;
    }
}

/* Safety Section */
.safety {
    padding: 3rem 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    color: var(--primary-gold);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.feature-item p {
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Instructions Section */
.instructions {
    padding: 3rem 0;
    background: var(--card-bg);
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.instruction-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
}

.instruction-icon {
    flex-shrink: 0;
    background: var(--primary-gold);
    color: var(--text-dark);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.instruction-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: normal;
}

.instruction-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

/* Final CTA Section */
.final-cta {
    position: relative;
    padding: 4rem 1rem;
    background: url('images/hero2.jpg') center/cover no-repeat fixed;
    text-align: center;
}

.final-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.final-cta-content {
    position: relative;
    z-index: 10;
    max-width: 56rem;
    margin: 0 auto;
}

.final-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: normal;
}

.final-subtitle {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    padding: 0 1rem;
}

.final-info {
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(0.875rem, 2vw, 1rem);
}

@media (max-width: 640px) {
    .final-cta .btn {
        width: 100%;
        max-width: 28rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-title {
        margin-bottom: 2rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .cards-grid,
    .pricing-grid,
    .features-grid,
    .instructions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
/* Para o efeito de pergaminho no topo e rodapé da seção */
.highlights {
    position: relative; /* Para que os pseudo-elementos fiquem relativos a esta seção */
    padding-top: 5rem; /* Aumenta o padding para a borda do pergaminho */
    padding-bottom: 5rem; /* Aumenta o padding para a borda do pergaminho */
    background-color: var(--parchment-bg); /* Cor base do pergaminho */
    z-index: 1; /* Garante que o conteúdo fique acima das bordas */
}

.highlights::before,
.highlights::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 40px; /* Altura da borda de pergaminho */
    background-size: cover; /* Ajusta o tamanho da imagem */
    background-repeat: no-repeat;
    z-index: 2; /* Para as bordas ficarem acima da cor de fundo */
}

.highlights::before {
    top: 0;
    /* Imagem para o topo do pergaminho (uma borda rasgada) */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 40" preserveAspectRatio="none"><path d="M0,20 C100,0 200,40 300,20 C400,0 500,40 600,20 C700,0 800,40 900,20 C1000,0 1000,40 1000,40 L0,40 L0,20 Z" fill="%23fcf9f2"/></svg>');
    transform: translateY(-50%); /* Ajusta a posição para sobrepor */
}

.highlights::after {
    bottom: 0;
    /* Imagem para o rodapé do pergaminho (uma borda rasgada invertida) */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 40" preserveAspectRatio="none"><path d="M0,20 C100,40 200,0 300,20 C400,40 500,0 600,20 C700,40 800,0 900,20 C1000,40 1000,0 1000,0 L0,0 L0,20 Z" fill="%23fcf9f2"/></svg>');
    transform: translateY(50%); /* Ajusta a posição para sobrepor */
}

/* Adicione esta variável de cor nas suas variáveis CSS */
:root {
    /* ... outras variáveis ... */
    --parchment-bg: #fcf9f2; /* Cor clara do pergaminho */
    --parchment-border: #d4c8b2; /* Cor para detalhes da borda se quiser */
}

/* Ajuste o background da seção principal, se necessário, para que o pergaminho se destaque */
body {
    background-color: #f7f3ed; /* Um fundo neutro para o body */
}
/* Logistics Section */
.logistics {
    padding: 3rem 0;
    background: var(--bg-light); /* Ou a cor que preferir */
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: var(--card-bg);
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-icon {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.info-title {
    font-size: 1.5rem;
    font-family: var(--font-fancy);
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.info-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Para o card de política de clima ocupar a largura total em telas maiores */
@media (min-width: 768px) {
    .info-card-full-width {
        grid-column: 1 / -1; /* Ocupa todas as colunas disponíveis */
    }
}

@media (max-width: 640px) {
    .info-grid {
        grid-template-columns: 1fr; /* Uma coluna em mobile */
    }
}
.card{
    text-align: center;
}
/* Estilos dos Contadores de Passageiros */
.label-destaque {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
}

.tickets-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.ticket-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
}

.ticket-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.ticket-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.ticket-age {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.ticket-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-counter {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--primary-gold);
    background: var(--bg-light);
    color: var(--text-dark);
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-counter:hover {
    background: var(--primary-gold);
}

.counter-value {
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-top: 1rem;
    padding-top: 0.5rem;
    border-top: 2px dashed var(--border-color);
}

#total-valor {
    color: var(--primary-gold-dark); /* Destaque no preço */
}/* Widget de Reserva na Hero */
.hero-booking-widget {
    background: var(--bg-light); /* Fundo claro do seu tema */
    border: 2px solid var(--primary-gold); /* Borda dourada */
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 2rem auto 0;
    max-width: 400px;
    box-shadow: var(--shadow-xl);
    text-align: left;
    position: relative;
    z-index: 20;
}

.widget-title {
    font-family: var(--font-heading); /* Fonte Pirata One */
    font-size: 1.8rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1;
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-muted);
}

.form-group label i {
    color: var(--primary-gold);
    margin-right: 4px;
}

.input-pirata {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    background: white;
    color: var(--text-dark);
}

.input-pirata:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.3);
}

.btn-full {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* Ajuste para mobile para não quebrar lado a lado */
@media (max-width: 480px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}