/* =============================================
   STYLE.CSS — Site Terapeuta Premium
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Montserrat:wght@300;400;600&display=swap');

/* ========================
   VARIÁVEIS GLOBAIS
   ======================== */
:root {
    --gold: #c5a059;
    --gold-dark: #8e6d2f;
    --dark-bg: #0f0f0f;
    --glass: rgba(15, 15, 15, 0.85);
    --border: rgba(197, 160, 89, 0.2);
    --text-light: #ccc;
    --white: #fff;
}

/* ========================
   SPLASH SCREEN
   ======================== */
#splash-screen {
    position: fixed;
    inset: 0;
    background: #0f0f0f;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.splash-logo {
    width: clamp(240px, 45vw, 420px);
    animation: splashLogoIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    opacity: 0;
}

@keyframes splashLogoIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }

    60% {
        opacity: 1;
        transform: scale(1.04) translateY(-4px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Barra de progresso dourada */
.splash-bar {
    width: 180px;
    height: 2px;
    background: rgba(197, 160, 89, 0.2);
    border-radius: 99px;
    overflow: hidden;
    position: relative;
}

.splash-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    border-radius: 99px;
    animation: splashBar 2s ease forwards;
    animation-delay: 0.3s;
}

@keyframes splashBar {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* ========================
   RESET BÁSICO
   ======================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========================
   WRAPPER PRINCIPAL
   ======================== */
#premium-hybrid-site {
    background: var(--dark-bg);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
}

/* ========================
   SEÇÕES STICKY
   ======================== */
.sticky-layer {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* ========================
   SEÇÕES NORMAIS
   ======================== */
.normal-layer {
    position: relative;
    min-height: 80vh;
    padding: 100px 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background: var(--dark-bg);
}

/* ========================
   BACKGROUNDS DE SEÇÃO
   ======================== */
.layer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
    z-index: 0;
}

/* ========================
   CARDS PREMIUM (GLASS)
   ======================== */
.premium-card {
    position: relative;
    z-index: 5;
    width: 90%;
    max-width: 1200px;
    padding: 60px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.full-card {
    grid-column: 1 / -1;
    text-align: center;
}

/* ========================
   TIPOGRAFIA
   ======================== */
h1,
h2,
h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    margin-bottom: 20px;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
}

h3 {
    font-size: 1.2rem;
    color: var(--white);
    margin-top: 15px;
}

p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* ========================
   IMAGENS
   ======================== */
.img-frame {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 25px;
    border: 1px solid var(--gold);
    transition: transform 0.5s ease;
    display: block;
}

.img-frame:hover {
    transform: scale(1.02);
}

/* ========================
   BOTÃO DOURADO
   ======================== */
.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    margin-top: 25px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.btn-gold:hover {
    opacity: 0.85;
    transform: translateY(-3px);
}

/* ========================
   GRID DE SERVIÇOS
   ======================== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
    margin-top: 15px;
}

.service-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px 20px;
    border-radius: 20px;
    border: 1px solid var(--border);
    text-align: center;
    transition: background 0.3s ease, transform 0.3s ease;
}

.service-item:hover {
    background: rgba(197, 160, 89, 0.07);
    transform: translateY(-5px);
}

.service-item i {
    font-size: 2rem;
    color: var(--gold);
}

/* ========================
   SEÇÃO DE CITAÇÃO
   ======================== */
.quote-section {
    background: #FAF7F2;
    /* Bege opaco — cobre as seções sticky */
    z-index: 11;
}

.quote-text {
    font-size: clamp(1.4rem, 3vw, 3rem);
    font-style: italic;
    color: var(--gold) !important;
    margin-bottom: 20px;
}

.quote-author {
    color: #8e6d2f !important;
    letter-spacing: 5px;
    font-size: 1rem;
    font-weight: 600;
}

/* ========================
   DEPOIMENTO / TESTIMONIAL
   ======================== */
.testimonial {
    border-left: 3px solid var(--gold);
    padding-left: 25px;
}

.testimonial p {
    font-style: italic;
    font-size: 1.15rem;
}

.testimonial strong {
    color: var(--gold);
    display: block;
    margin-top: 15px;
    font-size: 1rem;
}

/* ========================
   SECCIÓN DE CONTACTO
   ======================== */
.contact-section {
    background: #000;
}

.contact-photo {
    margin-top: 40px;
}

.contact-photo img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    transition: transform 0.4s ease;
}

.contact-photo img:hover {
    transform: scale(1.05);
}

/* ========================
   FORMULARIO
   ======================== */
.form-section {
    background: var(--dark-bg);
}

.contact-form {
    width: 100%;
    max-width: 800px;
    margin: 30px auto 0;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-full {
    margin-bottom: 20px;
}

.contact-form label {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
    width: 100%;
}

.contact-form select option {
    background: #1a1a1a;
    color: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
    background: rgba(197, 160, 89, 0.06);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.btn-form {
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.form-disclaimer {
    margin-top: 15px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
    color: var(--gold);
}

.form-success i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.form-success p {
    color: var(--white);
    font-size: 1.1rem;
}

/* ========================
   MAPA + FORMULARIO (LADO A LADO)
   ======================== */
.map-form-section {
    background: var(--dark-bg);
}

.map-form-card {
    grid-template-columns: 1fr 1fr !important;
    align-items: flex-start;
    gap: 50px;
}

.map-col,
.form-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.map-wrapper {
    width: 100%;
    margin-top: 15px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    flex: 1;
}

.map-wrapper iframe {
    width: 100%;
    height: 380px;
    border: none;
    display: block;
    filter: grayscale(30%) contrast(1.1);
}

/* ========================
   FOOTER
   ======================== */
.site-footer {
    background: #000;
    text-align: center;
    padding: 25px 20px;
    border-top: 1px solid var(--border);
}

.site-footer p {
    color: rgba(197, 160, 89, 0.6);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* ========================
   BOTÓN FLOTANTE WHATSAPP
   ======================== */
.wpp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-size: 2rem;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    animation: wppPulse 2s infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wpp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7);
    animation: none;
}

@keyframes wppPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }

    50% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ========================
   RESPONSIVIDADE (MOBILE)
   ======================== */
@media (max-width: 992px) {

    /* Mantém sticky nas 2 primeiras seções no mobile */
    .sticky-layer {
        position: sticky;
        height: 100vh;
    }

    /* Cards em coluna única */
    .premium-card {
        grid-template-columns: 1fr;
        padding: 40px 25px;
        text-align: center;
    }

    /* Imagem vai pro topo */
    .img-frame {
        height: 220px;
        order: -1;
    }

    /* Serviços em coluna única */
    .service-grid {
        grid-template-columns: 1fr;
    }

    /* Testimonial centralizado */
    .testimonial {
        border-left: none;
        border-top: 3px solid var(--gold);
        padding-left: 0;
        padding-top: 25px;
    }

    /* Quote menor */
    .quote-text {
        font-size: 1.4rem;
    }

    /* Formulario en columna única */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Mapa + Formulario apilados */
    .map-form-card {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .normal-layer {
        padding: 60px 4%;
    }

    .premium-card {
        padding: 30px 20px;
        border-radius: 25px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .btn-gold {
        padding: 14px 30px;
        font-size: 0.9rem;
    }
}