/* =========================================================================
 * Espace client /mon-compte/ — refonte UHQ
 * Styles limités à body.vc-acc-page (aucun effet sur le reste du site).
 * ========================================================================= */

body.vc-acc-page {
	--a-navy: #003791;
	--a-blue: #0070D1;
	--a-night: #071B42;
	--a-bg: #F5F7FB;
	--a-line: #E4EAF3;
	--a-line-2: #D3DCEA;
	--a-ink: #172033;
	--a-ink-2: #44506A;
	--a-ink-3: #6B7690;
	--a-tint: #EAF2FD;
	--a-ok: #0F7A4A;
	--a-ok-bg: #E5F5EC;
	--a-bad: #B42318;
	--a-bad-bg: #FDECEA;
	--a-wait: #8A5300;
	--a-wait-bg: #FFF3DC;
	--a-r: 22px;
	--a-r-sm: 14px;
	--a-shadow: 0 1px 2px rgba(7, 27, 66, .04), 0 14px 34px -16px rgba(7, 27, 66, .16);
	--a-shadow-hi: 0 2px 4px rgba(7, 27, 66, .05), 0 22px 46px -18px rgba(0, 55, 145, .28);
	--a-ease: cubic-bezier(.22, .8, .24, 1);
	--a-grad: linear-gradient(135deg, #0A86F0 0%, #0070D1 38%, #003791 100%);
	background: var(--a-bg);
}

/* ---------- Gabarit de page : pas d'en-tête générique, fond gris clair ---------- */
.vc-acc-page .vc-page { background: radial-gradient(1200px 420px at 85% -120px, rgba(0, 112, 209, .10), transparent 70%), var(--a-bg); padding: clamp(20px, 3.5vw, 44px) 0 clamp(56px, 7vw, 96px); }
.vc-acc-page .vc-page__head { display: none; }
.vc-acc-page .vc-flow > .woocommerce { display: block; max-width: none; margin: 0; }
.vc-acc-page .woocommerce-MyAccount-content { background: none; border: 0; border-radius: 0; padding: 0; }
.vc-acc-page .woocommerce form.login, .vc-acc-page .woocommerce form.lost_reset_password { background: none; border: 0; border-radius: 0; padding: 0; }
.vc-acc-page .woocommerce form .form-row { margin: 0; }

.vc-acc-ico { flex-shrink: 0; display: block; }
.vc-acc-page .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- Typographie ---------- */
.vc-acc-h1 { font-size: clamp(1.55rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.02em; color: var(--a-ink); margin: 0; line-height: 1.15; }
.vc-acc-h2 { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; font-weight: 750; letter-spacing: -.01em; color: var(--a-ink); margin: 0; line-height: 1.3; }
.vc-acc-h2 .vc-acc-ico, .vc-acc-h3 .vc-acc-ico { color: var(--a-blue); }
.vc-acc-h3 { display: flex; align-items: center; gap: 9px; font-size: 1rem; font-weight: 750; color: var(--a-ink); margin: 0 0 12px; line-height: 1.3; }
.vc-acc-kicker { margin: 0 0 6px; font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--a-blue); }
.vc-acc-kicker--light { color: #8CC4FF; }
.vc-acc-muted { color: var(--a-ink-3); font-size: .92rem; margin: 0; }
.vc-acc-strong { font-weight: 700; color: var(--a-ink); word-break: break-all; margin: 0 0 8px; }
.vc-acc-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--a-blue); text-decoration: none; border-radius: 6px; transition: color .2s, gap .25s var(--a-ease); }
.vc-acc-link:hover { color: var(--a-navy); gap: 9px; }
.vc-acc-link--sm { font-size: .88rem; }
.vc-acc-pill { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--a-tint); color: var(--a-navy); font-size: .78rem; font-weight: 800; }

/* ---------- Boutons ---------- */
.vc-acc-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
	font: inherit; font-size: .95rem; font-weight: 700; letter-spacing: .01em; line-height: 1; text-decoration: none; white-space: nowrap;
	transition: transform .25s var(--a-ease), box-shadow .25s var(--a-ease), background-color .2s, color .2s;
	-webkit-tap-highlight-color: transparent;
}
.vc-acc-btn--sm { min-height: 40px; padding: 0 16px; font-size: .86rem; }
.vc-acc-btn--block { width: 100%; }
.vc-acc-btn--primary { background: var(--a-grad); background-size: 140% 140%; background-position: 0 0; color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 112, 209, .7), inset 0 1px 0 rgba(255, 255, 255, .18); }
.vc-acc-btn--primary:hover { color: #fff; transform: translateY(-1px); background-position: 100% 100%; box-shadow: 0 16px 30px -12px rgba(0, 112, 209, .8), inset 0 1px 0 rgba(255, 255, 255, .22); }
.vc-acc-btn--primary:active { transform: translateY(0); }
.vc-acc-btn--ghost { background: #fff; color: var(--a-navy); box-shadow: inset 0 0 0 1.5px var(--a-line-2); }
.vc-acc-btn--ghost:hover { color: var(--a-navy); box-shadow: inset 0 0 0 1.5px var(--a-blue), 0 8px 18px -12px rgba(0, 112, 209, .5); transform: translateY(-1px); }
.vc-acc-btn--light { background: #fff; color: var(--a-navy); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .5); }
.vc-acc-btn--light:hover { color: var(--a-navy); transform: translateY(-1px); }
.vc-acc-btn:focus-visible, .vc-acc-link:focus-visible, .vc-acc-nav a:focus-visible, .vc-acc-shortcut:focus-visible, .vc-acc-eye:focus-visible, .vc-acc-minilist a:focus-visible { outline: 3px solid rgba(0, 112, 209, .45); outline-offset: 3px; }
.vc-acc-btn .vc-acc-ico { transition: transform .25s var(--a-ease); }
.vc-acc-btn:hover .vc-acc-ico { transform: translateX(2px); }
.vc-acc-btn__spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: vc-acc-spin .7s linear infinite; }
.vc-acc-btn--ghost .vc-acc-btn__spin { border-color: rgba(0, 55, 145, .2); border-top-color: var(--a-navy); }
.vc-acc-btn.is-loading { pointer-events: none; }
.vc-acc-btn.is-loading .vc-acc-btn__spin { display: block; }
.vc-acc-btn.is-loading .vc-acc-btn__label { opacity: .75; }
.vc-acc-authcard .vc-acc-btn--primary.vc-acc-btn--block { min-height: 56px; font-size: .98rem; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Cartes ---------- */
.vc-acc-card { background: #fff; border: 1px solid var(--a-line); border-radius: var(--a-r); box-shadow: var(--a-shadow); }
.vc-acc-panel { padding: clamp(18px, 2.4vw, 26px); }
.vc-acc-panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.vc-acc-panel__head p { margin: 6px 0 0; color: var(--a-ink-3); font-size: .92rem; }

@keyframes vc-acc-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes vc-acc-spin { to { transform: rotate(360deg); } }
@keyframes vc-acc-wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(14deg); } 20%, 40% { transform: rotate(-8deg); } }
@keyframes vc-acc-float { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-10px) rotate(-5deg); } }
@keyframes vc-acc-pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 112, 209, .45); } 100% { box-shadow: 0 0 0 12px rgba(0, 112, 209, 0); } }

.vc-acc-main > *, .vc-acc-hero, .vc-acc-nav, .vc-acc-orders > li, .vc-acc-tracklist > li, .vc-acc-grid > *, .vc-acc-shortcuts > *, .vc-acc-addresses > *, .vc-acc-oaside > *, .vc-acc-auth__visual, .vc-acc-authcard {
	animation: vc-acc-up .55s var(--a-ease) both;
	animation-delay: calc(var(--i, 0) * 60ms + 40ms);
}

/* ---------- Avertissements WooCommerce ---------- */
.vc-acc-notices:empty, .vc-acc-notices .woocommerce-notices-wrapper:empty { display: none; }
.vc-acc-page .vc-acc-notices .woocommerce-error,
.vc-acc-page .vc-acc-notices .woocommerce-message,
.vc-acc-page .vc-acc-notices .woocommerce-info,
.vc-acc-page .vc-acc-main .woocommerce-info,
.vc-acc-page .vc-acc-main .woocommerce-message {
	position: relative; list-style: none; margin: 0 0 18px; padding: 14px 16px 14px 48px; border: 0; border-radius: var(--a-r-sm);
	font-size: .93rem; line-height: 1.5; color: var(--a-ink); background: var(--a-tint); box-shadow: inset 0 0 0 1px rgba(0, 112, 209, .18);
	animation: vc-acc-up .4s var(--a-ease) both;
}
.vc-acc-page .vc-acc-notices .woocommerce-error { background: var(--a-bad-bg); box-shadow: inset 0 0 0 1px rgba(180, 35, 24, .22); color: #6E1A13; }
.vc-acc-page .vc-acc-notices .woocommerce-message { background: var(--a-ok-bg); box-shadow: inset 0 0 0 1px rgba(15, 122, 74, .22); color: #0B4F31; }
.vc-acc-page .vc-acc-notices .woocommerce-error::before,
.vc-acc-page .vc-acc-notices .woocommerce-message::before,
.vc-acc-page .vc-acc-notices .woocommerce-info::before {
	content: ""; position: absolute; left: 16px; top: 15px; width: 20px; height: 20px; border-radius: 50%;
	background: var(--a-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 11v6M12 7.5h.01'/%3E%3C/svg%3E") center / 14px no-repeat;
	font-family: inherit; color: transparent;
}
.vc-acc-page .vc-acc-notices .woocommerce-error::before { background-color: var(--a-bad); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 16.5h.01'/%3E%3C/svg%3E"); }
.vc-acc-page .vc-acc-notices .woocommerce-message::before { background-color: var(--a-ok); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E"); }
.vc-acc-page .vc-acc-notices .woocommerce-error li { margin: 0; }
.vc-acc-page .vc-acc-notices .woocommerce-error li + li { margin-top: 4px; }
.vc-acc-page .vc-acc-notices a { color: inherit; font-weight: 700; }

/* =========================================================================
 * Connexion / mot de passe oublié / réinitialisation
 * ========================================================================= */

.vc-acc-auth { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: stretch; min-height: min(720px, calc(100vh - var(--header-h, 72px) - 80px)); }

.vc-acc-auth__visual {
	position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 28px;
	padding: clamp(28px, 3.6vw, 48px); border-radius: 28px; color: #fff;
	background:
		radial-gradient(520px 420px at 92% 78%, rgba(0, 112, 209, .55), transparent 65%),
		radial-gradient(380px 300px at 8% 0%, rgba(10, 134, 240, .35), transparent 70%),
		linear-gradient(160deg, #0B2A63 0%, var(--a-night) 55%, #04112C 100%);
	box-shadow: 0 30px 60px -30px rgba(7, 27, 66, .65);
}
.vc-acc-auth__visual::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .06) 50%, transparent 60%); background-size: 250% 100%; animation: vc-acc-sheen 9s ease-in-out infinite; }
@keyframes vc-acc-sheen { 0%, 100% { background-position: 120% 0; } 50% { background-position: -20% 0; } }
.vc-acc-auth__shapes { position: absolute; z-index: -1; right: -60px; top: -40px; width: 380px; color: rgba(140, 196, 255, .10); }
.vc-acc-auth__glow { position: absolute; z-index: -1; right: 6%; bottom: 8%; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(10, 134, 240, .55), transparent 70%); filter: blur(10px); }
.vc-acc-auth__brand { display: flex; align-items: center; gap: 14px; }
.vc-acc-auth__logo { width: 52px; height: auto; filter: brightness(0) invert(1); }
.vc-acc-auth__brandname { display: flex; flex-direction: column; font-weight: 800; font-size: 1rem; line-height: 1.2; letter-spacing: -.01em; }
.vc-acc-auth__brandname small { font-weight: 500; font-size: .8rem; color: rgba(255, 255, 255, .62); letter-spacing: .04em; }
.vc-acc-auth__copy { max-width: 460px; position: relative; z-index: 2; }
.vc-acc-auth__title { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; margin: 0 0 14px; }
.vc-acc-auth__lead { color: rgba(255, 255, 255, .78); font-size: 1.02rem; line-height: 1.6; margin: 0 0 22px; }
.vc-acc-auth__perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vc-acc-auth__perks li { display: flex; align-items: center; gap: 12px; font-size: .94rem; color: rgba(255, 255, 255, .9); }
.vc-acc-auth__perks .vc-acc-ico { width: 34px; height: 34px; padding: 8px; border-radius: 11px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: #8CC4FF; }
.vc-acc-auth__art { position: relative; margin: auto 0 0; min-height: 230px; pointer-events: none; }
.vc-acc-auth__ps5 { position: absolute; right: 2%; bottom: 0; width: auto; height: 300px; max-height: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); opacity: .95; }
.vc-acc-auth__pad { position: absolute; left: 0; bottom: -6px; width: min(78%, 400px); height: auto; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .5)) drop-shadow(0 0 40px rgba(10, 134, 240, .25)); animation: vc-acc-float 7s ease-in-out infinite; transform: rotate(-6deg); }
.vc-acc-auth__legal { position: relative; z-index: 2; margin: 0; font-size: .75rem; line-height: 1.5; color: rgba(255, 255, 255, .5); }

.vc-acc-auth__panel { display: flex; flex-direction: column; justify-content: center; gap: 16px; min-width: 0; }
.vc-acc-authcard { width: 100%; max-width: 480px; margin: 0 auto; padding: clamp(24px, 3.4vw, 44px); border-radius: 26px; box-shadow: 0 2px 4px rgba(7, 27, 66, .04), 0 30px 60px -28px rgba(7, 27, 66, .3); animation-delay: 120ms; }
.vc-acc-authcard__head { text-align: center; margin-bottom: 26px; }
.vc-acc-authcard__logo { width: 46px; height: auto; margin: 0 auto 16px; display: block; }
.vc-acc-authcard__title { font-size: clamp(1.45rem, 2.4vw, 1.75rem); font-weight: 800; letter-spacing: -.02em; color: var(--a-ink); margin: 0 0 8px; }
.vc-acc-authcard__sub { color: var(--a-ink-3); font-size: .97rem; line-height: 1.55; margin: 0; }
.vc-acc-authcard__ok { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 22px; background: var(--a-tint); color: var(--a-blue); animation: vc-acc-pulse 1.8s ease-out 2; }
.vc-acc-authcard__foot { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--a-line); font-size: .9rem; color: var(--a-ink-2); line-height: 1.55; }
.vc-acc-authcard__foot p { margin: 0 0 10px; }
.vc-acc-authcard__foot--center { text-align: center; }
.vc-acc-auth--sent .vc-acc-authcard > .vc-acc-btn { margin-top: 4px; }
.vc-acc-auth__notice { display: flex; align-items: flex-start; gap: 10px; max-width: 480px; width: 100%; margin: 0 auto; padding: 0 6px; font-size: .8rem; line-height: 1.5; color: var(--a-ink-3); }
.vc-acc-auth__notice .vc-acc-ico { margin-top: 1px; color: var(--a-blue); }

/* ---------- Champs ---------- */
.vc-acc-form { display: grid; gap: 18px; }
.vc-acc-field { display: grid; gap: 7px; min-width: 0; }
.vc-acc-field label, .vc-acc-wcfields label { font-size: .88rem; font-weight: 650; color: var(--a-ink); }
.vc-acc-field__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.vc-acc-req, .vc-acc-wcfields .required { color: var(--a-bad); text-decoration: none; border: 0; }
.vc-acc-input { position: relative; display: flex; align-items: center; }
.vc-acc-input > .vc-acc-ico { position: absolute; left: 16px; color: #8A94AB; pointer-events: none; transition: color .2s; }
.vc-acc-input input,
.vc-acc-wcfields input.input-text,
.vc-acc-wcfields select,
.vc-acc-wcfields textarea {
	width: 100%; height: 54px; padding: 0 16px 0 48px; border: 1.5px solid var(--a-line-2); border-radius: var(--a-r-sm); background: #fff;
	font: inherit; font-size: 1rem; color: var(--a-ink); box-shadow: 0 1px 2px rgba(7, 27, 66, .04);
	transition: border-color .2s, box-shadow .2s, background-color .2s; -webkit-appearance: none; appearance: none;
}
.vc-acc-input--plain input, .vc-acc-wcfields input.input-text, .vc-acc-wcfields select, .vc-acc-wcfields textarea { padding-left: 16px; }
.vc-acc-input input[type="password"], .vc-acc-input input[data-vc-shown] { padding-right: 54px; }
.vc-acc-input input::placeholder, .vc-acc-wcfields input::placeholder { color: #A3ACBF; }
.vc-acc-input input:hover, .vc-acc-wcfields input.input-text:hover { border-color: #B9C5D8; }
.vc-acc-input input:focus, .vc-acc-wcfields input.input-text:focus, .vc-acc-wcfields select:focus, .vc-acc-wcfields textarea:focus {
	outline: 0; border-color: var(--a-blue); box-shadow: 0 0 0 4px rgba(0, 112, 209, .16);
}
.vc-acc-input:focus-within > .vc-acc-ico { color: var(--a-blue); }
.vc-acc-field.is-invalid .vc-acc-input input, .vc-acc-wcfields .woocommerce-invalid input.input-text { border-color: var(--a-bad); box-shadow: 0 0 0 4px rgba(180, 35, 24, .10); }
.vc-acc-field.is-invalid .vc-acc-input > .vc-acc-ico { color: var(--a-bad); }
.vc-acc-field.is-valid .vc-acc-input input { border-color: #7FC3A2; }
.vc-acc-field__err { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .84rem; font-weight: 600; color: var(--a-bad); }
.vc-acc-field__err:not([hidden])::before { content: ""; flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--a-bad) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 16.5h.01'/%3E%3C/svg%3E") center / 12px no-repeat; }
.vc-acc-field__err[hidden] { display: none; }
.vc-acc-field__help { margin: 0; font-size: .82rem; color: var(--a-ink-3); }

.vc-acc-eye { position: absolute; right: 6px; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 11px; background: transparent; color: #7A859D; cursor: pointer; transition: background-color .2s, color .2s; }
.vc-acc-eye:hover { background: var(--a-tint); color: var(--a-blue); }
.vc-acc-eye .vc-acc-ico + .vc-acc-ico { display: none; }
.vc-acc-eye[aria-pressed="true"] .vc-acc-ico:first-child { display: none; }
.vc-acc-eye[aria-pressed="true"] .vc-acc-ico + .vc-acc-ico { display: block; }

.vc-acc-check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: .92rem; color: var(--a-ink-2); user-select: none; justify-self: start; }
.vc-acc-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vc-acc-check__box { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--a-line-2); background: #fff; color: #fff; transition: background-color .2s, border-color .2s, transform .2s var(--a-ease); }
.vc-acc-check__box .vc-acc-ico { opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s var(--a-ease); }
.vc-acc-check input:checked + .vc-acc-check__box { background: var(--a-blue); border-color: var(--a-blue); }
.vc-acc-check input:checked + .vc-acc-check__box .vc-acc-ico { opacity: 1; transform: none; }
.vc-acc-check input:focus-visible + .vc-acc-check__box { box-shadow: 0 0 0 4px rgba(0, 112, 209, .25); }

.vc-acc-meter { display: grid; gap: 6px; }
.vc-acc-meter__bar { height: 6px; border-radius: 6px; background: #EDF1F7; overflow: hidden; }
.vc-acc-meter__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--a-bad); transition: width .35s var(--a-ease), background-color .35s; }
.vc-acc-meter[data-level="1"] .vc-acc-meter__bar i { width: 25%; background: var(--a-bad); }
.vc-acc-meter[data-level="2"] .vc-acc-meter__bar i { width: 55%; background: #D98A00; }
.vc-acc-meter[data-level="3"] .vc-acc-meter__bar i { width: 80%; background: #2E9E6B; }
.vc-acc-meter[data-level="4"] .vc-acc-meter__bar i { width: 100%; background: var(--a-ok); }
.vc-acc-meter__txt { font-size: .8rem; color: var(--a-ink-3); }
.vc-acc-meter[data-level="3"] .vc-acc-meter__txt, .vc-acc-meter[data-level="4"] .vc-acc-meter__txt { color: var(--a-ok); font-weight: 600; }

/* Champs WooCommerce (formulaire d'adresse) */
.vc-acc-wcfields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; margin-bottom: 8px; }
.vc-acc-wcfields .form-row { display: grid; gap: 7px; margin: 0; padding: 0; width: auto; float: none; grid-column: 1 / -1; }
.vc-acc-wcfields .form-row-first, .vc-acc-wcfields .form-row-last { grid-column: auto; }
.vc-acc-wcfields .woocommerce-input-wrapper { display: block; }
.vc-acc-wcfields .optional { color: var(--a-ink-3); font-weight: 500; }
.vc-acc-wcfields select { padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7690' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center / 18px no-repeat; }
.vc-acc-wcfields .select2-container { width: 100% !important; }
.vc-acc-wcfields .select2-container .select2-selection--single { height: 54px; border: 1.5px solid var(--a-line-2); border-radius: var(--a-r-sm); display: flex; align-items: center; }
.vc-acc-wcfields .select2-container .select2-selection--single .select2-selection__rendered { padding-left: 16px; line-height: 1.3; color: var(--a-ink); font-size: 1rem; }
.vc-acc-wcfields .select2-container .select2-selection--single .select2-selection__arrow { height: 52px; right: 10px; }
.vc-acc-wcfields .select2-container--open .select2-selection--single, .vc-acc-wcfields .select2-container--focus .select2-selection--single { border-color: var(--a-blue); box-shadow: 0 0 0 4px rgba(0, 112, 209, .16); }
.vc-acc-page .select2-dropdown { border-color: var(--a-line-2); border-radius: 12px; overflow: hidden; box-shadow: var(--a-shadow-hi); }
.vc-acc-page .select2-results__option--highlighted[aria-selected], .vc-acc-page .select2-results__option--highlighted[data-selected] { background: var(--a-blue); }
.vc-acc-page .select2-search--dropdown .select2-search__field { height: 42px; border-radius: 10px; border: 1.5px solid var(--a-line-2); padding: 0 12px; }
.vc-acc-wcfields .checkout-inline-error-message { margin: 0; color: var(--a-bad); font-size: .84rem; font-weight: 600; }

.vc-acc-formfoot { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--a-line); }
.vc-acc-formfoot .vc-acc-link { margin-right: auto; }
.vc-acc-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

/* =========================================================================
 * Espace connecté
 * ========================================================================= */

.vc-acc-hero {
	position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 20px;
	padding: clamp(20px, 3vw, 30px) clamp(20px, 3.4vw, 36px); border-radius: 26px; color: #fff;
	background: radial-gradient(420px 220px at 100% 100%, rgba(0, 112, 209, .55), transparent 70%), radial-gradient(300px 200px at 0% 0%, rgba(10, 134, 240, .28), transparent 70%), linear-gradient(120deg, #0B2A63 0%, var(--a-night) 60%, #061633 100%);
	box-shadow: 0 24px 50px -28px rgba(7, 27, 66, .6);
}
.vc-acc-hero__shapes { position: absolute; z-index: -1; right: 140px; top: -70px; width: 260px; color: rgba(140, 196, 255, .09); }
.vc-acc-hero__id { display: flex; align-items: center; gap: 18px; min-width: 0; }
.vc-acc-avatar { display: grid; place-items: center; flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; background: var(--a-grad); color: #fff; font-weight: 800; font-size: 1.3rem; letter-spacing: .02em; box-shadow: 0 0 0 4px rgba(255, 255, 255, .12), 0 12px 24px -10px rgba(0, 112, 209, .8); }
.vc-acc-avatar--sm { width: 52px; height: 52px; font-size: 1.05rem; box-shadow: 0 10px 20px -10px rgba(0, 112, 209, .8); }
.vc-acc-hero__hello { margin: 0; font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: #fff; overflow-wrap: anywhere; }
.vc-acc-wave { display: inline-block; transform-origin: 70% 70%; animation: vc-acc-wave 2.4s ease-in-out 1 .6s; }
.vc-acc-hero__sub { margin: 4px 0 0; color: rgba(255, 255, 255, .72); font-size: .97rem; }
.vc-acc-hero__brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; padding: 10px 16px 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); font-size: .78rem; line-height: 1.35; color: rgba(255, 255, 255, .7); }
.vc-acc-hero__brand strong { color: #fff; font-size: .86rem; }
.vc-acc-hero__logo { width: 34px; height: auto; filter: brightness(0) invert(1); }

.vc-acc-layout { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 24px; }
.vc-acc-main { min-width: 0; display: grid; gap: 20px; outline: 0; }
.vc-acc-main > .vc-acc-notices { margin-bottom: -20px; }
.vc-acc-section-head p { margin: 6px 0 0; color: var(--a-ink-3); font-size: .97rem; }

/* ---------- Menu ---------- */
.vc-acc-nav { position: sticky; top: calc(var(--header-h, 72px) + 20px); display: grid; gap: 14px; animation-delay: 60ms; }
.vc-acc-page .vc-acc-nav__list { list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--a-line); border-radius: var(--a-r); box-shadow: var(--a-shadow); }
.vc-acc-page .vc-acc-nav__item a { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 13px; color: var(--a-ink-2); font-weight: 600; font-size: .94rem; text-decoration: none; transition: background-color .2s, color .2s, padding-left .25s var(--a-ease); }
.vc-acc-page .vc-acc-nav__item a .vc-acc-ico { color: #8A94AB; transition: color .2s, transform .25s var(--a-ease); }
.vc-acc-page .vc-acc-nav__item a:hover { background: var(--a-bg); color: var(--a-ink); padding-left: 17px; }
.vc-acc-page .vc-acc-nav__item a:hover .vc-acc-ico { color: var(--a-blue); }
.vc-acc-page .vc-acc-nav__item a[aria-current="page"] { background: var(--a-tint); color: var(--a-navy); font-weight: 700; }
.vc-acc-page .vc-acc-nav__item a[aria-current="page"] .vc-acc-ico { color: var(--a-blue); }
.vc-acc-page .vc-acc-nav__item a[aria-current="page"]::before { content: ""; position: absolute; left: -8px; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: var(--a-grad); }
.vc-acc-page .vc-acc-nav__item--out { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--a-line); }
.vc-acc-page .vc-acc-nav__item--out a:hover { background: var(--a-bad-bg); color: var(--a-bad); }
.vc-acc-page .vc-acc-nav__item--out a:hover .vc-acc-ico { color: var(--a-bad); }
.vc-acc-page .vc-acc-nav__help { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; padding: 16px; border-radius: var(--a-r); background: linear-gradient(140deg, var(--a-tint), #F3F7FD); border: 1px solid #DCE8F8; }
.vc-acc-page .vc-acc-nav__help > .vc-acc-ico { color: var(--a-blue); margin-top: 2px; }
.vc-acc-page .vc-acc-nav__help p { margin: 0; display: grid; font-size: .82rem; color: var(--a-ink-3); }
.vc-acc-page .vc-acc-nav__help p strong { font-size: .92rem; color: var(--a-ink); }
.vc-acc-page .vc-acc-nav__help .vc-acc-link { grid-column: 2; }

/* ---------- Tableau de bord ---------- */
.vc-acc-grid--stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.vc-acc-stat { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 22px; transition: transform .3s var(--a-ease), box-shadow .3s var(--a-ease); overflow: hidden; }
.vc-acc-stat:hover { transform: translateY(-3px); box-shadow: var(--a-shadow-hi); }
.vc-acc-stat__ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 10px; border-radius: 14px; background: var(--a-tint); color: var(--a-blue); }
.vc-acc-stat__ico--info { background: #E9F0FF; color: var(--a-navy); }
.vc-acc-stat__ico--light { background: rgba(255, 255, 255, .12); color: #fff; }
.vc-acc-stat__label { margin: 0; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--a-ink-3); }
.vc-acc-stat__num { margin: 2px 0 0; font-size: 2.5rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; color: var(--a-ink); font-variant-numeric: tabular-nums; }
.vc-acc-stat__num--sm { font-size: 1.5rem; }
.vc-acc-stat__hint { margin: 0; font-size: .88rem; color: var(--a-ink-3); }
.vc-acc-stat__text { margin: 2px 0 0; font-size: 1.05rem; font-weight: 700; line-height: 1.35; color: inherit; }
.vc-acc-stat .vc-acc-btn { margin-top: auto; }
.vc-acc-stat > .vc-acc-stat__hint + .vc-acc-btn, .vc-acc-stat > .vc-acc-dl + .vc-acc-btn, .vc-acc-stat > .vc-acc-stat__list + .vc-acc-btn { margin-top: 16px; }
.vc-acc-stat__list { list-style: none; margin: 6px 0 0; padding: 0; width: 100%; display: grid; gap: 6px; }
.vc-acc-stat__list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; font-size: .88rem; }
.vc-acc-stat__list a { white-space: nowrap; font-weight: 700; color: var(--a-ink); text-decoration: none; }
.vc-acc-stat__list a:hover { color: var(--a-blue); }
.vc-acc-stat--help { color: #fff; border: 0; background: radial-gradient(260px 180px at 100% 100%, rgba(0, 112, 209, .6), transparent 70%), linear-gradient(140deg, #0B2A63, var(--a-night)); }
.vc-acc-stat--help .vc-acc-stat__label, .vc-acc-stat--help .vc-acc-stat__hint { color: rgba(255, 255, 255, .7); }
.vc-acc-dl { margin: 10px 0 0; width: 100%; display: grid; gap: 7px; }
.vc-acc-dl > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .88rem; }
.vc-acc-dl dt { color: var(--a-ink-3); margin: 0; }
.vc-acc-dl dd { margin: 0; font-weight: 700; color: var(--a-ink); text-align: right; }

.vc-acc-shortcuts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.vc-acc-shortcut { display: flex; align-items: center; gap: 14px; padding: 16px 18px; text-decoration: none; color: var(--a-ink); transition: transform .3s var(--a-ease), box-shadow .3s var(--a-ease), border-color .3s; }
.vc-acc-shortcut > span:nth-child(2) { display: grid; flex: 1; min-width: 0; }
.vc-acc-shortcut strong { font-size: .95rem; }
.vc-acc-shortcut small { font-size: .82rem; color: var(--a-ink-3); }
.vc-acc-shortcut > .vc-acc-ico { color: #A3ACBF; transition: transform .25s var(--a-ease), color .2s; }
.vc-acc-shortcut:hover { color: var(--a-ink); transform: translateY(-2px); border-color: #C9DBF3; box-shadow: var(--a-shadow-hi); }
.vc-acc-shortcut:hover > .vc-acc-ico { color: var(--a-blue); transform: translateX(3px); }
.vc-acc-shortcut__ico { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 13px; background: var(--a-tint); color: var(--a-blue); }

/* ---------- Badges ---------- */
.vc-acc-badge { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; padding: 6px 11px 6px 9px; border-radius: 999px; font-size: .78rem; font-weight: 750; line-height: 1; white-space: nowrap; background: var(--a-tint); color: var(--a-navy); }
.vc-acc-badge__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.vc-acc-badge--info .vc-acc-badge__dot { animation: vc-acc-pulse 2s ease-out infinite; }
.vc-acc-badge--ok { background: var(--a-ok-bg); color: var(--a-ok); }
.vc-acc-badge--wait { background: var(--a-wait-bg); color: var(--a-wait); }
.vc-acc-badge--bad { background: var(--a-bad-bg); color: var(--a-bad); }
.vc-acc-badge--muted { background: #EEF1F6; color: #5B6680; }

/* ---------- Commandes ---------- */
.vc-acc-orders, .vc-acc-tracklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.vc-acc-order { padding: 0; overflow: hidden; transition: transform .3s var(--a-ease), box-shadow .3s var(--a-ease), border-color .3s; }
.vc-acc-order:hover { transform: translateY(-2px); box-shadow: var(--a-shadow-hi); border-color: #CFE0F5; }
.vc-acc-order__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--a-line); background: linear-gradient(180deg, #FBFCFE, #fff); }
.vc-acc-order__num { margin: 0; font-size: 1.02rem; font-weight: 800; color: var(--a-ink); }
.vc-acc-order__head time { font-size: .85rem; color: var(--a-ink-3); }
.vc-acc-order__body { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 18px 22px; }
.vc-acc-order__names { margin: 0; font-weight: 650; color: var(--a-ink); line-height: 1.4; }
.vc-acc-order__count { margin: 3px 0 0; font-size: .85rem; color: var(--a-ink-3); }
.vc-acc-order__total { display: grid; justify-items: end; gap: 2px; }
.vc-acc-order__total > span { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--a-ink-3); }
.vc-acc-order__total strong { font-size: 1.15rem; font-weight: 800; color: var(--a-ink); font-variant-numeric: tabular-nums; }
.vc-acc-order__foot { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; padding: 0 22px 18px; }

.vc-acc-thumbs { display: flex; gap: 8px; }
.vc-acc-thumb { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 14px; background: var(--a-bg); border: 1px solid var(--a-line); overflow: hidden; }
.vc-acc-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.vc-acc-thumb em { position: absolute; right: 3px; bottom: 3px; padding: 2px 5px; border-radius: 6px; background: var(--a-night); color: #fff; font-style: normal; font-size: .66rem; font-weight: 800; }
.vc-acc-thumb--more { font-weight: 800; font-size: .9rem; color: var(--a-navy); background: var(--a-tint); }
.vc-acc-thumbs--sm .vc-acc-thumb { width: 48px; height: 48px; border-radius: 12px; }

.vc-acc-pager { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.vc-acc-pager__info { font-size: .88rem; color: var(--a-ink-3); }

.vc-acc-empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: clamp(32px, 5vw, 56px) 24px; }
.vc-acc-empty p { margin: 0 0 10px; max-width: 420px; color: var(--a-ink-3); }
.vc-acc-empty__ico { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: var(--a-tint); color: var(--a-blue); margin-bottom: 6px; }

/* ---------- Détail de commande ---------- */
.vc-acc-back { display: inline-flex; align-items: center; gap: 8px; justify-self: start; font-size: .9rem; font-weight: 650; color: var(--a-ink-2); text-decoration: none; transition: color .2s, gap .25s var(--a-ease); }
.vc-acc-back:hover { color: var(--a-blue); gap: 11px; }
.vc-acc-ohead { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: clamp(18px, 2.6vw, 28px); }
.vc-acc-ohead__meta { margin: 6px 0 0; color: var(--a-ink-3); font-size: .93rem; }
.vc-acc-ohead__side { display: grid; justify-items: end; gap: 10px; }
.vc-acc-ohead__total { font-size: 1.6rem; font-weight: 800; color: var(--a-ink); letter-spacing: -.02em; }

.vc-acc-ogrid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.vc-acc-oaside { display: grid; gap: 16px; }
.vc-acc-lines { list-style: none; margin: 0; padding: 0; display: grid; }
.vc-acc-line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--a-line); }
.vc-acc-line:first-child { padding-top: 0; }
.vc-acc-line__img { display: block; width: 76px; height: 76px; border-radius: 16px; background: var(--a-bg); border: 1px solid var(--a-line); overflow: hidden; }
.vc-acc-line__img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.vc-acc-line__info { display: grid; gap: 4px; min-width: 0; }
.vc-acc-line__name { font-weight: 700; color: var(--a-ink); text-decoration: none; line-height: 1.35; }
a.vc-acc-line__name:hover { color: var(--a-blue); }
.vc-acc-line__qty { font-size: .86rem; color: var(--a-ink-3); }
.vc-acc-line__info .wc-item-meta { list-style: none; margin: 0; padding: 0; font-size: .82rem; color: var(--a-ink-3); }
.vc-acc-line__info .wc-item-meta p { display: inline; margin: 0; }
.vc-acc-line__price { font-weight: 800; color: var(--a-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.vc-acc-totals { margin: 16px 0 0; display: grid; gap: 10px; }
.vc-acc-totals__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: .93rem; }
.vc-acc-totals__row dt { color: var(--a-ink-3); margin: 0; }
.vc-acc-totals__row dd { margin: 0; text-align: right; font-weight: 650; color: var(--a-ink); }
.vc-acc-totals__row dd small { display: block; font-weight: 500; color: var(--a-ink-3); font-size: .8rem; }
.vc-acc-totals__row--order_total { margin-top: 4px; padding-top: 14px; border-top: 1px dashed var(--a-line-2); font-size: 1.05rem; }
.vc-acc-totals__row--order_total dt { color: var(--a-ink); font-weight: 750; }
.vc-acc-totals__row--order_total dd { font-size: 1.25rem; font-weight: 800; }
.vc-acc-onote { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--a-bg); font-size: .9rem; color: var(--a-ink-2); }
.vc-acc-address { font-style: normal; line-height: 1.65; color: var(--a-ink-2); font-size: .94rem; margin: 0 0 12px; }
.vc-acc-ometa { display: flex; flex-direction: column; gap: 2px; margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--a-line); font-size: .9rem; }
.vc-acc-ometa span { font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--a-ink-3); }
.vc-acc-ometa strong { color: var(--a-ink); font-weight: 650; overflow-wrap: anywhere; }
.vc-acc-panel--help { background: linear-gradient(150deg, var(--a-tint), #fff 70%); }
.vc-acc-panel--help p { margin: 0 0 14px; font-size: .9rem; color: var(--a-ink-2); }
.vc-acc-oactions:empty { display: none; }
.vc-acc-oactions .order-again { margin: 0; }
.vc-acc-oactions .order-again .button { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px; background: #fff; color: var(--a-navy); box-shadow: inset 0 0 0 1.5px var(--a-line-2); font-weight: 700; text-decoration: none; }

/* Accordéon (messages de la boutique) */
.vc-acc-acc { padding: 0; overflow: hidden; }
.vc-acc-acc summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; cursor: pointer; list-style: none; }
.vc-acc-acc summary::-webkit-details-marker { display: none; }
.vc-acc-acc summary > .vc-acc-ico { color: #A3ACBF; transform: rotate(90deg); transition: transform .3s var(--a-ease); }
.vc-acc-acc[open] summary > .vc-acc-ico { transform: rotate(-90deg); }
.vc-acc-acc[open] .vc-acc-notes { animation: vc-acc-up .35s var(--a-ease) both; }
.vc-acc-notes { list-style: none; margin: 0; padding: 0 24px 20px; display: grid; gap: 12px; }
.vc-acc-notes li { padding: 14px 16px; border-radius: 14px; background: var(--a-bg); border-left: 3px solid var(--a-blue); }
.vc-acc-notes time { font-size: .78rem; font-weight: 700; color: var(--a-ink-3); }
.vc-acc-notes li p { margin: 4px 0 0; font-size: .93rem; color: var(--a-ink-2); }

/* ---------- Frise de suivi ---------- */
.vc-acc-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: s; }
.vc-acc-timeline__step { position: relative; display: grid; justify-items: center; text-align: center; gap: 10px; padding: 0 6px; }
.vc-acc-timeline__step::before { content: ""; position: absolute; top: 21px; right: 50%; width: 100%; height: 3px; border-radius: 3px; background: var(--a-line); z-index: 0; }
.vc-acc-timeline__step:first-child::before { display: none; }
.vc-acc-timeline__step.is-done::before, .vc-acc-timeline__step.is-current::before { background: var(--a-grad); }
.vc-acc-timeline__step.is-current::before { background: linear-gradient(90deg, #0070D1, #9CC7F2); }
.vc-acc-timeline__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--a-line-2); color: #A3ACBF; transition: transform .3s var(--a-ease); }
.vc-acc-timeline__step.is-done .vc-acc-timeline__dot { background: var(--a-grad); border-color: transparent; color: #fff; box-shadow: 0 8px 18px -8px rgba(0, 112, 209, .8); }
.vc-acc-timeline__step.is-current .vc-acc-timeline__dot { border-color: var(--a-blue); color: var(--a-blue); background: var(--a-tint); animation: vc-acc-pulse 1.8s ease-out infinite; }
.vc-acc-timeline__body { display: grid; gap: 3px; }
.vc-acc-timeline__body strong { font-size: .9rem; color: var(--a-ink); }
.vc-acc-timeline__step.is-todo .vc-acc-timeline__body strong { color: var(--a-ink-3); }
.vc-acc-timeline__body small { font-size: .8rem; line-height: 1.4; color: var(--a-ink-3); }
.vc-acc-timeline__body time { font-size: .78rem; font-weight: 700; color: var(--a-blue); }
.vc-acc-timeline--compact .vc-acc-timeline__dot { width: 38px; height: 38px; }
.vc-acc-timeline--compact .vc-acc-timeline__step::before { top: 18px; }

.vc-acc-stopped { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #F2F4F8; color: var(--a-ink-2); }
.vc-acc-stopped p { margin: 0; font-size: .93rem; }
.vc-acc-stopped .vc-acc-ico { color: #8A94AB; }

.vc-acc-track { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 20px; padding: 14px 16px; border-radius: 16px; background: var(--a-bg); border: 1px solid var(--a-line); }
.vc-acc-track > .vc-acc-ico { color: var(--a-blue); }
.vc-acc-track__info { display: grid; gap: 2px; flex: 1; min-width: 180px; font-size: .9rem; color: var(--a-ink-2); }
.vc-acc-track__carrier { font-weight: 800; color: var(--a-ink); }
.vc-acc-track__num strong { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; color: var(--a-ink); word-break: break-all; }
.vc-acc-track__date { font-size: .82rem; color: var(--a-ink-3); }
.vc-acc-track--empty { background: #fff; border-style: dashed; }
.vc-acc-track--empty p { margin: 0; flex: 1; font-size: .9rem; color: var(--a-ink-3); }
.vc-acc-track--empty .vc-acc-ico { color: #A3ACBF; }

.vc-acc-trackcard { display: grid; gap: 20px; }
.vc-acc-trackcard__head { display: flex; align-items: center; gap: 14px; }
.vc-acc-trackcard__title { flex: 1; min-width: 0; }
.vc-acc-trackcard__title .vc-acc-h3 { margin: 0; }
.vc-acc-trackcard__title p { margin: 2px 0 0; font-size: .86rem; color: var(--a-ink-3); }
.vc-acc-trackcard .vc-acc-track { margin-top: 0; }
.vc-acc-trackcard__foot { padding-top: 14px; border-top: 1px solid var(--a-line); }

/* ---------- Adresses ---------- */
.vc-acc-addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.vc-acc-addr { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; transition: transform .3s var(--a-ease), box-shadow .3s var(--a-ease); }
.vc-acc-addr:hover { transform: translateY(-2px); box-shadow: var(--a-shadow-hi); }
.vc-acc-addr__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.vc-acc-addr__head .vc-acc-h3 { margin: 0; }
.vc-acc-addr__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--a-tint); color: var(--a-blue); }
.vc-acc-addr .vc-acc-address { flex: 1; }
.vc-acc-addr .vc-acc-ometa { width: 100%; margin: 0 0 16px; }
.vc-acc-addr .vc-acc-btn { margin-top: auto; }
.vc-acc-addr--empty { border-style: dashed; box-shadow: none; }
.vc-acc-addresses__note { display: flex; align-items: center; gap: 8px; }
.vc-acc-addresses__note .vc-acc-ico { color: var(--a-ok); }

/* ---------- Profil / sécurité ---------- */
.vc-acc-idline { display: flex; align-items: center; gap: 14px; }
.vc-acc-ogrid--sec { grid-template-columns: minmax(0, 1fr) 300px; }
.vc-acc-ogrid--sec form .vc-acc-btn--primary { justify-self: start; }
.vc-acc-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .88rem; color: var(--a-ink-2); }
.vc-acc-ticks li { position: relative; padding-left: 24px; line-height: 1.45; }
.vc-acc-ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--a-ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F7A4A' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.vc-acc-panel .vc-acc-muted + form, .vc-acc-panel .vc-acc-muted + .vc-acc-btn { margin-top: 14px; }

/* ---------- Assistance ---------- */
.vc-acc-supporthero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(22px, 3vw, 32px); color: #fff; border: 0; background: radial-gradient(360px 220px at 100% 100%, rgba(0, 112, 209, .6), transparent 70%), linear-gradient(130deg, #0B2A63, var(--a-night)); }
.vc-acc-supporthero > div:first-of-type { flex: 1 1 320px; }
.vc-acc-supporthero .vc-acc-h2 { color: #fff; font-size: 1.3rem; }
.vc-acc-supporthero p { margin: 8px 0 0; color: rgba(255, 255, 255, .76); }
.vc-acc-supporthero__shapes { position: absolute; z-index: -1; right: -40px; top: -60px; width: 240px; color: rgba(140, 196, 255, .1); }
.vc-acc-supporthero__cta { display: grid; gap: 10px; justify-items: start; }
.vc-acc-supporthero__mail { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: .92rem; text-decoration: none; opacity: .88; }
.vc-acc-supporthero__mail:hover { color: #fff; opacity: 1; text-decoration: underline; }
.vc-acc-minilist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vc-acc-minilist a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--a-bg); color: var(--a-ink); text-decoration: none; transition: background-color .2s, transform .25s var(--a-ease); }
.vc-acc-minilist a > span:first-child { display: grid; flex: 1; }
.vc-acc-minilist small { color: var(--a-ink-3); font-size: .8rem; }
.vc-acc-minilist a > .vc-acc-ico { color: #A3ACBF; }
.vc-acc-minilist a:hover { background: var(--a-tint); transform: translateX(2px); }
.vc-acc-shortcuts--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* =========================================================================
 * Responsive
 * ========================================================================= */

@media (max-width: 1100px) {
	.vc-acc-layout { grid-template-columns: 236px minmax(0, 1fr); gap: 22px; }
	.vc-acc-ogrid, .vc-acc-ogrid--sec { grid-template-columns: minmax(0, 1fr); }
	.vc-acc-oaside { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

@media (max-width: 900px) {
	/* Connexion : visuel compact au-dessus, carte qui le chevauche */
	.vc-acc-auth { grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 0; }
	.vc-acc-auth__visual { gap: 14px; padding: 22px 22px 70px; border-radius: 24px; }
	.vc-acc-auth__perks, .vc-acc-auth__legal { display: none; }
	.vc-acc-auth__copy { max-width: 62%; }
	.vc-acc-auth__title { font-size: clamp(1.35rem, 5.4vw, 1.9rem); margin-bottom: 8px; }
	.vc-acc-auth__lead { font-size: .9rem; margin: 0; }
	.vc-acc-auth__art { position: absolute; right: -12px; bottom: 54px; width: 44%; min-height: 0; height: 64%; margin: 0; }
	.vc-acc-auth__ps5 { height: 100%; right: 0; opacity: .55; }
	.vc-acc-auth__pad { width: 100%; left: auto; right: 6%; bottom: 0; }
	.vc-acc-auth__panel { margin-top: -48px; position: relative; z-index: 2; gap: 14px; }
	.vc-acc-authcard { max-width: 560px; }
	.vc-acc-auth__notice { max-width: 560px; }

	/* Espace connecté : menu déroulant (bouton « section courante ») */
	.vc-acc-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 16px; }
	.vc-acc-nav { position: sticky; top: calc(var(--header-h, 58px) + 8px); z-index: 20; gap: 0; }
	.admin-bar .vc-acc-nav { top: calc(var(--header-h, 58px) + 54px); }
	.vc-acc-nav__toggle { display: flex; }
	.vc-acc-nav--js:not(.is-open) .vc-acc-nav__list { display: none; }
	.vc-acc-page .vc-acc-nav--js .vc-acc-nav__list { position: absolute; left: 0; right: 0; top: calc(100% + 8px); max-height: calc(100vh - var(--header-h, 58px) - 110px); overflow-y: auto; box-shadow: 0 24px 50px -18px rgba(7, 27, 66, .35); animation: vc-acc-drop .25s var(--a-ease) both; }
	.vc-acc-page .vc-acc-nav__item a:hover { padding-left: 14px; }
	.vc-acc-page .vc-acc-nav__help { display: none; }
	.vc-acc-hero__brand { display: none; }
}

@media (max-width: 640px) {
	.vc-acc-page .vc-page { padding-top: 14px; }
	.vc-acc-auth__visual { padding: 20px 18px 66px; }
	.vc-acc-auth__copy { max-width: 64%; }
	.vc-acc-auth__brand { gap: 10px; }
	.vc-acc-auth__logo { width: 40px; }
	.vc-acc-auth__lead { display: none; }
	.vc-acc-auth__art { width: 46%; height: 70%; bottom: 46px; }
	.vc-acc-authcard { padding: 24px 18px 22px; border-radius: 22px; }
	.vc-acc-authcard__head { margin-bottom: 20px; }
	.vc-acc-authcard__logo { display: none; }

	.vc-acc-hero { padding: 18px; border-radius: 22px; }
	.vc-acc-avatar { width: 52px; height: 52px; font-size: 1.05rem; }
	.vc-acc-hero__id { gap: 14px; }
	.vc-acc-hero__sub { font-size: .88rem; }

	.vc-acc-grid--stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.vc-acc-stat { padding: 16px; }
	.vc-acc-stat__ico { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 6px; }
	.vc-acc-stat__num { font-size: 2rem; }
	.vc-acc-stat__num--sm { font-size: 1.2rem; }
	.vc-acc-stat__label { font-size: .75rem; }
	.vc-acc-stat--last, .vc-acc-stat--help { grid-column: 1 / -1; }
	.vc-acc-stat .vc-acc-btn { width: 100%; }

	.vc-acc-order__head { padding: 14px 16px; }
	.vc-acc-order__body { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 14px 16px; }
	.vc-acc-order__total { grid-auto-flow: column; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--a-line); }
	.vc-acc-order__foot { padding: 0 16px 16px; }
	.vc-acc-order__foot .vc-acc-btn { flex: 1; }

	.vc-acc-timeline { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.vc-acc-timeline__step { grid-template-columns: 44px minmax(0, 1fr); justify-items: start; text-align: left; gap: 14px; padding: 0 0 18px; }
	.vc-acc-timeline__step:last-child { padding-bottom: 0; }
	.vc-acc-timeline__step::before { display: block; top: auto; bottom: 0; right: auto; left: 20.5px; width: 3px; height: calc(100% - 44px); transform: translateY(0); }
	.vc-acc-timeline__step:first-child::before { display: block; }
	.vc-acc-timeline__step:last-child::before { display: none; }
	.vc-acc-timeline__step.is-current::before { background: var(--a-line); }
	.vc-acc-timeline__step.is-done::before { background: var(--a-grad); }
	.vc-acc-timeline__body { padding-top: 10px; }
	.vc-acc-timeline--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.vc-acc-timeline--compact .vc-acc-timeline__step { grid-template-columns: none; justify-items: center; text-align: center; gap: 6px; padding: 0 2px; }
	.vc-acc-timeline--compact .vc-acc-timeline__step::before { top: 18px; bottom: auto; left: auto; right: 50%; width: 100%; height: 3px; }
	.vc-acc-timeline--compact .vc-acc-timeline__step:first-child::before { display: none; }
	.vc-acc-timeline--compact .vc-acc-timeline__step:last-child::before { display: block; }
	.vc-acc-timeline--compact .vc-acc-timeline__step.is-current::before { background: linear-gradient(90deg, #0070D1, #9CC7F2); }
	.vc-acc-timeline--compact .vc-acc-timeline__body { padding-top: 0; }
	.vc-acc-timeline--compact .vc-acc-timeline__body strong { font-size: .75rem; line-height: 1.25; }
	.vc-acc-timeline--compact .vc-acc-timeline__body time { font-size: .75rem; }

	.vc-acc-panel__head { flex-direction: column; gap: 8px; }
	.vc-acc-ohead { padding: 18px; }
	.vc-acc-ohead__side { justify-items: start; grid-auto-flow: column; align-items: center; gap: 14px; }
	.vc-acc-ohead__total { font-size: 1.3rem; }
	.vc-acc-line { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; }
	.vc-acc-line__img { width: 60px; height: 60px; border-radius: 13px; }
	.vc-acc-line__price { grid-column: 2; }
	.vc-acc-oaside { grid-template-columns: minmax(0, 1fr); }
	.vc-acc-acc summary { padding: 16px 18px; }
	.vc-acc-notes { padding: 0 18px 18px; }
	.vc-acc-trackcard__head { flex-wrap: wrap; }
	.vc-acc-trackcard__head .vc-acc-badge { order: -1; flex-basis: 100%; justify-content: flex-start; width: max-content; flex-grow: 0; }

	.vc-acc-grid2, .vc-acc-wcfields { grid-template-columns: minmax(0, 1fr); }
	.vc-acc-wcfields .form-row-first, .vc-acc-wcfields .form-row-last { grid-column: 1 / -1; }
	.vc-acc-formfoot { flex-direction: column-reverse; align-items: stretch; }
	.vc-acc-formfoot .vc-acc-btn { width: 100%; }
	.vc-acc-formfoot .vc-acc-link { margin: 4px auto 0; }
	.vc-acc-ogrid--sec form .vc-acc-btn--primary { justify-self: stretch; }
	.vc-acc-shortcuts { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.vc-acc-supporthero__cta { width: 100%; }
	.vc-acc-supporthero__cta .vc-acc-btn { width: 100%; }
}

@media (max-width: 380px) {
	.vc-acc-grid--stats { grid-template-columns: minmax(0, 1fr); }
	.vc-acc-auth__copy { max-width: 70%; }
	.vc-acc-hero__hello { font-size: 1.25rem; }
}

/* Entrées 16 px sur mobile : pas de zoom automatique iOS */
@media (max-width: 900px) {
	.vc-acc-input input, .vc-acc-wcfields input.input-text, .vc-acc-wcfields select { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.vc-acc-page *, .vc-acc-page *::before, .vc-acc-page *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* v1.1 — correctifs */
.vc-acc-page .vc-acc-nav__help .vc-acc-link { display: inline-flex; padding: 0; background: none; border-radius: 6px; color: var(--a-blue); font-weight: 650; }
.vc-acc-page .vc-acc-nav__help .vc-acc-link:hover { background: none; color: var(--a-navy); }
.vc-acc-page .vc-acc-main > .woocommerce-info, .vc-acc-page .vc-acc-main .woocommerce-info { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-left: 18px; }
.vc-acc-page .vc-acc-main .woocommerce-info .button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--a-grad); color: #fff; font-weight: 700; font-size: .88rem; text-decoration: none; }
@media (max-width: 900px) { .vc-acc-nav { gap: 0; } .vc-acc-main { gap: 16px; } }
@media (max-width: 640px) {
	.vc-acc-stat .vc-acc-btn { white-space: normal; text-align: center; line-height: 1.2; padding: 8px 12px; min-height: 42px; }
	.vc-acc-stat .vc-acc-btn .vc-acc-ico { display: none; }
}
.vc-acc-ogrid > *, .vc-acc-layout > *, .vc-acc-grid--stats > * { min-width: 0; }
@media (max-width: 640px) {
	.vc-acc-trackcard__head .vc-acc-badge { order: 3; flex-basis: auto; margin-left: 62px; }
	.vc-acc-trackcard__title { flex: 1 1 calc(100% - 62px); }
}

/* Bouton du menu mobile (masqué sur ordinateur) */
.vc-acc-nav__toggle { display: none; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 0 16px; border: 1px solid var(--a-line); border-radius: 18px; background: #fff; box-shadow: var(--a-shadow); font: inherit; font-size: .98rem; font-weight: 700; color: var(--a-navy); text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.vc-acc-nav__toggle > .vc-acc-ico:first-child { width: 36px; height: 36px; padding: 8px; border-radius: 11px; background: var(--a-grad); color: #fff; }
.vc-acc-nav__toggle-label { flex: 1; min-width: 0; display: grid; line-height: 1.2; }
.vc-acc-nav__toggle-label small { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--a-ink-3); }
.vc-acc-nav__chev { color: var(--a-ink-3); transform: rotate(90deg); transition: transform .3s var(--a-ease); }
.vc-acc-nav.is-open .vc-acc-nav__chev { transform: rotate(-90deg); }
.vc-acc-nav__toggle:focus-visible { outline: 3px solid rgba(0, 112, 209, .45); outline-offset: 3px; }
@media (max-width: 900px) { .vc-acc-nav__toggle { display: flex; } }
@keyframes vc-acc-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* E-mail de connexion non modifiable */
.vc-acc-input--locked input, .vc-acc-input--locked input:hover { background: #EEF1F6; border-color: var(--a-line); color: var(--a-ink-3); cursor: not-allowed; box-shadow: none; -webkit-text-fill-color: var(--a-ink-3); opacity: 1; padding-right: 128px; }
.vc-acc-input--locked .vc-acc-lockbadge { position: absolute; right: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: #fff; color: var(--a-ink-3); font-size: .75rem; font-weight: 700; box-shadow: inset 0 0 0 1px var(--a-line-2); }
@media (max-width: 640px) {
	.vc-acc-input--locked input, .vc-acc-input--locked input:hover { padding-right: 52px; }
	.vc-acc-input--locked .vc-acc-lockbadge { font-size: 0; gap: 0; padding: 7px; }
}
