/* =========================================================
   Alvin D'or – curseur, écran d'intro, barre de chargement
   ========================================================= */

/* ---------- Écran d'intro (1re page de la visite) ---------- */
.adl__box { text-align: center; }
.adl__swipe { display: block; width: min(56vw, 240px); height: 40px; margin: 0 auto -6px; overflow: visible; }
.adl__swipe path { stroke-dasharray: 300; stroke-dashoffset: 300; animation: adl-draw 1.1s cubic-bezier(.65,0,.35,1) .1s forwards; }
@keyframes adl-draw { to { stroke-dashoffset: 0; } }
.adl__name { margin: 0; font-family: var(--global-heading-font-family, "Cormorant Garamond", serif); font-size: clamp(2.6rem, 10vw, 4.2rem); color: #6E4535; font-weight: 500; letter-spacing: .02em; opacity: 0; transform: translateY(10px); animation: adl-up .8s cubic-bezier(.22,.8,.24,1) .45s forwards; }
.adl__name em { font-style: italic; font-weight: 400; }
.adl__tag { margin: .5rem 0 0; font-family: var(--global-body-font-family, Montserrat, sans-serif); font-size: .62rem; letter-spacing: .42em; text-transform: uppercase; color: #B8846C; opacity: 0; animation: adl-up .8s ease .75s forwards; }
@keyframes adl-up { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .adl__swipe path, .adl__name, .adl__tag { animation: none; opacity: 1; transform: none; stroke-dashoffset: 0; } }

/* ---------- Barre de chargement entre les pages ---------- */
.adp-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 2147483001; pointer-events: none; background: linear-gradient(90deg, #E8A9B5, #CFA48C, #B8846C); box-shadow: 0 0 10px rgba(207,164,140,.7); opacity: 0; }
.adp-progress.is-running { opacity: 1; width: 82%; transition: width 6s cubic-bezier(.1,.6,.2,1), opacity .2s; }
.adp-progress.is-done { opacity: 0; width: 100%; transition: width .25s ease, opacity .4s ease .2s; }
body.admin-bar .adp-progress { top: 32px; }
@media (max-width: 782px) { body.admin-bar .adp-progress { top: 46px; } }

/* ---------- Curseur (ordinateur uniquement) ---------- */
@media (hover: hover) and (pointer: fine) {
	html.adc-cursor, html.adc-cursor body {
		cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Ccircle cx='10' cy='10' r='3.5' fill='%236E4535'/%3E%3C/svg%3E") 10 10, auto;
	}
	html.adc-cursor a, html.adc-cursor button, html.adc-cursor [role=button], html.adc-cursor label, html.adc-cursor select, html.adc-cursor summary, html.adc-cursor .adp-swatch, html.adc-cursor input[type=submit], html.adc-cursor input[type=checkbox], html.adc-cursor input[type=radio], html.adc-cursor input[type=range] {
		cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Ccircle cx='10' cy='10' r='4.5' fill='%23B8846C'/%3E%3C/svg%3E") 10 10, pointer;
	}
	html.adc-cursor input[type=text], html.adc-cursor input[type=email], html.adc-cursor input[type=tel], html.adc-cursor input[type=number], html.adc-cursor input[type=search], html.adc-cursor input[type=password], html.adc-cursor textarea, html.adc-cursor [contenteditable] { cursor: text; }

	.adc-ring {
		position: fixed; top: 0; left: 0; z-index: 2147482999; pointer-events: none;
		width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
		border: 1.5px solid rgba(184,132,108,.75); background: transparent;
		display: grid; place-items: center; opacity: 0;
		transition: width .35s cubic-bezier(.22,.8,.24,1), height .35s cubic-bezier(.22,.8,.24,1), margin .35s cubic-bezier(.22,.8,.24,1), background .3s, border-color .3s, opacity .3s;
		will-change: transform;
	}
	.adc-ring.is-on { opacity: 1; }
	.adc-ring span { font-family: var(--global-body-font-family, Montserrat, sans-serif); font-size: .56rem; letter-spacing: .18em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .2s; white-space: nowrap; }
	/* Survol d'un lien / bouton */
	.adc-ring.is-link { width: 52px; height: 52px; margin: -26px 0 0 -26px; background: rgba(207,164,140,.16); border-color: rgba(184,132,108,.5); }
	/* Survol d'une photo produit : pastille « Voir » */
	.adc-ring.is-view { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: rgba(110,69,53,.88); border-color: transparent; }
	.adc-ring.is-view span { opacity: 1; }
	/* Clic */
	.adc-ring.is-down { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
	/* Sur fond sombre (pied de page, barres collantes) */
	.adc-ring.is-dark { border-color: rgba(244,231,223,.7); }
	.adc-ring.is-text { opacity: 0 !important; }
}
@media (prefers-reduced-motion: reduce) { .adc-ring { display: none !important; } }

/* En-tête : on garde seulement le logo (le nom écrit en noir faisait doublon) */
.site-branding .brand.has-logo-image .site-title-wrap { display: none !important; }

/* Pages sans bandeau de titre (À propos, Contact) */
body.ad-no-hero .entry-hero { display: none !important; }
