.sanma-catalog,.sanma-single{--s-ink:#203b43;--s-muted:#6e7879;--s-bg:#f7f5f1;color:#202b2e;font-family:Arial,Helvetica,sans-serif}.sanma-catalog *,.sanma-single *{box-sizing:border-box}.sanma-catalog{width:100%;padding:75px max(20px,calc((100% - 1320px)/2)) 110px;background:#fff}.sanma-kicker{text-transform:uppercase;letter-spacing:2.5px;font-size:11px;color:var(--s-ink);font-weight:600}.sanma-catalog-head{text-align:center;margin-bottom:45px}.sanma-catalog-head h2,.sanma-single h1{font:normal clamp(38px,5vw,70px)/1.13 Georgia,serif;margin:18px 0}.sanma-catalog-head>p{color:var(--s-muted);font-size:16px}.sanma-filters{background:var(--s-bg);padding:23px;display:grid;grid-template-columns:1fr 1fr 1fr auto;align-items:end;gap:16px;margin-bottom:34px}.sanma-filters label{display:flex;flex-direction:column;gap:9px;font-size:12px;font-weight:600}.sanma-filters input,.sanma-filters select{background:white!important;border:1px solid #d7d7d3!important;border-radius:0!important;padding:12px!important;min-height:44px;color:#222!important;font:14px Arial!important;width:100%}.sanma-filters button{background:var(--s-ink)!important;color:white!important;border:0!important;border-radius:0!important;padding:14px 24px!important;min-height:44px;cursor:pointer}.sanma-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.sanma-card{border:1px solid #e8e7e3;background:white;min-width:0}.sanma-card-photo{display:block;aspect-ratio:1.45;overflow:hidden;background:#eae5dc}.sanma-card-photo img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.sanma-card:hover .sanma-card-photo img{transform:scale(1.04)}.sanma-no-picture{height:100%;min-height:220px;display:grid;place-items:center;color:#727b79;background:#eae5dc;font:15px Georgia,serif}.sanma-card-body{padding:23px}.sanma-card-top{display:flex;gap:14px;justify-content:space-between;font-size:11px;letter-spacing:1px;text-transform:uppercase;color:var(--s-muted)}.sanma-card-top span{color:var(--s-ink);text-align:right}.sanma-card h3{font:normal 28px/1.2 Georgia,serif;margin:18px 0 5px}.sanma-card h3 a{color:inherit;text-decoration:none}.sanma-card-type{color:var(--s-muted);font-size:13px}.sanma-card-details{display:flex;flex-wrap:wrap;gap:8px 15px;font-size:13px;color:var(--s-muted);margin:18px 0}.sanma-card-end{border-top:1px solid #ecece8;padding-top:17px;display:flex;justify-content:space-between;align-items:center;gap:10px}.sanma-card-end strong{font-size:19px;color:var(--s-ink)}.sanma-card-end a,.sanma-back{font-size:12px;text-decoration:none;color:var(--s-ink)}.sanma-empty{text-align:center;padding:80px 20px;background:var(--s-bg);color:var(--s-muted)}.sanma-single{max-width:1250px;padding:40px 20px 100px;margin:auto}.sanma-single-hero{width:100%;height:min(65vw,600px);background:#eae5dc}.sanma-single-hero img{width:100%;height:100%;object-fit:cover}.sanma-single-inner{max-width:960px;margin:55px auto}.sanma-single-price{font-size:30px;color:var(--s-ink);font-weight:600}.sanma-specs{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:35px 0;padding:26px;background:var(--s-bg)}.sanma-specs div{display:flex;flex-direction:column;gap:10px}.sanma-specs small{font-size:12px;color:var(--s-muted)}.sanma-specs strong{font-size:16px}.sanma-single-description{line-height:1.9;font-size:16px}.sanma-warning{font-size:12px;color:var(--s-muted);margin:45px 0}.sanma-back{display:inline-block;border-bottom:1px solid;padding-bottom:6px}@media(max-width:850px){.sanma-filters{grid-template-columns:1fr 1fr}.sanma-cards{grid-template-columns:repeat(2,1fr)}.sanma-specs{grid-template-columns:repeat(2,1fr)}}@media(max-width:580px){.sanma-catalog{padding-top:55px}.sanma-filters,.sanma-cards,.sanma-specs{grid-template-columns:1fr}.sanma-single-inner{margin-top:30px}.sanma-card-photo{aspect-ratio:1.5}}

/* SANMA HOME Mapbox v0.2 */
.sanma-map-wrapper{margin:32px 0 42px}.sanma-map{width:100%;background:#e8e5df;border-radius:2px;overflow:hidden}.sanma-map-caption,.sanma-map-note{font-size:12px;color:#747a79;margin:10px 0}.sanma-map-marker{cursor:pointer;width:21px;height:21px;border:3px solid #fff;border-radius:50%;background:#203b43;box-shadow:0 2px 9px #0004}.sanma-map-marker:focus-visible{outline:3px solid #d59758}.sanma-map-error:after{content:'Carte indisponible : vérifiez le jeton et les autorisations Mapbox';display:block;padding:15px}.mapboxgl-popup-content{font-family:Arial,sans-serif;padding:15px!important;min-width:190px}.mapboxgl-popup-content strong{color:#203b43}.mapboxgl-popup-content p{margin:10px 0}.mapboxgl-popup-content a{color:#203b43;text-decoration:underline}

/* SANMA opportunities v0.3 */
.sanma-section-title{margin:55px 0 23px}.sanma-section-title span{font:600 11px Arial;letter-spacing:2px;color:#203b43}.sanma-section-title h2{font:normal clamp(30px,4vw,46px) Georgia,serif;margin:12px 0}.sanma-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.sanma-photo-grid figure{margin:0;background:#f1efeb;min-height:220px;aspect-ratio:1.5}.sanma-photo-grid img{width:100%;height:100%;object-fit:cover}.sanma-project-summary{padding:12px 0 25px}.sanma-project-summary>p{line-height:1.85;color:#566367}.sanma-finance{padding:30px;background:#f7f5f1;margin-top:40px}.sanma-finance-grid>div{border-bottom:1px solid #ddd9d2;padding:15px 0;display:flex;justify-content:space-between;gap:18px;font-size:14px}.sanma-finance-grid strong{white-space:nowrap;color:#203b43}.sanma-finance-total{font-weight:bold;font-size:17px!important}.sanma-resale{font-size:16px;margin:20px 0}.sanma-private-notice{border:1px solid #cbd4d5;padding:25px;margin-top:30px}.sanma-private-notice strong{font:normal 25px Georgia,serif;color:#203b43}.sanma-private-notice p{line-height:1.6;color:#6e7879}@media(max-width:600px){.sanma-photo-grid{grid-template-columns:1fr}.sanma-finance{padding:20px}.sanma-finance-grid>div{align-items:start;flex-direction:column;gap:6px}}
.sanma-calculator{margin:50px 0;padding:35px;background:#f7f5f1;color:#203b43}.sanma-calc-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.sanma-calc-fields label{font-size:13px;font-weight:600}.sanma-calc-fields input{display:block;width:100%;margin-top:6px;padding:11px;background:white;border:1px solid #c8c9c4;color:#203b43}.sanma-calc-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:24px}.sanma-calc-results>div{background:white;padding:18px;font-size:12px;line-height:1.5}.sanma-calc-results strong{display:block;font-size:22px;margin-top:6px;color:#203b43}@media(max-width:700px){.sanma-calc-fields,.sanma-calc-results{grid-template-columns:1fr}.sanma-calculator{padding:20px}}

/* SANMA HOME — architect's editorial narrative (v1.2) */
.sanma-project-summary{padding:70px 0 85px}
.sanma-project-summary .sanma-section-title{max-width:850px;margin:0 auto 48px}
.sanma-architectural-chapters{max-width:880px;margin:auto}
.sanma-architectural-chapter{display:grid;grid-template-columns:170px minmax(0,1fr);gap:28px;padding:34px 0;border-top:1px solid #dddcd5}
.sanma-chapter-label{font:600 10px/1.6 Arial,sans-serif;letter-spacing:2px;color:#7a8584;padding-top:8px}
.sanma-chapter-body{max-width:660px}
.sanma-chapter-body h3{font:normal clamp(24px,2.7vw,38px)/1.25 Georgia,serif!important;color:#1d3034!important;margin:0 0 20px!important}
.sanma-chapter-body p{font:400 16px/1.95 Arial,sans-serif;color:#58666a;margin:0 0 18px!important;overflow-wrap:break-word}
.sanma-chapter-body p:last-child{margin-bottom:0!important}
@media(max-width:700px){.sanma-project-summary{padding:45px 0 60px}.sanma-architectural-chapter{grid-template-columns:1fr;gap:8px;padding:26px 0}.sanma-project-summary .sanma-section-title{margin-bottom:30px}.sanma-chapter-body p{font-size:15px;line-height:1.8}}
@media(prefers-reduced-motion:no-preference){.sanma-architectural-chapter{animation:sanmaChapterFade .7s ease both}@keyframes sanmaChapterFade{from{opacity:.35;transform:translateY(8px)}to{opacity:1;transform:none}}}

/* SANMA v1.2.3 — même typographie pour les titres et les paragraphes des chapitres */
.sanma-project-summary .sanma-architectural-chapters .sanma-chapter-body > h3,
.sanma-project-summary .sanma-architectural-chapters .sanma-chapter-body > p {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1.9 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #58666a !important;
  overflow-wrap: break-word;
}
.sanma-project-summary .sanma-architectural-chapters .sanma-chapter-body > h3 {margin: 0 0 18px !important;}
.sanma-project-summary .sanma-architectural-chapters .sanma-chapter-body > p {margin: 0 0 18px !important;}
@media (max-width: 700px) {
  .sanma-project-summary .sanma-architectural-chapters .sanma-chapter-body > h3,
  .sanma-project-summary .sanma-architectural-chapters .sanma-chapter-body > p {font-size:16px !important;line-height:1.8 !important;}
}


/* SANMA HOME v1.2.4 — Fiches immobilières : logo, titre unique, image bord à bord */
/* Ne vise que les fiches SANMA ; les autres pages WordPress restent intactes. */
body.single-sanma_property .site-header{background:#fff!important;position:relative;z-index:12;min-height:118px;display:flex;align-items:center;justify-content:center;padding:8px 22px!important;}
body.single-sanma_property .site-header .site-branding,
body.single-sanma_property .site-header .site-title{margin:0!important;display:flex!important;justify-content:center;align-items:center;}
body.single-sanma_property .site-header .site-title a,
body.single-sanma_property .site-header .site-branding .site-title a{display:block!important;background:url('sanma-home-logo.png') center/contain no-repeat!important;width:145px!important;height:100px!important;overflow:hidden!important;font-size:0!important;line-height:0!important;color:transparent!important;text-indent:-9999px!important;}
/* Supprimer uniquement le titre de modèle WordPress ; conserver celui dans l'image. */
body.single-sanma_property .entry-header .entry-title,
body.single-sanma_property header.page-header .entry-title,
body.single-sanma_property .page-header h1,
body.single-sanma_property .sanma-single-inner > h1{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}
/* Le bandeau existant s'étend hors du conteneur max-width du thème. */
body.single-sanma_property .sanma-single{max-width:none!important;width:100%!important;padding:0 0 95px!important;margin:0!important;overflow:visible!important;}
body.single-sanma_property .sanma-single-hero{width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;min-height:570px!important;height:min(86svh,950px)!important;overflow:hidden!important;position:relative!important;border-radius:0!important;}
body.single-sanma_property .sanma-single-hero>img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;}
body.single-sanma_property .sanma-single-inner{max-width:1000px!important;width:calc(100% - 48px)!important;margin:65px auto 0!important;padding:0!important;}
/* Empêcher le thème de limiter horizontalement le contenu. */
body.single-sanma_property .site-main,body.single-sanma_property .site-main > article,body.single-sanma_property .site-main .entry-content,body.single-sanma_property .site-main .page-content{max-width:none!important;width:100%!important;overflow:visible!important;}
body.single-sanma_property .site-main .entry-content{margin-top:0!important;}
@media(max-width:700px){body.single-sanma_property .site-header{min-height:92px;padding:5px 15px!important;}body.single-sanma_property .site-header .site-title a{width:116px!important;height:82px!important;}body.single-sanma_property .sanma-single-hero{height:72svh!important;min-height:480px!important;}body.single-sanma_property .sanma-single-inner{width:calc(100% - 36px)!important;margin-top:38px!important;}}

/* v1.2.5 — Vignettes : cadrage photo intégral et zoom discret */
.sanma-catalog .sanma-card-photo {
 position:relative!important;display:block!important;width:100%!important;
 aspect-ratio:1.45!important;height:auto!important;min-height:0!important;
 overflow:hidden!important;background:#eae5dc!important;
}
.sanma-catalog .sanma-card-photo > img,
.sanma-catalog .sanma-card-photo > picture,
.sanma-catalog .sanma-card-photo > picture > img {
 position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
 max-width:none!important;max-height:none!important;object-fit:cover!important;
 object-position:center center!important;display:block!important;
 transition:transform .55s ease!important;
}
.sanma-catalog .sanma-card:hover .sanma-card-photo img {transform:scale(1.06)!important;}
@media(max-width:580px){.sanma-catalog .sanma-card-photo{aspect-ratio:1.5!important;}}
