/* ==========================================================================
   Talents de lumière — styles des widgets Elementor
   Toutes les couleurs passent par des variables : les réglages « Couleurs »
   de chaque widget les surchargent localement.
   ========================================================================== */

.tdl {
	--tdl-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--tdl-ink: #1a1a24;
	--tdl-muted: #5b5b6b;
	--tdl-gold: #c9a227;
	--tdl-gold-soft: #f5eddb;
	--tdl-bg: transparent;
	--tdl-card: #ffffff;
	--tdl-line: #e7e4dd;
	--tdl-wrap: 1100px;
	--tdl-min: 230px;

	font-family: var(--tdl-font);
	color: var(--tdl-ink);
	background: var(--tdl-bg);
	line-height: 1.55;
	width: 100%;
}
.tdl *, .tdl *::before, .tdl *::after { box-sizing: border-box; }
.tdl :where(h1, h2, h3, p, ol, ul, figure, blockquote) { margin: 0; padding: 0; }
.tdl :where(h1, h2, h3) { font-family: inherit; color: inherit; letter-spacing: normal; text-transform: none; }
.tdl a { transition: color .15s, border-color .15s, background .15s; }

.tdl-wrap { max-width: var(--tdl-wrap); margin: 0 auto; padding: 0 24px; }

/* Sections ------------------------------------------------------------- */
.tdl-section { padding: 44px 0; }
.tdl .tdl-sec-title { font-size: 26px; line-height: 1.25; font-weight: 700; margin-bottom: 8px; }
.tdl .tdl-sec-sub { color: var(--tdl-muted); margin-bottom: 26px; max-width: 38em; }

/* Top bar -------------------------------------------------------------- */
.tdl-topbar { border-bottom: 1px solid var(--tdl-line); background: rgba(255, 255, 255, .9); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
/* Comme l'original : la barre utilise toute la largeur max. (sans les marges latérales), qui ne réapparaissent que sur petits écrans. */
.tdl-topbar-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; max-width: calc(var(--tdl-wrap) + 48px); }
.tdl .tdl-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .02em; color: var(--tdl-ink); text-decoration: none; }
.tdl-brand img { height: 32px; width: auto; display: block; }
.tdl-brand-name, .tdl-brand small { white-space: nowrap; }
.tdl-brand small { font-weight: 500; color: var(--tdl-muted); font-size: .8333em; }
.tdl-dot { width: 12px; height: 12px; flex: none; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe9a8, var(--tdl-gold)); box-shadow: 0 0 12px var(--tdl-gold); }
.tdl-links { display: flex; gap: 18px; font-size: 14px; justify-content: flex-end; }
.tdl .tdl-links a { color: var(--tdl-muted); text-decoration: none; white-space: nowrap; }
.tdl .tdl-links a:hover { color: var(--tdl-ink); }
.tdl .tdl-links a.tdl-lang-link { display: inline-flex; align-items: center; gap: 6px; }
.tdl .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.tdl-flag { width: 20px; height: auto; display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.tdl .tdl-links a.is-highlight { color: #241c04; background: var(--tdl-gold); padding: 4px 12px; border-radius: 999px; font-weight: 600; }
.tdl-burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--tdl-ink); }
.tdl-burger > span:first-child, .tdl-burger > span:first-child::before, .tdl-burger > span:first-child::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.tdl-burger > span:first-child::before, .tdl-burger > span:first-child::after { content: ""; position: absolute; left: 0; }
.tdl-burger > span:first-child::before { top: -7px; }
.tdl-burger > span:first-child::after { top: 7px; }
.tdl-burger[aria-expanded="true"] > span:first-child { background: transparent; }
.tdl-burger[aria-expanded="true"] > span:first-child::before { transform: translateY(7px) rotate(45deg); }
.tdl-burger[aria-expanded="true"] > span:first-child::after { transform: translateY(-7px) rotate(-45deg); }

/* Écrans moyens : on retire la signature avant que le menu ne manque de place. */
@media (max-width: 1180px) {
	.tdl-brand small { display: none; }
}
@media (max-width: 900px) {
	.tdl-topbar-inner { flex-wrap: wrap; }
	.tdl-burger { display: block; }
	.tdl-links { display: none; width: 100%; flex-direction: column; gap: 0; padding: 6px 0 4px; }
	.tdl-links.is-open { display: flex; }
	.tdl .tdl-links a { padding: 10px 0; border-top: 1px solid var(--tdl-line); }
	.tdl .tdl-links a.is-highlight { margin-top: 8px; text-align: center; padding: 10px 12px; }
}

/* En-tête « collant » : on fixe le conteneur qui l'englobe (en-tête Theme Builder ou conteneur de page). */
.elementor-location-header:has(.tdl-topbar--sticky),
.e-con:has(> .elementor-widget-tdl-topbar .tdl-topbar--sticky),
.e-con:has(> .e-con-inner > .elementor-widget-tdl-topbar .tdl-topbar--sticky) {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 100;
}

/* Hero ----------------------------------------------------------------- */
/* Le hero et le formulaire sont deux widgets ; la mise en colonnes est faite par leur conteneur. */
.tdl-hero { padding: 0; }

.tdl-kicker { display: inline-block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--tdl-gold); font-weight: 700; margin-bottom: 14px; }
.tdl .tdl-h1 { font-size: clamp(30px, 4.5vw, 44px); line-height: 1.12; font-weight: 800; }
.tdl .tdl-h1 em { font-style: normal; color: var(--tdl-gold); }
.tdl-lede { margin-top: 16px; color: var(--tdl-muted); font-size: 18px; max-width: 34em; }
.tdl-lede p + p { margin-top: .8em; }
.tdl-lede strong { color: var(--tdl-ink); }

.tdl-stats { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.tdl-stat b { display: block; font-size: 24px; color: var(--tdl-ink); }
.tdl-stat span { font-size: 13px; color: var(--tdl-muted); }

.tdl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tdl-chip { font-size: 13px; background: var(--tdl-gold-soft); border: 1px solid color-mix(in srgb, var(--tdl-gold) 30%, var(--tdl-gold-soft)); color: color-mix(in srgb, var(--tdl-gold) 45%, #000); border-radius: 999px; padding: 5px 12px; }

.tdl-past { margin-top: 22px; font-size: 14px; }
.tdl .tdl-past a { color: var(--tdl-gold); font-weight: 700; text-decoration: none; border-bottom: 1.5px solid var(--tdl-gold-soft); }
.tdl .tdl-past a:hover { border-bottom-color: var(--tdl-gold); }

/* Carte formulaire ----------------------------------------------------- */
.tdl-card { background: var(--tdl-card); border: 1px solid var(--tdl-line); border-radius: 16px; padding: 28px; box-shadow: 0 20px 50px rgba(30, 25, 10, .07); }
.tdl .tdl-card-title { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.tdl-card-sub { color: var(--tdl-muted); font-size: 14px; margin-bottom: 18px !important; }
.tdl-field { margin-bottom: 14px; }
.tdl-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .tdl-grid2 { grid-template-columns: 1fr; } }
.tdl .tdl-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: var(--tdl-ink); }
.tdl-req { color: #b3261e; }
.tdl .tdl-form input[type=text], .tdl .tdl-form input[type=email], .tdl .tdl-form input[type=tel] {
	width: 100%; padding: 11px 12px; border: 1px solid #d5d1c6; border-radius: 9px;
	font-size: 15px; font-family: var(--tdl-font); background: #fdfcf9; color: var(--tdl-ink); line-height: 1.3; height: auto; box-shadow: none;
}
.tdl .tdl-form input:focus { outline: 2px solid var(--tdl-gold); outline-offset: 1px; border-color: var(--tdl-gold); }
.tdl .tdl-form input[aria-invalid="true"] { border-color: #b3261e; }
.tdl-hint { font-size: 12px; color: var(--tdl-muted); margin-top: 4px; }
.tdl .tdl-form .tdl-consent { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; font-weight: 400; color: var(--tdl-muted); margin: 16px 0; cursor: pointer; }
.tdl-consent input { margin-top: 2px; accent-color: var(--tdl-gold); flex: none; }
.tdl-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tdl .tdl-cta {
	width: 100%; padding: 14px; border: none; border-radius: 10px; cursor: pointer;
	background: linear-gradient(180deg, color-mix(in srgb, var(--tdl-gold) 80%, #fff), var(--tdl-gold)); color: #241c04;
	font-size: 16px; font-weight: 700; font-family: var(--tdl-font); line-height: 1.3; text-transform: none;
	box-shadow: 0 8px 20px color-mix(in srgb, var(--tdl-gold) 35%, transparent);
}
.tdl .tdl-cta:hover, .tdl .tdl-cta:focus { filter: brightness(1.05); color: #241c04; }
.tdl .tdl-cta[disabled] { opacity: .65; cursor: wait; }
.tdl-btn-note { text-align: center; font-size: 12px; color: var(--tdl-muted); margin-top: 10px !important; }
.tdl-error { color: #b3261e; font-size: 12.5px; margin-top: 4px; display: none; }
.tdl-error.is-visible { display: block; }
.tdl-global-err { margin: -8px 0 10px; }

.tdl-success { display: none; text-align: center; padding: 20px 8px; }
.tdl-form-card.is-done .tdl-form-block { display: none; }
.tdl-form-card.is-done .tdl-success { display: block; }
.tdl-check { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; background: var(--tdl-gold-soft); color: var(--tdl-gold); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.tdl .tdl-success h3 { margin-bottom: 8px; font-size: 19px; }
.tdl-success p { color: var(--tdl-muted); font-size: 14px; margin-bottom: 16px !important; }
.tdl .tdl-dl { display: inline-block; padding: 11px 22px; border-radius: 9px; border: 1.5px solid var(--tdl-gold); color: color-mix(in srgb, var(--tdl-gold) 45%, #000); font-weight: 700; text-decoration: none; font-size: 14px; }
.tdl .tdl-dl:hover { background: var(--tdl-gold-soft); }
.tdl .tdl-dl[hidden] { display: none; }

/* Bandeau de marques --------------------------------------------------- */
.tdl-proof { background: var(--tdl-card); border-top: 1px solid var(--tdl-line); border-bottom: 1px solid var(--tdl-line); padding: 30px 0; }
.tdl-proof-label { text-align: center; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--tdl-muted); margin-bottom: 18px !important; }
.tdl-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; align-items: center; }
.tdl-logos > span, .tdl .tdl-logos > a { font-weight: 700; font-size: 16px; color: #8a8a99; letter-spacing: .02em; text-decoration: none; }
.tdl-logos img { height: 36px; width: auto; display: block; }
.tdl-gray-yes .tdl-logos img { filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.tdl-gray-yes .tdl-logos a:hover img { filter: none; opacity: 1; }

/* Cartes atouts -------------------------------------------------------- */
.tdl-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(var(--tdl-min), 100%), 1fr)); gap: 16px; }
.tdl-mini { background: var(--tdl-card); border: 1px solid var(--tdl-line); border-radius: 12px; padding: 20px; }
.tdl-mini b { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; font-size: 15px; }
.tdl-mini .tdl-ico { color: var(--tdl-gold); }
.tdl-mini .tdl-ico svg { width: 1em; height: 1em; fill: currentColor; }
.tdl-mini > span { font-size: 13.5px; color: var(--tdl-muted); }

/* Flipbook ------------------------------------------------------------- */
.tdl-flipbook { position: relative; width: 100%; aspect-ratio: 16 / 10; min-height: 420px; border: 1px solid var(--tdl-line); border-radius: 14px; overflow: hidden; background: #f1efe8; box-shadow: 0 18px 40px rgba(30, 25, 10, .08); }
.tdl-flipbook iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tdl-flipbook-note { text-align: center; font-size: 13px; color: var(--tdl-muted); margin-top: 12px !important; }
.tdl .tdl-flipbook-note a { color: var(--tdl-gold); font-weight: 700; text-decoration: none; }
@media (max-width: 640px) { .tdl-flipbook { min-height: 300px; aspect-ratio: 4 / 3; } }

/* Calendrier ----------------------------------------------------------- */
.tdl .tdl-timeline { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.tdl-step { border-left: 3px solid var(--tdl-gold); padding-left: 14px; }
.tdl-step small { color: var(--tdl-gold); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 11.5px; }
.tdl-step b { display: block; margin: 4px 0 2px; }
.tdl-step span { font-size: 13.5px; color: var(--tdl-muted); }

/* Témoignages ---------------------------------------------------------- */
.tdl-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; margin-top: 8px; }
.tdl-quote { background: var(--tdl-card); border: 1px solid var(--tdl-line); border-radius: 12px; padding: 20px; font-size: 14.5px; }
.tdl .tdl-quote blockquote { border: 0; font-style: normal; font-size: inherit; color: inherit; quotes: none; }
.tdl .tdl-quote blockquote::before, .tdl .tdl-quote blockquote::after { content: none; }
.tdl-quote p::before { content: "«\00a0"; color: var(--tdl-gold); font-weight: 800; }
.tdl-quote p::after { content: "\00a0»"; color: var(--tdl-gold); font-weight: 800; }
.tdl-quote figcaption { display: block; margin-top: 10px; font-size: 13px; color: var(--tdl-muted); font-style: normal; }
.tdl-quote figcaption b { color: var(--tdl-ink); }

/* FAQ ------------------------------------------------------------------ */
.tdl-faq details { background: var(--tdl-card); border: 1px solid var(--tdl-line); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
.tdl-faq summary { cursor: pointer; font-weight: 700; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tdl-faq summary::-webkit-details-marker { display: none; }
.tdl-faq summary::after { content: "+"; color: var(--tdl-gold); font-size: 20px; font-weight: 700; flex: none; }
.tdl-faq details[open] summary::after { content: "–"; }
.tdl-faq-a { margin-top: 10px; color: var(--tdl-muted); font-size: 14px; }
.tdl-faq-a p + p { margin-top: .7em; }
.tdl .tdl-faq-a a { color: var(--tdl-gold); }

/* Bandeau appel à l'action --------------------------------------------- */
.tdl-participate { background: var(--tdl-ink); color: #f2efe6; border-radius: 16px; padding: 32px; display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap; }
.tdl .tdl-participate h3 { font-size: 22px; font-weight: 700; margin-bottom: 6px; color: #ffe9a8; }
.tdl-participate p { font-size: 14.5px; opacity: .8; max-width: 32em; }
.tdl .tdl-participate .tdl-btn { background: #ffe9a8; color: #241c04; padding: 12px 22px; border-radius: 9px; text-decoration: none; font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.tdl .tdl-participate .tdl-btn:hover { filter: brightness(1.05); }

/* Pied de page --------------------------------------------------------- */
.tdl-footer { border-top: 1px solid var(--tdl-line); margin-top: 24px; padding: 26px 0 40px; font-size: 13px; color: var(--tdl-muted); }
.tdl-footer-cols { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.tdl-footer-links a + a::before { content: "·"; display: inline-block; margin: 0 .5em; color: var(--tdl-muted); }
.tdl .tdl-footer-links a { color: var(--tdl-muted); }
.tdl .tdl-footer-links a:hover { color: var(--tdl-ink); }
