/* =====================================================
   AAC Espace Privilège — front
   Charte : rouge #C53938 · corail #FF675B · anthracite #303745
   Typos : Poppins (titres) · Lato (texte)
   ===================================================== */

.aac-priv {
	--aac-red: #C53938;
	--aac-coral: #FF675B;
	--aac-dark: #303745;
	--aac-darker: #23282D;
	--aac-light: #f6f7f9;
	--aac-gold: #E7B75F;
	--aac-green: #2e9e5b;
	font-family: 'Lato', Helvetica, Arial, sans-serif;
	color: var(--aac-dark);
	line-height: 1.65;
	overflow-x: hidden;
	position: relative;
}
.aac-priv *, .aac-priv *::before, .aac-priv *::after { box-sizing: border-box; }
.aac-priv h1, .aac-priv h2, .aac-priv h3, .aac-priv h4 {
	font-family: 'Poppins', Helvetica, Arial, sans-serif;
	margin: 0;
	color: var(--aac-dark);
}
.aac-priv [hidden] { display: none !important; }

#aac-confetti {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 9998;
}

/* ---------- Hero ---------- */
.aac-hero {
	text-align: center;
	padding: 70px 20px 40px;
	max-width: 820px;
	margin: 0 auto;
	animation: aac-fade-up .8s ease both;
}
.aac-badge {
	display: inline-block;
	font-family: 'Poppins', sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--aac-red);
	border: 1px solid rgba(197, 57, 56, .35);
	border-radius: 999px;
	padding: 8px 22px;
	margin-bottom: 22px;
	background: rgba(197, 57, 56, .05);
}
.aac-hero-title {
	font-size: clamp(30px, 9vw, 76px);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	white-space: nowrap;
	word-break: keep-all;
	overflow-wrap: normal;
	hyphens: none;
	background: linear-gradient(120deg, var(--aac-red), var(--aac-coral));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--aac-red);
	margin-bottom: 18px;
}
.aac-hero-lead { font-size: 18px; color: #4a5160; max-width: 640px; margin: 0 auto 14px; }
.aac-hero-sub { font-weight: 700; color: var(--aac-dark); font-size: 16px; }

/* ---------- Cartes avantages ---------- */
.aac-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
	gap: 28px;
	max-width: 1020px;
	margin: 20px auto 60px;
	padding: 0 20px;
	align-items: stretch;
}

/* Ticket petit-déjeuner */
.aac-ticket {
	display: flex;
	background: var(--aac-dark);
	border-radius: 18px;
	overflow: hidden;
	color: #fff;
	box-shadow: 0 18px 40px rgba(35, 40, 45, .35);
	position: relative;
	animation: aac-fade-up .8s .15s ease both;
	transition: transform .25s ease, box-shadow .25s ease;
}
.aac-ticket:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(35, 40, 45, .45); }
.aac-ticket-main { padding: 34px 30px; flex: 1; }
.aac-ticket-tag {
	display: inline-block;
	font-family: 'Poppins', sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: var(--aac-gold);
	margin-bottom: 12px;
}
.aac-tag-light { color: rgba(255, 255, 255, .9); }
.aac-ticket-title {
	color: #fff;
	font-size: 30px;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1.15;
	margin-bottom: 12px;
}
.aac-ticket-txt { color: rgba(255, 255, 255, .78); font-size: 15px; margin: 0 0 22px; }
.aac-ticket-stub {
	width: 108px;
	background: linear-gradient(160deg, var(--aac-gold), #cf9a3d);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-left: 2px dashed rgba(35, 40, 45, .55);
	position: relative;
	flex-shrink: 0;
}
.aac-ticket-stub::before, .aac-ticket-stub::after {
	content: '';
	position: absolute;
	left: -12px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
}
.aac-ticket-stub::before { top: -11px; }
.aac-ticket-stub::after { bottom: -11px; }
.aac-stub-icon { font-size: 34px; }
.aac-stub-label {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 2px;
	color: var(--aac-darker);
	text-align: center;
	line-height: 1.3;
}

/* Carte parrainage */
.aac-card-parrain {
	background: linear-gradient(150deg, var(--aac-red), var(--aac-coral));
	border-radius: 18px;
	padding: 34px 30px;
	color: #fff;
	position: relative;
	overflow: hidden;
	box-shadow: 0 18px 40px rgba(197, 57, 56, .35);
	animation: aac-fade-up .8s .3s ease both;
	transition: transform .25s ease, box-shadow .25s ease;
}
.aac-card-parrain:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(197, 57, 56, .45); }
.aac-parrain-amount {
	position: absolute;
	top: -14px;
	right: 6px;
	font-family: 'Poppins', sans-serif;
	font-weight: 800;
	font-size: 120px;
	line-height: 1;
	color: rgba(255, 255, 255, .14);
	user-select: none;
	pointer-events: none;
}
.aac-parrain-title { color: #fff; font-size: 26px; font-weight: 700; text-transform: uppercase; line-height: 1.2; margin-bottom: 12px; position: relative; }
.aac-parrain-txt { color: rgba(255, 255, 255, .9); font-size: 15px; margin: 0 0 22px; position: relative; }

/* Carte suivi de projet */
.aac-card-suivi {
	background: #fff;
	border: 2px solid #e6e9ee;
	border-radius: 18px;
	padding: 34px 30px;
	position: relative;
	overflow: hidden;
	box-shadow: 0 18px 40px rgba(35, 40, 45, .12);
	animation: aac-fade-up .8s .45s ease both;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.aac-card-suivi:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(35, 40, 45, .18); border-color: var(--aac-coral); }
.aac-tag-suivi { color: var(--aac-red); }
.aac-suivi-icon { font-size: 40px; display: block; margin: 4px 0 8px; }
.aac-suivi-title { font-size: 26px; font-weight: 700; text-transform: uppercase; line-height: 1.2; margin-bottom: 12px; }
.aac-suivi-txt { color: #4a5160; font-size: 15px; margin: 0 0 22px; }

/* ---------- Boutons ---------- */
.aac-btn {
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	border: none;
	border-radius: 10px;
	padding: 15px 28px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.aac-btn:hover { transform: translateY(-2px); }
.aac-btn:active { transform: translateY(0); }
.aac-btn-full { width: 100%; }
.aac-btn-red { background: var(--aac-red); color: #fff; box-shadow: 0 8px 20px rgba(197, 57, 56, .35); }
.aac-btn-red:hover { background: #ad2f2e; color: #fff; }
.aac-btn-gold {
	background: linear-gradient(120deg, var(--aac-gold), #cf9a3d);
	color: var(--aac-darker);
	box-shadow: 0 8px 20px rgba(231, 183, 95, .35);
	animation: aac-pulse 2.4s ease-in-out infinite;
}
.aac-btn-gold:hover { color: var(--aac-darker); }
.aac-btn-white { background: #fff; color: var(--aac-red); }
.aac-btn-white:hover { background: #fff2f1; color: var(--aac-red); }
.aac-btn-dark { background: var(--aac-dark); color: #fff; }
.aac-btn-dark:hover { background: var(--aac-darker); color: #fff; }
.aac-btn-spinner {
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, .4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: aac-spin .7s linear infinite;
}
.aac-btn-gold .aac-btn-spinner { border-color: rgba(35,40,45,.3); border-top-color: var(--aac-darker); }

/* ---------- Section parrainage ---------- */
.aac-parrainage {
	background: var(--aac-light);
	padding: 60px 20px 70px;
	animation: aac-fade-up .5s ease both;
}
.aac-section-head { text-align: center; max-width: 700px; margin: 0 auto 34px; }
.aac-section-head h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.aac-section-head h2::after {
	content: '';
	display: block;
	width: 64px;
	height: 4px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--aac-red), var(--aac-coral));
	margin: 14px auto 0;
}
.aac-section-head p { color: #667; }

/* ---------- Page publique « Devenir parrain » ---------- */
.aac-espace-parrainage { padding-top: 50px; }
.aac-parrain-pitch {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 16px;
	max-width: 760px;
	margin: 0 auto 30px;
}
.aac-pitch-item {
	background: #fff;
	border-radius: 16px;
	padding: 22px 20px;
	text-align: center;
	box-shadow: 0 8px 30px rgba(35, 40, 45, .08);
	border-top: 4px solid var(--aac-coral);
}
.aac-pitch-item span { font-size: 32px; display: block; margin-bottom: 8px; }
.aac-pitch-item strong {
	display: block;
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: var(--aac-dark);
	margin-bottom: 6px;
}
.aac-pitch-item small { font-size: 13px; color: #667; line-height: 1.5; display: block; }

/* ---------- Page « Mon espace client » ---------- */
.aac-espace {
	background: var(--aac-light);
	min-height: 70vh;
	padding: 34px 20px 70px;
}
.aac-espace-back {
	max-width: 760px;
	margin: 0 auto 20px;
	font-size: 14px;
}
.aac-espace-back a { color: #98a0ae; text-decoration: none; font-weight: 700; }
.aac-espace-back a:hover { color: var(--aac-red); }
.aac-espace .aac-section-head .aac-badge { margin-bottom: 14px; font-size: 10px; }

.aac-espace-note {
	max-width: 700px;
	margin: -14px auto 30px;
	text-align: center;
	color: #4a5160;
	font-size: 15px;
	background: #fff;
	border-radius: 12px;
	padding: 16px 22px;
	box-shadow: 0 8px 30px rgba(35, 40, 45, .06);
}

.aac-rules {
	max-width: 760px;
	margin: 0 auto 34px;
	background: #fff;
	border-radius: 16px;
	padding: 30px 34px;
	box-shadow: 0 8px 30px rgba(35, 40, 45, .08);
}
.aac-rules h3 { font-size: 18px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.aac-rules-list { margin: 0; padding: 0; list-style: none; counter-reset: aac-rule; }
.aac-rules-list li {
	counter-increment: aac-rule;
	position: relative;
	padding: 10px 0 10px 52px;
	font-size: 15px;
	color: #40485a;
}
.aac-rules-list li + li { border-top: 1px solid #eef0f3; }
.aac-rules-list li::before {
	content: counter(aac-rule);
	position: absolute;
	left: 0;
	top: 10px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: linear-gradient(140deg, var(--aac-red), var(--aac-coral));
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ---------- Formulaires / panneaux ---------- */
.aac-auth, .aac-dash { max-width: 760px; margin: 0 auto; }
.aac-auth-tabs { display: flex; gap: 10px; margin-bottom: -1px; padding: 0 8px; }
.aac-tab {
	flex: 1;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 14px;
	padding: 14px 10px;
	border: none;
	border-radius: 12px 12px 0 0;
	background: #e6e9ee;
	color: #667;
	cursor: pointer;
	transition: background .2s;
}
.aac-tab.is-active { background: #fff; color: var(--aac-red); box-shadow: 0 -6px 18px rgba(35,40,45,.05); }

.aac-panel {
	background: #fff;
	border-radius: 16px;
	padding: 28px 30px;
	box-shadow: 0 8px 30px rgba(35, 40, 45, .08);
	margin-bottom: 22px;
}
.aac-panel-center { text-align: center; }
.aac-panel-title { font-size: 17px; margin-bottom: 16px; }
.aac-priv label {
	display: block;
	font-family: 'Poppins', sans-serif;
	font-weight: 500;
	font-size: 13px;
	color: var(--aac-dark);
	margin-bottom: 14px;
}
.aac-priv label small { font-weight: 400; color: #98a0ae; }
.aac-priv input[type="text"],
.aac-priv input[type="tel"],
.aac-priv input[type="email"],
.aac-priv input[type="password"],
.aac-priv select,
.aac-priv textarea {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 12px 14px !important;
	border: 1.5px solid #ccd3dc !important;
	border-radius: 10px !important;
	font-family: 'Lato', sans-serif;
	font-size: 15px;
	color: var(--aac-dark);
	background: #fff !important;
	box-shadow: none;
	transition: border-color .15s, box-shadow .15s;
}
.aac-priv input:focus, .aac-priv select:focus, .aac-priv textarea:focus {
	outline: none;
	border-color: var(--aac-coral) !important;
	box-shadow: 0 0 0 3px rgba(255, 103, 91, .15);
}
.aac-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .aac-grid-2 { grid-template-columns: 1fr; } }
.aac-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-family: 'Lato', sans-serif !important; font-size: 14px !important; }
.aac-check input { width: auto !important; margin-top: 3px !important; }
.aac-hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; }
.aac-form-error {
	background: #fdecec;
	color: #a32b2a;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 14px;
	margin: 0 0 14px;
}
.aac-form-info {
	background: #fff7e8;
	color: #8a6410;
	border: 1px solid #f0dcae;
	border-radius: 10px;
	padding: 12px 16px;
	font-size: 14px;
	margin: 0 0 14px;
}

/* Question terrain (Oui / Pas encore) */
.aac-terrain {
	border: none;
	padding: 0;
	margin: 0 0 14px;
}
.aac-terrain legend {
	font-family: 'Poppins', sans-serif;
	font-weight: 500;
	font-size: 13px;
	color: var(--aac-dark);
	margin-bottom: 8px;
	padding: 0;
}
.aac-radio-group { display: flex; gap: 12px; }
.aac-radio { flex: 1; margin-bottom: 0 !important; cursor: pointer; }
.aac-radio input { position: absolute; opacity: 0; width: 0 !important; height: 0; }
.aac-radio span {
	display: block;
	text-align: center;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 14px;
	color: #55607a;
	background: #fff;
	border: 1.5px solid #ccd3dc;
	border-radius: 10px;
	padding: 12px 10px;
	transition: all .15s ease;
}
.aac-radio:hover span { border-color: var(--aac-coral); }
.aac-radio input:checked + span {
	background: var(--aac-red);
	border-color: var(--aac-red);
	color: #fff;
	box-shadow: 0 6px 16px rgba(197, 57, 56, .3);
}
.aac-radio input:focus-visible + span { box-shadow: 0 0 0 3px rgba(255, 103, 91, .3); }
.aac-btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.aac-form-success {
	background: #e7f6ed;
	color: #1e7a44;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 14px;
	margin: 0 0 14px;
}
.aac-auth-lost { text-align: center; margin: 14px 0 0; font-size: 14px; }
.aac-auth-lost a { color: var(--aac-red); }

/* ---------- Navigation du tableau de bord ---------- */
.aac-dash-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 22px;
}
.aac-dash-tab {
	display: flex;
	align-items: center;
	gap: 14px;
	text-align: left;
	background: #fff;
	border: 2px solid #e2e6ec;
	border-radius: 16px;
	padding: 18px 20px;
	cursor: pointer;
	transition: all .2s ease;
	font-family: 'Lato', sans-serif;
}
.aac-dash-tab:hover { border-color: var(--aac-coral); transform: translateY(-2px); }
.aac-dash-tab-ico { font-size: 30px; line-height: 1; }
.aac-dash-tab-txt { display: flex; flex-direction: column; gap: 2px; }
.aac-dash-tab-txt strong {
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: var(--aac-dark);
}
.aac-dash-tab-txt small { font-size: 13px; color: #98a0ae; }
.aac-dash-tab.is-active {
	background: linear-gradient(140deg, var(--aac-red), var(--aac-coral));
	border-color: var(--aac-red);
	box-shadow: 0 12px 28px rgba(197, 57, 56, .35);
}
.aac-dash-tab.is-active .aac-dash-tab-txt strong { color: #fff; }
.aac-dash-tab.is-active .aac-dash-tab-txt small { color: rgba(255, 255, 255, .8); }

.aac-view { animation: aac-fade-up .35s ease both; }

.aac-rules-details {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 30px rgba(35, 40, 45, .08);
	margin-bottom: 22px;
	overflow: hidden;
}
.aac-rules-details summary {
	cursor: pointer;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 15px;
	color: var(--aac-dark);
	padding: 18px 24px;
	list-style: none;
	transition: color .15s;
}
.aac-rules-details summary::-webkit-details-marker { display: none; }
.aac-rules-details summary::after { content: ' ▾'; color: var(--aac-coral); }
.aac-rules-details[open] summary::after { content: ' ▴'; }
.aac-rules-details summary:hover { color: var(--aac-red); }
.aac-rules-details .aac-rules { box-shadow: none; margin: 0; border-radius: 0; padding-top: 0; max-width: none; }

/* ---------- Dashboard parrain ---------- */
.aac-dash-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.aac-dash-head h3 { font-size: 24px; }
.aac-dash-head p { margin: 4px 0 0; color: #667; }
.aac-link-logout { font-size: 13px; color: #98a0ae; text-decoration: underline; }
.aac-link-logout:hover { color: var(--aac-red); }
.aac-dash-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 22px; }
.aac-stat {
	background: var(--aac-dark);
	border-radius: 14px;
	padding: 20px;
	color: #fff;
	text-align: center;
}
.aac-stat strong { display: block; font-family: 'Poppins', sans-serif; font-size: 32px; font-weight: 700; }
.aac-stat span { font-size: 13px; color: rgba(255, 255, 255, .75); text-transform: uppercase; letter-spacing: 1px; }
.aac-stat-green { background: linear-gradient(140deg, #23794a, var(--aac-green)); }
.aac-empty { color: #98a0ae; font-style: italic; }

.aac-table-wrap { overflow-x: auto; }
.aac-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.aac-table th {
	text-align: left;
	font-family: 'Poppins', sans-serif;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #98a0ae;
	padding: 8px 12px;
	border-bottom: 2px solid #eef0f3;
}
.aac-table td { padding: 12px; border-bottom: 1px solid #eef0f3; }
.aac-status {
	display: inline-block;
	font-family: 'Poppins', sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	border-radius: 999px;
	padding: 5px 12px;
	white-space: nowrap;
}
.aac-status-nouveau { background: #eef1f6; color: #55607a; }
.aac-status-contacte { background: #fff3e0; color: #b26a00; }
.aac-status-signe { background: #e3efff; color: #1d5eb8; }
.aac-status-verse { background: #e7f6ed; color: #1e7a44; }
.aac-status-caduc { background: #fdecec; color: #a32b2a; }

/* ---------- Modale ---------- */
.aac-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.aac-modal-backdrop { position: absolute; inset: 0; background: rgba(35, 40, 45, .72); backdrop-filter: blur(3px); }
.aac-modal-box {
	position: relative;
	background: #fff;
	border-radius: 18px;
	max-width: 480px;
	width: 100%;
	max-height: 92vh;
	overflow-y: auto;
	padding: 32px 30px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
	animation: aac-pop .35s cubic-bezier(.2, 1.4, .4, 1) both;
}
.aac-modal-box h3 { font-size: 22px; margin-bottom: 6px; }
.aac-modal-sub { color: #667; font-size: 14px; margin: 0 0 20px; }
.aac-modal-x {
	position: absolute;
	top: 12px;
	right: 14px;
	border: none;
	background: none;
	font-size: 30px;
	line-height: 1;
	color: #98a0ae;
	cursor: pointer;
}
.aac-modal-x:hover { color: var(--aac-red); }

/* ---------- Bon cadeau ---------- */
.aac-voucher {
	border-radius: 16px;
	overflow: hidden;
	border: 2px solid var(--aac-gold);
	margin-bottom: 16px;
	background: #fff;
}
.aac-voucher-head {
	background: var(--aac-dark);
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 18px;
	gap: 10px;
	flex-wrap: wrap;
}
.aac-voucher-brand { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: #fff; }
.aac-voucher-kind { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--aac-gold); font-weight: 700; }
.aac-voucher-body { padding: 24px 20px; text-align: center; }
.aac-voucher-icon { font-size: 40px; display: block; margin-bottom: 8px; }
.aac-voucher-body h4 { font-size: 19px; text-transform: uppercase; margin-bottom: 4px; }
.aac-voucher-name { color: #667; font-size: 14px; margin: 0 0 16px; }
.aac-voucher-code-wrap {
	background: repeating-linear-gradient(45deg, #faf6ee, #faf6ee 10px, #f5efe2 10px, #f5efe2 20px);
	border: 1.5px dashed var(--aac-gold);
	border-radius: 12px;
	padding: 14px;
	margin-bottom: 16px;
}
.aac-voucher-code-wrap span { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #9a8352; margin-bottom: 4px; }
.aac-voucher-code-wrap strong { font-family: 'Poppins', sans-serif; font-size: 26px; font-weight: 700; letter-spacing: 4px; color: var(--aac-dark); }
.aac-voucher-note { font-size: 12px; color: #98a0ae; margin: 0; }

/* ---------- Frise de suivi de projet ---------- */
.aac-suivi-result h3 { font-size: 20px; margin-bottom: 4px; }
.aac-suivi-progress-label { color: #667; font-size: 14px; margin: 0 0 10px; }
.aac-suivi-progress-label strong { color: var(--aac-red); }
.aac-progressbar {
	height: 10px;
	border-radius: 999px;
	background: #eef0f3;
	overflow: hidden;
	margin-bottom: 22px;
}
.aac-progressbar span {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--aac-red), var(--aac-coral));
	transition: width .8s ease;
}
.aac-timeline { list-style: none; margin: 0; padding: 0; }
.aac-tl-item {
	position: relative;
	padding: 0 0 22px 50px;
}
.aac-tl-item::before {
	content: '';
	position: absolute;
	left: 17px;
	top: 36px;
	bottom: 0;
	width: 2px;
	background: #e2e6ec;
}
.aac-tl-item:last-child { padding-bottom: 0; }
.aac-tl-item:last-child::before { display: none; }
.aac-tl-item.is-done::before { background: var(--aac-red); }
.aac-tl-dot {
	position: absolute;
	left: 0;
	top: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 15px;
	background: #eef0f3;
	color: #98a0ae;
	border: 2px solid #e2e6ec;
}
.is-done .aac-tl-dot { background: var(--aac-red); border-color: var(--aac-red); color: #fff; }
.is-current .aac-tl-dot {
	background: #fff;
	border-color: var(--aac-coral);
	color: var(--aac-red);
	box-shadow: 0 0 0 4px rgba(255, 103, 91, .2);
	animation: aac-pulse-dot 2s ease-in-out infinite;
}
.aac-tl-body h4 { font-size: 15px; margin: 6px 0 4px; }
.aac-tl-body p { font-size: 13.5px; color: #667; margin: 0; }
.is-todo .aac-tl-body h4 { color: #98a0ae; }
.is-todo .aac-tl-body p { color: #b3bac4; }
.aac-tl-badge {
	display: inline-block;
	margin-top: 8px;
	font-family: 'Poppins', sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	background: linear-gradient(120deg, var(--aac-red), var(--aac-coral));
	color: #fff;
	border-radius: 999px;
	padding: 5px 14px;
}
.aac-suivi-maj { text-align: right; font-size: 12px; color: #98a0ae; margin: 16px 0 0; }
@keyframes aac-pulse-dot {
	0%, 100% { box-shadow: 0 0 0 4px rgba(255, 103, 91, .2); }
	50% { box-shadow: 0 0 0 8px rgba(255, 103, 91, .08); }
}

/* ---------- Animations ---------- */
@keyframes aac-fade-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes aac-pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: scale(1); } }
@keyframes aac-spin { to { transform: rotate(360deg); } }
@keyframes aac-pulse {
	0%, 100% { box-shadow: 0 8px 20px rgba(231, 183, 95, .35); }
	50% { box-shadow: 0 8px 26px rgba(231, 183, 95, .7); }
}
@media (prefers-reduced-motion: reduce) {
	.aac-priv *, .aac-priv *::before, .aac-priv *::after { animation: none !important; transition: none !important; }
}

/* ---------- Mobile compact ---------- */
@media (max-width: 560px) {
	.aac-hero { padding: 42px 12px 22px; }
	.aac-hero-title { letter-spacing: 0; margin-bottom: 12px; }
	.aac-badge { font-size: 10px; padding: 6px 16px; margin-bottom: 16px; }
	.aac-hero-lead { font-size: 15px; }
	.aac-hero-sub { font-size: 14px; }

	.aac-cards { gap: 18px; margin-bottom: 40px; padding: 0 14px; }
	.aac-ticket-main { padding: 22px 18px; }
	.aac-ticket-title { font-size: 22px; }
	.aac-ticket-txt { font-size: 13.5px; margin-bottom: 16px; }
	.aac-ticket-stub { width: 78px; }
	.aac-stub-icon { font-size: 26px; }
	.aac-stub-label { font-size: 11px; letter-spacing: 1.5px; }
	.aac-card-parrain { padding: 22px 18px; }
	.aac-parrain-title { font-size: 20px; }
	.aac-parrain-txt { font-size: 13.5px; margin-bottom: 16px; }
	.aac-parrain-amount { font-size: 88px; }
	.aac-card-suivi { padding: 22px 18px; }
	.aac-suivi-title { font-size: 20px; }
	.aac-suivi-txt { font-size: 13.5px; margin-bottom: 16px; }
	.aac-suivi-icon { font-size: 32px; }
	.aac-tl-item { padding-left: 42px; }
	.aac-tl-dot { width: 30px; height: 30px; font-size: 13px; }
	.aac-tl-item::before { left: 14px; top: 30px; }
	.aac-tl-body h4 { font-size: 14px; }
	.aac-tl-body p { font-size: 12.5px; }

	.aac-btn { padding: 13px 20px; font-size: 12.5px; letter-spacing: 1px; }

	.aac-parrainage { padding: 38px 14px 46px; }
	.aac-section-head { margin-bottom: 24px; }
	.aac-section-head p { font-size: 14px; }
	.aac-rules { padding: 20px 16px; border-radius: 14px; }
	.aac-rules h3 { font-size: 15px; }
	.aac-rules-list li { font-size: 13.5px; padding: 8px 0 8px 42px; }
	.aac-rules-list li::before { width: 28px; height: 28px; font-size: 13px; top: 8px; }

	.aac-panel { padding: 20px 16px; border-radius: 14px; }
	.aac-priv label { font-size: 12px; margin-bottom: 11px; }
	.aac-priv input[type="text"],
	.aac-priv input[type="tel"],
	.aac-priv input[type="email"],
	.aac-priv input[type="password"],
	.aac-priv select,
	.aac-priv textarea { padding: 10px 12px !important; font-size: 14px; }
	.aac-tab { font-size: 13px; padding: 12px 8px; }

	.aac-dash-head h3 { font-size: 19px; }
	.aac-dash-nav { grid-template-columns: 1fr; gap: 10px; }
	.aac-dash-tab { padding: 14px 16px; }
	.aac-dash-tab-ico { font-size: 24px; }
	.aac-dash-tab-txt strong { font-size: 14px; }
	.aac-dash-tab-txt small { font-size: 12px; }
	.aac-rules-details summary { padding: 14px 16px; font-size: 13.5px; }
	.aac-espace-parrainage { padding-top: 32px; }
	.aac-parrain-pitch { grid-template-columns: 1fr; gap: 10px; margin-bottom: 22px; }
	.aac-pitch-item { padding: 16px 14px; border-radius: 14px; }
	.aac-pitch-item span { font-size: 26px; }
	.aac-dash-stats { gap: 10px; }
	.aac-stat { padding: 14px 10px; border-radius: 12px; }
	.aac-stat strong { font-size: 24px; }
	.aac-stat span { font-size: 11px; }
	.aac-table { font-size: 13px; }
	.aac-table td { padding: 9px 8px; }
	.aac-status { font-size: 10px; padding: 4px 9px; }

	/* Modale façon "bottom sheet" */
	.aac-modal { padding: 0; align-items: flex-end; }
	.aac-modal-box {
		max-width: 100%;
		border-radius: 20px 20px 0 0;
		padding: 24px 18px 26px;
		max-height: 92vh;
		animation: aac-slide-up .3s ease both;
	}
	.aac-modal-box h3 { font-size: 18px; padding-right: 26px; }
	.aac-modal-sub { font-size: 13px; margin-bottom: 16px; }

	.aac-voucher-body { padding: 18px 14px; }
	.aac-voucher-icon { font-size: 32px; }
	.aac-voucher-body h4 { font-size: 16px; }
	.aac-voucher-code-wrap strong { font-size: 21px; letter-spacing: 3px; }
	.aac-voucher-brand { font-size: 11px; }
}
@keyframes aac-slide-up { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }

/* ---------- Impression du bon ---------- */
@media print {
	body * { visibility: hidden !important; }
	.aac-modal, .aac-modal * { visibility: visible !important; }
	.aac-modal { position: absolute; inset: 0; padding: 0; }
	.aac-modal-backdrop, .aac-modal-x, #aac-voucher-print { display: none !important; }
	.aac-modal-box { box-shadow: none; max-width: 100%; }
}
