@charset "UTF-8";
/**
 * Styles pour la page Changement de nom patronymique
 * Fichier: /assets/css/changement-nom-patronymique.css
 * Encodage: UTF-8
 * Version professionnelle optimisée pour mobile et tablette
 * Prix: 0,183EUR HT par caractère
 */

/* ===== RESET ET BASE ===== */
* {
    box-sizing: border-box;
}

/* Forcer l'encodage UTF-8 pour tout le contenu */
body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Classes utilitaires pour la détection d'appareil */
body.is-mobile {
    -webkit-tap-highlight-color: transparent;
}

body.is-tablet {
    -webkit-tap-highlight-color: transparent;
}

/* ===== HERO SECTION COMPACT ===== */
.hero-nom-compact {
    background: linear-gradient(135deg, #f5f5fe 0%, #e8e8fb 100%);
    padding: 3rem 0;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    color: #000091;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-align: center;
}

.hero-description {
    color: #3a3a3a;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: justify;
}

.hero-description-intro {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* ===== PRICE BANNER AMÉLIORÉ ===== */
.price-banner {
    background: #000091;
    color: white;
    padding: 2rem;
    margin: -2rem -2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0;
    position: relative;
}

/* Partie gauche - Prix principal */
.price-banner-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-banner-amount {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.price-banner-subtitle {
    font-size: 0.875rem;
    font-weight: 400;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Partie droite - Prix TTC */
.price-banner-info {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.price-banner-ttc {
    font-size: 1.5rem;
    font-weight: 600;
}

.price-banner-info small {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Caractère counter */
.char-counter {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.char-count {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Badge "TARIF AU CARACTÈRE" */
.price-banner::before {
    content: "TARIF AU CARACT\00C8RE";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #e1000f;
    color: white;
    padding: 0.375rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 0 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border: 1px solid #c60e13;
    display: inline-block;
    line-height: 1;
}

/* ===== EMAIL CAPTURE SECTION ===== */
.email-capture-section {
    background: #f8f8fb;
    padding: 1.5rem;
    margin: -2rem -2rem 2rem;
    border-bottom: 2px solid #e0e0e0;
}

.email-capture-section .form-group {
    margin-bottom: 0;
}

.email-capture-section .form-help {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.4;
    margin-top: 0.5rem;
}

/* ===== FORM CONTAINER ===== */
.form-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 2rem;
}

.form-step {
    margin-bottom: 3rem;
}

.form-step-header {
    background: #f5f5fe;
    padding: 1rem 1.5rem;
    margin: -2rem -2rem 2rem;
    border-left: 4px solid #000091;
}

.form-step-header h3 {
    color: #000091;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step-number {
    background: #000091;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ===== SECTIONS PERSONNES ===== */
.personne-section {
    background: #f8f8f8;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.personne-section h4 {
    color: #000091;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Section Adulte */
.section-adulte {
    border-left: 3px solid #18753c;
}

/* Section Mineur */
.section-mineur {
    border-left: 3px solid #ce614a;
}

.mineur-item {
    background: white;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    position: relative;
}

.mineur-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.mineur-number {
    font-weight: 600;
    color: #000091;
}

.btn-remove-mineur {
    background: #ce614a;
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-remove-mineur:hover {
    background: #a94442;
}

/* ===== FORM FIELDS ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    color: #161616;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group .required {
    color: #ce614a;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    line-height: 1.4;
}

/* Champs readonly */
.form-control[readonly],
.form-control:read-only {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

/* Select avec flèche */
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.2em;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* Hauteur uniforme */
input[type="date"].form-control,
input[type="text"].form-control,
input[type="number"].form-control,
input[type="email"].form-control,
input[type="tel"].form-control,
select.form-control {
    height: 48px;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #000091;
}

.form-control.error {
    border-color: #ce614a;
}

.form-control.valid {
    border-color: #18753c;
}

.form-help {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.25rem;
}

.form-error {
    font-size: 0.875rem;
    color: #ce614a;
    margin-top: 0.25rem;
    display: none;
}

.form-control.error + .form-error {
    display: block;
}

/* ===== RADIO & CHECKBOX GROUPS ===== */
.form-radio-group,
.form-checkbox-group {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.form-radio,
.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-radio input[type="radio"],
.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

/* Radio groupe avec icônes pour sexe */
.form-radio-group.sexe-group .form-radio {
    background: #f8f8f8;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.form-radio-group.sexe-group .form-radio:has(input:checked) {
    background: #e3e3fd;
    border-color: #000091;
}

/* ===== INFO ALERTS ===== */
.info-alert {
    background-color: #e3e3fd;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
    border-left: 4px solid #000091;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-alert-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}

.info-alert-content {
    flex: 1;
}

.info-alert-content p {
    margin: 0;
    font-size: 0.875rem;
    color: #161616;
}

/* ===== INFO BULLES ===== */
.info-tooltip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
    cursor: help;
    position: relative;
    vertical-align: middle;
    width: 18px;
    height: 18px;
    background: #e3e3fd;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
}

.info-tooltip::before {
    content: "?";
    font-size: 12px;
    font-weight: 600;
    color: #000091;
    line-height: 1;
}

.info-tooltip:hover {
    background: #000091;
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(0, 0, 18, 0.15);
}

.info-tooltip:hover::before {
    color: white;
}

/* Tooltip content */
.tooltip-content {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #161616;
    padding: 1.25rem;
    border-radius: 12px;
    font-size: 0.875rem;
    line-height: 1.5;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15), 0 3px 10px rgba(0,0,0,0.1);
    border: 2px solid #000091;
    min-width: 280px;
    max-width: 320px;
    font-weight: normal;
    white-space: normal;
    pointer-events: none;
}

.tooltip-content strong {
    color: #000091;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.25rem;
}

/* Flèche */
.tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

.tooltip-content::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid #000091;
    margin-top: -2px;
}

.info-tooltip:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
    pointer-events: auto;
}

/* ===== PREVIEW CARD AMÉLIORÉE ===== */
.preview-card {
    background: white;
    border: 2px solid #000091;
    border-radius: 8px;
    position: sticky;
    top: 2rem;
    overflow: hidden;
    padding: 0;
    max-width: 400px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .preview-card {
        top: 8.5rem;
        z-index: 900;
    }
}

.preview-header {
    background: #000091;
    color: white;
    padding: 1rem 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-header h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    color: white !important;
    font-size: 1.125rem;
}

.preview-header svg {
    color: white !important;
    fill: white !important;
    stroke: white !important;
}

.preview-content {
    background: white;
    padding: 1.2rem;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8rem;
    line-height: 1.35;
    max-height: 600px;
    overflow-y: auto;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
    position: relative;
    text-align: left;
    color: #333;
    max-width: 100%;
}

.preview-annonce {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #333;
    text-align: left;
}

.preview-annonce-text {
    margin-bottom: 0.3rem;
    text-align: justify;
    text-justify: inter-word;
}

.preview-annonce-text strong {
    font-weight: 600;
}

.preview-footer {
    margin-top: 1rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e0e0e0;
    font-size: 0.75rem;
    color: #666;
    font-style: italic;
}

.preview-char-count {
    font-weight: 600;
}

/* ===== BOUTONS ===== */
.btn-primary {
    background: #000091 !important;
    color: white !important;
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #1212ff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-primary:disabled {
    background: #929292 !important;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: white;
    color: #000091;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid #000091;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #f5f5fe;
}

.btn-add-mineur {
    background: #18753c;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-add-mineur:hover {
    background: #0f5132;
    transform: translateY(-1px);
}

.btn-add-mineur::before {
    content: "+";
    font-size: 1.2rem;
    font-weight: 700;
}

/* ===== BOTTOM CTA ===== */
.bottom-cta {
    background: #f5f5fe;
    padding: 2rem;
    margin: 2rem -2rem -2rem;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

/* ===== MOBILE STYLES ===== */
@media (max-width: 767px) {
    /* Hero section */
    .hero-nom-compact {
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        padding: 0 0.5rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        text-align: left;
        padding: 0 0.5rem;
    }
    
    /* Price banner */
    .price-banner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2.5rem 1.5rem 2rem;
        margin: -1rem -1rem 1.5rem;
    }
    
    .price-banner::before {
        font-size: 0.7rem;
        padding: 0.3rem 1rem;
    }
    
    .price-banner-amount {
        font-size: 1.5rem;
    }
    
    .price-banner-ttc {
        font-size: 1.25rem;
    }
    
    /* Form container */
    .form-container {
        padding: 1rem;
        border-radius: 0;
        box-shadow: none;
    }
    
    .fr-container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    /* Form fields */
    .form-control {
        font-size: 16px;
        padding: 0.875rem;
        border-radius: 6px;
        -webkit-appearance: none;
    }
    
    input[type="date"].form-control,
    input[type="text"].form-control,
    input[type="number"].form-control,
    input[type="email"].form-control,
    input[type="tel"].form-control,
    select.form-control {
        height: 52px;
        font-size: 16px;
    }
    
    /* Radio et checkbox */
    .form-radio-group,
    .form-checkbox-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .form-radio,
    .form-checkbox {
        padding: 1rem;
        background: #f8f8f8;
        border-radius: 6px;
        margin-bottom: 0.5rem;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Sections */
    .personne-section {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }
    
    /* Sidebar mobile */
    .sidebar {
        display: flex !important;
        flex-direction: column;
        position: static !important;
        margin: 2rem 0 0 0 !important;
        padding: 0 !important;
        padding-bottom: 100px !important;
    }
    
    .preview-card {
        display: block !important;
        position: static !important;
        max-width: 100% !important;
        margin: 0 0.75rem !important;
        border-radius: 8px;
    }
    
    /* Bouton mobile fixe */
    .bottom-cta.mobile-only {
        display: block !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 1rem 0.75rem !important;
        background: #f5f5fe !important;
        border-top: 1px solid #e0e0e0 !important;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1) !important;
        z-index: 999 !important;
        text-align: center;
    }
    
    .bottom-cta.mobile-only .btn-primary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1rem 1.5rem !important;
        font-size: 1rem !important;
    }
    
    /* Masquer desktop CTA sur mobile */
    .form-container .bottom-cta {
        display: none !important;
    }
    
    /* Info alerts mobile */
    .info-alert {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .info-alert-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.5rem;
    }
    
    /* Tooltips mobile */
    .tooltip-content {
        display: none !important;
    }
    
    .info-tooltip {
        width: 24px;
        height: 24px;
        padding: 0;
        touch-action: manipulation;
    }
}

/* ===== MODAL TOOLTIP MOBILE ===== */
.tooltip-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.tooltip-modal-overlay.active {
    display: flex;
}

.tooltip-modal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    max-width: min(90vw, 400px);
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    position: relative;
    animation: modalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 3px solid #000091;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(30px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.tooltip-modal-header {
    background: linear-gradient(135deg, #000091 0%, #1212ff 100%);
    color: white;
    padding: 1.25rem 3.5rem 1.25rem 1.5rem;
    position: relative;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tooltip-modal-body {
    padding: 1.75rem 1.5rem;
    overflow-y: auto;
    max-height: calc(80vh - 80px);
    font-size: 0.95rem;
    line-height: 1.65;
    color: #333;
}

.tooltip-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    color: #e1000f;
    border: none;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    line-height: 0;
    padding: 0;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}

.tooltip-modal-close:hover {
    background: #fef4f4;
    color: #c60e13;
    transform: scale(1.05);
}

/* ===== RESPONSIVE TABLETTE ===== */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        padding: 0 1rem;
    }
    
    .fr-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .price-banner {
        padding: 2rem 1.5rem;
        flex-direction: row;
        gap: 1rem;
    }
    
    .price-banner-amount {
        font-size: 1.75rem;
    }
    
    .price-banner-ttc {
        font-size: 1.25rem;
    }
    
    .fr-col-12.fr-col-lg-8,
    .fr-col-12.fr-col-lg-4 {
        width: 100%;
    }
    
    .fr-col-12.fr-col-lg-4 {
        padding-left: 0 !important;
        margin-top: 2rem;
    }
    
    .sidebar {
        position: static !important;
    }
    
    .sidebar-card.preview-card {
        position: static !important;
        max-width: 100%;
        margin: 0 auto 2rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .personne-section {
        padding: 1.25rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-step {
    animation: fadeIn 0.3s ease-out;
}

/* ===== INDICATEUR DE SAUVEGARDE ===== */
#save-indicator {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #18753c;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    display: none;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* ===== FIX POUR LES CARACTÈRES SPÉCIAUX ===== */
.form-control,
.preview-content,
.form-help,
.form-error,
.tooltip-content,
.tooltip-modal-body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== PRINT STYLES ===== */
@media print {
    .sidebar,
    .hero-nom-compact,
    .price-banner,
    .bottom-cta,
    .btn-secondary,
    .info-tooltip,
    .mobile-only {
        display: none !important;
    }
    
    .form-container {
        box-shadow: none;
        padding: 0;
    }
    
    .preview-content {
        max-height: none;
        overflow: visible;
    }
}

/* ===== CORRECTION DU SCROLL HORIZONTAL MOBILE ===== */
@media (max-width: 767px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100% !important;
    }
    
    main {
        max-width: 100vw !important;
    }
    
    .form-container {
        padding-top: 2rem !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .price-banner,
    .email-capture-section,
    .form-step-header {
        margin-left: -0.75rem !important;
        margin-right: -0.75rem !important;
        width: calc(100% + 1.5rem) !important;
    }
    
    .price-banner {
        overflow: visible !important;
        margin-top: 0 !important;
    }
    
    .fr-grid-row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .form-control,
    .btn-primary,
    .btn-secondary,
    select,
    input,
    textarea {
        max-width: 100% !important;
    }
}

/* Fix pour l'icône select error */
select.form-control.error {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    cursor: pointer !important;
}

select.form-control {
    cursor: pointer !important;
}