/*
 * Mawayto Gestion — pages publiques de la plateforme (accueil, tarifs, FAQ,
 * pages legales, contact). Couleurs Pawa Business : #2253A0 / #183D78 /
 * jaune #FFE902. Aucun style du theme (route canevas).
 */
.mawayto-lp {
	--lp-primary: #2253A0;
	--lp-dark: #183D78;
	--lp-soft: #2A65CC;
	--lp-accent: #FFE902;
	--lp-bg: #F5F9FF;
	--lp-border: #E1ECFB;
	--lp-text: #1E293B;
	--lp-muted: #64748B;
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: var(--lp-text);
	background: #fff;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
.mawayto-lp *, .mawayto-lp *::before, .mawayto-lp *::after { box-sizing: border-box; }
.mawayto-lp a { color: var(--lp-primary); }
.mawayto-lp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.mawayto-lp-narrow { max-width: 820px; }
.mawayto-lp-center { text-align: center; }
.mawayto-lp-muted { color: var(--lp-muted); font-size: .9rem; }

/* En-tete */
.mawayto-lp-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--lp-border); }
.mawayto-lp-header-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.mawayto-lp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--lp-dark) !important; font-weight: 800; font-size: 1.15rem; margin-right: auto; }
.mawayto-lp-brand img { height: 38px; width: auto; }
.mawayto-lp-brand-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--lp-primary); color: var(--lp-accent); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.mawayto-lp-nav { display: flex; align-items: center; gap: 6px; }
.mawayto-lp-nav a { text-decoration: none; color: var(--lp-text); font-weight: 500; font-size: .93rem; padding: 8px 12px; border-radius: 8px; }
.mawayto-lp-nav a:hover, .mawayto-lp-nav a.is-active { color: var(--lp-primary); background: #EEF4FF; }
.mawayto-lp-nav a.mawayto-lp-btn { color: #fff; }
.mawayto-lp-nav a.mawayto-lp-btn:hover { background: var(--lp-dark); color: #fff; }
.mawayto-lp-login { margin-left: 8px; }
.mawayto-lp-burger { display: none; background: none; border: 1px solid var(--lp-border); border-radius: 10px; width: 42px; height: 42px; cursor: pointer; color: var(--lp-dark); }

/* Boutons */
.mawayto-lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--lp-primary); color: #fff !important; text-decoration: none; font-weight: 600; font-size: 1rem; padding: 13px 22px; border-radius: 10px; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: background .15s ease, transform .15s ease; }
.mawayto-lp-btn:hover { background: var(--lp-dark); }
.mawayto-lp-btn.is-small { padding: 8px 14px; font-size: .9rem; }
.mawayto-lp-btn.is-accent { background: var(--lp-accent); color: #2B2600 !important; }
.mawayto-lp-btn.is-accent:hover { background: #F2DD00; transform: translateY(-1px); }
.mawayto-lp-btn.is-ghost { background: transparent; border-color: rgba(255,255,255,.55); }
.mawayto-lp-btn.is-ghost:hover { background: rgba(255,255,255,.12); }
.mawayto-lp-btn.is-outline { background: #fff; color: var(--lp-primary) !important; border-color: var(--lp-primary); }
.mawayto-lp-btn.is-outline:hover { background: #EEF4FF; }
.mawayto-lp-btn.is-danger { background: #B91C1C; }
.mawayto-lp-btn.is-danger:hover { background: #991B1B; }
.mawayto-lp-link { font-weight: 600; text-decoration: none; }

/* Accueil */
.mawayto-lp-hero { background: linear-gradient(125deg, var(--lp-dark) 0%, var(--lp-primary) 55%, var(--lp-soft) 100%); color: #fff; border-bottom: 6px solid var(--lp-accent); padding: 64px 0 72px; }
.mawayto-lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.mawayto-lp-kicker { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 5px 14px; font-size: .82rem; margin: 0 0 18px; }
.mawayto-lp-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.15; margin: 0 0 16px; font-weight: 800; letter-spacing: -.01em; }
.mawayto-lp-lead { font-size: 1.1rem; color: #DCE8FB; margin: 0 0 26px; max-width: 580px; }
.mawayto-lp-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.mawayto-lp-reassure { margin: 22px 0 0; font-size: .86rem; color: #DCE8FB; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.mawayto-lp-reassure .dashicons { color: var(--lp-accent); font-size: 18px; width: 18px; height: 18px; }

.mawayto-lp-doc { background: #fff; color: var(--lp-text); border-radius: 16px; padding: 22px; box-shadow: 0 30px 60px rgba(8, 20, 50, .35); transform: rotate(1.5deg); max-width: 420px; justify-self: end; width: 100%; }
.mawayto-lp-doc-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 3px solid var(--lp-primary); }
.mawayto-lp-doc-logo { width: 44px; height: 44px; border-radius: 10px; background: var(--lp-primary); box-shadow: inset 0 0 0 11px var(--lp-primary), inset 0 0 0 22px var(--lp-accent); }
.mawayto-lp-doc-head div { text-align: right; }
.mawayto-lp-doc-head strong { display: block; color: #C0392B; letter-spacing: .08em; }
.mawayto-lp-doc-head small { color: var(--lp-muted); font-weight: 600; }
.mawayto-lp-doc-client { margin: 14px 0 14px auto; width: 55%; background: #F8FBFF; border: 1px solid var(--lp-border); border-radius: 8px; padding: 10px; display: grid; gap: 6px; }
.mawayto-lp-doc-client span { height: 7px; border-radius: 4px; background: #D8E3F3; }
.mawayto-lp-doc-client span.is-short { width: 55%; }
.mawayto-lp-doc-lines div { display: flex; justify-content: space-between; font-size: .85rem; padding: 7px 0; border-bottom: 1px solid #EEF2F7; }
.mawayto-lp-doc-total { display: flex; justify-content: space-between; margin-top: 12px; background: #C0392B; color: #fff; border-radius: 8px; padding: 10px 12px; font-size: .92rem; }
.mawayto-lp-doc-paid { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.mawayto-lp-doc-badge { background: #FFF6E5; color: #92400E; font-size: .75rem; font-weight: 700; border-radius: 999px; padding: 4px 10px; }
.mawayto-lp-doc-qr { width: 48px; height: 48px; background: repeating-conic-gradient(#1E293B 0 25%, #fff 0 50%) 0 0 / 12px 12px; border: 3px solid #1E293B; border-radius: 4px; }

.mawayto-lp-section { padding: 64px 0; }
.mawayto-lp-section.is-tinted { background: var(--lp-bg); }
.mawayto-lp-h2 { text-align: center; font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--lp-dark); margin: 0 0 32px; font-weight: 700; }
.mawayto-lp-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.mawayto-lp-feature { border: 1px solid var(--lp-border); border-radius: 14px; padding: 20px; background: #fff; }
.mawayto-lp-feature .dashicons { width: 44px; height: 44px; font-size: 24px; line-height: 44px; text-align: center; border-radius: 12px; background: #EEF4FF; color: var(--lp-primary); }
.mawayto-lp-feature h3 { font-size: 1rem; margin: 14px 0 6px; color: var(--lp-dark); }
.mawayto-lp-feature p { margin: 0; font-size: .9rem; color: #475569; }
.mawayto-lp-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.mawayto-lp-steps li { counter-increment: s; background: #fff; border: 1px solid var(--lp-border); border-radius: 14px; padding: 22px 20px 20px 70px; position: relative; }
.mawayto-lp-steps li::before { content: counter(s); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--lp-primary); color: var(--lp-accent); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mawayto-lp-steps strong { display: block; color: var(--lp-dark); margin-bottom: 4px; }
.mawayto-lp-steps span { font-size: .9rem; color: #475569; }
.mawayto-lp-final { background: var(--lp-dark); color: #fff; text-align: center; padding: 56px 0; }
.mawayto-lp-final h2 { margin: 0 0 8px; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.mawayto-lp-final p { color: #DCE8FB; margin: 0 0 22px; }

/* Tarifs */
.mawayto-lp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.mawayto-lp-plans.is-compact { max-width: 860px; margin: 0 auto 16px; }
.mawayto-lp-plan { position: relative; background: #fff; border: 1px solid var(--lp-border); border-radius: 16px; padding: 26px 22px; display: flex; flex-direction: column; }
.mawayto-lp-plan.is-featured { border: 2px solid var(--lp-primary); box-shadow: 0 16px 36px rgba(34, 83, 160, .14); }
.mawayto-lp-plan-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--lp-accent); color: #2B2600; font-weight: 700; font-size: .76rem; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.mawayto-lp-plan h3 { margin: 0; color: var(--lp-dark); font-size: 1.15rem; }
.mawayto-lp-price { font-size: 1.9rem; font-weight: 800; color: var(--lp-dark); margin: 8px 0 0; }
.mawayto-lp-price small { font-size: .9rem; font-weight: 500; color: var(--lp-muted); }
.mawayto-lp-annual { margin: 2px 0 0; color: #1E9E5A; font-size: .85rem; font-weight: 600; }
.mawayto-lp-plan ul { list-style: none; padding: 0; margin: 18px 0 22px; flex: 1; font-size: .92rem; }
.mawayto-lp-plan li, .mawayto-lp-checks li { display: flex; gap: 6px; align-items: flex-start; margin: 7px 0; }
.mawayto-lp-plan li .dashicons, .mawayto-lp-checks li .dashicons { color: #1E9E5A; flex: none; }
.mawayto-lp-box { background: #fff; border: 1px solid var(--lp-border); border-radius: 16px; padding: 24px; margin-top: 26px; }
.mawayto-lp-box h2 { margin: 0 0 12px; font-size: 1.15rem; color: var(--lp-dark); }
.mawayto-lp-checks { list-style: none; padding: 0; margin: 0 0 14px; }

/* Pages de contenu */
.mawayto-lp-page-head { background: linear-gradient(125deg, var(--lp-dark), var(--lp-primary)); color: #fff; padding: 46px 0 40px; border-bottom: 5px solid var(--lp-accent); }
.mawayto-lp-page-head h1 { margin: 0 0 6px; font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.mawayto-lp-page-head p { margin: 0; color: #DCE8FB; max-width: 720px; }
.mawayto-lp-prose { font-size: 1rem; color: #334155; }
.mawayto-lp-prose h2 { color: var(--lp-dark); font-size: 1.25rem; margin: 30px 0 8px; }
.mawayto-lp-prose h2:first-child { margin-top: 0; }
.mawayto-lp-prose h3 { color: var(--lp-dark); font-size: 1.05rem; margin: 22px 0 6px; }
.mawayto-lp-prose ul { padding-left: 20px; }

/* FAQ */
.mawayto-lp-input { width: 100%; padding: 13px 16px; border: 1px solid var(--lp-border); border-radius: 12px; font-size: 1rem; font-family: inherit; margin-bottom: 18px; background: #fff; }
.mawayto-lp-faq-item { border: 1px solid var(--lp-border); border-radius: 12px; background: #fff; margin-bottom: 10px; overflow: hidden; }
.mawayto-lp-faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 16px 18px; font-size: 1rem; font-weight: 600; color: var(--lp-dark); display: flex; justify-content: space-between; gap: 12px; cursor: pointer; font-family: inherit; }
.mawayto-lp-faq-q .dashicons { transition: transform .2s ease; flex: none; }
.mawayto-lp-faq-a { display: none; padding: 0 18px 16px; color: #475569; }
.mawayto-lp-faq-item.is-open .mawayto-lp-faq-a { display: block; }
.mawayto-lp-faq-item.is-open .dashicons { transform: rotate(180deg); }
.mawayto-lp-empty { text-align: center; color: var(--lp-muted); }

/* Contact */
.mawayto-lp-contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.mawayto-lp-contact-grid .mawayto-lp-box { margin-top: 0; }
.mawayto-lp-contact-side { display: grid; gap: 12px; }
.mawayto-lp-contact-card { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--lp-border); border-radius: 14px; padding: 16px; text-decoration: none; color: var(--lp-text) !important; }
.mawayto-lp-contact-card .dashicons { width: 42px; height: 42px; font-size: 22px; line-height: 42px; text-align: center; border-radius: 12px; background: #EEF4FF; color: var(--lp-primary); flex: none; }
.mawayto-lp-contact-card.is-wa .dashicons { background: #E7F8EE; color: #16A34A; }
.mawayto-lp-contact-card strong { display: block; }
.mawayto-lp-contact-card small { color: var(--lp-muted); word-break: break-word; }
.mawayto-lp .mawayto-pub-field label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 5px; }
.mawayto-lp .mawayto-pub-field input[type="text"], .mawayto-lp .mawayto-pub-field input[type="email"], .mawayto-lp .mawayto-pub-field input[type="tel"], .mawayto-lp .mawayto-pub-field select, .mawayto-lp .mawayto-pub-field textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--lp-border); border-radius: 10px; font-size: 1rem; font-family: inherit; background: #fff; }
.mawayto-lp .mawayto-pub-field input:focus, .mawayto-lp .mawayto-pub-field select:focus, .mawayto-lp .mawayto-pub-field textarea:focus, .mawayto-lp-input:focus { outline: 2px solid rgba(34, 83, 160, .35); border-color: var(--lp-primary); }

/* Pied de page */
.mawayto-lp-footer { background: #0F2447; color: #C7D4EA; padding: 44px 0 0; font-size: .9rem; }
.mawayto-lp-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.mawayto-lp-footer a { display: block; color: #E2EAF7; text-decoration: none; margin: 5px 0; }
.mawayto-lp-footer a:hover { color: var(--lp-accent); }
.mawayto-lp-footer-brand { color: #fff; font-weight: 800; font-size: 1.1rem; margin: 0 0 6px; }
.mawayto-lp-footer-title { color: #fff; font-weight: 600; margin: 0 0 8px; }
.mawayto-lp-wa { display: inline-flex !important; gap: 6px; align-items: center; background: #16A34A; color: #fff !important; padding: 8px 14px; border-radius: 10px; }
.mawayto-lp-copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 30px; padding: 16px 20px; font-size: .8rem; color: #8FA3C4; }

@media (max-width: 900px) {
	.mawayto-lp-hero-grid, .mawayto-lp-contact-grid { grid-template-columns: 1fr; }
	.mawayto-lp-doc { justify-self: center; transform: none; }
	.mawayto-lp-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
	.mawayto-lp-burger { display: inline-flex; align-items: center; justify-content: center; }
	.mawayto-lp-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 16px 16px; border-bottom: 1px solid var(--lp-border); box-shadow: 0 12px 24px rgba(15, 23, 42, .08); }
	.mawayto-lp-nav.is-open { display: flex; }
	.mawayto-lp-nav a { padding: 12px; }
	.mawayto-lp-login { margin-left: 0; }
	.mawayto-lp-hero { padding: 40px 0 48px; }
	.mawayto-lp-section { padding: 44px 0; }
	.mawayto-lp .mawayto-pub-row { grid-template-columns: 1fr; }
	.mawayto-lp-footer-grid { grid-template-columns: 1fr; }
	.mawayto-lp-cta .mawayto-lp-btn { flex: 1 1 100%; }
}

/* Neutralise les styles globaux du theme (block themes : tailles et
   interlignes appliques a p, li, h1-h6). */
.mawayto-lp { font-size: 16px; }
.mawayto-lp p, .mawayto-lp li, .mawayto-lp ul, .mawayto-lp ol, .mawayto-lp span, .mawayto-lp small, .mawayto-lp label, .mawayto-lp a { letter-spacing: normal; }
.mawayto-lp p, .mawayto-lp li { font-size: inherit; line-height: 1.6; }
.mawayto-lp h1, .mawayto-lp h2, .mawayto-lp h3 { font-family: inherit; letter-spacing: -0.01em; line-height: 1.25; }
.mawayto-lp-feature h3, .mawayto-lp-plan h3 { font-weight: 700; }
.mawayto-lp-feature p, .mawayto-lp-steps span { line-height: 1.55; }
.mawayto-lp-checks li { font-size: .95rem; margin: 6px 0; }
.mawayto-lp-page-head p { font-size: 1.02rem; line-height: 1.6; }
.mawayto-lp-lead { line-height: 1.6; }
.mawayto-lp-price small { white-space: nowrap; }
.mawayto-lp-plans.is-compact .mawayto-lp-price { font-size: 1.55rem; }
.mawayto-lp-reassure { line-height: 1.4; }
.mawayto-lp-footer p { font-size: .9rem; }
/* Classes portees par des <p> : specificite superieure a la remise a zero. */
.mawayto-lp .mawayto-lp-price { font-size: 1.9rem; line-height: 1.2; }
.mawayto-lp .mawayto-lp-plans.is-compact .mawayto-lp-price { font-size: 1.55rem; }
.mawayto-lp .mawayto-lp-annual { font-size: .85rem; }
.mawayto-lp .mawayto-lp-muted { font-size: .9rem; }
.mawayto-lp .mawayto-lp-lead { font-size: 1.1rem; }
.mawayto-lp .mawayto-lp-kicker { font-size: .82rem; }
.mawayto-lp .mawayto-lp-reassure { font-size: .86rem; }
.mawayto-lp .mawayto-lp-feature p, .mawayto-lp .mawayto-lp-steps span { font-size: .9rem; }
.mawayto-lp .mawayto-lp-footer-brand { font-size: 1.1rem; }
.mawayto-lp .mawayto-pub-note { font-size: .78rem; }
