/* Espace Épidaure — éléments affichés dans les pages du site
   Charte reprise de la page Conciergerie (bordeaux / or / crème). */

.ve-page, .ve-items, .ve-items__empty {
	--bordeaux: #6b2d4a;
	--bordeaux-fonce: #57233c;
	--or: #b8975a;
	--or-texte: #8f6f35;
	--creme: #faf6f1;
	--texte: #3a2f35;
	--texte-2: #6e6168;
	--ligne: #e6d9ca;
	--rouge: #a2463b;
	--ve-ink: var(--texte);
	--ve-ink-2: var(--texte-2);
	--ve-line: var(--ligne);
	font-family: 'Montserrat', sans-serif;
	color: var(--texte);
}
.ve-page *, .ve-page *::before, .ve-page *::after { box-sizing: border-box; }
:where(.ve-page) h1, :where(.ve-page) p { margin: 0; padding: 0; }

/* ---------- Page de connexion ---------- */
.ve-page { display: block; width: 100%; font-size: 16px; line-height: 1.5; }
.ve-band { width: 100vw; position: relative; left: 50%; margin-left: -50vw; }

.ve-entete { background: var(--bordeaux); padding: 26px 20px 22px; text-align: center; }
.ve-entete-etiquette { display: block; font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: #e8c98a; }
.ve-entete-titre { margin: 6px 0 0 !important; font-family: 'Cormorant Garamond', serif !important; font-size: 28px !important; font-weight: 700 !important; line-height: 1.2 !important; color: #fff !important; }

.ve-corps { background: var(--creme); padding: 32px 16px 48px; min-height: calc(100vh - 100px); }
.ve-login { max-width: 440px; margin: 0 auto; }
.ve-login:has(.ve-split) { max-width: 900px; }
.ve-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.ve-split .ve-carte { display: flex; flex-direction: column; }
.ve-split .ve-carte-corps { flex: 1; display: flex; flex-direction: column; }
.ve-split .ve-carte-corps form { flex: 1; }
.ve-carte--responsable { border-left-color: var(--bordeaux); }
.ve-carte--responsable .ve-carte-titre { background: var(--bordeaux); color: #fff; border-bottom-color: var(--bordeaux); }
.ve-carte--responsable .ve-carte-titre .ve-icone svg { stroke: #e8c98a; }

.ve-carte { background: #fff; border: 1px solid var(--ligne); border-left: 3px solid var(--or); }
.ve-carte-titre {
	display: flex; align-items: center; gap: 9px; padding: 13px 18px;
	font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 700; color: var(--bordeaux);
	border-bottom: 1px solid var(--ligne);
}
.ve-icone { flex: none; width: 20px; height: 20px; }
.ve-icone svg { width: 100%; height: 100%; fill: none; stroke: var(--bordeaux); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ve-carte-corps { padding: 20px 18px 18px; }

.ve-login form { margin: 0; }
.ve-champ { margin: 0 0 16px !important; }
.ve-login label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .4px; color: var(--texte); margin-bottom: 6px; }
.ve-login input[type="text"], .ve-login input[type="email"], .ve-login input[type="password"] {
	width: 100%; padding: 11px 13px; border: 1px solid var(--ligne); border-radius: 0; background: #fff;
	font-family: 'Montserrat', sans-serif; font-size: 14px; color: var(--texte); box-shadow: none; transition: border-color .2s ease;
}
.ve-login input[type="text"]:focus, .ve-login input[type="email"]:focus, .ve-login input[type="password"]:focus { outline: none; border-color: var(--bordeaux); box-shadow: 0 0 0 2px rgba(107, 45, 74, .12); }
.ve-check { margin: -4px 0 16px !important; }
.ve-check label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--texte-2); margin: 0; cursor: pointer; }
.ve-check input { width: 15px; height: 15px; margin: 0; accent-color: var(--bordeaux); }
.ve-action { margin: 4px 0 0 !important; }

.ve-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--bordeaux); color: #fff !important; border: 1px solid var(--bordeaux); border-radius: 0;
	padding: 12px 22px; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase;
	cursor: pointer; text-decoration: none !important; transition: background .2s ease, border-color .2s ease;
}
.ve-btn:hover, .ve-btn:focus-visible { background: var(--bordeaux-fonce); border-color: var(--bordeaux-fonce); }
.ve-action .ve-btn { width: 100%; }
.ve-btn--ghost { background: transparent; color: var(--bordeaux) !important; }
.ve-btn--ghost:hover { background: var(--bordeaux); color: #fff !important; }
.ve-btn--small { padding: 9px 16px; font-size: 12px; align-self: flex-start; margin-top: auto; }

.ve-login__error, .ve-login__notice { padding: 10px 13px; font-size: 13px; margin: 0 0 16px !important; border-left: 3px solid; }
.ve-login__error { background: #f8ecea; color: var(--rouge); border-color: var(--rouge); }
.ve-login__notice { background: #f4efe6; color: var(--or-texte); border-color: var(--or); }
.ve-login__hint { font-size: 13px; color: var(--texte-2); margin: -6px 0 16px !important; }
.ve-carte-corps > .ve-login__hint:first-child { margin-top: 0 !important; }
.ve-login__lost { text-align: center; font-size: 13px; margin: 16px 0 0 !important; padding-top: 14px; border-top: 1px solid var(--ligne); }
.ve-login__lost a { color: var(--or-texte) !important; font-weight: 600; text-decoration: none !important; }
.ve-login__lost a:hover { color: var(--bordeaux) !important; text-decoration: underline !important; }
.ve-login__note { font-size: 12.5px; color: var(--texte-2); text-align: center; margin: 18px 0 0 !important; line-height: 1.6; }
.ve-login__links { display: flex; flex-direction: column; gap: 10px; }
.ve-login__links .ve-btn { width: 100%; }

@media (max-width: 760px) {
	.ve-split { grid-template-columns: 1fr; }
	.ve-carte--famille { order: -1; }
}
@media (max-width: 560px) {
	.ve-entete { padding: 20px 16px 18px; }
	.ve-entete-titre { font-size: 23px !important; }
	.ve-corps { padding: 18px 10px 32px; }
	.ve-carte-titre { padding: 11px 14px; font-size: 17px; }
	.ve-carte-corps { padding: 16px 14px 14px; }
}

/* ---------- Évènements / séjours ---------- */
.ve-items { display: grid; gap: 22px; }
.ve-items--grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ve-items--rail { grid-auto-flow: column; grid-auto-columns: minmax(270px, 320px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.ve-items--rail .ve-card { scroll-snap-align: start; }
.ve-card { background: #fff; border: 1px solid var(--ve-line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.ve-card__media { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #e8e2d6, #d9e3dc); position: relative; }
.ve-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ve-card__date { position: absolute; left: 12px; top: 12px; background: rgba(255, 255, 255, .95); border-radius: 6px; padding: 4px 10px; text-align: center; line-height: 1.1; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ve-ink-2); }
.ve-card__date b { display: block; font-size: 22px; color: var(--ve-ink); }
.ve-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ve-card__title { font-size: 20px; line-height: 1.25; margin: 0; }
.ve-card__meta { color: var(--ve-ink-2); font-size: 14px; margin: 0; }
.ve-card__text { color: var(--ve-ink-2); font-size: 14px; margin: 4px 0 10px; }
.ve-items__empty { color: var(--ve-ink-2); font-style: italic; }
