:root {
    --primary-color: #032515; /* Verde muito escuro */
    --accent-color: #188D44; /* Verde vibrante */
    --accent-dark: #0F6B38;
    --text-dark: #1A1A1A;
    --text-light: #FFFFFF;
    --bg-white: #FFFFFF;
}

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

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

/* -------------------------------------
   SPLIT LAYOUT - DESKTOP 
-------------------------------------- */
.split-layout {
    display: flex;
    min-height: 100vh;
    width: 100vw;
}

/* Painel Esquerdo (Textos) */
.panel-left {
    flex: 0 0 45%; /* Ocupa 45% da tela no desktop */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 6rem;
    position: relative;
    z-index: 10;
    background-color: var(--bg-white);
}

.content-wrapper {
    max-width: 500px;
    margin-left: auto; /* Alinha o texto mais perto do corte */
    margin-right: 2rem;
}

.logo {
    max-width: 280px;
    margin-bottom: 3rem;
}

.main-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.05;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.main-title .highlight {
    color: var(--accent-color);
}

.ekg-divider {
    width: 100%;
    max-width: 300px;
    height: 40px;
    margin: 2rem 0;
}

.pulse-svg {
    width: 100%;
    height: 100%;
}

@keyframes drawPulse {
    from { stroke-dashoffset: 1000; }
    to { stroke-dashoffset: 0; }
}

.pulse-svg path {
    stroke-dasharray: 1000;
    animation: drawPulse 4s infinite linear;
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.features-list {
    list-style: none;
}

.features-list li {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: var(--primary-color);
    text-transform: uppercase;
}

.features-list li i {
    color: var(--accent-color);
    font-size: 1.8rem;
    width: 30px;
    text-align: center;
}

/* Painel Direito (Imagem + Contato) */
.panel-right {
    flex: 1;
    position: relative;
    background-color: var(--primary-color);
    /* Um corte em S ou diagonal usando clip-path */
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
    display: flex;
    flex-direction: column;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.8; /* Suave blend */
    z-index: 1;
}

/* Overlay gradient na imagem para destacar o texto de baixo */
.panel-right::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, var(--primary-color) 0%, transparent 100%);
    z-index: 2;
}

/* Card de Contato */
.contact-card {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    max-width: 650px;
    background-color: var(--primary-color);
    color: var(--text-light);
    display: flex;
    padding: 3rem 2.5rem;
    border-top-left-radius: 60px;
    z-index: 10;
}

.contact-phones {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-phones h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.phone-link {
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s ease;
}

.phone-link:hover {
    transform: translateX(5px);
}

.phone-link i {
    color: #25D366; /* Cor do WhatsApp */
    font-size: 2.5rem;
}

.phone-text {
    display: flex;
    flex-direction: column;
}

.phone-text .number {
    font-size: 1.4rem;
    font-weight: 800;
}

.phone-text .name {
    font-size: 0.95rem;
    font-weight: 500;
    color: #A0A0A0;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.contact-divider {
    width: 2px;
    background-color: rgba(255,255,255,0.15);
    margin: 0 2rem;
}

.contact-hours {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact-hours i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.contact-hours p {
    font-weight: 500;
    font-size: 1.1rem;
    color: #E0E0E0;
}

.contact-hours .hours {
    color: var(--accent-color);
    font-weight: 800;
    font-size: 1.2rem;
    margin-top: 0.3rem;
    text-transform: uppercase;
}

/* -------------------------------------
   RESPONSIVO (MOBILE & TABLET) 
-------------------------------------- */
@media (max-width: 1200px) {
    .panel-left {
        padding: 3rem 3rem;
        flex: 0 0 50%;
    }
    .main-title {
        font-size: 3.5rem;
    }
    .contact-card {
        padding: 2rem;
        border-top-left-radius: 40px;
    }
}

@media (max-width: 992px) {
    .split-layout {
        flex-direction: column;
    }
    
    .panel-left {
        flex: none;
        padding: 4rem 2rem;
        align-items: center;
        text-align: center;
    }
    
    .content-wrapper {
        margin: 0 auto; /* Centraliza no mobile */
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .features-list li {
        justify-content: center;
    }
    
    .panel-right {
        flex: none;
        height: auto;
        min-height: 600px;
        clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .bg-image {
        position: absolute;
        height: 100%;
    }

    .contact-card {
        position: relative;
        border-top-left-radius: 0;
        max-width: 100%;
        flex-direction: column;
        gap: 2rem;
        padding: 3rem 2rem;
    }
    
    .contact-divider {
        width: 100%;
        height: 2px;
        margin: 0;
    }
}

@media (max-width: 576px) {
    .main-title {
        font-size: 2.8rem;
    }
    
    .logo {
        max-width: 220px;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }

    .features-list li {
        font-size: 1rem;
    }
    
    .panel-right {
        min-height: 700px;
    }
}

/* -------------------------------------
   BOTOES E COMPONENTES
-------------------------------------- */
.btn-primary {
    background-color: var(--accent-color);
    color: var(--bg-white);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 800;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(24, 141, 68, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 141, 68, 0.4);
}

.btn-secondary {
    background-color: #E0E0E0;
    color: var(--text-dark);
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #CCCCCC;
}

.btn-success {
    background-color: #25D366;
    color: var(--bg-white);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 800;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-success:hover {
    background-color: #1DA851;
    transform: translateY(-2px);
}

.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.hidden { display: none !important; }

/* -------------------------------------
   MODAL DE AGENDAMENTO (WIZARD)
-------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(3, 37, 21, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    background-color: var(--bg-white);
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.btn-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #A0A0A0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.btn-close:hover {
    color: var(--text-dark);
}

.modal-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #EEEEEE;
    border-radius: 10px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--accent-color);
    width: 25%; /* Atualizado via JS */
    transition: width 0.4s ease;
}

.step {
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.input-field {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    transition: border-color 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--accent-color);
}

.input-field[readonly] {
    background-color: #F9F9F9;
    color: #888;
}

.row {
    display: flex;
    gap: 1rem;
}

.col {
    flex: 1;
}

/* Time Slots */
.time-slots-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.8rem;
}

.time-slot {
    padding: 0.8rem;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.time-slot:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.time-slot.selected {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--bg-white);
}

.time-slot.booked {
    background-color: #F0F0F0;
    color: #CCCCCC;
    border-color: #E0E0E0;
    cursor: not-allowed;
    text-decoration: line-through;
}

.text-muted {
    color: #888;
    font-size: 0.95rem;
}

/* Resumo e Cupom */
.summary-box {
    background-color: #F9F9F9;
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid #EEEEEE;
}

.summary-box p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.summary-box hr {
    border: none;
    border-top: 1px dashed #CCCCCC;
    margin: 1.5rem 0;
}

.coupon-section {
    display: flex;
    gap: 0.5rem;
}

.total-price {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
}

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