/**
 * landing-base.css - Reset + tokens + topbar + footer + boutons + helpers
 * Isolé sous .docto-lp-body pour ne pas interférer avec le reste si chargé globalement
 */

:root {
	--lp-primary: #F64522;
	--lp-primary-dark: #d93a1a;
	--lp-primary-light: #FFF2EE;
	--lp-primary-border: #FFD4CA;
	--lp-text: #1a1a2e;
	--lp-text-muted: #4b5563;
	--lp-text-subtle: #6b7280;
	--lp-text-light: #9ca3af;
	--lp-bg: #ffffff;
	--lp-bg-soft: #f9fbfd;
	--lp-bg-alt: #f3f4f6;
	--lp-border: #e5e7eb;
	--lp-border-soft: #f0f0ee;
	--lp-radius-sm: 6px;
	--lp-radius: 10px;
	--lp-radius-lg: 16px;
	--lp-radius-xl: 24px;
	--lp-shadow-sm: 0 1px 3px rgba(0,0,0,.04);
	--lp-shadow: 0 4px 16px rgba(0,0,0,.06);
	--lp-shadow-lg: 0 10px 40px rgba(0,0,0,.1);
	--lp-shadow-xl: 0 20px 60px rgba(0,0,0,.15);
	--lp-transition: 200ms ease;
	--lp-container-max: 1200px;
	--lp-space-1: 4px;
	--lp-space-2: 8px;
	--lp-space-3: 12px;
	--lp-space-4: 16px;
	--lp-space-5: 24px;
	--lp-space-6: 32px;
	--lp-space-8: 48px;
	--lp-space-10: 64px;
	--lp-space-12: 80px;
	--lp-space-16: 120px;
}

body.docto-lp-body {
	margin: 0;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--lp-text);
	background: var(--lp-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
.docto-lp-body * { box-sizing: border-box; }
.docto-lp-body h1, .docto-lp-body h2, .docto-lp-body h3, .docto-lp-body h4 {
	margin: 0;
	line-height: 1.25;
	color: var(--lp-text);
	font-weight: 700;
	letter-spacing: -0.01em;
}
.docto-lp-body p { margin: 0; }
.docto-lp-body a { color: var(--lp-primary); text-decoration: none; }
.docto-lp-body img { max-width: 100%; height: auto; display: block; }

.docto-lp-page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.docto-lp-container {
	max-width: var(--lp-container-max);
	margin: 0 auto;
	padding: 0 clamp(20px, 4vw, 40px);
	width: 100%;
}

/* ══ TOPBAR ═══════════════════════════════════════════════════════ */
.docto-lp-topbar {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255,255,255,.95);
	backdrop-filter: saturate(150%) blur(10px);
	-webkit-backdrop-filter: saturate(150%) blur(10px);
	border-bottom: 1px solid var(--lp-border);
}
.docto-lp-topbar .docto-lp-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
}
.docto-lp-topbar__logo {
	display: flex;
	align-items: center;
	font-weight: 700;
	font-size: 16px;
	color: var(--lp-text);
	text-decoration: none;
}
.docto-lp-topbar__logo img {
	height: 36px;
	width: auto;
}
.docto-lp-topbar__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--lp-primary);
	color: #fff !important;
	font-weight: 600;
	font-size: 13px;
	transition: all var(--lp-transition);
	box-shadow: 0 2px 8px rgba(246,69,34,.2);
}
.docto-lp-topbar__cta:hover {
	background: var(--lp-primary-dark);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(246,69,34,.3);
}
@media (max-width: 600px) {
	.docto-lp-topbar__cta { padding: 8px 12px; font-size: 12px; }
}

/* ══ FOOTER ═══════════════════════════════════════════════════════ */
.docto-lp-footer {
	background: var(--lp-bg-soft);
	border-top: 1px solid var(--lp-border);
	padding: var(--lp-space-10) 0 var(--lp-space-5);
	margin-top: auto;
	color: var(--lp-text-muted);
	font-size: 13px;
}
.docto-lp-footer__cols {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
	gap: var(--lp-space-8);
	margin-bottom: var(--lp-space-8);
}
.docto-lp-footer__cols > div {
	display: flex;
	flex-direction: column;
	gap: var(--lp-space-2);
}
.docto-lp-footer__muted {
	color: var(--lp-text-subtle);
	margin-top: 6px;
}
.docto-lp-footer a {
	color: var(--lp-text-muted);
	text-decoration: none;
}
.docto-lp-footer a:hover {
	color: var(--lp-primary);
}
.docto-lp-footer__copy {
	padding-top: var(--lp-space-5);
	border-top: 1px solid var(--lp-border);
	font-size: 12px;
	color: var(--lp-text-light);
}
@media (max-width: 700px) {
	.docto-lp-footer__cols {
		grid-template-columns: 1fr;
		gap: var(--lp-space-5);
	}
}

/* ══ BUTTONS (scopés + !important pour survivre aux CSS theme) ══ */
.docto-lp-body .docto-lp-btn,
.docto-lp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 24px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none !important;
	border-radius: 999px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: all var(--lp-transition);
	white-space: nowrap;
	appearance: none;
	-webkit-appearance: none;
}
.docto-lp-body .docto-lp-btn--primary,
.docto-lp-btn--primary {
	background: var(--lp-primary) !important;
	background-color: var(--lp-primary) !important;
	color: #fff !important;
	border-color: var(--lp-primary) !important;
	box-shadow: 0 4px 14px rgba(246,69,34,.25);
}
.docto-lp-body .docto-lp-btn--primary:hover:not(:disabled),
.docto-lp-btn--primary:hover:not(:disabled) {
	background: var(--lp-primary-dark) !important;
	background-color: var(--lp-primary-dark) !important;
	border-color: var(--lp-primary-dark) !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(246,69,34,.35);
	color: #fff !important;
}
.docto-lp-body .docto-lp-btn--ghost,
.docto-lp-btn--ghost {
	background: transparent !important;
	background-color: transparent !important;
	color: var(--lp-text-muted) !important;
	border-color: var(--lp-border) !important;
}
.docto-lp-body .docto-lp-btn--ghost:hover:not(:disabled),
.docto-lp-btn--ghost:hover:not(:disabled) {
	background: var(--lp-bg-alt) !important;
	color: var(--lp-text) !important;
}
.docto-lp-body .docto-lp-btn--white,
.docto-lp-btn--white {
	background: #fff !important;
	color: var(--lp-primary) !important;
	border-color: #fff !important;
	box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.docto-lp-body .docto-lp-btn--white:hover:not(:disabled),
.docto-lp-btn--white:hover:not(:disabled) {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.docto-lp-btn--lg {
	padding: 18px 32px;
	font-size: 16px;
}
.docto-lp-btn:disabled {
	opacity: .6;
	cursor: not-allowed;
	transform: none !important;
}

/* ══ SECTIONS GENERIC ═════════════════════════════════════════════ */
.docto-lp-section {
	padding: var(--lp-space-12) 0;
}
.docto-lp-section__head {
	text-align: center;
	max-width: 780px;
	margin: 0 auto var(--lp-space-8);
}
.docto-lp-section__title {
	font-size: clamp(28px, 3.5vw, 40px);
	font-weight: 800;
	margin-bottom: var(--lp-space-3);
}
.docto-lp-section__subtitle {
	font-size: 17px;
	color: var(--lp-text-muted);
	line-height: 1.6;
}

/* Sticky CTA mobile */
.docto-lp-sticky-cta {
	display: none;
}
@media (max-width: 768px) {
	.docto-lp-sticky-cta {
		display: flex;
		position: fixed;
		bottom: 12px;
		left: 12px;
		right: 12px;
		z-index: 49;
		align-items: center;
		justify-content: center;
		padding: 14px 20px;
		background: var(--lp-primary);
		color: #fff !important;
		font-weight: 700;
		font-size: 15px;
		border-radius: 999px;
		box-shadow: 0 8px 24px rgba(246,69,34,.35);
		text-decoration: none;
	}
	.docto-lp-sticky-cta:hover {
		background: var(--lp-primary-dark);
	}
}

/* ══ TOPBAR : actions (phone + CTA) ══════════════════════════════ */
.docto-lp-topbar__actions {
	display: flex;
	align-items: center;
	gap: 14px;
}
.docto-lp-topbar__phone {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--lp-primary-light);
	color: var(--lp-primary) !important;
	text-decoration: none !important;
	border: 1.5px solid var(--lp-primary-border);
	transition: all var(--lp-transition);
}
.docto-lp-topbar__phone:hover {
	background: var(--lp-primary);
	color: #fff !important;
	border-color: var(--lp-primary);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(246,69,34,.25);
}
.docto-lp-topbar__phone svg {
	flex-shrink: 0;
}
.docto-lp-topbar__phone-text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}
.docto-lp-topbar__phone-text em {
	font-size: 10px;
	font-weight: 600;
	font-style: normal;
	opacity: .85;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.docto-lp-topbar__phone-text strong {
	font-size: 14px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.01em;
}
@media (max-width: 768px) {
	.docto-lp-topbar__phone-text em { display: none; }
	.docto-lp-topbar__phone { padding: 6px 12px; }
	.docto-lp-topbar__phone-text strong { font-size: 13px; }
	.docto-lp-topbar__actions { gap: 8px; }
}
@media (max-width: 480px) {
	.docto-lp-topbar__phone-text { display: none; }
}

/* ══ QUALIOPI : badge flottant bottom-right (visible top only) ══ */
.docto-lp-qualiopi-floating {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 48;
	padding: 10px 14px;
	background: #fff;
	border: 1px solid var(--lp-border);
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(15,23,42,.08);
	transition: opacity 250ms cubic-bezier(.4,0,.2,1), transform 250ms cubic-bezier(.4,0,.2,1);
	opacity: 1;
	pointer-events: auto;
}
.docto-lp-qualiopi-floating.is-hidden {
	opacity: 0;
	transform: translateY(20px);
	pointer-events: none;
}
.docto-lp-qualiopi-floating:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(15,23,42,.12);
}
.docto-lp-qualiopi-floating img {
	display: block;
	height: 60px;
	width: auto;
}
@media (max-width: 768px) {
	.docto-lp-qualiopi-floating {
		bottom: 80px;
		right: 12px;
		padding: 8px 10px;
	}
	.docto-lp-qualiopi-floating img {
		height: 44px;
	}
}
