/* ==========================================================================
   Tech For You — Page Professionnels.
   Réutilise les fondations (techforyou-base.css) et les composants partagés
   (techforyou-layout.css : en-tête, pied de page, .tfy-flow, bande CTA de
   clôture). Composition propre à cette page, distincte de l'accueil, de
   Tarifs et de Dépannage :
   1. Intro asymétrique texte/illustration vectorielle (pas de photo).
   2. Installation : en-tête centré, puis 3 domaines en rangée éditoriale
      séparés par des filets (pas de cartes).
   3. Réseaux/stockage — temps fort graphique de la page : grand titre en
      haut à gauche, puis composition asymétrique (illustration NAS agrandie
      + contenu/encart), fond légèrement teinté.
   4. Dépannage/maintenance : section courte et aérée, entièrement centrée
      (contrepoint visuel entre le bloc NAS et les tarifs).
   5. Tarifs professionnels : en-tête aligné à droite (grand écran), puis
      panneau tarifaire (gauche) + texte/CTA (droite) — pas de grille de
      cartes, panneau distinct de celui de la page Dépannage.
   6. Contact final (composant commun).
   ========================================================================== */

/* Largeur de colonne de contenu harmonisée avec la page Dépannage corrigée
   — toujours avec margin-inline:auto sur les blocs plafonnés (leçon du bug
   structurel déjà corrigé ailleurs : un max-width seul, sans centrage,
   laisse le bloc plaqué à gauche dans le conteneur élargi ≥1920px).
   Palier "Composition" partagé : --tfy-content (techforyou-base.css), 78rem
   — valeur inchangée, ancienne variable locale --tfy-pro-content supprimée. */

/* ---------------------------------------------------------------------- */
/* 1. Introduction — texte à gauche, composition graphique à droite        */
/* ---------------------------------------------------------------------- */
.tfy-pro-intro {
	padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(3rem, 6vw, 4.5rem);
	color: var(--tfy-white);
}

.tfy-pro-intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
	gap: clamp(2.5rem, 5vw, 4.5rem);
	align-items: center;
	/* Composition texte/illustration de premier plan : bénéficie du palier
	   élargi (--tfy-content-wide, jusqu'à 90rem). Sous 1920px, repli strict
	   sur --tfy-content (78rem), aucun changement. */
	max-width: var(--tfy-content-wide, var(--tfy-content));
	margin-inline: auto;
}

.tfy-pro-intro__title {
	max-width: 34rem;
}

.tfy-pro-intro__lead {
	margin-top: 1rem;
	font-size: 1.02rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.75);
	max-width: 34rem;
}

.tfy-pro-intro__lead + .tfy-btn {
	margin-top: 1.75rem;
}

/* Panneau graphique abstrait (jamais une photo) — plafonné en valeur
   absolue pour ne jamais devenir démesuré sur très grand écran. */
.tfy-pro-intro__visual {
	position: relative;
	aspect-ratio: 1 / 1.05;
	max-width: 22rem;
	max-height: 23rem;
	justify-self: end;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(1.75rem, 3vw, 2.5rem);
	border-radius: var(--tfy-radius-md);
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: radial-gradient(circle at 28% 18%, rgba(90, 162, 255, 0.14), transparent 60%), rgba(255, 255, 255, 0.025);
}

.tfy-pro-intro__visual svg {
	width: 100%;
	height: 100%;
	color: var(--tfy-blue-bright);
}

/* ---------------------------------------------------------------------- */
/* 2. Installation et configuration — en-tête centré, rangée à 3 colonnes  */
/* ---------------------------------------------------------------------- */
.tfy-pro-setup {
	padding-block: clamp(3rem, 6vw, 5rem);
}

.tfy-pro-setup__inner {
	max-width: var(--tfy-content);
	margin-inline: auto;
}

.tfy-pro-setup__head {
	max-width: var(--tfy-measure);
	margin-inline: auto;
	text-align: center;
}

.tfy-pro-setup__intro {
	margin-top: 1rem;
	margin-inline: auto;
	font-size: 1rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.75);
	max-width: 36rem;
}

.tfy-pro-setup__row {
	margin-top: clamp(2.75rem, 4.5vw, 3.75rem);
	display: flex;
	gap: clamp(2.25rem, 4vw, 3.5rem);
}

.tfy-pro-setup__item {
	flex: 1 1 0;
	padding-left: clamp(1.5rem, 2.5vw, 2rem);
	border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.tfy-pro-setup__item:first-child {
	padding-left: 0;
	border-left: none;
}

.tfy-pro-setup__icon {
	display: inline-flex;
	width: 52px;
	height: 52px;
	margin-bottom: 1.25rem;
	color: var(--tfy-blue-bright);
}

.tfy-pro-setup__item:nth-child(2) .tfy-pro-setup__icon {
	color: var(--tfy-indigo-bright);
}

.tfy-pro-setup__icon svg {
	width: 100%;
	height: 100%;
}

.tfy-pro-setup__item h3 {
	font-size: 1.08rem;
	font-weight: 700;
	color: var(--tfy-white);
	margin-bottom: 0.65rem;
}

.tfy-pro-setup__item p {
	font-size: 0.92rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.68);
}

/* ---------------------------------------------------------------------- */
/* 3. Réseaux et stockage — temps fort graphique de la page                */
/* ---------------------------------------------------------------------- */
.tfy-pro-nas {
	position: relative;
	padding-block: clamp(3.5rem, 7vw, 5.5rem);
	background: linear-gradient(120deg, rgba(90, 162, 255, 0.07), transparent 55%), rgba(255, 255, 255, 0.02);
}

/* Transition asymétrique avec Installation : le fond distinct de ce bloc
   déborde davantage à gauche qu'à droite (décroché géométrique discret),
   ancré au bord gauche du contenu — pas une séparation horizontale nette
   sur toute la largeur ni un bloc flottant déconnecté du titre. */
.tfy-pro-nas__head::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	transform: translateY(-62%);
	width: min(46%, 26rem);
	height: clamp(2.25rem, 4.5vw, 3.5rem);
	background: rgba(255, 255, 255, 0.02);
	pointer-events: none;
}

.tfy-pro-nas__head {
	position: relative;
	z-index: 1;
	/* Doit rester exactement aligné (même bord gauche) que .tfy-pro-nas__grid
	   ci-dessous : les deux partagent donc le même palier élargi. */
	max-width: var(--tfy-content-wide, var(--tfy-content));
	margin-inline: auto;
	margin-bottom: clamp(2.25rem, 4vw, 3rem);
}

.tfy-pro-nas__head h2 {
	max-width: 36rem;
	font-size: clamp(2rem, 3.6vw, 2.9rem);
}

.tfy-pro-nas__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.05fr);
	gap: clamp(3rem, 5.5vw, 5rem);
	align-items: center;
	/* Temps fort graphique de la page (cf. commentaire d'en-tête du fichier) :
	   composition qui bénéficie le plus du palier élargi --tfy-content-wide.
	   Sous 1920px, repli strict sur --tfy-content (78rem), aucun changement. */
	max-width: var(--tfy-content-wide, var(--tfy-content));
	margin-inline: auto;
}

.tfy-pro-nas__visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tfy-pro-nas__visual::before {
	content: "";
	position: absolute;
	inset: -12%;
	z-index: -1;
	background: radial-gradient(circle, rgba(90, 162, 255, 0.18), transparent 65%);
	pointer-events: none;
}

.tfy-pro-nas__visual svg {
	width: 100%;
	max-width: 24rem;
	height: auto;
	color: var(--tfy-blue-bright);
}

.tfy-pro-nas__content p {
	margin-top: 1rem;
	font-size: 1rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.78);
	max-width: 38rem;
}

.tfy-pro-nas__content p:first-child {
	margin-top: 0;
}

.tfy-pro-nas__panel {
	margin-top: clamp(1.75rem, 3vw, 2.25rem);
	padding: clamp(1.5rem, 2.5vw, 2rem);
	max-width: 34rem;
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--tfy-radius-md);
}

.tfy-pro-nas__panel-title {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--tfy-blue-bright);
	margin-bottom: 0.9rem;
}

.tfy-pro-nas__panel ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.tfy-pro-nas__panel li {
	position: relative;
	padding-left: 1.1rem;
	font-size: 0.9rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.82);
}

.tfy-pro-nas__panel li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--tfy-blue-bright);
}

/* ---------------------------------------------------------------------- */
/* 4. Dépannage et maintenance — section courte, centrée, aérée            */
/* ---------------------------------------------------------------------- */
.tfy-pro-support {
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.tfy-pro-support__inner {
	max-width: var(--tfy-content);
	margin-inline: auto;
}

.tfy-pro-support__inner p.tfy-eyebrow {
	text-align: center;
}

.tfy-pro-support__inner h2 {
	max-width: 36rem;
	margin-inline: auto;
	text-align: center;
}

.tfy-pro-support__body {
	margin-top: clamp(1.5rem, 3vw, 2.25rem);
	max-width: 38rem;
	margin-inline: auto;
}

.tfy-pro-support__body p {
	margin-top: 1rem;
	font-size: 1rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.78);
}

.tfy-pro-support__body p:first-child {
	margin-top: 0;
}

/* ---------------------------------------------------------------------- */
/* 5. Tarifs professionnels — panneau + texte, pas de grille de cartes     */
/* ---------------------------------------------------------------------- */
.tfy-pro-rates {
	position: relative;
	padding-block: clamp(3.5rem, 6vw, 5rem);
}

/* Transition diagonale très douce avec Dépannage/maintenance : bord haut
   légèrement oblique (angle constant en vw) — autre technique que le
   décroché utilisé avant le bloc NAS. */
.tfy-pro-rates::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.025);
	clip-path: polygon(0 1.1vw, 100% 0, 100% 100%, 0 100%);
	pointer-events: none;
	z-index: 0;
}

.tfy-pro-rates__inner {
	position: relative;
	z-index: 1;
	max-width: var(--tfy-content);
	margin-inline: auto;
}

.tfy-pro-rates__head {
	text-align: right;
	margin-bottom: clamp(2.25rem, 4vw, 3rem);
}

.tfy-pro-rates__head h2 {
	margin-left: auto;
	max-width: 32rem;
}

.tfy-pro-rates__grid {
	display: grid;
	grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(2.5rem, 5vw, 4rem);
	align-items: center;
}

.tfy-pro-rates__panel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(1.25rem, 2.5vw, 1.75rem);
	padding: clamp(2rem, 3.5vw, 2.75rem);
	background: linear-gradient(160deg, rgba(90, 162, 255, 0.1), rgba(255, 255, 255, 0.03));
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--tfy-radius-md);
}

.tfy-pro-rates__amount {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
	text-align: center;
}

.tfy-pro-rates__amount strong {
	font-size: clamp(1.9rem, 3vw, 2.5rem);
	font-weight: 800;
	line-height: 1;
	color: var(--tfy-blue-bright);
	text-shadow: 0 0 24px rgba(90, 162, 255, 0.3);
}

.tfy-pro-rates__amount span {
	font-size: 0.85rem;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.68);
}

.tfy-pro-rates__divider {
	width: 1px;
	align-self: stretch;
	background: rgba(255, 255, 255, 0.16);
}

.tfy-pro-rates__text p {
	margin-top: 1rem;
	font-size: 1rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.78);
	max-width: 34rem;
}

.tfy-pro-rates__text p:first-child {
	margin-top: 0;
}

.tfy-pro-rates__cta {
	margin-top: clamp(1.5rem, 2.5vw, 1.85rem);
}

/* ---------------------------------------------------------------------- */
/* Tablette (≤1024px)                                                     */
/* ---------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.tfy-pro-intro__grid {
		grid-template-columns: 1fr;
	}

	.tfy-pro-intro__visual {
		order: 1;
		justify-self: center;
		max-width: 16rem;
		max-height: 17rem;
	}

	.tfy-pro-setup__row {
		flex-direction: column;
		gap: clamp(2rem, 4vw, 2.5rem);
	}

	.tfy-pro-setup__item {
		padding-left: 0;
		padding-top: 1.5rem;
		border-left: none;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
	}

	.tfy-pro-setup__item:first-child {
		padding-top: 0;
		border-top: none;
	}

	.tfy-pro-nas__grid {
		grid-template-columns: 1fr;
	}

	.tfy-pro-nas__visual svg {
		max-width: 16rem;
	}

	.tfy-pro-rates__head,
	.tfy-pro-rates__head h2 {
		text-align: left;
		margin-left: 0;
	}

	.tfy-pro-rates__grid {
		grid-template-columns: 1fr;
	}
}

/* ---------------------------------------------------------------------- */
/* Mobile (≤640px)                                                        */
/* ---------------------------------------------------------------------- */
@media (max-width: 640px) {
	.tfy-pro-rates__panel {
		flex-direction: column;
		align-items: stretch;
		gap: 1.5rem;
	}

	.tfy-pro-rates__divider {
		display: none;
	}

	/* Découpes simplifiées sur mobile : fonds plats, pas de décroché ni
	   d'oblique (lisibilité avant tout sur petit écran). */
	.tfy-pro-nas__head::before {
		display: none;
	}

	.tfy-pro-rates::before {
		clip-path: none;
	}
}
