/* Made in A — editorial homepage. Self-contained presentation for front-page.php. */
.ed-hero{display:grid;grid-template-columns:57% 43%;min-height:clamp(580px,65vw,790px);background:#f4f3f0;color:#252624}
.ed-hero__visual{position:relative;min-height:580px;overflow:hidden}.ed-hero__visual img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.ed-hero__index{position:absolute;left:5%;bottom:6%;color:white;text-shadow:0 1px 7px #111;font:600 11px/1.5 sans-serif;letter-spacing:.19em}.ed-hero__index i{margin:0 10px;font-style:normal}
.ed-hero__editorial{padding:clamp(42px,7vw,110px) clamp(32px,5vw,92px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0}
.ed-kicker{font:700 11px/1.5 Arial,sans-serif;letter-spacing:.19em;text-transform:uppercase;color:#80695b;margin:0 0 26px}.ed-hero .ed-hero__statement{font:400 clamp(54px,5.2vw,92px)/.98 Georgia,serif;letter-spacing:-.045em;margin:0 0 34px;color:#272625}.ed-hero .ed-hero__statement em,.ed-agency h2 em,.ed-expertise h2 em,.ed-collections h2 em,.ed-seo h2 em{font-weight:400;color:#866b5c}.ed-hero__editorial>p:not(.ed-kicker):not(.ed-hero__statement){max-width:430px;font-size:17px;line-height:1.8;color:#5c5a57}.ed-hero__links{width:100%;margin-top:30px;display:grid}.ed-hero__links a{display:flex;align-items:center;justify-content:space-between;padding:19px 0;border-bottom:1px solid #cbc4bd;color:#30302e;font:600 12px Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;text-decoration:none}.ed-hero__links a:hover{color:#876a58}
.home-search-strip{position:relative;z-index:5;background:#fff;padding:35px 0 28px}.home-search-strip .mia-home-search{max-width:1250px;margin-inline:auto}
.ed-selection{padding:100px 0 110px;background:#fff}.ed-selection .selection--six__heading{max-width:760px;margin:0 0 40px}.ed-selection .selection--six__heading h2{font:400 clamp(44px,4vw,68px)/1.05 Georgia,serif;letter-spacing:-.03em}.ed-selection .selection--six__grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:24px}.ed-selection .selection--six__grid>article{grid-column:span 4}.ed-selection .selection--six__grid>article:first-child{grid-column:span 8}.ed-selection .selection--six__grid>article:first-child .mia-property-card__image,.ed-selection .selection--six__grid>article:first-child .mia-demo-card__visual{aspect-ratio:1.74}
.ed-selection .selection--six__grid>article{border-radius:0!important;box-shadow:none!important;border:0!important}.ed-selection .selection--six__grid .mia-property-card__body,.ed-selection .selection--six__grid .mia-demo-card__body{padding:20px 0!important}.ed-selection .selection--six__grid .mia-property-card__image,.ed-selection .selection--six__grid .mia-demo-card__visual{aspect-ratio:1.56}.ed-selection .selection--six__grid .mia-icon-facts--visual{margin-top:14px}.ed-selection .selection--six__more{margin-top:35px}
.ed-agency{background:#f0efeb;padding:90px 0}.ed-agency__grid{display:grid;grid-template-columns:53% 47%;align-items:center}.ed-agency__photo{position:relative;min-height:540px}.ed-agency__photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.ed-agency__photo span{position:absolute;bottom:20px;left:24px;color:white;text-shadow:0 1px 8px #222;font:600 11px Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase}.ed-agency__story{padding:70px clamp(32px,6vw,100px)}.ed-agency h2,.ed-expertise h2,.ed-collections h2,.ed-seo h2{font:400 clamp(40px,3.4vw,64px)/1.08 Georgia,serif;letter-spacing:-.025em;margin:0 0 30px;color:#292826}.ed-agency__story>p:not(.ed-kicker),.ed-expertise__intro>p:not(.ed-kicker),.ed-seo p:not(.ed-kicker){font-size:16px;line-height:1.9;color:#66615b;margin-bottom:20px}.ed-text-link{text-decoration:none;border-bottom:1px solid #8a7060;color:#473d37;padding-bottom:10px;display:inline-flex;gap:24px;font:700 12px Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase;margin-top:20px}
.ed-expertise{background:#fff;padding:110px 0}.ed-expertise__layout{display:grid;grid-template-columns:39% 61%;gap:7%;padding-right:6%}.ed-expertise__intro{padding-top:10px}.ed-expertise__steps article{display:grid;grid-template-columns:65px minmax(0,1fr);gap:20px;border-top:1px solid #dcd6cf;padding:25px 0 30px}.ed-expertise__steps article:last-child{border-bottom:1px solid #dcd6cf}.ed-expertise__steps article>span{font:500 14px Georgia,serif;color:#806b5c;padding-top:8px}.ed-expertise__steps h3{font:400 29px/1.18 Georgia,serif;margin:0 0 10px}.ed-expertise__steps p{font-size:15px;line-height:1.8;color:#65625f;max-width:560px;margin:0}
.ed-collections{background:#302e2c;color:#f7f5f1;padding:100px 0 95px}.ed-collections .ed-kicker{color:#b9a99a}.ed-collections h2{color:#f8f6f4;max-width:780px}.ed-collections h2 em{color:#c4aa95}.ed-collections__header{margin-bottom:42px}.ed-collections__items a{display:grid;grid-template-columns:220px minmax(0,1fr) 30px;align-items:center;gap:20px;border-top:1px solid rgba(255,255,255,.24);padding:22px 0;color:#f8f6f3;text-decoration:none}.ed-collections__items a:last-child{border-bottom:1px solid rgba(255,255,255,.24)}.ed-collections__items span{font:600 11px Arial,sans-serif;letter-spacing:.11em;text-transform:uppercase;color:#bfb1a6}.ed-collections__items strong{font:400 clamp(25px,2.5vw,42px) Georgia,serif}.ed-collections__items b{font-size:21px;font-weight:400}.ed-collections__items a:hover strong{color:#c5ad9b}.ed-collections__footer{display:flex;gap:26px;flex-wrap:wrap;margin-top:32px}.ed-collections__footer a{font:600 12px Arial,sans-serif;letter-spacing:.09em;text-transform:uppercase;color:#e2d4c9;text-decoration:none}
.ed-seo{background:#f5f4f1;padding:85px 0}.ed-seo__layout{display:grid;grid-template-columns:32% minmax(0,1fr);gap:7%}.ed-seo__layout>div{max-width:850px}.ed-journal{padding:105px 0}.ed-journal .mia-journal-latest__card{box-shadow:none!important;border:0!important;border-radius:0!important}.ed-journal .mia-journal-latest__image{border-radius:0!important}.ed-faq{background:#f5f4f1}
@media(max-width:1100px){.ed-hero{grid-template-columns:52% 48%}.ed-hero__editorial{padding:48px}.ed-hero .ed-hero__statement{font-size:clamp(49px,5vw,71px)}.ed-expertise__layout{gap:5%;padding-right:0}.ed-agency__story{padding:40px}}
@media(max-width:800px){.ed-hero{grid-template-columns:1fr}.ed-hero__visual{min-height:460px}.ed-hero__editorial{padding:50px 7%}.ed-hero .ed-hero__statement{font-size:clamp(48px,9vw,80px)}.ed-selection .selection--six__grid>article,.ed-selection .selection--six__grid>article:first-child{grid-column:span 6}.ed-agency__grid,.ed-expertise__layout,.ed-seo__layout{grid-template-columns:1fr;gap:36px}.ed-agency__photo{min-height:460px}.ed-agency__story{padding:28px 0 0}.ed-collections__items a{grid-template-columns:120px minmax(0,1fr) 25px}}
@media(max-width:560px){.ed-hero__visual{min-height:350px}.ed-hero__editorial{padding:44px 23px}.ed-hero .ed-hero__statement{font-size:50px}.ed-selection,.ed-expertise,.ed-journal{padding:70px 0}.ed-selection .selection--six__grid>article,.ed-selection .selection--six__grid>article:first-child{grid-column:span 12}.ed-selection .selection--six__grid>article:first-child .mia-property-card__image,.ed-selection .selection--six__grid>article:first-child .mia-demo-card__visual{aspect-ratio:1.45}.ed-agency{padding:60px 0}.ed-agency__photo{min-height:310px}.ed-expertise__steps article{grid-template-columns:40px 1fr;gap:12px}.ed-expertise__steps h3{font-size:25px}.ed-collections{padding:70px 0}.ed-collections__items a{grid-template-columns:1fr 24px;gap:7px}.ed-collections__items span{grid-column:1/-1}.ed-collections__items strong{font-size:27px}.ed-collections__items b{grid-column:2;grid-row:2}.ed-seo{padding:70px 0}}
/* Editorial selection: one dominant lead, one companion, then three rows of three. */
@media (min-width:801px) {
 .ed-selection .selection--six__grid {display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:26px 24px;align-items:start}
 .ed-selection .selection--six__grid>article:first-child {grid-column:span 8}
 .ed-selection .selection--six__grid>article:nth-child(2) {grid-column:span 4}
 .ed-selection .selection--six__grid>article:nth-child(n+3) {grid-column:span 4}
 .ed-selection .selection--six__grid>article:first-child .mia-property-card__image,
 .ed-selection .selection--six__grid>article:first-child .mia-demo-card__visual {aspect-ratio:1.62}
 .ed-selection .selection--six__grid>article:nth-child(2) .mia-property-card__image,
 .ed-selection .selection--six__grid>article:nth-child(2) .mia-demo-card__visual {aspect-ratio:.81}
}
@media (max-width:800px) and (min-width:561px) {
 .ed-selection .selection--six__grid>article {grid-column:span 6}
}
@media (max-width:560px) {
 .ed-selection .selection--six__grid>article {grid-column:span 12}
}
/* Typographic watermark: deliberately almost invisible, behind the neighborhood links. */
.ed-collections{position:relative;isolation:isolate;overflow:hidden}
.ed-collections:before{content:'MARRAKECH';position:absolute;z-index:-1;top:9%;left:50%;transform:translateX(-50%);font:400 clamp(90px,15vw,250px)/1 Georgia,serif;letter-spacing:.08em;white-space:nowrap;color:rgba(119,94,75,.045);pointer-events:none;user-select:none}
.ed-collections>.container-wide{position:relative;z-index:1}
@media(max-width:560px){.ed-collections:before{top:18%;font-size:86px;letter-spacing:0}}

/* SEO H1 visible en ancien style kicker, sans changer la signature éditoriale. */
.ed-hero .ed-hero__seo-title{font:700 11px/1.5 Arial,sans-serif;letter-spacing:.19em;text-transform:uppercase;color:#80695b;margin:0 0 26px}

/* Accueil : équilibre éditorial et appels à l'action - octobre 2026 */
.ed-expertise__intro>p:not(.ed-kicker){max-width:520px;}
.ed-expertise__intro .ed-text-link{margin-top:12px;}
.ed-seo__actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:32px;}
.ed-seo__button{display:inline-flex;align-items:center;justify-content:space-between;gap:30px;min-height:52px;padding:15px 22px;border:1px solid #806b5c;border-radius:5px;font:600 12px/1.4 Arial,sans-serif;letter-spacing:.06em;text-decoration:none;transition:background-color .2s ease,color .2s ease,transform .2s ease;}
.ed-seo__button--primary{background:#40352e;color:#fff;border-color:#40352e;}
.ed-seo__button--secondary{background:transparent;color:#40352e;}
.ed-seo__button:hover{transform:translateY(-2px);}
.ed-seo__button--primary:hover{background:#685143;color:#fff;}
.ed-seo__button--secondary:hover{background:#e9e4de;color:#40352e;}
.ed-seo__button:focus-visible{outline:2px solid #806b5c;outline-offset:3px;}
@media(max-width:560px){.ed-seo__actions{flex-direction:column;align-items:stretch;}.ed-seo__button{width:100%;}}
@media(prefers-reduced-motion:reduce){.ed-seo__button{transition:none;}.ed-seo__button:hover{transform:none;}}

/* Texte éditorial dans la colonne gauche du marché immobilier */
.ed-seo__aside{min-width:0;align-self:start;}
.ed-seo__aside .ed-kicker{margin-bottom:26px;}
.ed-seo__aside p:not(.ed-kicker){max-width:390px;}
.ed-seo__aside .ed-text-link{margin-top:12px;line-height:1.6;}
@media(max-width:800px){.ed-seo__aside p:not(.ed-kicker){max-width:720px;}}

/* La sélection accueil utilisait border:0 !important : rétablir les vrais cadres. */
.ed-selection .selection--six__grid{column-gap:32px!important;row-gap:42px!important}
.ed-selection .selection--six__grid>article.mia-property-card--luxury{border:1px solid #dcdedc!important;border-radius:7px!important;box-shadow:0 2px 8px rgba(36,42,38,.025)!important;background:#fff!important;overflow:hidden!important}
.ed-selection .selection--six__grid>article.mia-property-card--luxury:hover{border-color:#bfc9c3!important;box-shadow:0 9px 24px rgba(36,42,38,.065)!important}
.ed-selection .selection--six__grid .mia-property-card--luxury .mia-property-card__body{padding:23px 22px 24px!important}
@media(max-width:950px){.ed-selection .selection--six__grid{column-gap:24px!important;row-gap:32px!important}}
@media(max-width:600px){.ed-selection .selection--six__grid{row-gap:26px!important}.ed-selection .selection--six__grid .mia-property-card--luxury .mia-property-card__body{padding:19px 17px 21px!important}}
