/* AvocatSuite — page d'accueil de vente (package « Présence Avocat »). Chargée seulement sur l'accueil FR/AR.
 * Champs de couleur pleins (nuit pétrole, zellige clair, sable, craie), pétrole #0b5e6d pour l'action sur fond
 * clair, safran pour le prix et « Contacter » sur fond nuit, ocre #c8963e pour le décor (pictos, motif).
 * Aucun dégradé, aucun flou ; ombre seulement sous la carte du package soulevée au survol.
 * RTL : propriétés logiques ; titres en Readex Pro (latin et arabe, sans empattement, `--display` de site.css). */

:root {
	--night: #0a3a43;
	--night-2: #0e4652;
	--zellige: #d6ece8;
	--sand: #f3e9d7;
	--stone: #ece8e1;
	--chalk: #f5f7f6;
	--ink: #14181a;
	--ochre: #c8963e;
	--saffron: #f2b33d;
	--on-night: #ffffff;
	--on-night-soft: #d6ece8;
	--section-y: clamp(80px, 10vw, 144px);
	--ease-out: cubic-bezier(.23, 1, .32, 1);
	--fs-h2: clamp(26px, 3.8vw, 56px);
	--fs-h3: clamp(24px, 2.4vw, 34px);
	--fs-h2s: clamp(26px, 3vw, 44px);
	--fs-figure: clamp(40px, 3.6vw, 56px);
	--fs-text: 18px;
	/* Motif zellige : étoile à huit branches (deux carrés croisés) reliée à ses voisines, trait ocre. */
	--zellige-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%23c8963e' stroke-width='1.5'%3E%3Cpath d='M26 26h36v36H26z'/%3E%3Cpath d='M44 18.5 69.5 44 44 69.5 18.5 44z'/%3E%3Cpath d='M44 0v18.5M44 69.5V88M0 44h18.5M69.5 44H88M0 0l26 26M88 0 62 26M0 88l26-26M88 88 62 62'/%3E%3C/g%3E%3C/svg%3E");
}

.home .as-sections { font-size: var(--fs-text); }
.as-sections > .wp-block-group { padding-block: var(--section-y); }
.as-sections h2, .as-sections h3, .as-sections h4 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; }
.as-sections h2 { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -0.03em; max-inline-size: 22ch; }
.as-sections h3 { font-size: var(--fs-h3); line-height: 1.14; }
:lang(ar) .as-sections h2, :lang(ar) .as-sections h3, :lang(ar) .as-sections h4 { letter-spacing: 0; line-height: 1.32; }
html { scroll-behavior: smooth; }
.as-sections [id] { scroll-margin-block-start: 16px; }
::selection { background: var(--saffron); color: var(--night); }

.as-section-head { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 20px clamp(24px, 5vw, 72px); align-items: end; margin-block-end: clamp(48px, 6vw, 80px); }
.as-section-head h2 { max-inline-size: none; }
.as-section-head p { max-inline-size: 46ch; font-size: 20px; }
@media (max-width: 860px) { .as-section-head { grid-template-columns: minmax(0, 1fr); } }

/* Boutons de la page ------------------------------------------------------------------------------ */
.as-sections .wp-block-button__link { min-block-size: 52px; padding: 14px 26px; font-size: 18px; font-weight: 600; border-width: 2px; transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .16s var(--ease-out); }
.as-sections .wp-block-button__link:active, .as-button--large:active { transform: scale(.97); }
.as-button--large { min-block-size: 52px; padding: 14px 28px; font-size: 18px; font-weight: 600; }

/* 1. Héros : champ nuit, titre en grand, prix en safran, motif zellige du côté de fin -------------- */
.as-sections > .as-offer-hero {
	position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--on-night);
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center;
	min-block-size: min(calc(100svh - 72px), 820px); padding-block: clamp(56px, 7vw, 104px);
}
.as-offer-hero::before {
	content: ""; position: absolute; z-index: -1; inset-block: 0; inset-inline-end: 0; inline-size: 46%;
	background-image: var(--zellige-tile); background-size: 88px 88px; opacity: .16;
}
.as-offer-hero__text { grid-column: 1 / span 8; }
/* Titre en deux questions (formulation de Nabil) : chaque question tient sur une ou deux lignes, sans équilibrage forcé. */
.as-offer-hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 3.6vw, 54px); line-height: 1.06; letter-spacing: -0.03em; color: var(--on-night); text-wrap: pretty; max-inline-size: 19em; }
:lang(ar) .as-offer-hero h1 { font-weight: 600; font-size: clamp(32px, 3.7vw, 56px); line-height: 1.32; letter-spacing: 0; }
.as-offer-hero__lead { margin-block-start: 28px; max-inline-size: 54ch; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.6; color: var(--on-night-soft); }
.as-offer-hero__price { margin-block-start: 32px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; font-size: 18px; color: var(--on-night); }
.as-offer-hero__price strong { font-family: var(--display); font-weight: 600; font-size: var(--fs-figure); line-height: 1; color: var(--saffron); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.as-offer-hero__price strong { font-weight: 700; font-size: clamp(30px, 2.9vw, 44px); letter-spacing: -0.03em; } /* Le prix reste sous le titre dans la hiérarchie. */
:lang(ar) .as-offer-hero__price strong { font-family: var(--display); letter-spacing: 0; }
.as-offer-hero .wp-block-buttons { margin-block-start: 32px; gap: 12px 16px; }
.as-offer-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--saffron); border-color: var(--saffron); color: var(--night); }
.as-offer-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: #ffc85c; border-color: #ffc85c; color: var(--night); }
.as-offer-hero .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; border-color: rgba(255, 255, 255, .7); color: var(--on-night); }
.as-offer-hero .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--on-night); border-color: var(--on-night); color: var(--night); }
.as-offer-hero :focus-visible { outline-color: var(--saffron); }
.as-offer-hero a:not(.wp-block-button__link) { color: var(--on-night); }

/* Constellation : le package au centre, deux étapes autour, dans des cercles clairs. */
.as-offer-hero__visual { grid-column: 9 / -1; position: relative; aspect-ratio: 1; inline-size: 100%; max-inline-size: 520px; justify-self: end; }
.as-orb { position: absolute; margin: 0; border-radius: 50%; display: grid; place-items: center; }
.as-orb img { display: block; inline-size: 74%; block-size: auto; }
.as-orb--main { inset-block-start: 10%; inset-inline-start: 8%; inline-size: 72%; aspect-ratio: 1; background: var(--sand); }
.as-orb--a { inset-block-start: 0; inset-inline-end: 0; inline-size: 34%; aspect-ratio: 1; background: var(--zellige); }
.as-orb--b { inset-block-end: 2%; inset-inline-end: 6%; inline-size: 30%; aspect-ratio: 1; background: var(--on-night); }
@media (max-width: 960px) {
	.as-sections > .as-offer-hero { grid-template-columns: minmax(0, 1fr); min-block-size: 0; row-gap: 40px; padding-block: 48px 56px; }
	.as-offer-hero__text, .as-offer-hero__visual { grid-column: 1; }
	.as-offer-hero__visual { max-inline-size: 300px; justify-self: center; }
	.as-offer-hero::before { inline-size: 100%; opacity: .14; }
}
@media (max-width: 760px) {
	.as-offer-hero h1 { font-size: clamp(24px, 6.6vw, 32px); line-height: 1.1; letter-spacing: -0.025em; }
	:lang(ar) .as-offer-hero h1 { font-size: clamp(25px, 6.8vw, 32px); line-height: 1.4; letter-spacing: 0; }
}
@media (max-width: 520px) {
	.as-offer-hero .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.as-offer-hero .wp-block-button { inline-size: 100%; }
	.as-offer-hero .wp-block-button__link { inline-size: 100%; }
	.as-offer-hero__visual { max-inline-size: 240px; }
}

/* Entrée du héros (une fois, au chargement) puis flottement lent des pictos. */
@keyframes as-rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes as-pop { from { opacity: 0; transform: scale(.92); } }
@keyframes as-float { to { transform: translateY(-10px); } }
.as-offer-hero__text > * { animation: as-rise .8s var(--ease-out) both; }
.as-offer-hero__text > :nth-child(2) { animation-delay: .09s; }
.as-offer-hero__text > :nth-child(3) { animation-delay: .18s; }
.as-offer-hero__text > :nth-child(4) { animation-delay: .27s; }
.as-orb { animation: as-pop .9s var(--ease-out) both; }
.as-orb--main { animation-delay: .15s; }
.as-orb--a { animation-delay: .32s; }
.as-orb--b { animation-delay: .44s; }
.as-orb img { animation: as-float 5.5s ease-in-out 1.2s infinite alternate; }
.as-orb--a img { animation-duration: 6.5s; }
.as-orb--b img { animation-duration: 4.8s; }

/* 2. Trois difficultés : champ zellige clair, lignes larges (picto, titre, phrase) ------------------- */
.as-sections > .as-problems { background: var(--zellige); }
.as-problem { display: grid; grid-template-columns: clamp(96px, 11vw, 160px) minmax(0, 5fr) minmax(0, 6fr); gap: 16px clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(24px, 3vw, 40px); }
.as-problem + .as-problem { margin-block-start: 8px; }
.as-problem .as-illus { margin: 0; aspect-ratio: 1; border-radius: 50%; background: var(--chalk); display: grid; place-items: center; transition: transform .4s var(--ease-out); }
.as-problem .as-illus img { inline-size: 78%; block-size: auto; }
.as-problem__text { display: contents; }
.as-problem h3 { font-size: var(--fs-h3); max-inline-size: 20ch; }
.as-problem p { max-inline-size: 52ch; }
@media (hover: hover) and (pointer: fine) { .as-problem:hover .as-illus { transform: rotate(-4deg) scale(1.04); } }
@media (max-width: 860px) {
	.as-problem { grid-template-columns: 88px minmax(0, 1fr); align-items: start; }
	.as-problem__text { display: block; }
	.as-problem p { margin-block-start: 10px; }
}

/* 3. La réponse : trois piliers en grande échelle, chacun avec une vraie preuve d'interface -------- */
.as-sections > .as-answer { background: var(--ground); }
.as-pillar { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 96px); align-items: center; }
.as-pillar + .as-pillar { margin-block-start: clamp(64px, 8vw, 120px); }
.as-pillar--2 .as-pillar__text { order: 2; }
.as-pillar h3 { font-size: var(--fs-h2s); max-inline-size: none; }
.as-pillar__text p { margin-block-start: 20px; max-inline-size: 46ch; }
.as-pillar__note { color: var(--primary); font-weight: 500; }
.as-pillar__visual { padding: clamp(20px, 3.5vw, 48px); border-radius: 4px; background: var(--sand); }
.as-pillar--2 .as-pillar__visual { background: var(--zellige); }
.as-pillar--3 .as-pillar__visual { background: var(--night); }
.as-pillar--3 .as-fragment-caption { color: var(--on-night-soft); }
.as-pillar__visual .as-states__label { color: var(--ink); }
.as-answer__closing { margin-block-start: clamp(64px, 8vw, 112px); max-inline-size: 52ch; font-family: var(--display); font-size: var(--fs-h3); line-height: 1.3; }
:lang(ar) .as-answer__closing { line-height: 1.6; }
@media (max-width: 960px) {
	.as-pillar { grid-template-columns: minmax(0, 1fr); }
	.as-pillar--2 .as-pillar__text { order: 0; }
	.as-pillar__visual { margin-inline: calc(-1 * var(--pad)); border-radius: 0; padding: 24px var(--pad); }
}

/* Fiche d'établissement générique (data-ui). */
.as-ui--place .as-ui__row { gap: 10px; font-size: 14px; }
.as-ui--place .as-ui__row .as-ic { color: var(--primary); }
.as-place__tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 16px 4px; }
.as-place__tags span { padding: 2px 10px; border-radius: 2px; background: var(--primary-tint); color: var(--primary-hover); font-size: 13px; font-weight: 500; }
.as-place__actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px 16px; }
.as-place__actions .as-ui__btn { gap: 6px; }
.as-place__checks { list-style: none; display: grid; gap: 8px; margin-block-start: 20px; font-size: 16px; }
.as-place__checks li { display: flex; align-items: center; gap: 10px; }
.as-place__checks .as-ic { color: var(--ink); background: var(--saffron); border-radius: 50%; padding: 3px; inline-size: 22px; block-size: 22px; }

/* 4. Déroulé : liste ordonnée, ligne de progression liée au défilement, repère du moment ------------ */
.as-sections > .as-route { background: var(--stone); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(32px, 6vw, 96px); align-items: start; }
.as-route__aside { position: sticky; inset-block-start: 32px; }
.as-route h2, .as-faq h2 { font-size: var(--fs-h2s); max-inline-size: none; }
.as-route__aside p { margin-block-start: 20px; max-inline-size: 40ch; }
.as-route__counter { margin-block-start: 40px; display: grid; gap: 8px; }
.as-route__when { font-family: var(--display); font-size: var(--fs-figure); line-height: 1; color: var(--night); font-weight: 600; }
.as-route__now { font-size: 18px; font-weight: 600; color: var(--primary-hover); min-block-size: 1.6em; }
.as-route__bar { display: flex; gap: 6px; margin-block-start: 8px; max-inline-size: 320px; }
.as-route__bar i { flex: 1; block-size: 8px; border-radius: 1px; background: rgba(10, 58, 67, .16); transition: background-color .3s ease; }
.as-route__bar i.is-on { background: var(--primary); }
.as-route__when, .as-route__now { transition: opacity .25s ease; }
.as-route__counter.is-changing .as-route__when, .as-route__counter.is-changing .as-route__now { opacity: 0; }

.as-route__steps { list-style: none; margin: 0; padding: 0; position: relative; counter-reset: as-step; display: grid; gap: clamp(40px, 5vw, 64px); --progress: 0; }
.as-route__steps::before, .as-route__steps::after { content: ""; position: absolute; inset-block: 48px; inset-inline-start: calc(clamp(72px, 8vw, 104px) / 2 - 2px); inline-size: 4px; border-radius: 2px; }
.as-route__steps::before { background: rgba(10, 58, 67, .14); }
.as-route__steps::after { background: var(--primary); transform-origin: top; transform: scaleY(var(--progress)); transition: transform .2s linear; }
.no-js .as-route__steps::after, .as-route__steps:not([data-as-progress])::after { transform: none; }
.as-step { counter-increment: as-step; position: relative; z-index: 1; display: grid; grid-template-columns: clamp(72px, 8vw, 104px) minmax(0, 1fr); gap: 20px clamp(20px, 3vw, 40px); align-items: start; }
.as-step .as-illus { margin: 0; position: relative; aspect-ratio: 1; border-radius: 50%; background: var(--chalk); display: grid; place-items: center; transition: background-color .3s ease, transform .4s var(--ease-out); }
.as-step .as-illus img { inline-size: 76%; block-size: auto; }
.as-step .as-illus::after { content: counter(as-step); position: absolute; inset-block-start: -4px; inset-inline-end: -4px; inline-size: 30px; block-size: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: var(--on-night); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; transition: background-color .3s ease, color .3s ease; }
.as-step.is-current .as-illus { background: var(--ground); transform: scale(1.06); }
.as-step.is-current .as-illus::after, .as-step.is-past .as-illus::after { background: var(--saffron); color: var(--night); }
.as-step h3 { font-size: var(--fs-h3); padding-block-start: 12px; }
.as-step p { margin-block-start: 12px; max-inline-size: 52ch; }
.as-step strong { color: var(--primary-hover); }
@media (max-width: 960px) {
	.as-sections > .as-route { grid-template-columns: minmax(0, 1fr); }
	.as-route__aside { position: static; }
	.as-route__counter { display: none; }
}

/* 5. Package : champ nuit, carte claire qui se soulève, prix sur un pavé safran -------------------- */
.as-sections > .as-package { background: var(--night); color: var(--on-night); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(32px, 6vw, 96px); align-items: start; }
.as-package h2 { color: var(--on-night); }
.as-package__aside, .as-contact__aside { position: sticky; inset-block-start: 32px; }
.as-package__aside > p { margin-block-start: 20px; max-inline-size: 40ch; color: var(--on-night-soft); font-size: 20px; }
.as-package__aside .as-illus { margin: 40px 0 0; inline-size: clamp(160px, 16vw, 220px); aspect-ratio: 1; border-radius: 50%; background: var(--sand); display: grid; place-items: center; }
.as-package__aside .as-illus img { inline-size: 76%; block-size: auto; }
.as-package__terms { margin-block-start: 48px; display: grid; gap: 8px; max-inline-size: 44ch; color: var(--on-night-soft); font-size: 15px; }
.as-package__terms h3 { font-family: var(--font); font-size: 18px; line-height: 1.4; color: var(--on-night); }
:lang(ar) .as-package__terms h3 { font-family: var(--font-ar); }
.as-package__terms p + h3 { margin-block-start: 16px; }

.as-package__card {
	position: relative; background: var(--ground); color: var(--ink); border-radius: 6px; padding: clamp(28px, 4vw, 56px);
	transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.as-package__card::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; block-size: 8px; background: var(--ochre); border-radius: 6px 6px 0 0; }
@media (hover: hover) and (pointer: fine) {
	.as-package__card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(0, 0, 0, .32); } /* taste-skill-ignore : ombre seulement pendant le survol, quand la carte se soulève (objet qui flotte), aucune au repos */
}
.as-package__card h3 { font-size: var(--fs-h2s); }
.as-package__subname { margin-block-start: 6px; color: var(--muted); }
.as-price { margin-block-start: 28px; }
.as-sections .as-price { font-family: var(--display); font-weight: 600; font-size: clamp(56px, 6vw, 88px); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--night); }
:lang(ar) .as-sections .as-price { font-family: var(--display); font-weight: 700; letter-spacing: 0; }
.as-price { display: inline-block; padding: .06em .22em .1em; background: var(--saffron); border-radius: 3px; }
.as-price-terms { margin-block-start: 14px; font-size: 20px; font-weight: 600; }
.as-package__group { margin-block-start: 28px; padding-block-start: 24px; border-block-start: 2px solid var(--sand); }
.as-package__group h4 { font-family: var(--font); font-size: 18px; font-weight: 700; color: var(--primary-hover); letter-spacing: 0; }
:lang(ar) .as-package__group h4 { font-family: var(--font-ar); }
.as-package__group ul { list-style: none; margin-block-start: 12px; display: grid; gap: 10px; }
.as-package__group li { position: relative; padding-inline-start: 30px; font-size: 18px; line-height: 1.5; }
.as-package__group li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .2em; inline-size: 20px; block-size: 20px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.as-package__fixed { margin-block-start: 28px; font-weight: 600; }
.as-package__card .wp-block-buttons { margin-block-start: 20px; }
.as-package__card .wp-block-button { inline-size: 100%; }
.as-package__card .wp-block-button__link { inline-size: 100%; min-block-size: 56px; font-size: 18px; }
.as-package__after { margin-block-start: 14px; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) {
	.as-sections > .as-package { grid-template-columns: minmax(0, 1fr); }
	.as-package__aside .as-illus { display: none; }
	.as-package__aside, .as-contact__aside { position: static; }
	.as-package__card { margin-inline: calc(-1 * var(--pad) + 8px); }
}

/* 6. Questions : grand titre à gauche, questions décalées vers la fin -------------------------------- */
.as-sections > .as-faq { background: var(--ground); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; }

.as-faq__list { display: grid; gap: 8px; }
.as-faq details { border-radius: 4px; transition: background-color .2s ease; }
.as-faq details[open] { background: var(--chalk); }
.as-faq summary { position: relative; display: block; cursor: pointer; padding: 20px 56px 20px 20px; font-size: 20px; font-weight: 600; line-height: 1.4; list-style: none; border-radius: 4px; }
[dir="rtl"] .as-faq summary { padding: 20px 20px 20px 56px; }
.as-faq summary::-webkit-details-marker { display: none; }
.as-faq summary::after { content: ""; position: absolute; inset-inline-end: 22px; inset-block-start: 50%; inline-size: 10px; block-size: 10px; border-inline-end: 2px solid currentColor; border-block-end: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease-out); }
.as-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.as-faq summary:hover { color: var(--primary); }
.as-faq details > p { padding: 0 20px 24px; max-inline-size: 60ch; animation: as-rise .35s var(--ease-out) both; }
@media (max-width: 960px) { .as-sections > .as-faq { grid-template-columns: minmax(0, 1fr); } .as-faq summary { font-size: 18px; } }

/* 7. Contact intégré : champ zellige, formulaire sur panneau blanc, la suite à côté ---------------- */
.as-sections > .as-contact { background: var(--zellige); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px clamp(32px, 6vw, 96px); align-items: start; }
.as-contact__main > p { margin-block-start: 20px; max-inline-size: 48ch; font-size: 20px; }
.as-contact .as-form { margin-block-start: 36px; padding: clamp(24px, 3.5vw, 44px); background: var(--ground); border-radius: 6px; }
.as-form__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 20px; }
.as-form__grid .as-field--message, .as-form__grid .as-form__reach { grid-column: 1 / -1; }
.as-form__reach { margin-block-start: -6px; }
.as-form--home .as-field label { font-size: 15px; font-weight: 600; }
.as-form--home .as-field--consent label { font-weight: 400; }
.as-form--home .as-field input:not([type="radio"]):not([type="checkbox"]), .as-form--home .as-field textarea { min-block-size: 50px; font-size: 18px; transition: border-color .15s ease, box-shadow .15s ease; }
.as-form--home .as-field input:not([type="radio"]):not([type="checkbox"]):hover, .as-form--home .as-field textarea:hover { border-color: var(--ink); }
.as-form--home .as-field input:focus-visible, .as-form--home .as-field textarea:focus-visible { border-color: var(--primary); outline: 2px solid var(--primary); outline-offset: 1px; }
.as-form--home .as-form__intro { font-size: 15px; color: var(--ink); background: var(--sand); padding: 10px 14px; border-radius: 3px; }
.as-form--home .as-field__help, .as-form--home .as-form__legal { font-size: 15px; color: #4a4f53; }
.as-form__actions { margin: 0; }
.as-form__actions .as-button { inline-size: 100%; }
.as-form--home .as-form__result { font-size: 18px; }
.as-contact__aside { padding-block-start: 8px; }
.as-contact__aside .as-illus { margin: 0 0 28px; inline-size: clamp(140px, 14vw, 200px); aspect-ratio: 1; border-radius: 50%; background: var(--chalk); display: grid; place-items: center; }
.as-contact__aside .as-illus img { inline-size: 76%; block-size: auto; }
.as-contact__aside ol { list-style: none; counter-reset: as-next; display: grid; gap: 18px; margin-block-start: 20px; }
.as-contact__aside li { counter-increment: as-next; position: relative; padding-inline-start: 48px; min-block-size: 34px; padding-block-start: 4px; }
.as-contact__aside li::before { content: counter(as-next); position: absolute; inset-inline-start: 0; inset-block-start: 0; inline-size: 34px; block-size: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: var(--on-night); font-weight: 700; font-size: 15px; }
@media (max-width: 960px) {
	.as-sections > .as-contact { grid-template-columns: minmax(0, 1fr); }
	.as-contact .as-form { margin-inline: calc(-1 * var(--pad) + 8px); }
}
@media (max-width: 600px) { .as-form__grid { grid-template-columns: minmax(0, 1fr); } }

/* 8. Lien vers l'annuaire pour le public : une bande compacte ------------------------------------- */
.as-sections > .as-public { background: var(--chalk); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-block: clamp(48px, 6vw, 72px); }
.as-public h2 { font-size: var(--fs-h3); max-inline-size: none; }
.as-public p { margin-block-start: 10px; max-inline-size: 60ch; }
.as-public .wp-block-button.is-style-outline .wp-block-button__link { border-color: var(--primary); color: var(--primary); }
.as-public .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--primary); color: #fff; }
.home .as-footer { margin-block-start: 0; }

/* Barre basse (téléphone) : « Nous contacter » au pouce une fois le héros passé. */
.as-dock { display: none; }
@media (max-width: 760px) {
	.js .as-dock:not([hidden]) {
		position: fixed; z-index: 30; inset-inline: 0; inset-block-end: 0; display: flex; align-items: center; gap: 16px;
		padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: var(--night);
		animation: as-dock-in .3s var(--ease-out) both;
	}
	.as-dock .as-button { flex: 1; min-block-size: 48px; background: var(--saffron); border-color: var(--saffron); color: var(--night); font-weight: 600; }
	.as-dock__link { color: var(--on-night); font-size: 15px; padding-block: 12px; }
	.home { padding-block-end: 72px; }
}
@keyframes as-dock-in { from { transform: translateY(100%); } }

/* Entrées au défilement (titre, texte puis visuel ; une fois). Le contenu reste visible sans script. */
.as-sections .as-reveal.is-pending > * { opacity: 0; transform: translateY(24px); }
.as-sections .as-reveal.is-in > * { transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.as-sections .as-reveal.is-in > :nth-child(2) { transition-delay: .08s; }
.as-sections .as-reveal.is-in > :nth-child(3) { transition-delay: .16s; }
.as-sections .as-reveal.is-in > :nth-child(4) { transition-delay: .24s; }
.as-package__card.is-pending { opacity: 0; transform: translateY(40px) scale(.98); }
.as-package__card.is-in { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), box-shadow .35s var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.as-offer-hero__text > *, .as-orb, .as-orb img, .as-faq details > p, .as-dock { animation: none !important; }
	.as-sections .as-reveal.is-pending > *, .as-package__card.is-pending { opacity: 1; transform: none; }
	.as-route__steps::after { transform: none; }
	.as-package__card:hover { transform: none; }
}

/* Éditeur : pas d'animation, sections lisibles. */
.editor-styles-wrapper .as-offer-hero__text > *, .editor-styles-wrapper .as-orb, .editor-styles-wrapper .as-orb img { animation: none; }
@media (max-width: 760px) { .as-answer__closing { font-size: 22px; } }
