/* =====================================================================
   Thème « Immobilier » — habillage (préfixe im-) sur Bootstrap 5.3
   Maquette validée : maquette/home.html (Privilèges Gestion Locative).
   Couleur principale et polices : Apparence › Thèmes ; tons secondaires du site : réglage d'en-tête im_palette (includes/layout.php).
   Injecté aussi dans le page builder (config.json → editor_css).
   ===================================================================== */
:root {
  --im-ink: #0d1b2e; --im-soft: #eef3f9; --im-sand: #f7f4ee; --im-line: #dfe5ee; --im-accent: #2bb3d6; --im-muted: #5d6b7e;
  --im-primary: var(--bs-primary, #1d4fa3); --im-primary-dark: color-mix(in srgb, var(--im-primary) 78%, #000);
  --im-head: inherit; --im-hd: 86px;
}
html { scroll-padding-top: calc(var(--im-hd) + 16px); }
body { font-size: 1.02rem; line-height: 1.7; color: var(--im-ink); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.025em; line-height: 1.08; color: var(--im-ink); }
a { color: var(--im-primary); }
img { max-width: 100%; }
.im-sec { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.im-soft { background: var(--im-soft); }
.im-white { background: #fff; }
.im-dark { background: var(--im-ink); color: #c9d2de; }
.im-dark h2, .im-dark h3 { color: #fff; }
.im-sec:not(.im-soft, .im-dark, .im-cream, .im-band) + .im-sec:not(.im-soft, .im-dark, .im-cream, .im-band), .im-sec.im-soft + .im-sec.im-soft { padding-top: 0; }
.im-tag { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--im-primary); }
.im-tag::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.im-dark .im-tag { color: var(--im-accent); }
.im-h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
.btn { border-radius: 10px; padding: .85rem 1.4rem; font-weight: 600; }
.btn-line { border: 1.5px solid var(--im-ink); color: var(--im-ink); background: transparent; } .btn-line:hover { background: var(--im-ink); color: #fff; }
.btn-white { background: #fff; color: var(--im-ink); border: 0; } .btn-white:hover { background: var(--im-soft); color: var(--im-ink); }

/* Bandeau + en-tête */
.im-top { background: var(--im-ink); color: #c9d2de; font-size: .84rem; }
.im-top .container { display: flex; justify-content: space-between; gap: 1rem; padding-block: .5rem; }
.im-top a { color: #fff; text-decoration: none; font-weight: 600; }
.im-top i { color: var(--im-accent); margin-right: .4rem; }
.im-hd { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--im-line); transition: box-shadow .3s; }
.im-hd.is-scrolled { box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .35); }
.im-hd .container { display: flex; align-items: center; gap: 2rem; height: var(--im-hd); }
.im-logo { display: block; line-height: 0; flex: none; }
.im-logo img { height: 62px; width: auto; }
.im-logo b { font-size: 1.3rem; color: var(--im-ink); line-height: 1.2; }
.im-nav { margin-left: auto; }
.im-nav > ul { display: flex; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.im-nav li { position: relative; }
.im-nav a { display: inline-flex; padding: .5rem .75rem; color: var(--im-ink); text-decoration: none; font-weight: 500; }
.im-nav a:hover, .im-nav a.active { color: var(--im-primary); }
.im-nav a.dd::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translate(-2px, -2px); margin: .55rem 0 0 .5rem; }
.im-nav .sub { position: absolute; top: 100%; left: 0; padding-top: .5rem; opacity: 0; visibility: hidden; transition: opacity .2s; }
.im-nav .sub ul { list-style: none; margin: 0; min-width: 230px; background: #fff; border: 1px solid var(--im-line); border-radius: 12px; padding: .4rem; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .3); }
.im-nav .sub a { display: block; }
.im-nav .has-sub:hover .sub, .im-nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; }
.im-hd-right { display: flex; align-items: center; gap: .75rem; }
.im-lang a { font-size: .8rem; font-weight: 600; padding: .3rem .4rem; color: var(--im-muted); text-decoration: none; } .im-lang a.active { color: var(--im-ink); }
.im-burger { display: none; background: none; border: 0; width: 42px; height: 42px; }
.im-burger span { display: block; width: 22px; height: 2px; background: var(--im-ink); margin: 5px auto; }
.im-menu { --bs-offcanvas-width: min(400px, 100vw); padding: 1.25rem 1.5rem 1.75rem; }
.im-menu .im-logo img { height: 54px; }
.im-menu-links { list-style: none; margin: 1.75rem 0; padding: 0; }
.im-menu-links > li > a { display: block; font: 700 1.5rem/1.3 var(--im-head); padding: .45rem 0; color: var(--im-ink); text-decoration: none; }
.im-menu-links ul { list-style: none; padding: 0 0 .5rem; } .im-menu-links ul a { display: block; padding: .3rem 0; color: var(--im-muted); text-decoration: none; }
.im-menu-foot { margin-top: auto; display: grid; gap: .75rem; }
.im-menu-tel a { font-weight: 600; text-decoration: none; } .im-menu-tel i { margin-right: .4rem; }
@media (max-width: 1199.98px) { .im-nav { display: none; } .im-burger { display: block; } .im-hd-right { margin-left: auto; } }
@media (max-width: 767.98px) {
  :root { --im-hd: 72px; } .im-logo img { height: 50px; } .im-top-addr { display: none; } .im-top .container { justify-content: center; }
  .im-hd-right .im-cta { padding: .55rem .9rem; font-size: .9rem; }
  .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; } /* gouttière plus large que la marge du conteneur : défilement horizontal */
}
@media (max-width: 399.98px) { .im-hd-right .im-cta { display: none; } }

/* Accueil */
.im-hero { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 7vw, 6rem); background: linear-gradient(180deg, var(--im-soft), #fff); }
.im-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); margin: 1.2rem 0 1.3rem; }
.im-hero h1 span { color: var(--im-primary); }
.im-hero .lead { color: var(--im-muted); max-width: 34rem; }
.im-hero-img { position: relative; border-radius: 26px; overflow: hidden; height: 560px; }
.im-hero-img > img { width: 100%; height: 100%; object-fit: cover; }
.im-hero-card { position: absolute; left: 18px; bottom: 18px; right: 18px; max-width: 340px; background: #fff; border-radius: 16px; padding: 1rem 1.2rem; display: flex; gap: .9rem; align-items: center; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .4); }
.im-hero-card i { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--im-primary); color: #fff; font-size: 1.3rem; }
.im-hero-card b { display: block; font: 700 1.05rem var(--im-head); }
.im-hero-card span { font-size: .85rem; color: var(--im-muted); line-height: 1.4; display: block; }
.im-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.im-chips span { background: #fff; border: 1px solid var(--im-line); border-radius: 999px; padding: .4rem .9rem; font-size: .88rem; }
.im-chips i { color: var(--im-primary); margin-right: .35rem; }
@media (max-width: 991.98px) { .im-hero-img { height: 420px; } }

/* En-tête des pages intérieures */
.im-pagehead { position: relative; overflow: hidden; background: var(--im-ink); color: #fff; padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 5rem); }
.im-pagehead > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.im-pagehead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--im-ink) 10%, transparent); opacity: .85; }
.im-pagehead .container { position: relative; z-index: 1; }
.im-pagehead .im-tag { color: var(--im-accent); }
.im-pagehead h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4.2rem); margin: 1rem 0; max-width: 900px; }
.im-pagehead p { color: rgba(255, 255, 255, .85); font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 680px; margin: 0; }
.im-pagehead .btn { margin-top: 1.8rem; }

/* Services */
.im-service { height: 100%; background: #fff; border: 1px solid var(--im-line); border-radius: 20px; padding: 1.8rem; transition: transform .25s, box-shadow .25s; }
.im-service:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .35); }
.im-service > i { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--im-soft); color: var(--im-primary); font-size: 1.5rem; }
.im-service h3 { font-size: 1.3rem; margin: 1.2rem 0 .6rem; }
.im-service p { color: var(--im-muted); font-size: .95rem; }
.im-service p:last-child, .im-service ul:last-child { margin-bottom: 0; }
.im-service ul { padding-left: 1.1rem; color: var(--im-muted); font-size: .95rem; }

/* Texte + photo, histoire */
.im-photo { border-radius: 24px; overflow: hidden; min-height: 0; }
.im-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.im-split .im-photo { aspect-ratio: 4 / 3; }
.im-story .im-photo { height: 520px; }
@media (max-width: 991.98px) { .im-story .im-photo { height: 380px; } }
.im-quote { border-left: 3px solid var(--im-primary); padding-left: 1.2rem; font: 600 1.2rem/1.5 var(--im-head); margin: 1.5rem 0; }
.im-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.im-steps div { border-top: 2px solid var(--im-primary); padding-top: .8rem; }
.im-steps b { display: block; font: 700 1.5rem/1.2 var(--im-head); }
.im-steps span { font-size: .88rem; color: var(--im-muted); display: block; line-height: 1.45; margin-top: .3rem; }
@media (max-width: 575.98px) { .im-steps { grid-template-columns: 1fr; } }
.im-checks { list-style: none; padding: 0; margin: 1.2rem 0; }
.im-checks li { padding: .5rem 0 .5rem 1.9rem; position: relative; border-bottom: 1px solid var(--im-line); }
.im-checks li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .45rem; color: var(--im-primary); }
.im-dark .im-checks li { border-color: rgba(255, 255, 255, .1); } .im-dark .im-checks li::before { color: var(--im-accent); }

/* Fiche moteur */
.im-engine { background: #fff; border-radius: 24px; padding: 1.5rem; }
.im-engine img { width: 100%; height: auto; display: block; }
.im-spec { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; padding: .6rem 1.4rem; margin: 0; }
.im-spec div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.im-spec div:last-child { border: 0; }
.im-spec dt { color: #fff; font-weight: 600; } .im-spec dd { margin: 0; text-align: right; }
.im-sec:not(.im-dark) .im-spec { background: #fff; border-color: var(--im-line); }
.im-sec:not(.im-dark) .im-spec div { border-color: var(--im-line); } .im-sec:not(.im-dark) .im-spec dt { color: var(--im-ink); } .im-sec:not(.im-dark) .im-spec dd { color: var(--im-muted); }

/* Produits */
.im-product { height: 100%; background: #fff; border: 1px solid var(--im-line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.im-product-img { display: block; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--im-line); }
.im-product-img img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; }
.im-product > div { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.im-product h3 { font-size: 1.3rem; margin: 0 0 .4rem; } .im-product h3 a { color: var(--im-ink); text-decoration: none; }
.im-product p { color: var(--im-muted); font-size: .95rem; }
.im-product-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: .5rem; }
.im-product-links .btn { padding: .6rem 1rem; font-size: .92rem; }

/* Engagements */
.im-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.im-why i { font-size: 1.6rem; color: var(--im-accent); }
.im-why h3 { font-size: 1.15rem; margin: .8rem 0 .4rem; }
.im-why p { font-size: .93rem; margin: 0; }
@media (max-width: 991.98px) { .im-why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 459.98px) { .im-why { grid-template-columns: 1fr; } }

/* Galeries */
.im-strip { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 12px; }
.im-strip figure { margin: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: #fff; }
.im-strip figure:first-child { grid-row: span 2; }
.im-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.im-strip figure:hover img { transform: scale(1.04); }
@media (max-width: 767.98px) { .im-strip { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 150px 150px; } .im-strip figure:first-child { grid-column: span 2; grid-row: auto; } }
.im-gallery { columns: 3 260px; column-gap: 14px; }
.im-gallery figure { margin: 0 0 14px; break-inside: avoid; overflow: hidden; border-radius: 16px; cursor: zoom-in; }
.im-gallery img { width: 100%; height: auto; display: block; transition: transform .6s; }
.im-gallery figure:hover img { transform: scale(1.03); }

/* Port d'attache */
.im-port { position: relative; border-radius: 26px; overflow: hidden; color: #fff; }
.im-port > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.im-port::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--im-ink), transparent); opacity: .85; }
.im-port > div { position: relative; z-index: 1; padding: clamp(2rem, 5vw, 4rem); max-width: 640px; }
.im-port h2 { color: #fff; } .im-port .im-tag { color: #fff; }

/* Devis et contact */
.im-quoteform { background: #fff; border-radius: 22px; padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: 0 30px 60px -35px rgba(0, 0, 0, .4); }
.im-quoteform .form-control, .im-quoteform .form-select { border-radius: 10px; padding: .75rem .9rem; border-color: var(--im-line); background-color: var(--im-sand); }
.im-quoteform label, .im-quoteform .form-label { font-size: .85rem; font-weight: 600; }
.im-quoteform .btn { width: 100%; }
.im-contact { list-style: none; padding: 0; display: grid; gap: .9rem; margin: 1.5rem 0 0; }
.im-contact li { display: flex; gap: .9rem; align-items: flex-start; }
.im-contact i { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--im-primary); }
.im-sec:not(.im-soft) .im-contact i { background: var(--im-soft); }
.im-contact b { display: block; } .im-contact a { color: var(--im-ink); text-decoration: none; }

/* Textes (mentions légales…) */
.im-prose { max-width: 820px; font-size: 1.05rem; line-height: 1.8; }
.im-prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2em 0 .6em; }
.im-prose h3 { font-size: 1.25rem; margin: 1.8em 0 .5em; }
.im-prose h2:first-child, .im-prose h3:first-child { margin-top: 0; }
.im-prose a { word-break: break-word; }
.im-dl { margin: 0 0 1.5rem; border: 1px solid var(--im-line); border-radius: 14px; background: #fff; }
.im-dl div { display: grid; grid-template-columns: minmax(9rem, 34%) 1fr; gap: 1rem; padding: .75rem 1.1rem; border-bottom: 1px solid var(--im-line); }
.im-dl div:last-child { border-bottom: 0; }
.im-dl dt { font-weight: 600; font-size: .95rem; } .im-dl dd { margin: 0; color: var(--im-muted); }
@media (max-width: 575.98px) { .im-dl div { grid-template-columns: 1fr; gap: .1rem; } }

/* Pied de page */
.im-ft { background: var(--im-ink); color: #aab4c2; font-size: .92rem; padding: 4rem 0 2rem; }
.im-ft-logo { background: #fff; border-radius: 14px; padding: .6rem .9rem; display: inline-block; line-height: 0; }
.im-ft-logo img { height: 56px; width: auto; }
.im-ft-brand p { margin: 1.2rem 0; max-width: 380px; }
.im-ft h4 { color: #fff; font-family: inherit; font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.im-ft a { color: #fff; text-decoration: none; } .im-ft a:hover { color: var(--im-accent); }
.im-ft-links { list-style: none; display: grid; gap: .5rem; padding: 0; margin: 0; }
.im-ft-social { display: flex; gap: .5rem; }
.im-ft-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.im-ft-bot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }

/* Formulaires du plugin (contactformV2) */
.eg-form .form-control, .eg-form .form-select { border-radius: 10px; }


/* =====================================================================
   Immobilier (maquette/home.html) : noir et or du logo, titres fins à empattements, angles droits
   ===================================================================== */
:root {
  --im-ink: #161616; --im-soft: #f8f5ef; --im-sand: #f8f5ef; --im-line: #e8e1d3; --im-accent: #bd9e62; --im-muted: #6b6b6b;
  --im-gold: var(--bs-primary, #bd9e62); --im-gold-dark: #9c7f45; --im-cream: var(--im-soft);
}
body { font-weight: 300; }
b, strong { font-weight: 500; }
h1, h2, h3, h4 { font-weight: 400; letter-spacing: -.01em; line-height: 1.1; }
a { color: var(--im-gold-dark); }
.im-cream { background: var(--im-cream); }
.im-dark { background: var(--im-ink); color: #cfcac0; }
.im-sec.im-cream + .im-sec.im-cream { padding-top: 0; }
.im-tag { gap: .8rem; font-size: .75rem; letter-spacing: .28em; color: var(--im-gold-dark); font-weight: 500; }
.im-tag::before { width: 36px; height: 1px; background: var(--im-gold); }
.im-dark .im-tag, .im-pagehead .im-tag, .im-band .im-tag, .im-hero .im-tag, .im-pillar .im-tag { color: var(--im-gold); }
.im-h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.im-h2 em { font-style: italic; color: var(--im-gold-dark); }
.im-dark .im-h2 em, .im-band .im-h2 em, .im-hero h1 em, .im-pagehead h1 em { font-style: italic; color: var(--im-gold); }
.btn { border-radius: 0; padding: .95rem 1.8rem; font-weight: 500; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.btn-gold, .btn-primary { --bs-btn-bg: var(--im-gold); --bs-btn-border-color: var(--im-gold); --bs-btn-color: #fff; --bs-btn-hover-bg: var(--im-gold-dark); --bs-btn-hover-border-color: var(--im-gold-dark); --bs-btn-hover-color: #fff;
  background: var(--im-gold); color: #fff; border: 1px solid var(--im-gold); }
.btn-gold:hover, .btn-primary:hover { background: var(--im-gold-dark); border-color: var(--im-gold-dark); color: #fff; }
.btn-ink { background: var(--im-ink); color: #fff; } .btn-ink:hover { background: #333; color: #fff; }
.btn-line { border: 1px solid var(--im-ink); }
.btn-line-w { border: 1px solid rgba(255, 255, 255, .6); color: #fff; } .btn-line-w:hover { background: #fff; color: var(--im-ink); }

/* Bandeau et en-tête */
.im-top { color: #bdb7ab; font-size: .8rem; }
.im-top a { font-weight: 400; } .im-top i { color: var(--im-gold); }
.im-top-r a + a { margin-left: 1.4rem; }
.im-hd { border-bottom: 1px solid var(--im-line); }
.im-nav a { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; padding: .4rem .2rem; margin: 0 .75rem; border-bottom: 1px solid transparent; }
.im-nav a:hover, .im-nav a.active { color: var(--im-ink); border-color: var(--im-gold); }
.im-cta { white-space: nowrap; }

/* Accueil : grande photo */
.im-hero { position: relative; min-height: clamp(560px, 82vh, 820px); display: flex; align-items: center; color: #fff; overflow: hidden; }
.im-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.im-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 14, 14, .82) 0%, rgba(14, 14, 14, .5) 50%, rgba(14, 14, 14, .1) 100%); }
.im-hero .container { position: relative; z-index: 2; padding-block: 3rem; }
.im-hero h1 { color: #fff; font-size: clamp(2.8rem, 6.4vw, 5.4rem); max-width: 820px; margin: 1.4rem 0; }
.im-hero .lead { max-width: 540px; font-weight: 300; color: rgba(255, 255, 255, .88); font-size: 1.1rem; }
.im-hero-card { position: absolute; left: auto; right: 6%; bottom: 10%; display: block; border-radius: 0; z-index: 3; background: #fff; color: var(--im-ink); padding: 1.6rem 1.8rem; max-width: 300px; border-top: 3px solid var(--im-gold); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.im-hero-card small { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--im-muted); }
.im-hero-card b { display: block; font: 400 2.8rem/1 var(--im-head); color: var(--im-gold-dark); margin: .4rem 0; }
.im-hero-card span { color: var(--im-muted); font-size: .88rem; }
@media (max-width: 991.98px) { .im-hero-card { display: none; } }

/* Deux grandes cartes photo */
.im-pillar { position: relative; display: block; height: 100%; min-height: 420px; overflow: hidden; color: #fff; text-decoration: none; }
.im-pillar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.im-pillar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 14, 14, .85) 0%, rgba(14, 14, 14, .15) 65%); }
.im-pillar > div { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 2.4rem; }
.im-pillar h3 { color: #fff; font-size: 2.4rem; margin: .8rem 0 .6rem; }
.im-pillar p { color: rgba(255, 255, 255, .8); margin-bottom: 1.2rem; max-width: 420px; }
.im-pillar .more { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--im-gold); }
.im-pillar:hover { color: #fff; } .im-pillar:hover img { transform: scale(1.05); }

/* Listes cochées, photo encadrée */
.im-ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
.im-ticks.one { grid-template-columns: 1fr; }
.im-ticks li { display: flex; gap: .9rem; padding: .95rem 0; border-bottom: 1px solid var(--im-line); }
.im-ticks li i { color: var(--im-gold); font-size: 1.1rem; line-height: 1.5; }
.im-dark .im-ticks li { border-color: rgba(255, 255, 255, .12); }
@media (max-width: 767.98px) { .im-ticks { grid-template-columns: 1fr; } }
.im-frame { position: relative; z-index: 0; }
.im-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.im-frame::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--im-gold); z-index: -1; }
@media (max-width: 767.98px) { .im-frame::before { inset: 12px -10px -12px 10px; } }

/* Formules */
.im-offer { background: #fff; border: 1px solid var(--im-line); padding: 2.6rem 2.2rem; height: 100%; display: flex; flex-direction: column; position: relative; }
.im-offer.star { border-color: var(--im-gold); box-shadow: 0 40px 80px -50px rgba(156, 127, 69, .7); }
.im-offer .badge-star { position: absolute; top: -1px; right: 2rem; background: var(--im-gold); color: #fff; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; padding: .45rem .8rem; }
.im-offer h3 { font-size: 1.9rem; margin-bottom: .3rem; }
.im-offer .sub { color: var(--im-muted); font-size: .9rem; }
.im-offer .rate { font: 400 4rem/1 var(--im-head); color: var(--im-gold-dark); margin: 1.6rem 0 .3rem; }
.im-offer .rate small { font-family: var(--bs-body-font-family); font-size: .95rem; color: var(--im-muted); margin-left: .4rem; }
.im-offer ul { list-style: none; padding: 0; margin: 1.6rem 0 2rem; }
.im-offer li { padding: .55rem 0; display: flex; gap: .7rem; font-size: .93rem; }
.im-offer li i { color: var(--im-gold); }
.im-offer .btn { margin-top: auto; }

/* Services complémentaires */
.im-extra { display: flex; gap: 1.4rem; align-items: flex-start; padding: 2rem; border: 1px solid rgba(255, 255, 255, .14); height: 100%; }
.im-extra > i { font-size: 2rem; color: var(--im-gold); }
.im-extra h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.im-extra p { margin: 0; }
.im-sec:not(.im-dark) .im-extra { border-color: var(--im-line); background: #fff; }

/* Tableau de tarifs */
.im-table { width: 100%; border-collapse: collapse; background: #fff; font-size: .93rem; }
.im-table th { background: var(--im-ink); color: #fff; font-weight: 500; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; padding: 1rem 1.2rem; }
.im-table td { padding: 1rem 1.2rem; border-bottom: 1px solid var(--im-line); vertical-align: top; }
.im-table td.p { font-family: var(--im-head); font-size: 1.15rem; color: var(--im-gold-dark); white-space: nowrap; }
.im-table td.s { text-align: center; color: var(--im-gold); }
.im-table tr.grp td { background: var(--im-cream); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--im-ink); }
.im-note { font-size: .78rem; color: var(--im-muted); margin-top: 1rem; }

/* Bandeau photo */
.im-band { position: relative; color: #fff; overflow: hidden; }
.im-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.im-band::after { content: ""; position: absolute; inset: 0; background: rgba(14, 14, 14, .72); }
.im-band .container { position: relative; z-index: 1; }
.im-band h2 { color: #fff; }

/* Contact, pages intérieures, pied de page */
.im-contact li { padding: 1.1rem 0; border-bottom: 1px solid var(--im-line); gap: 1rem; }
.im-contact i { width: 46px; height: 46px; border-radius: 0; border: 1px solid var(--im-gold); background: transparent; color: var(--im-gold-dark); }
.im-contact b { display: block; } .im-contact a { color: inherit; text-decoration: none; }
.im-quoteform { border-radius: 0; border-top: 3px solid var(--im-gold); box-shadow: 0 40px 80px -60px rgba(0, 0, 0, .5); }
.im-quoteform .form-control, .im-quoteform .form-select { border-radius: 0; background-color: #fff; }
.im-quoteform label, .im-quoteform .form-label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.im-quoteform .btn { width: auto; }
.im-photo { border-radius: 0; }
.im-ft h4 { font-family: var(--bs-body-font-family); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.im-ft-logo { border-radius: 0; padding: .9rem 1.2rem; } .im-ft-logo img { height: 60px; }
.im-ft { color: #a9a397; }
.im-quoteform .form-check-label { text-transform: none; letter-spacing: 0; font-size: .85rem; font-weight: 300; }
@media (max-width: 575.98px) { .im-hd-right .im-cta { display: none; } .im-logo img { height: 46px; } .im-hero h1 { font-size: 2.5rem; } .im-pillar h3 { font-size: 2rem; } .im-pillar > div { padding: 1.6rem; } }
