/*
 * CRYOFAST PLUNGE — Page « Nous contacter »
 *
 * Reproduction pixel-perfect du mockup docs/cryofast_contact.html :
 * hero foncé, grille 1.3fr/1fr (formulaire + coordonnées), cartes contact
 * direct, table d'horaires, FAQ accordéon. Hérite des tokens CSS du thème
 * (--navy, --cream, --bsand, --taupe, --warm-gray, --charcoal…) déjà
 * définis dans assets/css/base.css.
 *
 * Snazzy Digital Agency.
 */

/* ── HERO ──────────────────────────────────────────────────── */
.cf-contact-page .page-hero {
	min-height: 46vh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	position: relative;
	overflow: hidden;
	padding-top: 62px;
	background: var(--near-black);
}
.cf-contact-page .page-hero .ph-bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
}
.cf-contact-page .page-hero .ph-bg img,
.cf-contact-page .page-hero .ph-bg video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%;
	opacity: .45;
	display: block;
}
.cf-contact-page .page-hero .ph-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(26,24,21,.92) 0%, rgba(26,24,21,.25) 60%, transparent 100%);
}
.cf-contact-page .page-hero .ph-content {
	position: relative;
	z-index: 2;
	padding: 0 72px 40px;
	max-width: 640px;
}
.cf-contact-page .page-hero .ph-tag {
	font-size: 10px;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: rgba(255,255,255,.45);
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.cf-contact-page .page-hero .ph-tag::before {
	content: '';
	width: 14px;
	height: 1px;
	background: rgba(255,255,255,.35);
}
.cf-contact-page .page-hero .ph-title {
	font-family: 'Cormorant Garamond', serif;
	font-size: clamp(38px, 4.5vw, 64px);
	font-weight: 300;
	color: #fff;
	line-height: 1;
	letter-spacing: -.5px;
	margin-bottom: 12px;
}
.cf-contact-page .page-hero .ph-title em {
	font-style: italic;
}
.cf-contact-page .page-hero .ph-sub {
	font-size: 14px;
	color: rgba(255,255,255,.55);
	line-height: 1.7;
	font-weight: 300;
	max-width: 480px;
}

/* ── SECTION + GRID ────────────────────────────────────────── */
.cf-contact-section {
	padding: 56px 52px;
}
.cf-contact-page .contact-grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 52px;
	align-items: start;
}

/* ── FORMULAIRE ────────────────────────────────────────────── */
.cf-contact-page .form-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 10px;
}
.cf-contact-page .form-field label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .8px;
	text-transform: uppercase;
	color: var(--taupe);
}
.cf-contact-page .form-field input,
.cf-contact-page .form-field select,
.cf-contact-page .form-field textarea {
	background: #fff;
	border: 1px solid var(--bsand);
	border-radius: 4px;
	padding: 10px 12px;
	color: var(--charcoal);
	font-size: 13px;
	font-family: 'Outfit', sans-serif;
	outline: none;
	transition: border-color .15s;
	width: 100%;
}
.cf-contact-page .form-field input:focus,
.cf-contact-page .form-field select:focus,
.cf-contact-page .form-field textarea:focus {
	border-color: var(--navy);
}
.cf-contact-page .form-field textarea {
	resize: vertical;
	min-height: 110px;
}
.cf-contact-page .form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}
.cf-contact-page .form-submit {
	width: 100%;
	background: var(--navy);
	color: #fff;
	padding: 13px;
	border-radius: 5px;
	font-size: 13px;
	font-weight: 700;
	border: none;
	cursor: pointer;
	font-family: 'Outfit', sans-serif;
	margin-top: 4px;
	transition: background .15s, opacity .15s;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.cf-contact-page .form-submit:hover {
	background: var(--navy-d, #152E55);
}
.cf-contact-page .form-submit[disabled] {
	opacity: .65;
	cursor: progress;
}
.cf-contact-page .form-submit .cf-submit-spinner {
	display: none;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 2px solid rgba(255,255,255,.35);
	border-top-color: #fff;
	animation: cf-contact-spin .7s linear infinite;
}
.cf-contact-page .form-submit.is-loading .cf-submit-spinner {
	display: inline-block;
}
@keyframes cf-contact-spin {
	to { transform: rotate(360deg); }
}

/* Honeypot anti-spam : invisible mais accessible aux bots. */
.cf-contact-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/* Mention RGPD */
.cf-contact-rgpd {
	font-size: 11px;
	color: var(--taupe);
	margin-top: 10px;
	line-height: 1.6;
}

/* Flash messages */
.cf-contact-flash {
	margin-top: 12px;
	padding: 12px 14px;
	border-radius: 6px;
	font-size: 13px;
	line-height: 1.55;
	border: 1px solid transparent;
}
.cf-contact-flash.is-ok {
	background: rgba(27,63,114,.06);
	border-color: rgba(27,63,114,.25);
	color: var(--navy);
}
.cf-contact-flash.is-err {
	background: rgba(176,42,42,.06);
	border-color: rgba(176,42,42,.30);
	color: #8C1F1F;
}

/* ── COORDONNÉES DIRECTES (cartes) ─────────────────────────── */
.cf-contact-page .contact-cards {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.cf-contact-page .cc-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 16px;
	background: #fff;
	border-radius: 7px;
	border: 1px solid var(--bsand);
	transition: border-color .15s, box-shadow .15s;
}
.cf-contact-page .cc-item:hover {
	border-color: var(--taupe);
	box-shadow: 0 4px 16px rgba(44,42,39,.06);
}
.cf-contact-page .cc-ico {
	font-size: 20px;
	flex-shrink: 0;
	margin-top: 1px;
	line-height: 1;
}
.cf-contact-page .cc-title {
	font-size: 13px;
	font-weight: 600;
	color: var(--charcoal);
	margin-bottom: 3px;
}
.cf-contact-page .cc-link {
	font-size: 14px;
	font-weight: 600;
	color: var(--navy);
	text-decoration: none;
}
.cf-contact-page .cc-link:hover {
	text-decoration: underline;
}
.cf-contact-page .cc-text {
	font-size: 11px;
	color: var(--warm-gray);
	line-height: 1.6;
	margin-top: 2px;
}

/* ── HORAIRES ──────────────────────────────────────────────── */
.cf-contact-page .cf-hours-wrap .lbl {
	margin-bottom: 10px;
}
.cf-contact-page .hours-table {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 6px 16px;
	font-size: 12px;
}
.cf-contact-page .hours-day {
	color: var(--charcoal);
	font-weight: 500;
}
.cf-contact-page .hours-time {
	color: var(--warm-gray);
	text-align: right;
}

/* ── FAQ ACCORDÉON ─────────────────────────────────────────── */
.cf-contact-faq {
	padding: 56px 52px;
}
.cf-contact-page .qa-wrap {
	max-width: 680px;
	margin-top: 14px;
}
.cf-contact-page .qa {
	border-bottom: 1px solid var(--bsand);
}
.cf-contact-page .qa-q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0;
	cursor: pointer;
	gap: 12px;
	user-select: none;
}
.cf-contact-page .qa-qt {
	font-size: 12px;
	font-weight: 500;
	color: var(--charcoal);
	line-height: 1.4;
}
.cf-contact-page .qa-ico {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 1px solid var(--bsand);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 11px;
	transition: transform .2s, background .2s, border-color .2s, color .2s;
	background: transparent;
	color: var(--charcoal);
}
.cf-contact-page .qa.op .qa-ico {
	transform: rotate(45deg);
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
}
.cf-contact-page .qa-a {
	font-size: 11px;
	color: var(--warm-gray);
	line-height: 1.7;
	font-weight: 300;
	padding-bottom: 14px;
	display: none;
}
.cf-contact-page .qa.op .qa-a {
	display: block;
}
.cf-contact-page .qa-a a {
	color: var(--navy);
	font-weight: 600;
	text-decoration: none;
}
.cf-contact-page .qa-a a:hover {
	text-decoration: underline;
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 900px) {
	.cf-contact-page .page-hero .ph-content {
		padding-left: 20px;
		padding-right: 20px;
	}
	.cf-contact-page .page-hero .ph-title {
		font-size: 32px;
	}
	.cf-contact-page .contact-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}
	.cf-contact-page .form-row {
		grid-template-columns: 1fr;
	}
	.cf-contact-section,
	.cf-contact-faq {
		padding: 36px 20px;
	}
}
