/* =========================================================
   Alsharidah Child — Accueil
   Valeurs relevées dans src/app/pages/Home.tsx, src/app/components/
   CTAButton.tsx et src/app/i18n.ts, puis confrontées au CSS réellement
   compilé (dist/assets/index-Bm-wdw9b.css, Tailwind 4.1.12).

   Huit blocs, dans l'ordre du gabarit :
     1. le hero
     2. le bouton d'appel à l'action, trois variantes
     3. la bande de chiffres
     4. les services
     5. les partenaires
     6. la présentation du cabinet
     7. les articles
     8. la localisation

   Ce que le CSS compilé impose, et qu'on ne devine pas :

   - `*, :before, :after { box-shadow: none !important }` est posé hors
     couche : shadow-sm, shadow-md, shadow-lg et shadow-inner du source
     ne donnent rien. Aucune ombre n'est donc écrite ici.
   - `.saudi-pattern` est également hors couche, et l'emporte sur les
     utilitaires : son opacité vaut 0.6 partout, y compris là où le
     source écrit opacity-[0.03] sur la section de la carte.
   - dans le hero, le même élément porte saudi-pattern et hero-gradient.
     La propriété raccourcie `background` de la seconde efface l'image
     de la première : il ne reste que le dégradé, à 0.6 d'opacité. Le
     motif n'apparaît pas, et il n'est donc pas repris.
   - sous 768px, theme.css pose `h1 { font-size: clamp(1.85rem, 6vw,
     2.5rem) !important }`, `h2 { clamp(1.45rem, 5vw, 1.95rem)
     !important }`, `h3 { 1.2rem !important }` et `p, .leading-relaxed
     { line-height: 2 !important }`. style.css les reprend : les tailles
     écrites ici pour les titres ne s'appliquent donc qu'au-dessus de
     768px, exactement comme dans le source. Deux exceptions, traitées
     à leur bloc : le titre du hero, que le source force lui aussi en
     !important, et celui de la carte de localisation, passé de h3 à h2.
   - `html[dir=rtl] h1…h6, span, p, a, button { letter-spacing: normal
     !important }` : tracking-wide, tracking-wider et tracking-[0.22em]
     ne sortent pas en arabe. Ils ne sont pas repris. Le chiffre de la
     bande statistique vit dans un span pour la même raison : le source
     l'y met, et tracking-tight y est donc annulé.
   - `p { line-height: 2.1 }` est posé sans classe dans style.css :
     chaque paragraphe écrit ici porte sa propre hauteur de ligne.

   Le mode sombre du source n'est pas repris : décision prise pour
   l'ensemble du site.
   ========================================================= */

.ash-home {
	--ash-home-slate-50: oklch(98.4% 0.003 247.858);
	--ash-home-slate-100: oklch(96.8% 0.007 247.896);
	--ash-home-slate-200: oklch(92.9% 0.013 255.508);
	--ash-home-slate-900: oklch(20.8% 0.042 265.755);
}

/* max-w-7xl px-4 sm:px-6 lg:px-8 — même conteneur que la page des
   services. La section de la carte est plus étroite : max-w-6xl. */
.ash-home__container {
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: 16px;
}

.ash-home__container--narrow {
	max-width: 1152px;
}

@media (min-width: 640px) {
	.ash-home__container {
		padding-inline: 24px;
	}
}

@media (min-width: 1024px) {
	.ash-home__container {
		padding-inline: 32px;
	}
}

.ash-home svg {
	display: block;
	flex-shrink: 0;
}

/* Les variables de marque viennent de style.css. Celles que blog.css
   emploie déjà — --brand-green, --brand-navy, --muted-foreground,
   --font-display — sont sûres ; les autres portent une valeur de repli
   reprise du CSS compilé, faute d'avoir pu lire style.css. Un repli ne
   change rien quand la variable existe, et évite qu'une déclaration
   entière soit invalidée en silence quand elle manque. */

/* .saudi-pattern : le calque décoratif de quatre sections.

   Le chemin est relatif à ce fichier, comme dans footer.css — le motif
   vit dans assets/img/. Celui du source, « /frame2.svg », ne vaut que
   pour Vite, où le dossier public devient la racine du site : ici il
   donne un 404, mesuré. */
.ash-home__pattern {
	position: absolute;
	inset: 0;
	z-index: 0;
	opacity: 0.6;
	pointer-events: none;
	background-image: url("../img/frame2.svg");
	background-position: 50%;
	background-repeat: repeat;
	background-size: 700px;
}

/* Le contenu des sections passe au-dessus du motif. Sans cela il se
   dessinerait en dessous : le calque est positionné, la grille ne l'est
   pas, et l'ordre de peinture place le second en premier. Dans le
   source le problème ne se voit pas, les blocs animés portant tous un
   filtre qui crée leur propre contexte. */
.ash-home__services .ash-home__container,
.ash-home__partners .ash-home__container,
.ash-home__about .ash-home__container,
.ash-home__blog .ash-home__container,
.ash-home__map .ash-home__container {
	position: relative;
	z-index: 1;
}

/* ---------- Éléments partagés par plusieurs sections ---------- */

/* text-xs font-bold uppercase text-green bg-green/8 px-3.5 py-1.5
   rounded-full — text-xs porte sa hauteur de ligne, 16px. */
.ash-home__eyebrow {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	padding: 6px 14px;
	border-radius: 999px;
	background-color: color-mix(in oklab, var(--brand-green) 8%, transparent);
	color: var(--brand-green);
	font-size: 12px;
	font-weight: 700;
	line-height: calc(1 / 0.75);
	text-transform: uppercase;
}

/* Variante des partenaires et de la carte : un filet vert s'ajoute, et
   la taille descend à 10px sous 640px. */
.ash-home__eyebrow--outline {
	border: 1px solid color-mix(in oklab, var(--brand-green) 15%, transparent);
	font-size: 10px;
	line-height: 2;
}

@media (min-width: 640px) {
	.ash-home__eyebrow--outline {
		font-size: 12px;
		line-height: calc(1 / 0.75);
	}
}

/* mt-5 font-extrabold text-[26px] md:text-3xl leading-tight font-display */
.ash-home__title {
	margin: 20px 0 0;
	color: var(--brand-navy);
	font-family: var(--font-display);
	font-size: 26px;
	font-weight: 800;
	line-height: 1.25;
}

@media (min-width: 768px) {
	.ash-home__title {
		font-size: 30px;
	}
}

/* Le titre de la section « المدونة القانونية » ne porte aucune classe
   de taille dans le source : il prend celle de la règle de base,
   clamp(1.75rem, 3.5vw, 2.75rem) — 44px au-delà de 1257px de fenêtre,
   contre 30px pour les autres h2. L'écart existe dans le source et il
   est conservé. */
.ash-home__title--plain {
	font-size: clamp(1.75rem, 3.5vw, 2.75rem);
	line-height: 1.4;
}

/* .brand-divider : 64 x 3, navy → vert. */
.ash-home__rule {
	width: 64px;
	height: 3px;
	margin-top: 16px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--brand-navy), var(--brand-green));
}

/* mt-4 text-muted-foreground leading-loose text-[19px] sm:text-[21px] */
.ash-home__lead {
	margin: 16px 0 0;
	color: var(--muted-foreground);
	font-size: 19px;
	line-height: 2;
}

@media (min-width: 640px) {
	.ash-home__lead {
		font-size: 21px;
	}
}

/* Le chapô du cabinet redescend à 18px au-delà de 768px (md:text-lg). */
@media (min-width: 768px) {
	.ash-home__lead--wide {
		font-size: 18px;
	}
}

/* =========================================================
   1. Le hero
   =========================================================

   Le gabarit rend le premier des trois états du source. Les deux
   suivants — l'éclair blanc puis la photo de l'avocat — relèvent du
   lot des animations, avec Reveal, Stagger et le compteur. */

/* relative min-h-[65vh] md:min-h-[90vh] flex items-center justify-center */
.ash-home__hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 65vh;
	overflow: hidden;
}

@media (min-width: 768px) {
	.ash-home__hero {
		min-height: 90vh;
	}
}

.ash-home__hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.ash-home__hero-bg img {
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* bg-gradient-to-b from-black/80 via-black/85 to-black/98 — positions
   implicites de Tailwind 4 : 0 %, 50 %, 100 %. */
.ash-home__hero-shade {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(
		to bottom in oklab,
		color-mix(in oklab, var(--brand-black, #0a0d14) 80%, transparent) 0%,
		color-mix(in oklab, var(--brand-black, #0a0d14) 85%, transparent) 50%,
		color-mix(in oklab, var(--brand-black, #0a0d14) 98%, transparent) 100%
	);
}

/* .hero-gradient, à l'opacité de .saudi-pattern. */
.ash-home__hero-tint {
	position: absolute;
	inset: 0;
	opacity: 0.6;
	background:
		radial-gradient(900px 500px at 90% 10%, rgba(76, 175, 80, 0.1), transparent 60%),
		radial-gradient(700px 500px at 0 100%, rgba(29, 78, 216, 0.12), transparent 55%),
		linear-gradient(135deg, #0a0d14, #071630 45%, #0f2957);
}

/* max-w-5xl px-4 sm:px-6 lg:px-8 z-10 pt-20 pb-8 md:pt-36 md:pb-20 */
.ash-home__hero-inner {
	position: relative;
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 1024px;
	margin-inline: auto;
	padding: 80px 16px 32px;
	text-align: center;
}

@media (min-width: 640px) {
	.ash-home__hero-inner {
		padding-inline: 24px;
	}
}

@media (min-width: 768px) {
	.ash-home__hero-inner {
		padding-block: 144px 80px;
	}
}

@media (min-width: 1024px) {
	.ash-home__hero-inner {
		padding-inline: 32px;
	}
}

/* text-[11px] sm:text-xs font-bold uppercase font-display bg-white/5
   border border-white/10 px-4.5 py-1.5 rounded-full backdrop-blur-sm
   text-[11px] ne fixe que la taille : hauteur de ligne héritée, 2. */
.ash-home__hero-eyebrow {
	padding: 6px 18px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 999px;
	background-color: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(4px);
	color: var(--brand-green);
	font-family: var(--font-display);
	font-size: 11px;
	font-weight: 700;
	line-height: 2;
	text-transform: uppercase;
	user-select: none;
}

@media (min-width: 640px) {
	.ash-home__hero-eyebrow {
		font-size: 12px;
		line-height: calc(1 / 0.75);
	}
}

/* gap-4 entre le surtitre et la calligraphie, plus mt-2 sur celle-ci,
   puis mb-4 sous le groupe. */
.ash-home__hero-khat {
	width: 100%;
	max-width: 340px;
	margin-top: 24px;
	margin-bottom: 16px;
	user-select: none;
	pointer-events: none;
}

@media (min-width: 640px) {
	.ash-home__hero-khat {
		max-width: 520px;
	}
}

@media (min-width: 768px) {
	.ash-home__hero-khat {
		max-width: 620px;
	}
}

@media (min-width: 1024px) {
	.ash-home__hero-khat {
		max-width: 680px;
	}
}

/* Le fichier est déjà blanc sur fond transparent : brightness(0)
   invert(1) du source le rend blanc une seconde fois, sans effet. Le
   filtre n'est pas repris — il ne change pas un pixel. */
.ash-home__hero-khat img {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	object-fit: contain;
}

/* h-px w-16 mb-6, dégradé transparent → vert → transparent */
.ash-home__hero-line {
	width: 64px;
	height: 1px;
	margin-bottom: 24px;
	background-image: linear-gradient(to right, transparent, var(--brand-green), transparent);
}

/* !text-[24px] sm:!text-[28px] md:!text-[36px] font-extrabold font-display
   leading-snug max-w-3xl min-h-[2.5em] sm:min-h-[1.5em]

   Le !important est nécessaire ici, et c'est le seul de la feuille :
   style.css impose clamp(1.85rem, 6vw, 2.5rem) à tout h1 sous 768px,
   avec !important lui aussi. Dans le source, la taille du hero l'emporte
   parce qu'elle est déclarée dans une couche, et qu'une déclaration
   importante d'une couche prime sur une déclaration importante hors
   couche. Ici, les deux feuilles étant hors couche, c'est l'ordre de
   chargement qui tranche — d'où la reprise du !important.

   La hauteur de ligne, elle, n'est pas forcée : leading-snug ne l'est
   pas non plus dans le source, si bien que la règle de style.css donne
   1.5 sous 768px dans les deux cas. */
.ash-home__hero-title {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 768px;
	min-height: 2.5em;
	margin: 0;
	color: #fff;
	font-family: var(--font-display);
	font-size: 24px !important;
	font-weight: 800;
	text-wrap: balance;
}

@media (min-width: 640px) {
	.ash-home__hero-title {
		min-height: 1.5em;
		font-size: 28px !important;
	}
}

@media (min-width: 768px) {
	.ash-home__hero-title {
		font-size: 36px !important;
		line-height: 1.375;
	}
}

/* ---------- Les trois états ----------

   L'attribut data-ash-hero-phase, posé sur la section et déplacé par
   assets/js/home.js, remplace les trois valeurs de heroPhase du source.
   Sans JavaScript il ne bouge pas : le premier état reste à l'écran, et
   rien ne disparaît.

   Les durées sont celles du source : 1400ms pour le fondu entre les deux
   photos, 500ms pour la sortie du texte. */

.ash-home__hero-bg,
.ash-home__hero-final {
	transition: opacity 1.4s ease-in-out;
}

.ash-home__hero-final {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	opacity: 0;
}

[data-ash-hero-phase="flash"] .ash-home__hero-final,
[data-ash-hero-phase="final"] .ash-home__hero-final {
	opacity: 1;
}

[data-ash-hero-phase="final"] .ash-home__hero-bg {
	opacity: 0;
}

/* opacity-0 pointer-events-none scale-[0.98], transition-all 500ms */
.ash-home__hero-inner {
	transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-ash-hero-phase="flash"] .ash-home__hero-inner,
[data-ash-hero-phase="final"] .ash-home__hero-inner {
	opacity: 0;
	transform: scale(0.98);
	pointer-events: none;
}

/* ---------- Les deux portraits ----------

   block sm:hidden d'un côté, hidden sm:block de l'autre. La translation
   du parallaxe est écrite par le script dans --ash-hero-y ; le zoom lent
   vit sur l'image elle-même, si bien que les deux transformations ne se
   marchent pas dessus. */

.ash-home__hero-shot {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: translateY(var(--ash-hero-y, 0px));
}

.ash-home__hero-shot--desktop {
	display: none;
}

@media (min-width: 640px) {
	.ash-home__hero-shot--mobile {
		display: none;
	}

	.ash-home__hero-shot--desktop {
		display: block;
	}
}

.ash-home__hero-shot img {
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
}

/* object-[50%_62%] côté mobile, object-[50%_68%] md:object-[50%_70%]
   côté bureau ; puis .hero-kb-mobile et .hero-kb-desktop, reprises du
   CSS compilé sans y toucher. */
.ash-home__hero-shot--mobile img {
	object-position: 50% 62%;
	transform-origin: 50% 38%;
	animation: ash-ken-burns-mobile 16s ease-in-out infinite;
}

.ash-home__hero-shot--desktop img {
	object-position: 50% 68%;
	transform-origin: 50%;
	animation: ash-ken-burns-desktop 18s ease-in-out infinite;
}

@media (min-width: 768px) {
	.ash-home__hero-shot--desktop img {
		object-position: 50% 70%;
	}
}

@keyframes ash-ken-burns-desktop {
	0% {
		transform: scale(1) translate(0);
	}

	50% {
		transform: scale(1.07) translate(-0.8%, -0.5%);
	}

	100% {
		transform: scale(1) translate(0);
	}
}

@keyframes ash-ken-burns-mobile {
	0% {
		transform: scale(1.02) translate(0);
	}

	50% {
		transform: scale(1.14) translate(-10px, -5px);
	}

	100% {
		transform: scale(1.02) translate(0);
	}
}

/* ---------- Voiles et motif du second état ---------- */

/* h-[35%] bg-gradient-to-t from-black/70 via-black/20 to-transparent */
.ash-home__hero-fade {
	position: absolute;
	inset-inline: 0;
	z-index: 1;
}

.ash-home__hero-fade--bottom {
	bottom: 0;
	height: 35%;
	background-image: linear-gradient(
		to top in oklab,
		rgba(0, 0, 0, 0.7) 0%,
		rgba(0, 0, 0, 0.2) 50%,
		transparent 100%
	);
}

/* h-[18%] bg-gradient-to-b from-black/35 to-transparent */
.ash-home__hero-fade--top {
	top: 0;
	height: 18%;
	background-image: linear-gradient(to bottom in oklab, rgba(0, 0, 0, 0.35), transparent);
}

/* Ici le motif est écrit en style inline dans le source, et non par la
   classe .saudi-pattern : son opacité de 0.05 s'applique donc bel et
   bien, contrairement à celle des sections plus bas dans la page. */
.ash-home__hero-frame {
	position: absolute;
	inset: 0;
	z-index: 1;
	opacity: 0.05;
	pointer-events: none;
	user-select: none;
	background-image: url("../img/frame2.svg");
	background-position: center;
	background-repeat: repeat;
	background-size: 700px auto;
}

/* ---------- L'éclair ----------

   Le source ne monte cet élément que pendant la phase intermédiaire.
   Ici il existe toujours, et c'est le passage de display:none à block
   qui déclenche l'animation — une seule fois, puisque le script retire
   la classe après coup. */

.ash-home__hero-flash {
	position: absolute;
	inset: 0;
	z-index: 5;
	display: none;
	background-color: #fff;
	pointer-events: none;
}

.ash-home__hero-flash.is-flashing {
	display: block;
	animation: ash-hero-flash 0.65s ease-out forwards;
}

@keyframes ash-hero-flash {
	0% {
		opacity: 0;
	}

	25% {
		opacity: 0.9;
	}

	100% {
		opacity: 0;
	}
}

/* ---------- Le curseur de la machine à écrire ----------

   Le trait est injecté par le script dans le h1, comme le fait le
   composant Typewriter. w-[3px] h-[1em] ms-1.5 align-middle. */

.ash-home__cursor {
	display: inline-block;
	width: 3px;
	height: 1em;
	margin-inline-start: 6px;
	background-color: var(--brand-green);
	vertical-align: middle;
	animation: ash-blink 0.8s infinite;
}

@keyframes ash-blink {
	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: 0;
	}
}

/* mt-8 flex flex-row gap-3 items-center justify-center w-full */
.ash-home__hero-actions {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	margin-top: 32px;
}

/* =========================================================
   2. Le bouton d'appel à l'action
   =========================================================

   Mêmes mesures que .ash-cta--inline de services.css, qui rétablit
   celles de CTAButton.tsx par-dessus la règle de base posée par
   header.css pour le header. Les deux feuilles ne se croisant jamais —
   une page n'est jamais à la fois l'accueil et « خدماتنا القانونية » —
   la duplication n'a pas d'effet ; elle reste un candidat au nettoyage,
   le jour où ces mesures remonteront dans header.css.

   .ash-cta est masqué par défaut : display doit être rétabli en premier,
   sans quoi le bouton reste invisible. Les couleurs sont réécrites en
   entier, variante par variante, plutôt que corrigées au cas par cas :
   home.css étant chargée après header.css et les sélecteurs ayant la
   même spécificité, c'est l'ordre qui tranche. */

.ash-cta--home {
	display: inline-flex;
	height: 44px;
	min-width: 0;
	padding: 4px;
	padding-inline-start: 16px;
	padding-inline-end: 4px;
}

.ash-cta--home .ash-cta__text {
	height: 22px;
}

.ash-cta--home .ash-cta__text span {
	font-size: 12px;
	line-height: 22px;
}

@media (min-width: 768px) {
	.ash-cta--home .ash-cta__text span {
		font-size: 14px;
	}
}

/* w-7 h-7 contre w-6 h-6 au header ; flèche de 13 contre 12. */
.ash-cta--home .ash-cta__icon {
	width: 28px;
	height: 28px;
}

.ash-cta--home .ash-cta__icon svg {
	width: 13px;
	height: 13px;
}

/* variant « primary » */
.ash-cta--solid {
	border-color: rgba(255, 255, 255, 0.15);
	background-color: var(--brand-navy);
	color: #fff;
}

.ash-cta--solid .ash-cta__icon {
	background-color: var(--brand-green);
	color: #fff;
}

@media (hover: hover) {
	.ash-cta--solid:hover {
		background-color: var(--brand-navy-dark, #071630);
	}
}

/* variant « hero-secondary » */
.ash-cta--ghost {
	border-color: rgba(255, 255, 255, 0.35);
	background-color: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(4px);
	color: #fff;
}

.ash-cta--ghost .ash-cta__icon {
	background-color: rgba(255, 255, 255, 0.2);
	color: #fff;
}

@media (hover: hover) {
	.ash-cta--ghost:hover {
		background-color: rgba(255, 255, 255, 0.2);
	}
}

/* variant « secondary » */
.ash-cta--soft {
	border-color: color-mix(in oklab, var(--brand-navy) 12%, transparent);
	background-color: color-mix(in oklab, var(--brand-navy) 6%, transparent);
	color: var(--brand-navy);
}

.ash-cta--soft .ash-cta__icon {
	background-color: color-mix(in oklab, var(--brand-navy) 10%, transparent);
	color: var(--brand-navy);
}

@media (hover: hover) {
	.ash-cta--soft:hover {
		background-color: color-mix(in oklab, var(--brand-navy) 12%, transparent);
	}
}

/* =========================================================
   3. La bande de chiffres
   ========================================================= */

/* bg-navy border-b border-white/5 overflow-hidden */
.ash-home__stats {
	overflow: hidden;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	background-color: var(--brand-navy);
}

/* grid grid-cols-2 md:grid-cols-4 */
.ash-home__stats-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
	.ash-home__stats-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* text-center py-8 px-4 */
.ash-home__stat {
	padding: 32px 16px;
	text-align: center;
}

/* border-e sur tous sauf le dernier : sur deux colonnes, le filet reste
   donc au bord extérieur du deuxième bloc. Rendu du source, conservé. */
.ash-home__stat--ruled {
	border-inline-end: 1px solid rgba(255, 255, 255, 0.1);
}

/* text-3xl md:text-4xl font-black text-green font-english */
.ash-home__stat-value {
	color: var(--brand-green);
	font-family: var(--font-english, "IBM Plex Sans", system-ui, sans-serif);
	font-size: 30px;
	font-weight: 900;
	line-height: calc(2.25 / 1.875);
}

@media (min-width: 768px) {
	.ash-home__stat-value {
		font-size: 36px;
		line-height: calc(2.5 / 2.25);
	}
}

/* text-[13px] md:text-sm font-bold text-white/60 mt-2 */
.ash-home__stat-label {
	margin-top: 8px;
	color: rgba(255, 255, 255, 0.6);
	font-size: 13px;
	font-weight: 700;
	line-height: 2;
}

@media (min-width: 768px) {
	.ash-home__stat-label {
		font-size: 14px;
		line-height: calc(1.25 / 0.875);
	}
}

/* =========================================================
   4. Les services
   ========================================================= */

/* py-12 md:py-24 bg-cream border-b border-border */
.ash-home__services {
	position: relative;
	overflow: hidden;
	padding-block: 48px;
	border-bottom: 1px solid var(--border, rgba(15, 41, 87, 0.1));
	background-color: var(--brand-cream, #f0f2f5);
}

@media (min-width: 768px) {
	.ash-home__services {
		padding-block: 96px;
	}
}

/* flex flex-col md:flex-row md:items-end md:justify-between gap-6 mb-14 */
.ash-home__head {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-bottom: 56px;
}

@media (min-width: 768px) {
	.ash-home__head {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
	}
}

/* Le bandeau des articles s'aligne autrement : flex-wrap dès le mobile,
   gap-4, et les deux éléments par le bas. */
.ash-home__head--tight {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
}

/* max-w-2xl text-start */
.ash-home__head-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	max-width: 672px;
	text-align: start;
}

/* Button variant outline : rounded-full border-navy/20 font-bold text-xs
   h-10, et un rembourrage de 12px et non 24 — la règle
   `.has-[>svg]:px-3:has(> svg)` du CSS compilé l'emporte sur px-6, le
   lien contenant bien un svg en enfant direct. L'icône, elle, est
   ramenée à 16px par `[&_svg:not([class*='size-'])]:size-4`, quelle que
   soit la taille demandée au composant. */
.ash-home__pill {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 40px;
	padding-inline: 12px;
	border: 1px solid color-mix(in oklab, var(--brand-navy) 20%, transparent);
	border-radius: 999px;
	background-color: var(--background, #f0f2f5);
	color: var(--foreground, #0a0d14);
	font-size: 12px;
	font-weight: 700;
	line-height: calc(1 / 0.75);
	text-decoration: none;
	white-space: nowrap;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ash-home__pill svg {
	width: 16px;
	height: 16px;
}

@media (hover: hover) {
	.ash-home__pill:hover {
		border-color: var(--brand-green);
		background-color: var(--brand-green);
		color: #fff;
	}
}

/* ---------- La liste ----------

   Le source écrit deux arbres : une grille de quatre au-dessus de 768px
   et un défilement horizontal des sept en dessous. La liste est unique
   ici ; ce sont ces deux règles qui basculent d'une présentation à
   l'autre, et la seconde masque les services 5 à 7 sur grand écran. */

/* flex gap-4 overflow-x-auto pb-4 + .mobile-services-scroll */
.ash-home__services-list {
	display: flex;
	gap: 16px;
	padding-bottom: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.ash-home__services-list::-webkit-scrollbar {
	display: none;
}

/* shrink-0 w-[78vw] snap-start */
.ash-home__service {
	position: relative;
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	width: 78vw;
	overflow: hidden;
	border: 1px solid color-mix(in oklab, var(--ash-home-slate-200) 50%, transparent);
	border-radius: 24px;
	scroll-snap-align: start;
	aspect-ratio: 4 / 5;
}

@media (min-width: 768px) {
	.ash-home__services-list {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 20px;
		padding-bottom: 0;
		overflow-x: visible;
	}

	.ash-home__service {
		width: auto;
	}

	.ash-home__service:nth-child(n + 5) {
		display: none;
	}
}

.ash-home__service > img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0, 0, 0.2, 1), scale 0.7s cubic-bezier(0, 0, 0.2, 1);
}

@media (hover: hover) {
	.ash-home__service:hover > img {
		scale: 1.05;
	}
}

/* bg-gradient-to-t from-black/85 via-black/25 to-transparent opacity-80 */
.ash-home__service-veil {
	position: absolute;
	inset: 0;
	opacity: 0.8;
	background-image: linear-gradient(
		to top in oklab,
		rgba(0, 0, 0, 0.85) 0%,
		rgba(0, 0, 0, 0.25) 50%,
		transparent 100%
	);
	transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) {
	.ash-home__service:hover .ash-home__service-veil {
		opacity: 0.95;
	}
}

/* absolute inset-x-0 bottom-0 p-4 flex flex-col justify-end h-full z-10 */
.ash-home__service-body {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	z-index: 10;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 100%;
	padding: 16px;
	user-select: none;
}

/* backdrop-blur-md bg-navy/60 border border-white/10 p-4 rounded-2xl */
.ash-home__service-card {
	padding: 16px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	background-color: color-mix(in oklab, var(--brand-navy) 60%, transparent);
	backdrop-filter: blur(12px);
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) {
	.ash-home__service:hover .ash-home__service-card {
		translate: 0 -6px;
		background-color: color-mix(in oklab, var(--brand-navy) 80%, transparent);
	}
}

.ash-home__service-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

/* font-bold text-white text-[14px] leading-snug font-display
   Sous 768px, la règle h3 de style.css l'emporte : 1.2rem et 1.5, ici
   comme dans le source. */
.ash-home__service-title {
	margin: 0;
	color: #fff;
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.375;
}

/* text-[9px] font-bold bg-green text-white px-2 py-0.5 rounded-full
   font-english — hauteur de ligne héritée, 2. */
.ash-home__service-number {
	flex-shrink: 0;
	padding: 2px 8px;
	border-radius: 999px;
	background-color: var(--brand-green);
	color: #fff;
	font-family: var(--font-english, "IBM Plex Sans", system-ui, sans-serif);
	font-size: 9px;
	font-weight: 700;
	line-height: 2;
}

/* max-h-0 opacity-0 overflow-hidden, déplié au survol sur grand écran.
   Sous 768px le source le déplie au toucher, donc en JavaScript : le
   bloc reste replié ici et suivra le lot des interactions. */
.ash-home__service-more {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: all 0.5s ease-in-out;
}

@media (hover: hover) {
	.ash-home__service:hover .ash-home__service-more {
		max-height: 140px;
		margin-top: 10px;
		opacity: 1;
	}
}

/* text-[11px] text-white/75 leading-relaxed mb-3.5 line-clamp-3 */
.ash-home__service-desc {
	display: -webkit-box;
	margin: 0 0 14px;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.75);
	font-size: 11px;
	line-height: 1.625;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

/* inline-flex w-full items-center justify-center gap-1.5 rounded-xl
   bg-green text-white font-bold text-[11px] py-2 px-3
   rounded-xl vaut calc(var(--radius) + 4px), soit 20px. */
.ash-home__service-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	padding: 8px 12px;
	border-radius: 20px;
	background-color: var(--brand-green);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 2;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ash-home__service-cta svg {
	width: 11px;
	height: 11px;
}

@media (hover: hover) {
	.ash-home__service-cta:hover {
		background-color: color-mix(in oklab, var(--brand-green) 90%, transparent);
	}
}

/* =========================================================
   5. Les partenaires
   ========================================================= */

/* py-12 md:py-24 bg-white border-b border-border */
.ash-home__partners {
	position: relative;
	overflow: hidden;
	padding-block: 48px;
	border-bottom: 1px solid var(--border, rgba(15, 41, 87, 0.1));
	background-color: #fff;
}

@media (min-width: 768px) {
	.ash-home__partners {
		padding-block: 96px;
	}
}

/* text-center max-w-2xl mx-auto mb-14 */
.ash-home__partners-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 672px;
	margin-inline: auto;
	margin-bottom: 56px;
	text-align: center;
}

/* Le surtitre des partenaires porte mb-4 ; le titre n'a pas de mt-5. */
.ash-home__partners-head .ash-home__eyebrow {
	align-self: center;
	margin-bottom: 16px;
}

.ash-home__partners-head .ash-home__title {
	margin-top: 0;
}

/* Le chapô de cette section redescend à 16px au-delà de 768px. */
@media (min-width: 768px) {
	.ash-home__partners-head .ash-home__lead {
		font-size: 16px;
	}
}

/* relative w-full overflow-hidden py-4 */
.ash-home__marquee {
	position: relative;
	width: 100%;
	padding-block: 16px;
	overflow: hidden;
	user-select: none;
}

/* w-16 sm:w-32, dégradé blanc → transparent, de chaque côté. */
.ash-home__marquee-fade {
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 20;
	width: 64px;
	pointer-events: none;
}

.ash-home__marquee-fade--start {
	left: 0;
	background-image: linear-gradient(to right, #fff, transparent);
}

.ash-home__marquee-fade--end {
	right: 0;
	background-image: linear-gradient(to left, #fff, transparent);
}

@media (min-width: 640px) {
	.ash-home__marquee-fade {
		width: 128px;
	}
}

/* flex gap-0 w-max + animate-marquee, dont la durée est écrite en
   ligne dans le source : 14s, et non les 35s de la feuille compilée.

   Le défilement est une animation CSS, sans JavaScript : il est repris
   ici plutôt que renvoyé au lot des animations, la bande étant
   illisible à l'arrêt — vingt-huit logos alignés sur 4 872px. */
.ash-home__marquee-track {
	display: flex;
	width: max-content;
	animation: ash-marquee 14s linear infinite;
}

@keyframes ash-marquee {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

@media (hover: hover) {
	.ash-home__marquee:hover .ash-home__marquee-track {
		animation-play-state: paused;
	}
}

/* flex justify-start items-center gap-4 sm:gap-6 shrink-0 pe-4 sm:pe-6
   La bande est en dir="ltr" : pe- est donc un rembourrage à droite. */
.ash-home__marquee-group {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: flex-start;
	gap: 16px;
	padding-inline-end: 16px;
}

@media (min-width: 640px) {
	.ash-home__marquee-group {
		gap: 24px;
		padding-inline-end: 24px;
	}
}

/* w-[110px] sm:w-[125px] md:w-[135px] lg:w-[145px] xl:w-[150px]
   aspect-[4/3] shrink-0 */
.ash-home__partner {
	flex-shrink: 0;
	width: 110px;
	aspect-ratio: 4 / 3;
}

@media (min-width: 640px) {
	.ash-home__partner {
		width: 125px;
	}
}

@media (min-width: 768px) {
	.ash-home__partner {
		width: 135px;
	}
}

@media (min-width: 1024px) {
	.ash-home__partner {
		width: 145px;
	}
}

@media (min-width: 1280px) {
	.ash-home__partner {
		width: 150px;
	}
}

/* bg-white border border-slate-200/80 rounded-2xl md:rounded-[1.5rem]
   flex items-center justify-center overflow-hidden p-4 sm:p-5 */
.ash-home__partner-box {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 16px;
	overflow: hidden;
	border: 1px solid color-mix(in oklab, var(--ash-home-slate-200) 80%, transparent);
	border-radius: 16px;
	background-color: #fff;
}

@media (min-width: 640px) {
	.ash-home__partner-box {
		padding: 20px;
	}
}

@media (min-width: 768px) {
	.ash-home__partner-box {
		border-radius: 24px;
	}
}

.ash-home__partner-box img {
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: contain;
	scale: 1.05;
}

/* Deux logos reçoivent un agrandissement propre. Dans le source il est
   accroché à la clé, pas au fichier, et les deux cartes y sont
   interverties : le 1.3 est donc réglé sur la forme très large de REGA,
   et le 1.25 sur معين. Ici la clé désigne bien l'organisme, et
   l'agrandissement suit le logo — la bande reste identique au pixel. */
.ash-home__partner--rega img {
	scale: 1.3;
}

.ash-home__partner--mueen img {
	scale: 1.25;
}

/* Deux logos ajoutés par le client, très larges eux aussi (environ
   3,6 et 2,6 fois plus larges que hauts) : à l'échelle commune, ils
   n'occupent qu'une fine bande au milieu de la carte. Même réglage
   que REGA ; à 150px, le logo agrandi tient encore dans la carte. */
.ash-home__partner--nafith img,
.ash-home__partner--bureau-of-experts img {
	scale: 1.3;
}

/* =========================================================
   6. La présentation du cabinet
   ========================================================= */

/* py-14 md:py-24 bg-cream border-b border-border */
.ash-home__about {
	position: relative;
	overflow: hidden;
	padding-block: 56px;
	border-bottom: 1px solid var(--border, rgba(15, 41, 87, 0.1));
	background-color: var(--brand-cream, #f0f2f5);
}

@media (min-width: 768px) {
	.ash-home__about {
		padding-block: 96px;
	}
}

/* flex flex-col lg:grid lg:grid-cols-12 gap-8 lg:gap-16 items-start */
.ash-home__about-row {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 32px;
}

@media (min-width: 1024px) {
	.ash-home__about-row {
		display: grid;
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 64px;
	}

	.ash-home__about-panel {
		position: sticky;
		top: 112px;
		grid-column: span 5 / span 5;
	}

	.ash-home__about-media {
		grid-column: span 7 / span 7;
	}
}

.ash-home__about-panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	text-align: start;
}

/* h-1 w-20 my-5, navy → vert */
.ash-home__about-rule {
	width: 80px;
	height: 4px;
	margin-block: 20px;
	border-radius: 999px;
	background-image: linear-gradient(to right, var(--brand-navy), var(--brand-green));
}

/* mb-8 sous le chapô, puis les deux boutons côte à côte. */
.ash-home__about-panel .ash-home__lead {
	margin-bottom: 32px;
}

.ash-home__about-actions {
	display: flex;
	flex-direction: row;
	gap: 12px;
	width: 100%;
}

@media (min-width: 768px) {
	.ash-home__about-actions {
		width: auto;
	}
}

.ash-home__about-media {
	display: flex;
	flex-direction: column;
	width: 100%;
}

/* rounded-3xl overflow-hidden + aspect-[4/3] sm:aspect-[16/10]
   lg:aspect-[4/3] */
.ash-home__about-figure {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 24px;
	aspect-ratio: 4 / 3;
}

@media (min-width: 640px) {
	.ash-home__about-figure {
		aspect-ratio: 16 / 10;
	}
}

@media (min-width: 1024px) {
	.ash-home__about-figure {
		aspect-ratio: 4 / 3;
	}
}

.ash-home__about-figure img {
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* bg-gradient-to-t from-navy/30 via-transparent to-transparent */
.ash-home__about-veil {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(
		to top in oklab,
		color-mix(in oklab, var(--brand-navy) 30%, transparent) 0%,
		transparent 50%,
		transparent 100%
	);
}

/* =========================================================
   7. Les articles
   =========================================================

   Les cartes viennent de blog.css, chargée avant celle-ci. Seuls la
   grille et la hauteur de vignette changent : trois colonnes au lieu de
   deux, et 176px de haut à toutes les tailles là où la page des
   articles passe à 224 au-delà de 768px. */

/* py-14 md:py-24 bg-white border-b border-border */
.ash-home__blog {
	position: relative;
	overflow: hidden;
	padding-block: 56px;
	border-bottom: 1px solid var(--border, rgba(15, 41, 87, 0.1));
	background-color: #fff;
}

@media (min-width: 768px) {
	.ash-home__blog {
		padding-block: 96px;
	}
}

/* text-xs font-bold text-green inline-flex items-center gap-1.5 */
.ash-home__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--brand-green);
	font-size: 12px;
	font-weight: 700;
	line-height: calc(1 / 0.75);
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) {
	.ash-home__link:hover {
		text-decoration: underline;
	}
}

/* Défilement horizontal sous 768px, grille de trois au-delà. */
.ash-home__blog-list {
	display: flex;
	gap: 16px;
	padding-bottom: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.ash-home__blog-list::-webkit-scrollbar {
	display: none;
}

.ash-home__blog-list > .ash-blog__card {
	flex-shrink: 0;
	width: 78vw;
	scroll-snap-align: start;
}

@media (min-width: 768px) {
	.ash-home__blog-list {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px;
		padding-bottom: 0;
		overflow-x: visible;
	}

	.ash-home__blog-list > .ash-blog__card {
		width: auto;
	}

	/* h-44 sans md:h-56, contrairement à la page des articles. */
	.ash-home__blog-list .ash-blog__card-media {
		height: 176px;
	}
}

/* =========================================================
   8. La localisation
   ========================================================= */

/* py-14 md:py-24 bg-cream border-t border-slate-100 */
.ash-home__map {
	position: relative;
	overflow: hidden;
	padding-block: 56px;
	border-top: 1px solid var(--ash-home-slate-100);
	background-color: var(--brand-cream, #f0f2f5);
}

@media (min-width: 768px) {
	.ash-home__map {
		padding-block: 96px;
	}
}

/* flex flex-col lg:grid lg:grid-cols-12 gap-8 lg:gap-12 items-stretch */
.ash-home__map-row {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

@media (min-width: 1024px) {
	.ash-home__map-row {
		display: grid;
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 48px;
		align-items: stretch;
	}

	.ash-home__map-info {
		grid-column: span 5 / span 5;
	}

	.ash-home__map-media {
		grid-column: span 7 / span 7;
	}
}

.ash-home__map-info,
.ash-home__map-media {
	display: flex;
	flex-direction: column;
	width: 100%;
	text-align: start;
}

/* bg-white border border-slate-200/50 rounded-[2rem] p-6 md:p-8

   Pas d'align-items ici : dans une colonne flex, flex-start empêche les
   enfants de s'étirer, et le cadre de la carte s'effondrait sur son
   contenu — un iframe en largeur 100 % d'une boîte sans largeur propre.
   Mesuré à 302px pour 565 attendus. Le seul enfant qui doit rester
   collé au début est le surtitre, et .ash-home__eyebrow porte déjà son
   propre align-self. */
.ash-home__map-card {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 24px;
	border: 1px solid color-mix(in oklab, var(--ash-home-slate-200) 50%, transparent);
	border-radius: 32px;
	background-color: #fff;
}

@media (min-width: 768px) {
	.ash-home__map-card {
		padding: 32px;
	}
}

/* Le cadre de la carte : p-5 md:p-6, et une hauteur plancher. */
.ash-home__map-card--frame {
	justify-content: space-between;
	min-height: 380px;
	padding: 20px;
}

@media (min-width: 768px) {
	.ash-home__map-card--frame {
		min-height: 460px;
		padding: 24px;
	}
}

/* mt-5 text-xl sm:text-2xl font-extrabold font-display leading-tight

   Le source en fait un h3 ; le rang passe à h2 ici, la carte ouvrant sa
   section. La taille, elle, doit être forcée sous 768px : style.css y
   impose clamp(1.45rem, 5vw, 1.95rem) à tout h2, quand le source recevait
   la règle des h3 — 1.2rem. C'est cette dernière qu'il faut reproduire,
   sans quoi la correction de rang déplacerait le rendu. */
.ash-home__map-title {
	margin: 20px 0 0;
	color: var(--brand-navy);
	font-family: var(--font-display);
	font-size: 1.2rem !important;
	font-weight: 800;
	line-height: 1.5 !important;
}

@media (min-width: 768px) {
	.ash-home__map-title {
		font-size: 24px !important;
		line-height: calc(2 / 1.5) !important;
	}
}

/* text-xs text-muted-foreground mt-4 leading-loose */
.ash-home__map-lead {
	margin: 16px 0 0;
	color: var(--muted-foreground);
	font-size: 12px;
	line-height: 2;
}

/* space-y-6 sur la carte, space-y-4 pt-2 sur la liste. */
.ash-home__map-rows {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	margin-top: 32px;
	padding-top: 8px;
}

/* flex items-start gap-4 p-3 bg-slate-50 border border-slate-200/40
   rounded-2xl */
.ash-home__map-item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 12px;
	border: 1px solid color-mix(in oklab, var(--ash-home-slate-200) 40%, transparent);
	border-radius: 16px;
	background-color: var(--ash-home-slate-50);
	transition: border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) {
	.ash-home__map-item:hover {
		border-color: color-mix(in oklab, var(--brand-green) 20%, transparent);
	}
}

/* w-9 h-9 rounded-xl bg-green/10 text-green border border-green/10 */
.ash-home__map-icon {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid color-mix(in oklab, var(--brand-green) 10%, transparent);
	border-radius: 20px;
	background-color: color-mix(in oklab, var(--brand-green) 10%, transparent);
	color: var(--brand-green);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) {
	.ash-home__map-item:hover .ash-home__map-icon {
		background-color: var(--brand-green);
		color: #fff;
	}
}

.ash-home__map-text {
	flex: 1 1 0%;
	min-width: 0;
	text-align: start;
}

/* text-[9px] text-muted-foreground font-bold uppercase font-english */
.ash-home__map-label {
	color: var(--muted-foreground);
	font-family: var(--font-english, "IBM Plex Sans", system-ui, sans-serif);
	font-size: 9px;
	font-weight: 700;
	line-height: 2;
	text-transform: uppercase;
}

/* text-slate-900 font-extrabold text-xs inline-flex items-center
   gap-1.5 mt-0.5 */
.ash-home__map-value {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 2px;
	color: var(--ash-home-slate-900);
	font-size: 12px;
	font-weight: 800;
	line-height: calc(1 / 0.75);
	text-decoration: none;
	transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.ash-home__map-value svg {
	width: 10px;
	height: 10px;
	opacity: 0.75;
}

@media (hover: hover) {
	.ash-home__map-value--link:hover {
		color: var(--brand-green);
	}
}

/* rounded-2xl overflow-hidden border border-slate-200/60 flex-1
   min-h-[280px] md:min-h-[360px] */
.ash-home__map-embed {
	position: relative;
	flex: 1 1 0%;
	min-height: 280px;
	overflow: hidden;
	border: 1px solid color-mix(in oklab, var(--ash-home-slate-200) 60%, transparent);
	border-radius: 16px;
}

@media (min-width: 768px) {
	.ash-home__map-embed {
		min-height: 360px;
	}
}

.ash-home__map-embed iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 360px;
	border: none;
}

/* absolute bottom-4 start-4 z-10, Button variant par défaut :
   rounded-full bg-navy text-white font-bold text-xs h-10 border-none.
   Le rembourrage vaut 12px et non 20 — `.has-[>svg]:px-3:has(> svg)`
   l'emporte sur px-5 — et l'icône est ramenée à 16px. */
.ash-home__map-open {
	position: absolute;
	bottom: 16px;
	inset-inline-start: 16px;
	z-index: 10;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 40px;
	padding-inline: 12px;
	border: none;
	border-radius: 999px;
	background-color: var(--brand-navy);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: calc(1 / 0.75);
	text-decoration: none;
	white-space: nowrap;
	transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.ash-home__map-open svg {
	width: 16px;
	height: 16px;
}

@media (hover: hover) {
	.ash-home__map-open:hover {
		background-color: var(--brand-navy-dark, #071630);
	}
}

/* ---------- Accessibilité ---------- */

.ash-home a:focus-visible {
	outline: 2px solid var(--brand-green);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.ash-home * {
		transition: none !important;
	}

	.ash-home__marquee-track,
	.ash-home__hero-shot img,
	.ash-home__hero-flash.is-flashing,
	.ash-home__cursor {
		animation: none;
	}
}

/* ---------- Version anglaise ---------- */

/* tracking-* du source. La règle globale html[dir="rtl"] h1..h6,
   span, p, a, button { letter-spacing: normal !important } l'annule
   en arabe ; en anglais elle ne joue pas et la valeur du build
   s'applique (Tailwind 4.1.12 : tight -0.025em, wide 0.025em,
   wider 0.05em, widest 0.1em). Toutes les règles ci-dessous sont
   limitées à html[dir="ltr"] : la version arabe n'en reçoit aucune. */

/* Home.tsx l.155 : tracking-[0.22em]. */
html[dir="ltr"] .ash-home__hero-eyebrow {
	letter-spacing: 0.22em;
}

/* Home.tsx l.171 : tracking-wide. La règle h1 de theme.css
   (letter-spacing: normal) est dans @layer base, l'utilitaire dans
   @layer utilities : c'est l'utilitaire qui l'emporte. */
html[dir="ltr"] .ash-home__hero-title {
	letter-spacing: 0.025em;
}

/* Home.tsx l.196 : tracking-tight sur le div, hérité en anglais par
   le span du chiffre. */
html[dir="ltr"] .ash-home__stat-value {
	letter-spacing: -0.025em;
}

/* Home.tsx l.220, 333, 418, 453, 559 : tracking-wider. */
html[dir="ltr"] .ash-home__eyebrow {
	letter-spacing: 0.05em;
}

/* Home.tsx l.589 : tracking-wider. */
html[dir="ltr"] .ash-home__map-label {
	letter-spacing: 0.05em;
}
