/* sur-mesure.css : DA de Conciergerie Elia (vert sapin, champagne, crème du flyer) pour tout ce
   que generer.js ajoute au gabarit : en-tête et menu, pages de prestations et de communes,
   formulaire d'estimation, plan, pied de page, barre d'appel mobile. Chargée après theme.css. */

:root {
  --vert: #183B2B;
  --vert-nuit: #12291E;
  --vert-entete: #1B3728;
  --vert-2: #1E4634;
  --or: #C6A87D;
  --or-clair: #DCC7A1;
  --or-fonce: #8C6D3F;
  --creme: #F8F5EE;
  --blanc: #FFFFFF;
  --encre: #1E2622;
  --gris: #4F5A53;
  --ligne: #E3DCCB;
  --ombre: 0 18px 44px rgba(18, 41, 30, 0.09);
}

.sm-ico { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -0.18em; }
.sm-visuel-cache {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------- en-tête */
.sm-header {
  background: var(--vert-entete); color: #F4EFE4;
  border-bottom: 1px solid rgba(198, 168, 125, 0.22);
}
.sm-header-inner { max-width: 1240px; padding: 8px 24px; gap: 20px; min-height: 80px; }
.sm-marque { display: flex; align-items: center; flex: none; text-decoration: none; }
.sm-marque-logo { height: 62px; width: auto; display: block; }
.sm-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.sm-nav-liste { list-style: none; display: flex; align-items: center; gap: 4px; }
.sm-nav-liste > li { position: relative; }
.sm-nav-lien {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
  color: #F4EFE4; text-decoration: none; font-weight: 500; font-size: 0.95rem; letter-spacing: 0.01em;
  transition: background 0.2s ease, color 0.2s ease;
}
.sm-nav-lien:hover, .sm-deroulant:focus-within > .sm-nav-lien, .sm-actif > .sm-nav-lien { color: var(--or-clair); background: rgba(255, 255, 255, 0.06); }
.sm-chevron { width: 15px; height: 15px; transition: transform 0.2s ease; }
.sm-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  min-width: 300px; padding: 14px; border-radius: 18px; background: #FFFDF8; color: var(--encre);
  box-shadow: 0 26px 60px rgba(10, 25, 18, 0.28), 0 0 0 1px rgba(198, 168, 125, 0.25);
  opacity: 0; visibility: hidden; transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 60;
}
.sm-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.sm-deroulant:hover > .sm-menu, .sm-deroulant:focus-within > .sm-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sm-deroulant:hover .sm-chevron, .sm-deroulant:focus-within .sm-chevron { transform: rotate(180deg); }
.sm-menu ul { list-style: none; }
.sm-menu a { color: var(--encre); text-decoration: none; }
.sm-menu-services a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-weight: 500; font-size: 0.95rem;
}
.sm-menu-services a .sm-ico { color: var(--or-fonce); width: 22px; height: 22px; }
.sm-menu-services a:hover { background: #F3EEE3; color: var(--vert); }
.sm-menu-large { display: grid; grid-template-columns: repeat(3, minmax(170px, 1fr)); gap: 6px 18px; min-width: 640px; padding: 20px 22px; }
.sm-menu-titre { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--vert); margin: 0 0 6px; padding-bottom: 6px; border-bottom: 1px solid var(--ligne); }
.sm-menu-groupe a { display: block; padding: 5px 0; font-size: 0.93rem; }
.sm-menu-groupe a:hover { color: var(--vert); text-decoration: underline; text-decoration-color: var(--or); text-underline-offset: 3px; }
.sm-nav-tel { display: none; }
.sm-tel, .site-header .sm-tel {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgba(198, 168, 125, 0.7); color: var(--or-clair); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; white-space: nowrap; transition: background 0.2s ease, color 0.2s ease;
}
.sm-tel:hover { background: var(--or); color: var(--vert-nuit); }
.sm-burger {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(198, 168, 125, 0.6);
  background: transparent; color: #F4EFE4; cursor: pointer; align-items: center; justify-content: center;
}
.sm-burger .sm-ico { width: 22px; height: 22px; }
.sm-ico-fermer { display: none; }
.sm-menu-ouvert .sm-ico-ouvrir { display: none; }
.sm-menu-ouvert .sm-ico-fermer { display: inline-block; }

@media (max-width: 1100px) {
  .sm-nav-lien { padding: 10px 10px; font-size: 0.92rem; }
  .sm-header-inner { gap: 12px; }
}
@media (max-width: 980px) {
  .sm-burger { display: inline-flex; }
  .sm-tel span { display: none; }
  .sm-tel, .site-header .sm-tel { width: 46px; height: 46px; padding: 0; justify-content: center; border-radius: 50%; }
  .sm-tel .sm-ico { width: 20px; height: 20px; }
  .sm-header-inner { min-height: 64px; padding: 8px 18px; }
  .sm-marque-logo { height: 44px; }
  .sm-nav {
    position: fixed; left: 0; right: 0; top: 64px; bottom: 0; z-index: 70;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 12px 18px 120px;
    background: var(--vert-nuit); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .sm-menu-ouvert .sm-nav { opacity: 1; visibility: visible; transform: none; }
  .sm-menu-ouvert body { overflow: hidden; }
  .sm-nav-liste { flex-direction: column; align-items: stretch; gap: 0; }
  .sm-nav-liste > li { border-bottom: 1px solid rgba(198, 168, 125, 0.18); }
  .sm-nav-lien { width: 100%; justify-content: space-between; padding: 18px 4px; border-radius: 0; font-size: 1.12rem; }
  .sm-nav-lien:hover, .sm-deroulant:focus-within > .sm-nav-lien, .sm-actif > .sm-nav-lien { background: none; }
  .sm-menu, .sm-menu-large {
    position: static; transform: none; opacity: 1; visibility: visible; display: none;
    min-width: 0; box-shadow: none; background: transparent; padding: 0 0 14px; color: #F4EFE4;
  }
  .sm-menu::before { display: none; }
  .sm-deroulant:hover > .sm-menu, .sm-deroulant:focus-within > .sm-menu { transform: none; }
  .sm-deplie > .sm-menu { display: block; }
  .sm-deplie > .sm-menu-large { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
  .sm-deplie .sm-chevron { transform: rotate(180deg); }
  .sm-deroulant:not(.sm-deplie):hover .sm-chevron, .sm-deroulant:not(.sm-deplie):focus-within .sm-chevron { transform: none; }
  .sm-menu a, .sm-menu-groupe a { color: #F4EFE4; }
  .sm-menu-services a:hover { background: rgba(255, 255, 255, 0.06); color: var(--or-clair); }
  .sm-menu-services a .sm-ico { color: var(--or); }
  .sm-menu-titre { color: var(--or-clair); border-color: rgba(198, 168, 125, 0.25); grid-column: 1 / -1; margin-top: 8px; }
  .sm-menu-groupe { display: contents; }
  .sm-menu-groupe ul { display: contents; }
  .sm-nav-tel {
    display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 24px; padding: 16px;
    border-radius: 999px; background: var(--or); color: var(--vert-nuit); font-weight: 700; text-decoration: none; font-size: 1.05rem;
  }
}

/* ---------------------------------------------------------------- éléments communs */
.sm-surtitre {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.3rem; color: var(--or-clair);
}
.sm-surtitre .sm-ico { width: 24px; height: 24px; color: var(--or); }
.sm-lire {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-weight: 600; font-size: 0.93rem; color: var(--vert); text-decoration: none;
}
.sm-lire .sm-ico { transition: transform 0.25s ease; }
a:hover > .sm-lire .sm-ico, .sm-lire:hover .sm-ico, .sm-service:hover .sm-lire .sm-ico { transform: translateX(4px); }
.sm-pastille-ico {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 54px; height: 54px; border-radius: 50%; background: var(--vert); color: var(--or);
  box-shadow: 0 0 0 1px rgba(198, 168, 125, 0.45);
}
.sm-pastille-ico .sm-ico { width: 28px; height: 28px; }
.sm-suite { margin-top: 40px; text-align: center; }
.btn.sm-btn-sombre { color: var(--vert); border-color: rgba(24, 59, 43, 0.45); }
.btn.sm-btn-sombre:hover { background: var(--vert); color: var(--creme); border-color: var(--vert); }
.sm-intro-section, .sm-intro-bande { color: var(--gris); font-size: 1.06rem; max-width: 64ch; margin: -6px 0 34px; }
.sm-intro-section a, .sm-intro-bande a { color: var(--vert); text-decoration-color: var(--or); text-underline-offset: 3px; }

/* ---------------------------------------------------------------- accueil */
.sm-service { position: relative; }
.sm-service .service-texte { position: relative; display: flex; flex-direction: column; flex: 1; padding-top: 38px !important; }
.sm-service .sm-pastille-ico { position: absolute; top: -27px; left: 24px; box-shadow: 0 0 0 4px #FFFFFF, 0 8px 18px rgba(18, 41, 30, 0.18); }
.sm-service h3 a { color: inherit; text-decoration: none; }
.sm-service h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.services-cartes .sm-service { display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.services-cartes .sm-service:hover { transform: translateY(-4px); box-shadow: 0 26px 54px rgba(24, 59, 43, 0.13); }
.sm-service .sm-lire { margin-top: auto; padding-top: 14px; }
.sm-service:focus-within { outline: 2px solid var(--or); outline-offset: 3px; }

.zone .zone-texte { width: 100%; }
.sm-secteurs { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 22px; margin-top: 10px; align-items: start; }
.sm-secteurs > .sm-secteur:first-child { grid-row: span 2; align-self: stretch; }
.sm-secteurs > .sm-secteur:first-child .sm-villes { grid-template-columns: 1fr 1fr; column-gap: 30px; }
.sm-secteur {
  background: var(--blanc); border: 1px solid var(--ligne); border-radius: 18px; padding: 24px 24px 18px;
  box-shadow: 0 10px 30px rgba(24, 59, 43, 0.05);
}
.sm-secteur h3 { font-size: 1.5rem; color: var(--vert); margin-bottom: 4px; }
.sm-secteur-note { color: var(--gris); font-size: 0.92rem; margin-bottom: 12px; }
.sm-villes { list-style: none; display: grid; gap: 2px; }
.sm-villes a {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; margin: 0 -10px; border-radius: 10px;
  color: var(--encre); text-decoration: none; font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}
.sm-villes a .sm-ico { color: var(--or-fonce); width: 18px; height: 18px; }
.sm-villes a small { margin-left: auto; color: var(--gris); font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.sm-villes a:hover { background: #F3EEE3; color: var(--vert); }
.sm-villes a.sm-ville-avant { font-weight: 700; color: var(--vert); }

.sm-faq-accueil { background: var(--blanc) !important; border-top: 1px solid var(--ligne); }
.sm-faq-inner { max-width: 900px; }
.sm-faq-accueil .sm-faq h2 { margin-bottom: 24px; }

/* ---------------------------------------------------------------- contact et formulaire */
.sm-contact .contact-inner { align-items: start; }
.sm-contact .contact-tel { margin-top: 26px; }
.sm-coordonnees { list-style: none; display: grid; gap: 10px; margin: 18px 0 26px; }
.sm-coordonnees li { display: flex; align-items: center; gap: 12px; color: rgba(244, 239, 228, 0.86); }
.sm-coordonnees .sm-ico { color: var(--or); width: 20px; height: 20px; }
.sm-coordonnees a { color: #F4EFE4; }
.sm-carte {
  border-radius: 18px; overflow: hidden; border: 1px solid rgba(198, 168, 125, 0.4);
  background: rgba(255, 255, 255, 0.04); max-width: 460px;
}
.sm-carte-facade { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; padding: 22px 24px; align-items: start; }
.sm-carte-repere { width: 34px; height: 34px; color: var(--or); grid-row: span 2; }
.sm-carte-facade p { color: rgba(244, 239, 228, 0.86); font-size: 0.95rem; line-height: 1.55; }
.sm-carte-facade strong { color: #F4EFE4; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.sm-carte-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.sm-carte-actions button, .sm-carte-actions a {
  font: 600 0.88rem/1 var(--font-body); padding: 11px 16px; border-radius: 999px; cursor: pointer; text-decoration: none;
  border: 1px solid rgba(198, 168, 125, 0.7); background: transparent; color: var(--or-clair);
}
.sm-carte-actions button:hover, .sm-carte-actions a:hover { background: var(--or); color: var(--vert-nuit); }
.sm-carte iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; }
.sm-form-ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form select {
  font: inherit; padding: 12px 40px 12px 14px; width: 100%; border-radius: 12px;
  border: 1px solid var(--line); background-color: var(--champ-bg, #fff); color: var(--ink);
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23C6A87D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.contact-form select:focus { outline: 2px solid var(--or); outline-offset: 1px; }
.contact-form select option, .contact-form select optgroup { color: #1E2622; background: #FFFFFF; }
.contact-form textarea::placeholder { color: rgba(244, 239, 228, 0.55); }
.bande-a .contact-form label { color: #F4EFE4; }
.bande-a .champ-option { color: rgba(244, 239, 228, 0.7); }
.bande-a .form-rgpd { color: rgba(244, 239, 228, 0.7); }
.sm-contact .contact-form { background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(198, 168, 125, 0.25); border-radius: 22px; padding: clamp(20px, 3vw, 32px); }
.sm-envoyer { margin-top: 6px; }

/* ---------------------------------------------------------------- pied de page */
.sm-footer { background: var(--vert-nuit); color: rgba(244, 239, 228, 0.78); border-top: 1px solid rgba(198, 168, 125, 0.25); }
.sm-footer a { color: rgba(244, 239, 228, 0.86); text-decoration: none; }
.sm-footer a:hover { color: var(--or-clair); text-decoration: underline; text-underline-offset: 3px; }
.sm-footer-haut {
  max-width: 1240px; margin: 0 auto; padding: clamp(54px, 7vw, 84px) 24px 40px;
  display: grid; grid-template-columns: 1.1fr 1fr 1.6fr; gap: clamp(28px, 4vw, 64px);
}
.sm-footer-logo { width: 132px; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px rgba(198, 168, 125, 0.35); margin-bottom: 16px; }
.sm-footer-slogan { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--or-clair); margin-bottom: 16px; }
.sm-nap { font-style: normal; display: grid; gap: 6px; font-size: 0.95rem; }
.sm-nap strong { color: #F4EFE4; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.sm-footer-titre { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; margin-bottom: 14px; }
.sm-footer-titre a { color: #F4EFE4; }
.sm-footer ul { list-style: none; display: grid; gap: 7px; font-size: 0.93rem; }
.sm-footer-villes ul { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.sm-footer-bas {
  max-width: 1240px; border-top: 1px solid rgba(198, 168, 125, 0.18);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  padding: 22px 24px 28px; font-size: 0.86rem; color: rgba(244, 239, 228, 0.7);
}
.sm-footer-liens { display: flex; gap: 20px; text-align: left; }
.sm-footer .footer-credit { opacity: 0.8; }
@media (max-width: 900px) {
  .sm-footer-haut { grid-template-columns: 1fr 1fr; }
  .sm-footer-marque { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .sm-footer-haut { grid-template-columns: 1fr; }
  .sm-footer-villes ul { grid-template-columns: 1fr 1fr; }
}

/* ---------------------------------------------------------------- barre d'appel mobile */
.sm-barre-appel { display: none; }
@media (max-width: 760px) {
  body.sm-page { padding-bottom: 76px; }
  .sm-barre-appel {
    display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(18, 41, 30, 0.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-top: 1px solid rgba(198, 168, 125, 0.35);
    transition: transform 0.3s ease;
  }
  .sm-barre-appel.sm-barre-cachee { transform: translateY(110%); }
  .sm-barre-appel a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 999px;
    font-weight: 700; font-size: 0.98rem; text-decoration: none;
  }
  .sm-barre-tel { background: var(--or); color: var(--vert-nuit); }
  .sm-barre-devis { border: 1px solid rgba(198, 168, 125, 0.75); color: #F4EFE4; }
  .sm-menu-ouvert .sm-barre-appel { transform: translateY(110%); }

  /* héro du téléphone : tout le bloc (boutons compris) tient dans l'écran visible sous l'en-tête.
     92vh mesure l'écran barres du navigateur repliées : le texte tombait sous la barre d'appel
     (Quentin, 08/10/2026). svh = écran barres déployées ; le bandeau d'aperçu (34 px) est déduit. */
  .hero-plein { min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); }
  body:has(#ba-bandeau) .hero-plein { min-height: calc(100vh - 98px); min-height: calc(100svh - 98px); }
  .hero-plein .hero-contenu { padding: 28px 20px 24px; }
  .hero-plein .hero-metier { font-size: 0.72rem; letter-spacing: 0.1em; margin-bottom: 12px; }
  .hero-plein .hero-sous { margin-top: 10px; }
  .hero-plein .hero-actions { display: grid; gap: 10px; margin-top: 20px; }
  .hero-plein .hero-actions .btn { justify-content: center; padding: 13px 20px; }
}

/* ---------------------------------------------------------------- pages : héro */
.sm-hero { position: relative; overflow: hidden; }
.sm-hero::before, .sm-hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(198, 168, 125, 0.22);
}
.sm-hero::before { width: 760px; height: 760px; right: -260px; top: -420px; }
.sm-hero::after { width: 520px; height: 520px; left: -300px; bottom: -340px; }
.sm-hero-inner {
  position: relative; z-index: 1; max-width: 1240px; margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) 24px clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(32px, 5vw, 72px); align-items: center;
}
.sm-hero-inner-seul { grid-template-columns: minmax(0, 860px); }
.sm-hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); line-height: 1.04; color: #F7F3EA; max-width: 20ch; }
.sm-hero-intro { margin-top: 18px; font-size: 1.12rem; line-height: 1.7; color: rgba(244, 239, 228, 0.88); max-width: 58ch; }
.sm-hero-intro a { color: var(--or-clair); }
.sm-hero .hero-actions { margin-top: 30px; }
.sm-hero-photo { position: relative; margin: 0; }
.sm-hero-photo::before {
  content: ""; position: absolute; inset: 0; transform: translate(16px, 16px);
  border: 1px solid rgba(198, 168, 125, 0.6); border-radius: 22px;
}
.sm-hero-photo img {
  position: relative; width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.sm-ariane ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.86rem; margin-bottom: 26px; color: rgba(244, 239, 228, 0.72); }
.sm-ariane li + li::before { content: "/"; margin-right: 6px; color: var(--or); }
.sm-ariane a { color: rgba(244, 239, 228, 0.86); text-decoration: none; }
.sm-ariane a:hover { color: var(--or-clair); text-decoration: underline; }
.sm-fiche { list-style: none; display: grid; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(198, 168, 125, 0.25); }
.sm-fiche li { display: flex; align-items: center; gap: 12px; color: rgba(244, 239, 228, 0.86); font-size: 0.98rem; }
.sm-fiche .sm-ico { color: var(--or); width: 20px; height: 20px; }
.sm-fiche strong { color: #F4EFE4; }
@media (max-width: 900px) {
  .sm-hero-inner { grid-template-columns: 1fr; }
  .sm-hero-photo { max-width: 560px; }
  .sm-hero-photo img { aspect-ratio: 16 / 10; }
  .sm-hero-photo::before { transform: translate(10px, 10px); }
}
@media (max-width: 520px) {
  .sm-hero h1 { font-size: clamp(1.95rem, 8.6vw, 2.35rem); line-height: 1.08; }
  .sm-hero-intro { font-size: 1rem; }
  .sm-ariane ol { margin-bottom: 18px; }
  .sm-surtitre { font-size: 1.15rem; }
  .sm-hero .hero-actions { margin-top: 22px; }
}

/* ---------------------------------------------------------------- pages : article */
.sm-article-cadre { background: var(--creme); }
.sm-article-grille {
  max-width: 1240px; margin: 0 auto; padding: clamp(56px, 7vw, 96px) 24px;
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(36px, 5vw, 80px); align-items: start;
}
.sm-article { min-width: 0; max-width: 760px; color: #2A332E; }
.sm-bloc + .sm-bloc { margin-top: clamp(40px, 5vw, 60px); }
.sm-bloc h2 { color: var(--vert); font-size: clamp(1.8rem, 3vw, 2.4rem); max-width: 30ch; }
.sm-bloc p { font-size: 1.05rem; line-height: 1.78; margin-bottom: 1.05em; }
.sm-bloc p:last-child { margin-bottom: 0; }
.sm-article a, .sm-lateral .sm-encart-clair a, .sm-bande a.sm-texte-lien { color: var(--vert); text-decoration: underline; text-decoration-color: var(--or); text-decoration-thickness: 1.5px; text-underline-offset: 3px; font-weight: 600; }
.sm-article a:hover { color: var(--or-fonce); }
.sm-liste { list-style: none; display: grid; gap: 12px; margin: 6px 0 1.2em; }
.sm-liste li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.03rem; line-height: 1.65; }
.sm-liste .sm-ico {
  width: 26px; height: 26px; padding: 5px; margin-top: 1px; border-radius: 50%;
  background: var(--vert); color: var(--or); stroke-width: 2;
}
.sm-etapes { list-style: none; margin: 10px 0 1.2em; border-left: 1px solid var(--or); padding-left: 0; }
.sm-etapes li { position: relative; padding: 0 0 22px 32px; }
.sm-etapes li:last-child { padding-bottom: 4px; }
.sm-etapes li::before {
  content: ""; position: absolute; left: -7px; top: 6px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--creme); border: 2px solid var(--or);
}
.sm-etapes .sm-etape-titre { font-family: var(--font-display); font-weight: 600; font-size: 1.55rem; color: var(--vert); line-height: 1.2; margin-bottom: 4px; }
.sm-etapes p { margin-bottom: 0; }
.sm-figure { margin: 28px 0 6px; }
.sm-figure img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; box-shadow: var(--ombre); }
.sm-figure figcaption { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--gris); padding-top: 10px; }

.sm-faq h2 { color: var(--vert); }
.sm-question { border-bottom: 1px solid var(--ligne); }
.sm-question:first-of-type { border-top: 1px solid var(--ligne); }
.sm-question summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 2px; font-weight: 600; font-size: 1.06rem; color: var(--encre);
}
.sm-question summary::-webkit-details-marker { display: none; }
.sm-question summary .sm-chevron { width: 20px; height: 20px; color: var(--or-fonce); transition: transform 0.25s ease; }
.sm-question[open] summary .sm-chevron { transform: rotate(180deg); }
.sm-question summary:hover { color: var(--vert); }
.sm-reponse { padding: 0 2px 22px; }
.sm-reponse p { color: var(--gris); font-size: 1.02rem; line-height: 1.75; }
.sm-reponse a { color: var(--vert); text-decoration-color: var(--or); text-underline-offset: 3px; font-weight: 600; }

.sm-lateral { position: sticky; top: 100px; display: grid; gap: 20px; }
.sm-encart {
  background: var(--vert); color: rgba(244, 239, 228, 0.88); border-radius: 22px; padding: 28px;
  box-shadow: 0 24px 56px rgba(18, 41, 30, 0.22); position: relative; overflow: hidden;
}
.sm-encart::after { content: ""; position: absolute; width: 260px; height: 260px; right: -130px; top: -130px; border-radius: 50%; border: 1px solid rgba(198, 168, 125, 0.3); }
.sm-encart .sm-encart-titre { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; color: #F7F3EA; line-height: 1.1; margin-bottom: 10px; }
.sm-encart p { font-size: 0.97rem; line-height: 1.6; }
.sm-encart .btn { display: block; margin-top: 20px; background: var(--or); color: var(--vert-nuit); }
.sm-encart-tel { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; color: var(--or-clair); font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; text-decoration: none; }
.sm-encart-tel .sm-ico { width: 22px; height: 22px; }
.sm-encart-horaires { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; font-size: 0.9rem !important; color: rgba(244, 239, 228, 0.75); }
.sm-encart-clair { background: var(--blanc); color: var(--encre); border: 1px solid var(--ligne); box-shadow: 0 12px 30px rgba(18, 41, 30, 0.06); }
.sm-encart-clair::after { display: none; }
.sm-encart.sm-encart-clair .sm-encart-titre { color: var(--vert); font-size: 1.45rem; }
.sm-encart-liste { list-style: none; display: grid; gap: 2px; }
.sm-encart-liste a, .sm-lateral .sm-encart-clair .sm-encart-liste a {
  display: flex; align-items: center; gap: 12px; padding: 9px 8px; margin: 0 -8px; border-radius: 10px;
  color: var(--encre); text-decoration: none; font-weight: 500; font-size: 0.95rem;
}
.sm-encart-liste .sm-ico { width: 22px; height: 22px; color: var(--or-fonce); }
.sm-encart-liste a:hover { background: #F3EEE3; color: var(--vert); }
@media (max-width: 980px) {
  .sm-article-grille { grid-template-columns: 1fr; }
  .sm-lateral { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

/* ---------------------------------------------------------------- pages : bandes de liens */
.sm-bande { background: var(--blanc); }
.sm-bande + .sm-bande { background: var(--creme); }
.sm-bande h2 { color: var(--vert); }
.sm-cartes-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.sm-carte-service {
  display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: 20px; text-decoration: none; color: var(--encre);
  background: var(--blanc); border: 1px solid var(--ligne); box-shadow: 0 12px 30px rgba(24, 59, 43, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.sm-bande:not(:has(+ .sm-bande)) .sm-carte-service, .sm-bande + .sm-bande .sm-carte-service { background: var(--blanc); }
.sm-carte-service:hover { transform: translateY(-4px); border-color: rgba(198, 168, 125, 0.7); box-shadow: 0 24px 50px rgba(24, 59, 43, 0.11); }
.sm-carte-service h3 { font-size: 1.55rem; color: var(--vert); margin-top: 10px; }
.sm-carte-service p { color: var(--gris); font-size: 0.97rem; line-height: 1.6; }
.sm-carte-service .sm-lire { margin-top: auto; padding-top: 6px; }
.sm-proches { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.sm-proches a { display: grid !important; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; align-items: center; }
.sm-proches a .sm-ico { grid-row: span 2; }
.sm-proches a small { margin-left: 0 !important; }
.sm-proches a.sm-proches-tout { grid-template-columns: auto 1fr; }
.sm-proches a.sm-proches-tout .sm-ico { grid-row: auto; }
.sm-proches a {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; text-decoration: none;
  background: var(--blanc); border: 1px solid var(--ligne); color: var(--encre); font-weight: 600;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.sm-proches a .sm-ico { color: var(--or-fonce); width: 20px; height: 20px; }
.sm-proches a small { margin-left: auto; color: var(--gris); font-weight: 500; font-size: 0.82rem; white-space: nowrap; }
.sm-proches a:hover { border-color: var(--or); transform: translateY(-2px); color: var(--vert); }
.sm-proches a.sm-proches-tout { background: var(--vert); color: #F4EFE4; border-color: var(--vert); }
.sm-proches a.sm-proches-tout .sm-ico { color: var(--or); }
@media (max-width: 900px) {
  .sm-secteurs { grid-template-columns: 1fr; }
  .sm-secteurs > .sm-secteur:first-child { grid-row: auto; }
}
@media (max-width: 420px) {
  .sm-secteurs > .sm-secteur:first-child .sm-villes { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- pages carrefour */
.sm-prestas { display: grid; gap: clamp(36px, 5vw, 64px); }
.sm-presta { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(26px, 4vw, 56px); align-items: center; }
.sm-presta:nth-child(even) .sm-presta-photo { order: 2; }
.sm-presta-photo img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 20px; box-shadow: var(--ombre); }
.sm-presta .sm-surtitre { color: var(--or-fonce); font-size: 1.2rem; margin-bottom: 6px; }
.sm-presta .sm-surtitre .sm-ico { color: var(--or-fonce); }
.sm-presta h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.5em; }
.sm-presta h2::after { display: none; }
.sm-presta h2 a { color: var(--vert); text-decoration: none; }
.sm-presta p { color: var(--gris); font-size: 1.04rem; line-height: 1.72; }
@media (max-width: 760px) {
  .sm-presta { grid-template-columns: 1fr; }
  .sm-presta:nth-child(even) .sm-presta-photo { order: 0; }
}
.sm-secteurs-hub { display: grid; gap: clamp(48px, 6vw, 80px); }
.sm-secteur-tete { max-width: 760px; margin-bottom: 26px; }
.sm-secteur-tete h2 { color: var(--vert); }
.sm-secteur-tete p { color: var(--gris); font-size: 1.05rem; line-height: 1.72; }
.sm-secteur-tete a { color: var(--vert); text-decoration-color: var(--or); text-underline-offset: 3px; font-weight: 600; }
.sm-villes-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.sm-ville-carte {
  display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 20px; border-radius: 18px; text-decoration: none; color: var(--encre);
  background: var(--blanc); border: 1px solid var(--ligne); box-shadow: 0 10px 26px rgba(24, 59, 43, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.sm-ville-carte:hover { transform: translateY(-4px); border-color: rgba(198, 168, 125, 0.75); box-shadow: 0 22px 46px rgba(24, 59, 43, 0.1); }
.sm-ville-nom { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--vert); line-height: 1.15; }
.sm-ville-nom .sm-ico { color: var(--or-fonce); width: 20px; height: 20px; }
.sm-ville-cp { color: var(--gris); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.sm-ville-trajet { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--gris); }
.sm-ville-trajet .sm-ico { color: var(--or-fonce); width: 18px; height: 18px; }
.sm-ville-accroche { color: #2A332E; font-size: 0.96rem; line-height: 1.55; margin-top: 4px; }
.sm-ville-carte .sm-lire { margin-top: auto; padding-top: 8px; }

/* ---------------------------------------------------------------- accessibilité, mouvement */
.sm-page a:focus-visible, .sm-page button:focus-visible, .sm-page summary:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  .sm-menu, .sm-nav, .sm-barre-appel, .sm-carte-service, .sm-ville-carte, .services-cartes .sm-service { transition: none; }
}
