/* Reset e Configurações Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variáveis CSS - Design Moderno e Elegante */
:root {
    --primary-gold: #D4AF37;
    --secondary-gold: #F4E4C1;
    --dark-bg: #0a0e1a;
    --darker-bg: #050810;
    --light-text: #f5f5f5;
    --gray-text: #b8b8b8;
    --accent-color: #1a1f35;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #D4AF37 0%, #F4E4C1 100%);
    --gradient-dark: linear-gradient(135deg, #0a0e1a 0%, #1a1f35 100%);
}

/* Estilos Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.8;
    color: var(--light-text);
    background: var(--dark-bg);
    overflow-x: hidden;
}

/* ===== HEADER ===== */
header {
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(10, 14, 26, 0.98);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
    transition: all 0.3s ease;
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
    transform: rotate(5deg);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--light-text);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-gold);
}

.nav-links a:hover::before {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-gold);
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(10, 14, 26, 0.95) 100%),
                url('./assets/hero-bg.jpg') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 5% 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, 
                rgba(212, 175, 55, 0.15) 0%, 
                transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

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

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    color: var(--light-text);
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--light-text);
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: var(--dark-bg);
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.6);
}

.button-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: var(--dark-bg);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
    border: none;
    cursor: pointer;
}

.button-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.6);
}

/* services */
.services {
  background: var(--darker-bg);
  color: var(--light-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 5%;
  position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.services-content h2 {
  text-transform: uppercase;
  text-align: center;
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--light-text);
  font-weight: 700;
  letter-spacing: 3px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-content p {
  line-height: 1.8;
  margin-bottom: 50px;
  text-align: center;
  max-width: 800px;
  color: var(--gray-text);
  font-size: 1.1rem;
}

.haircuts {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  padding: 0 20px 50px 20px;
  flex-wrap: wrap;
  max-width: 1400px;
}

.haircut {
  flex: 1 1 calc(33.333% - 30px);
  min-width: 280px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  background: rgba(26, 31, 53, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(212, 175, 55, 0.1);
  position: relative;
}

.haircut::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.haircut:hover::before {
    opacity: 0.05;
}

.haircut:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
  border-color: rgba(212, 175, 55, 0.4);
}

.haircut img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
  position: relative;
  z-index: 1;
}

.haircut:hover img {
  transform: scale(1.1);
}

.haircut-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px;
  background: rgba(10, 14, 26, 0.8);
  z-index: 2;
  position: relative;
}

.haircut-info strong {
    font-size: 1.3rem;
    color: var(--primary-gold);
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.haircut-info a {
  color: var(--dark-bg);
  background: var(--gradient-primary);
  padding: 10px 25px;
  border-radius: 50px;
  border: none;
  margin-top: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.haircut-info a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.service-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 0;
}


@media screen and (max-width: 700px) {
  .haircuts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 20px 40px 20px;
  }

  .haircut {
    background: rgba(26, 31, 53, 0.6);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Container Global ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    color: var(--light-text);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background: rgba(26, 31, 53, 0.6);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
    border-color: rgba(212, 175, 55, 0.4);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--primary-gold);
    margin-bottom: 25px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2);
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.8));
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card p {
    color: var(--gray-text);
    line-height: 1.8;
    font-size: 1.05rem;
}



/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 100px 5%;
    background: var(--dark-bg);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.testimonials .section-title {
    color: var(--light-text);
    margin-bottom: 60px;
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(26, 31, 53, 0.6);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    color: rgba(212, 175, 55, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.3);
}

.stars {
    color: var(--primary-gold);
    font-size: 1.4rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
}

.testimonial-text {
    font-style: italic;
    color: var(--gray-text);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-gold);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 100px 5%;
    background: var(--darker-bg);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.cta-section .section-title {
    color: var(--light-text);
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray-text);
    margin-bottom: 60px;
    line-height: 1.8;
}

.cta-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    padding: 20px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4);
    margin-bottom: 3rem;
}

.whatsapp-button:hover {
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(37, 211, 102, 0.6);
}

.whatsapp-button i {
    font-size: 1.8rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 50px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--light-text);
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.info-item:hover {
    color: var(--primary-gold);
    transform: translateY(-3px);
}

.info-item i {
    font-size: 1.8rem;
    color: var(--primary-gold);
    transition: all 0.3s ease;
}

.info-item:hover i {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.6));
}

.iframe-title {
    color: var(--light-text);
    text-align: center;
    font-size: 2.5rem;
    margin: 50px 0 30px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== FOOTER ===== */
footer {
    background: var(--darker-bg);
    color: var(--light-text);
    padding: 60px 5%;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 30px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: rgba(26, 31, 53, 0.6);
    backdrop-filter: blur(10px);
    color: var(--primary-gold);
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all 0.4s ease;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: var(--dark-bg);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    border-color: transparent;
}

footer p {
    color: var(--gray-text);
    font-size: 1rem;
    line-height: 1.8;
    margin: 10px 0;
}

footer p:first-of-type {
    margin-top: 0;
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 2.2rem;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    transition: all 0.4s ease;
    z-index: 999;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.whatsapp-float:hover {
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
    transform: scale(1.15);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.7);
}

/* ===== RESPONSIVE ===== */

/* ===== RESPONSIVIDADE MOBILE ===== */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 90px;
        flex-direction: column;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: right 0.4s ease;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
        padding: 3rem 0;
        border-top: 1px solid rgba(212, 175, 55, 0.2);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        min-height: 80vh;
        padding: 140px 5% 60px;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

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

    .cta-button {
        padding: 15px 35px;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .services-content h2 {
        font-size: 2.2rem;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .cta-content {
        padding: 0 20px;
    }

    .whatsapp-button {
        padding: 16px 35px;
        font-size: 1.05rem;
    }

    .contact-info {
        gap: 2.5rem;
    }

    .info-item {
        font-size: 1rem;
    }

    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        bottom: 20px;
        right: 20px;
    }
}

.iframe {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--dark-bg);
}

iframe {
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

/* ===== MODAIS ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: rgba(26, 31, 53, 0.95);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.4s ease;
}

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

.modal-content h2 {
    color: var(--primary-gold);
    margin-bottom: 25px;
    font-size: 1.8rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.modal-content label {
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 8px;
    font-size: 1rem;
}

.modal-content select,
.modal-content input[type="date"],
.modal-content input[type="text"],
.modal-content input[type="tel"] {
    padding: 12px 15px;
    background: rgba(10, 14, 26, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    color: var(--light-text);
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.modal-content select:focus,
.modal-content input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.close {
    color: var(--primary-gold);
    float: right;
    font-size: 35px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    margin-top: -10px;
}

.close:hover {
    color: var(--secondary-gold);
    transform: rotate(90deg);
}

#confirmarBtn,
button[type="submit"] {
    margin-top: 20px;
    background: var(--gradient-primary);
    color: var(--dark-bg);
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
    width: 100%;
}

#confirmarBtn:hover,
button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.6);
}

option[disabled].reservado { 
    background: rgba(26, 31, 53, 0.4); 
    color: var(--gray-text); 
}

#confirmarBtn[disabled] { 
    opacity: 0.5; 
    cursor: not-allowed; 
    transform: none;
}

/* ===== Checkbox e Radio Customizados ===== */
input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--primary-gold);
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* ===== Scrollbar Customizada ===== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
    border: 2px solid var(--darker-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-gold);
}

/* ===== Seleção de Texto ===== */
::selection {
    background: var(--primary-gold);
    color: var(--dark-bg);
}

::-moz-selection {
    background: var(--primary-gold);
    color: var(--dark-bg);
}

/* ===== Loading Animation ===== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-gold);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== Botões de Ação ===== */
.row-actions a,
.action-button {
    display: block;
    width: 100%;
    padding: 12px 20px;
    margin-top: 10px;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    background: var(--gradient-primary);
    color: var(--dark-bg);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.row-actions a:hover,
.action-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.row-actions a:hover {
    background: #1e293b; /* Tom mais claro no hover */
}

        .modal-content .close {
            position: absolute;
            right: 12px;
            top: 8px;
            font-size: 22px;
            cursor: pointer;
            color: #777;
        }

        .button-contact {
            cursor: pointer;
        }


      
/* =================================================================
   MODAIS ESPECÍFICOS (Produtos e RA Club) — RESPONSIVOS
   ================================================================= */

/* limita largura, dá respiro nas laterais e ativa rolagem interna */
#modalProdutos .modal-content,
#modalRAClub .modal-content {
  width: calc(100% - 32px);
  max-width: 520px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 20px 18px 16px;
}

/* textos auxiliares */
#modalProdutos .muted,
#modalRAClub .muted { color:#777; font-size:.95rem; }

/* GRID de produtos */
#modalProdutos .prod-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap:10px;
  margin:8px 0;
}

#modalProdutos .prod-card{
  border:1px solid #eee;
  border-radius:12px;
  padding:12px;
  background:#fafafa;
  display:flex;
  flex-direction:column;
  gap:6px;
  cursor:pointer;
  transition:transform .12s, box-shadow .12s, border-color .12s;
}
#modalProdutos .prod-card:hover{
  transform: translateY(-2px);
  box-shadow:0 6px 18px rgba(0,0,0,.06);
}
#modalProdutos .prod-card .p-name{ font-weight:600; color:#111; }
#modalProdutos .prod-card .p-price{ color:#0f172a; font-weight:600; }
#modalProdutos .prod-card.active{
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(197,160,73,.15);
}

/* total e ações */
#modalProdutos .prod-total{
  display:flex;
  justify-content:flex-end;
  font-weight:600;
  margin-top:6px;
}
#modalProdutos .row-actions,
#modalRAClub .row-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}
#modalProdutos .btn-secondary,
#modalRAClub .btn-secondary{
  background:#e9eef5;
  color:#0f172a;
  border:1px solid #d8e1ee;
}

/* RA Club */
#modalRAClub .raclub-list{ margin:6px 0 8px 20px; line-height:1.5; color:#333; }
#modalRAClub .ra-form{ display:grid; gap:8px; margin-top:8px; }
#modalRAClub .ra-form.hidden{ display:none; }

/* ===== MOBILE ===== */
@media (max-width: 600px){
  #modalProdutos .modal-content,
  #modalRAClub .modal-content{
    max-width: 100%;
    border-radius: 12px;
    padding: 18px 14px;
  }

  /* grid vira 1 coluna para não “apertar” cartões */
  #modalProdutos .prod-grid{ grid-template-columns: 1fr; }

  /* botões empilham em telas estreitas */
  #modalProdutos .row-actions,
  #modalRAClub .row-actions{ flex-direction: column; }
}

/* telas mais baixas: deixa sobrar espaço para header */
@media (max-height: 680px){
  #modalProdutos .modal-content,
  #modalRAClub .modal-content{ max-height: 92vh; }
}  

/* --- Espaço do header para o modal de Produtos --- */
#modalProdutos {
  /* aumenta o acolchoamento superior do overlay sem afetar os outros modais */
  padding-top: calc(env(safe-area-inset-top, 0px) + 32px);
}

#modalProdutos .modal-content {
  /* reforça um gap extra no conteúdo */
  margin-top: 8px;
}

/* no mobile, um pouquinho mais de espaço */
@media (max-width: 600px) {
  #modalProdutos {
    padding-top: calc(env(safe-area-inset-top, 0px) + 40px);
  }
  #modalProdutos .modal-content {
    margin-top: 12px;
  }
}

/* --- Espaço do header para os modais Produtos e RA Club --- */
#modalProdutos,
#modalAssinatura {
  padding-top: calc(env(safe-area-inset-top, 0px) + 32px);
}

#modalProdutos .modal-content,
#modalAssinatura .modal-content {
  margin-top: 8px;
}

/* mobile: um pouco mais de espaço */
@media (max-width: 600px) {
  #modalProdutos,
  #modalAssinatura {
    padding-top: calc(env(safe-area-inset-top, 0px) + 40px);
  }
  #modalProdutos .modal-content,
  #modalAssinatura .modal-content {
    margin-top: 12px;
  }
}


#servicoModal .modal-content{
  border-radius: 18px;
  width: min(640px, 92vw);
  max-width: 640px;
  padding: 0;
  overflow: hidden;
}

.svc-header{
  padding: 14px 16px 8px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.svc-title{ font-weight:700; font-size:1.05rem; }
.svc-close{ cursor:pointer; font-size:1.6rem; line-height:1; }

.svc-list{
  max-height:55vh;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  background:#fff;
}

/* Grid com 2 colunas: texto (1fr) + coluna fixa para o rádio */
.svc-row{
  display:grid;
  grid-template-columns: 1fr 40px; /* <- garante mesma posição para todos os círculos */
  align-items:center;
  gap:12px;
  padding:16px;
  border-bottom:1px solid #f0f0f0;
  cursor:pointer;
  line-height:1.15;
}
.svc-row:last-child{ border-bottom:0; }

.svc-left{
  display:grid;
  gap:4px;
  min-width:0;             /* evita estourar a linha */
}
.svc-name{
  font-weight:600;
  font-size:1.02rem;
  color:#0f172a;
  word-break:break-word;   /* nomes grandes quebram bonitinho */
}
.svc-muted{
  font-size:.95rem;
  color:#6b7280;
}

/* Rádio sempre na mesma coluna e centralizado verticalmente */
.svc-radio{
  justify-self:center;     /* centraliza na coluna dos 40px */
  width:20px;
  height:20px;
  margin:0;                /* removemos margens que deslocavam o círculo */
  accent-color:#111827;    /* cor do check */
  cursor:pointer;
}

.svc-actions{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  padding:12px;
  border-top:1px solid #eee;
  background:#fff;
}
.svc-btn{ padding:12px 16px; border-radius:12px; font-weight:700; cursor:pointer; border:0; }
.svc-btn-ghost{ background:#f2f4f7; color:#111827; }
.svc-btn-dark{ background:#111827; color:#fff; }

@media (max-width:420px){
  .svc-name{ font-size:1rem; }
  .svc-muted{ font-size:.9rem; }
}