/* Estilos base */
:root {
    --primary-color: #4caf50;
    --primary-dark: #2e7d32;
    --primary-light: #a5d6a7;
    --secondary-color: #2e7d32;
    --accent-color: #8bc34a;
    --light-color: #f1f8e9;
    --dark-color: #1b5e20;
    --text-color: #333;
    --light-text: #fff;
    --border-radius: 12px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
  
    /* Cores para categorias de IMC */
    --underweight-color: #2196f3;
    --normal-color: #4caf50;
    --overweight-color: #ff9800;
    --obese-color: #f44336;
  
    /* Cores para macronutrientes */
    --protein-color: #f44336;
    --carb-color: #ff9800;
    --fat-color: #2196f3;
  }
  
  * {
    box-sizing: border-box;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  body {
    font-family: "Poppins", sans-serif;
    background-color: #f8f9fa;
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  main {
    flex: 1;
  }
  
  .bg-primary {
    background-color: var(--primary-color) !important;
  }
  
  .bg-secondary {
    background-color: var(--secondary-color) !important;
  }
  
  .bg-accent {
    background-color: var(--accent-color) !important;
  }
  
  .text-primary {
    color: var(--primary-color) !important;
  }
  
  /* Quiz Container */
  #quiz-container {
    border: none;
    transition: var(--transition);
  }
  
  .card-body {
    padding: 2rem;
  }
  
  /* Título das perguntas */
  .card-title {
    font-size: 1.75rem;
    margin-bottom: 1.75rem;
    color: var(--dark-color);
    font-weight: 600;
    text-align: center;
  }
  
  /* Campos de formulário */
  .form-control {
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    transition: var(--transition);
    font-size: 1rem;
    box-shadow: none;
  }
  
  .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
  }
  
  /* Opções de múltipla escolha */
  .option-card {
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #fff;
  }
  
  .option-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
    border-color: var(--accent-color);
  }
  
  .option-card.selected {
    border-color: var(--primary-color);
    background-color: var(--light-color);
  }
  
  .icon-container {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    width: 100%;
  }
  
  .icon-container i {
    font-size: 3.5rem;
    color: var(--primary-color);
    transition: var(--transition);
  }
  
  .option-card:hover .icon-container i {
    transform: scale(1.1);
    color: var(--secondary-color);
  }
  
  .option-card.selected .icon-container i {
    color: var(--secondary-color);
  }
  
  .option-card h5 {
    font-size: 1.1rem;
    margin: 0;
    text-align: center;
    font-weight: 600;
  }
  
  /* Estilos para as opções de objetivo principal */
  .objective-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: rgba(240, 255, 240, 0.5);
  }
  
  .objective-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.2);
    border-color: var(--primary-color);
  }
  
  .objective-card.selected {
    border-color: var(--primary-color);
    background-color: rgba(240, 255, 240, 0.9);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
  }
  
  .objective-icon-container {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(76, 175, 80, 0.1);
    width: 100%;
    padding: 20px 0;
  }
  
  .objective-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
  }
  
  .objective-card:hover .objective-icon {
    transform: scale(1.2);
    color: var(--secondary-color);
  }
  
  .objective-card.selected .objective-icon {
    color: var(--secondary-color);
  }
  
  .objective-text {
    padding: 15px;
    text-align: center;
  }
  
  .objective-text h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: var(--dark-color);
  }
  
  /* Melhorias para checkboxes */
  .custom-checkbox {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    padding: 0.75rem 1.25rem;
    margin-bottom: 0.75rem;
  }
  
  .custom-checkbox:hover {
    background-color: var(--light-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
  }
  
  .checkbox-selected {
    background-color: var(--light-color);
    border-color: var(--primary-color);
    border-width: 2px;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 0.2rem;
    cursor: pointer;
  }
  
  .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
  }
  
  .form-check-label {
    margin-left: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
  }
  
  /* Checkboxes */
  .form-check {
    padding: 0.75rem 1.25rem;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    margin-bottom: 0.75rem;
    transition: var(--transition);
    background-color: #fff;
  }
  
  .form-check:hover {
    background-color: var(--light-color);
    border-color: var(--accent-color);
  }
  
  .form-check-input {
    margin-top: 0.3rem;
  }
  
  .form-check-label {
    margin-left: 0.5rem;
    font-weight: 500;
  }
  
  /* Descrições das opções em dispositivos móveis */
  .option-description {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.3;
  }
  
  /* Botões */
  .btn {
    border-radius: var(--border-radius);
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
  }
  
  .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
  }
  
  .btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
  }
  
  .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
  }
  
  .btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
  }
  
  .btn-lg {
    padding: 0.75rem 1.75rem;
    font-size: 1.1rem;
  }
  
  /* Barra de progresso */
  .progress {
    height: 12px;
    border-radius: 6px;
    background-color: #e9ecef;
    margin-bottom: 0.75rem;
    overflow: hidden;
  }
  
  .progress-bar {
    background-color: var(--primary-color);
    transition: width 0.5s ease;
  }
  
  #progress-text {
    font-size: 0.9rem;
    color: #6c757d;
  }
  
  /* Seções de resultado - REDUZIDAS */
  .result-section {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
  }
  
  .result-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  }
  
  .section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--light-color);
  }
  
  .section-header i {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-right: 0.75rem;
    background-color: rgba(76, 175, 80, 0.1);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .section-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
  }
  
  /* RESUMO PESSOAL - COMPACTADO */
  .stats-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .stats-item:last-child {
    border-bottom: none;
  }
  
  .stats-item.highlight {
    border-left: 4px solid var(--primary-color);
    background-color: rgba(76, 175, 80, 0.03);
  }
  
  .stats-icon {
    width: 32px;
    height: 32px;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    flex-shrink: 0;
  }
  
  .stats-icon i {
    font-size: 1rem;
    color: var(--primary-color);
  }
  
  .stats-content {
    flex: 1;
  }
  
  .stats-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.15rem;
    line-height: 1.2;
  }
  
  .stats-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.15rem;
  }
  
  .stats-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 0.15rem;
  }
  
  .stats-badge.success {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(76, 175, 80, 0.2);
  }
  
  .stats-badge.warning {
    background-color: rgba(255, 152, 0, 0.1);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.2);
  }
  
  .stats-badge.info {
    background-color: rgba(33, 150, 243, 0.1);
    color: #2196f3;
    border: 1px solid rgba(33, 150, 243, 0.2);
  }
  
  /* IMC - COMPACTADO */
  .imc-container {
    display: flex;
    flex-direction: column;
  }
  
  .imc-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
  }
  
  .imc-gauge {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 0.75rem;
  }
  
  .imc-gauge-bg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
      var(--underweight-color) 0% 25%,
      var(--normal-color) 25% 50%,
      var(--overweight-color) 50% 75%,
      var(--obese-color) 75% 100%
    );
    transform: rotate(-90deg);
  }
  
  .imc-gauge-inner {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background-color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  .imc-gauge-value {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
  }
  
  .imc-gauge-label {
    font-size: 0.75rem;
    color: #666;
  }
  
  .imc-gauge-pointer {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 4px;
    background-color: #333;
    transform-origin: left center;
    border-radius: 2px;
    z-index: 2;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  }
  
  /* Adiciona uma bolinha na ponta do ponteiro para melhor visualização */
  .imc-gauge-pointer::after {
    content: "";
    position: absolute;
    right: -4px;
    top: -3px;
    width: 10px;
    height: 10px;
    background-color: #333;
    border-radius: 50%;
  }
  
  .imc-categories-bar {
    display: flex;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin: 0.75rem 0;
  }
  
  .imc-category-segment {
    height: 100%;
    flex: 1;
  }
  
  .imc-category-segment.underweight {
    background-color: var(--underweight-color);
  }
  
  .imc-category-segment.normal {
    background-color: var(--normal-color);
  }
  
  .imc-category-segment.overweight {
    background-color: var(--overweight-color);
  }
  
  .imc-category-segment.obese {
    background-color: var(--obese-color);
  }
  
  .imc-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 0.7rem;
    color: #666;
  }
  
  .imc-status-box {
    background-color: rgba(255, 152, 0, 0.1);
    border-radius: var(--border-radius);
    padding: 0.75rem;
    margin: 0.75rem 0;
    display: flex;
    align-items: center;
  }
  
  .imc-status-box i {
    font-size: 1.25rem;
    margin-right: 0.75rem;
    color: #ff9800;
  }
  
  .imc-status-box.underweight {
    background-color: rgba(33, 150, 243, 0.1);
  }
  
  .imc-status-box.underweight i {
    color: var(--underweight-color);
  }
  
  .imc-status-box.normal {
    background-color: rgba(76, 175, 80, 0.1);
  }
  
  .imc-status-box.normal i {
    color: var(--normal-color);
  }
  
  .imc-status-box.overweight {
    background-color: rgba(255, 152, 0, 0.1);
  }
  
  .imc-status-box.overweight i {
    color: var(--overweight-color);
  }
  
  .imc-status-box.obese {
    background-color: rgba(244, 67, 54, 0.1);
  }
  
  .imc-status-box.obese i {
    color: var(--obese-color);
  }
  
  .imc-status-text {
    font-size: 1rem;
    font-weight: 600;
  }
  
  .imc-description {
    margin: 0.75rem 0;
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  /* Dica de saúde */
  .health-tip {
    width: 100%;
    margin: 1rem 0;
    background-color: rgba(33, 150, 243, 0.05);
    border-radius: var(--border-radius);
    padding: 0.75rem;
    display: flex;
    align-items: flex-start;
    border-left: 4px solid #2196f3;
  }
  
  .health-tip i {
    font-size: 1.1rem;
    margin-right: 0.75rem;
    color: #2196f3;
    flex-shrink: 0;
  }
  
  .health-tip-content {
    flex: 1;
  }
  
  .health-tip-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #2196f3;
  }
  
  .health-tip-text {
    margin: 0;
    color: #555;
    line-height: 1.4;
    font-size: 0.8rem;
  }
  
  /* METABOLISMO - LAYOUT OTIMIZADO */
  .metabolism-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .metabolism-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    width: 100%;
  }
  
  .metabolism-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 0.6rem;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    height: auto;
  }
  
  .metabolism-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  }
  
  .metabolism-card.highlight {
    background-color: var(--light-color);
    border-left: 3px solid var(--primary-color);
  }
  
  .metabolism-card.accent {
    background-color: var(--primary-color);
    color: white;
  }
  
  .metabolism-icon {
    width: 32px;
    height: 32px;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.6rem;
    flex-shrink: 0;
  }
  
  .metabolism-card.accent .metabolism-icon {
    background-color: rgba(255, 255, 255, 0.2);
  }
  
  .metabolism-icon i {
    font-size: 0.9rem;
    color: var(--primary-color);
  }
  
  .metabolism-card.accent .metabolism-icon i {
    color: white;
  }
  
  .metabolism-content {
    flex: 1;
    text-align: left;
  }
  
  .metabolism-value {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
    line-height: 1.2;
  }
  
  .metabolism-label {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.2;
  }
  
  .metabolism-description {
    font-size: 0.7rem;
    color: #666;
  }
  
  .metabolism-card.accent .metabolism-description {
    color: rgba(255, 255, 255, 0.8);
  }
  
  .calorie-comparison {
    margin-top: 0.75rem;
    width: 100%;
  }
  
  .calorie-bar-container {
    margin-bottom: 0.75rem;
    width: 100%;
  }
  
  .calorie-label {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: block;
  }
  
  .calorie-bar {
    height: 24px;
    background-color: #f1f1f1;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
  }
  
  .calorie-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    font-weight: 600;
    font-size: 0.8rem;
    transition: width 1s ease-in-out;
  }
  
  /* MACRONUTRIENTES - LAYOUT OTIMIZADO */
  .macros-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
    width: 100%;
  }
  
  .macros-donut-chart {
    width: 140px;
    height: 140px;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    background-color: transparent;
  }
  
  .donut-segment {
    position: absolute;
    width: 100%;
    height: 100%;
    clip-path: circle(50%);
  }
  
  .donut-segment.protein {
    background: conic-gradient(
      var(--protein-color) 0deg,
      var(--protein-color) calc(var(--value) * 3.6deg),
      transparent calc(var(--value) * 3.6deg)
    );
    z-index: 3;
  }
  
  .donut-segment.carbs {
    background: conic-gradient(
      transparent 0deg,
      transparent calc(var(--offset) * 3.6deg),
      var(--carb-color) calc(var(--offset) * 3.6deg),
      var(--carb-color) calc((var(--offset) + var(--value)) * 3.6deg),
      transparent calc((var(--offset) + var(--value)) * 3.6deg)
    );
    z-index: 2;
  }
  
  .donut-segment.fat {
    background: conic-gradient(
      transparent 0deg,
      transparent calc(var(--offset) * 3.6deg),
      var(--fat-color) calc(var(--offset) * 3.6deg),
      var(--fat-color) calc((var(--offset) + var(--value)) * 3.6deg),
      transparent calc((var(--offset) + var(--value)) * 3.6deg)
    );
    z-index: 1;
  }
  
  .donut-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    background-color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 4;
  }
  
  .donut-center span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
  }
  
  .donut-center small {
    font-size: 0.75rem;
    color: #666;
  }
  
  /* Legenda dos macronutrientes */
  .macros-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0.75rem 0;
    width: 100%;
  }
  
  .macro-legend-item {
    display: flex;
    align-items: center;
  }
  
  .macro-legend-color {
    width: 12px;
    height: 12px;
    border-radius: 4px;
    margin-right: 0.35rem;
  }
  
  .macro-legend-color.protein {
    background-color: var(--protein-color);
  }
  
  .macro-legend-color.carbs {
    background-color: var(--carb-color);
  }
  
  .macro-legend-color.fat {
    background-color: var(--fat-color);
  }
  
  .macros-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    width: 100%;
  }
  
  .macro-detail-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 0.6rem;
    display: flex;
    align-items: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
  }
  
  .macro-detail-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  }
  
  .macro-detail-card.protein {
    border-left: 4px solid var(--protein-color);
  }
  
  .macro-detail-card.carbs {
    border-left: 4px solid var(--carb-color);
  }
  
  .macro-detail-card.fat {
    border-left: 4px solid var(--fat-color);
  }
  
  .macro-detail-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.6rem;
    flex-shrink: 0;
  }
  
  .macro-detail-card.protein .macro-detail-icon {
    background-color: rgba(244, 67, 54, 0.1);
  }
  
  .macro-detail-card.carbs .macro-detail-icon {
    background-color: rgba(255, 152, 0, 0.1);
  }
  
  .macro-detail-card.fat .macro-detail-icon {
    background-color: rgba(33, 150, 243, 0.1);
  }
  
  .macro-detail-icon i {
    font-size: 1.1rem;
  }
  
  .macro-detail-card.protein .macro-detail-icon i {
    color: var(--protein-color);
  }
  
  .macro-detail-card.carbs .macro-detail-icon i {
    color: var(--carb-color);
  }
  
  .macro-detail-card.fat .macro-detail-icon i {
    color: var(--fat-color);
  }
  
  .macro-detail-content {
    flex: 1;
  }
  
  .macro-detail-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.1rem;
    line-height: 1.2;
  }
  
  .macro-detail-label {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 0.1rem;
  }
  
  .macro-detail-percent {
    font-size: 0.8rem;
    font-weight: 600;
  }
  
  .macro-detail-card.protein .macro-detail-percent {
    color: var(--protein-color);
  }
  
  .macro-detail-card.carbs .macro-detail-percent {
    color: var(--carb-color);
  }
  
  .macro-detail-card.fat .macro-detail-percent {
    color: var(--fat-color);
  }
  
  /* PLANO ALIMENTAR - LAYOUT OTIMIZADO */
  .meal-plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    width: 100%;
  }
  
  .meal-plan-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 0.6rem;
    display: flex;
    align-items: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-left: 3px solid var(--primary-color);
    height: 100%;
  }
  
  .meal-plan-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    background-color: var(--light-color);
  }
  
  .meal-icon {
    width: 32px;
    height: 32px;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.6rem;
    flex-shrink: 0;
  }
  
  .meal-icon i {
    font-size: 1.1rem;
    color: var(--primary-color);
  }
  
  .meal-content {
    flex: 1;
  }
  
  .meal-content h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
  }
  
  .meal-content p {
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 0;
    line-height: 1.3;
  }
  
  /* Resultados */
  .results-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }
  
  /* Cabeçalho dos resultados - COMPACTADO */
  .results-header {
    text-align: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .user-avatar {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.75rem;
  }
  
  .user-avatar i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.35rem;
  }
  
  .user-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
  }
  
  .results-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.35rem;
  }
  
  .results-subtitle {
    font-size: 0.9rem;
    color: #666;
  }
  
  /* Menu de navegação rápida - COMPACTADO */
  .results-nav {
    width: 100%;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    background-color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.35rem;
  }
  
  .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0.35rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    flex: 1;
  }
  
  .nav-item i {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: #666;
    transition: var(--transition);
  }
  
  .nav-item span {
    font-size: 0.7rem;
    color: #666;
    transition: var(--transition);
  }
  
  .nav-item:hover {
    background-color: var(--light-color);
  }
  
  .nav-item:hover i,
  .nav-item:hover span {
    color: var(--primary-color);
  }
  
  .nav-item.active {
    background-color: var(--light-color);
  }
  
  .nav-item.active i,
  .nav-item.active span {
    color: var(--primary-color);
    font-weight: 600;
  }
  
  /* Oferta - COMPACTADA */
  .offer-section {
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
  }
  
  .offer-badge {
    position: absolute;
    top: -12px;
    right: 15px;
    background: #ff5722;
    color: white;
    font-weight: bold;
    padding: 3px 12px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transform: rotate(5deg);
    font-size: 0.8rem;
  }
  
  .offer-card {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
  }
  
  .offer-card::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
  }
  
  .offer-card::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
  }
  
  .offer-header {
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
  }
  
  .offer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 0.35rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  
  .offer-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.75rem;
  }
  
  .price-container {
    text-align: center;
    margin: 1rem 0;
    position: relative;
    z-index: 1;
  }
  
  .price-tag {
    font-size: 2rem;
    font-weight: bold;
    color: var(--light-text);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: inline-block;
    position: relative;
  }
  
  .price-tag::before {
    content: "";
    position: absolute;
    height: 3px;
    width: 110%;
    background-color: rgba(255, 255, 255, 0.3);
    bottom: -5px;
    left: -5%;
    border-radius: 2px;
  }
  
  .price-description {
    margin-top: 0.35rem;
    font-size: 0.9rem;
    opacity: 0.9;
  }
  
  .features-container {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin: 1rem 0;
    position: relative;
    z-index: 1;
  }
  
  .features-title {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.95);
  }
  
  .feature-columns {
    display: flex;
    flex-wrap: wrap;
  }
  
  .feature-column {
    flex: 1 1 50%;
    min-width: 250px;
  }
  
  .feature-item {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    padding-left: 5px;
    font-size: 0.85rem;
  }
  
  .feature-item i {
    color: var(--light-color);
    margin-right: 8px;
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
  }
  
  .cta-container {
    text-align: center;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
  }
  
  .btn-cta {
    background-color: white;
    color: var(--primary-color);
    font-weight: bold;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    background-color: #f8f9fa;
  }
  
  .btn-cta i {
    margin-right: 8px;
  }
  
  .guarantee-text {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    opacity: 0.8;
  }
  
  /* Animações */
  .fade-in {
    animation: fadeIn 0.5s ease-in;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  .slide-in {
    animation: slideIn 0.5s ease-out;
  }
  
  @keyframes slideIn {
    from {
      transform: translateY(30px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  /* Animação de pulso para seleção de opções */
  .pulse-animation {
    animation: pulse 0.3s ease-in-out;
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
    100% {
      transform: scale(1);
    }
  }
  
  /* Animação de pulso para quando o usuário selecionar uma opção */
  @keyframes objective-pulse {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
    100% {
      transform: scale(1);
    }
  }
  
  .objective-pulse {
    animation: objective-pulse 0.4s ease-in-out;
  }
  
  /* Estilos para o loader animado */
  .loader-container {
    padding: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .loader-animation {
    position: relative;
    margin: 0 auto;
    width: 180px;
  }
  
  .loader-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: pulse-glow 2s infinite alternate;
  }
  
  .loader-progress-bar {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin: 0.75rem auto;
    width: 100%;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  .loader-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0%;
    transition: width 0.8s ease;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
  }
  
  .loader-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.35rem;
    animation: fade-in-out 2s infinite alternate;
    font-size: 1.25rem;
  }
  
  .loader-message {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
  }
  
  .loader-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
  }
  
  .loader-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    background-color: #f8f9fa;
    width: 130px;
    opacity: 0.6;
    transition: all 0.5s ease;
  }
  
  .loader-step.active {
    background-color: var(--light-color);
    opacity: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px) scale(1.05);
  }
  
  .loader-step i {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.35rem;
  }
  
  .loader-step span {
    font-size: 0.75rem;
    text-align: center;
    color: #555;
  }
  
  @keyframes pulse-glow {
    0% {
      text-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
      transform: scale(1);
    }
    100% {
      text-shadow: 0 0 20px rgba(76, 175, 80, 0.7);
      transform: scale(1.1);
    }
  }
  
  @keyframes fade-in-out {
    0% {
      opacity: 0.8;
    }
    100% {
      opacity: 1;
    }
  }
  
  /* Responsividade */
  @media (max-width: 991px) {
    .card-body {
      padding: 1.5rem;
    }
  
    .results-title {
      font-size: 1.5rem;
    }
  
    .section-header h2 {
      font-size: 1.2rem;
    }
  
    .stats-value {
      font-size: 1.2rem;
    }
  
    .imc-gauge {
      width: 130px;
      height: 130px;
    }
  }
  
  @media (max-width: 768px) {
    .card-body {
      padding: 1.25rem;
    }
  
    .metabolism-cards,
    .macros-details,
    .meal-plans-container {
      grid-template-columns: 1fr;
    }
  
    .macros-container {
      grid-template-columns: 1fr;
    }
  
    .results-nav {
      overflow-x: auto;
      justify-content: flex-start;
      padding: 0.35rem;
      margin-bottom: 0.75rem;
    }
  
    .nav-item {
      min-width: 65px;
      padding: 0.4rem;
    }
  
    .nav-item i {
      font-size: 1rem;
      margin-bottom: 0.2rem;
    }
  
    .nav-item span {
      font-size: 0.65rem;
    }
  }
  
  @media (max-width: 575px) {
    .card-body {
      padding: 1rem;
    }
  
    .card-title {
      font-size: 1.4rem;
      margin-bottom: 1.25rem;
    }
  
    .results-header {
      margin-bottom: 1rem;
      padding-bottom: 0.75rem;
    }
  
    .user-avatar i {
      font-size: 2rem;
    }
  
    .results-title {
      font-size: 1.3rem;
    }
  
    .results-subtitle {
      font-size: 0.85rem;
    }
  
    .result-section {
      padding: 0.75rem;
      margin-bottom: 0.75rem;
    }
  
    .section-header {
      padding-bottom: 0.5rem;
      margin-bottom: 0.75rem;
    }
  
    .section-header i {
      font-size: 1rem;
      width: 28px;
      height: 28px;
      margin-right: 0.5rem;
    }
  
    .section-header h2 {
      font-size: 1.1rem;
    }
  
    .stats-item {
      padding: 0.5rem;
    }
  
    .stats-icon {
      width: 28px;
      height: 28px;
      margin-right: 0.5rem;
    }
  
    .stats-icon i {
      font-size: 0.9rem;
    }
  
    .stats-value {
      font-size: 1.1rem;
    }
  
    .stats-label {
      font-size: 0.8rem;
    }
  
    .stats-badge {
      font-size: 0.65rem;
      padding: 0.1rem 0.4rem;
    }
  
    .imc-gauge {
      width: 120px;
      height: 120px;
    }
  
    .imc-gauge-value {
      font-size: 1.2rem;
    }
  
    .imc-gauge-label {
      font-size: 0.65rem;
    }
  
    .meal-plan-card {
      padding: 0.6rem;
      margin-top: 0px !important;
      margin-bottom: 0px !important;
    }
  
    .meal-icon {
      width: 32px;
      height: 32px;
      margin-right: 0.6rem;
    }
  
    .offer-card {
      padding: 1rem;
    }
  
    .btn {
      width: 100%;
    }
  }
  
  @media (max-width: 359px) {
    .meal-plan-card {
      padding: 0.5rem;
    }
  
    .meal-icon {
      width: 28px;
      height: 28px;
      margin-right: 0.5rem;
    }
  
    .offer-card {
      padding: 0.75rem;
    }
  
    .offer-title {
      font-size: 1.3rem;
    }
  
    .price-tag {
      font-size: 1.75rem;
    }
  }
  
  