/* ===== Polices ===== */
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Great Vibes"; src: url("../fonts/great-vibes-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Dancing Script"; src: url("../fonts/dancing-script-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Dancing Script"; src: url("../fonts/dancing-script-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ===== Variables ===== */
:root {
	--bordeaux: #8a1c3c;
	--bordeaux-fonce: #5e0f2a;
	--prune: #4a1942;
	--violet: #7b2d8e;
	--or: #c9963b;
	--or-clair: #e8c77e;
	--creme: #fbf3e4;
	--creme-2: #f6e8d2;
	--encre: #2b2230;
	--gris: #6f6470;
	--blanc: #fff;
	--rayon: 18px;
	--ombre: 0 6px 22px rgba(94, 15, 42, .10);
	--ombre-forte: 0 10px 30px rgba(94, 15, 42, .18);
	--police: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
	--police-titre: "Great Vibes", cursive;
	--police-script: "Dancing Script", cursive;
	--largeur: 1640px;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	overflow-x: hidden;
	font-family: var(--police);
	font-size: 16px;
	line-height: 1.6;
	color: var(--encre);
	background:
		radial-gradient(1200px 500px at 0% 0%, rgba(201, 150, 59, .10), transparent 60%),
		radial-gradient(1000px 500px at 100% 100%, rgba(123, 45, 142, .08), transparent 60%),
		var(--creme);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bordeaux); text-decoration: none; }
a:hover { color: var(--bordeaux-fonce); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.cda-sauter { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--blanc); padding: 8px 14px; border-radius: 8px; }
.cda-sauter:focus { left: 8px; }
.cda-conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 24px; }
.cda-centre { text-align: center; }
.cda-ico { width: 22px; height: 22px; flex: none; }

/* ===== Bandeau du haut ===== */
.cda-bandeau {
	background: linear-gradient(90deg, var(--bordeaux-fonce), var(--bordeaux) 50%, var(--bordeaux-fonce));
	color: var(--blanc);
	font-size: 15px;
	border-bottom: 2px solid var(--or);
}
.cda-bandeau-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 46px; }
.cda-bandeau-msg { margin: 0; display: flex; align-items: center; gap: 10px; font-weight: 600; }
.cda-ico-or { color: var(--or-clair); }
.cda-ico-blanc { width: 16px; height: 16px; fill: var(--blanc); }
.cda-pays { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.cda-pays li { display: flex; align-items: center; gap: 8px; padding: 0 12px; font-weight: 600; }
.cda-pays li + li { border-left: 1px solid rgba(255, 255, 255, .35); }
.cda-drapeau { width: 22px; height: 22px; }

/* ===== En-tête ===== */
.cda-entete { position: relative; z-index: 20; }
.cda-entete-grille {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: start;
	gap: 18px;
	padding-top: 18px;
}
.cda-entete-gauche, .cda-entete-droite { display: flex; flex-direction: column; gap: 30px; padding-top: 4px; }
.cda-entete-droite { align-items: flex-end; }

.cda-recherche {
	position: relative;
	display: flex;
	align-items: center;
	max-width: 460px;
	background: var(--blanc);
	border-radius: 999px;
	box-shadow: var(--ombre);
	padding: 5px 5px 5px 48px;
}
.cda-recherche-ico { position: absolute; left: 16px; color: var(--encre); }
.cda-recherche input {
	flex: 1;
	border: 0;
	background: transparent;
	padding: 12px 6px;
	font-size: 17px;
	min-width: 0;
	outline: none;
}
.cda-recherche input::placeholder { color: var(--gris); }
.cda-recherche button {
	width: 52px; height: 52px;
	border: 0; border-radius: 50%;
	background: var(--bordeaux);
	color: var(--blanc);
	display: grid; place-items: center;
	cursor: pointer;
	transition: background .2s;
}
.cda-recherche button:hover { background: var(--bordeaux-fonce); }

.cda-logo { margin-top: -62px; margin-bottom: -118px; width: 470px; position: relative; z-index: 3; }
.cda-logo img { width: 100%; filter: drop-shadow(0 8px 14px rgba(94, 15, 42, .18)); }

.cda-actions { list-style: none; margin: 0; padding: 0; display: flex; }
.cda-actions li + li { border-left: 1px solid rgba(94, 15, 42, .15); }
.cda-actions a {
	display: flex; flex-direction: column; align-items: center; gap: 4px;
	padding: 2px 22px;
	color: var(--encre);
	font-weight: 600;
	font-size: 16.5px;
	position: relative;
}
.cda-actions a:hover { color: var(--bordeaux); }
.cda-actions .cda-ico { width: 40px; height: 40px; stroke-width: 1.5; }
.cda-panier-nb {
	position: absolute; top: -8px; right: 10px;
	min-width: 24px; height: 24px; padding: 0 6px;
	border-radius: 999px;
	background: #d6102e; color: var(--blanc);
	font-size: 13px; font-weight: 700;
	display: grid; place-items: center;
}

/* ===== Navigation ===== */
.cda-nav .cda-menu, .cda-nav ul { list-style: none; margin: 0; padding: 0; }
.cda-nav {
	background: rgba(255, 251, 244, .92);
	border: 1px solid rgba(201, 150, 59, .35);
	box-shadow: var(--ombre);
	padding: 6px;
}
.cda-nav-gauche { border-radius: 999px 0 0 999px; border-right: 0; margin-right: -60px; padding-right: 70px; }
.cda-nav-droite { border-radius: 0 999px 999px 0; border-left: 0; margin-left: -60px; padding-left: 70px; width: calc(100% + 60px); }
.cda-nav .cda-menu { display: flex; gap: 6px; align-items: center; }
.cda-nav-droite .cda-menu { justify-content: flex-end; }
.cda-nav a {
	display: flex; align-items: center; gap: 9px;
	padding: 10px 18px;
	border-radius: 999px;
	color: var(--encre);
	font-weight: 600;
	font-size: 17px;
	white-space: nowrap;
	transition: background .2s, color .2s;
}
.cda-nav a:hover { background: rgba(138, 28, 60, .08); color: var(--bordeaux); }
.cda-nav .current-menu-item > a, .cda-nav .current_page_item > a {
	background: var(--bordeaux);
	color: var(--blanc);
	box-shadow: 0 6px 14px rgba(138, 28, 60, .3);
}
.cda-nav li { position: relative; }
.cda-nav .sub-menu {
	position: absolute; top: 100%; left: 0;
	min-width: 220px; padding: 8px;
	background: var(--blanc); border-radius: 14px; box-shadow: var(--ombre-forte);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: .2s;
}
.cda-nav li:hover > .sub-menu, .cda-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.cda-nav .sub-menu a { padding: 8px 12px; border-radius: 10px; }

.cda-burger, .cda-tiroir-fermer {
	display: none;
	width: 46px; height: 46px;
	border: 0; border-radius: 12px;
	background: var(--blanc); color: var(--bordeaux);
	box-shadow: var(--ombre);
	place-items: center; cursor: pointer;
}

/* ===== Hero ===== */
.cda-hero {
	position: relative;
	margin-top: 12px;
	min-height: 345px;
	overflow: hidden;
	background: linear-gradient(90deg, #f8e7da 0%, #f6e2d3 40%, #f2d8c7 100%);
	border-top: 1px solid rgba(201, 150, 59, .35);
	border-bottom: 1px solid rgba(201, 150, 59, .35);
}
.cda-hero-visuel {
	position: absolute; inset: 0 0 0 auto;
	width: 75%;
	background-size: cover;
	background-position: right bottom;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 14%);
}
.cda-hero-texte { position: relative; padding-top: 52px; padding-bottom: 34px; }
.cda-hero h1 {
	position: relative;
	margin: 0;
	font-family: var(--police-titre);
	font-weight: 400;
	font-size: clamp(56px, 7vw, 104px);
	line-height: 1;
	color: var(--bordeaux-fonce);
	-webkit-text-stroke: 1.2px var(--bordeaux-fonce);
	text-shadow: 0 2px 0 rgba(255, 255, 255, .6);
}
.cda-hero-coeur { position: absolute; left: 245px; top: -30px; color: var(--bordeaux); }
.cda-hero-coeur .cda-ico { width: 58px; height: 58px; stroke-width: 1.4; }
.cda-hero-sous {
	margin: 10px 0 20px 50px;
	font-family: var(--police-script);
	font-weight: 600;
	font-size: clamp(22px, 2.4vw, 32px);
	line-height: 1.25;
	color: var(--bordeaux-fonce);
	text-shadow: 0 0 8px rgba(255, 248, 238, .95), 0 0 2px rgba(255, 248, 238, .95);
}
.cda-bouton {
	display: inline-flex; align-items: center; gap: 12px;
	margin-left: 110px;
	padding: 13px 30px;
	border-radius: 999px;
	background: var(--bordeaux);
	color: var(--blanc);
	font-weight: 700;
	font-size: 17px;
	box-shadow: 0 8px 18px rgba(138, 28, 60, .3);
	transition: transform .2s, background .2s;
}
.cda-bouton:hover { background: var(--bordeaux-fonce); color: var(--blanc); transform: translateY(-2px); }
.cda-bouton .cda-ico { width: 18px; height: 18px; stroke-width: 2.4; }
.cda-bouton-clair { margin-left: 0; background: var(--blanc); color: var(--bordeaux); border: 2px solid var(--bordeaux); box-shadow: none; }
.cda-bouton-clair:hover { background: var(--bordeaux); }

/* ===== Catégories ===== */
.cda-categories { padding: 16px 0 6px; }
.cda-cartes {
	list-style: none; margin: 0; padding: 0;
	display: grid;
	grid-template-columns: repeat(9, minmax(0, 1fr));
	gap: 12px;
}
.cda-cartes a {
	height: 100%;
	display: flex; flex-direction: column; align-items: center; justify-content: space-between;
	padding: 10px 8px 14px;
	background: linear-gradient(180deg, #fff 0%, #fdf6ec 100%);
	border-radius: var(--rayon);
	box-shadow: var(--ombre);
	border: 1px solid rgba(201, 150, 59, .2);
	text-align: center;
	color: var(--bordeaux-fonce);
	transition: transform .2s, box-shadow .2s;
}
.cda-cartes a:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); color: var(--bordeaux); }
.cda-cartes img { width: 100%; max-width: 126px; mix-blend-mode: multiply; border-radius: 12px; }
.cda-cartes span {
	margin-top: 6px;
	font-family: var(--police-script);
	font-weight: 700;
	font-size: 20px;
	line-height: 1.15;
	white-space: nowrap;
}

/* ===== Sections ===== */
.cda-section { padding: 40px 0; }
.cda-titre {
	font-family: var(--police-titre);
	font-weight: 400;
	font-size: clamp(40px, 4.5vw, 58px);
	line-height: 1.1;
	color: var(--bordeaux-fonce);
	text-align: center;
	margin: 0 0 26px;
}
.cda-titre::after {
	content: "";
	display: block;
	width: 90px; height: 3px;
	margin: 10px auto 0;
	background: linear-gradient(90deg, transparent, var(--or), transparent);
}
.cda-page { padding: 50px 0 60px; }
.cda-texte { max-width: 860px; margin: 0 auto; }
.cda-texte .cda-titre { text-align: left; }
.cda-texte .cda-titre::after { margin-left: 0; }
.cda-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.cda-carte-article { background: var(--blanc); border-radius: var(--rayon); padding: 18px; box-shadow: var(--ombre); }
.cda-carte-article img { border-radius: 12px; margin-bottom: 12px; }
.cda-carte-article h2 { font-size: 20px; margin: 0 0 8px; }

/* ===== Réassurance ===== */
.cda-reassurance { position: relative; padding: 22px 0 26px; overflow: hidden; }
.cda-reassurance::before, .cda-reassurance::after {
	content: ""; position: absolute; bottom: 0; width: 290px; height: 160px;
	background-repeat: no-repeat; background-size: contain; pointer-events: none;
}
.cda-reassurance::before { left: 0; background-image: url("../img/deco-coin-gauche.png"); background-position: left bottom; }
.cda-reassurance::after { right: 0; background-image: url("../img/deco-coin-droit.png"); background-position: right bottom; }
.cda-reassurance ul {
	position: relative; z-index: 1;
	list-style: none; margin: 0 auto; padding: 10px;
	max-width: 1400px;
	display: flex; justify-content: center; flex-wrap: wrap;
}
.cda-reassurance li { display: flex; align-items: center; gap: 14px; padding: 8px 26px; font-weight: 700; font-size: 17px; }
.cda-reassurance li + li { border-left: 1px solid rgba(94, 15, 42, .25); }
.cda-reassurance .cda-ico { width: 44px; height: 44px; color: var(--bordeaux); stroke-width: 1.8; }

/* ===== Pied de page ===== */
.cda-pied { background: linear-gradient(180deg, var(--bordeaux-fonce), #3d0a1c); color: #f3dfe5; margin-top: 10px; border-top: 3px solid var(--or); }
.cda-pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 46px; padding-bottom: 36px; }
.cda-pied-marque img { width: 220px; margin-bottom: 10px; }
.cda-pied-marque p { margin: 0; max-width: 320px; }
.cda-pied h2 { font-family: var(--police-script); font-weight: 700; font-size: 26px; color: var(--or-clair); margin: 0 0 12px; }
.cda-pied ul { list-style: none; margin: 0; padding: 0; }
.cda-pied li { margin: 6px 0; }
.cda-pied a { color: #f3dfe5; }
.cda-pied a:hover { color: var(--blanc); text-decoration: underline; }
.cda-pied-bas { border-top: 1px solid rgba(255, 255, 255, .15); padding: 16px 0; font-size: 14px; text-align: center; }

/* ===== WooCommerce ===== */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
	width: auto !important; margin: 0 !important; float: none !important;
	background: var(--blanc); border-radius: var(--rayon); padding: 14px; box-shadow: var(--ombre);
	transition: transform .2s, box-shadow .2s;
}
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); }
.woocommerce ul.products li.product img { border-radius: 12px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 16px; color: var(--encre); }
.woocommerce ul.products li.product .price { color: var(--bordeaux) !important; font-weight: 800; font-size: 17px; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	background: var(--bordeaux); color: var(--blanc); border-radius: 999px; padding: 11px 20px; font-weight: 700;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--bordeaux-fonce); color: var(--blanc); }
.woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--bordeaux); }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--bordeaux-fonce); }
.woocommerce span.onsale { background: var(--or); color: var(--blanc); }
.woocommerce .woocommerce-breadcrumb { color: var(--gris); }
.woocommerce .woocommerce-breadcrumb a { color: var(--bordeaux); }
.woocommerce-products-header__title { font-family: var(--police-titre); font-weight: 400; font-size: 54px; color: var(--bordeaux-fonce); margin: 0 0 14px; }

/* ===== Responsive ===== */
@media (max-width: 1240px) {
	.cda-cartes { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.cda-cartes span { white-space: normal; }
	.cda-logo { width: 340px; margin-top: -30px; margin-bottom: -90px; }
	.cda-nav a { padding: 9px 12px; }
	.cda-actions a { padding: 2px 14px; }
}
@media (max-width: 1024px) {
	.cda-entete-grille { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-bottom: 10px; }
	.cda-logo { order: 0; width: 220px; margin: 0; }
	.cda-entete-droite { order: 1; margin-left: auto; padding: 0; }
	.cda-burger { display: grid; order: 2; }
	.cda-entete-gauche { order: 3; width: 100%; padding: 0; }
	.cda-recherche { max-width: none; }
	.cda-nav { display: none; }
	.cda-actions span:not(.cda-panier-nb) { display: none; }
	.cda-actions a { padding: 4px 12px; }
	.cda-tiroir:not([hidden]) {
		position: fixed; inset: 0; z-index: 50;
		background: var(--creme); padding: 70px 24px 24px; overflow-y: auto;
	}
	.cda-tiroir .cda-tiroir-fermer { display: grid; position: absolute; top: 16px; right: 16px; }
	.cda-tiroir .cda-menu { list-style: none; margin: 0; padding: 0; }
	.cda-tiroir a { display: flex; align-items: center; gap: 12px; padding: 14px 12px; font-size: 19px; font-weight: 700; color: var(--encre); border-bottom: 1px solid rgba(94, 15, 42, .1); }
	.cda-hero { display: flex; flex-direction: column; }
	.cda-hero-visuel { position: relative; order: 2; width: 100%; height: 260px; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%); mask-image: linear-gradient(180deg, transparent 0%, #000 25%); }
	.cda-hero-texte { padding-bottom: 10px; }
	.cda-hero-sous, .cda-bouton { margin-left: 0; }
	.cda-hero-coeur { display: none; }
	.woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
	.cda-pied-grille { grid-template-columns: 1fr 1fr; }
	.cda-reassurance li { padding: 8px 18px; }
	.cda-reassurance::before, .cda-reassurance::after { width: 160px; height: 90px; opacity: .6; }
}
@media (max-width: 700px) {
	.cda-bandeau-in { justify-content: center; }
	.cda-bandeau-msg { display: none; }
	.cda-pays li { padding: 0 8px; font-size: 14px; }
	.cda-cartes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
	.cda-cartes span { font-size: 16px; }
	.cda-hero { min-height: 0; }
	.cda-hero-texte { padding-top: 30px; }
	.cda-hero-visuel { height: 170px; }
	.cda-entete-grille { gap: 8px; padding-left: 16px; padding-right: 16px; }
	.cda-actions a { padding: 4px 7px; }
	.cda-actions .cda-ico { width: 28px; height: 28px; }
	.cda-panier-nb { right: -2px; min-width: 20px; height: 20px; font-size: 12px; }
	.cda-logo { width: 140px; }
	.cda-burger { width: 42px; height: 42px; }
	.woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.cda-reassurance li { width: 100%; border-left: 0 !important; justify-content: flex-start; }
	.cda-pied-grille { grid-template-columns: 1fr; gap: 26px; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}
