:root {
    /* Paleta de Cores Sombrias - Tema em Vermelho */
    --cor-fundo: #000000;
    --cor-primaria: #A4161A; /* Vermelho principal, mais escuro */
    --cor-secundaria: #BA181B; /* Vermelho de destaque, mais claro */
    --cor-destaque: #BA181B; /* Mantendo o vermelho claro para o CTA */
    --cor-header: #111011; /* Tom de preto para o cabeçalho, para dar mais profundidade */
    --cor-texto-claro: #f0f0f0;
    --cor-texto-escuro: #333333;
    --cor-sombra: rgba(0, 0, 0, 0.5);

    /* Fontes */
    --fonte-serifa: 'Cinzel', serif;
    --fonte-principal: 'Lora', serif;
    --fonte-alternativa: 'Merriweather', serif;

    /* Tamanhos e Espaçamentos em REM */
    --tamanho-cabecalho: 5rem; /* 80px / 16px (tamanho padrão do navegador) */
    --espacamento-secoes: 3.75rem; /* 60px */
}

/* Reset e Estilo do corpo (mantidos) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px; /* Base para REMs */
    scroll-behavior: smooth;
}

body {
    font-family: var(--fonte-principal);
    background-color: var(--cor-fundo);
    color: var(--cor-texto-claro);
    line-height: 1.6;
}

/* Header */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2.5rem; /* 20px 40px */
    background-color: var(--cor-header);
    box-shadow: 0 0.25rem 0.5rem var(--cor-sombra);
}

.logo a img {
    height: 50px;
    display: block;
}

.nav-links a {
    color: var(--cor-texto-claro);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
    margin-left: 1.5625rem; /* 25px */
    transition: color 0.3s ease;
}

@media (max-width: 48rem) {
    .nav-links a {
        font-size: 1.1rem;
    }
}

.nav-links a:hover {
    text-decoration: underline;
    color: var(--cor-primaria);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: var(--tamanho-cabecalho);
    padding: 15rem 1.5rem;
    background: url('/images/banner2.jpeg') no-repeat center 40%/cover;
}

@media (max-width: 48rem) {
    .hero {
        background: url('/images/banner2.jpeg') no-repeat 30% 40%/cover;
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.70); /* Sombra escura */
    z-index: 1;
}

.hero-content {
    z-index: 100;
    max-width: 80rem
}

.hero h2 {
    font-family: var(--fonte-serifa);
    font-size: 3rem;
    margin-bottom: 1.25rem; /* 20px */
    color: var(--cor-secundaria);
}

.hero p {
    font-size: 2rem;
    margin: 0 auto 1.875rem; /* 30px */
}

.cta-button {
    display: inline-block;
    background-color: var(--cor-destaque);
    color: var(--cor-texto-claro);
    padding: 1.2rem 2rem; /* 15px 30px */
    text-decoration: none;
    border-radius: 0.3125rem; /* 5px */
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: var(--cor-primaria);
    transform: translateY(-0.1875rem); /* 3px */
}

/* Container */
.container {
    max-width: 60rem; /* 960px */
    margin: 0 auto;
    padding: var(--espacamento-secoes);
}

.agendamento {
    width: 100%;
    padding-top: var(--tamanho-cabecalho);
}

.agendamento .container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.form-instructions, .schedule-form {
    flex: 1;
    width: 100%; /* Para telas menores */
}

.form-instructions h3 {
    font-family: var(--fonte-serifa);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--cor-texto-claro);
}

.form-instructions p {
    margin-bottom: 1.5rem;
}

.pix-info {
    border: 1px solid var(--cor-destaque);
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
}

.pix-info h4 {
    font-size: 1.5rem;
    color: var(--cor-texto-claro);
}

.pix-info #valor-pix {
    font-size: 2rem;
    font-weight: bold;
    color: var(--cor-destaque);
    margin-left: 0.5rem;
}

.chave-pix {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.chave-pix #chave-pix-texto {
    font-family: monospace;
    font-size: 1.1rem;
    border: 1px dashed var(--cor-texto-claro);
    padding: 0.5rem;
    border-radius: 0.3rem;
}

.copy-button {
    background-color: var(--cor-destaque);
    color: var(--cor-texto-claro);
    border: none;
    padding: 0.8rem 1.3rem;
    font-size: 1rem;
    border-radius: 0.3rem;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.copy-button:hover {
    background-color: var(--cor-primaria);
}

#qr-code {
    max-width: 10rem;
    height: auto;
    margin-top: 1rem;
}

.schedule-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.schedule-form label {
    font-weight: bold;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.schedule-form input,
.schedule-form select {
    padding: 0.75rem;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--cor-primaria);
    color: var(--cor-texto-claro);
    border-radius: 0.3rem;
    font-size: 1rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.schedule-form input:focus,
.schedule-form select:focus {
    outline: none;
    border-color: var(--cor-destaque);
}

.schedule-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2rem;
}

.schedule-form button[type="submit"] {
    background-color: var(--cor-destaque);
    color: var(--cor-texto-claro);
    padding: 1rem;
    border: none;
    border-radius: 0.3rem;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    display: block;
}

.schedule-form button[type="submit"]:hover {
    background-color: var(--cor-primaria);
}

/* Container do input, servindo como âncora para o ícone */
.input-container {
    position: relative;
    margin-bottom: 1rem;
}

/* Estilização do input */
.schedule-form input[type="date"] {
    width: 100%;
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--cor-primaria);
    color: var(--cor-texto-claro);
    border-radius: 0.3rem;
    font-size: 1rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

/* Ícone personalizado (SVG) */
.input-container::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
    background-size: contain;
    pointer-events: none;
}

/* Oculta o ícone nativo apenas no Chrome/Safari */
.schedule-form input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
}

/* Estiliza o menu de opções quando ele é expandido */
.schedule-form select option {
    background-color: var(--cor-fundo-opcoes, #333); /* Fundo escuro para as opções */
    color: var(--cor-texto-opcoes, #fff); /* Cor do texto clara */
}

/* Garante que o texto dentro do select seja branco, mesmo quando a opção está selecionada */
.schedule-form select {
    color: var(--cor-texto-claro);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--cor-fundo);
    padding: 2rem;
    border: 1px solid var(--cor-primaria);
    width: 80%;
    max-width: 30rem;
    border-radius: 0.5rem;
    text-align: center;
    position: relative;
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: var(--cor-secundaria);
    text-decoration: none;
}

.whatsapp-button {
    display: inline-block;
    background-color: #25D366; /* Cor do WhatsApp */
    color: #fff;
    padding: 1rem 1.5rem;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: bold;
    margin-top: 1.5rem;
    transition: background-color 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #128C7E;
}

/* Rodapé */
footer {
    text-align: center;
    padding: 1.25rem; /* 20px */
    background-color: var(--cor-fundo);
    border-top: 1px solid var(--cor-primaria);
    font-size: 0.9rem;
}

footer .container {
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 0 2.5rem;
}

.by-line {
    font-weight: 500;
    margin-top: 20px
}

footer a {
    color: var(--cor-texto-claro);
    text-decoration: none;
    font-weight: 400;
}

footer a:hover {
    text-decoration: underline;
    color: var(--cor-destaque);
}

/* Responsividade */
@media (max-width: 48rem) {
    .header {
        flex-direction: column;
        padding: 0.9375rem 1.25rem; /* 15px 20px */
    }

    .logo a img {
        height: 40px;
    }

    .nav-links {
        margin-top: 1.25rem;
    }

    .nav-links a {
        margin: 0 0.625rem;
    }

    .hero {
        padding: 12rem 1.5rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.4rem;
    }

    .container {
        flex-direction: column;
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .pix-info {
        margin-top: 2rem;
    }

    .pix-info #valor-pix {
        display: block;
    }

    .chave-pix {
        display: block;
    }

    .chave-pix #chave-pix-texto {
        display: block;
    }

    .copy-button {
        display: block;
        width: 100%;
        margin-top: 0.5rem;
    }

    .schedule-form button[type="submit"],
    .cta-button {
        font-size: 1rem;
    }

    .form-instructions p {
        font-size: 1.25rem;
    }

    .form-instructions p strong {
        color: var(--cor-destaque);
    }
}

.horarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.horarios-grid label {
    display: block;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--cor-destaque);
    padding: 1rem;
    text-align: center;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.horarios-grid label:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.horarios-grid input[type="radio"] {
    display: none;
}

.horarios-grid label:has(input[type="radio"]:checked) {
    background-color: var(--cor-destaque);
    border-color: var(--cor-secundaria);
    color: var(--cor-texto-claro);
    font-weight: bold;
}

@media (max-width: 23rem) {
    .schedule-form {
        width: 90%;
        margin: 0 auto;
    }

    .copy-button {
        padding: 0.9rem 1rem;
        font-size: 0.9rem;
    }

    .hero p {
        font-size: 1.2rem;
    }
}

/* Estilos da seção de depoimentos */
.depoimentos {
    padding: var(--espacamento-secoes) 0;
    background-color: var(--cor-fundo);
    text-align: center;
}

.depoimentos-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 var(--espacamento-secoes);
}

.depoimentos h2 {
    font-family: var(--fonte-serifa);
    font-size: 2.5rem;
    color: var(--cor-texto-claro);
    margin-bottom: 2.5rem;
}

.slider-wrapper {
    overflow: hidden;
    position: relative;
    padding: 0 3.75rem; /* 60px */
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.depoimento {
    background-color: var(--cor-header);
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.5rem var(--cor-sombra);
    padding: 2.5rem;
    margin: 0 1.25rem;
    flex-shrink: 0;
    width: calc(50% - 2.5rem);
}

.depoimento p {
    font-family: var(--fonte-alternativa);
    color: var(--cor-texto-claro);
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.8;
}

@media (max-width: 48rem) {
    .depoimento p {
        font-size: 1rem;
        line-height: 1.6;
    }
    .slider-wrapper {
        padding: 0 2rem;
    }

    .depoimentos-container {
        padding: 0;
    }
}

/* Estilos para os botões de navegação */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--cor-primaria);
    color: var(--cor-texto-claro);
    border: none;
    cursor: pointer;
    font-size: 0; /* Esconde o texto, caso haja */
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.slider-btn:hover {
    background-color: var(--cor-destaque);
}

.slider-btn[disabled] {
    background-color: #333;
    cursor: not-allowed;
    opacity: 0.5;
}

.slider-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}


/* Mantenha sua media query no final do arquivo para que ela sobreponha as regras anteriores */
@media (max-width: 48rem) {
    .depoimento {
        width: calc(100% - 2.5rem); 
        flex-basis: calc(100% - 2.5rem);
    }
}