/* Base Styles */
:root {
    --primary: #D4A76A;
    --secondary: #8B5A2B;
    --dark: #2C1810;
    --light: #FFF9F0;
    --accent: #FF6B35;
    --text: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient);
}

.section-header h2 span {
    color: var(--primary);
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.footer-bottom p {
    margin: 5px 0;
    font-size: 0.9rem;
}

.footer-bottom .developer-credits {
    margin-top: 15px;
    font-size: 0.8rem;
    color: var(--text-light);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-bottom .developer-credits a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom .developer-credits a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.btn {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(212, 167, 106, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(212, 167, 106, 0.4);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    margin-top: 15px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Estilo específico para o botão do mapa */
.btn-outline .fa-map-marked-alt {
    transition: color 0.3s ease;
    color: var(--primary);
}

.btn-outline:hover,
.btn-outline:hover .fa-map-marked-alt {
    color: var(--white) !important;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    transition: var(--transition);
}

.header.scrolled .logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    z-index: 1001;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/bg-bronzeamento.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    position: relative;
    padding-top: 100px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 15px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease;
}

.hero h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: var(--primary);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.3s both;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--white);
    animation: fadeInUp 1s ease 0.6s both;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.9s both;
}

/* Sobre */
.sobre-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
}

.sobre-text {
    flex: 1;
}

.sobre-text h3 {
    color: var(--secondary);
    margin-top: 30px;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.sobre-text h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    height: 25px;
    width: 5px;
    background: var(--gradient);
    border-radius: 5px;
}

.sobre-text ul {
    margin: 20px 0 30px;
}

.sobre-text ul li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.sobre-text ul li i {
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 5px;
}

.sobre-imagem {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.sobre-imagem:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.sobre-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.sobre-imagem:hover img {
    transform: scale(1.05);
}

blockquote {
    background: var(--light);
    border-left: 4px solid var(--primary);
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
    position: relative;
    border-radius: 0 5px 5px 0;
}

blockquote::before {
    content: '"\201C"';
    font-size: 60px;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
    left: 10px;
    top: -20px;
    font-family: serif;
}

/* Serviços */
.servicos {
    background-color: var(--light);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.servico-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    padding: 30px 20px;
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.servico-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 30px;
    transition: var(--transition);
}

.servico-card:hover .servico-icon {
    transform: rotateY(180deg);
}

.servico-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.servico-card p {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.servico-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-top: 20px;
}

.pacotes-especiais {
    background: var(--gradient);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-top: 50px;
    color: var(--white);
}

.pacotes-especiais h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.pacotes-especiais p {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--white);
}

/* Agendamento */
.agendamento {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('../img/bg-bronzeamento.png') center/cover fixed;
    position: relative;
}

.agendamento-content {
    display: flex;
    gap: 50px;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.agendamento-form {
    flex: 1;
    padding: 40px;
}

.agendamento-info {
    flex: 1;
    background: var(--light);
    padding: 40px;
}

.agendamento-info h3 {
    color: var(--secondary);
    margin-top: 30px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.agendamento-info h3:first-child {
    margin-top: 0;
}

.agendamento-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient);
}

.agendamento-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.agendamento-info i {
    margin-right: 10px;
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.agendamento-info a {
    color: var(--text);
    display: flex;
    align-items: center;
}

.agendamento-info a:hover {
    color: var(--primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 167, 106, 0.2);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: var(--transition);
}

.footer-logo img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-logo p {
    color: #aaa;
    margin-bottom: 20px;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
}

.newsletter-form button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0 20px;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

.footer-bottom p {
    margin-bottom: 5px;
}

.footer-bottom i {
    color: #ff6b6b;
    margin: 0 5px;
}

/* Instagram Float Button */
.instagram-float {
    position: fixed;
    bottom: 120px;
    right: 40px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    font-size: 25px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite 0.5s;
}

.instagram-float:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(188, 24, 136, 0.6);
    text-decoration: none;
    color: white;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    color: white;
}

/* Flatpickr Custom Styles */
.flatpickr-calendar {
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
}

.flatpickr-day {
    font-weight: 500;
}

.flatpickr-time input, 
.flatpickr-time .flatpickr-time-separator, 
.flatpickr-time .flatpickr-am-pm {
    color: var(--dark);
    font-weight: 600;
}

.flatpickr-day.selected, 
.flatpickr-day.selected:hover, 
.flatpickr-day.selected:focus {
    background: var(--primary);
    border-color: var(--primary);
}

.flatpickr-day.today {
    border-color: var(--primary);
}

.flatpickr-day.today:hover {
    background: var(--primary);
    color: white;
}

.flatpickr-day.inRange, 
.flatpickr-day.prevMonthDay.inRange, 
.flatpickr-day.nextMonthDay.inRange, 
.flatpickr-day.today.inRange, 
.flatpickr-day.prevMonthDay.today.inRange, 
.flatpickr-day.nextMonthDay.today.inRange, 
.flatpickr-day:hover, 
.flatpickr-day.prevMonthDay:hover, 
.flatpickr-day.nextMonthDay:hover, 
.flatpickr-day:focus, 
.flatpickr-day.prevMonthDay:focus, 
.flatpickr-day.nextMonthDay:focus {
    background: var(--light);
    border-color: var(--light);
}

/* Estilo para o input do datepicker */
.datepicker {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 12px 15px;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.datepicker:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 167, 106, 0.2);
    outline: none;
}

/* Estilos para dispositivos móveis */
.mobile-device .flatpickr-calendar {
    max-width: 320px;
    margin: 0 auto;
    left: 50% !important;
    transform: translateX(-50%);
}

/* Responsive Adjustments for Floating Buttons */
@media (max-width: 768px) {
    .instagram-float {
        width: 45px;
        height: 45px;
        font-size: 22px;
        bottom: 100px;
        right: 20px;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 30px;
        right: 20px;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary);
    transform: translate(-50%, -3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .sobre-content {
        flex-direction: column;
    }
    
    .agendamento-content {
        flex-direction: column;
    }
    
    .sobre-imagem {
        order: -1;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px;
        transition: var(--transition);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 600px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .agendamento-form,
    .agendamento-info {
        padding: 30px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 20px;
        bottom: 85px;
        right: 20px;
    }
}
