/* THHS – Page d'accueil */

.thhs-acc {
	/* Valeurs injectées depuis les réglages (voir THHS_ACC_Front::css_vars). */
	--thhs-acc-blue: #2F5B8F;
	--thhs-acc-ink: #17304F;
	--thhs-acc-action: #C93F3B;
	--thhs-acc-hero-rgb: 55, 101, 156;
	--thhs-acc-ink-rgb: 23, 48, 79;
	--thhs-acc-muted: #4A5874;
	--thhs-acc-line: #DDE3EC;
	--thhs-acc-soft: #EEF3FA;
	--thhs-acc-warm: #F5F2EE;
	--thhs-acc-white: #FFFFFF;
	--thhs-acc-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	color: var(--thhs-acc-ink);
	font-size: 16px;
	line-height: 1.5;
}
.thhs-acc--fonts { font-family: "Jost", system-ui, sans-serif; }
.thhs-acc *, .thhs-acc *::before, .thhs-acc *::after { box-sizing: border-box; }
.thhs-acc img { max-width: 100%; height: auto; display: block; }
.thhs-acc h1, .thhs-acc h2, .thhs-acc h3, .thhs-acc p, .thhs-acc ul, .thhs-acc blockquote { margin: 0; }
.thhs-acc h1, .thhs-acc h2, .thhs-acc h3 { color: inherit; letter-spacing: normal; text-transform: none; }
.thhs-acc ul { list-style: none; padding: 0; }
.thhs-acc a { color: var(--thhs-acc-blue); }
.thhs-acc a:hover { color: var(--thhs-acc-ink); }

.thhs-acc-inner { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.thhs-acc-section { padding-top: 56px; }
.thhs-acc-section--tight { padding-top: 40px; }
.thhs-acc-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Typographie */
.thhs-acc-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--thhs-acc-blue); }
.thhs-acc-eyebrow--light { color: var(--thhs-acc-white); }
.thhs-acc-eyebrow--warm { color: #8A4B2B; }
.thhs-acc-h2 { font-family: var(--thhs-acc-serif); font-size: clamp(28px, 3.2vw, 36px); font-weight: 600; line-height: 1.1; }
.thhs-acc-h2--lg { font-size: clamp(32px, 3.6vw, 42px); }
.thhs-acc-lead { font-size: 17px; line-height: 1.65; color: var(--thhs-acc-muted); }

/* Boutons */
.thhs-acc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
	font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s;
}
.thhs-acc .thhs-acc-btn--action { background: var(--thhs-acc-action); color: var(--thhs-acc-white); border-radius: 12px; }
.thhs-acc .thhs-acc-btn--action:hover { background: var(--thhs-acc-ink); color: var(--thhs-acc-white); }
.thhs-acc .thhs-acc-btn--light { background: var(--thhs-acc-white); color: var(--thhs-acc-ink); }
.thhs-acc .thhs-acc-btn--light:hover { background: var(--thhs-acc-soft); color: var(--thhs-acc-ink); }
.thhs-acc .thhs-acc-btn--blue { background: var(--thhs-acc-blue); color: var(--thhs-acc-white); }
.thhs-acc .thhs-acc-btn--blue:hover { background: var(--thhs-acc-ink); color: var(--thhs-acc-white); }
.thhs-acc .thhs-acc-btn--outline { border-color: var(--thhs-acc-ink); color: var(--thhs-acc-ink); background: transparent; }
.thhs-acc-btn:focus-visible, .thhs-acc-hero-tabs button:focus-visible, .thhs-acc-select select:focus-visible, .thhs-acc a:focus-visible { outline: 3px solid #8FB3E8; outline-offset: 2px; }
.thhs-acc-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero ---------- */
.thhs-acc-hero { position: relative; color: var(--thhs-acc-white); }
.thhs-acc-hero-panel { background-color: rgb(var(--thhs-acc-hero-rgb)); background-size: cover; background-position: center; }
.thhs-acc-hero-panel[hidden] { display: none; }
.thhs-acc-hero-panel--intent.has-image { background-image: linear-gradient(rgba(var(--thhs-acc-hero-rgb), .86), rgba(var(--thhs-acc-hero-rgb), .86)), var(--thhs-acc-img); }
.thhs-acc-hero-panel--eau { background-color: var(--thhs-acc-ink); }
.thhs-acc-hero-panel--eau.has-image { background-image: linear-gradient(rgba(var(--thhs-acc-ink-rgb), .74), rgba(var(--thhs-acc-ink-rgb), .74)), var(--thhs-acc-img); background-position: center 40%; }

.thhs-acc-hero-tabs-wrap { position: absolute; top: 24px; left: 0; right: 0; z-index: 2; }
.thhs-acc-hero-tabs { max-width: 1240px; margin: 0 auto; padding: 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.thhs-acc-hero-tabs button {
	min-height: 44px; padding: 0 20px; border-radius: 999px; cursor: pointer;
	font: inherit; font-size: 15px; font-weight: 600;
	background: transparent; color: var(--thhs-acc-white); border: 1px solid rgba(255, 255, 255, .6);
}
.thhs-acc-hero-tabs button[aria-selected="true"] { background: var(--thhs-acc-white); color: var(--thhs-acc-ink); border-color: var(--thhs-acc-white); }
.thhs-acc-hero-tabs-wrap + .thhs-acc-hero-panel .thhs-acc-inner,
.thhs-acc-hero-tabs-wrap ~ .thhs-acc-hero-panel .thhs-acc-inner { padding-top: 110px; }

.thhs-acc-hero-center {
	display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center;
	padding-top: 88px; padding-bottom: 80px; max-width: 828px;
}
.thhs-acc-hero-title { font-family: var(--thhs-acc-serif); font-weight: 600; font-size: clamp(40px, 5.4vw, 66px); line-height: 1.05; color: var(--thhs-acc-white); text-wrap: balance; }
.thhs-acc-hero-title--left { font-size: clamp(38px, 5vw, 60px); }
.thhs-acc-hero-lead { font-size: 18px; line-height: 1.6; color: #EEF3FA; max-width: 560px; }

.thhs-acc-intent-form {
	width: 100%; max-width: 640px; display: flex; flex-wrap: wrap; gap: 10px;
	background: var(--thhs-acc-white); border-radius: 16px; padding: 10px; box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
}
.thhs-acc-select { position: relative; flex: 1 1 260px; min-width: 0; }
.thhs-acc-select select {
	width: 100%; min-height: 52px; margin: 0; appearance: none; -webkit-appearance: none;
	border: 0; border-radius: 10px; background: #F5F7FA; color: var(--thhs-acc-ink);
	padding: 0 44px 0 16px; font: inherit; font-size: 18px; text-align: left; cursor: pointer; box-shadow: none;
}
.thhs-acc-select svg { position: absolute; right: 16px; top: 17px; pointer-events: none; color: var(--thhs-acc-ink); }
.thhs-acc-intent-form .thhs-acc-btn { min-height: 52px; flex: 0 0 auto; }

.thhs-acc-quick { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 18px; font-size: 15px; }
.thhs-acc-quick span { color: #EEF3FA; }
.thhs-acc .thhs-acc-quick a {
	min-height: 44px; display: inline-flex; align-items: center;
	color: var(--thhs-acc-white); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .55);
}
.thhs-acc .thhs-acc-quick a:hover { text-decoration-color: var(--thhs-acc-white); color: var(--thhs-acc-white); }

.thhs-acc-hero-split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 80px; }
.thhs-acc-hero-text { flex: 1.3 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.thhs-acc-hero-split > .thhs-el { flex: 1 1 360px; min-width: 0; display: flex; }
.thhs-acc-hero-split > .thhs-el .thhs-el-countdown { flex: 1 1 auto; }

/* ---------- Réassurance ---------- */
.thhs-acc-reassurance { border-bottom: 1px solid #E6EAF0; background: var(--thhs-acc-white); }
.thhs-acc-reassurance-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px 28px; padding-top: 22px; padding-bottom: 22px; }
.thhs-acc-reassurance-list li { display: flex; gap: 12px; align-items: flex-start; }
.thhs-acc-reassurance-list svg { flex: none; color: var(--thhs-acc-blue); }
.thhs-acc-reassurance-title { font-size: 16px; font-weight: 600; line-height: 1.35; }
.thhs-acc-reassurance-sub { margin-top: 2px !important; font-size: 14px; line-height: 1.4; color: var(--thhs-acc-muted); }

/* ---------- Bandeau événementiel ---------- */
.thhs-acc-banner { border-radius: 22px; overflow: hidden; display: flex; flex-wrap: wrap; background: var(--thhs-acc-ink); color: var(--thhs-acc-white); }
.thhs-acc-banner-media { flex: 1 1 420px; min-height: 260px; background: #3A4E6B; }
.thhs-acc-banner-media img { width: 100%; height: 100%; object-fit: cover; }
.thhs-acc-banner-body { flex: 1 1 420px; min-width: 0; padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.thhs-acc-banner .thhs-acc-eyebrow { color: #F3D9C2; }
.thhs-acc-banner .thhs-acc-h2 { font-size: clamp(30px, 3.4vw, 40px); }
.thhs-acc-banner-text { font-size: 17px; line-height: 1.6; color: #DCE7F5; }
.thhs-acc .thhs-acc-banner-btn { background: var(--thhs-acc-white); color: var(--thhs-acc-ink); }
.thhs-acc .thhs-acc-banner-btn:hover { background: var(--thhs-acc-soft); color: var(--thhs-acc-ink); }
.thhs-acc-banner--corail { background: var(--thhs-acc-action); }
.thhs-acc-banner--corail .thhs-acc-eyebrow, .thhs-acc-banner--corail .thhs-acc-banner-text { color: #FFF1EE; }
.thhs-acc-banner--clair { background: var(--thhs-acc-warm); color: var(--thhs-acc-ink); }
.thhs-acc-banner--clair .thhs-acc-eyebrow { color: #8A4B2B; }
.thhs-acc-banner--clair .thhs-acc-banner-text { color: var(--thhs-acc-muted); }
.thhs-acc .thhs-acc-banner--clair .thhs-acc-banner-btn { background: var(--thhs-acc-action); color: var(--thhs-acc-white); }

/* ---------- Rangées et blocs 2×2 ---------- */
.thhs-acc-row-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 24px; margin-bottom: 22px; }
.thhs-acc-row-sub { font-size: 16px; color: var(--thhs-acc-muted); }
.thhs-acc-blocks { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.thhs-acc-block {
	background: var(--thhs-acc-white); border: 1px solid var(--thhs-acc-line); border-radius: 18px;
	padding: 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0;
}
.thhs-acc-block-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 30px; }
.thhs-acc-block-head h3 { font-size: 19px; font-weight: 600; line-height: 1.25; }
.thhs-acc-badge { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; white-space: nowrap; color: var(--thhs-acc-white); }
.thhs-acc-badge--promo { background: var(--thhs-acc-action); }
.thhs-acc-badge--info { background: var(--thhs-acc-blue); }
.thhs-acc-block-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.thhs-acc .thhs-acc-block-grid a { display: flex; flex-direction: column; gap: 6px; color: var(--thhs-acc-ink); text-decoration: none; }
.thhs-acc .thhs-acc-block-grid a:hover .thhs-acc-block-name { text-decoration: underline; }
.thhs-acc-block-img { display: block; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: #F5F7FA; }
.thhs-acc-block-img img { width: 100%; height: 100%; object-fit: cover; }
.thhs-acc-block-name { font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.thhs-acc-block-price { font-size: 13px; font-weight: 600; }
.thhs-acc-block-price del { font-weight: 400; color: var(--thhs-acc-muted); margin-right: 4px; }
.thhs-acc-block-price ins { text-decoration: none; }
.thhs-acc .thhs-acc-block-link { margin-top: auto; min-height: 32px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; text-decoration: none; }
.thhs-acc .thhs-acc-block-link:hover { text-decoration: underline; }

/* ---------- Nos boutiques ---------- */
.thhs-acc-shops { margin-top: 64px; background: var(--thhs-acc-warm); }
.thhs-acc-shops-inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.thhs-acc-shops-media { flex: 1.2 1 480px; min-width: 0; }
.thhs-acc-shops-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; }
.thhs-acc-shops-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.thhs-acc-shops-list { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.thhs-acc-shops-list li, .thhs-acc-shops-hours { display: flex; gap: 10px; align-items: flex-start; }
.thhs-acc-shops-list svg, .thhs-acc-shops-hours svg { flex: none; width: 20px; height: 20px; color: #8A4B2B; margin-top: 2px; }
.thhs-acc-shops-hours { font-size: 15px; color: var(--thhs-acc-muted); }

/* ---------- Blog ---------- */
.thhs-acc-blog { padding-bottom: 64px; padding-top: 72px; }
.thhs-acc-blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.thhs-acc-post { display: flex; flex-direction: column; gap: 12px; }
.thhs-acc-post-img { display: block; aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; background: var(--thhs-acc-soft); }
.thhs-acc-post-img img { width: 100%; height: 100%; object-fit: cover; }
.thhs-acc-post h3 { font-size: 19px; font-weight: 600; line-height: 1.3; }
.thhs-acc .thhs-acc-post h3 a { color: var(--thhs-acc-ink); text-decoration: none; }
.thhs-acc .thhs-acc-post h3 a:hover { text-decoration: underline; }

/* ---------- Bandeau Eau de Lourdes ---------- */
.thhs-acc--bar { background: var(--thhs-acc-soft); border-bottom: 1px solid var(--thhs-acc-line); }
.thhs-acc .thhs-acc-eau-bar a {
	display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: center;
	min-height: 44px; padding-top: 8px; padding-bottom: 8px; font-size: 15px; color: var(--thhs-acc-ink); text-decoration: none;
}
.thhs-acc-eau-bar svg { width: 18px; height: 18px; color: var(--thhs-acc-blue); }
.thhs-acc-eau-bar-cta { font-weight: 600; color: var(--thhs-acc-blue); }
.thhs-acc .thhs-acc-eau-bar a:hover .thhs-acc-eau-bar-cta { text-decoration: underline; }

/* ---------- Pages d'étiquette ---------- */
.thhs-acc-tag-header { display: flex; flex-direction: column; gap: 20px; margin: 16px 0 28px; }
.thhs-acc-tag-image img { width: 100%; max-height: 360px; object-fit: cover; border-radius: 18px; }
.thhs-acc-prayer { background: var(--thhs-acc-soft); border-radius: 16px; padding: 20px 24px; font-family: var(--thhs-acc-serif); font-size: 21px; line-height: 1.5; font-style: italic; }
.thhs-acc-prayer .thhs-acc-eyebrow { font-family: inherit; font-style: normal; font-size: 12px; margin-bottom: 6px; }
.thhs-acc-prayer p + p { margin-top: 8px; }

.thhs-acc-admin-hint { background: #FFF8E5; border: 1px dashed #B88A1E; color: #5C4410; padding: 12px 16px; border-radius: 10px; font-size: 14px; text-align: left; }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
	.thhs-acc-inner { padding-left: 16px; padding-right: 16px; }
	.thhs-acc-hero-tabs-wrap { top: 16px; }
	.thhs-acc-hero-tabs { padding: 0 16px; }
	.thhs-acc-hero-tabs button { flex: 1 1 0; padding: 0 12px; font-size: 14px; }
	.thhs-acc-hero-center { padding-top: 56px; padding-bottom: 48px; gap: 18px; }
	.thhs-acc-hero-split { padding-top: 56px; padding-bottom: 48px; gap: 28px; }
	.thhs-acc-hero-tabs-wrap ~ .thhs-acc-hero-panel .thhs-acc-inner { padding-top: 84px; }
	.thhs-acc-intent-form .thhs-acc-btn { flex: 1 1 100%; }
	.thhs-acc-quick { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; max-width: calc(100% + 32px); margin: 0 -16px; padding: 0 16px; }
	.thhs-acc-quick > * { flex: none; }

	.thhs-acc-reassurance-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-top: 16px; padding-bottom: 16px; }
	.thhs-acc-reassurance-list svg { width: 22px; height: 22px; }
	.thhs-acc-reassurance-title { font-size: 14px; }
	.thhs-acc-reassurance-sub { font-size: 13px; }

	.thhs-acc-banner-media { min-height: 170px; }
	.thhs-acc-banner-body { padding: 22px; }

	/* Blocs : défilement horizontal, un bloc et demi visible. */
	.thhs-acc-blocks { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; gap: 12px; margin: 0 -16px; padding: 0 16px 6px; }
	.thhs-acc-block { flex: 0 0 82%; max-width: 320px; scroll-snap-align: start; padding: 16px; }

	.thhs-acc-shops-inner { padding-top: 32px; padding-bottom: 36px; gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
	.thhs-acc * { transition: none !important; scroll-behavior: auto !important; }
}
