/* No TOPO do seu public/css/admin_custom_styles.css ou styles.css */

/* ----------------------------------------------------------------------------
   1. DECLARAÇÃO DAS FONTES AVENIR (AJUSTE OS NOMES DOS ARQUIVOS E PESOS!)
   Certifique-se de que você tem os arquivos de fonte na pasta public/fonts/ (ou onde estiverem)
   e que os caminhos e nomes abaixo estão corretos.
   --------------------------------------------------------------------------- */
@font-face {
    font-family: 'Avenir Light'; /* Nome que você vai usar no CSS */
    src: url('../fonts/AvenirLTStd-Light.woff2') format('woff2'), /* Ex: Caminho/NomeDoSeuArquivo-Light.woff2 */
         url('../fonts/AvenirLTStd-Light.woff') format('woff');   /* Ex: Caminho/NomeDoSeuArquivo-Light.woff */
    font-weight: 300; /* Peso comum para "Light" */
    font-style: normal;
    font-display: swap; 
}

@font-face {
    font-family: 'Avenir Book'; /* Nome que você vai usar no CSS */
    src: url('../fonts/AvenirLTStd-Book.woff2') format('woff2'), 
         url('../fonts/AvenirLTStd-Book.woff') format('woff');
    font-weight: 400; /* Peso comum para "Book" ou "Regular" */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Roman'; /* Se for diferente do Book/Regular */
    src: url('../fonts/AvenirLTStd-Roman.woff2') format('woff2'),
         url('../fonts/AvenirLTStd-Roman.woff') format('woff');
    font-weight: 500; /* Ou 400, dependendo da sua fonte Avenir específica */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Heavy'; /* Nome que você vai usar no CSS */
    src: url('../fonts/AvenirLTStd-Heavy.woff2') format('woff2'),
         url('../fonts/AvenirLTStd-Heavy.woff') format('woff');
    font-weight: 700; /* Peso comum para "Heavy" ou "Bold" */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Black'; /* Nome que você vai usar no CSS */
    src: url('../fonts/AvenirLTStd-Black.woff2') format('woff2'),
         url('../fonts/AvenirLTStd-Black.woff') format('woff');
    font-weight: 900; /* Peso comum para "Black" ou "ExtraBold" */
    font-style: normal;
    font-display: swap;
}
/* --- FIM DA DECLARAÇÃO DAS FONTES --- */


/* ----------------------------------------------------------------------------
   2. DEFINIÇÃO DAS VARIÁVEIS GLOBAIS (CORES E FONTES)
 --------------------------------------------------------------------------- */
:root {
    /* Suas Cores MasterClassic */
    --masterclassic-vermelho: #E41D2A;
    --masterclassic-vermelho-hover: #c01722; 
    --masterclassic-vermelho-borda: #b3151f;
    --masterclassic-vermelho-fundo-leve: #fdecea; 
    --masterclassic-cinza: #A5A7A9; 
    --masterclassic-texto-sobre-vermelho: #FFFFFF;
    --masterclassic-texto-sobre-cinza: #2c3033; 
    --masterclassic-cinza-claro-bg: #f0f2f5;
    --masterclassic-cinza-escuro-texto: #343a40;

    /* --- VARIÁVEIS DE TIPOGRAFIA AVENIR MASTERCLASSIC --- */
    /* Os nomes aqui ('Avenir Light', etc.) PRECISAM bater com os font-family dos @font-face acima */
    /* O 'Inter', sans-serif são fallbacks caso a Avenir não carregue. */
    --font-avenir-light: 'Avenir Light', 'Inter', sans-serif;
    --font-avenir-book: 'Avenir Book', 'Inter', sans-serif; 
    --font-avenir-regular: 'Avenir Roman', 'Inter', sans-serif; /* Ou 'Avenir Book' se for o seu "regular" padrão */
    --font-avenir-heavy: 'Avenir Heavy', 'Inter', sans-serif;
    --font-avenir-black: 'Avenir Black', 'Inter', sans-serif;
    /* --- FIM DAS VARIÁVEIS DE TIPOGRAFIA AVENIR --- */

    /* Sobrescrevendo variáveis do EasyAdmin ou Bootstrap com suas fontes e cores (EXEMPLOS) */
    --font-family-sans-serif: var(--font-avenir-regular); /* Define a Avenir Regular como fonte padrão */
    --font-family-base: var(--font-avenir-regular);      /* Define a Avenir Regular como fonte padrão */
    
    --color-primary: var(--masterclassic-vermelho); /* Cor primária do tema EasyAdmin */
    --text-on-primary: var(--masterclassic-texto-sobre-vermelho);

    --bs-primary: var(--masterclassic-vermelho); /* Cor primária do Bootstrap */
    --bs-primary-rgb: 228, 29, 42; 
    --bs-link-color: var(--masterclassic-vermelho);
    --bs-link-hover-color: var(--masterclassic-vermelho-hover);
}

:root {
    --primary-color: #E41D2A;
    --primary-color-dark: #0056b3;
    --secondary-color: #6c757d;
    --text-color: #1F2937; 
    --light-text-color: #6B7280;
    --background-color: #F9FAFB; 
    --input-border-color: #D1D5DB;
    --input-focus-border-color: var(--primary-color); 
    --card-background: #FFFFFF;
    --sidebar-background: #111827;
    --sidebar-text-color: #D1D5DB;
    --sidebar-active-color: var(--primary-color);
    --danger-color: #EF4444;
    --success-color: #10B981;
    --card-border-radius: 12px; 
    --card-shadow: 0 4px 12px rgba(0,0,0,0.08);
    --card-hover-shadow: 0 6px 16px rgba(0,0,0,0.12);
    --range-track-bg: #e9ecef;
    --range-thumb-bg: var(--primary-color);

    --sidebar-red: #e41d29;
    --sidebar-red-hover: rgb(204, 36, 47);
    --sidebar-red-disabled: #E41D2A;
    --link-red: #e41d29;
    --btn-primary-bg: #e01c28;
    --btn-primary-hover: rgb(204, 36, 47);
    --btn-primary-disabled: #E41D2A;
    --btn-option-selected-bg: rgb(204, 36, 47);
    --btn-option-hover-bg: #F3F4F6;
    --btn-option-hover-border: #9CA3AF;
    --placeholder-color: #A1A1AA;
    --summary-title: #e41d29;
    --modal-border: rgba(0,0,0,.2);
    --modal-header-border: #dee2e6;
    --modal-close: #000;
    --modal-close-shadow: #fff;
    --coverage-box-bg: #f8f9fa;
    --coverage-box-border: #e9ecef;
    --summary-section-border: #E5E7EB;
    --summary-section-divider: #eee;
}

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

body {
    font-family: 'Inter', sans-serif; background-color: var(--background-color);
    color: var(--text-color); line-height: 1.6; display: flex;
    min-height: 100vh; overflow-x: hidden;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a{
    color: var(--link-red) !important;
}

.preload-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(255, 255, 255, 0.95); z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    opacity: 1; visibility: visible; transition: opacity 0.3s ease, visibility 0.3s ease;
}
.preload-overlay.hidden { opacity: 0; visibility: hidden; }
.spinner {
    border: 4px solid rgba(0,0,0,0.1); width: 40px; height: 40px;
    border-radius: 50%; border-left-color: var(--link-red);
    animation: spin 0.8s linear infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.page-container { display: flex; width: 100%; }

.sidebar {
    width: 280px; background-color: var(--sidebar-red);
    color: #fff; padding: 30px 20px;
    display: flex; flex-direction: column; height: 100vh;
    position: fixed; top: 0; left: 0; border-right: 1px solid #374151;
    z-index: 101;
}
.sidebar .logo { max-width: 150px; margin: 0 auto 40px auto; display: block; }
.step-indicator-list { list-style: none; width: 100%; }
.step-indicator-item {
    display: flex; align-items: center; padding: 10px 15px;
    margin-bottom: 8px; border-radius: var(--card-border-radius);
    font-weight: 500; color: #fff; transition: background-color 0.2s ease, color 0.2s ease;
}
.step-indicator-item .num {
    width: 24px; height: 24px; border: 2px solid #fff;
    border-radius: 50%; display: inline-flex; align-items: center;
    justify-content: center; margin-right: 12px; font-size: 0.85rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.step-indicator-item.active { color: #F9FAFB; }
.step-indicator-item.active .num {
    background-color: #fff;
    color: var(--sidebar-red);
}
.step-indicator-item.completed .num {
    background-color: var(--sidebar-active-color);
    border-color: var(--sidebar-active-color); color: #FFFFFF;
}

.content-area {
    margin-left: 280px; flex: 1; display: flex; flex-direction: column; 
    align-items: center; justify-content: flex-start; 
    padding-top: 50px; position: relative; min-height: 100vh;
}
.step-header {
    width: 100%; max-width: 700px; 
    margin-bottom: 40px; text-align: center;
}
.step-header h2 {
    font-size: 2.25rem; 
    font-weight: 700; color: var(--text-color); margin-bottom: 10px;
}
.step-header p { font-size: 1.1rem; color: var(--light-text-color); }

#vidaSeguroForm {
    width: 100%; max-width: 700px; 
    padding: 20px 20px 130px 20px; text-align: center;
}

.form-step { display: none; animation: fadeInStep 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; opacity: 0; }
.form-step.active { display: block; opacity: 1; }
@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group { margin-bottom: 6px; text-align: left; }
.form-group.focused-input, .form-group.button-group-container {
    max-width: 480px; margin-left: auto; margin-right: auto;
}
.form-group label, .text-center-label {
    display: block; margin-bottom: 8px; font-weight: 600; 
    font-size: 0.9rem; color: #374151; 
}
.text-center-label { text-align: center; }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
    width: 100%; padding: 14px 18px; 
    font-size: 1rem; color: var(--text-color);
    background-color: var(--card-background);
    border: 1px solid var(--input-border-color);
    border-radius: var(--card-border-radius);
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input::placeholder, textarea::placeholder { color: var(--placeholder-color); } 
input:focus, select:focus, textarea:focus {
    /* intentionally left blank */
}
textarea { resize: vertical; min-height: 100px; }

.button-group-options { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; justify-content: center; }
.button-group-options .btn-option { flex: 1 1 auto; min-width: 150px; }
.button-group-options.vertical { flex-direction: column; }
.button-group-options.vertical .btn-option { min-width: 100%; }


.btn {
    background-color: var(--btn-primary-bg);
    padding: 14px 28px; 
    font-size: 1rem; font-weight: 600; border-radius: var(--card-border-radius);
    border: none; cursor: pointer; transition: all 0.2s ease;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
.btn:active { transform: translateY(-1px); box-shadow: 0 2px 4px rgba(0,0,0,0.08); }

.btn-primary { background-color: var(--btn-primary-bg); color: white; }
.btn-primary:hover { background-color: var(--btn-primary-hover); }
.btn-primary:disabled { background-color: var(--btn-primary-disabled); color: #e0e0e0; cursor: not-allowed; box-shadow: none; transform: none;}
.btn-secondary { background-color: var(--card-background); color: var(--text-color); border: 1px solid var(--input-border-color); }
.btn-secondary:hover { background-color: var(--btn-option-hover-bg); border-color: var(--btn-option-hover-border);}
        
.btn-option {
    background-color: var(--card-background); color: var(--text-color);
    border: 1px solid var(--input-border-color);
}
.btn-option:hover { background-color: var(--btn-option-hover-bg); border-color: var(--btn-option-hover-border); }
.btn-option.selected {
    background-color: var(--btn-option-selected-bg); color: white;
}

.main-navigation-buttons {
    position: fixed; bottom: 0; left: 280px; right: 0;
    padding: 20px 40px; background-color: var(--card-background);
    border-top: 1px solid var(--summary-section-border); display: flex;
    justify-content: flex-end; 
    align-items: center;
    gap: 10px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.07); z-index: 100;
}
.main-navigation-buttons .btn-back { 
    margin-right: auto; 
    display: none; 
} 
        
.form-link-discreet {
    display: inline-block; 
    margin-left: 10px; 
    font-size: 0.85rem;
    color: var(--link-red);
    text-decoration: none;
    cursor: pointer;
}
.form-link-discreet:hover { text-decoration: underline; }
.form-hint-discreet {
    display: block;
    margin-top: 5px;
    font-size: 0.8rem;
    color: var(--light-text-color);
}
.form-hint-discreet .form-link-underline {
     color: var(--link-red);
    text-decoration: underline;
    cursor: pointer;
}
.form-hint-discreet .form-link-underline:hover {
    color: var(--primary-color-dark);
}

.modal-custom { 
    display: none; position: fixed; z-index: 1050;
    left: 0; top: 0; width: 100%; height: 100%;
    overflow: auto; background-color: rgba(0,0,0,0.5);
    align-items: center; justify-content: center;
}
.modal-custom.show { display: flex; }
.modal-dialog-centered-custom { display: flex; align-items: center; min-height: calc(100% - 1rem); }
.modal-content-custom {
    position: relative; display: flex; flex-direction: column;
    width: 100%; max-width: 500px; pointer-events: auto;
    background-color: var(--card-background); background-clip: padding-box;
    border: 1px solid var(--modal-border); border-radius: var(--card-border-radius);
    outline: 0; margin: .5rem; animation: fadeInModal 0.3s ease-out;
}
@keyframes fadeInModal { from { opacity:0; transform: scale(0.95) translateY(-10px); } to { opacity:1; transform: scale(1) translateY(0); } }
.modal-header-custom {
    display: flex; align-items: flex-start; justify-content: space-between;
    padding: 1rem 1rem; border-bottom: 1px solid var(--modal-header-border);
    border-top-left-radius: calc(var(--card-border-radius) - 1px);
    border-top-right-radius: calc(var(--card-border-radius) - 1px);
}
.modal-header-custom h5 { margin-bottom: 0; line-height: 1.5; font-size: 1.25rem; font-weight: 600; }
.btn-close-custom {
    padding: .5rem .5rem; margin: -.5rem -.5rem -.5rem auto;
    background: transparent; border: 0; font-size: 1.5rem; font-weight: 700;
    line-height: 1; color: var(--modal-close); text-shadow: 0 1px 0 var(--modal-close-shadow); opacity: .5; cursor: pointer;
}
.btn-close-custom:hover { opacity: .75; }
.modal-body-custom { position: relative; flex: 1 1 auto; padding: 1rem; font-size: 0.95rem; color: var(--light-text-color); }
.modal-body-custom p, .modal-body-custom ul { margin-bottom: 1rem; }
.modal-body-custom ul { padding-left: 20px; list-style-type: disc; }
.modal-body-custom p:last-child, .modal-body-custom ul:last-child { margin-bottom: 0; }

/* Estilos para Cobertura Dinâmica (Etapa 5) */
.coverage-config-section {
    background-color: var(--card-background);
    padding: 25px; border-radius: var(--card-border-radius);
    box-shadow: var(--card-shadow); margin-bottom: 20px; text-align: left;
}
.coverage-config-section h4 { font-size: 1.3rem; font-weight: 600; margin-bottom: 5px; }
.coverage-config-section small { display: block; font-size: 0.8rem; color: var(--light-text-color); margin-bottom: 15px; }

.coverage-config-section .form-label { font-weight: 500; }
.coverage-config-section .range-value-display { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); margin: 5px 0 10px 0; text-align: center; }
.coverage-config-section .form-range-focus { width: 100%; accent-color: var(--primary-color); }
.coverage-config-section .range-labels-focus { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--light-text-color); margin-top: 5px; }
.coverage-details-link { display: block; text-align: center; margin-top: 10px; font-size: 0.9rem; }
.coverage-description-box {
    background-color: var(--coverage-box-bg);
    border: 1px solid var(--coverage-box-border);
    padding: 15px;
    border-radius: 8px;
    font-size: 0.9em;
    color: var(--light-text-color);
    margin-top: 10px;
    white-space: pre-line;
}
        
.additional-coverage-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px; border: 1px solid var(--input-border-color);
    border-radius: var(--card-border-radius); margin-bottom: 15px;
}
.additional-coverage-item .info label { margin-bottom: 2px; font-weight: 600; font-size: 1rem; color: var(--text-color); }
.additional-coverage-item .info p { font-size: 0.85rem; color: var(--light-text-color); margin-bottom: 0; }
.additional-coverage-item .price-toggle { display: flex; align-items: center; }
.additional-coverage-item .price-toggle .price-add { font-size: 0.9rem; font-weight: 500; margin-right: 15px; color: var(--text-color); }
.form-switch-custom { display: inline-flex; transform: scale(0.9); } 
.form-switch-custom .form-check-input {
    width: 3em; height: 1.5em;
    background-color: #E5E7EB; border-color: #D1D5DB;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
    transition: background-color .15s ease-in-out, background-position .15s ease-in-out, border-color .15s ease-in-out;
}
.form-switch-custom .form-check-input:checked {
    background-color: var(--primary-color); 
    border-color: var(--primary-color);
}

/* Resumo (Etapa 6) */
.summary-section {
    background-color: var(--card-background); border: 1px solid var(--input-border-color);
    border-radius: var(--card-border-radius); padding: 30px;
    box-shadow: var(--card-shadow); text-align: left;
    max-width: 700px; margin: 0 auto 20px auto;
}
.summary-section h4 {
    font-size: 1.2rem; font-weight: 600; color: var(--summary-title);
    margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid var(--summary-section-divider);
}
.summary-section dl { margin-bottom: 20px; }
.summary-section dl:last-child { margin-bottom: 0; }
.summary-section dt { font-weight: 500; color: var(--light-text-color); float: left; width: 40%; clear: left; padding-right: 10px; }
.summary-section dd { margin-left: 45%; color: var(--text-color); font-weight: 600; margin-bottom: 8px; }
.summary-section .total-price-summary {
    margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--summary-section-divider);
    text-align: right; font-size: 1.4rem; font-weight: 700;
}
.summary-section .total-price-summary span { color: var(--primary-color); }

/* Termos e Aceites (Etapa 7 e 9) */
.terms-section {
    text-align: left; max-width: 700px; margin: 0 auto 30px auto;
    background-color: #fff; padding: 25px; border-radius: var(--card-border-radius);
    box-shadow: var(--card-shadow);
}
.terms-section h5 { font-weight: 600; margin-bottom: 15px; color: var(--text-color); }
.terms-section .form-check-group { margin-bottom: 15px; display: flex; align-items: flex-start; }
.terms-section .form-check-label { font-size: 0.95rem; color: var(--light-text-color); line-height: 1.4; }
.terms-section .form-check-label a { color: var(--primary-color); text-decoration: underline; }
.terms-section .form-check-input { margin-right: 10px; cursor: pointer; margin-top: 0.3em; flex-shrink: 0; width: 1.1em; height: 1.1em;accent-color: var(--primary-color)}
.final-payment-button-container { text-align: center; margin-top: 30px; }

.iti {
    width: 100%;
}
.iti__input {
    width: 100% !important;
    padding-left: 54px !important;
}
.iti--separate-dial-code .iti__selected-flag{
    width: 100%; padding: 14px 18px; 
    font-size: 1rem; color: var(--text-color);
    background-color: transparent;
    border: 1px 1px 1px  solid var(--input-border-color);
    border-radius: var(--card-border-radius);
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-error-message { color: var(--danger-color); font-size: 0.85rem; margin-top: 5px; text-align: left; }
.custom-toast {
    visibility: hidden;
    min-width: 220px;
    background-color: var(--danger-color, #EF4444);
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 16px;
    position: fixed;
    z-index: 99999;
    right:3%;
    bottom: 100px;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.4s, visibility 0.4s;
  }
  @media (max-width: 768px) {
  .custom-toast {
    bottom: 110px;
    right:3%;
    min-width: 70vw;
    max-width: 95vw;
  }
}
  .custom-toast.show {
    visibility: visible;
    opacity: 1;
  }
  .hide-step-bar {
    display: none !important;
  }
  .btn-step1-advance {
    min-width: 320px;
    padding: 14px 0 !important;
    font-size: 1.08rem;
    font-weight: 400 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }
  
  .btn-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    margin-left: 14px;
    transition: background 0.15s;
  }
  
  .btn-arrow {
    color: var(--sidebar-red, #e41d29);
    font-size: 1rem;
    font-weight: bold;
    line-height: 1;
  }
  
  /* Opcional: animação hover */
  .btn-step1-advance:hover .btn-icon-circle {
    background: #ffe5e7;
  }
/* Responsividade */
@media (max-width: 768px) {
    .sidebar {
      width: 100vw;
      height: auto;
      position: static;
      flex-direction: row;
      padding: 10px 0;
      overflow-x: auto;
      border-right: none;
      border-bottom: 1px solid #374151;
      z-index: 101;
    }
    .sidebar .logo {
      max-width: 100px;
      margin: 0 10px 0 0;
    }
    .step-indicator-list {
      display: flex;
      margin: 0;
      padding: 0;
      width: 100vw;
    }
    .step-indicator-item {
      padding: 6px 5px;
      margin-right: 2px;
      flex-direction: column;
      align-items: center;
      text-align: center;
      font-size: 0.80rem;
    }
    .content-area {
      margin-left: 0;
      padding: 16px 0 0 0;
      min-height: unset;
    }
    .step-header {
      max-width: 98vw;
      padding: 0 8px;
      margin-bottom: 18px;
    }
    #vidaSeguroForm {
      padding: 10px 0 80px 0;
      max-width: 98vw;
      width: 100vw;
      margin: 0 auto;
    }
    .form-group.focused-input, .form-group.button-group-container {
      max-width: 98vw;
      margin-left: auto;
      margin-right: auto;
      padding: 0 6px;
    }
    input[type="text"], input[type="email"], input[type="tel"], select, textarea {
      font-size: 0.98rem;
      padding: 12px 12px;
      min-width: 0;
      width: 100%;
      box-sizing: border-box;
    }
    .btn-step1-advance {
      min-width: 0;
      width: 100%;
      font-size: 1rem;
      padding: 13px 0 !important;
      border-radius: 8px;
    }
    .main-navigation-buttons {
      left: 0 !important;
      right: 0 !important;
      width: 100vw;
      padding: 10px 6px;
      box-sizing: border-box;
    }
  }




/* Estilo para quando o item está selecionado (checkbox marcado) */
#apiAssistancesContainer .list-group-item.assistance-option-item-ap:has(.api-assistance-checkbox:checked) {
    background-color: #e6f2ff; /* Um azul clarinho, por exemplo */
    border-left: 5px solid var(--primary-color, #007bff); /* Borda lateral de destaque */
}

@media (max-width: 768px) {
  .sidebar {
    width: 100vw;
    max-width: 100vw;
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
    flex-direction: column;
    padding: 10px 0 0 0;
    border-right: none;
    border-bottom: 1px solid #374151;
    z-index: 101;
    background: var(--sidebar-red);
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    align-items: center;
  }
  .sidebar .logo {
    max-width: 250px;
    margin: 0 0 4px 0;
    display: block;
  }
  .step-indicator-list {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    width: 100vw;
    margin-left: 30px;
    
    padding: 0 2px 4px 2px;
    gap: 0.5rem;
    background: transparent;
    scrollbar-width: thin;
    scrollbar-color: #e41d29 #fff;
    justify-content: flex-start;
    align-items: stretch;
  }
  .step-indicator-item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 4px 2px;
    margin: 0;
    font-size: 0.82rem;
    border-radius: 8px;
    background: none;
    transition: background 0.18s;
    border: none;
  }
  .step-indicator-item.active,
  .step-indicator-item.completed {
    background: rgba(255,255,255,0.08);
  }
  .step-indicator-item .num {
    margin-right: 0;
    margin-bottom: 2px;
    font-size: 0.89em;
    width: 22px;
    height: 22px;
  }

  .step-indicator-list::-webkit-scrollbar {
    height: 3px;
  }
  .step-indicator-list::-webkit-scrollbar-thumb {
    background: #fff2;
    border-radius: 4px;
  }
  .content-area {
    margin-left: 0;
    padding: 200px 15px 50px 15px; 
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    align-items: stretch;
  }
  .step-header,
  #vidaSeguroForm,
  .summary-section,
 
  
  .btn-step1-advance {
    min-width: 0;
    width: 100%;
    font-size: 1rem;
    padding: 13px 0 !important;
    border-radius: 8px;
  }
}
.button-group-steps{
    display:flex;
    
    
    gap: 10px;
    align-items: center;
    
  }
@media (max-width: 768px) {
  .main-navigation-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 10px 8px 12px 8px;
    box-sizing: border-box;
    background: var(--card-background);
    border-top: 1px solid var(--summary-section-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 110;
  }
  .button-group-steps{
    display:flex;
    flex-direction: row;
    width: 100%;
    gap: 10px;
    align-items: center;
    
  }
.footer-estimate-focus {
  display: flex;
  justify-content: center;
  align-items: center; /* vertical se quiser */
  font-size: 1.2rem;
  font-weight: bold;
}

  
  .main-navigation-buttons-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 8px;
    width: 100%;
  }
  .main-navigation-buttons .btn {
    flex: 1 1 0;
    min-width: 0;
    width: 48%;
    font-size: 1rem;
    padding: 13px 0;
    border-radius: 8px;
    margin: 0;
  }

  .main-navigation-buttons {
    min-width: 0;
    max-width: 100vw;
  }
  .btn-final-action{
    margin-top: 50px;
  }
}