
/* FRERES & cie — vitrine références : extension isolée du design 2026. */
:root{--ref-green:#3bad50;--ref-forest:#102018;--ref-cream:#f2f4f0;}
.trust-band{padding:45px max(17px,5vw);background:var(--ref-cream);color:#18291e;border-bottom:1px solid #d8e0d9}
.trust-inner{width:min(1280px,100%);margin:auto;display:grid;grid-template-columns:1.1fr 1.8fr;align-items:center;gap:26px}
.trust-intro{border-left:3px solid #359b4b;padding-left:19px}
.trust-eyebrow{font-size:11px;font-weight:850;color:#27823b;letter-spacing:.15em;text-transform:uppercase}
.trust-intro h2{font-size:clamp(25px,2.8vw,40px);margin:9px 0;line-height:1.05}
.trust-intro p{font-size:13px;color:#536556;line-height:1.55;margin:0}
.trust-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.trust-item{border-left:1px solid #d4ded6;padding:18px;text-align:center;display:flex;flex-direction:column;justify-content:center;gap:8px}
.trust-item strong{font-size:clamp(20px,2.4vw,31px);letter-spacing:-.03em}
.trust-item span{color:#1b3021;font-size:clamp(21px,2.3vw,30px);font-weight:800;line-height:1.25;letter-spacing:-.03em}
.trust-item small{color:#627467;font-size:11px;line-height:1.55}
.audience-section{padding:100px max(17px,5vw);background:#0c120e}
.audience-wrap,.reference-wrap{width:min(1280px,100%);margin:auto}
.audience-section .section-eyebrow,.reference-section .section-eyebrow{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:#78d48b;font-weight:850}
.audience-section h2{font-size:clamp(36px,5.4vw,66px);line-height:1.04;max-width:920px;margin:12px 0 33px}
.audience-cards{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.audience-card{min-height:360px;display:flex;flex-direction:column;justify-content:end;align-items:start;border-radius:24px;overflow:hidden;border:1px solid rgba(255,255,255,.12);background-position:center;background-size:cover;padding:29px;position:relative;transition:transform .25s}
.audience-card:hover{transform:translateY(-4px)}
.audience-card.pro{background-image:linear-gradient(0deg,rgba(6,18,9,.94) 0%,rgba(7,19,11,.45) 75%),url('/assets/realisations/gyproc-4-cloisons-posees.webp')}
.audience-card.prive{background-image:linear-gradient(0deg,rgba(6,18,9,.94) 0%,rgba(7,19,11,.39) 75%),url('/assets/realisations/interieur-4-resultat.webp')}
.audience-card .aud-tag{font-size:10px;color:#bcecc4;letter-spacing:.12em;text-transform:uppercase;font-weight:800}
.audience-card h3{font-size:clamp(27px,3.3vw,43px);margin:10px 0 0}
.audience-card p{font-size:14px;color:#e7ece8;line-height:1.57;max-width:440px}
.audience-card .aud-link{color:#9df1a9;font-size:13px;font-weight:800}
.reference-section{background:var(--ref-cream);color:#14241b;padding:92px max(17px,5vw)}
.reference-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:35px}
.reference-section .section-eyebrow{color:#2b963e}
.reference-heading h2{font-size:clamp(38px,5vw,66px);line-height:1.02;margin:10px 0 0}
.reference-heading p{font-size:14px;color:#536557;line-height:1.6;max-width:380px}
.reference-showcase{border-radius:25px;background:#102018;color:white;overflow:hidden;display:grid;grid-template-columns:1fr 1.02fr;min-height:420px;box-shadow:0 22px 44px rgba(8,33,17,.13)}

.reference-showcase .showcase-img p{font-size:11px;color:#e6f0e6;background:rgba(0,0,0,.52);padding:11px 12px;border-radius:10px;max-width:330px;line-height:1.5}
.reference-showcase .showcase-content{padding:clamp(28px,4vw,56px);display:flex;flex-direction:column;justify-content:center;align-items:start}
.reference-showcase .status-tag{display:inline-block;font-size:11px;font-weight:800;color:#8bea9c;text-transform:uppercase;letter-spacing:.12em}
.reference-showcase h3{font-size:clamp(30px,3.5vw,48px);line-height:1.04;margin:15px 0 0}
.reference-showcase .showcase-lead{font-size:15px;line-height:1.65;color:#c5d7ca;margin:17px 0}
.reference-showcase .number-stats{display:flex;gap:30px;margin:10px 0 26px}
.reference-showcase .number-stats strong{display:block;font-size:34px;color:#9beba7}
.reference-showcase .number-stats small{display:block;color:#c8d6c9;font-size:12px}
.reference-showcase .btn{color:white;background:#26913d;min-height:49px}
.reference-small{display:grid;grid-template-columns:repeat(2,1fr);gap:17px;margin-top:17px}
.reference-tile{padding:28px;background:#fff;border:1px solid #dae3da;border-radius:19px}
.reference-tile .small-tag{font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:800;color:#258c3a}
.reference-tile h3{font-size:25px;margin:10px 0}
.reference-tile p{font-size:13px;color:#526353;line-height:1.65;margin-bottom:16px}
.reference-tile a{font-size:13px;color:#19863a;font-weight:800}
.ref-footer-call{display:flex;justify-content:space-between;align-items:center;gap:25px;background:#dde9de;padding:22px 26px;border-radius:15px;margin-top:19px}
.ref-footer-call strong{font-size:16px}
.ref-footer-call a{font-size:13px;color:#145a29;font-weight:850;white-space:nowrap}
#contact form .field-hint{font-size:11px;color:#9faea2;margin:-5px 0 16px;line-height:1.5}
#contact .fieldset-label{display:block;font-size:11px;color:#b8beb9;margin-bottom:8px}
#contact .client-choice{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:15px}
#contact .client-choice label{margin:0;display:flex;align-items:center;flex-direction:row;gap:8px;padding:12px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.18);cursor:pointer;font-size:13px}
#contact .client-choice input{width:auto;accent-color:#46bc58;margin:0}
#contact .client-choice label:has(input:checked){border-color:#4cba5f;background:rgba(74,186,95,.10)}
.ref-standalone{background:#090c0a;color:#f3f5f1;min-height:100svh}
.ref-page-hero{padding:160px max(20px,5vw) 75px;background:radial-gradient(circle at 80% 10%,rgba(68,183,80,.12),transparent 43%),#0f1812}
.ref-page-inner{width:min(1180px,100%);margin:auto}
.ref-page-hero h1{font-size:clamp(46px,6.5vw,85px);max-width:900px;line-height:.99;margin:16px 0 23px}
.ref-page-hero p{max-width:750px;font-size:17px;color:#b9c7bd;line-height:1.67}
.ref-page-content{padding:82px max(20px,5vw);width:min(1280px,100%);margin:auto}
.ref-page-content .reference-showcase{margin-bottom:22px}
.ref-page-content .reference-small{margin-bottom:25px}
.ref-notice{font-size:12px;color:#a4b5a7;line-height:1.6;max-width:850px;margin:24px 0}
@media(max-width:980px){.trust-inner{grid-template-columns:1fr}.reference-showcase{grid-template-columns:1fr}.reference-showcase .showcase-img{min-height:300px}.audience-card{min-height:310px}}
@media(max-width:700px){
  .trust-band{padding:34px 18px}.trust-grid{gap:0}.trust-item{padding:14px 8px}.trust-item strong{font-size:19px}.trust-item span{font-size:10px}
  .audience-section,.reference-section{padding:68px 17px}
  .audience-cards,.reference-small{grid-template-columns:1fr}
  .audience-card{min-height:310px;padding:25px}
  .reference-heading{display:block}.reference-heading p{margin-top:15px}
  .reference-showcase .showcase-content{padding:27px 24px 33px}
  .reference-showcase .showcase-img{min-height:260px}
  .ref-footer-call{align-items:start;flex-direction:column}
  .ref-page-hero{padding:138px 20px 56px}
  .ref-page-content{padding:54px 18px}
}
@media(prefers-reduced-motion:reduce){.audience-card:hover{transform:none}}

/* Illustration dédiée IFAPME : projet à venir, aucune photo de chantier fictive. */
.reference-showcase .showcase-img{background:#081b0f;display:flex;align-items:center;justify-content:center;padding:0;min-height:0}
.reference-showcase .showcase-img img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain;aspect-ratio:3/2}

/* Navigation simple et esthétique — visibilité ordinateur et téléphone */
.mobile-nav-toggle{display:none}
.site-header .logo-plaque{flex:0 0 auto}
.site-header nav{flex-wrap:nowrap}
.site-header nav a{white-space:nowrap}
.site-header nav a:focus-visible,.mobile-nav-toggle:focus-visible,.btn:focus-visible,.work-arrow:focus-visible{outline:3px solid #9df6ac;outline-offset:3px}
.site-header nav .nav-cta{border-radius:12px}
@media(min-width:981px){.mobile-nav-toggle{display:none!important}}
@media(max-width:980px){
  .site-header{overflow:visible;min-height:65px}
  .mobile-nav-toggle{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;margin-left:auto;flex:0 0 45px;width:45px;height:43px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.18);border-radius:12px;color:#fff;cursor:pointer}
  .mobile-nav-toggle span{display:block;width:20px;height:2px;border-radius:2px;background:#f3fff5;transition:transform .2s ease,opacity .2s ease}
  .mobile-nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .mobile-nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
  .mobile-nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .site-header nav{display:none;position:absolute;left:0;right:0;top:calc(100% + 9px);padding:13px;flex-direction:column;align-items:stretch;gap:4px;background:#0b180f;border:1px solid rgba(255,255,255,.18);border-radius:17px;box-shadow:0 22px 50px rgba(0,0,0,.4)}
  .site-header nav.is-open{display:flex}
  .site-header nav a:not(.nav-cta){display:block}
  .site-header nav a{padding:13px 14px;border-radius:10px;color:#f0f8f1;font-size:14px}
  .site-header nav a:hover,.site-header nav a:focus-visible{background:rgba(255,255,255,.07)}
  .site-header nav .nav-cta{display:block;margin-top:4px;padding:14px 15px;text-align:center;background:#24973c;color:#fff}
}
#services,#realisations,#references,#methode{scroll-margin-top:105px}
/* Les images conservées restent des photos de réalisations. */
.work-photo{object-fit:cover}
.audience-card{background-color:#102016}
.reference-tile a:hover,.ref-footer-call a:hover{text-decoration:underline}
@media(max-width:620px){
  .trust-grid{grid-template-columns:1fr;gap:0}
  .trust-item{padding:13px 10px;text-align:left;border-left:0;border-top:1px solid #d4ded6}
  .trust-item strong{font-size:22px}
  .trust-item span{font-size:22px}
  #contact .client-choice{display:grid;grid-template-columns:1fr 1fr}
}

/* Présentation professionnelle discrète, cohérente avec le site original. */
.pro-spotlight{width:min(1280px,90vw);margin:74px auto 0;scroll-margin-top:110px}
.pro-spotlight-inner{display:grid;grid-template-columns:.88fr 1.12fr;align-items:center;gap:0;overflow:hidden;border:1px solid rgba(255,255,255,.10);border-radius:24px;background:linear-gradient(140deg,#111b13,#172218)}
.pro-spotlight-copy{padding:clamp(24px,3.5vw,48px);display:flex;flex-direction:column;align-items:flex-start;gap:0}
.pro-spotlight-copy .kicker{margin-bottom:14px}
.pro-spotlight-copy h2{font-size:clamp(30px,3.2vw,45px);line-height:1.06;letter-spacing:-.04em}
.pro-spotlight-copy p{color:#b7c7b9;font-size:14px;line-height:1.68;margin:19px 0 24px}
.pro-spotlight-copy .btn{min-height:48px}
.pro-spotlight-feature{display:block;background:#0c1a10;overflow:hidden;align-self:stretch;display:flex;align-items:center}
.pro-spotlight-feature img{width:100%;height:auto;display:block;aspect-ratio:3/2;object-fit:contain}
.pro-spotlight-feature:focus-visible{outline:3px solid #9bf3aa;outline-offset:-4px}
@media(max-width:840px){
  .pro-spotlight-inner{grid-template-columns:1fr}
  .pro-spotlight-feature{order:-1}
}
@media(max-width:620px){
  .pro-spotlight{width:calc(100% - 34px);margin-top:48px}
  .pro-spotlight-copy{padding:24px 21px}
  .pro-spotlight-copy h2{font-size:30px}
}

/* Les marques sont des images officielles monochromes, jamais des mots recréés. */
.trust-item img{display:block;width:100%;height:74px;max-width:190px;object-fit:contain;object-position:center;filter:grayscale(1) contrast(5);mix-blend-mode:multiply}
.trust-item small{display:block;max-width:190px;margin:0 auto;color:#5f7063;font-size:11px;line-height:1.55}
.trust-item-larcier img{max-height:84px;max-width:142px}
.trust-item-ifapme img{max-height:65px}
.trust-item-agc img{max-height:66px}
@media(max-width:620px){
  .trust-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .trust-item{padding:10px 6px;border-top:0;border-left:1px solid #d4ded6;text-align:center}
  .trust-item img{height:56px;max-width:98%}
  .trust-item-larcier img{height:68px;max-width:90%}
  .trust-item small{font-size:10px;line-height:1.35}
}

/* Photographies authentiques du premier chantier IFAPME. */
.ifapme-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:18px}
.ifapme-gallery a{display:block;overflow:hidden;border-radius:10px;background:#e6ece8;outline-offset:2px}
.ifapme-gallery img{display:block;width:100%;height:150px;object-fit:cover;object-position:50% 45%;transition:transform .25s ease}
.ifapme-gallery a:hover img{transform:scale(1.035)}
.ifapme-gallery a:focus-visible{outline:3px solid #2d9346}
@media(max-width:620px){.ifapme-gallery img{height:132px}}
@media(prefers-reduced-motion:reduce){.ifapme-gallery img{transition:none}.ifapme-gallery a:hover img{transform:none}}

/* Lisibilité de la bande clients sur petits écrans : pas de trois logos minuscules. */
@media(max-width:620px){
  .trust-grid{grid-template-columns:1fr;gap:0}
  .trust-item,.trust-item:first-child{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:18px;min-height:105px;padding:12px 16px;border-left:0;border-top:1px solid #d4ded6;text-align:left}
  .trust-item img,.trust-item-ifapme img,.trust-item-agc img,.trust-item-larcier img{display:block;flex:0 0 128px;width:128px;max-width:128px;height:80px;max-height:80px;object-fit:contain}
  .trust-item-ifapme img,.trust-item-larcier img{max-width:105px;flex-basis:105px}
  .trust-item small{display:block;max-width:190px;margin:0;text-align:right;font-size:12px;line-height:1.5;color:#435848}
}

.ifapme-gallery a:last-child:nth-child(odd){grid-column:1/-1}
.ifapme-gallery a:last-child:nth-child(odd) img{height:180px;object-fit:cover}
@media(max-width:620px){.ifapme-gallery a:last-child:nth-child(odd) img{height:145px}}

/* 2026-11 : bande de références compacte, à la place des anciennes grandes lignes. */
.trust-band.trust-band-compact{padding:18px max(20px,5vw);background:#fff;border-bottom:1px solid #e5ece6}
.trust-compact-inner{width:min(1140px,100%);margin:auto;display:flex;align-items:center;justify-content:space-between;gap:35px}
.trust-compact-label{flex:0 0 auto;margin:0;color:#2f7f3f;font-weight:850;font-size:11px;line-height:1.4;letter-spacing:.15em;text-transform:uppercase;white-space:nowrap}
.trust-compact-logos{display:flex;align-items:center;justify-content:space-around;flex:1;gap:30px;min-width:0}
.trust-compact-logos a{display:flex;align-items:center;justify-content:center;min-width:0;flex:1;min-height:62px;padding:3px 6px;border-radius:8px;transition:background .18s ease}
.trust-compact-logos a:hover,.trust-compact-logos a:focus-visible{background:#f4f7f4}
.trust-compact-logos a:focus-visible{outline:2px solid #3cad55;outline-offset:3px}
.trust-compact-logos img{display:block;width:auto;max-width:100%;height:52px;max-height:52px;object-fit:contain;filter:grayscale(1) contrast(1.6);mix-blend-mode:multiply}
.trust-compact-logos .trust-compact-ifapme{height:58px;max-height:58px}
.trust-compact-logos .trust-compact-agc{height:36px;max-height:36px}
.trust-compact-logos .trust-compact-larcier{height:45px;max-height:45px}
@media(max-width:750px){
  .trust-band.trust-band-compact{padding:16px 16px 18px}
  .trust-compact-inner{display:block}
  .trust-compact-label{text-align:center;font-size:10px;margin:0 0 11px}
  .trust-compact-logos{gap:6px;justify-content:space-between}
  .trust-compact-logos a{padding:2px;min-height:56px}
  .trust-compact-logos img{max-width:100%;height:46px;max-height:46px}
  .trust-compact-logos .trust-compact-ifapme{height:52px;max-height:52px}
  .trust-compact-logos .trust-compact-agc{height:31px;max-height:31px}
  .trust-compact-logos .trust-compact-larcier{height:37px;max-height:37px}
}
/* Réalisation Larcier, vraie photographie, pleine résolution accessible au clic. */
.larcier-feature{margin:0 0 68px;scroll-margin-top:115px}
.larcier-feature-inner{display:grid;grid-template-columns:1.02fr .8fr;align-items:stretch;overflow:hidden;border:1px solid rgba(255,255,255,.13);border-radius:23px;background:linear-gradient(125deg,#1b3022,#101d15)}
.larcier-feature-copy{padding:clamp(26px,4.2vw,56px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.larcier-eyebrow{font-size:10px;font-weight:850;letter-spacing:.17em;color:#89d99a;text-transform:uppercase}
.larcier-feature-copy h3{font-size:clamp(33px,4.1vw,58px);line-height:1.05;letter-spacing:-.045em;margin:19px 0}
.larcier-feature-copy h3 em{font-style:normal;color:#9fe4a9}
.larcier-feature-copy p{font-size:15px;line-height:1.75;color:#d3dfd5;max-width:510px;margin:0}
.larcier-feature-caption{font-size:11px;letter-spacing:.02em;color:#9eb1a3;margin-top:28px;padding-top:16px;border-top:1px solid rgba(255,255,255,.17)}
.larcier-cover{display:block;align-self:center;width:100%;line-height:0;background:#0e1c13;overflow:hidden}
.larcier-cover img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:contain}
.larcier-cover:focus-visible,.larcier-gallery a:focus-visible{outline:3px solid #9fe4a9;outline-offset:3px}
.larcier-gallery-heading{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin:30px 0 14px}
.larcier-gallery-heading h4{font-size:clamp(18px,2vw,25px);letter-spacing:-.03em;margin:0}
.larcier-gallery-heading p{font-size:12px;color:#b6c9b8;line-height:1.5;margin:0}
.larcier-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.larcier-gallery a{display:block;border:1px solid rgba(255,255,255,.12);border-radius:12px;overflow:hidden;aspect-ratio:4/3;background:#19291f;transition:transform .18s ease}
.larcier-gallery a:hover{transform:translateY(-2px)}
.larcier-gallery img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center}
@media(max-width:850px){
  .larcier-feature-inner{grid-template-columns:1fr}
  .larcier-cover{order:-1;max-height:none}
  .larcier-cover img{width:100%;height:auto;aspect-ratio:3/4;object-fit:contain}
  .larcier-feature-copy{padding:28px 23px 33px}
  .larcier-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .larcier-gallery-heading{display:block;margin-top:25px}
  .larcier-gallery-heading p{margin-top:6px}
  .larcier-gallery a:last-child:nth-child(odd){grid-column:1/-1;aspect-ratio:2/1}
}
@media(max-width:450px){
  .larcier-feature-copy h3{font-size:33px}
  .larcier-feature-copy p{font-size:14px}
  .larcier-feature{margin-bottom:52px}
}
@media(prefers-reduced-motion:reduce){.larcier-gallery a{transition:none}.larcier-gallery a:hover{transform:none}}

/* Lightbox natif et accessible : les liens originaux restent utilisables sans JavaScript. */
.photo-viewer{position:fixed;inset:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;background:#070e0a;color:white;overscroll-behavior:contain}
.photo-viewer::backdrop{background:rgba(1,7,3,.96)}
.photo-viewer-inner{display:flex;align-items:center;justify-content:center;position:relative;width:100%;height:100%;padding:54px 60px 25px;box-sizing:border-box}
.photo-viewer-figure{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;width:100%;height:100%;min-height:0;margin:0}
.photo-viewer-image{display:block;max-width:100%;max-height:calc(100% - 44px);width:auto;height:auto;object-fit:contain;border-radius:2px}
.photo-viewer-caption{font-size:12px;line-height:1.5;text-align:center;color:#d2dfd4;max-width:72ch}
.photo-viewer-arrow,.photo-viewer-close{position:absolute;display:flex;align-items:center;justify-content:center;z-index:1;background:rgba(18,38,24,.86);color:#fff;border:1px solid rgba(255,255,255,.29);cursor:pointer;border-radius:50%;box-shadow:0 4px 20px rgba(0,0,0,.25)}
.photo-viewer-close{top:max(12px,env(safe-area-inset-top));right:16px;width:42px;height:42px;font-size:31px}
.photo-viewer-arrow{top:50%;transform:translateY(-50%);width:43px;height:56px;border-radius:12px;font-size:32px}
.photo-viewer-prev{left:9px}
.photo-viewer-next{right:9px}
.photo-viewer-arrow:hover,.photo-viewer-close:hover{background:#295d35}
.photo-viewer-arrow:focus-visible,.photo-viewer-close:focus-visible{outline:3px solid #9ae8ac;outline-offset:3px}
@media(max-width:620px){
  .photo-viewer-inner{padding:max(64px,env(safe-area-inset-top)) 9px max(20px,env(safe-area-inset-bottom))}
  .photo-viewer-image{max-height:calc(100% - 65px)}
  .photo-viewer-arrow{width:39px;height:49px;top:auto;bottom:max(12px,env(safe-area-inset-bottom));transform:none}
  .photo-viewer-prev{left:11px}
  .photo-viewer-next{right:11px}
  .photo-viewer-caption{padding:0 47px;font-size:11px}
}

/* Cadrage éditorial du visuel principal, original intégral conservé au clic. */
.larcier-feature-inner{min-height:475px}
.larcier-cover{position:relative;align-self:stretch;min-height:475px}
.larcier-cover img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:50% 43%}
@media(max-width:850px){
  .larcier-feature-inner{min-height:0}
  .larcier-cover{position:relative;min-height:0;height:auto;aspect-ratio:7/6}
  .larcier-cover img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:50% 43%}
}
