/* Accueil F, 09.11.2026 (v3 avec téléphone). Photo en fond, blocs en verre devant. Ne touche ni aux textes ni au référencement. */
body.f-home{background:#F4F6FA}
.f-hero > .f-bg{display:none}
.f-hero .f-cap{display:none}
@media (min-width:1000px){
body.f-home > header{position:sticky;top:0;background:transparent;box-shadow:none;border:0;padding-top:14px;z-index:40}
body.f-home > header > .wrap{background:rgba(255,255,255,.84);-webkit-backdrop-filter:blur(18px) saturate(1.2);backdrop-filter:blur(18px) saturate(1.2);border:1px solid rgba(255,255,255,.65);border-radius:18px;box-shadow:0 12px 40px rgba(16,24,48,.18);box-shadow:0 12px 40px rgba(16,24,48,.16);padding-top:8px;padding-bottom:8px}
body.f-home > header .btn{border-radius:12px}
body.f-home main > .hero-c.f-hero,body.f-home main > section.hero.f-hero{grid-column:1 / -1 !important;position:relative;min-height:860px;margin-top:-88px;padding:150px 0 56px;box-sizing:border-box;overflow:hidden;background:#1B2233}
body.f-home main > .hero-c.f-hero{display:grid !important;grid-template-columns:minmax(24px,1fr) minmax(0,340px) minmax(24px,240px) minmax(0,560px) minmax(24px,1fr);align-items:center}
body.f-home main > section.hero.f-hero{display:flex !important;align-items:center;padding-left:24px;padding-right:24px;grid-area:auto / 1 / auto / -1 !important}
body.f-home main > .hero-c.f-hero > .f-bg,body.f-home main > section.hero.f-hero > .f-bg{display:block;position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 55%;z-index:0;border:0;border-radius:0}
body.f-home main > section.hero.f-hero > .hero-c{position:relative;z-index:2;display:grid !important;grid-template-columns:minmax(0,340px) minmax(0,560px) !important;grid-template-rows:auto !important;justify-content:space-between;align-items:center;gap:24px;width:100%;max-width:1140px;margin:0 auto !important;padding:0 !important;min-height:0}
body.f-home main > .hero-c.f-hero > .ms-photo-strip{grid-column:2 !important;grid-row:1 !important}
body.f-home main > section.hero.f-hero > .hero-c > .photo.ms-square-photo{grid-column:1 / 2 !important;grid-row:1 !important}
body.f-home main > section.hero.f-hero > .hero-c > .panel{grid-column:2 / 3 !important;grid-row:1 !important}
body.f-home main > .hero-c.f-hero > .ms-photo-strip,body.f-home main > section.hero.f-hero > .hero-c > .photo.ms-square-photo{position:relative;z-index:2;align-self:center;display:flex !important;flex-direction:column;gap:0 !important;width:auto;max-width:none;margin:0;padding:18px 18px 10px;background:rgba(255,255,255,.84);-webkit-backdrop-filter:blur(18px) saturate(1.2);backdrop-filter:blur(18px) saturate(1.2);border:1px solid rgba(255,255,255,.65);border-radius:18px;box-shadow:0 12px 40px rgba(16,24,48,.18);box-shadow:0 12px 40px rgba(16,24,48,.18)}
body.f-home main > .hero-c.f-hero > .ms-photo-strip::before,body.f-home main > section.hero.f-hero > .hero-c > .photo.ms-square-photo::before{content:"Nos réalisations en photos";display:block;margin:0 0 6px;font:800 12px/1.2 var(--display,'Archivo',Arial,sans-serif);letter-spacing:.08em;text-transform:uppercase;color:var(--accent,#1D2B55)}
body.f-home main > .hero-c.f-hero > .ms-photo-strip > .ms-photo-frame,body.f-home main > section.hero.f-hero > .hero-c > .photo.ms-square-photo > .ms-photo-frame{display:grid;grid-template-columns:76px 1fr;grid-template-rows:auto auto;column-gap:14px;align-items:center;width:auto;height:auto;min-height:0;max-width:none;aspect-ratio:auto;margin:0;padding:12px 0;border:0;border-bottom:1px solid rgba(20,40,75,.12);border-radius:0;background:transparent;box-shadow:none;cursor:pointer;position:relative;transform:none}
body.f-home main > .hero-c.f-hero > .ms-photo-strip > .ms-photo-frame:last-child,body.f-home main > section.hero.f-hero > .hero-c > .photo.ms-square-photo > .ms-photo-frame:last-child{border-bottom:0}
body.f-home main > .hero-c.f-hero > .ms-photo-strip > .ms-photo-frame::before,body.f-home main > section.hero.f-hero > .hero-c > .photo.ms-square-photo > .ms-photo-frame::before,body.f-home main > .hero-c.f-hero > .ms-photo-strip > .ms-photo-frame::after,body.f-home main > section.hero.f-hero > .hero-c > .photo.ms-square-photo > .ms-photo-frame::after{display:none}
body.f-home main > .hero-c.f-hero > .ms-photo-strip > .ms-photo-frame > img,body.f-home main > section.hero.f-hero > .hero-c > .photo.ms-square-photo > .ms-photo-frame > img{grid-row:1 / 3;grid-column:1;position:static;width:76px;height:76px;max-width:none;aspect-ratio:1/1;object-fit:cover;border:0;border-radius:12px;transform:none}
body.f-home main > .hero-c.f-hero > .ms-photo-strip > .ms-photo-frame .f-cap,body.f-home main > section.hero.f-hero > .hero-c > .photo.ms-square-photo > .ms-photo-frame .f-cap{display:block;grid-column:2;grid-row:1;align-self:end;font:700 16px/1.25 var(--display,'Archivo',Arial,sans-serif);color:var(--navy,#14284B)}
body.f-home main > .hero-c.f-hero > .ms-photo-strip > .ms-photo-frame .ms-home-albums-badge,body.f-home main > section.hero.f-hero > .hero-c > .photo.ms-square-photo > .ms-photo-frame .ms-home-albums-badge{grid-column:2;grid-row:2;align-self:start;position:static;display:inline-block;justify-self:start;margin:4px 0 0;padding:2px 9px;border-radius:999px;background:rgba(20,40,75,.08);color:var(--muted,#4A5263);font-size:12.5px;font-weight:600;line-height:1.5;box-shadow:none;transform:none}
body.f-home main > .hero-c.f-hero > .ms-photo-strip > .ms-photo-frame:hover .f-cap,body.f-home main > section.hero.f-hero > .hero-c > .photo.ms-square-photo > .ms-photo-frame:hover .f-cap,body.f-home main > .hero-c.f-hero > .ms-photo-strip > .ms-photo-frame:focus-visible .f-cap,body.f-home main > section.hero.f-hero > .hero-c > .photo.ms-square-photo > .ms-photo-frame:focus-visible .f-cap{text-decoration:underline;text-underline-offset:3px}
body.f-home main > .hero-c.f-hero > .panel-wrap{grid-column:4 !important;grid-row:1 !important;align-self:center;position:relative;z-index:2;width:auto;max-width:none;margin:0 !important;padding:0}
body.f-home main > .hero-c.f-hero .panel,body.f-home main > section.hero.f-hero .hero-c > .panel{position:relative;margin:0;width:auto;max-width:none;top:auto;transform:none;background:rgba(255,255,255,.84);-webkit-backdrop-filter:blur(18px) saturate(1.2);backdrop-filter:blur(18px) saturate(1.2);border:1px solid rgba(255,255,255,.65);border-radius:18px;box-shadow:0 12px 40px rgba(16,24,48,.18);background:rgba(255,255,255,.86);box-shadow:0 12px 40px rgba(16,24,48,.2);overflow:hidden}
body.f-home main > section.hero.f-hero .hero-c > .panel{display:block !important;align-self:center;padding:34px 38px 28px;min-height:0;height:auto}
body.f-home main > .hero-c.f-hero .panel .in{padding:34px 38px 26px}
body.f-home main > .hero-c.f-hero .panel h1,body.f-home main > section.hero.f-hero .hero-c > .panel h1{font-size:clamp(30px,2.9vw,44px);line-height:1.08;letter-spacing:-.02em}
body.f-home main > .hero-c.f-hero .panel .intro,body.f-home main > section.hero.f-hero .hero-c > .panel .intro{font-size:17px;line-height:1.6}
body.f-home main > .hero-c.f-hero .panel .facts{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:0;padding:0;border-top:1px solid rgba(20,40,75,.1);background:rgba(255,255,255,.55)}
body.f-home main > .hero-c.f-hero .panel .facts > div{padding:14px 18px;border-right:1px solid rgba(20,40,75,.1)}
body.f-home main > .hero-c.f-hero .panel .facts > div:last-child{border-right:0}
}
body.f-home .btn{border-radius:12px}
body.f-home .metiers .tile{border-radius:16px;overflow:hidden}
body.f-home .real .photos figure img,body.f-home .real .photos figure{border-radius:14px}
body.f-home .real .photos figure{overflow:hidden}
body.f-home .steps ol > li{border-radius:16px}
body.f-home .contact form,body.f-home .contact .form{border-radius:18px}
body.f-home .contact input,body.f-home .contact select,body.f-home .contact textarea{border-radius:10px}
/* Téléphone et tablette */
@media (max-width:999.98px){
body.f-home main > .hero-c.f-hero,body.f-home main > section.hero.f-hero{position:relative !important;display:block !important;width:auto !important;max-width:none !important;margin:0 !important;padding:clamp(230px,62vw,330px) 16px 22px !important;background:#F4F6FA !important;overflow:hidden;isolation:isolate;min-height:0 !important;height:auto !important}
body.f-home main > .hero-c.f-hero > .f-bg,body.f-home main > section.hero.f-hero > .f-bg{display:block;position:absolute;left:0;top:0;width:100%;height:clamp(380px,112vw,560px);max-width:none;object-fit:cover;object-position:50% 50%;z-index:0;border:0;border-radius:0;-webkit-mask-image:linear-gradient(#000 58%,transparent);mask-image:linear-gradient(#000 58%,transparent)}
body.f-home main > section.hero.f-hero > .hero-c{position:relative;z-index:2;display:block !important;width:auto !important;max-width:none !important;margin:0 !important;padding:0 !important;min-height:0 !important}
body.f-home main > .hero-c.f-hero > .ms-photo-strip,body.f-home main > section.hero.f-hero > .hero-c > .photo.ms-square-photo{position:relative;z-index:2;display:flex !important;flex-direction:column !important;gap:0 !important;grid-template-columns:none !important;width:auto !important;max-width:none !important;height:auto !important;aspect-ratio:auto !important;margin:0 0 14px !important;padding:14px 16px 4px !important;background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(16px) saturate(1.2);backdrop-filter:blur(16px) saturate(1.2);border:1px solid rgba(255,255,255,.7);border-radius:18px;box-shadow:0 10px 30px rgba(16,24,48,.16)}
body.f-home main > .hero-c.f-hero > .ms-photo-strip::before,body.f-home main > section.hero.f-hero > .hero-c > .photo.ms-square-photo::before{content:"Nos réalisations en photos";display:block;margin:0 0 4px;font:800 11.5px/1.2 var(--display,'Archivo',Arial,sans-serif);letter-spacing:.08em;text-transform:uppercase;color:var(--accent,#1D2B55);position:static;width:auto;height:auto;background:none;border:0;box-shadow:none}
body.f-home main > .hero-c.f-hero > .ms-photo-strip::after,body.f-home main > section.hero.f-hero > .hero-c > .photo.ms-square-photo::after{display:none !important}
body.f-home main > .hero-c.f-hero > .ms-photo-strip > .ms-photo-frame,body.f-home main > section.hero.f-hero > .hero-c > .photo.ms-square-photo > .ms-photo-frame{display:grid !important;grid-template-columns:64px 1fr !important;grid-template-rows:auto auto !important;column-gap:14px !important;align-items:center !important;width:auto !important;height:auto !important;min-height:0 !important;max-width:none !important;aspect-ratio:auto !important;margin:0 !important;padding:11px 0 !important;border:0 !important;border-bottom:1px solid rgba(20,40,75,.12) !important;border-radius:0 !important;background:transparent !important;box-shadow:none !important;position:relative !important;transform:none !important;inset:auto !important;grid-column:auto !important;grid-row:auto !important;cursor:pointer;overflow:visible !important}
body.f-home main > .hero-c.f-hero > .ms-photo-strip > .ms-photo-frame:last-child,body.f-home main > section.hero.f-hero > .hero-c > .photo.ms-square-photo > .ms-photo-frame:last-child{border-bottom:0 !important}
body.f-home main > .hero-c.f-hero > .ms-photo-strip > .ms-photo-frame::before,body.f-home main > section.hero.f-hero > .hero-c > .photo.ms-square-photo > .ms-photo-frame::before,body.f-home main > .hero-c.f-hero > .ms-photo-strip > .ms-photo-frame::after,body.f-home main > section.hero.f-hero > .hero-c > .photo.ms-square-photo > .ms-photo-frame::after{display:none !important}
body.f-home main > .hero-c.f-hero > .ms-photo-strip > .ms-photo-frame > img,body.f-home main > section.hero.f-hero > .hero-c > .photo.ms-square-photo > .ms-photo-frame > img{grid-row:1 / 3 !important;grid-column:1 !important;position:static !important;width:64px !important;height:64px !important;max-width:none !important;aspect-ratio:1/1 !important;object-fit:cover !important;border:0 !important;border-radius:12px !important;transform:none !important;box-shadow:none !important;margin:0 !important}
body.f-home main > .hero-c.f-hero > .ms-photo-strip > .ms-photo-frame .f-cap,body.f-home main > section.hero.f-hero > .hero-c > .photo.ms-square-photo > .ms-photo-frame .f-cap{display:block;grid-column:2;grid-row:1;align-self:end;font:700 15.5px/1.25 var(--display,'Archivo',Arial,sans-serif);color:var(--navy,#14284B)}
body.f-home main > .hero-c.f-hero > .ms-photo-strip > .ms-photo-frame .ms-home-albums-badge,body.f-home main > section.hero.f-hero > .hero-c > .photo.ms-square-photo > .ms-photo-frame .ms-home-albums-badge{grid-column:2 !important;grid-row:2 !important;align-self:start !important;justify-self:start !important;position:static !important;display:inline-block !important;inset:auto !important;margin:4px 0 0 !important;padding:2px 9px !important;border:0 !important;border-radius:999px !important;background:rgba(20,40,75,.08) !important;color:var(--muted,#4A5263) !important;font-size:12.5px !important;font-weight:600 !important;line-height:1.5 !important;box-shadow:none !important;transform:none !important;-webkit-backdrop-filter:none !important;backdrop-filter:none !important}
body.f-home main > .hero-c.f-hero > .panel-wrap{position:relative;z-index:2;width:auto !important;max-width:none !important;margin:0 !important;padding:0 !important}
body.f-home main > .hero-c.f-hero .panel,body.f-home main > section.hero.f-hero > .hero-c > .panel{position:relative;margin:0 !important;width:auto !important;max-width:none !important;top:auto;transform:none;background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(16px) saturate(1.2);backdrop-filter:blur(16px) saturate(1.2);border:1px solid rgba(255,255,255,.7);border-radius:18px;box-shadow:0 10px 30px rgba(16,24,48,.16);background:rgba(255,255,255,.94);overflow:hidden}
}
/* 09.11.2026 v4b : même accueil F qu'avant, photo de fond un peu moins agrandie ; logo sans cadre blanc */
body.f-home > header .brand > img,body.f-home > header a.firme > img,body.f-home > header a.logo-site > img,body.f-home > header a.enseigne > img{background:transparent !important}
@media (min-width:1000px){
body.f-home main > .hero-c.f-hero::before,body.f-home main > section.hero.f-hero::before{content:"";position:absolute;inset:-60px;background:var(--f-photo) center/cover no-repeat;filter:blur(30px) brightness(.8);z-index:0}
body.f-home main > .hero-c.f-hero > .f-bg,body.f-home main > section.hero.f-hero > .f-bg{left:50%;right:auto;top:0;bottom:0;width:min(100%,1100px);height:100%;transform:translateX(-50%);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 9%,#000 91%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 9%,#000 91%,transparent 100%)}
}
body.f-home{--f-photo:url("/assets/accueil-2026/dalle-beton-agrandissement-maison-geneve-1600.webp")}
