/* Généré par tools/build-css.mjs : ne pas modifier ce fichier directement. */
/* home.css */
/* Homepage refinements: clearer offer, visible proof, readable text, mobile contact bar. Loaded only by index.html. */
.home-page{--text-soft:#4f4a43}

/* Header: the STRUGAL logo reads as a credential, not as a button. */
.home-page .distributor-mark{border:0;background:transparent;aspect-ratio:auto;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;padding-left:16px;border-left:1px solid var(--line)}
.home-page .distributor-mark img{width:100%;max-width:120px}
.home-page .distributor-caption{font:500 10px/1.2 var(--body);letter-spacing:.14em;text-transform:uppercase;color:var(--bronze-dark);white-space:nowrap}

/* Hero: the offer label is readable at every width. */
.home-page .hero .eyebrow{font-size:clamp(12px,.9vw,14px);letter-spacing:.2em;line-height:1.6;text-wrap:balance}
.home-page .hero-description{color:var(--ink)}

/* Ranges: intro sits above the cards; each card has one call to action. */
.home-page .ranges>.display{margin-bottom:12px}
.home-page .ranges-summary{margin:0 0 32px;border:0;padding:0;max-width:66ch}
.home-page .ranges-summary h3{font:500 13px/1.6 var(--body);letter-spacing:.12em;text-transform:uppercase;color:var(--bronze-dark)}
.home-page .ranges-summary p{font-size:17px;line-height:1.6;color:var(--text-soft);margin-top:6px}
.home-page .range-card-bottom{font-size:16px;line-height:1.5}
.home-page .range-card-bottom>span:first-child{color:var(--text-soft)}
.home-page .range-card-bottom>span:last-child{color:var(--bronze-dark)}
.home-page .image-caption{font-size:12px;color:#6b655c}

/* Section intros sit under their heading instead of floating on the right. */
.home-page .section-head{display:block;margin-bottom:36px}
.home-page .section-head p{font-size:17px;line-height:1.6;color:var(--text-soft);margin-top:14px;max-width:60ch}
.home-page .contact-section .section-head p{color:#c3bfb7}
.home-page .section-lead{max-width:68ch;font-size:17px;line-height:1.7;color:var(--text-soft);margin-bottom:6px}
.home-page .section-more{margin-top:28px}
.home-page .section-more .more{display:inline-flex;align-items:center;min-height:44px;color:var(--bronze-dark)}

/* 3D teaser: now an H2, styled exactly as before. */
.home-page .v3d-teaser-copy .v3d-title{font:400 clamp(35px,3.8vw,60px)/1.14 var(--display);text-transform:uppercase;letter-spacing:normal;margin:12px 0 24px;max-width:22ch;color:var(--ink)}
.home-page .kicker{font-size:12px}

/* Pourquoi: the three proof points lead with big numbers. */
.home-page .adv .adv-mark{font-size:12px;letter-spacing:.12em}
.home-page .adv .adv-stat{display:flex;align-items:baseline;gap:8px;font:400 clamp(52px,4.6vw,76px)/1 var(--display);letter-spacing:-.005em;text-transform:uppercase;color:var(--bronze-dark);margin-bottom:18px}
.home-page .adv-stat small{font:500 15px/1 var(--body);letter-spacing:.1em}
.home-page .adv-grid-proof .adv:nth-child(-n+3){border-top:2px solid var(--bronze-dark)}
.home-page .adv h3{font-size:20px}

/* Readable body text: 16px minimum, darker grey. */
.home-page .adv p,.home-page .step p,.home-page .blog-card p,.home-page .faq-item .faq-a,.home-page .v3d-teaser-copy p{font-size:16px;line-height:1.7;color:var(--text-soft)}

/* Guides: the three latest, each card is one link. */
.home-page #conseils-teaser .blog-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:none}
.home-page a.blog-card{transition:border-color .2s,transform .25s}
.home-page a.blog-card:hover{border-color:var(--bronze);transform:translateY(-4px)}
.home-page a.blog-card:hover .more{text-decoration:underline}
.home-page .blog-card time{font-size:12px}
.home-page .blog-card h3{font-size:clamp(24px,2vw,30px);margin:22px 0 14px}
.home-page .blog-card .more{color:var(--bronze-dark);margin-top:auto}

/* Contact: every phone, email and WhatsApp link is a full-height tap target. */
.home-page .contact-line{align-items:center;padding:12px 0}
.home-page .contact-section .contact-line .k{font-size:12px}
.home-page .contact-line .v a{display:flex;align-items:center;gap:8px;min-height:44px}
.home-page .contact-section .map-open{font-size:13px;min-height:44px}

/* Partner strip and 3D buttons use the body font at a readable size. */
.home-page .partner-strip .plabel{font-family:var(--body);font-size:13px;color:var(--text-soft)}
.home-page #visualisation-3d .btn{font-size:15px}

/* Order steps: numbers match the proof figures above. */
.home-page .step .step-num{font:400 34px/1 var(--display);color:var(--bronze-dark);margin-bottom:0}

/* Mobile contact bar (hidden on larger screens). */
.mobile-cta-bar{display:none}

@media(max-width:900px){
  .home-page .menu-toggle{width:44px;height:44px}
  .home-page .range-card-bottom{font-size:15px}
  .home-page .v3d-teaser-copy .v3d-title{font-size:36px}
  .home-page #conseils-teaser .blog-grid{grid-template-columns:1fr}
}

@media(max-width:640px){
  .home-page{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
  .home-page .distributor-mark{padding-left:10px}
  .home-page .distributor-caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .home-page .menu-toggle{height:44px}
  .home-page .hero .eyebrow{font-size:12px;letter-spacing:.06em}
  .home-page .bronze-sheet{display:none}
  .home-page .v3d-teaser-copy .v3d-title{font-size:10vw}
  .home-page .partner-strip .plabel:last-child{font-size:13px;line-height:1.6}
  .home-page #visualisation-3d .hero-actions{display:flex;flex-direction:column;align-items:stretch;gap:12px}
  .home-page #visualisation-3d .btn{justify-content:center;min-height:50px}
  .home-page .back-top{margin-top:0}
  .home-page .page-directory a{padding:6px 0}
  .home-page .social-links a{padding:10px 0}
  .mobile-cta-bar{position:fixed;left:0;right:0;bottom:0;z-index:20;display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:rgba(241,240,236,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid var(--line)}
  .home-page .consent-bar{bottom:calc(69px + env(safe-area-inset-bottom))}
  .mobile-cta-bar a{display:flex;align-items:center;justify-content:center;gap:6px;min-height:48px;padding:0 6px;border-radius:99px;border:1px solid #cfc7b9;background:var(--paper);color:var(--ink);font:600 14px/1 var(--body);white-space:nowrap}
  .mobile-cta-bar svg{width:18px;height:18px;stroke-width:1.6}
  .mobile-cta-bar .mcb-quote{background:var(--bronze-dark);border-color:var(--bronze-dark);color:#fff}
}

@media(max-width:359px){
  .mobile-cta-bar{gap:6px;padding-left:8px;padding-right:8px}
  .mobile-cta-bar a svg{display:none}
}

/* assets/home-video.css */
/* Full-bleed video background for the homepage's opening section. */
.home-page .range-image-window { aspect-ratio: 4 / 3; }
.home-page .site-header {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #fff;
}
.home-page .site-header .brand img { filter: brightness(0) invert(1); }
.home-page .site-header .distributor-mark {
  background: transparent;
  border-left-color: rgb(255 255 255 / 35%);
}
.home-page .site-header .distributor-mark img { filter: url(#header-logo-white); }
.home-page .site-header .distributor-caption { color: #fff; }
.home-page .site-header .desktop-nav {
  color: #fff;
  text-shadow: 0 1px 8px rgb(0 0 0 / 65%);
}
.home-page .site-header .nav-panel { color: var(--ink); text-shadow: none; }
.home-page .site-header .menu-toggle span { background: #fff; }
.home-page .approved-hero {
  --hero-header-height: 96px;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: max(600px, 100svh);
  padding: calc(var(--hero-header-height) + clamp(56px, 7vw, 110px)) var(--gutter) clamp(56px, 7vw, 110px);
  isolation: isolate;
  overflow: hidden;
  background: #20231f;
  color: #fff;
}
.home-page .approved-hero .hero-video-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  margin: 0;
  border-radius: 0;
  clip-path: none;
}
.home-page .hero-video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 50% 58%, rgb(10 15 13 / 42%) 0, rgb(10 15 13 / 0) 100%),
    linear-gradient(180deg, rgb(10 15 13 / 48%) 0, rgb(10 15 13 / 20%) 160px);
}
.home-page .approved-hero .hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 920px);
  max-width: 920px;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: center;
  text-shadow: 0 2px 10px rgb(0 0 0 / 75%);
}
.home-page .approved-hero h1 { color: #fff; }
.home-page .approved-hero .eyebrow { color: #f2e3ca; }
.home-page .approved-hero .hero-description {
  color: #fff;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.home-page .approved-hero .bronze-sheet,
.home-page .approved-hero .hero-sweep { display: none; }
.approved-hero .home-hero-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-video-toggle {
  position: absolute;
  right: var(--gutter);
  top: calc(var(--hero-header-height) + 16px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #ffffff70;
  border-radius: 50%;
  background: #191b1bc7;
  color: white;
  cursor: pointer;
  font-size: 15px;
}
.hero-video-toggle[hidden] { display: none; }
.hero-video-toggle:focus-visible { outline: 3px solid white; outline-offset: 3px; }

.hero-video-toggle span { width: 12px; height: 14px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.hero-video-toggle[data-paused="true"] span { border: 0; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }

@media (min-width: 1900px) {
  .home-page .approved-hero { --hero-header-height: 120px; }
}
@media (max-width: 1190px) {
  .home-page .approved-hero { --hero-header-height: 88px; }
}
@media (max-width: 900px) {
  .home-page .approved-hero { --hero-header-height: 85px; }
}
@media (max-width: 640px) {
  .home-page .approved-hero {
    --hero-header-height: 82px;
    min-height: max(620px, 100svh);
    padding: calc(var(--hero-header-height) + 48px) var(--gutter) 120px;
  }
  .approved-hero .home-hero-video { object-position: 58% center; }
}

/* Keep the centred hero still while Anton and DM Sans load: the stand-in
   fonts are scaled to the same widths (measured against Arial) so lines
   break in the same places, and each headline line stays on one line. */
@font-face {
  font-family: 'Anton Fallback';
  src: local('Arial'), local('Helvetica'), local('Liberation Sans'), local('Arimo'), local('Roboto');
  size-adjust: 70%;
}
@font-face {
  font-family: 'DM Sans Fallback';
  src: local('Arial'), local('Helvetica'), local('Liberation Sans'), local('Arimo'), local('Roboto');
  size-adjust: 102.6%;
}
@font-face {
  font-family: 'DM Sans Caps Fallback';
  src: local('Arial'), local('Helvetica'), local('Liberation Sans'), local('Arimo'), local('Roboto');
  size-adjust: 91.5%;
}
.home-page .approved-hero h1 { font-family: Anton, 'Anton Fallback', Impact, 'Arial Narrow', sans-serif; }
.home-page .approved-hero h1 > span { white-space: nowrap; }
.home-page .approved-hero .hero-description { font-family: 'DM Sans', 'DM Sans Fallback', Arial, sans-serif; }
.home-page .approved-hero .eyebrow { font-family: 'DM Sans', 'DM Sans Caps Fallback', Arial, sans-serif; }
