/* ========================================
   DEMANDE DE CONTACT - STYLES SPECIFIQUES
   ========================================
   Ce fichier contient les styles specifiques a la page de demande de contact.
   Il herite de la charte graphique du site parent via ../styles.css
   ======================================== */

/* ========== VARIABLES CSS SPECIFIQUES ========== */
:root {
    /* Couleurs principales (reprises du theme principal) */
    --dc-primary-color: #2563eb;
    --dc-secondary-color: #7c3aed;
    --dc-accent-color: #ec4899;
    --dc-success-color: #10b981;
    --dc-error-color: #ef4444;
    --dc-warning-color: #f59e0b;
    --dc-info-color: #06b6d4;

    /* Gradients */
    --dc-primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --dc-secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --dc-success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);

    /* Glassmorphism */
    --dc-glass-bg: rgba(255, 255, 255, 0.95);
    --dc-glass-border: rgba(255, 255, 255, 0.2);

    /* Textes */
    --dc-text-dark: #111827;
    --dc-text-light: #6b7280;
    --dc-text-lighter: #9ca3af;

    /* Autres */
    --dc-border-radius: 20px;
    --dc-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --dc-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --dc-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* ========== PROGRESS BAR ========== */
/* Se positionne juste apres la navbar du parent (environ 80px) */
.progress-container {
    background: white;
    padding: 30px 20px;
    position: fixed;
    top: 80px; /* Hauteur de la navbar du parent */
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: var(--dc-shadow);
}

.progress-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.step-line {
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
}

.step-line-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--dc-success-gradient);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
    cursor: pointer;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 3px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dc-text-lighter);
    transition: var(--dc-transition);
}

.step:hover .step-circle {
    transform: scale(1.05);
}

.step.active .step-circle {
    background: var(--dc-primary-gradient);
    border-color: transparent;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.step.completed .step-circle {
    background: var(--dc-success-color);
    border-color: var(--dc-success-color);
    color: white;
    cursor: pointer;
}

.step-label {
    font-size: 0.9rem;
    color: var(--dc-text-light);
    font-weight: 600;
}

.step.active .step-label {
    color: var(--dc-primary-color);
}

/* ========== MAIN CONTAINER ========== */
.main-container {
    max-width: 1400px;
    margin: 200px auto 40px; /* 80px navbar + 120px progress bar */
    padding: 0 20px;
}

/* ========== PHASES ========== */
.phase {
    display: none;
    animation: fadeInSlide 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.phase.active {
    display: block;
}

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

/* ========== SEARCH CONTAINER ========== */
.search-container {
    background: white;
    border-radius: var(--dc-border-radius);
    padding: 40px;
    box-shadow: var(--dc-shadow-lg);
    margin-bottom: 40px;
}

.search-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--dc-text-dark);
}

.welcome-message {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    border-left: 4px solid var(--dc-primary-color);
}

.welcome-message p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dc-text-dark);
    line-height: 1.6;
}

.commercial-notice {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    border-left: 4px solid var(--dc-warning-color);
}

.commercial-notice-title {
    font-weight: 700;
    color: #92400e;
    margin-bottom: 10px;
}

/* ========== TYPE DE BIEN ========== */
.property-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.property-type-card {
    background: white;
    border: 3px solid #e5e7eb;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--dc-transition);
    position: relative;
}

.property-type-card:hover {
    border-color: var(--dc-primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.property-type-card.selected {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    border-color: var(--dc-primary-color);
    transform: translateY(-3px);
}

.property-type-card.selected::after {
    content: '\2713';
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--dc-primary-color);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.property-type-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
    color: var(--dc-primary-color);
}

.property-type-label {
    font-weight: 600;
    color: var(--dc-text-dark);
}

/* ========== SECTEURS ========== */
.sectors-section,
.cities-section,
.budget-section {
    display: none;
    margin-bottom: 40px;
}

.sectors-section.show,
.cities-section.show,
.budget-section.show {
    display: block;
}

.sectors-grid,
.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.sector-btn,
.city-btn {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--dc-transition);
    position: relative;
    text-align: center;
}

.sector-btn:hover,
.city-btn:hover {
    border-color: var(--dc-primary-color);
    background: #f9fafb;
    transform: translateY(-2px);
}

.sector-btn.selected,
.city-btn.selected {
    background: var(--dc-primary-gradient);
    color: white;
    border-color: transparent;
}

.city-count {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-left: 5px;
}

/* ========== BUDGET ========== */
.budget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.budget-btn {
    background: white;
    border: 3px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--dc-transition);
}

.budget-btn:hover {
    border-color: var(--dc-primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.budget-btn.selected {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    border-color: var(--dc-primary-color);
}

.budget-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dc-primary-color);
    margin-bottom: 5px;
}

.budget-label {
    font-size: 0.9rem;
    color: var(--dc-text-light);
}

/* ========== GRILLE DE BIENS ========== */
.properties-container {
    display: none;
    margin-top: 40px;
}

.properties-container.show {
    display: block;
}

.properties-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 12px;
}

.properties-count {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dc-text-dark);
}

.properties-instruction {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    border: 2px solid var(--dc-primary-color);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: center;
}

.properties-instruction h3 {
    font-size: 1.3rem;
    color: var(--dc-primary-color);
    margin-bottom: 10px;
}

.properties-instruction p {
    color: var(--dc-text-dark);
    font-size: 1.1rem;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* ========== PROPERTY CARD ========== */
.property-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--dc-shadow);
    transition: var(--dc-transition);
    cursor: pointer;
    position: relative;
    border: 3px solid transparent;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--dc-shadow-lg);
}

.property-card.selected {
    border: 3px solid var(--dc-success-color);
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.1);
}

.property-selection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 10;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
}

.property-status-badge {
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    color: white;
}

.status-disponible {
    background: var(--dc-success-color);
}

.status-vendu {
    background: var(--dc-error-color);
}

.status-sous-option {
    background: var(--dc-warning-color);
}

.property-select-checkbox {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: var(--dc-transition);
}

.property-select-checkbox:hover {
    transform: scale(1.1);
}

.property-select-checkbox input {
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.property-card.selected .property-select-checkbox {
    background: var(--dc-success-color);
}

.property-card.selected .property-select-checkbox::after {
    content: '\2713';
    position: absolute;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.property-card.selected .property-select-checkbox input {
    opacity: 0;
}

.property-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.property-info {
    padding: 20px;
}

.property-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dc-text-dark);
}

.property-location {
    color: var(--dc-text-light);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dc-primary-color);
    margin-bottom: 15px;
}

.property-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
    padding: 15px;
    background: #f9fafb;
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--dc-text-dark);
}

.property-details span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.property-commercial {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
    font-size: 0.85rem;
    color: var(--dc-text-light);
}

.property-select-btn {
    width: 100%;
    padding: 12px;
    background: var(--dc-primary-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    transition: var(--dc-transition);
}

.property-select-btn:hover {
    transform: translateY(-2px);
}

.property-card.selected .property-select-btn {
    background: var(--dc-success-color);
}

/* ========== BOUTONS ========== */
.btn-show-all {
    background: var(--dc-warning-color);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    margin: 20px auto;
    display: block;
    transition: var(--dc-transition);
}

.btn-show-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

/* ========== NOT FOUND SECTION ========== */
.not-found-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 16px;
    padding: 30px;
    margin-top: 30px;
    border: 2px solid #f59e0b;
}

.not-found-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 20px;
}

.not-found-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.not-found-fields {
    display: none;
}

.not-found-fields.show {
    display: block;
}

/* ========== FORMULAIRE ========== */
.client-form-container {
    background: white;
    border-radius: var(--dc-border-radius);
    padding: 40px;
    box-shadow: var(--dc-shadow-lg);
    margin-bottom: 40px;
}

.form-section {
    margin-bottom: 40px;
}

.form-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dc-text-dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dc-text-dark);
    font-size: 1rem;
}

.form-label .required {
    color: var(--dc-error-color);
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    transition: var(--dc-transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--dc-primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    transition: var(--dc-transition);
    resize: vertical;
    min-height: 120px;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--dc-primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-radio-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.radio-button {
    position: relative;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: var(--dc-transition);
    text-align: center;
}

.radio-button:hover {
    border-color: var(--dc-primary-color);
    background: #f9fafb;
}

.radio-button input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.radio-button.selected {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    border-color: var(--dc-primary-color);
}

.radio-button.selected::after {
    content: '\2713';
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--dc-primary-color);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.radio-label {
    font-weight: 500;
    color: var(--dc-text-dark);
}

/* ========== INFO BOXES ========== */
.info-box {
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
}

.info-box.warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid var(--dc-warning-color);
}

.info-box.warning p {
    color: #92400e;
    font-weight: 600;
}

.info-box.primary {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    border-left: 4px solid var(--dc-primary-color);
}

.info-box.primary p {
    color: var(--dc-primary-color);
    font-weight: 600;
}

/* ========== LOAN SIMULATOR ========== */
.loan-results {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    border-radius: 16px;
    padding: 25px;
    margin-top: 20px;
}

.loan-results h4 {
    color: var(--dc-primary-color);
    margin-bottom: 20px;
}

.loan-details {
    background: white;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.loan-detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.loan-detail-item.warning strong {
    color: var(--dc-warning-color);
}

.loan-detail-item.total {
    padding-top: 10px;
    border-top: 2px solid #e5e7eb;
}

.loan-detail-item.total strong {
    color: var(--dc-primary-color);
    font-size: 1.2rem;
}

.loan-monthly {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.loan-monthly .label {
    color: var(--dc-text-light);
    margin-bottom: 10px;
}

.loan-monthly .amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dc-success-color);
}

.loan-monthly .info {
    color: var(--dc-text-light);
    font-size: 0.9rem;
    margin-top: 10px;
}

.loan-disclaimer {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255,255,255,0.5);
    border-radius: 8px;
}

.loan-disclaimer p {
    font-size: 0.85rem;
    color: var(--dc-text-dark);
    margin: 0;
}

/* ========== RGPD ========== */
.rgpd-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    border: 2px solid var(--dc-primary-color);
}

.rgpd-box input[type="checkbox"] {
    margin-top: 5px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.rgpd-box label {
    cursor: pointer;
    font-size: 1.05rem;
    line-height: 1.6;
}

.rgpd-box a {
    color: var(--dc-primary-color);
    text-decoration: underline;
}

/* ========== NAVIGATION BUTTONS ========== */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
}

.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--dc-transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-prev {
    background: #e5e7eb;
    color: var(--dc-text-dark);
}

.btn-prev:hover {
    background: #d1d5db;
    transform: translateY(-2px);
}

.btn-next, .btn-submit {
    background: var(--dc-primary-gradient);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-next:hover, .btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.btn-success {
    background: var(--dc-success-gradient);
    color: white;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ========== SUMMARY ========== */
.summary-container {
    background: white;
    border-radius: var(--dc-border-radius);
    padding: 40px;
    box-shadow: var(--dc-shadow-lg);
    margin-bottom: 40px;
}

.summary-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--dc-text-dark);
}

.summary-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e5e7eb;
}

.summary-section:last-child {
    border-bottom: none;
}

.summary-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dc-primary-color);
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    color: var(--dc-text-light);
}

.summary-value {
    font-weight: 600;
    color: var(--dc-text-dark);
}

.selected-properties-list {
    display: grid;
    gap: 20px;
    margin-top: 15px;
}

.selected-property-item {
    background: #f9fafb;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--dc-primary-color);
    display: flex;
    gap: 20px;
    align-items: center;
}

.selected-property-image {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
}

.selected-property-info {
    flex: 1;
}

.selected-property-title {
    font-weight: 600;
    color: var(--dc-text-dark);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.selected-property-details {
    font-size: 0.9rem;
    color: var(--dc-text-light);
    margin-bottom: 5px;
}

.selected-property-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dc-primary-color);
}

.btn-remove-property {
    background: var(--dc-error-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--dc-transition);
    font-weight: 600;
}

.btn-remove-property:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

/* ========== CONFIRMATION ========== */
.confirmation-container {
    background: white;
    border-radius: var(--dc-border-radius);
    padding: 60px 40px;
    box-shadow: var(--dc-shadow-lg);
    text-align: center;
    animation: bounceIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    font-size: 5rem;
    margin-bottom: 30px;
    color: var(--dc-success-color);
}

.confirmation-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dc-success-color);
    margin-bottom: 20px;
}

.confirmation-message {
    font-size: 1.2rem;
    color: var(--dc-text-light);
    margin-bottom: 40px;
}

.client-reference-box {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    border: 2px solid var(--dc-primary-color);
}

.client-reference-box span {
    font-size: 1.3rem;
    color: var(--dc-primary-color);
    font-weight: 700;
    display: block;
    margin-top: 10px;
}

.client-reference-box .note {
    margin: 10px 0 0 0;
    font-size: 0.9rem;
    color: var(--dc-text-light);
}

.notary-fees-summary {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
}

.notary-fees-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dc-text-dark);
    margin-bottom: 25px;
}

.notary-fees-grid {
    display: grid;
    gap: 20px;
}

.notary-fee-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--dc-shadow);
}

.notary-fee-property {
    font-weight: 600;
    color: var(--dc-text-dark);
    margin-bottom: 10px;
}

.notary-fee-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notary-fee-label {
    color: var(--dc-text-light);
}

.notary-fee-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dc-primary-color);
}

/* ========== PURCHASE GUIDE ========== */
.purchase-guide {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: var(--dc-shadow-lg);
}

.guide-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dc-text-dark);
    margin-bottom: 30px;
    text-align: center;
}

.guide-section {
    margin-bottom: 30px;
    padding: 25px;
    background: #f9fafb;
    border-radius: 12px;
    border-left: 4px solid var(--dc-primary-color);
}

.guide-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dc-primary-color);
    margin-bottom: 15px;
}

.guide-section-content {
    line-height: 1.8;
    color: var(--dc-text-dark);
}

.guide-section-content ul {
    margin-top: 10px;
    padding-left: 20px;
}

.guide-section-content li {
    margin-bottom: 8px;
}

.guide-highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 20px;
    border-radius: 12px;
    margin-top: 15px;
    border: 2px solid var(--dc-warning-color);
}

.guide-highlight-title {
    font-weight: 700;
    color: #92400e;
    margin-bottom: 10px;
}

.countdown-redirect {
    font-size: 1.1rem;
    color: var(--dc-text-light);
    margin-top: 30px;
}

.countdown-timer {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dc-primary-color);
}

/* ========== MODAL DETAIL BIEN ========== */
.property-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2100;
    padding: 20px;
}

.property-detail-modal.show {
    display: flex;
}

.property-detail-content {
    background: white;
    border-radius: var(--dc-border-radius);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
    position: relative;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.btn-close-detail {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--dc-error-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--dc-transition);
    z-index: 10;
}

.btn-close-detail:hover {
    transform: scale(1.1);
}

.property-detail-body {
    padding: 40px;
}

/* ========== LOADING ========== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-overlay.show {
    display: flex;
}

.loading-content {
    background: white;
    padding: 40px;
    border-radius: var(--dc-border-radius);
    text-align: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid var(--dc-primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
    }
    50% {
        box-shadow: 0 10px 40px rgba(102, 126, 234, 0.5);
        transform: translateY(-5px);
    }
}

/* ========== TOAST ========== */
.toast {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 3000;
    animation: slideInRight 0.3s ease-out;
    max-width: 400px;
    border-left: 4px solid var(--dc-success-color);
}

.toast.show {
    display: block;
}

.toast.error {
    border-left-color: var(--dc-error-color);
}

.toast.warning {
    border-left-color: var(--dc-warning-color);
}

.toast.info {
    border-left-color: var(--dc-info-color);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .main-container {
        margin-top: 220px; /* Ajuste pour mobile */
        padding-bottom: 100px;
    }

    .progress-container {
        top: 60px; /* Navbar plus petite sur mobile */
    }

    .step-label {
        font-size: 0.7rem;
    }

    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .property-types {
        grid-template-columns: repeat(2, 1fr);
    }

    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .budget-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-radio-buttons {
        grid-template-columns: 1fr;
    }

    .navigation-buttons {
        flex-direction: column;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 15px;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
        margin: 0;
        z-index: 998;
        border-top: 2px solid var(--dc-primary-color);
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .property-detail-content {
        max-width: 100%;
    }

    .selected-property-item {
        flex-direction: column;
        text-align: center;
    }

    .selected-property-image {
        width: 100%;
        height: 150px;
    }

    .search-container,
    .client-form-container,
    .summary-container,
    .confirmation-container,
    .purchase-guide {
        padding: 20px;
    }

    .search-title {
        font-size: 1.5rem;
    }
}
