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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #ffffff;
    color: #000000;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.step {
    width: 100%;
    max-width: 500px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 20px;
    min-height: 100vh;
}

.step.hidden {
    display: none !important;
}

.logo {
    margin-bottom: 20px;
}

.title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000000;
}

.title .orange {
    color: #FF6600;
}

.title .green {
    color: #66CC00;
}

.subtitle {
    font-size: 16px;
    color: #666666;
    margin-bottom: 30px;
}

.options-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.option-btn {
    width: 100%;
    padding: 18px 20px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.option-btn:hover {
    border-color: #FF6600;
    background-color: #fff5f0;
}

.option-btn:active {
    transform: scale(0.98);
}

/* Estilos para opções com emoji */
.option-btn-with-emoji {
    width: 100%;
    padding: 15px 20px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.option-btn-with-emoji:hover {
    border-color: #FF6600;
    background-color: #fff5f0;
}

.option-btn-with-emoji:active {
    transform: scale(0.98);
}

.emoji {
    font-size: 24px;
}

.option-text {
    flex: 1;
}

/* Estilos para opções de tipo de corpo */
.body-option {
    width: 100%;
    padding: 20px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.body-option:hover {
    border-color: #FF6600;
    background-color: #fff5f0;
}

.body-option:active {
    transform: scale(0.98);
}

.body-option-text {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    flex: 1;
    text-align: left;
}

.body-option-img {
    width: 100px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.body-option-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Estilos para objetivos */
.photo-container {
    margin: 20px 0;
    width: 100%;
}

.center-photo {
    width: 100%;
    max-width: 150px;
    height: auto;
    border-radius: 12px;
}

.objective-option {
    width: 100%;
    padding: 15px 20px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.objective-option:hover {
    border-color: #FF6600;
    background-color: #fff5f0;
}

.objective-option:active {
    transform: scale(0.98);
}

.objective-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.objective-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.objective-text {
    font-size: 16px;
    color: #000000;
    flex: 1;
    text-align: left;
}

/* Estilos para opções de corpo desejado */
.body-goal-option {
    width: 100%;
    padding: 20px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.body-goal-option:hover {
    border-color: #FF6600;
    background-color: #fff5f0;
}

.body-goal-option:active {
    transform: scale(0.98);
}

.body-goal-text {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    flex: 1;
    text-align: left;
}

.body-goal-img {
    width: 100px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.body-goal-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Estilos para opções de melhorar partes do corpo */
.improve-option {
    width: 100%;
    padding: 20px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.improve-option:hover {
    border-color: #FF6600;
    background-color: #fff5f0;
}

.improve-option:active {
    transform: scale(0.98);
}

.improve-option-text {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    flex: 1;
    text-align: left;
    text-transform: uppercase;
}

.improve-option-img {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.improve-option-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

/* Estilos para opções de partes delicadas */
.delicate-option {
    width: 100%;
    padding: 15px 20px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.delicate-option:hover {
    border-color: #FF6600;
    background-color: #fff5f0;
}

.delicate-option:active {
    transform: scale(0.98);
}

.delicate-option-img {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.delicate-option-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.delicate-option-text {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    flex: 1;
    text-align: left;
}

/* Aviso */
.warning {
    margin-top: auto;
    padding: 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    font-size: 13px;
    width: 100%;
}

.warning-icon {
    font-size: 24px;
    color: #FF6600;
    flex-shrink: 0;
}

.warning-text {
    flex: 1;
    line-height: 1.5;
}

.warning-text .red {
    color: #ff0000;
}

/* Estilos para a tela final */
.final-photo-container {
    width: 100%;
    margin: 20px 0;
}

.final-photo {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
}

.final-subtitle {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin: 20px 0;
    line-height: 1.5;
}

.benefits-box {
    width: 100%;
    background-color: #f5f5f5;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    text-align: left;
}

.benefits-title {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: bold;
    font-size: 18px;
}

.benefits-list li strong {
    font-weight: bold;
}

.continue-btn {
    width: 100%;
    max-width: 300px;
    padding: 18px 30px;
    background-color: #FF6600;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.continue-btn:hover {
    background-color: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 102, 0, 0.3);
}

.continue-btn:active {
    transform: translateY(0);
}

/* Estilos para Restaura tu cuerpo */
.restore-box {
    width: 100%;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    text-align: left;
}

.restore-title {
    font-size: 20px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.4;
}

.restore-title strong {
    font-weight: bold;
}

.restore-title .orange {
    color: #FF6600;
}

/* Estilos para caixa informativa */
.info-box {
    width: 100%;
    background-color: #e8f5e9;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.info-box-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.info-title {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 10px;
}

.info-text {
    font-size: 14px;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 8px;
}

.info-text:last-child {
    margin-bottom: 0;
}

/* Estilos para input de altura */
.input-container {
    width: 100%;
    margin: 20px 0;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-arrow {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #000000;
    font-size: 18px;
    z-index: 1;
    pointer-events: none;
}

.height-input {
    width: 100%;
    padding: 15px 20px;
    padding-left: 50px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    color: #000000;
    outline: none;
    transition: all 0.3s ease;
}

.height-input:focus {
    border-color: #FF6600;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.height-input::placeholder {
    color: #999999;
}

/* Estilos para opções de adaptação */
.adapt-option {
    width: 100%;
    padding: 15px 20px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.adapt-option:hover {
    border-color: #FF6600;
    background-color: #fff5f0;
}

.adapt-option:active {
    transform: scale(0.98);
}

.adapt-option-img {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.adapt-option-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.adapt-option-text {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    flex: 1;
    text-align: left;
}

/* Estilos para etapa de pressão arterial */
.blood-pressure-content {
    width: 100%;
    text-align: left;
    margin: 20px 0;
}

.blood-pressure-title {
    font-size: 20px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blood-pressure-title .orange {
    color: #FF6600;
}

.blood-pressure-text {
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 25px;
}

.harvard-section {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 25px;
}

.harvard-logo-img {
    width: auto;
    height: auto;
    max-width: 100%;
    flex-shrink: 0;
    object-fit: contain;
}

.harvard-text-content {
    flex: 1;
}

.harvard-title-text {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 8px;
}

.harvard-details-text {
    font-size: 14px;
    color: #000000;
    line-height: 1.5;
}

/* Estilos para etapa de sono */
.sleep-content {
    width: 100%;
    text-align: left;
    margin: 20px 0;
}

.sleep-title {
    font-size: 24px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
}

.sleep-text {
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
}

/* Estilos para etapa "Ya casi" */
.almost-there {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
}

.sparkle-icon {
    font-size: 20px;
}

.almost-text {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
}

/* Estilos para página de carregamento */
#step28 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    padding: 40px 20px;
}

.loading-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
}

#step28 .logo {
    margin-bottom: 30px;
}

#step28 .title {
    margin-bottom: 30px;
    font-size: 28px;
    text-align: center;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #f0f0f0;
    border-top: 5px solid #FF6600;
    border-right: 5px solid #FF6600;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    box-shadow: 0 2px 10px rgba(255, 102, 0, 0.2);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.before-after-carousel {
    width: 100%;
    margin: 40px 0 60px 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background-color: #ffffff;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    border-radius: 16px;
}

.carousel-image.active {
    opacity: 1;
    z-index: 1;
}
