/* Start custom CSS *//* Estimation (page 510, Figma Estimation-step1/2/3) — états et éléments créés par maison-harri-scripts/js/mh-5-estimation.js. Sélecteurs par ID (Avancé > ID) pour passer devant les styles des éléments. */

/* Stepper : étape en cours = rond or + libellé marine ; étape faite = rond beige + coche */
#mh-est-stepper > a { cursor: pointer; transition: opacity 0.2s; }
#mh-est-stepper > a:hover { opacity: 0.8; }
#mh-est-stepper > a.is-current { color: var(--mh-primary) !important; }
#mh-est-stepper > a.is-current > span, #mh-est-stepper > a.is-current > p { font-weight: 500; }
#mh-est-stepper > a.is-current > div { background-color: var(--mh-accent) !important; border-color: var(--mh-accent) !important; color: var(--mh-primary); }
#mh-est-stepper > a.is-current > div span { font-weight: 500; }
#mh-est-stepper > a.is-done > div { background-color: #DDD5C8 !important; border-color: #DDD5C8 !important; }
#mh-est-stepper > a.is-done > div > span { display: none; }
#mh-est-stepper > a.is-done > div > .e-svg-base, #mh-est-stepper > a.is-done > div > div { display: inline-block !important; }

/* Libellés : astérisque rouge, lien souligné */
#mh-estimation label strong { color: #B34C4B; font-weight: inherit; }
#mh-estimation label u { text-decoration: underline; }
#mh-estimation input::placeholder, #mh-estimation textarea::placeholder { color: #6B7280; opacity: 1; }
#mh-estimation input[type="checkbox"]:checked { background-color: var(--mh-accent) !important; border-color: var(--mh-accent) !important; }
#est-etape-3 p a { color: var(--mh-primary); font-weight: 500; text-decoration: underline; }

/* Étape 1 : 2 x 2 champs (écart vertical non exporté par Elementor) */
#est-etape-1 > div:first-child { row-gap: 24px; column-gap: 36px; }

/* Étape 2 : 6 cartes (3 x 2) ; survol et carte choisie = bord or, icône or, libellé Jost 700 14px #080C39 (Figma) */
#est-etape-2 > div:first-child { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 767px) { #est-etape-2 > div:first-child { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
#est-etape-2 > div:first-child > :has(> input:checked) { border-color: var(--mh-accent) !important; background-color: var(--mh-surface) !important; color: var(--mh-accent) !important; }
#est-etape-2 > div:first-child > :has(> input:checked) > span, #est-etape-2 > div:first-child > :has(> input:checked) > p, #est-etape-2 > div:first-child > div:hover > span, #est-etape-2 > div:first-child > div:hover > p { color: #080C39; font-weight: 700; font-size: 14px; line-height: 20px; }
#est-etape-2 > div:first-child > :has(> input:focus-visible) { outline: 2px solid var(--mh-accent); outline-offset: 2px; }

/* Étape 2 : icônes Figma (PNG, media 529-534) utilisées comme masques : gris par défaut, or (gold 500) au survol et sur la carte choisie */
#est-etape-2 > div:first-child > div > div { width: 24px !important; height: 24px !important; background-color: #A4A6B6; -webkit-mask: var(--mh-ico) center / 24px 24px no-repeat; mask: var(--mh-ico) center / 24px 24px no-repeat; transition: background-color 0.2s; }
#est-etape-2 > div:first-child > div > div svg { display: none; }
#est-etape-2 > div:first-child > div:hover > div, #est-etape-2 > div:first-child > div:has(> input:checked) > div { background-color: var(--mh-accent); }
#est-etape-2 [data-interaction-id="1db4dd0b"] { --mh-ico: url("/wp-content/uploads/2026/10/estimation-type-appartement.png"); }
#est-etape-2 [data-interaction-id="7713e5c0"] { --mh-ico: url("/wp-content/uploads/2026/10/estimation-type-maison.png"); }
#est-etape-2 [data-interaction-id="4338c418"] { --mh-ico: url("/wp-content/uploads/2026/10/estimation-type-hotel-particulier.png"); }
#est-etape-2 [data-interaction-id="46daefed"] { --mh-ico: url("/wp-content/uploads/2026/10/estimation-type-immeuble.png"); }
#est-etape-2 [data-interaction-id="15d4b6ed"] { --mh-ico: url("/wp-content/uploads/2026/10/estimation-type-chateau.png"); }
#est-etape-2 [data-interaction-id="17f29ca8"] { --mh-ico: url("/wp-content/uploads/2026/10/estimation-type-autre.png"); }

/* Étape 3 : calendrier */
.mh-cal { font-family: var(--mh-font-body), sans-serif; color: var(--mh-primary); }
.mh-cal.is-loading { min-height: 281px; background: linear-gradient(90deg, #FFFFFF 0%, #FAF7F3 50%, #FFFFFF 100%); }
.mh-cal-tete { display: flex; align-items: center; justify-content: space-between; height: 53px; padding: 0 24px; border-bottom: 1px solid #E9D9C3; }
#mh-estimation .mh-cal-mois { margin: 0; font-size: 14px; font-weight: 600; line-height: 20px; letter-spacing: 3.6px; text-transform: uppercase; color: var(--mh-primary); }
.mh-cal-nav { width: 28px; height: 28px; padding: 0; border: 0; background: none; color: var(--mh-primary); font-size: 22px; line-height: 1; cursor: pointer; }
.mh-cal-nav:disabled { color: #C9CAD3; cursor: default; }
.mh-cal-grille { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 4px; padding: 12px 24px 18px; }
#mh-estimation .mh-cal-jsem { padding: 6px 0 8px; font-size: 11px; line-height: 16px; color: #6A6C80; text-align: center; }
.mh-cal-jour { height: 30px; padding: 0; border: 0; background: none; font: 400 13px/30px var(--mh-font-body), sans-serif; color: #C9CAD3; text-align: center; cursor: default; }
.mh-cal-jour.is-libre { color: var(--mh-primary); cursor: pointer; transition: background-color 0.2s; }
.mh-cal-jour.is-libre:hover { background-color: #FAF7F3; }
.mh-cal-jour.is-selected, .mh-cal-jour.is-selected:hover { background-color: var(--mh-accent); color: var(--mh-primary); font-weight: 500; }
.mh-cal-jour:focus-visible, .mh-cal-nav:focus-visible, .mh-slot:focus-visible { outline: 2px solid var(--mh-accent); outline-offset: 1px; }

/* Étape 3 : créneaux du jour choisi */
.mh-slots { padding: 24px; border: 1px solid #E9D9C3; background: var(--mh-surface); }
#mh-estimation .mh-slots-titre { margin: 0 0 16px; font: 600 12px/16px var(--mh-font-body), sans-serif; letter-spacing: 3.6px; text-transform: uppercase; color: var(--mh-primary); text-align: center; }
.mh-slots-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
/* Écart titre → créneaux : la marge du titre (p) est annulée par un « p { margin-bottom: 0 !important } » global (frontend.css d'une extension) ; l'écart est porté par la grille (note E1 du designer) */
#mh-estimation .mh-slots-grille { margin-block-start: 16px; }
.mh-slot { height: 35px; padding: 0; border: 1px solid #E9D9C3; background: var(--mh-surface); font: 400 13px/33px var(--mh-font-body), sans-serif; color: #6A6C80; cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.mh-slot:hover { border-color: var(--mh-accent); }
.mh-slot.is-selected { background: var(--mh-accent); border-color: var(--mh-primary); color: var(--mh-primary); }
#mh-estimation .mh-resa-statut { margin: 12px 0 0; font: 400 13px/20px var(--mh-font-body), sans-serif; color: var(--mh-primary); text-align: center; }
#mh-estimation .mh-resa-statut.is-erreur { color: var(--mh-error); }

/* Confirmation après réservation */
.mh-est-ok { padding: 40px; border: 1px solid var(--mh-accent); background: var(--mh-surface); font-family: var(--mh-font-body), sans-serif; }
#mh-estimation .mh-est-ok-label { margin: 0; font-size: 14px; font-weight: 500; line-height: 20px; letter-spacing: 4.2px; text-transform: uppercase; color: #86663A; }
#mh-estimation .mh-est-ok-titre { margin: 16px 0 0; font: italic 500 34px/40px var(--mh-font-heading), serif; letter-spacing: 0; color: var(--mh-primary); }
.mh-est-ok-boite { margin-top: 24px; padding: 20px 22px; border: 1px solid #E9D9C3; background: #FAF7F3; }
#mh-estimation .mh-est-ok-k { margin: 0; font-size: 11px; line-height: 16px; letter-spacing: 2.2px; text-transform: uppercase; color: #494949; }
#mh-estimation .mh-est-ok-j { margin: 6px 0 0; font-size: 18px; font-weight: 500; line-height: 26px; color: var(--mh-primary); }
#mh-estimation .mh-est-ok-h { margin: 0; font-size: 16px; line-height: 24px; color: var(--mh-primary); }
#mh-estimation .mh-est-ok-txt { margin: 20px 0 0; font-size: 14px; line-height: 22px; color: #606060; }

/* Composant « Nous contacter — carte » : chevaux en filigrane (traits blancs du SVG recolorés), carte Leaflet */
#nous-contacter [data-interaction-id="1fb07824"] svg path { fill: currentColor; }
/* Chevaux : export du designer (média 870 estimation-chevaux-contact.png, 852 x 303, opacité comprise, coupé au bas de la section comme la maquette
   Estimation-step1 : centré, collé au bas de la section, recalage mesuré à 0,88 de recouvrement). L'élément SVG du composant pointe vers un SVG vide (média 740).
   Remplace le 2026-11-01 le SVG crème (749/868). */
/* La boîte de l'élément couvre tout le bandeau (bas de la carte → bas de la section, pleine largeur, 340px) ; dessin à sa taille réelle, centré, posé sur le bas de la section. */
#nous-contacter [data-interaction-id="1fb07824"] { background: url("/wp-content/uploads/2026/11/estimation-chevaux-contact.png") center bottom / 852px 303px no-repeat; }
/* Chevaux : statiques, à la place de la maquette (choix de l'utilisateur du 2026-11-01 : l'effet « fixe au défilement » de la note E2 est retiré sur cette page, il ne collait à la maquette qu'avec le bandeau centré). */
#mh-carte { isolation: isolate; }
#mh-carte .leaflet-control-attribution { font-size: 10px; }
.mh-pin { background: none; border: 0; }/* End custom CSS */