/* AfroElite Writer — thème enfant de Hello Elementor
   Les couleurs viennent des variables --aewt-* (voir inc/palette.php),
   identiques aux couleurs globales d'Elementor. */

/* ---------- Base ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
	font-family: var(--aewt-font);
	background: var(--aewt-aewbg);
	color: var(--aewt-text);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
	transition: background-color .25s ease, color .25s ease;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--aewt-font); color: var(--aewt-secondary); letter-spacing: -.01em; }
a { color: var(--aewt-accent); }
a:hover { color: var(--aewt-primary); }
::selection { background: var(--aewt-primary); color: #111; }
:focus-visible { outline: 2px solid var(--aewt-primary); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 12px; left: 12px; z-index: 9999; width: auto; height: auto; clip: auto; padding: 10px 16px; border-radius: 10px; background: var(--aewt-primary); color: #111; font-weight: 700; }

.aewt-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
@media (max-width: 767px) { .aewt-wrap { padding: 0 16px; } }

/* ---------- Boutons du thème (en-tête, pied, blocs dynamiques) ---------- */
html body .aewt-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box;
	min-height: 46px; padding: 0 22px; border-radius: 12px; border: 1.5px solid transparent;
	font: 700 15px/1.2 var(--aewt-font); text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
html body .aewt-btn:hover { transform: translateY(-1px); }
html body .aewt-btn--gold { background: var(--aewt-primary); color: var(--aewt-aewongold); box-shadow: 0 6px 18px -8px rgba(224, 153, 0, .55); }
html body .aewt-btn--gold:hover { background: #F0A800; color: var(--aewt-aewongold); box-shadow: 0 10px 24px -10px rgba(224, 153, 0, .7); }
html body .aewt-btn--outline { background: transparent; color: var(--aewt-secondary); border-color: var(--aewt-aewline); }
html body .aewt-btn--outline:hover { border-color: var(--aewt-secondary); color: var(--aewt-secondary); }

/* ---------- Barre d'annonce ---------- */
html body .aewt-announce { background: #0B0B0B; color: #E9E3D6; font-size: 14px; text-align: center; padding: 9px 0; }
html body .aewt-announce a { color: #E09900; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
html body .aewt-announce .aewt-ico { width: 15px; height: 15px; }

/* ---------- En-tête ---------- */
html body .aewt-header {
	position: sticky; top: 0; z-index: 990;
	background: color-mix(in srgb, var(--aewt-aewbg) 86%, transparent);
	-webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .25s ease;
}
html body.admin-bar .aewt-header { top: 32px; }
@media (max-width: 782px) { html body.admin-bar .aewt-header { top: 46px; } }
html body .aewt-header.is-scrolled { border-bottom-color: var(--aewt-aewline); box-shadow: 0 8px 24px -18px rgba(0, 0, 0, .35); }
html body .aewt-header__in { display: flex; align-items: center; gap: 28px; min-height: 76px; }

html body .aewt-brand { margin-right: 8px; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--aewt-secondary); flex-shrink: 0; }
html body .aewt-brand:hover { color: var(--aewt-secondary); }
html body .aewt-brand__mark { width: 44px; height: 44px; border-radius: 12px; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--aewt-aewline); overflow: hidden; }
html body .aewt-brand__mark img { width: 40px; height: 40px; object-fit: contain; }
html body .aewt-brand__name { font-weight: 800; font-size: 18px; letter-spacing: -.02em; white-space: nowrap; }
html body .aewt-brand__name b { color: var(--aewt-primary); font-weight: 800; }
html body .aewt-brand__img { max-height: 48px; width: auto; }

html body .aewt-nav { flex: 1; min-width: 0; }
html body .aewt-nav__list { display: flex; align-items: center; justify-content: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
html body .aewt-nav__list > li { position: relative; }
html body .aewt-nav__list a { display: block; padding: 10px 11px; border-radius: 10px; color: var(--aewt-text); text-decoration: none; font-weight: 600; font-size: 14.5px; white-space: nowrap; transition: color .15s ease, background-color .15s ease; }
html body .aewt-nav__list a:hover { color: var(--aewt-secondary); background: var(--aewt-aewalt); }
html body .aewt-nav__list .current-menu-item > a, html body .aewt-nav__list .current_page_item > a { color: var(--aewt-secondary); }
html body .aewt-nav__list .current-menu-item > a::after, html body .aewt-nav__list .current_page_item > a::after { content: ""; display: block; height: 2px; margin-top: 4px; border-radius: 2px; background: var(--aewt-primary); }
html body .aewt-nav__list .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 6px 0 0; padding: 8px; background: var(--aewt-aewsurface); border: 1px solid var(--aewt-aewline); border-radius: 14px; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .35); opacity: 0; visibility: hidden; transform: translateY(4px); transition: .18s ease; }
html body .aewt-nav__list li:hover > .sub-menu, html body .aewt-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
html body .aewt-nav__mobile { display: none; }

html body .aewt-header__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
html body .aewt-login { color: var(--aewt-secondary); font-weight: 700; font-size: 15px; text-decoration: none; padding: 10px 8px; }
html body .aewt-login:hover { color: var(--aewt-accent); }

html body .aewt-mode, html body .aewt-burger { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--aewt-aewline); background: var(--aewt-aewsurface); color: var(--aewt-secondary); display: inline-grid; place-items: center; cursor: pointer; padding: 0; transition: border-color .15s ease, transform .15s ease; }
html body .aewt-mode:hover, html body .aewt-burger:hover { border-color: var(--aewt-primary); }
html body .aewt-mode > span, html body .aewt-burger > span { display: grid; place-items: center; }
html body .aewt-mode__sun, html[data-theme="dark"] body .aewt-mode__moon { display: none !important; }
html[data-theme="dark"] body .aewt-mode__sun { display: grid !important; }
html body .aewt-burger { display: none; }
html body .aewt-burger__close { display: none !important; }
html body.aewt-menu-open .aewt-burger__open { display: none !important; }
html body.aewt-menu-open .aewt-burger__close { display: grid !important; }

@media (max-width: 1240px) {
	html body .aewt-header__in { gap: 16px; min-height: 68px; }
	html body .aewt-burger { display: inline-grid; }
	html body .aewt-login, html body .aewt-header__cta { display: none; }
	html body .aewt-header__actions { margin-left: auto; }
	html body .aewt-nav {
		position: fixed; inset: 68px 0 auto 0; max-height: calc(100vh - 68px); overflow-y: auto;
		background: var(--aewt-aewbg); border-bottom: 1px solid var(--aewt-aewline);
		padding: 12px 16px 24px; box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .4);
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s ease;
	}
	html body.admin-bar .aewt-nav { top: 114px; }
	html body.aewt-menu-open .aewt-nav { opacity: 1; visibility: visible; transform: none; }
	html body .aewt-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
	html body .aewt-nav__list a { padding: 14px 12px; font-size: 17px; }
	html body .aewt-nav__list .current-menu-item > a::after { display: none; }
	html body .aewt-nav__list .current-menu-item > a { background: var(--aewt-aewalt); }
	html body .aewt-nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; margin: 0; background: none; }
	html body .aewt-nav__mobile { display: grid; gap: 10px; margin-top: 16px; }
	html body .aewt-nav__mobile .aewt-btn { width: 100%; min-height: 50px; }
	html body.aewt-menu-open { overflow: hidden; }
}
@media (max-width: 420px) { html body .aewt-brand__name { font-size: 16px; } html body .aewt-brand__mark { width: 38px; height: 38px; } html body .aewt-brand__mark img { width: 34px; height: 34px; } }

/* ---------- Pied de page ---------- */
html body .aewt-footer { background: #0B0B0B; color: #BDB6A8; padding: 72px 0 0; margin-top: 0; }
html[data-theme="dark"] body .aewt-footer { background: #070707; border-top: 1px solid #1F1E1B; }
html body .aewt-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
html body .aewt-footer .aewt-brand { color: #fff; }
html body .aewt-footer .aewt-brand__mark { box-shadow: none; }
html body .aewt-footer__about p { margin: 18px 0 0; max-width: 340px; font-size: 15px; line-height: 1.7; }
html body .aewt-footer__title { color: #E09900; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; margin: 6px 0 18px; }
html body .aewt-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
html body .aewt-footer__list a, html body .aewt-footer__list span { color: #D8D2C5; text-decoration: none; font-size: 15px; }
html body .aewt-footer__list a:hover { color: #fff; }
html body .aewt-footer__contact li { display: flex; align-items: flex-start; gap: 10px; }
html body .aewt-footer__contact .aewt-ico { color: #E09900; flex-shrink: 0; margin-top: 2px; width: 18px; height: 18px; }
html body .aewt-footer__contact a { word-break: break-word; }
html body .aewt-socials { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
html body .aewt-socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: #1A1916; transition: background-color .15s ease, color .15s ease; }
html body .aewt-socials a:hover { background: #E09900; color: #111; }
html body .aewt-footer__bottom { border-top: 1px solid #23211D; display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; font-size: 14px; }
html body .aewt-footer__bottom p { margin: 0; }
html body .aewt-footer__legal { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; }
html body .aewt-footer__legal a { color: #BDB6A8; text-decoration: none; }
html body .aewt-footer__legal a:hover { color: #fff; }
html body .aewt-footer__pay { display: inline-flex; align-items: center; gap: 8px; }
html body .aewt-footer__pay .aewt-ico { width: 16px; height: 16px; color: #E09900; }
@media (max-width: 960px) { html body .aewt-footer__grid { grid-template-columns: 1fr 1fr; } html body .aewt-footer__about { grid-column: 1 / -1; } }
@media (max-width: 560px) { html body .aewt-footer { padding-top: 56px; } html body .aewt-footer__grid { grid-template-columns: 1fr; gap: 32px; } html body .aewt-footer__bottom { flex-direction: column; align-items: flex-start; } }

/* ---------- Bouton WhatsApp flottant ---------- */
html body .aewt-wa { position: fixed; right: 20px; bottom: 20px; z-index: 980; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 16px; border-radius: 999px; background: #1FAF5A; color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); transition: transform .18s ease; }
html body .aewt-wa:hover { color: #fff; transform: translateY(-2px); }
html body .aewt-wa .aewt-ico { width: 24px; height: 24px; }
@media (max-width: 640px) { html body .aewt-wa { width: 54px; padding: 0; justify-content: center; right: 14px; bottom: 14px; } html body .aewt-wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* ---------- Page 404 et pages sans Elementor ---------- */
.aewt-404 { padding: 120px 0 140px; }
.aewt-404__in { max-width: 760px; text-align: center; }
.aewt-404 h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.06; font-weight: 800; letter-spacing: -.03em; margin: 12px 0 18px; }
.aewt-404__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.aewt-eyebrow { color: var(--aewt-accent); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0; }
.aewt-lead { font-size: 19px; color: var(--aewt-text); }
body:not(.elementor-page) .site-main { padding-top: 56px; padding-bottom: 80px; }
body:not(.elementor-page) .site-main .page-header .entry-title { font-size: clamp(32px, 5vw, 46px); font-weight: 800; letter-spacing: -.02em; }

/* =====================================================================
   Raffinements des pages Elementor (classes posées par le thème)
   ===================================================================== */

/* Sur-titre doré avec petit trait */
.aewt-eyebrow-w .elementor-heading-title { display: inline-flex; align-items: center; gap: 10px; }
.aewt-eyebrow-w .elementor-heading-title::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.aewt-center .aewt-eyebrow-w .elementor-heading-title, .aewt-eyebrow-w.elementor-align-center .elementor-heading-title { justify-content: center; }

/* Mot en or dans un titre : <span class="aewt-gold">…</span> */
.aewt-gold { color: var(--e-global-color-primary, #E09900); }
.elementor-widget-heading .elementor-heading-title .aewt-gold { color: var(--e-global-color-primary, #E09900); }

/* Cartes */
.aewt-card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.aewt-card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -28px rgba(17, 17, 17, .35); }
html[data-theme="dark"] .aewt-card:hover { box-shadow: 0 22px 44px -26px rgba(0, 0, 0, .9); }

/* Pastille d'icône des cartes */
.aewt-ibox .elementor-icon { width: 54px; height: 54px; border-radius: 14px; display: inline-grid !important; place-items: center; font-size: 22px !important; }
.aewt-ibox .elementor-icon svg { width: 24px; height: 24px; }

/* Étapes numérotées */
.aewt-step-num .elementor-heading-title { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--e-global-color-primary); color: var(--e-global-color-aewongold) !important; font-size: 18px !important; font-weight: 800 !important; }
.aewt-steps-line > .e-con-inner, .aewt-steps-line { position: relative; }

/* Listes à coches */
.aewt-checks .elementor-icon-list-icon i, .aewt-checks .elementor-icon-list-icon svg { color: var(--e-global-color-primary) !important; fill: var(--e-global-color-primary) !important; }
.aewt-checks .elementor-icon-list-item { align-items: flex-start !important; }
.aewt-checks .elementor-icon-list-icon { margin-top: 5px; }

/* Ligne de réassurance du hero */
.aewt-trust .elementor-icon-list-items { gap: 6px 18px; }
.aewt-trust .elementor-icon-list-text { font-size: 14px; }

/* Chiffres clés */
.aewt-stat .elementor-heading-title { font-variant-numeric: tabular-nums; }

/* Tableau de prix (shortcode) */
.aewt-prices { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--aewt-aewline); border-radius: 18px; overflow: hidden; background: var(--aewt-aewsurface); font-size: 16px; }
.aewt-prices th, .aewt-prices td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--aewt-aewline); vertical-align: middle; }
.aewt-prices thead th { background: var(--aewt-aewalt); color: var(--aewt-aewmuted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.aewt-prices tbody tr:last-child td { border-bottom: 0; }
.aewt-prices tbody tr { transition: background-color .15s ease; }
.aewt-prices tbody tr:hover { background: var(--aewt-aewgoldsoft); }
.aewt-prices td:first-child { color: var(--aewt-secondary); font-weight: 700; }
.aewt-prices .aewt-price { color: var(--aewt-secondary); font-weight: 800; font-size: 20px; white-space: nowrap; }
.aewt-prices .aewt-price small { font-size: 13px; font-weight: 600; color: var(--aewt-aewmuted); }
.aewt-prices .aewt-ex { color: var(--aewt-aewmuted); font-size: 15px; }
.aewt-prices-note { margin: 14px 2px 0; color: var(--aewt-aewmuted); font-size: 14px; }
@media (max-width: 640px) {
	.aewt-prices, .aewt-prices tbody, .aewt-prices tr, .aewt-prices td { display: block; width: 100%; box-sizing: border-box; }
	.aewt-prices thead { display: none; }
	.aewt-prices tr { padding: 16px 18px; border-bottom: 1px solid var(--aewt-aewline); }
	.aewt-prices tr:last-child { border-bottom: 0; }
	.aewt-prices td { padding: 2px 0; border: 0; }
	.aewt-prices .aewt-price { font-size: 18px; }
}

/* Aperçu d'une commande (visuel du hero) */
.aewt-preview { position: relative; max-width: 460px; margin-left: auto; font-size: 15px; }
.aewt-preview__card { background: var(--aewt-aewsurface); border: 1px solid var(--aewt-aewline); border-radius: 22px; padding: 22px; box-shadow: 0 40px 80px -48px rgba(17, 17, 17, .55); }
html[data-theme="dark"] .aewt-preview__card { box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .95); }
.aewt-preview__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.aewt-preview__ref { color: var(--aewt-aewmuted); font-size: 13px; font-weight: 600; }
.aewt-preview__chip { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--aewt-aewgreen) 14%, transparent); color: var(--aewt-aewgreen); }
.aewt-preview__title { color: var(--aewt-secondary); font-weight: 800; font-size: 18px; line-height: 1.3; margin: 0 0 18px; }
.aewt-preview__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.aewt-preview__steps li { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 9px 0; color: var(--aewt-secondary); font-weight: 600; position: relative; }
.aewt-preview__steps li + li::before { content: ""; position: absolute; left: 12px; top: -9px; height: 18px; width: 2px; background: var(--aewt-primary); }
.aewt-preview__steps li.is-todo + li::before, .aewt-preview__steps li.is-todo::before { background: var(--aewt-aewline); }
.aewt-preview__dot { width: 26px; height: 26px; border-radius: 50%; background: var(--aewt-primary); color: #111; display: grid; place-items: center; font-size: 13px; }
.aewt-preview__steps li.is-now .aewt-preview__dot { background: var(--aewt-aewsurface); border: 2px solid var(--aewt-primary); color: var(--aewt-primary); box-sizing: border-box; }
.aewt-preview__steps li.is-todo { color: var(--aewt-aewmuted); }
.aewt-preview__steps li.is-todo .aewt-preview__dot { background: var(--aewt-aewalt); color: var(--aewt-aewmuted); }
.aewt-preview__time { color: var(--aewt-aewmuted); font-size: 12px; font-weight: 500; }
.aewt-preview__msg { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--aewt-aewalt); color: var(--aewt-text); font-size: 14px; line-height: 1.5; }
.aewt-preview__msg b { display: block; color: var(--aewt-secondary); font-size: 12px; margin-bottom: 3px; }
.aewt-preview__float { position: absolute; left: -36px; bottom: -26px; display: flex; align-items: center; gap: 12px; background: #0B0B0B; color: #fff; padding: 14px 18px; border-radius: 16px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7); animation: aewt-float 6s ease-in-out infinite; }
.aewt-preview__float strong { display: block; font-size: 14px; }
.aewt-preview__float > span:first-child { color: #E09900; letter-spacing: 2px; font-size: 14px; }
.aewt-preview__float small { display: block; color: #BDB6A8; font-size: 12px; }
.aewt-preview__badge { position: absolute; right: -34px; top: 42%; z-index: 2; width: 84px; height: 84px; transform: rotate(8deg); filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .25)); animation: aewt-float 7s ease-in-out infinite reverse; }
@keyframes aewt-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (max-width: 1024px) { .aewt-preview { margin: 0 auto; } }
@media (max-width: 560px) { .aewt-preview__float { left: 8px; bottom: -30px; } .aewt-preview__badge { display: none; } }

/* Stickers de graduations */
.aewt-grads { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.aewt-grad { text-align: center; padding: 26px 18px 22px; border-radius: 20px; background: var(--aewt-aewsurface); border: 1px solid var(--aewt-aewline); position: relative; transition: transform .22s ease; }
.aewt-grad:hover { transform: translateY(-4px) rotate(-.5deg); }
.aewt-grad__img { width: 92px; height: 92px; margin: 0 auto 14px; display: block; }
.aewt-grad__img svg { width: 100%; height: 100%; }
.aewt-grad__step { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--aewt-accent); margin-bottom: 6px; }
.aewt-grad h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; color: var(--aewt-secondary); }
.aewt-grad p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--aewt-aewmuted); }
.aewt-grad--top { background: linear-gradient(180deg, color-mix(in srgb, var(--aewt-aewgreen) 10%, var(--aewt-aewsurface)), var(--aewt-aewsurface)); border-color: color-mix(in srgb, var(--aewt-aewgreen) 40%, var(--aewt-aewline)); }
.aewt-grad--top .aewt-grad__step { color: var(--aewt-aewgreen); }
.aewt-grads--compact { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.aewt-grads--compact .aewt-grad { padding: 14px 8px; }
.aewt-grads--compact .aewt-grad__img { width: 64px; height: 64px; margin-bottom: 8px; }
.aewt-grads--compact h3 { font-size: 13px; }
.aewt-grads--compact p, .aewt-grads--compact .aewt-grad__step { display: none; }
@media (max-width: 1024px) { .aewt-grads { grid-template-columns: repeat(2, minmax(0, 1fr)); } .aewt-grads--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 480px) { .aewt-grads { gap: 12px; } .aewt-grad { padding: 18px 12px; } .aewt-grad__img { width: 72px; height: 72px; } }

/* Writers mis en avant */
.aewt-writers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.aewt-writer { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 20px; background: var(--aewt-aewsurface); border: 1px solid var(--aewt-aewline); text-decoration: none; color: var(--aewt-text); transition: transform .22s ease, box-shadow .22s ease; }
.aewt-writer:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -28px rgba(17, 17, 17, .35); color: var(--aewt-text); }
.aewt-writer__head { display: flex; align-items: center; gap: 14px; }
.aewt-writer__avatar { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; background: var(--aewt-aewgoldsoft); color: var(--aewt-accent); display: grid; place-items: center; font-weight: 800; font-size: 19px; flex-shrink: 0; }
.aewt-writer__name { color: var(--aewt-secondary); font-weight: 800; font-size: 18px; margin: 0; }
.aewt-writer__meta { font-size: 14px; color: var(--aewt-aewmuted); }
.aewt-writer__sticker { width: 44px; height: 44px; margin-left: auto; flex-shrink: 0; }
.aewt-writer__bio { color: var(--aewt-text); font-size: 15px; line-height: 1.6; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.aewt-writer__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.aewt-writer__tags span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--aewt-aewalt); color: var(--aewt-text); }
.aewt-writer__stars { color: var(--aewt-primary); letter-spacing: 1px; font-size: 14px; }
@media (max-width: 1024px) { .aewt-writers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .aewt-writers { grid-template-columns: 1fr; } }

/* Writer du mois */
.aewt-wom { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 22px 26px; border-radius: 22px; background: #0B0B0B; color: #D8D1C2; border: 1px solid #2A2720; }
.aewt-wom__avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: #2A2111; color: #E09900; display: grid; place-items: center; font-weight: 800; font-size: 22px; box-shadow: 0 0 0 3px #E09900; }
.aewt-wom__label { color: #E09900; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.aewt-wom__name { color: #fff; font-size: 22px; font-weight: 800; margin: 2px 0 2px; }
.aewt-wom__quote { margin: 0; font-size: 15px; }
@media (max-width: 640px) { .aewt-wom { grid-template-columns: auto 1fr; } .aewt-wom .aewt-btn { grid-column: 1 / -1; } }

/* Formulaire de contact (shortcode) */
.aewt-form { display: grid; gap: 16px; }
.aewt-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .aewt-form__row { grid-template-columns: 1fr; } }
.aewt-form label { display: block; font-weight: 700; font-size: 14px; color: var(--aewt-secondary); margin-bottom: 7px; }
.aewt-form input[type="text"], .aewt-form input[type="email"], .aewt-form select, .aewt-form textarea {
	width: 100%; box-sizing: border-box; border: 1px solid var(--aewt-aewline); background: var(--aewt-aewbg); color: var(--aewt-secondary);
	border-radius: 12px; padding: 13px 15px; font: 400 16px/1.4 var(--aewt-font); transition: border-color .15s ease, box-shadow .15s ease;
}
.aewt-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.aewt-form textarea { min-height: 150px; resize: vertical; }
.aewt-form input:focus, .aewt-form select:focus, .aewt-form textarea:focus { outline: none; border-color: var(--aewt-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--aewt-primary) 18%, transparent); }
.aewt-form .aewt-btn { justify-self: start; min-height: 52px; padding: 0 28px; font-size: 16px; }
.aewt-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aewt-notice { padding: 14px 18px; border-radius: 14px; font-weight: 600; font-size: 15px; }
.aewt-notice--ok { background: color-mix(in srgb, var(--aewt-aewgreen) 12%, transparent); color: var(--aewt-aewgreen); border: 1px solid color-mix(in srgb, var(--aewt-aewgreen) 30%, transparent); }
.aewt-notice--err { background: rgba(217, 68, 47, .1); color: #C23B28; border: 1px solid rgba(217, 68, 47, .3); }
html[data-theme="dark"] .aewt-notice--err { color: #F08B78; }

/* Accordéon FAQ (widget Accordéon d'Elementor) */
.aewt-faq .elementor-accordion-item, .aewt-faq .e-n-accordion-item { border: 1px solid var(--aewt-aewline) !important; border-radius: 14px; margin-bottom: 10px; background: var(--aewt-aewsurface); overflow: hidden; }
.aewt-faq .elementor-tab-title { padding: 20px 22px !important; font-weight: 700; }
.aewt-faq .elementor-tab-title a { color: var(--aewt-secondary) !important; text-decoration: none; }
.aewt-faq .elementor-tab-content { padding: 0 22px 20px !important; border: 0 !important; color: var(--aewt-text); }
.aewt-faq .elementor-accordion-icon { color: var(--aewt-primary) !important; }
.aewt-faq .elementor-accordion-icon svg { fill: var(--aewt-primary) !important; }
.aewt-faq .elementor-tab-title.elementor-active { border-bottom: 0 !important; }

/* Contenu légal */
.aewt-legal-text ol { padding-left: 22px; }
.aewt-legal-text li { margin-bottom: 12px; }
.aewt-legal-text li::marker { color: var(--aewt-accent); font-weight: 800; }
.aewt-legal-text strong { color: var(--aewt-secondary); }

/* Apparition douce au défilement */
.aewt-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.aewt-reveal.is-in { opacity: 1; transform: none; }
.elementor-editor-active .aewt-reveal { opacity: 1; transform: none; }

/* Encadré « verre » sur bandeau noir */
.aewt-glass { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; padding: 32px !important; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (max-width: 767px) { .aewt-glass { padding: 24px !important; } }

/* Graduations sur deux colonnes (hero Writers) */
.aewt-grads-2 .aewt-grads { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.aewt-band .aewt-grad { background: #fff; border-color: transparent; }
.aewt-band .aewt-grad h3 { color: #111; }
.aewt-band .aewt-grad p { color: #6B655A; }
.aewt-band .aewt-grad--top { background: linear-gradient(180deg, #E8F6EE, #fff); }
.aewt-band .aewt-grad__step { color: #A86F00; }
.aewt-band .aewt-grad--top .aewt-grad__step { color: #1F9D55; }
.aewt-grads-2 .aewt-grad:nth-child(odd) { transform: rotate(-1.2deg); }
.aewt-grads-2 .aewt-grad:nth-child(even) { transform: rotate(1.2deg) translateY(14px); }
.aewt-grads-2 .aewt-grad:hover { transform: rotate(0) translateY(-4px); }
@media (max-width: 480px) { .aewt-grads-2 .aewt-grad:nth-child(even) { transform: rotate(1.2deg); } }

/* Cartes d'appel final */
.aewt-cta-card { position: relative; overflow: hidden !important; }
.aewt-cta-card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; border: 28px solid currentColor; opacity: .05; pointer-events: none; }

/* Sticker seul */
.aewt-sticker svg, .aewt-sticker img { width: 100%; height: 100%; display: block; }

/* Bandeaux noirs : liens lisibles */
.aewt-band a:not(.elementor-button):not(.aewt-btn) { color: #E09900; }

/* Version Prestige : halo doré et cartes soulignées d'or en mode nuit */
html[data-theme="dark"] body.aewt-prestige .aewt-hero { background-image: radial-gradient(55% 75% at 82% 18%, rgba(224, 153, 0, .16), transparent 62%), radial-gradient(40% 50% at 0% 100%, rgba(224, 153, 0, .07), transparent 70%) !important; }
html[data-theme="dark"] body.aewt-prestige .aewt-card { box-shadow: inset 0 1px 0 rgba(224, 153, 0, .18); }
html[data-theme="dark"] body.aewt-prestige .aewt-card:hover { border-color: rgba(224, 153, 0, .45) !important; }
html[data-theme="dark"] body.aewt-prestige .aewt-header { background: color-mix(in srgb, #0D0D0C 80%, transparent); }
html[data-theme="dark"] body.aewt-prestige .aewt-brand__mark { box-shadow: 0 0 0 1px rgba(224, 153, 0, .5); }
html[data-theme="dark"] .aewt-preview__float { background: #1B160C; border: 1px solid rgba(224, 153, 0, .35); }
