/* Saillard & Co — v2. Override sur le site existant, pages internes inchangées. */
body.home-v3 .hc-nav { background:#fff; position:relative; z-index:30; }
body.home-v3 .hc-navinner { display:flex; align-items:center; justify-content:space-between; min-height:70px; gap:16px; }
body.home-v3 .hc-brand { display:flex; align-items:center; gap:12px; text-decoration:none; }
body.home-v3 .hc-brand small { display:block; line-height:1.2; }
.saillard-mobile-menu { display:none; }
body.home-v3 .hc-hero { position:relative; background:#07343f; overflow:hidden; }
.saillard-hero-photo { position:absolute; z-index:0; top:0; right:0; width:45%; height:min(560px,72%); overflow:hidden; }
.saillard-hero-photo::after {content:'';position:absolute;inset:0;background:linear-gradient(90deg,#07343f 0%,rgba(7,52,63,.12) 45%,rgba(7,52,63,.04) 100%);pointer-events:none;}
.saillard-hero-photo img {width:100%;height:100%;object-fit:cover;display:block;}
.saillard-photo-badge {position:absolute;z-index:2;right:15px;top:18px;background:rgba(255,255,255,.93);color:#07343f;max-width:230px;padding:10px 14px;border-radius:13px;font-size:13px;line-height:1.35;font-weight:750;box-shadow:0 4px 24px #0002;}
body.home-v3 .hc-herogrid {position:relative;z-index:2;}
body.home-v3 .hc-title {text-wrap:balance;}
@media(max-width:800px) {
  body.home-v3 .hc-topbar {padding:9px 12px!important;font-size:12px!important;line-height:1.3!important;text-align:center!important;min-height:0!important;}
  body.home-v3 .hc-nav {position:relative!important;top:auto!important;}
  body.home-v3 .hc-navinner {min-height:64px!important;padding:7px 14px!important;flex-wrap:nowrap!important;}
  body.home-v3 .hc-brand {font-size:clamp(14px,4.2vw,20px)!important;gap:9px!important;min-width:0;line-height:1.04!important;}
  body.home-v3 .hc-brand .hc-badge {width:44px!important;height:44px!important;min-width:44px!important;font-size:17px!important;border-radius:11px!important;}
  body.home-v3 .hc-brand small {font-size:10px!important;letter-spacing:.06em!important;margin-top:3px!important;}
  body.home-v3 .hc-menu {display:none!important;}
  .saillard-mobile-menu {display:block;flex:0 0 auto;position:relative;}
  .saillard-mobile-menu summary {cursor:pointer;list-style:none;font-size:27px;line-height:1;color:#07343f;padding:9px;}
  .saillard-mobile-menu summary::-webkit-details-marker {display:none;}
  .saillard-mobile-links {position:absolute;right:0;top:100%;width:190px;display:flex;flex-direction:column;background:#fff;box-shadow:0 12px 30px #0003;border-radius:12px;overflow:hidden;z-index:60;}
  .saillard-mobile-links a {padding:12px 15px;text-decoration:none;color:#07343f;font-weight:700;border-bottom:1px solid #ecf0f0;}
  body.home-v3 .hc-hero {padding-top:0!important;}
  .saillard-hero-photo {position:relative;display:block;width:100%;height:clamp(205px,58vw,320px);}
  .saillard-hero-photo::after {background:linear-gradient(to bottom,transparent 62%,#07343f 100%);}
  .saillard-photo-badge {font-size:10px;max-width:142px;padding:8px 10px;top:13px;right:12px;}
  body.home-v3 .hc-herogrid {display:block!important;margin-top:-8px!important;padding-top:0!important;}
  body.home-v3 .hc-copy {padding-top:0!important;}
  body.home-v3 .hc-eyebrow {font-size:11px!important;line-height:1.4!important;}
  body.home-v3 .hc-title {font-size:clamp(31px,8vw,49px)!important;line-height:1.08!important;margin:10px 0 13px!important;}
  body.home-v3 .hc-title span {display:block;font-size:.81em!important;line-height:1.13!important;color:#90e3dc;}
  body.home-v3 .hc-intro {font-size:15px!important;line-height:1.55!important;}
  body.home-v3 .hc-form {margin-top:20px!important;}
  body.home-v3 .mobile-contact {display:block!important;}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important;}}
/* Disposition de la proposition 2 : photo dégagée et appel immédiat. */
body.home-v3 .hc-topbar{font-size:14px;padding:9px 16px;line-height:1.35}
body.home-v3 .hc-navinner{min-height:70px}
body.home-v3 .hc-hero{padding:0 0 36px}
.saillard-hero-photo{position:relative;inset:auto;width:100%;height:clamp(260px,32vw,430px)}
.saillard-hero-photo img{object-position:center 48%;object-fit:cover}
.saillard-hero-photo::after{background:linear-gradient(0deg,#07343f 0%,transparent 35%)}
.saillard-photo-badge{top:18px;right:max(24px,calc((100vw - 1240px)/2));font-size:12px}
body.home-v3 .hc-herogrid{display:block;padding-top:8px}
body.home-v3 .hc-copy{max-width:1040px}
body.home-v3 .hc-title{font-size:clamp(30px,3.1vw,44px);line-height:1.12;letter-spacing:-1px;max-width:none}
body.home-v3 .hc-title span{font-size:.66em;margin-top:9px;line-height:1.3}
body.home-v3 .hc-intro{font-size:17px;line-height:1.5;max-width:900px;margin:16px 0}
body.home-v3 .hc-actions{margin:18px 0}
body.home-v3 .hc-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:20px}
body.home-v3 .contact-panel{max-width:760px;margin:32px auto 0;padding:24px}
body.home-v3 .direct-reassurance{max-width:900px;font-size:15px}
@media(max-width:800px){
.saillard-hero-photo{height:250px}
body.home-v3 .hc-herogrid{padding-top:12px!important;margin-top:0!important}
body.home-v3 .hc-title{font-size:30px!important}
body.home-v3 .hc-title span{font-size:20px!important}
body.home-v3 .hc-actions{flex-direction:column;align-items:stretch}
body.home-v3 .hc-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}
body.home-v3 .hc-eyebrow{margin-bottom:8px}
body.home-v3 .contact-panel{margin-top:26px!important}
}

/* Reference mobile transmise le 17 octobre : photo, texte, engagements, appel. */
.saillard-photo-badge{display:none}
.reference-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:20px 0;color:#e7f5f3}
.reference-benefits>div{text-align:center;border-right:1px solid #ffffff30;padding:0 8px}
.reference-benefits>div:last-child{border:0}
.reference-benefits svg{display:block;width:27px;height:27px;margin:0 auto 7px;color:#6bd7d1}
.reference-benefits span{display:block;font-size:13px;line-height:1.3}
@media(min-width:801px){
.saillard-hero-photo{height:300px}
.saillard-hero-photo img{object-fit:contain;background:#07343f}
body.home-v3 .hc-herogrid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:40px;padding-top:20px;align-items:center}
body.home-v3 .contact-panel{margin:0;max-width:440px;padding:22px}
body.home-v3 .hc-title{font-size:42px}
body.home-v3 .hc-shortcuts{display:none}
}
@media(max-width:800px){
body.home-v3 .hc-topbar{font-size:10px!important;line-height:1.45!important;padding:5px 12px!important}
body.home-v3 .hc-navinner{min-height:40px!important;padding:5px 14px!important;gap:8px!important}
body.home-v3 .hc-brand{font-size:12px!important;gap:7px!important;white-space:nowrap!important}
body.home-v3 .hc-brand .hc-badge{width:28px!important;height:28px!important;min-width:28px!important;font-size:10px!important;border-radius:6px!important}
body.home-v3 .hc-brand>span:last-child{display:flex;align-items:center;gap:7px}
body.home-v3 .hc-brand small{font-size:7px!important;letter-spacing:.2px!important;margin:0!important;border-left:1px solid #ccd9d9;padding-left:7px}
.saillard-mobile-menu summary{font-size:23px;padding:4px}
.saillard-hero-photo{height:auto;aspect-ratio:902/435}
.saillard-hero-photo img{object-fit:contain;height:auto;width:100%}
.saillard-hero-photo::after{background:linear-gradient(to bottom,transparent 80%,#07343f)}
body.home-v3 .hc-container{width:calc(100% - 36px)}
body.home-v3 .hc-herogrid{padding-top:0!important;margin-top:0!important}
body.home-v3 .hc-copy{padding:0!important}
body.home-v3 .hc-eyebrow{font-size:9px!important;letter-spacing:.4px!important;margin:0 0 3px!important}
body.home-v3 .hc-title{font-size:28px!important;line-height:1.02!important;letter-spacing:-1px!important;margin:0!important;text-wrap:initial;max-width:340px}
body.home-v3 .hc-title span{font-size:26px!important;line-height:1.02!important;margin-top:3px!important}
body.home-v3 .hc-intro{font-size:12px!important;line-height:1.3!important;margin:8px 0 0!important}
body.home-v3 .hc-copy>.hc-actions,body.home-v3 .hc-shortcuts,body.home-v3 .direct-reassurance,body.home-v3 .hc-checks{display:none}
.reference-benefits{margin:10px 0 8px}
.reference-benefits>div{padding:0 3px}
.reference-benefits svg{width:23px;height:23px;margin-bottom:4px}
.reference-benefits span{font-size:9px;line-height:1.25}
body.home-v3 .contact-panel{margin:30px auto 0!important}
body.home-v3 .mobile-contact{padding:7px 14px calc(7px + env(safe-area-inset-bottom));background:#07343f}
body.home-v3 .mobile-contact a{flex-wrap:nowrap;justify-content:center;gap:9px;font-size:14px;padding:10px 9px;min-height:42px;border-radius:9px}
body.home-v3 .mobile-contact strong{font-size:14px}
}

/* Correction ordinateur uniquement : texte à gauche, photo et contact à droite. */
@media (min-width:801px) {
  body.home-v3 .hc-hero {
    display:grid;
    grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);
    grid-template-rows:auto auto;
    gap:24px 40px;
    padding:32px max(24px,calc((100% - 1240px)/2)) 40px;
    align-items:start;
  }
  body.home-v3 .hc-herogrid {display:contents;}
  body.home-v3 .hc-copy {grid-column:1;grid-row:1 / span 2;min-width:0;max-width:none;padding:12px 0 0;}
  body.home-v3 .saillard-hero-photo {grid-column:2;grid-row:1;position:relative;inset:auto;width:100%;height:auto;aspect-ratio:1200 / 620;border-radius:18px;}
  body.home-v3 .saillard-hero-photo img {width:100%;height:100%;object-fit:contain;}
  body.home-v3 .saillard-hero-photo::after {display:none;}
  body.home-v3 .contact-panel {grid-column:2;grid-row:2;min-width:0;width:100%;max-width:none;box-sizing:border-box;margin:0;padding:22px;}
  body.home-v3 .hc-title {font-size:clamp(32px,3.1vw,42px);}
  body.home-v3 .hc-actions {flex-wrap:wrap;}
  body.home-v3 .contact-number {font-size:clamp(27px,2.7vw,38px);white-space:nowrap;}
}

/* Proposition 2 retenue : accueil immersif réservé à l’ordinateur. */
.desktop-immersive,.desktop-service-strip,.desktop-local-line {display:none}
.home-urgences-anchor {scroll-margin-top:24px}
@media (min-width:801px) {
 body.home-v3 .desktop-immersive {display:flex;align-items:center;min-height:570px;box-sizing:border-box;padding:64px 0;background-color:#07343f;background-image:linear-gradient(90deg,rgba(7,52,63,.98) 0%,rgba(7,52,63,.86) 28%,rgba(7,52,63,.35) 52%,rgba(7,52,63,0) 76%),url('assets/hero-immersive-desktop.webp');background-size:cover;background-position:center;color:white}
 .immersive-content {position:relative;box-sizing:border-box}
 .immersive-eyebrow {color:#90e3dc;font-size:13px;letter-spacing:2px;font-weight:800;margin:0 0 20px}
 .immersive-content h1 {color:#fff;font-size:clamp(52px,5.8vw,82px);line-height:1.02;letter-spacing:-2.5px;margin:0 0 20px;max-width:650px;font-weight:850}
 .immersive-subtitle {color:white;font-size:clamp(25px,2.65vw,38px);line-height:1.2;margin:0 0 18px;max-width:650px}
 .immersive-description {color:#e8f4f3;max-width:470px;font-size:17px;line-height:1.6;margin:0 0 25px}
 .immersive-actions {display:flex;align-items:center;flex-wrap:wrap;gap:18px;max-width:650px}
 .immersive-actions .hc-button {font-size:18px;padding:18px 24px}
 .immersive-callback {color:white;text-underline-offset:5px;font-weight:700}
 body.home-v3 .hc-hero {display:none}
 body.home-v3 .hc-hero:has(#rappel:target) {display:block;padding:36px 24px;background:#f0f6f5}
 body.home-v3 .hc-hero:has(#rappel:target) .saillard-hero-photo,body.home-v3 .hc-hero:has(#rappel:target) .hc-copy {display:none}
 body.home-v3 .hc-hero:has(#rappel:target) .contact-panel {width:min(100%,620px);margin:0 auto}
 body.home-v3 .hc-hero:has(#rappel:target) .hc-herogrid {display:block}
 body.home-v3 .hc-facts {display:none}
 .desktop-service-strip {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:28px max(24px,calc((100% - 1240px)/2));gap:0;background:#fff}
 .desktop-service-strip a {display:flex;flex-direction:column;align-items:center;text-align:center;padding:0 18px;border-right:1px solid #dce9e8;color:#07343f;text-decoration:none;gap:7px}
 .desktop-service-strip a:last-child {border-right:1px solid #90aaa3}
 .desktop-service-strip a>span {display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#d9f4f0;color:#147a80;font-size:30px;line-height:1}
 .desktop-service-strip svg {width:28px;height:28px}
 .desktop-service-strip strong {font-size:19px}
 .desktop-service-strip small {font-size:14px;color:#57717a}
 .desktop-service-strip a:hover strong {text-decoration:underline;text-underline-offset:4px}
 .desktop-service-strip a:focus-visible,.immersive-callback:focus-visible {outline:3px solid #ef3d2f;outline-offset:5px}
}

/* Composition ordinateur : texte mesuré, photographies sans recadrage. */
@media (min-width:801px) {
 body.home-v3 .desktop-immersive {height:auto;min-height:max(330px,calc(100svh - var(--desktop-chrome-height,390px)));max-height:none;padding:24px 0;background-position:center right}
 .immersive-eyebrow {display:block;color:#b6f1e5;font-size:14px;line-height:1.4;letter-spacing:.3px;font-weight:750;margin:0 0 10px}
 .immersive-eyebrow span {color:#e1f1ee;font-weight:500}
 .immersive-description {display:block;max-width:440px;font-size:15px;line-height:1.45;margin:0 0 18px}
 .desktop-local-line {display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px 0;padding:12px 24px;background:#e6eeeb;border-top:1px solid #c4d3ce;color:#284b50;font-size:13px;line-height:1.4}
 .desktop-local-line span {padding:0 18px}
 .desktop-local-line span+span {border-left:1px solid #a8bdb5}
 .desktop-local-line span:first-child {font-weight:750}
 .immersive-content h1 {font-size:clamp(44px,4.8vw,64px);line-height:1.04;letter-spacing:-1.5px;margin-bottom:16px;max-width:560px}
 .immersive-subtitle {font-size:clamp(23px,2.3vw,31px);margin-bottom:10px;max-width:620px}
 .immersive-actions .hc-button {padding:14px 22px;font-size:18px}
 .immersive-actions {gap:16px}
 .immersive-callback {display:inline-flex;align-items:center;justify-content:center;min-height:46px;box-sizing:border-box;font-size:15px;line-height:1.2;padding:12px 18px;border:1px solid #b6d8d2;border-radius:9px;background:#f1faf7;color:#07343f;text-decoration:none;font-weight:750;box-shadow:0 2px 8px #001c2620}
 .immersive-callback:hover {background:#d8efe8;border-color:#fff}
 .immersive-actions {gap:12px}
 .desktop-service-strip {box-sizing:border-box;min-height:0;gap:20px;background:#f4f7f6;padding-top:18px;padding-bottom:18px;align-items:stretch}
 .desktop-service-strip a {padding:0 0 12px;border:1px solid #90aaa3;gap:7px;background:white;border-radius:10px;overflow:hidden;box-shadow:0 4px 12px #07343f14;align-self:stretch;justify-content:flex-start}
 .desktop-service-strip a>img {display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;object-position:center;background:#f3f2ef;margin:0 0 5px;flex-shrink:0}
 .desktop-service-strip strong {font-size:20px;font-weight:800;line-height:1.2;padding:0 12px}
 .desktop-service-strip small {font-size:14px;line-height:1.35;max-width:none;padding:0 12px}
}
@media (min-width:801px) and (max-height:650px) {
 body.home-v3 .desktop-immersive {min-height:300px;padding:16px 0}
 .immersive-content h1 {font-size:44px;margin-bottom:12px}
 .immersive-subtitle {font-size:24px;margin-bottom:10px}
 .immersive-actions .hc-button {font-size:16px;padding:12px 18px}
 .desktop-service-strip {padding-top:12px;padding-bottom:12px;gap:16px}
 .desktop-service-strip strong {font-size:18px}
 .desktop-service-strip small {font-size:13px}
}
