/*
Theme Name: tfmulti-theme
Author: COVU.fr
Description: Theme enfant d&#039;astra pour tfmulti-services
Version: 1.0
Template: astra

This is the child theme for Astra theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

/* ---------- Hero section: landing first fold ---------- */
.home #masthead,
.home .ast-mobile-header-wrap,
.home #colophon {
	display: none !important;
}

.home .site-content > .ast-container {
	max-width: 100%;
	padding: 0;
}

.home .site,
.home .site-content,
.home #primary,
.home .entry-content,
.home .ast-article-single {
	margin: 0 !important;
	padding: 0 !important;
}

.tf-home,
.tf-home .tf-hero {
	margin: 0;
}

.tf-home #realisations:empty {
	display: none;
}

.tf-home #realisations:not(:empty) {
	margin: 0;
	padding: 0;
}

.tf-hero {
	position: relative;
	min-height: 95vh;
	overflow: hidden;
	background: #102d2b;
	color: #fff;
	isolation: isolate;
	font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tf-hero__bg {
  position: absolute;
  inset: 0;
  transform: scale(1.01);
  z-index: -3;
  background: #102d2b; /* fallback pendant le chargement */
}

/* Le canvas prend tout l'espace */
.tf-hero__bg canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Le gradient par-dessus via pseudo-élément */
.tf-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.28), rgba(0,0,0,0.28));
  z-index: 1;
}.tf-hero__overlay-left {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: min(63%, 975px);
	background: linear-gradient(130deg, rgba(8, 28, 27, 0.95), rgba(11, 48, 44, 0.9));
	clip-path: polygon(0 0, 74% 0, 53% 100%, 0% 100%);
	z-index: -2;
}

.tf-hero__overlay-accent {
	position: absolute;
	top: 0;
	left: min(45%, 520px);
	height: 100%;
	width: 140px;
	background: linear-gradient(180deg, #b19445, #cfb367);
	opacity: 0.85;
	clip-path: polygon(32% 0, 100% 0, 68% 100%, 0 100%);
	z-index: -1;
}

.tf-hero__topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px clamp(20px, 4vw, 60px);
	background: rgba(9, 30, 30, 0.56);
	backdrop-filter: blur(1px);
}

.tf-hero__brand {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	font-family: "Cormorant Garamond", "Times New Roman", serif;
	font-size: clamp(18px, 2.2vw, 30px);
	font-weight: 700;
	letter-spacing: 0.2px;
	color: #fff;
}

.tf-hero__brand img {
	height: 38px;
	width: auto;
	max-width: min(180px, 42vw);
	object-fit: contain;
	flex-shrink: 0;
}

.tf-hero__nav {
	min-width: 0;
}

.tf-hero__menu {
	display: flex;
	align-items: center;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tf-hero__menu li {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	align-items: center;
}

.tf-hero__menu .sub-menu {
	display: none;
}

.tf-hero__menu a {
	color: #f4f7f6;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 12px;
	font-weight: 600;
}

.tf-hero__menu a:focus-visible {
	outline: 2px solid #3eb9a6;
	outline-offset: 4px;
	border-radius: 2px;
}

.btn-container{
 display: flex;
 justify-content: center;
}

.tf-hero__menu a.tf-hero__btn:focus-visible {
	outline-offset: 2px;
}

.tf-hero__content-wrap {
	padding: clamp(30px, 7vw, 100px) clamp(20px, 4vw, 60px);
}

.tf-hero__content {
	max-width: 470px;
}

.tf-hero__eyebrow {
	margin: 0 0 16px;
	text-transform: uppercase;
	letter-spacing: 4px;
	font-size: 11px;
	color: #90b0ad;
}

.tf-hero h1 {
	margin: 0;
	font-family: "Cormorant Garamond", "Times New Roman", serif;
	font-size: clamp(42px, 5.3vw, 76px);
	font-weight: 700;
	line-height: 1.05;
	color: #fff !important;
	letter-spacing: -0.02em;
}

.tf-hero h1 .tf-hero__title-line {
	color: #fff !important;
}

/* Mot Â« espaces Â» en script, type maquette peintre haut de gamme */
.tf-hero h1 .tf-hero__title-accent {
	font-family: "Great Vibes", cursive;
	font-weight: 400;
	font-style: normal;
	color: #3eb9a6 !important;
	font-size: 1.42em;
	line-height: 0.85;
	padding: 0 0.08em;
	vertical-align: baseline;
}

.tf-hero__text {
	margin: 22px 0 30px;
	max-width: 440px;
	font-size: 16px;
	line-height: 1.65;
	color: rgba(240, 246, 245, 0.88);
}

.tf-hero__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.tf-hero__btn {
	text-decoration: none!important;
	display: inline-block;
	padding: 13px 24px;
	border-radius: 8px;
	background: #1f7e68;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	font-size: 12px;
	font-weight: 700;
	border: 1px solid transparent;
	transition: all 0.2s ease;
}

.tf-hero__btn:hover {
	background: #176b58;
	color: #fff;
}

.tf-hero__btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.45);
}

.tf-hero__btn--ghost:hover {
	background: rgba(255, 255, 255, 0.1);
}

.tf-hero__btn--small {
	padding: 10px 16px;
	font-size: 11px;
	border-radius: 7px;
}

@media (max-width: 980px) {
	.tf-hero {
		min-height: 88vh;
	}

	.tf-hero__overlay-left {
		width: 100%;
		clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
		opacity: 0.9;
	}

	.tf-hero__overlay-accent {
		left: auto;
		right: 16%;
		width: 110px;
		opacity: 0.6;
	}

	.tf-hero__topbar {
		flex-direction: column;
		gap: 14px;
	}

	.tf-hero__menu {
		gap: 14px;
		flex-wrap: wrap;
		justify-content: center;
	}
}

@media (max-width: 560px) {
	.tf-hero__overlay-accent {
		display: none;
	}

	.tf-hero__brand > span {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		max-width: min(200px, 38vw);
	}

	.tf-hero__menu a {
		font-size: 10px;
	}

	.tf-hero__text {
		font-size: 14px;
	}
}

/* ---------- Services section ---------- */
.tf-services {
	background: #ece9de;
	padding: clamp(54px, 8vw, 90px) 20px clamp(70px, 8vw, 110px);
	font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tf-services__inner {
	max-width: 1140px;
	margin: 0 auto;
	text-align: center;
}

.tf-services__eyebrow {
	margin: 0;
	font-size: 11px;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: #2f594f;
	font-weight: 600;
}

.tf-services h2 {
	margin: 12px 0 12px;
	font-family: "Cormorant Garamond", serif;
	font-size: clamp(40px, 4.4vw, 62px);
	line-height: 1.08;
	color: #17201e;
}

.tf-services__intro {
	margin: 0 auto;
	max-width: 760px;
	font-size: 15px;
	line-height: 1.7;
	color: #5f635f;
}

.tf-services__grid {
	margin-top: clamp(34px, 4vw, 52px);
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.tf-service-card {
	background: #f4f4f3;
	border: 1px solid #ddddd9;
	border-radius: 6px;
	padding: 18px 16px 22px;
	text-align: left;
}

.tf-service-card__icon {
	width: 30px;
	height: 30px;
	border-radius: 7px;
	background: #e4ebe6;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	margin-bottom: 16px;
}

.tf-service-card h3 {
	margin: 0 0 10px;
	font-family: "Cormorant Garamond", serif;
	font-size: 34px;
	line-height: 1.02;
	color: #1f2927;
}

.tf-service-card p {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: #676a67;
}

@media (max-width: 1100px) {
	.tf-services__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
    .ast-separate-container #content .ast-container {
        padding-left: 0;
        padding-right: 0;
    }
	.tf-services {
		padding-left: 14px;
		padding-right: 14px;
	}

	.tf-services__grid {
		grid-template-columns: 1fr;
	}

	.tf-service-card h3 {
		font-size: 30px;
	}
}