/*
 * CDSC — feuille unique du site.
 *
 * Sections : fonts, tokens, base, typo, layout, boutons, badges,
 * formulaires, nav, footer, contenu, 404, utilitaires.
 */

/* ---------- Fonts ---------- */

@font-face {
	font-family: "Nunito";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/nunito-700.woff2") format("woff2");
}

@font-face {
	font-family: "Nunito";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("../fonts/nunito-800.woff2") format("woff2");
}

@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 300 900;
	font-display: swap;
	src: url("../fonts/fraunces-var.woff2") format("woff2");
}

@font-face {
	font-family: "Fraunces";
	font-style: italic;
	font-weight: 300 900;
	font-display: swap;
	src: url("../fonts/fraunces-var-italic.woff2") format("woff2");
}

@font-face {
	font-family: "Instrument Sans";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/instrument-sans.woff2") format("woff2");
}

@font-face {
	font-family: "Instrument Sans";
	font-style: italic;
	font-weight: 400 600;
	font-display: swap;
	src: url("../fonts/instrument-sans-italic.woff2") format("woff2");
}

/* ---------- Tokens ---------- */

:root {
	--cream: #FBF6EE;
	--card: #FFFFFF;
	--sand: #F4ECDD;
	--forest: #245C43;
	--forest-2: #163E2E;
	--forest-soft: #EAF2EC;
	--honey: #E7A23A;
	--honey-2: #CE8B22;
	--honey-soft: #FBEFD8;
	--ink: #2A2621;
	--muted: #7A7164;
	--faint: #A99E8C;
	--line: #ECE2D3;
	--line-soft: #F3EDE1;
	--round: ui-rounded, "SF Pro Rounded", "Nunito", -apple-system, system-ui, sans-serif;
	--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, Helvetica, Arial, sans-serif;
	--serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	--display: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
	--body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
	--shadow: 0 18px 50px -22px rgba(22, 62, 46, .45);
	--shadow-sm: 0 6px 18px -10px rgba(22, 62, 46, .35);
	--gutter: clamp(16px, 4vw, 44px);
	/* Full-bleed sections align their content edge with the 1280px nav. */
	--edge: clamp(16px, 4vw, 34px);
	--wrap: 1212px;
	--align-pad: max(var(--edge), calc((100% - var(--wrap)) / 2));
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--sans);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--forest);
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
	outline: 3px solid var(--honey);
	outline-offset: 2px;
}

/* ---------- Typographie ---------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--round);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.01em;
	text-wrap: balance;
	margin: 1.2em 0 .4em;
}

h1 {
	font-size: clamp(1.9rem, 4.4vw, 3.1rem);
	line-height: 1.05;
	letter-spacing: -.02em;
}

h2 {
	font-size: clamp(1.4rem, 3vw, 2rem);
}

h3 {
	font-size: 1.25rem;
}

/* ---------- Layout ---------- */

.cdsc-container {
	max-width: 1180px;
	margin: 0 auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

.cdsc-section {
	padding: clamp(30px, 5vw, 58px) var(--align-pad);
}

.cdsc-section-tint {
	background: var(--forest-soft);
}

.cdsc-section-sand {
	background: var(--sand);
}

.cdsc-center {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.cdsc-eyebrow {
	font-family: var(--body);
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	font-size: .72rem;
	color: var(--honey-2);
	margin: 0 0 .4em;
	display: inline-flex;
	align-items: center;
	gap: 13px;
}

/* Shared editorial section heads: honey rule + Fraunces title, used on
   every page. The home page overrides the alignment to left in home.css. */
.cdsc-eyebrow::before {
	content: "";
	width: 34px;
	height: 1px;
	background: currentColor;
	opacity: .55;
	flex: none;
}

.cdsc-section {
	font-family: var(--body);
}

.cdsc-sec-head {
	max-width: 780px;
}

.cdsc-sec-head h2 {
	font-family: var(--display);
	font-optical-sizing: auto;
	font-weight: 360;
	font-size: clamp(2rem, 4.2vw, 3.15rem);
	line-height: 1.03;
	letter-spacing: -.02em;
	margin: .18em 0 .34em;
	max-width: 20ch;
}

.cdsc-sec-head h2 em {
	font-style: italic;
	color: var(--honey-2);
}

.cdsc-sec-head .cdsc-sub {
	max-width: 54ch;
	font-size: 1.04rem;
}

/* En mode centré, les boîtes internes (h2 20ch, sub 54ch) doivent se
   centrer elles aussi, pas seulement leur texte. */
.cdsc-sec-head.cdsc-center h2,
.cdsc-sec-head.cdsc-center .cdsc-sub {
	margin-left: auto;
	margin-right: auto;
}

.cdsc-sub {
	color: var(--muted);
	max-width: 56ch;
	margin: 0;
}

/* ---------- Boutons ---------- */

.cdsc-btn {
	font-family: var(--round);
	font-weight: 800;
	font-size: .95rem;
	border: none;
	border-radius: 12px;
	padding: 14px 22px;
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	line-height: 1;
	transition: transform .12s ease, box-shadow .12s ease;
}

.cdsc-btn:hover {
	transform: translateY(-1px);
}

.cdsc-btn-miel {
	background: var(--honey);
	color: var(--forest-2);
	box-shadow: 0 10px 20px -10px rgba(231, 162, 58, .9);
}

.cdsc-btn-miel:hover {
	background: var(--honey-2);
	color: var(--forest-2);
}

.cdsc-btn-vert {
	background: var(--forest);
	color: #fff;
}

.cdsc-btn-vert:hover {
	background: var(--forest-2);
	color: #fff;
}

.cdsc-btn-ghost {
	background: transparent;
	color: var(--forest);
	box-shadow: inset 0 0 0 1.5px var(--forest);
}

.cdsc-btn-ghost.inv {
	color: #F7F1E4;
	box-shadow: inset 0 0 0 1.5px rgba(247, 241, 228, .65);
}

.cdsc-btn-sm {
	padding: 10px 16px;
	font-size: .85rem;
	border-radius: 10px;
}

/* ---------- Badges ---------- */

.cdsc-badge {
	font-family: var(--round);
	font-weight: 700;
	font-size: .76rem;
	padding: 6px 11px;
	border-radius: 999px;
	background: var(--forest-soft);
	color: var(--forest);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.cdsc-badge-miel {
	background: var(--honey-soft);
	color: var(--honey-2);
}

.cdsc-stars {
	color: var(--honey);
	letter-spacing: 1px;
}

/* ---------- Formulaires ---------- */

.cdsc-field {
	width: 100%;
	border: 1.5px solid var(--line);
	border-radius: 11px;
	padding: 12px 14px;
	font-size: .92rem;
	font-family: var(--sans);
	background: #fff;
	color: var(--ink);
}

.cdsc-field::placeholder {
	color: var(--faint);
}

.cdsc-search {
	display: flex;
	gap: 10px;
	max-width: 460px;
}

.cdsc-search .cdsc-field {
	flex: 1;
	min-width: 0;
}

/* ---------- Nav ---------- */

.cdsc-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--forest-2);
	color: #fff;
	padding: 12px 18px;
	border-radius: 0 0 10px 0;
	font-weight: 700;
	text-decoration: none;
}

.cdsc-skip:focus {
	left: 0;
}

.cdsc-header {
	background: var(--cream);
	border-bottom: 1px solid var(--line);
}

/* The home header floats over the hero photo, then turns solid on
   scroll — or while the mobile menu is open, so the dropdown never
   sits on the photo. */
.cdsc-logo-paw-light {
	display: none;
}

.cdsc-header-over {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	/* L'alpha suit le défilement (voir main.js) : transparent tout en
	   haut, vert forêt opaque une fois la page engagée. */
	background: rgba(251, 246, 238, var(--cdsc-nav-alpha, 0));
	border-bottom-color: transparent;
	transition: box-shadow .3s ease;
}

.cdsc-header-over .cdsc-wordmark {
	color: #FBF6EE;
}

.cdsc-header-over .cdsc-wordmark em {
	color: var(--honey);
}

.cdsc-header-over .cdsc-menu-list a {
	color: rgba(251, 246, 238, .92);
}

.cdsc-header-over .cdsc-menu-list a:hover,
.cdsc-header-over .cdsc-menu-list .current-menu-item > a,
.cdsc-header-over .cdsc-menu-list .current_page_item > a {
	border-color: var(--honey);
}

.cdsc-header-over .cdsc-logo-paw-dark {
	display: none;
}

.cdsc-header-over .cdsc-logo-paw-light {
	display: inline-block;
}

.cdsc-header-over .cdsc-burger {
	background: transparent;
	border-color: rgba(251, 246, 238, .45);
}

.cdsc-header-over .cdsc-burger-icon i {
	background: #FBF6EE;
}

.cdsc-header-over.is-solid {
	box-shadow: 0 6px 24px -18px rgba(22, 62, 46, .5);
}

/* Passé la mi-course du fondu, le fond clair impose l'encre. */
.cdsc-header-over.is-light .cdsc-wordmark { color: var(--ink); }
.cdsc-header-over.is-light .cdsc-wordmark em { color: var(--forest); }
.cdsc-header-over.is-light .cdsc-menu-list a { color: var(--ink); }
.cdsc-header-over.is-light .cdsc-logo-paw-dark { display: inline-block; }
.cdsc-header-over.is-light .cdsc-logo-paw-light { display: none; }
.cdsc-header-over.is-light .cdsc-burger { background: #fff; border-color: var(--line); }
.cdsc-header-over.is-light .cdsc-burger-icon i { background: var(--forest); }

.cdsc-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px clamp(16px, 4vw, 34px);
	max-width: 1280px;
	margin: 0 auto;
	flex-wrap: wrap;
}

.cdsc-logo {
	font-family: var(--round);
	font-weight: 800;
	font-size: 1.12rem;
	color: var(--forest);
	display: inline-flex;
	align-items: center;
	gap: 9px;
	letter-spacing: -.01em;
	text-decoration: none;
	margin: 0;
}

.cdsc-paw {
	width: 26px;
	height: 26px;
	border-radius: 9px;
	background: var(--forest);
	display: inline-grid;
	place-items: center;
	color: #fff;
	flex: none;
}

.cdsc-menu {
	display: none;
	width: 100%;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	padding: 14px 0 8px;
	border-top: 1px solid var(--line);
}

.cdsc-menu.is-open {
	display: flex;
}

.cdsc-menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-weight: 600;
	font-size: 1rem;
}

.cdsc-menu-list a {
	color: var(--ink);
	text-decoration: none;
	padding-bottom: 2px;
	border-bottom: 2px solid transparent;
}

.cdsc-menu-list a:hover,
.cdsc-menu-list .current-menu-item > a,
.cdsc-menu-list .current_page_item > a {
	border-color: var(--honey);
}

.cdsc-burger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	padding: 0;
}

.cdsc-burger-icon {
	display: grid;
	gap: 5px;
}

.cdsc-burger-icon i {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: var(--forest);
	transition: transform .18s ease, opacity .18s ease;
}

.cdsc-burger[aria-expanded="true"] .cdsc-burger-icon i:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.cdsc-burger[aria-expanded="true"] .cdsc-burger-icon i:nth-child(2) {
	opacity: 0;
}

.cdsc-burger[aria-expanded="true"] .cdsc-burger-icon i:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 720px) {
	.cdsc-burger {
		display: none;
	}

	.cdsc-menu {
		display: flex;
		width: auto;
		flex-direction: row;
		align-items: center;
		gap: 20px;
		padding: 0;
		border-top: none;
		flex-wrap: wrap;
	}

	.cdsc-menu-list {
		flex-direction: row;
		gap: 20px;
		font-size: .92rem;
		flex-wrap: wrap;
	}
}

/* ---------- Footer ---------- */

.cdsc-footer {
	background: var(--forest-2);
	color: #CFE0D4;
	padding: clamp(28px, 4vw, 44px) var(--gutter) 20px;
}

.cdsc-footer-cols {
	display: grid;
	grid-template-columns: 1fr;
	gap: 26px;
	max-width: 1180px;
	margin: 0 auto;
}

@media (min-width: 480px) {
	.cdsc-footer-cols {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 721px) {
	.cdsc-footer-cols {
		grid-template-columns: 1.4fr repeat(3, 1fr);
		gap: 22px;
	}
}

.cdsc-footer .cdsc-logo {
	color: #fff;
	margin-bottom: 10px;
}

.cdsc-paw svg {
	width: 15px;
	height: 15px;
	display: block;
}

.cdsc-logo-paw {
	width: 22px;
	height: 22px;
	flex: none;
}

.cdsc-wordmark {
	font-family: var(--round);
	font-weight: 800;
	font-size: 1.16rem;
	letter-spacing: -.02em;
	line-height: 1;
	color: var(--ink);
	white-space: nowrap;
}

.cdsc-wordmark em {
	font-style: normal;
	color: var(--forest);
}

.cdsc-footer .cdsc-wordmark {
	color: #FBF6EE;
}

.cdsc-footer .cdsc-wordmark em {
	color: var(--honey);
}

.cdsc-footer .cdsc-paw {
	background: var(--honey);
	color: var(--forest);
}

.cdsc-footer-tagline {
	font-size: .86rem;
	color: #9FB6A6;
	max-width: 34ch;
	margin: 0;
}

.cdsc-footer h5 {
	font-family: var(--round);
	font-weight: 800;
	font-size: .76rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--honey);
	margin: 0 0 10px;
}

.cdsc-footer-cols a {
	display: block;
	color: #CFE0D4;
	text-decoration: none;
	font-size: .88rem;
	padding: 3px 0;
	opacity: .85;
}

.cdsc-footer-cols a:hover {
	opacity: 1;
	text-decoration: underline;
}

.cdsc-footer-bottom {
	max-width: 1180px;
	margin: 26px auto 0;
	padding-top: 16px;
	border-top: 1px solid rgba(207, 224, 212, .18);
}

.cdsc-footer-bottom p {
	margin: 0;
	font-size: .78rem;
	color: #9FB6A6;
}

/* ---------- Leadband (accueil, pied d'article, page de vente) ---------- */

.cdsc-leadband {
	background: linear-gradient(140deg, var(--forest), var(--forest-2));
	color: #fff;
	font-family: var(--body);
	padding: clamp(30px, 5vw, 50px) var(--align-pad);
	display: grid;
	grid-template-columns: 1.2fr .9fr;
	gap: 26px;
	align-items: center;
}

@media (max-width: 780px) {
	.cdsc-leadband {
		grid-template-columns: 1fr;
	}
}

.cdsc-leadband-eb {
	color: var(--honey);
}

.cdsc-leadband h2 {
	font-family: var(--display);
	font-optical-sizing: auto;
	font-weight: 360;
	font-size: clamp(1.7rem, 3.4vw, 2.5rem);
	letter-spacing: -.02em;
	margin: .12em 0 .2em;
	color: #fff;
}

.cdsc-leadband h2 em {
	font-style: italic;
	color: var(--honey);
}

.cdsc-leadband-sub {
	color: #DCEAE0;
	margin: 0;
	max-width: 44ch;
}

.cdsc-leadband-mini {
	display: flex;
	gap: 10px;
}

.cdsc-leadband-mini .cdsc-field {
	flex: 1;
	min-width: 0;
	border: none;
	margin: 0;
}

.cdsc-leadband-fine {
	color: #9FB6A6;
	font-size: .76rem;
	margin: 10px 0 0;
}

/* ---------- Contenu (pages, fallback) ---------- */

.cdsc-page {
	max-width: 720px;
	margin: 0 auto;
	padding: clamp(24px, 4vw, 44px) clamp(16px, 4vw, 24px) clamp(40px, 6vw, 70px);
}

.cdsc-page-title {
	margin-top: .2em;
}

.cdsc-content > p {
	margin: 0 0 1.1em;
}

.cdsc-content a {
	color: var(--forest);
}

.cdsc-loop-item {
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
}

.cdsc-loop-title {
	margin: 0 0 .3em;
	font-size: 1.25rem;
}

.cdsc-loop-title a {
	color: var(--ink);
	text-decoration: none;
}

.cdsc-loop-title a:hover {
	color: var(--forest);
}

.cdsc-loop-excerpt {
	color: var(--muted);
	font-size: .94rem;
}

/* ---------- Douleurs numérotées (accueil + pages de vente) ---------- */

.cdsc-pains {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1px;
	margin-top: 42px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: 16px;
	overflow: hidden;
}

@media (max-width: 640px) {
	.cdsc-pains {
		grid-template-columns: 1fr;
	}
}

.cdsc-pain {
	background: #FFFFFF;
	padding: 30px 32px;
	text-align: left;
	display: flex;
	gap: 22px;
	align-items: flex-start;
}

.cdsc-pain-no {
	font-family: var(--display);
	font-style: italic;
	font-weight: 340;
	font-size: 1.95rem;
	line-height: 1;
	color: var(--honey-2);
	min-width: 44px;
}

.cdsc-pain h3 {
	font-family: var(--body);
	font-weight: 600;
	font-size: 1.12rem;
	margin: 2px 0 6px;
}

.cdsc-pain p {
	font-size: .96rem;
	color: var(--muted);
	margin: 0;
	line-height: 1.5;
}

/* ---------- Bloc pré-adoption ---------- */

.cdsc-preadopt {
	display: grid;
	grid-template-columns: 168px 1fr auto;
	gap: 22px;
	align-items: center;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 18px 24px 18px 18px;
	margin-top: 18px;
	box-shadow: var(--shadow-sm);
}

@media (max-width: 720px) {
	.cdsc-preadopt {
		grid-template-columns: 1fr;
		text-align: left;
	}
}

.cdsc-preadopt-img img {
	display: block;
	width: 100%;
	height: 104px;
	object-fit: cover;
	border-radius: 10px;
}

.cdsc-preadopt-bd p:last-child {
	font-size: .94rem;
	color: var(--muted);
	margin: 6px 0 0;
}

.cdsc-preadopt-buy {
	display: grid;
	gap: 10px;
	justify-items: center;
}

/* ---------- Pages statiques ---------- */

.cdsc-page-title {
	font-family: var(--display);
	font-optical-sizing: auto;
	font-weight: 380;
	letter-spacing: -.02em;
}

.cdsc-content {
	font-family: var(--body);
}

/* Le contenu importé garde des text-align:justify inline ; à cette
   largeur de colonne, les rivières sont pires que le fer à gauche. */
.cdsc-content p {
	text-align: left !important;
}

/* ---------- Panier & commande (blocs Woo, avant le lot checkout) ---------- */

/* Le bouton « contained » des blocs sort anthracite, et nos liens verts
   rendent son libellé illisible. On l'aligne sur les CTA du thème. */
.wc-block-components-button.wp-element-button.contained,
.wc-block-components-button.wp-element-button {
	background: var(--honey);
	color: var(--forest-2);
	border: none;
	border-radius: 12px;
	font-family: var(--round);
	font-weight: 800;
}

.wc-block-components-button.wp-element-button:hover,
.wc-block-components-button.wp-element-button:focus {
	background: var(--honey-2);
	color: var(--forest-2);
}

.wc-block-components-button.wp-element-button:focus-visible {
	outline: 3px solid var(--honey);
	outline-offset: 2px;
}

/* ---------- Formulaire de contact (CF7) ---------- */

/* Blocs techniques normalement masqués par le CSS du plugin, absent ici
   puisque le dump livre le HTML déjà rendu. */
.wpcf7 .hidden-fields-container,
.wpcf7 .akismet-fields-container,
.wpcf7 .screen-reader-response,
.wpcf7-response-output:empty {
	display: none;
}

.wpcf7-form > p {
	margin: 0 0 16px;
}

.wpcf7-form label {
	font-weight: 600;
	font-size: .92rem;
	color: var(--ink);
}

.wpcf7-form-control-wrap {
	display: block;
	margin-top: 7px;
}

.wpcf7-text,
.wpcf7-textarea {
	width: 100%;
	border: 1.5px solid var(--line);
	border-radius: 11px;
	padding: 12px 14px;
	font-size: .95rem;
	font-family: var(--body);
	background: var(--card);
	color: var(--ink);
}

.wpcf7-textarea {
	min-height: 190px;
	resize: vertical;
}

.wpcf7-submit {
	font-family: var(--round);
	font-weight: 800;
	font-size: .95rem;
	border: none;
	border-radius: 12px;
	padding: 14px 26px;
	cursor: pointer;
	background: var(--honey);
	color: var(--forest-2);
	box-shadow: 0 10px 20px -10px rgba(231, 162, 58, .9);
	transition: transform .12s ease, background .12s ease;
}

.wpcf7-submit:hover {
	background: var(--honey-2);
	transform: translateY(-1px);
}

.wpcf7-response-output {
	margin: 18px 0 0;
	padding: 12px 16px;
	border-radius: 11px;
	background: var(--forest-soft);
	color: var(--forest);
	font-weight: 600;
	font-size: .92rem;
}

/* ---------- 404 ---------- */

.cdsc-404 {
	text-align: center;
	padding-top: clamp(40px, 8vw, 90px);
	padding-bottom: clamp(50px, 8vw, 100px);
}

.cdsc-404-text {
	color: var(--muted);
	max-width: 46ch;
	margin: 0 auto 26px;
}

.cdsc-404-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

.cdsc-404-search {
	margin-top: 40px;
}

.cdsc-404-search p {
	color: var(--muted);
	font-size: .9rem;
	margin: 0 0 12px;
}

.cdsc-404-search .cdsc-search {
	margin: 0 auto;
}

/* ---------- Utilitaires ---------- */

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* Hidden state only when JS is around to reveal it (html.cdsc-js, set inline
   in the head) — without JS everything stays visible. */
.cdsc-js .cdsc-rv {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .55s ease, transform .55s ease;
}

.cdsc-js .cdsc-rv.vis {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.cdsc-js .cdsc-rv {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.cdsc-btn,
	.cdsc-burger-icon i {
		transition: none;
	}

	.cdsc-btn:hover {
		transform: none;
	}
}

/* Livraison du lead magnet (page hors nav) */
.cdsc-lecon-offerte .cdsc-sec:first-child {
	padding-top: 96px;
}

.cdsc-lecon-player {
	max-width: 920px;
	margin: 40px auto 0;
}

.cdsc-lecon-player video {
	display: block;
	width: 100%;
	border-radius: 14px;
	background: var(--forest-2);
	box-shadow: 0 24px 60px rgba(22, 62, 46, 0.22);
}

.cdsc-lecon-missing {
	text-align: center;
	padding: 64px 24px;
	background: var(--forest-soft);
	border-radius: 14px;
}

.cdsc-lecon-conseil {
	max-width: 720px;
	margin: 32px auto 0;
	padding: 22px 28px;
	background: var(--forest-soft);
	border-radius: 12px;
}

.cdsc-lecon-offerte .cdsc-sec:last-child {
	padding-bottom: 96px;
}

.cdsc-lecon-suite {
	padding-top: 72px;
}

/* La barre d'admin WordPress occupe le haut de l'écran pour les
   utilisateurs connectés : l'en-tête flottant se cale dessous. */
body.admin-bar .cdsc-header-over {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .cdsc-header-over {
		top: 46px;
	}
}
