/* ═══════════════════════════════════════════════════════
   Headshot Booking v1.3 — Divi-proof styles
   All selectors prefixed with #hsb-booking for specificity
   #153753 · #ff4242 · #cbe4f2 · Plus Jakarta Sans
   ═══════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

#hsb-booking {
    --hsb-navy: #0e1520;
    --hsb-navy-deep: #0e1520;
    --hsb-navy-light: #1c4a6e;
    --hsb-red: #ff4242;
    --hsb-red-glow: rgba(255,66,66,0.25);
    --hsb-ice: #cbe4f2;
    --hsb-ice-dim: rgba(203,228,242,0.08);
    --hsb-ice-mid: rgba(203,228,242,0.15);
    --hsb-white: #f0f4f7;
    --hsb-muted: rgba(203,228,242,0.5);
    --hsb-radius: 12px;
    --hsb-radius-sm: 8px;
    --hsb-transition: 0.3s cubic-bezier(0.4,0,0.2,1);
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif !important;
    background: var(--hsb-navy-deep) !important;
    color: var(--hsb-ice) !important;
    max-width: 920px;
    width: 100%;
    margin: 0 auto;
    padding: 36px 28px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    line-height: 1.5;
    box-sizing: border-box;
}
#hsb-booking *, #hsb-booking *::before, #hsb-booking *::after { box-sizing: border-box; }
#hsb-booking::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 0%, rgba(255,66,66,0.06) 0%, transparent 60%), radial-gradient(ellipse at 80% 100%, rgba(203,228,242,0.04) 0%, transparent 60%);
    pointer-events: none;
}

/* ─── Progress ─────────────────────────── */
#hsb-booking .hsb-progress { margin-bottom: 32px; position: relative; z-index: 1; }
#hsb-booking .hsb-progress-track { height: 3px; background: var(--hsb-ice-dim); border-radius: 2px; overflow: hidden; margin-bottom: 16px; }
#hsb-booking .hsb-progress-fill { height: 100%; background: linear-gradient(90deg, var(--hsb-red), #ff6b6b); border-radius: 2px; transition: width 0.5s cubic-bezier(0.4,0,0.2,1); }
#hsb-booking .hsb-steps-indicator { display: flex; justify-content: space-between; }
#hsb-booking .hsb-step-dot { background: none; border: none; color: var(--hsb-muted); cursor: pointer; display: flex; align-items: center; gap: 8px; font-family: inherit; font-size: 13px; font-weight: 600; padding: 0; transition: var(--hsb-transition); }
#hsb-booking .hsb-step-dot.active { color: var(--hsb-ice); }
#hsb-booking .hsb-step-dot.completed { color: var(--hsb-red); }
#hsb-booking .hsb-dot-num { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; border: 2px solid var(--hsb-ice-mid); transition: var(--hsb-transition); background: transparent; }
#hsb-booking .hsb-step-dot.active .hsb-dot-num { border-color: var(--hsb-red); background: var(--hsb-red); color: #fff; box-shadow: 0 0 20px var(--hsb-red-glow); }
#hsb-booking .hsb-step-dot.completed .hsb-dot-num { border-color: var(--hsb-red); color: var(--hsb-red); }
#hsb-booking .hsb-dot-label { display: none; }
@media (min-width: 600px) { #hsb-booking .hsb-dot-label { display: inline; } }

/* ─── Panels ───────────────────────────── */
#hsb-booking .hsb-panel { position: relative; z-index: 1; animation: hsb-fadeIn 0.35s ease; }
@keyframes hsb-fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
#hsb-booking .hsb-panel-header { margin-bottom: 24px; }
#hsb-booking .hsb-panel-header h2 { font-size: clamp(22px, 3.5vw, 28px) !important; font-weight: 800 !important; color: var(--hsb-white) !important; margin: 0 0 6px !important; letter-spacing: -0.02em; padding: 0 !important; line-height: 1.3 !important; }
#hsb-booking .hsb-accent { color: var(--hsb-red) !important; }
#hsb-booking .hsb-panel-header p { font-size: 14px !important; color: var(--hsb-muted) !important; margin: 0 !important; line-height: 1.5 !important; }

/* ─── Step 1: 4-column pole grid ───────── */
#hsb-booking .hsb-poles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 800px) { #hsb-booking .hsb-poles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { #hsb-booking .hsb-poles-grid { grid-template-columns: 1fr; } }

#hsb-booking .hsb-pole-col { display: flex; flex-direction: column; }
#hsb-booking .hsb-pole-title { font-size: 12px !important; font-weight: 800 !important; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 10px !important; padding: 0 0 6px 0 !important; border-bottom: 1px solid var(--hsb-ice-dim); line-height: 1.4 !important; }
#hsb-booking .hsb-pole-title[data-pole="web"] { color: var(--hsb-red) !important; }
#hsb-booking .hsb-pole-title[data-pole="growth"] { color: #4dabf7 !important; }
#hsb-booking .hsb-pole-title[data-pole="video"] { color: #ffa94d !important; }
#hsb-booking .hsb-pole-title[data-pole="creatif"] { color: #b197fc !important; }

#hsb-booking .hsb-tiles-col { display: flex; flex-direction: column; gap: 6px; }

#hsb-booking .hsb-tile { display: flex; align-items: center; padding: 10px 12px; background: var(--hsb-ice-dim); border: 1.5px solid transparent; border-radius: var(--hsb-radius-sm); cursor: pointer; transition: var(--hsb-transition); user-select: none; }
#hsb-booking .hsb-tile:hover { background: var(--hsb-ice-mid); border-color: rgba(203,228,242,0.2); }
#hsb-booking .hsb-tile.selected { background: rgba(255,66,66,0.1); border-color: var(--hsb-red); box-shadow: 0 0 16px rgba(255,66,66,0.1); }
#hsb-booking .hsb-tile-label { font-size: 13px !important; font-weight: 600 !important; color: var(--hsb-ice) !important; line-height: 1.2 !important; }
#hsb-booking .hsb-tile.selected .hsb-tile-label { color: var(--hsb-white) !important; }

/* ─── Step 2: Calendar ─────────────────── */
#hsb-booking .hsb-calendar { min-height: 180px; }
#hsb-booking .hsb-calendar-loading { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 40px 0; color: var(--hsb-muted); font-size: 14px; }
#hsb-booking .hsb-spinner { width: 28px; height: 28px; border: 3px solid var(--hsb-ice-dim); border-top-color: var(--hsb-red); border-radius: 50%; animation: hsb-spin 0.8s linear infinite; }
#hsb-booking .hsb-spinner-sm { width: 16px; height: 16px; border-width: 2px; }
@keyframes hsb-spin { to { transform: rotate(360deg); } }
#hsb-booking .hsb-calendar-grid { display: flex; flex-direction: column; gap: 12px; }
#hsb-booking .hsb-day-row { background: var(--hsb-ice-dim); border-radius: var(--hsb-radius); padding: 14px; }
#hsb-booking .hsb-day-label { font-size: 14px !important; font-weight: 700 !important; color: var(--hsb-white) !important; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
#hsb-booking .hsb-day-date { font-weight: 500; color: var(--hsb-muted) !important; font-size: 13px; }
#hsb-booking .hsb-slots { display: flex; flex-wrap: wrap; gap: 6px; }
#hsb-booking .hsb-slot { padding: 8px 14px; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--hsb-ice); background: var(--hsb-navy); border: 1.5px solid var(--hsb-ice-mid); border-radius: var(--hsb-radius-sm); cursor: pointer; transition: var(--hsb-transition); }
#hsb-booking .hsb-slot:hover { border-color: var(--hsb-ice); background: var(--hsb-navy-light); color: var(--hsb-white); }
#hsb-booking .hsb-slot.selected { border-color: var(--hsb-red); background: rgba(255,66,66,0.15); color: var(--hsb-white); box-shadow: 0 0 16px rgba(255,66,66,0.15); }
#hsb-booking .hsb-no-slots { color: var(--hsb-muted); font-size: 14px; padding: 28px; text-align: center; }

/* ─── Step 3: Form ─────────────────────── */
#hsb-booking .hsb-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#hsb-booking .hsb-field-full { grid-column: 1 / -1; }
@media (max-width: 600px) { #hsb-booking .hsb-form-grid { grid-template-columns: 1fr; } }

#hsb-booking .hsb-field label { display: block; font-size: 11px !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: 0.06em; color: var(--hsb-muted) !important; margin-bottom: 5px !important; padding: 0 !important; }

#hsb-booking .hsb-field input,
#hsb-booking .hsb-field select,
#hsb-booking .hsb-field textarea {
    width: 100% !important;
    padding: 10px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: var(--hsb-white) !important;
    background: var(--hsb-navy) !important;
    border: 1.5px solid var(--hsb-ice-mid) !important;
    border-radius: var(--hsb-radius-sm) !important;
    outline: none !important;
    transition: var(--hsb-transition);
    box-sizing: border-box !important;
    box-shadow: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    -webkit-appearance: none;
}
#hsb-booking .hsb-field input::placeholder,
#hsb-booking .hsb-field textarea::placeholder { color: rgba(203,228,242,0.3) !important; }
#hsb-booking .hsb-field input:focus,
#hsb-booking .hsb-field select:focus,
#hsb-booking .hsb-field textarea:focus { border-color: var(--hsb-red) !important; background: var(--hsb-navy) !important; box-shadow: 0 0 0 3px rgba(255,66,66,0.1) !important; color: var(--hsb-white) !important; }

#hsb-booking .hsb-field select { cursor: pointer; appearance: none !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23cbe4f2' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 14px center !important; padding-right: 36px !important; }
#hsb-booking .hsb-field select option { background: var(--hsb-navy) !important; color: var(--hsb-ice) !important; }
#hsb-booking .hsb-field select optgroup { background: var(--hsb-navy-deep) !important; color: var(--hsb-muted) !important; font-weight: 700; }

#hsb-booking .hsb-field textarea { resize: vertical; min-height: 80px !important; }

#hsb-booking .hsb-field.hsb-field-error input,
#hsb-booking .hsb-field.hsb-field-error select,
#hsb-booking .hsb-field.hsb-field-error textarea { border-color: var(--hsb-red) !important; }

/* ─── Nav ──────────────────────────────── */
#hsb-booking .hsb-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--hsb-ice-dim); }
#hsb-booking .hsb-btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 22px !important; font-family: inherit !important; font-size: 14px !important; font-weight: 700 !important; border: none !important; border-radius: 999px !important; cursor: pointer; transition: var(--hsb-transition); line-height: 1 !important; text-transform: none !important; letter-spacing: 0 !important; text-decoration: none !important; }
#hsb-booking .hsb-btn-next,
#hsb-booking .hsb-btn-submit { background: var(--hsb-red) !important; color: #fff !important; box-shadow: 0 4px 20px var(--hsb-red-glow); }
#hsb-booking .hsb-btn-next:hover:not(:disabled),
#hsb-booking .hsb-btn-submit:hover:not(:disabled) { background: #ff5c5c !important; transform: translateY(-1px); box-shadow: 0 6px 28px rgba(255,66,66,0.35); }
#hsb-booking .hsb-btn-next:disabled,
#hsb-booking .hsb-btn-submit:disabled { opacity: 0.35; cursor: not-allowed; transform: none; box-shadow: none; }
#hsb-booking .hsb-btn-back { background: transparent !important; color: var(--hsb-muted) !important; border: 1.5px solid var(--hsb-ice-dim) !important; }
#hsb-booking .hsb-btn-back:hover { color: var(--hsb-ice) !important; border-color: var(--hsb-ice-mid) !important; }
#hsb-booking .hsb-btn-submit { min-width: 200px; justify-content: center; }
#hsb-booking .hsb-btn-loading { display: flex; align-items: center; gap: 8px; }

/* ─── Success ──────────────────────────── */
#hsb-booking .hsb-panel-success { text-align: center; padding: 48px 20px; position: relative; overflow: hidden; }
#hsb-booking .hsb-success-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,66,66,0.15); color: var(--hsb-red) !important; font-size: 24px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; animation: hsb-popIn 0.5s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes hsb-popIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
#hsb-booking .hsb-panel-success h2 { font-size: 26px !important; font-weight: 800 !important; color: var(--hsb-white) !important; margin: 0 0 10px !important; }
#hsb-booking .hsb-success-msg { color: var(--hsb-muted) !important; font-size: 14px !important; line-height: 1.6 !important; margin: 0 0 20px !important; }
#hsb-booking .hsb-success-recap { text-align: left; background: var(--hsb-ice-dim); border-radius: var(--hsb-radius); padding: 16px; font-size: 14px !important; line-height: 1.7 !important; max-width: 440px; margin: 0 auto; position: relative; z-index: 1; }
#hsb-booking .hsb-success-recap strong { color: var(--hsb-white) !important; }

/* ─── Loading Overlay ─────────────────── */
#hsb-booking .hsb-loading-overlay { position: absolute; inset: 0; background: rgba(13,36,56,0.92); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; z-index: 100; animation: hsb-fadeIn 0.3s ease; }
#hsb-booking .hsb-loading-overlay.hsb-loading-fadeout { opacity: 0; transition: opacity 0.4s ease; }
#hsb-booking .hsb-loading-card { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 40px; }
#hsb-booking .hsb-spinner-lg { width: 40px; height: 40px; border: 3px solid var(--hsb-ice-dim); border-top-color: var(--hsb-red); border-radius: 50%; animation: hsb-spin 0.8s linear infinite; }
#hsb-booking .hsb-loading-msg { font-size: 15px !important; font-weight: 600 !important; color: var(--hsb-ice) !important; text-align: center; max-width: 320px; line-height: 1.5 !important; transition: opacity 0.3s ease; min-height: 46px; display: flex; align-items: center; }

/* ─── Confetti ────────────────────────── */
#hsb-booking .hsb-confetti { position: absolute; pointer-events: none; z-index: 0; animation: hsb-confetti-fall linear forwards; opacity: 0; }
@keyframes hsb-confetti-fall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    25% { opacity: 1; }
    100% { transform: translateY(500px) rotate(720deg); opacity: 0; }
}

/* ─── Responsive ───────────────────────── */
@media (max-width: 600px) {
    #hsb-booking { padding: 20px 14px; border-radius: 16px; }
    #hsb-booking .hsb-nav { flex-direction: column-reverse; gap: 10px; }
    #hsb-booking .hsb-nav .hsb-btn { width: 100%; justify-content: center; }
}