/* 
 * DIGITAL 360X — Charte Graphique & Stylesheet Premium
 * Thème : Dark Minimalist & Neon Accent
 */

:root {
    /* Color Tokens (Harmonious HSL System) */
    --bg-main: hsl(255, 20%, 6%);             /* #0a090e */
    --bg-card: hsla(255, 15%, 10%, 0.7);       /* Glassmorphism base */
    --bg-input: hsl(255, 15%, 8%);
    --border-subtle: hsla(255, 10%, 20%, 0.5);
    --border-hover: hsla(255, 20%, 35%, 0.8);
    
    --text-primary: hsl(0, 0%, 96%);
    --text-muted: hsl(255, 10%, 65%);
    --text-dark: hsl(255, 10%, 40%);

    /* Brand Neon Accents */
    --accent-purple: hsl(268, 96%, 66%);      /* #a855f7 */
    --accent-pink: hsl(342, 92%, 58%);        /* #f43f5e */
    --accent-green: hsl(150, 84%, 48%);       /* #10b981 */
    --accent-yellow: hsl(42, 90%, 55%);       /* #f59e0b */
    
    /* Gradients */
    --gradient-btn: linear-gradient(135deg, #8e73d1 0%, #e5232a 100%);
    --gradient-text: linear-gradient(135deg, var(--text-primary) 30%, var(--text-muted) 100%);
    --gradient-accent-glow: radial-gradient(circle, hsla(268, 96%, 66%, 0.15) 0%, transparent 60%);
    
    /* Layout Variables */
    --font-heading: 'Outfit', 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --border-radius-lg: 16px;
    --border-radius-md: 10px;
    --border-radius-sm: 6px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Dotted Grid Pattern Background */
.dot-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(hsla(0, 0%, 100%, 0.05) 1px, transparent 1px);
    background-size: 28px 28px;
    z-index: -2;
    pointer-events: none;
}

/* --- Navigation / Header --- */
.main-header {
    width: 100%;
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid hsla(255, 10%, 15%, 0.4);
    background-color: hsla(255, 20%, 6%, 0.8);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 2px;
    transition: var(--transition-smooth);
}

.logo-container:hover {
    transform: scale(1.02);
}

.logo-digital {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    color: #9d85d7; /* Violet-indigo vibrant lisible sur fond sombre */
    letter-spacing: -0.5px;
    text-transform: none; /* Conserver la casse exacte de DiGiTAL */
}

.logo-digital span.lowercase-i {
    text-transform: lowercase;
}

.logo-360 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    color: #9d85d7;
    margin-left: 6px;
}

.logo-dot-orange {
    width: 8px;
    height: 8px;
    background-color: #F89D21; /* Orange officiel du logo */
    border-radius: 50%;
    display: inline-block;
    margin: 0 4px;
    box-shadow: 0 0 8px rgba(248, 157, 33, 0.6);
}

.logo-red-x {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 26px;
    color: #E5232A; /* Rouge vif officiel */
    text-shadow: 0 0 10px rgba(229, 35, 42, 0.4);
}

.admin-link-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-subtle);
    background-color: hsla(255, 10%, 15%, 0.3);
    transition: var(--transition-smooth);
}

.admin-link-nav:hover {
    color: var(--text-primary);
    border-color: var(--accent-purple);
    background-color: hsla(268, 96%, 66%, 0.1);
}

.admin-icon {
    width: 16px;
    height: 16px;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 60px 0 100px 0;
    z-index: 10;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

/* Hero Left Content */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: hsla(150, 84%, 48%, 0.08);
    border: 1px solid hsla(150, 84%, 48%, 0.25);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px var(--accent-green);
}

.pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--accent-green);
    top: 0;
    left: 0;
    animation: badgePulse 2s infinite ease-out;
}

@keyframes badgePulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.badge-text {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: var(--accent-green);
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 64px;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 8px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--text-primary);
    transition: opacity 0.4s ease;
    min-height: 48px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 12px;
}

.hero-slogan {
    font-style: italic;
    font-size: 16px;
    color: var(--accent-purple);
    font-weight: 500;
    margin-bottom: 36px;
    text-shadow: 0 0 15px hsla(268, 96%, 66%, 0.2);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
    background: var(--gradient-btn);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(229, 35, 42, 0.3);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(-20deg);
    transition: 0.75s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(229, 35, 42, 0.45);
}

.btn-cta:hover::before {
    left: 120%;
}

.arrow-icon {
    width: 18px;
    height: 18px;
    transition: var(--transition-smooth);
}

.btn-cta:hover .arrow-icon {
    transform: translateX(4px);
}

/* Hero Right Image */
.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-effect {
    position: absolute;
    width: 130%;
    height: 130%;
    background: var(--gradient-accent-glow);
    z-index: -1;
    pointer-events: none;
    filter: blur(20px);
}

.hero-portrait-img {
    width: 100%;
    max-width: 440px;
    height: auto;
    border-radius: var(--border-radius-lg);
    border: 1px solid hsla(255, 20%, 30%, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5),
                0 0 30px hsla(268, 96%, 66%, 0.1);
    object-fit: cover;
    aspect-ratio: 4 / 5;
    transition: var(--transition-smooth);
}

.hero-portrait-img:hover {
    transform: scale(1.01) rotate(0.5deg);
    border-color: hsla(268, 96%, 66%, 0.5);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.6),
                0 0 40px hsla(268, 96%, 66%, 0.25);
}

/* --- Profile Selector Section --- */
.selector-section {
    padding: 80px 0;
    position: relative;
    border-top: 1px solid hsla(255, 10%, 15%, 0.3);
    z-index: 10;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 40px;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -1.5px;
}

.profile-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.profile-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-lg);
    padding: 36px 28px;
    text-align: left;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
    outline: none;
}

.profile-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    background-color: hsla(255, 15%, 12%, 0.9);
}

.profile-card.selected {
    background-color: hsla(255, 15%, 14%, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

#card-agence.selected {
    border-color: var(--accent-purple);
    box-shadow: 0 0 20px hsla(268, 96%, 66%, 0.15);
}

#card-entreprise.selected {
    border-color: var(--accent-pink);
    box-shadow: 0 0 20px hsla(342, 92%, 58%, 0.15);
}

#card-particulier.selected {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 20px hsla(42, 90%, 55%, 0.15);
}

/* Icon boxes inside cards */
.card-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.card-icon-box svg {
    width: 22px;
    height: 22px;
}

.purple-accent {
    background-color: hsla(268, 96%, 66%, 0.1);
    border: 1px solid hsla(268, 96%, 66%, 0.2);
    color: var(--accent-purple);
}

.red-accent {
    background-color: hsla(342, 92%, 58%, 0.1);
    border: 1px solid hsla(342, 92%, 58%, 0.2);
    color: var(--accent-pink);
}

.yellow-accent {
    background-color: hsla(42, 90%, 55%, 0.1);
    border: 1px solid hsla(42, 90%, 55%, 0.2);
    color: var(--accent-yellow);
}

.profile-card:hover .card-icon-box {
    transform: scale(1.05);
}

.card-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.card-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Helper text */
.helper-text {
    text-align: center;
    font-size: 15px;
    color: var(--text-muted);
    margin-top: 24px;
    transition: var(--transition-smooth);
}

/* --- Form Tunnels --- */
.tunnel-container {
    max-width: 800px;
    margin: 40px auto 0 auto;
    position: relative;
}

.form-tunnel {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.form-tunnel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.form-header {
    margin-bottom: 32px;
    border-bottom: 1px solid hsla(255, 10%, 20%, 0.4);
    padding-bottom: 20px;
}

.form-header h4 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-header p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Inputs and Forms elements */
.lead-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-primary);
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 10px hsla(268, 96%, 66%, 0.15);
    background-color: hsla(255, 15%, 10%, 0.9);
}

/* Custom styling for select option dropdown */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 36px;
}

.form-group select option {
    background-color: var(--bg-main);
    color: var(--text-primary);
    padding: 10px;
}

.form-group textarea {
    resize: vertical;
}

.form-actions {
    margin-top: 12px;
}

.btn-submit {
    width: 100%;
    padding: 14px 28px;
    border-radius: var(--border-radius-sm);
    border: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--text-primary);
    background: var(--gradient-btn);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(229, 35, 42, 0.25);
    transition: var(--transition-smooth);
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(229, 35, 42, 0.35);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responses UI state */
.success-msg {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    gap: 16px;
    animation: fadeIn 0.4s ease;
}

.success-msg .check {
    width: 56px;
    height: 56px;
    background-color: hsla(150, 84%, 48%, 0.1);
    border: 1px solid hsla(150, 84%, 48%, 0.3);
    color: var(--accent-green);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 0 15px hsla(150, 84%, 48%, 0.2);
}

.success-msg p {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.error-msg {
    color: var(--accent-pink);
    font-size: 13px;
    margin-top: 10px;
    text-align: center;
    font-weight: 600;
    animation: fadeIn 0.3s ease;
}

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

/* --- Footer Section --- */
.main-footer {
    margin-top: auto;
    padding: 60px 0 40px 0;
    background-color: hsl(255, 20%, 4%);
    border-top: 1px solid hsla(255, 10%, 15%, 0.5);
    z-index: 10;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.footer-brand {
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 32px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.footer-tagline-text {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background-color: hsla(255, 10%, 15%, 0.3);
    color: var(--text-muted);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-btn svg {
    width: 18px;
    height: 18px;
}

.social-btn:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.social-btn.whatsapp:hover {
    border-color: var(--accent-green);
    background-color: hsla(150, 84%, 48%, 0.1);
    color: var(--accent-green);
    box-shadow: 0 0 10px hsla(150, 84%, 48%, 0.2);
}

.social-btn.linkedin:hover {
    border-color: #0077b5;
    background-color: rgba(0, 119, 181, 0.1);
    color: #0077b5;
    box-shadow: 0 0 10px rgba(0, 119, 181, 0.2);
}

.social-btn.email:hover {
    border-color: var(--accent-purple);
    background-color: hsla(268, 96%, 66%, 0.1);
    color: var(--accent-purple);
    box-shadow: 0 0 10px hsla(268, 96%, 66%, 0.2);
}

.footer-bottom {
    width: 100%;
    border-top: 1px solid hsla(255, 10%, 15%, 0.4);
    padding-top: 24px;
    text-align: center;
}

.copyright {
    font-size: 12px;
    color: var(--text-dark);
}

/* --- Responsive Adaptability --- */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 36px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-tagline {
        font-size: 26px;
        min-height: auto;
    }
    
    .hero-image-container {
        order: -1;
    }
    
    .hero-portrait-img {
        max-width: 320px;
    }
    
    .profile-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .profile-card {
        padding: 24px;
    }
}

@media (max-width: 600px) {
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .form-tunnel {
        padding: 20px;
    }
    
    .main-header {
        padding: 16px 0;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
}

/* --- Styles additionnels pour la refonte dynamique des formulaires --- */

/* Checkboxes Stack Technique (Pills) */
.form-checkbox-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.checkbox-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-subtle);
    background-color: var(--bg-input);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition-smooth);
    user-select: none;
}

.checkbox-pill input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-pill .checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--text-dark);
    border-radius: 4px;
    display: inline-block;
    position: relative;
    transition: var(--transition-smooth);
    background-color: transparent;
}

.checkbox-pill input[type="checkbox"]:checked + .checkbox-custom {
    background-color: var(--accent-purple);
    border-color: var(--accent-purple);
}

.checkbox-pill input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 11px;
    font-weight: bold;
}

.checkbox-pill:hover {
    border-color: var(--border-hover);
    background-color: hsla(255, 10%, 15%, 0.2);
}

.checkbox-pill:has(input[type="checkbox"]:checked) {
    border-color: var(--accent-purple);
    color: var(--text-primary);
    background-color: hsla(268, 96%, 66%, 0.08);
}

/* Boutons Radios Êtes-vous le décideur ? */
.form-radio-group {
    display: flex;
    gap: 24px;
    margin-top: 8px;
}

.radio-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    user-select: none;
}

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

.radio-label .radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--text-dark);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    transition: var(--transition-smooth);
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: var(--accent-purple);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: var(--accent-purple);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-purple);
}

/* Slider de Clarté de l'idée sur-mesure */
.range-slider-wrapper {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.custom-range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: hsla(255, 10%, 20%, 0.8);
    outline: none;
    margin: 10px 0;
}

.custom-range-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    border-radius: 5px;
    background: hsla(255, 10%, 20%, 0.8);
}

.custom-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid var(--accent-purple);
    cursor: pointer;
    box-shadow: 0 0 10px var(--accent-purple);
    margin-top: -7px;
    transition: var(--transition-smooth);
}

.custom-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.range-slider-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 4px;
    padding: 0 4px;
}

/* Compteur de caractères Textarea */
.textarea-with-counter {
    position: relative;
}

.textarea-with-counter textarea {
    padding-bottom: 36px;
}

.textarea-counter-wrapper {
    position: absolute;
    bottom: 12px;
    right: 16px;
    font-size: 11px;
    color: var(--text-dark);
    pointer-events: none;
    font-weight: 600;
}

/* Animation et design pour le champ alternatif "Autre" */
.custom-other-input-wrapper {
    animation: slideDownFade 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transform-origin: top center;
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-10px) scaleY(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
}
