/* Variáveis de cores */

:root {
    --primary-color: #6B4226;
    --secondary-color: #F5EEE6;
    --accent-color: #D4AF37;
    --text-dark: #3C2415;
    --text-light: #F5EEE6;
    --border-radius: 30px;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/* Reset e estilos gerais */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--secondary-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
}

.primary-btn:hover {
    background-color: #543620;
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: #ECE4DB;
    transform: translateY(-2px);
}

img {
    max-width: 100%;
    height: auto;
}

.hidden {
    display: none;
}


/* Header */

header {
    background-color: var(--primary-color);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    z-index: 100;
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-img {
    max-height: 60px;
    width: auto;
    display: block;
    margin-right: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1.5px;
    color: var(--text-light);
    line-height: 1.2;
    text-transform: capitalize;
    font-style: italic;
    text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.brand-name:hover {
    transform: scale(1.03);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.brand-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 400;
    margin: 0;
    color: var(--text-light);
    letter-spacing: 3px;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 20px;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav ul li a:hover::after {
    width: 70%;
}

nav ul li a:hover {
    color: var(--accent-color);
}

nav ul li a.nav-highlight {
    color: var(--text-light);
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

nav ul li a.nav-highlight:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
}


/* Banner */

.banner {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--text-light);
    margin-top: 0;
    padding-top: 80px;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-video.active {
    opacity: 1;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(107, 66, 38, 0.7), rgba(107, 66, 38, 0.7));
    z-index: -1;
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80%;
}

.banner h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.banner h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.banner p {
    font-size: 18px;
    margin-bottom: 30px;
}


/* Sobre */

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-text h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 15px;
}


/* Serviços */

.services {
    background-color: #fff;
}

.services h2,
.services h3 {
    text-align: center;
}

.services-category {
    margin-bottom: 40px;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.service-item {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.price {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 10px 15px;
    border-radius: 20px;
    font-weight: 600;
    margin-right: 15px;
    min-width: 80px;
    text-align: center;
}

.service-name {
    font-weight: 500;
}

.service-note,
.booking-note {
    text-align: center;
    font-style: italic;
    margin-top: 30px;
}

.booking-note {
    font-weight: 500;
    color: var(--primary-color);
}


/* Galeria */

.gallery h2 {
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
}


/* Contato */

.contact {
    background-color: #fff;
}

.contact h2 {
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
    min-width: 24px;
}

.social-media {
    display: flex;
    margin-top: 30px;
}

.social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-right: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-media a:hover {
    transform: translateY(-5px);
    background-color: var(--accent-color);
}

.contact-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}


/* Footer */

footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 20px 0;
}


/* Booking Form Styles */

.booking-form {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}

.payment-section {
    margin: 25px 0;
}

.payment-card {
    background-color: #f9f5f0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.payment-header {
    background-color: var(--primary-color);
    padding: 20px;
    color: white;
    text-align: center;
}

.payment-header h4 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 600;
}

.payment-header p {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    opacity: 0.9;
}

.payment-method-selection {
    display: flex;
    justify-content: space-around;
    padding: 25px 15px;
    background-color: #f9f5f0;
    border-bottom: 1px solid #e9e0d8;
}

.payment-option {
    flex: 1;
    max-width: 33%;
    text-align: center;
    position: relative;
    padding: 0 10px;
}

.payment-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #d0c5bb;
    background-color: white;
    margin: 0;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
}

.payment-option input[type="radio"]::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.2s ease;
    background-color: var(--primary-color);
    position: absolute;
    top: 4px;
    left: 4px;
}

.payment-option input[type="radio"]:checked {
    border-color: var(--primary-color);
}

.payment-option input[type="radio"]:checked::before {
    transform: scale(1);
}

.payment-option label {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-left: 30px;
    position: relative;
}

.payment-icon {
    display: block;
    margin-bottom: 10px;
}

.payment-icon i {
    font-size: 22px;
    color: var(--primary-color);
}

.payment-text {
    display: block;
    text-align: center;
    font-size: 14px;
    line-height: 1.3;
}

.payment-details {
    padding: 25px;
    background-color: white;
    margin-top: 0;
    border-radius: 0;
}

.payment-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: var(--text-dark);
}

.payment-detail-item i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.payment-detail-item span {
    font-weight: 500;
}

.qr-code-container {
    width: 100%;
    max-width: 100%;
    margin: 20px auto;
    padding: 10px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
}

.qr-code-container img {
    width: 180px;
    height: 180px;
    object-fit: contain;
}

.pix-expiration {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .payment-method-selection {
        flex-direction: column;
        gap: 15px;
    }
    .payment-option {
        margin-bottom: 0;
    }
}


/* Confirmation Styles */

.booking-confirmation {
    text-align: center;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.confirmation-details {
    text-align: left;
    max-width: 300px;
    margin: 20px auto;
}

.confirmation-details p {
    margin-bottom: 10px;
}

.booking-policies {
    margin-top: 50px;
}

.booking-policies h3 {
    margin-bottom: 15px;
}

.booking-policies ul {
    list-style-position: inside;
}

.payment-info {
    text-align: center;
    margin-top: 10px;
    font-weight: 500;
    color: var(--primary-color);
}

.pix-instructions {
    margin-top: 15px;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.pix-instructions p {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.pix-instructions ol {
    margin-left: 20px;
    color: var(--text-dark);
}

.pix-instructions li {
    margin-bottom: 5px;
}

.pix-note {
    font-style: italic;
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    text-align: center;
}

.loading-message {
    text-align: center;
    margin: 20px 0;
    color: var(--primary-color);
}

.error-message {
    text-align: center;
    margin: 15px 0;
    color: #d9534f;
    font-weight: 500;
}

.pix-code-container {
    margin: 15px 0;
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 15px;
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
}

.pix-code-label {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.pix-code-text {
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    word-break: break-all;
    overflow-wrap: anywhere;
    overflow-x: auto;
    max-height: 120px;
    overflow-y: auto;
    font-family: monospace;
    font-size: 12px;
    line-height: 1.4;
    max-width: 100%;
    box-sizing: border-box;
}

.copy-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.copy-button:hover {
    background-color: #543620;
}

.ticket-button {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    text-align: center;
    word-break: normal;
}

/* Estilos para formulário de cartão de crédito */

.card-field {
    height: 40px;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f8f8f8;
    border-radius: 4px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.col-half {
    width: calc(50% - 7.5px);
}

#form-checkout__cardholderName,
#form-checkout__identificationNumber {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

#form-checkout__issuer,
#form-checkout__installments,
#form-checkout__identificationType {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background-color: #fff;
    margin-bottom: 10px;
}

#form-checkout__submit {
    margin-top: 10px;
}


/* Mensagens de resultado */

.error-message {
    background-color: #fff5f5;
    border-left: 3px solid #e0a7a7;
    color: #8a5d5d;
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 4px;
    font-size: 14px;
    font-weight: normal;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.success-message {
    color: #1e8e3e;
    background-color: #e6f4ea;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
}

.info-message {
    background-color: #f5f9ff;
    border-left: 3px solid #a7c6e0;
    color: #5d7a8a;
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 4px;
    font-size: 14px;
    font-weight: normal;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.loading-message {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    color: #8a7a5d;
    font-style: italic;
}

.loading-message::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    border: 2px solid #e0d4c7;
    border-top-color: #8a7a5d;
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.payment-error {
    background-color: #fffbf5;
    border: 1px solid #efe6d9;
    border-radius: 4px;
    padding: 15px;
    margin: 10px 0;
    color: #8a785d;
}

.payment-error p {
    margin: 5px 0;
}

.payment-error .error-details {
    font-size: 12px;
    color: #8a6d5d;
    margin-top: 10px;
    font-family: monospace;
    background: rgba(0,0,0,0.02);
    padding: 5px;
    border-radius: 3px;
}

.payment-option.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.payment-option.disabled label {
    cursor: not-allowed;
}


/* Estilos para o banner na home page */

.banner-content {
    text-align: center;
    color: #fff;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.banner-title {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

.banner-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-family: 'Montserrat', sans-serif;
}


/* Estilos para a seção de destaques de serviços */

.featured-services {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.services-highlights {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.service-highlight-item {
    flex: 1;
    min-width: 250px;
    margin: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    background-color: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #d4af37;
}

.service-highlight-item h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: #333;
}

.service-highlight-item p {
    color: #666;
    line-height: 1.6;
}


/* Estilos para a seção de destaques do portfólio */

.featured-portfolio {
    padding: 4rem 0;
}

.featured-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin: 2rem 0;
}

.featured-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.featured-item:hover {
    transform: scale(1.03);
}

.featured-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Estilos para a seção de chamada para agendamento */

.booking-cta {
    padding: 4rem 0;
    background-color: #2c3e50;
    color: white;
    text-align: center;
}

.booking-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.booking-cta p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
}


/* Estilos para a seção CTA em todas as páginas */

.cta-section {
    text-align: center;
    margin: 2rem 0;
}

.cta-section p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}


/* Estilos para links ativos no menu de navegação */

nav ul li a.active {
    color: var(--accent-color);
    font-weight: 500;
    position: relative;
}

nav ul li a.active:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    bottom: -5px;
    left: 0;
}


/* Estilos para os cards de serviços clicáveis */

.service-card {
    display: block;
    text-decoration: none;
    color: inherit;
    flex: 1;
    min-width: 250px;
    margin: 1rem;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-card:hover .service-highlight-item {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: #bb9b27;
}

.service-highlight-item {
    transition: all 0.3s ease;
    height: 100%;
}

.service-icon {
    transition: all 0.3s ease;
}