/* Page Contact TOITEL – refonte 2026 (chargée uniquement par contact-page.php) */

.tc {
	--tc-accent: #ecae80;
	--tc-accent-dark: #d98f5b;
	--tc-ink: #1d1d1d;
	--tc-text: #555;
	--tc-muted: #6f6257;
	--tc-line: #ece4da;
	--tc-cream: #faf6f1;
	--tc-dark: #2a2521;
	position: relative;
	background: #fff;
	color: var(--tc-text);
}
.tc *, .tc *::before, .tc *::after { box-sizing: border-box; }
.tc p, .tc ul, .tc h1, .tc h2, .tc h3, .tc h4 { max-width: none; }
.tc-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- En-tête ---------- */
.tc-hero {
	background: linear-gradient(180deg, var(--tc-cream) 0%, #fff 100%);
	padding: 56px 0 36px;
	text-align: center;
}
.tc-eyebrow {
	margin: 0 0 14px;
	font-family: Raleway, sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--tc-accent-dark);
}
.tc-hero h1 {
	margin: 0 auto 18px;
	max-width: 820px;
	font-size: clamp(28px, 4vw, 44px);
	line-height: 1.15;
	color: var(--tc-ink);
}
.tc-lead {
	margin: 0 auto;
	max-width: 760px;
	font-size: clamp(17px, 1.6vw, 20px);
	line-height: 1.6;
	color: var(--tc-text);
}
.tc-atouts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	max-width: 980px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}
.tc-atouts li {
	display: grid;
	grid-template-columns: 40px 1fr;
	column-gap: 14px;
	align-items: center;
	padding: 20px;
	border: 1px solid var(--tc-line);
	border-radius: 14px;
	background: #fff;
	text-align: left;
	box-shadow: 0 6px 20px rgba(42, 37, 33, .05);
}
.tc-check {
	grid-row: span 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--tc-accent);
	color: #fff;
	font-size: 16px;
}
.tc-atouts strong {
	font-family: Raleway, sans-serif;
	font-size: 14px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--tc-ink);
}
.tc-atouts li > span:last-child {
	font-style: italic;
	color: var(--tc-muted);
}

/* Boutons Appeler / E-mail : mobile uniquement */
.tc-quick { display: none; }
.tc-btn .fa { margin-right: 6px; }


/* ---------- Formulaire + coordonnées ---------- */
.tc-main { padding: 8px 0 80px; }

/* ---------- Réassurance : prix, savoir-faire, exclusivités ---------- */
.tc-why { padding: 72px 0; background: var(--tc-cream); }
.tc-why .tc-atouts li { box-shadow: none; }
.tc-main-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.tc-main-head h2 {
	margin: 0 0 14px;
	font-size: clamp(24px, 3vw, 32px);
	line-height: 1.25;
	color: var(--tc-ink);
}
.tc-main-head p { margin: 0 0 10px; font-size: 18px; line-height: 1.6; }

.tc-content .wp-block-columns {
	display: grid;
	grid-template-columns: minmax(280px, 1fr) 2fr;
	gap: 32px;
	align-items: start;
	margin: 0;
}
.tc-content .wp-block-column { flex-basis: auto !important; margin: 0 !important; min-width: 0; align-self: start !important; }

/* Carte coordonnées (1re colonne du contenu de la page) */
.tc-content .wp-block-column:first-child {
	position: sticky;
	top: 110px;
	padding: 32px 28px;
	border-radius: 18px;
	background: var(--tc-dark);
	color: #f3ece5;
}
.tc .tc-content .tc-coords-title {
	margin: 0 0 8px;
	font-family: Raleway, sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--tc-accent);
}
.tc-content .contact-left-list { margin: 0; padding: 0; list-style: none; font-family: Raleway, sans-serif; }
.tc-content .contact-left-list > li { list-style: none !important; }
.tc-content .wp-block-column:first-child li:not(:has(ul)) {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
	font-size: 15px;
	line-height: 1.45;
}
.tc-content .wp-block-column:first-child > ul:last-of-type > li:last-child { border-bottom: 0; }
.tc-content .wp-block-column:first-child .fa {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(236, 174, 128, .16);
	color: var(--tc-accent);
	font-size: 17px;
}
.tc-content .wp-block-column:first-child strong { color: #fff; font-weight: 600; }
.tc-content .wp-block-column:first-child a { color: #fff; text-decoration: none; }
.tc-content .wp-block-column:first-child a:hover strong,
.tc-content .wp-block-column:first-child a:focus strong { color: var(--tc-accent); }
.tc-content .wp-block-column:first-child hr,
.tc-content .wp-block-column:first-child > p:empty,
.tc-content .wp-block-column:first-child > p:not(.tc-coords-title):not(:has(*:not(br))) { display: none; }
.tc-content .Apple-style-span { font: inherit; }

/* Carte formulaire (2e colonne) */
.tc-content .wp-block-column:last-child {
	padding: 40px;
	border: 1px solid var(--tc-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 18px 50px rgba(42, 37, 33, .08);
}
.tc .tc-content .tc-form-title { margin: 0 0 4px; font-size: 24px; line-height: 1.3; color: var(--tc-ink); }
.tc-form-note { margin: 0 0 26px; font-family: Raleway, sans-serif; font-size: 13px; color: var(--tc-muted); }

.tc .wpcf7 p { margin: 0 0 18px; max-width: none; font-family: Raleway, sans-serif; }
.tc .wpcf7 .two_columns_50_50 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.tc .wpcf7 .two_columns_50_50::before, .tc .wpcf7 .two_columns_50_50::after { display: none; }
.tc .wpcf7 .two_columns_50_50 > .column1,
.tc .wpcf7 .two_columns_50_50 > .column2 { width: auto; float: none; }
.tc .wpcf7 .two_columns_50_50 .column_inner { padding: 0 !important; }
.tc .wpcf7 label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #4a4038;
}
.tc .wpcf7 label br { display: none; }
.tc .wpcf7-form-control-wrap { display: block; margin-top: 8px; }
.tc .wpcf7 input.wpcf7-form-control:not(.wpcf7-submit),
.tc .wpcf7 select.wpcf7-form-control,
.tc .wpcf7 textarea.wpcf7-form-control {
	width: 100%;
	margin: 0;
	padding: 13px 15px;
	border: 1px solid #e3dad0;
	border-radius: 10px;
	background: #fbf9f7;
	font-family: Raleway, sans-serif;
	font-size: 16px;
	letter-spacing: normal;
	text-transform: none;
	color: var(--tc-ink);
	transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.tc .wpcf7 select.wpcf7-form-control { height: 50px; }
.tc .wpcf7 textarea.wpcf7-form-control { height: 150px; resize: vertical; }
.tc .wpcf7 .wpcf7-form-control:not(.wpcf7-submit):focus {
	outline: none;
	border-color: var(--tc-accent);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(236, 174, 128, .28);
}
.tc .wpcf7 .wpcf7-not-valid { border-color: #d9534f !important; }
.tc .wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; text-transform: none; letter-spacing: normal; }
.tc span.submit_button_contact { display: block; margin-top: 8px; }
.tc span.submit_button_contact br { display: none; }
.tc .wpcf7 input.wpcf7-submit {
	box-sizing: border-box !important;
	height: auto;
	margin: 0;
	padding: 16px 40px;
	border: 0;
	border-radius: 999px;
	background: var(--tc-accent);
	font-family: Raleway, sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .14em;
	line-height: 1.2;
	color: var(--tc-dark) !important;
	cursor: pointer;
	transition: background-color .15s, transform .15s;
}
.tc .wpcf7 input.wpcf7-submit:hover,
.tc .wpcf7 input.wpcf7-submit:focus { background: var(--tc-dark) !important; border-color: var(--tc-dark) !important; color: #fff !important; }
/* Le thème rend le bouton transparent au survol : sans !important, texte blanc sur fond blanc */
.tc .wpcf7 input.wpcf7-submit:active { transform: translateY(1px); }
.tc .wpcf7 .wpcf7-response-output { margin: 18px 0 0 !important; padding: 12px 16px !important; border-radius: 10px; font-family: Raleway, sans-serif; }

/* ---------- Carte ---------- */
.tc-map { position: relative; background: var(--tc-cream); }
.toitel_map_holder { position: relative; }
.toitel_map { position: relative; z-index: 0; width: 100%; height: 460px; background: #e5e3df; }
.toitel_map_hint {
	position: absolute;
	left: 50%;
	bottom: 12px;
	z-index: 1;
	display: none;
	margin: 0;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(0, 0, 0, .65);
	color: #fff;
	font-family: Raleway, sans-serif;
	font-size: 13px;
	line-height: 1.4;
	transform: translateX(-50%);
	pointer-events: none;
}
.tc-map-card {
	position: absolute;
	top: 50%;
	left: max(24px, calc((100% - 1180px) / 2 + 24px));
	z-index: 2;
	width: 320px;
	padding: 28px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 18px 50px rgba(42, 37, 33, .18);
	transform: translateY(-50%);
	font-family: Raleway, sans-serif;
}
.tc-map-card h2 { margin: 0 0 10px; font-size: 20px; color: var(--tc-ink); }
.tc-map-card address { margin: 0 0 20px; font-style: normal; font-size: 15px; line-height: 1.6; color: var(--tc-text); }
.tc-btn {
	display: inline-block;
	padding: 13px 26px;
	border-radius: 999px;
	background: var(--tc-accent);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--tc-dark) !important;
	text-decoration: none;
	transition: background-color .15s;
}
.tc-btn:hover, .tc-btn:focus { background: var(--tc-dark); color: #fff !important; }

/* ---------- Tablette ---------- */
@media (max-width: 1000px) {
	.tc-content .wp-block-columns { grid-template-columns: 1fr; }
	.tc-content .wp-block-column:first-child { position: static; }
	.tc-content .wp-block-column:last-child { order: -1; }
	.tc-quick { display: flex; justify-content: center; gap: 12px; margin: 22px 0 0; }
	.tc-atouts { grid-template-columns: 1fr; max-width: 520px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
	.tc-wrap { padding: 0 16px; }
	.tc-hero { padding: 32px 0 24px; }
	.tc-quick .tc-btn { flex: 1; max-width: 180px; text-align: center; }
	.tc-atouts li { padding: 16px; }
	.tc-main { padding: 8px 0 48px; }
	.tc-why { padding: 48px 0; }
	.tc-main-head { margin-bottom: 28px; }
	.tc-main-head p { font-size: 17px; }
	.tc-content .wp-block-columns { gap: 20px; }
	.tc-content .wp-block-column:first-child { padding: 24px 20px; }
	.tc-content .wp-block-column:last-child { padding: 26px 18px; border-radius: 16px; }
	.tc .wpcf7 .two_columns_50_50 { grid-template-columns: 1fr; }
	.tc .wpcf7 input.wpcf7-submit { width: 100%; }
	.toitel_map { height: 320px; }
	.tc-map-card {
		position: static;
		width: auto;
		margin: 0;
		border-radius: 0;
		box-shadow: none;
		transform: none;
		text-align: center;
	}
}

/* Bouton secondaire (à contour) : déclaré après .tc-btn pour l'emporter */
.tc .tc-btn.tc-btn-ghost {
	padding: 11px 24px;
	border: 2px solid var(--tc-dark);
	background: transparent;
}
.tc .tc-btn.tc-btn-ghost:hover,
.tc .tc-btn.tc-btn-ghost:focus { background: var(--tc-dark); }
/* Pages d'images (pièces jointes) – Toitel 2026. S'appuie sur les variables et boutons de toitel-contact.css. */

.ta-head {
	background: linear-gradient(180deg, var(--tc-cream) 0%, #fff 100%);
	padding: 40px 0 28px;
	text-align: center;
}
.ta-crumbs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 10px;
	margin: 0 0 18px;
	font-family: Raleway, sans-serif;
	font-size: 13px;
	color: var(--tc-muted);
}
.ta-crumbs a { color: var(--tc-muted); text-decoration: none; }
.ta-crumbs a:hover, .ta-crumbs a:focus { color: var(--tc-accent-dark); text-decoration: underline; }
.tc .ta-head h1 {
	margin: 0 auto 8px;
	max-width: 900px;
	font-size: clamp(24px, 3.2vw, 36px);
	line-height: 1.2;
	letter-spacing: .02em;
	text-transform: none;
	color: var(--tc-ink);
}
/* Sur ordinateur, l'en-tête du thème est fixe (100 px) et recouvre le haut de la page */
@media (min-width: 1001px) { .ta-head { padding-top: 136px; } }
.ta-count { margin: 0; font-family: Raleway, sans-serif; font-size: 14px; color: var(--tc-muted); }

.ta-main { padding: 8px 0 72px; }
.ta-figure { position: relative; margin: 0; }
.ta-zoom { display: block; cursor: zoom-in; }
.ta-figure .ta-img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 78vh;
	object-fit: contain;
	border-radius: 18px;
	background: #f2ede7;
	box-shadow: 0 18px 50px rgba(42, 37, 33, .14);
}
.ta-arrow {
	position: absolute;
	top: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-top: -26px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
	font-size: 34px;
	line-height: 1;
	color: var(--tc-dark);
	text-decoration: none;
	transition: background-color .15s, transform .15s;
}
.ta-arrow:hover, .ta-arrow:focus { background: var(--tc-accent); color: var(--tc-dark); transform: scale(1.06); }
.ta-prev { left: 16px; }
.ta-next { right: 16px; }
.ta-figure figcaption {
	max-width: 760px;
	margin: 18px auto 0;
	font-size: 17px;
	line-height: 1.6;
	text-align: center;
	color: var(--tc-text);
}

.ta-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 30px 0 0;
}

.ta-strip { margin-top: 48px; }
.tc .ta-strip h2 {
	margin: 0 0 16px;
	font-size: 15px;
	letter-spacing: .14em;
	text-align: center;
	color: var(--tc-ink);
}
.ta-strip ul {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ta-strip li { margin: 0; }
.ta-strip a {
	display: block;
	overflow: hidden;
	border-radius: 12px;
	outline-offset: 2px;
}
.ta-strip img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	opacity: .85;
	transition: opacity .15s, transform .2s;
}
.ta-strip a:hover img, .ta-strip a:focus img { opacity: 1; transform: scale(1.04); }
.ta-strip .is-current a { box-shadow: 0 0 0 3px var(--tc-accent); }
.ta-strip .is-current img { opacity: 1; }

@media (max-width: 768px) {
	.ta-head { padding: 26px 0 18px; }
	.ta-figure .ta-img { border-radius: 12px; max-height: none; }
	.ta-arrow { width: 42px; height: 42px; margin-top: -21px; font-size: 28px; }
	.ta-prev { left: 8px; }
	.ta-next { right: 8px; }
	.ta-actions .tc-btn { width: 100%; text-align: center; }
	.ta-strip ul { grid-template-columns: repeat(4, 1fr); gap: 6px; }
}