/* ====================================
   COMPONENTES REUTILIZÁVEIS
   ==================================== */

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-header::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--gold);
    margin-bottom: 1.5rem;
    position: relative;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.35);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.section-header p {
    color: var(--silver-light);
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Botões */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 40px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold-dark));
    color: var(--black);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    box-shadow:
        0 8px 25px rgba(255, 215, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 15px 35px rgba(255, 215, 0, 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary i {
    position: relative;
    z-index: 2;
    font-size: 1.3rem;
}

.btn-primary span {
    position: relative;
    z-index: 2;
}

.btn-saiba-mais {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 2rem;
    padding: 15px 30px;
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    animation: bounceDown 2s infinite;
}

.btn-saiba-mais i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-saiba-mais:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-5px);
}

.btn-saiba-mais:hover i {
    transform: translateY(3px);
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* Cards */
.servico-card,
.avaliacao-card,
.contato-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(17, 17, 17, 0.8));
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.25);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.servico-card::before,
.avaliacao-card::before,
.contato-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--silver));
}

.servico-card:hover,
.avaliacao-card:hover,
.contato-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--gold);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(255, 215, 0, 0.4);
}

/* Ícones dos cards */
.servico-icon,
.contato-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.4s ease;
    position: relative;
    box-shadow:
        0 10px 20px rgba(255, 215, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.contato-icon {
    width: 120px;
    height: 120px;
}

.servico-icon::before,
.contato-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, var(--gold), var(--silver));
    border-radius: 50%;
    opacity: 0;
    z-index: -1;
    filter: blur(10px);
    transition: opacity 0.3s ease;
}

.servico-card:hover .servico-icon,
.contato-card:hover .contato-icon {
    transform: scale(1.15) rotate(10deg);
}

.contato-card:hover .contato-icon {
    transform: scale(1.15) rotate(360deg);
}

.servico-card:hover .servico-icon::before,
.contato-card:hover .contato-icon::before {
    opacity: 1;
}

.servico-icon i {
    font-size: 2.5rem;
    color: var(--black);
    position: relative;
    z-index: 2;
}

.contato-icon i {
    font-size: 3.5rem;
    color: var(--black);
    position: relative;
    z-index: 2;
}

/* Stars */
.stars {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 5px;
}

.stars i {
    color: var(--gold);
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.6));
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white);
    padding: 18px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 700;
    box-shadow:
        0 8px 25px rgba(37, 211, 102, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    z-index: 999;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
    }
}

.whatsapp-float:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    transform: translateY(-5px) scale(1.1);
    animation: none;
}

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

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--black);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}
