/**
 * DESIGN MODERNE UNIFIÉ - ÉTAPES 1-5 (v3.0 FINAL)
 * Palette harmonieuse sportive et dynamique
 * Responsive mobile-first
 * Contraste WCAG AAA
 */

:root {
    /* Palette principale */
    --primary-dark: #1F5FA8;
    --primary-light: #2E7BC0;
    --primary-lighter: #5BA3D0;
    --primary-bg: #EEF4FB;
    
    /* Accent succès */
    --success-dark: #047857;
    --success-main: #06A77D;
    --success-light: #D1F4E8;
    
    /* Accent danger */
    --danger-dark: #991B1B;
    --danger-main: #D63030;
    --danger-light: #FEE2E2;
    
    /* Accent warning */
    --warning-dark: #B45309;
    --warning-main: #F59E0B;
    --warning-light: #FEF3C7;
    
    /* Grises neutres */
    --gray-900: #111827;
    --gray-800: #1F2937;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    
    /* Surfaces */
    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-lighter: #F3F4F6;
    
    /* Ombres */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.15);
    
    /* Focus ring */
    --focus-ring: 0 0 0 3px rgba(31, 95, 168, 0.1), 0 0 0 5px #2E7BC0;
    
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ===== RESET & BASE ===== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--bg-white) 50%, #F0F9FF 100%);
    color: var(--gray-800);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    min-height: 100vh;
}

input, select, textarea, button {
    font-family: inherit;
}

/* ===== CONTAINER ===== */
.container-etapes {
    max-width: 1000px;
    margin: 0 auto;
}

/* ===== HEADER ===== */
.form-header-improved {
    text-align: center;
    margin-bottom: 32px;
    padding: 40px 28px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.form-header-improved::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.form-header-improved::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -60px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.form-header-improved h1 {
    margin: 0 0 12px 0;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.form-header-improved h1 i {
    font-size: 1.1em;
}

.form-header-improved p {
    margin: 0;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* ===== FIELDSET & SECTIONS ===== */
.form-section {
    background: var(--bg-white);
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 24px;
    border: 1px solid var(--gray-200);
    border-left: 5px solid var(--primary-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.form-section:hover {
    border-left-color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.form-section legend {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.35em;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 0 0 24px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gray-100);
}

.form-section legend i {
    font-size: 1.4em;
    color: var(--primary-light);
}

/* ===== PROGRESS SECTION ===== */
.progress-section {
    background: var(--bg-white);
    border-radius: 14px;
    padding: 32px 28px;
    margin-bottom: 32px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.progress-header {
    text-align: center;
    margin-bottom: 28px;
}

.progress-header h2 {
    margin: 0 0 8px 0;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 800;
    color: var(--primary-dark);
}

.progress-header p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.95em;
}

.planning-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    color: var(--bg-white);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.planning-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.planning-btn:active {
    transform: translateY(0);
}

/* ===== CATEGORY HEADERS ===== */
.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-100);
}

.category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15em;
}

.category-title i {
    color: var(--primary-light);
    font-size: 1.25em;
}

.category-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ===== PACK DETAILS ===== */
.pack-details {
    background: linear-gradient(135deg, var(--warning-light) 0%, #FEF8E7 100%);
    border-left: 4px solid var(--warning-main);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
}

.pack-details h4 {
    margin: 0 0 12px 0;
    color: var(--warning-dark);
    font-size: 1.05em;
    font-weight: 700;
}

.pack-details ul {
    margin: 0;
    padding-left: 20px;
    color: var(--gray-700);
    font-size: 0.95em;
}

.pack-details li {
    margin-bottom: 6px;
    line-height: 1.5;
}

/* ===== ACTIVITY ITEM ===== */
.activity-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-lighter) 100%);
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: var(--shadow-xs);
    position: relative;
    overflow: hidden;
}

.activity-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-light), var(--primary-dark));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
    z-index: 0;
}

.activity-item:hover::before {
    transform: scaleY(1);
}

.activity-item:hover {
    border-color: var(--primary-light);
    background: linear-gradient(135deg, #F0F8FF 0%, #E3F2FD 100%);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.activity-item:has(input:checked) {
    background: linear-gradient(135deg, var(--primary-bg) 0%, #E3F2FD 100%);
    border-color: var(--primary-light);
}

.activity-left {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.activity-left label {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
    width: 100%;
}

.activity-left input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary-dark);
    flex-shrink: 0;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.activity-left input[type="checkbox"]:hover {
    transform: scale(1.1);
}

.activity-left input[type="checkbox"]:focus {
    outline: var(--focus-ring);
}

.activity-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.activity-content strong {
    color: var(--gray-900);
    font-size: 1.02em;
    font-weight: 700;
    line-height: 1.3;
}

.activity-time {
    color: var(--gray-500);
    font-size: 0.9em;
    font-weight: 500;
}

.activity-note {
    color: var(--primary-light);
    font-size: 0.9em;
    font-weight: 600;
    font-style: italic;
}

.price-small {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    color: var(--bg-white);
    padding: 8px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.95em;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

/* ===== INFO FRAMES ===== */
.info-frame {
    background: linear-gradient(135deg, var(--primary-bg) 0%, #E3F2FD 100%);
    border-left: 4px solid var(--primary-light);
    border-radius: 10px;
    padding: 16px;
    margin-top: 14px;
    box-shadow: var(--shadow-xs);
}

.info-frame-header {
    font-weight: 700;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.95em;
}

.info-frame-header i {
    color: var(--primary-light);
    font-size: 1.1em;
}

.info-frame-body {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.info-frame-body label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.info-frame-body label:hover {
    background: rgba(31, 95, 168, 0.05);
}

.info-frame-body input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-dark);
}

/* ===== HORAIRES SUBGROUP ===== */
.horaires-subgroup {
    margin-top: 14px;
}

/* ===== FORM GROUP ===== */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.form-group label {
    font-weight: 700;
    color: var(--gray-800);
    font-size: 0.95em;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    border: 2px solid var(--gray-300);
    border-radius: 10px;
    font-size: 0.95em;
    color: var(--gray-800);
    background: var(--bg-white);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    line-height: 1.5;
}

.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-xs);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: var(--focus-ring);
    background: var(--primary-bg);
}

/* ===== PHOTO UPLOAD ===== */
.photo-upload-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}

.photo-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 28px;
    background: linear-gradient(135deg, var(--success-light) 0%, #D1F4E8 100%);
    border: 3px dashed var(--success-main);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: var(--shadow-xs);
}

.photo-label:hover {
    background: linear-gradient(135deg, #A8F3D4 0%, #6EE7B7 100%);
    border-color: var(--success-dark);
    transform: scale(1.02) translateY(-2px);
    box-shadow: var(--shadow-md);
}

.photo-label i {
    font-size: 2.5em;
    color: var(--success-dark);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.photo-label span {
    text-align: center;
    font-weight: 600;
    color: var(--success-dark);
    font-size: 0.95em;
}

.photo-preview {
    margin-top: 12px;
}

.photo-preview img {
    max-width: 150px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

/* ===== TARIF DETAIL BOX ===== */
.tarif-detail-box {
    background: linear-gradient(135deg, var(--primary-bg) 0%, #E3F2FD 100%);
    border: 2px solid var(--primary-light);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.tarif-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(31, 95, 168, 0.1);
    font-size: 0.95em;
    color: var(--gray-700);
}

.tarif-line:last-child {
    border-bottom: none;
}

.tarif-line strong {
    color: var(--gray-900);
    font-weight: 700;
}

.tarif-value {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1.05em;
}

.remise {
    color: var(--success-main);
    font-weight: 700;
    font-size: 1.05em;
}

.supplement {
    color: var(--danger-main);
    font-weight: 700;
    font-size: 1.05em;
}

.tarif-separator {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-light) 50%, transparent 100%);
    margin: 12px 0;
}

.tarif-total {
    background: linear-gradient(135deg, var(--success-light) 0%, #A8F3D4 100%);
    border: 2px solid var(--success-main);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--success-dark);
    margin-top: 12px;
}

.tarif-value-large {
    font-size: 1.5em;
    color: var(--success-dark);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border: none;
    border-radius: 10px;
    font-size: 0.95em;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    letter-spacing: 0.5px;
    text-align: center;
}

.btn:focus {
    outline: var(--focus-ring);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.99);
}

.btn-secondary {
    background: var(--bg-lighter);
    color: var(--gray-800);
    border: 2px solid var(--gray-300);
    box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
    background: var(--gray-200);
    border-color: var(--gray-400);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* ===== FORM NAVIGATION ===== */
.form-navigation {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 2px solid var(--gray-200);
    flex-wrap: wrap;
}

/* ===== ALERTS ===== */
.alert {
    padding: 18px 22px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    animation: slideIn 0.35s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-error {
    background: linear-gradient(135deg, var(--danger-light) 0%, #FBD5D5 100%);
    border-left: 4px solid var(--danger-main);
    color: var(--danger-dark);
}

.alert i {
    font-size: 1.4em;
    flex-shrink: 0;
    color: inherit;
    margin-top: 2px;
}

.alert strong {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.05em;
}

.alert ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
    font-size: 0.95em;
}

.alert li {
    margin-bottom: 6px;
    line-height: 1.5;
}

/* ===== ERROR BOX ===== */
.error-box {
    background: linear-gradient(135deg, var(--danger-light) 0%, #FBD5D5 100%);
    border-left: 4px solid var(--danger-main);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 24px;
    color: var(--danger-dark);
}

.error-box strong {
    font-weight: 700;
}

.error-box ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

/* ===== SUCCESS BOX ===== */
.success-box {
    background: linear-gradient(135deg, var(--success-light) 0%, #A8F3D4 100%);
    border: 2px solid var(--success-main);
    border-radius: 14px;
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    margin-bottom: 32px;
}

.success-icon {
    font-size: 3.5em;
    color: var(--success-main);
    margin-bottom: 16px;
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.success-box h1 {
    margin: 0 0 12px 0;
    color: var(--success-dark);
    font-size: 2em;
    font-weight: 800;
}

.success-box .subtitle {
    margin: 0;
    color: var(--success-dark);
    font-size: 1.1em;
    font-weight: 600;
}

/* ===== CONTACT CARD ===== */
.contact-card {
    background: var(--bg-white);
    border: 2px solid var(--primary-light);
    border-radius: 14px;
    padding: 24px;
    margin-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: var(--shadow-md);
    flex-wrap: wrap;
}

.contact-card .contact-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.contact-card .logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1em;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.contact-card .contact-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-card .contact-info strong {
    color: var(--gray-900);
    font-weight: 700;
    font-size: 1.05em;
}

.contact-card .contact-info a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.contact-card .contact-info a:hover {
    color: var(--primary-light);
}

.socials {
    display: flex;
    gap: 12px;
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    color: var(--bg-white);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.socials a:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.socials a:active {
    transform: translateY(-1px);
}

/* ===== CHECKBOXES & RADIOS ===== */
input[type="checkbox"],
input[type="radio"] {
    cursor: pointer;
}

input[type="checkbox"]:focus,
input[type="radio"]:focus {
    outline: var(--focus-ring);
}

/* ===== PARENT INFO BOX ===== */
.parent-info-box {
    background: linear-gradient(135deg, var(--warning-light) 0%, #FEF8E7 100%);
    border-left: 4px solid var(--warning-main);
    border-radius: 10px;
    padding: 16px;
    margin-top: 14px;
    box-shadow: var(--shadow-xs);
}

.parent-info-box h5 {
    margin: 0 0 14px 0;
    color: var(--warning-dark);
    font-size: 0.95em;
    font-weight: 700;
}

/* ===== CHILD INFO BOX ===== */
.child-info-box {
    background: linear-gradient(135deg, #f3e5ff 0%, #e8d5ff 100%);
    border: 2px solid #9c27b0;
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
    box-shadow: var(--shadow-xs);
}

/* ===== HIDDEN STATE ===== */
.hidden {
    display: none !important;
}

/* ===== REQUIRED MARKER ===== */
.required {
    color: var(--danger-main);
    font-weight: 700;
    margin-left: 4px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    body {
        padding: 16px;
    }

    .container-etapes {
        max-width: 100%;
    }

    .form-header-improved {
        padding: 32px 20px;
        margin-bottom: 24px;
    }

    .form-header-improved h1 {
        font-size: 1.5em;
    }

    .form-section {
        padding: 20px;
        margin-bottom: 18px;
    }

    .form-section legend {
        font-size: 1.2em;
        margin-bottom: 16px;
    }

    .activity-item {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .activity-left {
        width: 100%;
    }

    .price-small {
        align-self: flex-start;
        min-width: 70px;
    }

    .form-navigation {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        padding: 12px 16px;
    }

    .contact-card {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 16px;
    }

    .contact-card .contact-left {
        justify-content: center;
    }

    .socials {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    body {
        padding: 12px;
    }

    .form-header-improved {
        padding: 24px 16px;
        margin-bottom: 20px;
    }

    .form-header-improved h1 {
        font-size: 1.35em;
    }

    .form-section {
        padding: 16px;
        margin-bottom: 16px;
        border-left-width: 4px;
    }

    .form-section legend {
        font-size: 1.1em;
        margin-bottom: 14px;
        gap: 8px;
    }

    .form-section legend i {
        font-size: 1.3em;
    }

    .activity-item {
        padding: 12px;
        gap: 10px;
    }

    .activity-left label {
        gap: 10px;
    }

    .activity-left input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }

    .activity-content strong {
        font-size: 0.95em;
    }

    .activity-time {
        font-size: 0.85em;
    }

    .price-small {
        padding: 6px 10px;
        font-size: 0.9em;
    }

    .form-group label {
        font-size: 0.9em;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 11px 12px;
        font-size: 0.9em;
    }

    .photo-label {
        padding: 28px 16px;
    }

    .photo-label i {
        font-size: 2em;
    }

    .photo-label span {
        font-size: 0.9em;
    }

    .tarif-detail-box {
        padding: 16px;
    }

    .tarif-line {
        padding: 10px 0;
        font-size: 0.9em;
    }

    .btn {
        padding: 10px 12px;
        font-size: 0.9em;
    }

    .alert {
        padding: 14px 16px;
        gap: 12px;
    }

    .form-navigation {
        gap: 10px;
    }

    .contact-card {
        padding: 16px;
    }

    .contact-card .logo {
        width: 56px;
        height: 56px;
        font-size: 1em;
    }

    .socials a {
        width: 40px;
        height: 40px;
        font-size: 0.9em;
    }
}

/* ===== IMPRESSION ===== */
@media print {
    body {
        background: none;
    }

    .form-navigation,
    .contact-card,
    .photo-label {
        display: none;
    }

    .form-section {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--gray-300);
    }
}