/* THHS – Tournées Eau de Lourdes */

.thhs-el {
	/* Couleur principale : réglable dans Eau de Lourdes › Réglages (injectée en ligne). */
	--thhs-el-primary: #2F5B8F;
	--thhs-el-primary-rgb: 47, 91, 143;
	--thhs-el-ink: #17304F;
	--thhs-el-blue: var(--thhs-el-primary);
	--thhs-el-muted: #4A5874;
	--thhs-el-on-dark: #EEF3FA;
	--thhs-el-on-dark-2: #DCE7F5;
	--thhs-el-soft: #EEF3FA;
	--thhs-el-ground: #F5F7FA;
	--thhs-el-sky: #DCE7F5;
	--thhs-el-line: #DDE3EC;
	--thhs-el-white: #FFFFFF;
	--thhs-el-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--thhs-el-radius: 20px;
	color: var(--thhs-el-ink);
	background: var(--thhs-el-ground);
	line-height: 1.5;
}
.thhs-el--fonts { font-family: "DM Sans", system-ui, sans-serif; }
.thhs-el *, .thhs-el *::before, .thhs-el *::after { box-sizing: border-box; }
.thhs-el img { max-width: 100%; height: auto; display: block; }
.thhs-el h1, .thhs-el h2, .thhs-el h3, .thhs-el p, .thhs-el ol, .thhs-el dl, .thhs-el dd, .thhs-el figure { margin: 0; }
.thhs-el h1, .thhs-el h2, .thhs-el h3 { color: inherit; letter-spacing: normal; text-transform: none; }

/* Mise en page */
.thhs-el-inner { max-width: 1200px; margin: 0 auto; padding: 80px 24px; }
.thhs-el-inner--narrow { max-width: 860px; }
.thhs-el-section--white { background: var(--thhs-el-white); }
.thhs-el-section--lined { border-top: 1px solid var(--thhs-el-line); border-bottom: 1px solid var(--thhs-el-line); }
.thhs-el-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin-bottom: 36px; }
.thhs-el-head--row { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.thhs-el-head--row > div { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }

/* Typographie */
.thhs-el-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--thhs-el-blue); }
.thhs-el-eyebrow--light { color: var(--thhs-el-on-dark-2); }
.thhs-el-h2 { font-family: var(--thhs-el-serif); font-size: clamp(32px, 4vw, 42px); font-weight: 600; line-height: 1.1; }
.thhs-el-lead { font-size: 17px; line-height: 1.65; color: var(--thhs-el-muted); }
.thhs-el-lead--side { max-width: 440px; font-size: 15px; }

/* Boutons */
.thhs-el-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 0 26px; border-radius: 999px;
	font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
	border: 1px solid transparent; transition: opacity .15s, background-color .15s;
}
.thhs-el-btn--light { background: var(--thhs-el-white); color: var(--thhs-el-ink); }
.thhs-el-btn--light:hover { background: var(--thhs-el-sky); color: var(--thhs-el-ink); }
.thhs-el-btn--ghost { border-color: rgba(255, 255, 255, .7); color: var(--thhs-el-white); font-weight: 500; }
.thhs-el-btn--ghost:hover { background: rgba(255, 255, 255, .14); color: var(--thhs-el-white); }
.thhs-el-btn--outline { border-color: var(--thhs-el-ink); color: var(--thhs-el-ink); background: transparent; }
.thhs-el-btn:disabled { opacity: .55; cursor: not-allowed; }
.thhs-el-btn.is-loading { opacity: .7; cursor: progress; }
.thhs-el-btn:focus-visible, .thhs-el-stepper button:focus-visible, .thhs-el-faq summary:focus-visible { outline: 3px solid #8FB3E8; outline-offset: 2px; }
.thhs-el-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* Hero */
.thhs-el-hero { background: var(--thhs-el-primary); color: var(--thhs-el-white); }
.thhs-el-hero.has-image {
	background-image: linear-gradient(rgba(var(--thhs-el-primary-rgb), .8), rgba(var(--thhs-el-primary-rgb), .8)), var(--thhs-el-hero-img);
	background-size: cover; background-position: center;
}
.thhs-el-hero-inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 88px; }
.thhs-el-hero-text { flex: 1.3 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.thhs-el-hero-title { font-family: var(--thhs-el-serif); font-weight: 600; font-size: clamp(40px, 5vw, 64px); line-height: 1.04; color: var(--thhs-el-white); text-wrap: balance; }
.thhs-el-hero-lead { font-size: 18px; line-height: 1.65; color: var(--thhs-el-on-dark); max-width: 540px; }

/* Compte à rebours */
.thhs-el-countdown {
	flex: 1 1 380px; min-width: 0;
	background: var(--thhs-el-white); color: var(--thhs-el-ink);
	border: 1px solid var(--thhs-el-line); border-radius: 22px; padding: 30px;
	box-shadow: 0 18px 40px rgba(20, 40, 75, .16);
	display: flex; flex-direction: column; gap: 20px;
}
.thhs-el-countdown > div:first-child { display: flex; flex-direction: column; gap: 6px; }
.thhs-el-countdown .thhs-el-eyebrow--light { color: var(--thhs-el-primary); }
.thhs-el-countdown-title { font-family: var(--thhs-el-serif); font-size: 30px; font-weight: 600; line-height: 1.2; }
.thhs-el-timer { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.thhs-el-timer-unit { background: var(--thhs-el-soft); color: var(--thhs-el-ink); border-radius: 14px; padding: 16px 4px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.thhs-el-timer-value { font-family: var(--thhs-el-serif); font-size: clamp(32px, 4vw, 44px); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; color: var(--thhs-el-primary); }
.thhs-el-timer-label { font-size: 12px; font-weight: 500; color: var(--thhs-el-muted); }
.thhs-el-countdown-dates { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.thhs-el-countdown-dates > div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--thhs-el-line); }
.thhs-el-countdown-dates > div:last-child { padding-bottom: 0; border-bottom: 0; }
.thhs-el-countdown-dates dt { color: var(--thhs-el-muted); }
.thhs-el-countdown-dates dd { font-weight: 700; text-align: right; }
.thhs-el-countdown-note { font-size: 14px; line-height: 1.55; color: var(--thhs-el-muted); }

/* Transparence */
.thhs-el-split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 64px; padding-bottom: 64px; }
.thhs-el-split-head { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.thhs-el-split .thhs-el-cards3 { flex: 2 1 560px; }
.thhs-el-cards3 { display: flex; flex-wrap: wrap; gap: 16px; min-width: 0; }
.thhs-el-cards3 > * { flex: 1 1 220px; min-width: 0; }
.thhs-el-soft-card { background: var(--thhs-el-ground); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.thhs-el-soft-card svg { color: var(--thhs-el-blue); }
.thhs-el-soft-card h3, .thhs-el-card-line h3 { font-size: 18px; font-weight: 700; }
.thhs-el-soft-card p, .thhs-el-card-line p { font-size: 15px; line-height: 1.6; color: var(--thhs-el-muted); }

/* Étapes */
.thhs-el-steps { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.thhs-el-steps > li { flex: 1 1 240px; min-width: 0; }
.thhs-el-card-line { background: var(--thhs-el-white); border: 1px solid var(--thhs-el-line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.thhs-el-step-num { font-family: var(--thhs-el-serif); font-size: 48px; font-weight: 700; line-height: 1; color: var(--thhs-el-blue); }

/* Photos */
.thhs-el-gallery { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 240px; }
.thhs-el-photo { position: relative; overflow: hidden; border-radius: var(--thhs-el-radius); background: var(--thhs-el-sky); }
.thhs-el-photo img { width: 100%; height: 100%; object-fit: cover; }
.thhs-el-photo figcaption {
	position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; max-width: calc(100% - 24px);
	background: rgba(20, 40, 75, .88); color: var(--thhs-el-white);
	font-size: 13px; line-height: 1.4; padding: 6px 12px; border-radius: 999px;
}
.thhs-el-gallery--1 { grid-template-columns: 1fr; grid-auto-rows: 460px; }
.thhs-el-gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 400px; }
.thhs-el-gallery--3 .is-main { grid-column: span 2; grid-row: span 2; }
.thhs-el-gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.thhs-el-gallery--4 .is-main, .thhs-el-gallery--5 .is-main { grid-column: span 2; grid-row: span 2; }
.thhs-el-gallery--4 .is-main { grid-row: span 2; }
.thhs-el-gallery--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.thhs-el-gallery--4 .thhs-el-photo:last-child { grid-column: span 2; }

/* Contenants */
.thhs-el-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.thhs-el-product {
	flex: 1 1 300px; min-width: 0; max-width: 100%;
	background: var(--thhs-el-ground); border: 2px solid transparent; border-radius: var(--thhs-el-radius);
	padding: 20px; display: flex; flex-direction: column; gap: 14px; transition: border-color .15s;
}
.thhs-el-product.is-selected { border-color: var(--thhs-el-blue); }
.thhs-el-product-media { display: block; border-radius: 14px; overflow: hidden; background: var(--thhs-el-white); height: 260px; }
.thhs-el-product-media img { width: 100%; height: 100%; object-fit: contain; }
.thhs-el-product-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.thhs-el-product-head h3 { font-size: 20px; font-weight: 700; }
.thhs-el-product-head h3 a { color: inherit; text-decoration: none; }
.thhs-el-product-head h3 a:hover { text-decoration: underline; }
.thhs-el-price { font-size: 18px; font-weight: 700; white-space: nowrap; }
.thhs-el-price del { font-weight: 400; color: var(--thhs-el-muted); margin-right: 6px; }
.thhs-el-price ins { text-decoration: none; }
.thhs-el-product-desc { font-size: 15px; line-height: 1.6; color: var(--thhs-el-muted); }
.thhs-el-product-desc p + p { margin-top: 8px; }
.thhs-el-product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.thhs-el-stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--thhs-el-white); border: 1px solid #C9D3E2; border-radius: 999px; padding: 3px; }
.thhs-el-stepper button {
	width: 44px; height: 44px; border: 0; border-radius: 999px; padding: 0;
	background: transparent; color: var(--thhs-el-ink); font-size: 22px; line-height: 1; cursor: pointer;
}
.thhs-el-stepper button.is-plus { background: var(--thhs-el-primary); color: var(--thhs-el-white); }
.thhs-el-variations { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.thhs-el-variation { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; background: var(--thhs-el-white); border-radius: 14px; }
.thhs-el-variation-name { font-weight: 700; flex: 1 1 auto; min-width: 0; }
.thhs-el-variation-price { font-weight: 500; white-space: nowrap; }
.thhs-el-variation .thhs-el-stepper { border: 1px solid #C9D3E2; }
.thhs-el-stepper input {
	width: 44px; height: 44px; border: 0; padding: 0; background: transparent; box-shadow: none;
	text-align: center; font: inherit; font-weight: 700; font-size: 17px; color: var(--thhs-el-ink);
	-moz-appearance: textfield; appearance: textfield;
}
.thhs-el-stepper input::-webkit-outer-spin-button, .thhs-el-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.thhs-el-tour-note {
	display: flex; gap: 10px; align-items: center; margin: -12px 0 28px !important;
	background: var(--thhs-el-soft); border-radius: 12px; padding: 12px 16px; font-size: 15px; line-height: 1.45;
}
.thhs-el-tour-note svg { flex: none; color: var(--thhs-el-primary); }

/* Ajout au panier par carte */
.thhs-el-card-form { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.thhs-el-card-form--row { flex-direction: row; flex-wrap: wrap; align-items: center; }
.thhs-el-card-form--row .thhs-el-add { flex: 1 1 160px; }
.thhs-el-add { background: var(--thhs-el-primary); color: var(--thhs-el-white); }
.thhs-el-add:hover:not(:disabled) { background: var(--thhs-el-ink); color: var(--thhs-el-white); }
.thhs-el-card-feedback {
	flex-basis: 100%; display: flex; gap: 8px; align-items: flex-start;
	background: #E9F5EE; color: #1D5B37; border-radius: 10px; padding: 10px 12px; font-size: 14px; line-height: 1.45;
}
.thhs-el-card-feedback[hidden] { display: none; }
.thhs-el-card-feedback svg { flex: none; margin-top: 1px; }
.thhs-el-card-feedback a { color: inherit; font-weight: 700; text-decoration: underline; }
.thhs-el-card-feedback.is-error { background: #FFF4F2; color: #8A1C0C; }
.thhs-el-product.is-added { border-color: #8CC7A4; }
.thhs-el-unavailable { font-size: 14px; color: var(--thhs-el-muted); }

.thhs-el-bar {
	margin-top: 28px; background: var(--thhs-el-primary); color: var(--thhs-el-white); border-radius: var(--thhs-el-radius);
	padding: 20px 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
	position: sticky; bottom: 16px; z-index: 5;
}
.thhs-el-bar-text { font-size: 17px; line-height: 1.5; }
.thhs-el-error { flex-basis: 100%; background: #FFF4F2; color: #8A1C0C; border-radius: 10px; padding: 10px 14px; font-size: 15px; }

/* Calendrier */
.thhs-el-tour-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.thhs-el-tour-head h3 { font-family: var(--thhs-el-serif); font-size: 28px; font-weight: 600; }
.thhs-el-pill { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--thhs-el-sky); color: var(--thhs-el-ink); border-radius: 999px; padding: 6px 12px; }
.thhs-el-tour dl { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.thhs-el-tour dl > div { display: flex; justify-content: space-between; gap: 12px; }
.thhs-el-tour dt { color: var(--thhs-el-muted); }
.thhs-el-tour dd { font-weight: 700; }

/* FAQ */
.thhs-el-faq { border-top: 1px solid var(--thhs-el-line); }
.thhs-el-faq details { border-bottom: 1px solid var(--thhs-el-line); padding: 20px 0; }
.thhs-el-faq summary { cursor: pointer; list-style: none; font-size: 18px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.thhs-el-faq summary::-webkit-details-marker { display: none; }
.thhs-el-faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--thhs-el-blue); }
.thhs-el-faq details[open] summary::after { content: "−"; }
.thhs-el-faq-answer { margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--thhs-el-muted); }
.thhs-el-faq-answer p + p { margin-top: 10px; }
.thhs-el-faq-answer a { color: var(--thhs-el-blue); }

/* Mentions */
.thhs-el-mentions { background: var(--thhs-el-soft); color: var(--thhs-el-muted); font-size: 14px; line-height: 1.6; border-top: 1px solid var(--thhs-el-line); }
.thhs-el-mentions .thhs-el-inner { padding-top: 32px; padding-bottom: 32px; }

/* Encart de barre latérale */
.thhs-el--inline { background: transparent; }
.thhs-el-encart {
	border-radius: var(--thhs-el-radius); overflow: hidden;
	background: var(--thhs-el-soft); border: 1px solid var(--thhs-el-line); color: var(--thhs-el-ink);
	max-width: 420px;
}
.thhs-el-encart-media { display: block; height: 170px; background: var(--thhs-el-sky); }
.thhs-el-encart-media img { width: 100%; height: 100%; object-fit: cover; }
.thhs-el-encart-body { padding: 20px 18px; display: flex; flex-direction: column; gap: 10px; }
.thhs-el-encart .thhs-el-eyebrow { font-size: 12px; }
.thhs-el-encart-title { font-family: var(--thhs-el-serif); font-size: 26px; font-weight: 600; line-height: 1.15; }
.thhs-el-encart-text { font-size: 15px; line-height: 1.55; color: var(--thhs-el-muted); }
.thhs-el-encart-deadline {
	display: flex; gap: 10px; align-items: flex-start;
	background: var(--thhs-el-white); border-radius: 12px; padding: 10px 12px;
	font-size: 14px; line-height: 1.45;
}
.thhs-el-encart-deadline svg { flex: none; color: var(--thhs-el-primary); margin-top: 1px; }
.thhs-el-encart-deadline span span { color: var(--thhs-el-muted); }
.thhs-el-encart-btn { margin-top: 4px; width: 100%; padding: 10px 14px; font-size: 15px; line-height: 1.25; text-align: center; background: var(--thhs-el-primary); color: var(--thhs-el-white); }
.thhs-el-encart-btn:hover { background: var(--thhs-el-ink); color: var(--thhs-el-white); }

.thhs-el-encart--bleu { background: var(--thhs-el-primary); border-color: transparent; color: var(--thhs-el-white); }
.thhs-el-encart--bleu .thhs-el-eyebrow { color: var(--thhs-el-on-dark-2); }
.thhs-el-encart--bleu .thhs-el-encart-text { color: var(--thhs-el-on-dark); }
.thhs-el-encart--bleu .thhs-el-encart-deadline { color: var(--thhs-el-ink); }
.thhs-el-encart--bleu .thhs-el-encart-btn { background: var(--thhs-el-white); color: var(--thhs-el-ink); }
.thhs-el-encart--bleu .thhs-el-encart-btn:hover { background: var(--thhs-el-sky); color: var(--thhs-el-ink); }

/* Fiche produit : prochaine expédition (hors conteneur .thhs-el) */
.thhs-el-product-notice {
	display: flex; gap: 14px; align-items: flex-start;
	margin: 16px 0; padding: 16px 18px; border-radius: 14px;
	background: #EEF3FA; border: 1px solid #C9D6EA; color: #14284B; line-height: 1.5;
}
.thhs-el-product-notice svg { flex: none; color: #2F5DA8; margin-top: 1px; }
.thhs-el-product-notice p { margin: 0; }
.thhs-el-pn-title { font-weight: 700; font-size: 16px; }
.thhs-el-pn-text { margin-top: 4px !important; font-size: 14px; color: #4A5874; }
.thhs-el-pn-link { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 600; color: #2F5DA8; text-decoration: underline; text-underline-offset: 3px; }
.thhs-el-pn-link:hover { color: #14284B; }

.thhs-el-admin-hint { background: #FFF8E5; border: 1px dashed #B88A1E; color: #5C4410; padding: 12px 16px; border-radius: 10px; font-size: 14px; max-width: 1200px; margin: 16px auto; }

/* Mobile */
@media (max-width: 760px) {
	.thhs-el-inner { padding: 56px 16px; }
	.thhs-el-hero-inner { padding-top: 48px; padding-bottom: 56px; gap: 36px; }
	.thhs-el-countdown { padding: 22px; }
	.thhs-el-gallery, .thhs-el-gallery--1, .thhs-el-gallery--2, .thhs-el-gallery--3, .thhs-el-gallery--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
	.thhs-el-gallery .is-main { grid-column: span 2; grid-row: span 1; }
	.thhs-el-gallery--4 .thhs-el-photo:last-child { grid-column: span 1; }
	.thhs-el-gallery--1 .is-main, .thhs-el-gallery--2 .is-main { grid-row: span 1; }
	.thhs-el-bar { padding: 16px 18px; bottom: 8px; }
	.thhs-el-bar .thhs-el-btn { width: 100%; }
}

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