/* Les Industries RP inc. — feuille de style
   Palette : noir, blanc, rouge RP. Thème sombre. */

:root {
  --bg: #121212;
  --bg-alt: #1a1a1a;
  --bg-mid: #161616;
  --bg-deep: #0a0a0a;
  --bg-footer: #070707;
  --card: #222222;
  --line: #2e2e2e;
  --line-strong: #3a3a3a;
  --text: #f2f2f2;
  --text-2: #c4c4c4;
  --muted: #a6a6a6;
  --red: #c8102e;
  --red-dark: #a50d26;
  --red-light: #ff5a5f;
  --input-border: #7a7a7a;
  --font-display: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --font-body: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 9vw, 112px);
  --header-h: 80px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--text); }
a:hover { color: var(--red-light); }
:focus-visible { outline: 3px solid var(--red-light); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--font-display); text-transform: uppercase; line-height: 1; margin: 0; color: var(--text); }
h1 { font-weight: 800; font-size: clamp(44px, 6.4vw, 72px); line-height: .95; }
h2 { font-weight: 800; font-size: clamp(38px, 5vw, 60px); }
h3 { font-weight: 700; font-size: 26px; line-height: 1.05; }
p { margin: 0; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--red); color: #fff; padding: 12px 18px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red-light); margin: 0 0 16px; }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: var(--text-2); max-width: 36em; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; font: 600 16px/1.2 var(--font-body); text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--text); border-color: var(--text); }
.btn-outline:hover { background: var(--text); color: var(--bg); }
.btn-light { background: #fff; color: #111; border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; }
.btn svg { flex-shrink: 0; }

/* Barre du haut */
.topbar { background: var(--bg-deep); color: var(--text-2); font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 44px; }
.topbar-contact, .topbar-right { display: flex; align-items: center; gap: 24px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--red-light); }
.lang-switch { display: flex; align-items: center; gap: 6px; font-weight: 600; border-left: 1px solid var(--line-strong); padding-left: 20px; }
.lang-switch [aria-current] { color: #fff; }
.topbar .lang-switch a { color: var(--muted); padding: 10px 2px; }
.lang-switch .sep { color: #666; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(26, 26, 26, .96); backdrop-filter: saturate(140%) blur(8px); -webkit-backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 18px; text-decoration: none; }
.brand img { height: 56px; width: auto; }
.brand-tag { font-size: 12px; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-left: 1px solid var(--line-strong); padding-left: 18px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 12px 0; }
.site-nav .btn { padding: 12px 20px; min-height: 46px; font-size: 15px; }
.nav-toggle { display: none; background: transparent; border: 2px solid var(--text); color: var(--text); width: 48px; height: 48px; align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 1080px) { .brand-tag { display: none; } .site-nav ul { gap: 22px; } }
@media (max-width: 920px) {
  :root { --header-h: 72px; }
  .brand img { height: 48px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 28px; display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .site-header.is-stuck .site-nav, .site-nav { top: var(--header-h); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li a:not(.btn) { display: block; padding: 16px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .site-nav li:last-child { margin-top: 20px; }
  .site-nav .btn { width: 100%; min-height: 52px; font-size: 16px; }
  .topbar-hours { display: none; }
}
@media (max-width: 560px) { .topbar-email { display: none !important; } }

/* Accueil */
.hero { padding: clamp(48px, 7vw, 80px) 0 clamp(48px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-copy .eyebrow { margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-media { position: relative; aspect-ratio: 1 / 1; background: var(--card); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; left: -32px; bottom: 32px; display: flex; align-items: center; gap: 16px; background: var(--red); color: #fff; padding: 20px 26px; }
.badge strong { font: 800 56px/1 var(--font-display); }
.badge span { font-size: 14px; line-height: 1.35; max-width: 130px; }
.strengths { list-style: none; margin: clamp(40px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--text); }
.strengths li { display: flex; gap: 14px; align-items: flex-start; padding: 24px 24px 0; border-left: 1px solid var(--line-strong); }
.strengths li:first-child { padding-left: 0; border-left: 0; }
.strengths svg { flex-shrink: 0; color: var(--red-light); }
.strengths strong { display: block; font-weight: 600; }
.strengths span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 4 / 3; }
  .badge { left: 16px; bottom: 16px; padding: 14px 18px; }
  .badge strong { font-size: 44px; }
  .strengths { grid-template-columns: 1fr; }
  .strengths li, .strengths li:first-child { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* Sections */
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--bg-alt); }
.section-mid { background: var(--bg-mid); }
.section-deep { background: var(--bg-deep); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 64px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { max-width: 11em; }
.section-head .lead { max-width: 25em; font-size: 17px; }

/* Produits */
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.product { background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.product-img { aspect-ratio: 8 / 5; overflow: hidden; background: #2a2a2a; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.product-tag { font: 700 16px/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.product-body p { font-size: 15px; line-height: 1.5; color: var(--text-2); }
@media (max-width: 1080px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .products { grid-template-columns: 1fr; } }

/* Image + texte */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 600px; }
.split-media { position: relative; background: #2a2a2a; min-height: 320px; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-copy { padding: var(--section-y) max(var(--gutter), calc((100vw - var(--wrap)) / 2)) var(--section-y) clamp(24px, 6vw, 88px); display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.split-copy > * { max-width: 560px; }
.split-reverse .split-media { order: 2; }
.split-reverse .split-copy { padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); padding-right: clamp(24px, 6vw, 88px); }
.split-copy .eyebrow { margin: 0; }
.steps { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line-strong); counter-reset: step; }
.steps li { display: flex; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-strong); font-size: 17px; counter-increment: step; }
.steps li::before { content: counter(step); font: 700 22px/1 var(--font-display); color: var(--red-light); width: 28px; flex-shrink: 0; }
@media (max-width: 920px) {
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split-media { aspect-ratio: 4 / 3; min-height: 0; }
  .split-reverse .split-media { order: 0; }
  .split-copy, .split-reverse .split-copy { padding: 56px var(--gutter); }
}

/* Location */
.rental-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 64px; flex-wrap: wrap; margin-bottom: 48px; }
.rental-head > div:first-child { max-width: 700px; display: flex; flex-direction: column; gap: 20px; }
.rental-head .eyebrow { margin: 0; }
.rental-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.rental-cta .phone { font-weight: 600; }
.rentals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.rental { background: var(--bg-alt); }
.rental-img { aspect-ratio: 16 / 9; overflow: hidden; background: #2a2a2a; }
.rental-img img { width: 100%; height: 100%; object-fit: cover; }
.rental-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 48px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line-strong); list-style: none; font-size: 15px; color: var(--text-2); }
.uses strong { display: block; color: #fff; font-weight: 600; }
@media (max-width: 920px) { .rentals, .uses { grid-template-columns: 1fr; } .rental-cta { align-items: flex-start; } }

/* Réalisations — carrousel */
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.gallery-grid li { aspect-ratio: 1 / 1; overflow: hidden; background: #2a2a2a; }
.gallery-grid li[hidden] { display: none; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.gallery-controls { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.gallery-status { font-size: 15px; color: var(--text-2); }
.gallery-nav { display: flex; align-items: center; gap: 12px; }
.gallery-btn { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; background: transparent; color: var(--text); border: 2px solid var(--text); cursor: pointer; }
.gallery-btn:hover { background: var(--text); color: var(--bg); }
.gallery-dots { display: flex; gap: 2px; }
.gallery-dot { width: 28px; height: 44px; background: transparent; border: 0; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.gallery-dot span { display: block; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--text); }
.gallery-dot[aria-current="true"] span { width: 12px; height: 12px; background: var(--red); border-color: var(--red); }
.gallery-controls[hidden] { display: none; }
@media (max-width: 920px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-card { background: var(--bg-deep); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 32px; }
.contact-card .eyebrow { margin: 0 0 14px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list svg { flex-shrink: 0; color: var(--red-light); margin-top: 3px; }
.contact-list a { color: #fff; text-decoration: none; }
.contact-list a:hover { color: var(--red-light); }
.contact-photo { aspect-ratio: 16 / 9; overflow: hidden; background: #2a2a2a; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.form-intro { margin-bottom: 28px; }
.form-intro h3 { font-size: 36px; margin-bottom: 10px; }
.form-intro p { color: var(--text-2); }
.form { display: flex; flex-direction: column; gap: 24px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; background: var(--card); color: var(--text); border: 1px solid var(--input-border); border-radius: 0; font: 400 16px/1.4 var(--font-body); }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8c8c8c; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--text); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.consent input { width: 22px; height: 22px; margin: 0; flex-shrink: 0; accent-color: var(--red); }
.privacy-note { font-size: 13px; line-height: 1.55; color: var(--muted); }
.privacy-note a { color: var(--text-2); }
.form .btn { align-self: flex-start; }
.form-status { font-size: 15px; padding: 14px 16px; border-left: 3px solid var(--red-light); background: var(--card); }
.form-status[hidden] { display: none; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } .form .btn { width: 100%; } }

/* Pied de page */
.site-footer { background: var(--bg-footer); color: var(--muted); font-size: 14px; padding: 48px 0 32px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-top img { height: 56px; width: auto; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px 48px; flex-wrap: wrap; border-top: 1px solid #262626; margin-top: 32px; padding-top: 20px; }
.footer-legal { display: flex; flex-direction: column; gap: 6px; max-width: 640px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; margin: 0; padding: 0; }
.footer-links a, .footer-links button { color: var(--muted); font: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; white-space: nowrap; }
.footer-links a:hover, .footer-links button:hover { color: var(--red-light); }
.site-footer a { color: var(--muted); }

/* Témoins */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--bg-deep); border-top: 3px solid var(--red); padding: 24px 0 calc(24px + env(safe-area-inset-bottom, 0px)); }
.cookie-banner[hidden] { display: none; }
.cookie-banner .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.cookie-banner h2 { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.cookie-banner p { font-size: 15px; line-height: 1.55; color: #d9d9d9; max-width: 680px; }
.cookie-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cookie-actions .btn { min-height: 48px; padding: 12px 22px; font-size: 15px; }
.link-btn { background: none; border: 0; color: #fff; font: 600 15px var(--font-body); text-decoration: underline; cursor: pointer; padding: 12px; }
.link-btn:hover { color: var(--red-light); }
.cookie-dialog { border: 0; border-top: 4px solid var(--red); padding: 0; background: var(--bg-alt); color: var(--text); width: min(560px, 100% - 32px); max-height: calc(100vh - 32px); }
.cookie-dialog::backdrop { background: rgba(0, 0, 0, .7); }
.cookie-dialog form { padding: 36px 40px; display: flex; flex-direction: column; gap: 22px; }
.cookie-dialog h2 { font-size: 32px; font-weight: 700; }
.cookie-dialog p { color: var(--text-2); font-size: 15px; }
.cookie-options { border-top: 1px solid var(--line); }
.cookie-option { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.cookie-option input { width: 22px; height: 22px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--red); }
.cookie-option strong { display: block; }
.cookie-option span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
@media (max-width: 560px) { .cookie-dialog form { padding: 28px 22px; } .cookie-actions .btn { flex: 1 1 auto; } }

/* Pages légales */
.legal { padding: clamp(48px, 7vw, 88px) 0 var(--section-y); }
.legal .wrap { max-width: 820px; }
.legal-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 8px; }
.legal-head h1 { font-size: clamp(44px, 6vw, 64px); }
.legal-date { font-size: 14px; color: var(--muted); }
.legal-intro { font-size: 18px; color: var(--text-2); }
.legal section { margin-top: 40px; color: var(--text-2); line-height: 1.65; }
.legal h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.legal a { color: var(--red-light); }
.legal .officer { background: var(--bg-alt); border-top: 3px solid var(--text); padding: 28px 32px; }
.back-link { display: inline-block; font-weight: 600; padding: 8px 0; }

/* Hébergement : zones sûres des téléphones */
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
html { scroll-padding-top: calc(var(--header-h) + 16px + env(safe-area-inset-top, 0px)); }
.site-header { top: env(safe-area-inset-top, 0px); }


/* ===== Effet WOW : héros plein écran, dégivrage, afficheur de température ===== */
@property --clear { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
.eyebrow { text-transform: none; letter-spacing: 0; font-size: 16px; }
h2 { font-size: clamp(40px, 5.4vw, 76px); line-height: .95; }

.home .site-header { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background-color .3s, border-color .3s; }
.home .site-header.is-scrolled { background: rgba(18, 18, 18, .94); border-bottom-color: var(--line); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); }

.hero { position: relative; isolation: isolate; overflow: hidden; margin-top: calc(-1 * var(--header-h)); min-height: max(640px, calc(100svh - 44px)); padding: calc(var(--header-h) + 48px) 0 clamp(40px, 6vw, 72px); display: flex; flex-direction: column; justify-content: flex-end; background: #000; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; transform: scale(1.14); animation: settle 2.8s cubic-bezier(.2, .7, .2, 1) forwards; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.62) 42%, rgba(0,0,0,.18) 100%),
  linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,0) 45%); }
.hero-frost { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,255,255,.14), rgba(255,255,255,.42));
  backdrop-filter: blur(22px) saturate(.4) brightness(1.15); -webkit-backdrop-filter: blur(22px) saturate(.4) brightness(1.15);
  -webkit-mask-image: radial-gradient(circle at 32% 62%, transparent var(--clear), #000 calc(var(--clear) + 22%));
          mask-image: radial-gradient(circle at 32% 62%, transparent var(--clear), #000 calc(var(--clear) + 22%));
  animation: defrost 2.1s cubic-bezier(.55, 0, .25, 1) .25s forwards; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px 56px; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; max-width: 980px; }
.hero-kicker { font-weight: 600; color: #fff; display: flex; align-items: center; gap: 14px; opacity: 0; animation: fadein .8s ease 1.1s forwards; }
.hero-kicker::before { content: ''; flex: 0 0 40px; width: 40px; height: 3px; background: var(--red); }
.hero h1 { font-size: clamp(50px, 6.9vw, 106px); line-height: .88; letter-spacing: -.005em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero h1 .line > span { display: block; transform: translateY(108%); animation: rise 1s cubic-bezier(.2, .8, .2, 1) forwards; }
.hero h1 .line:nth-child(1) > span { animation-delay: 1.15s; }
.hero h1 .line:nth-child(2) > span { animation-delay: 1.27s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 1.39s; }
.hero .lead { color: #e6e6e6; max-width: 34em; opacity: 0; animation: fadein .8s ease 1.7s forwards; }
.hero-actions { opacity: 0; animation: fadein .8s ease 1.85s forwards; }
.hero .btn-outline { border-color: rgba(255,255,255,.8); }

.thermo { width: 250px; background: rgba(0,0,0,.72); border: 1px solid rgba(255,255,255,.18); padding: 18px 22px 20px; color: #fff; display: flex; flex-direction: column; gap: 6px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; animation: fadein .7s ease .9s forwards; }
.thermo-top { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--text-2); }
.thermo-led { width: 9px; height: 9px; border-radius: 50%; background: var(--red-light); box-shadow: 0 0 10px var(--red-light); animation: blink 1.6s steps(2, jump-none) infinite; }
.thermo-value { font: 800 96px/.9 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; display: flex; align-items: flex-start; }
.thermo-value sup { font-size: 32px; line-height: 1; margin: 10px 0 0 6px; font-weight: 700; color: var(--text-2); }
.thermo-bar { height: 4px; background: rgba(255,255,255,.15); position: relative; overflow: hidden; margin-top: 8px; }
.thermo-bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--red); animation: fill 2.4s cubic-bezier(.3, .6, .2, 1) 1s forwards; }

.ticker { background: var(--red); color: #fff; overflow: hidden; border-block: 1px solid var(--red-dark); }
.ticker-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li { font: 800 clamp(26px, 3vw, 40px)/1 var(--font-display); text-transform: uppercase; padding: 20px 0; display: flex; align-items: center; white-space: nowrap; }
.ticker li::after { content: ''; width: 12px; height: 12px; background: #fff; margin: 0 clamp(24px, 3vw, 44px); transform: rotate(45deg); }
.ticker:hover .ticker-track { animation-play-state: paused; }

.strengths-band { background: var(--bg); padding: clamp(8px, 2vw, 24px) 0 clamp(48px, 6vw, 72px); }
.strengths-band .strengths { margin-top: 0; border-top: 0; }
.strengths-band .strengths li { padding-top: 32px; }

.product { transition: border-color .25s; position: relative; }
.product::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.product:hover { border-color: var(--line-strong); }
.product:hover::after { transform: scaleX(1); }
.product-img img, .rental-img img { transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.product:hover .product-img img, .rental:hover .rental-img img { transform: scale(1.06); }

.gallery-grid .shot { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; position: relative; }
.gallery-grid .shot img { transition: transform .5s cubic-bezier(.2, .8, .2, 1), filter .3s; }
.gallery-grid .shot:hover img { transform: scale(1.05); }
.gallery-grid .shot:focus-visible { outline: 3px solid var(--red-light); outline-offset: -3px; }
.lightbox { border: 0; padding: 0; background: transparent; width: 100vw; height: 100vh; max-width: none; max-height: none; color: #fff; }
.lightbox::backdrop { background: rgba(0,0,0,.92); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: min(1200px, 92vw); }
.lightbox img { max-width: 100%; max-height: 78vh; object-fit: contain; animation: pop .35s cubic-bezier(.2, .8, .2, 1); }
.lightbox figcaption { font-size: 15px; color: var(--text-2); text-align: center; max-width: 60ch; }
.lightbox-count { font: 700 18px/1 var(--font-display); color: var(--muted); }
.lb-btn { position: fixed; width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; background: rgba(0,0,0,.6); color: #fff; border: 2px solid rgba(255,255,255,.7); cursor: pointer; }
.lb-btn:hover { background: var(--red); border-color: var(--red); }
.lb-close { top: calc(20px + env(safe-area-inset-top, 0px)); right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

@keyframes settle { to { transform: scale(1); } }
@keyframes defrost { 0% { --clear: 0%; opacity: 1; } 80% { --clear: 110%; opacity: 1; } 100% { --clear: 140%; opacity: 0; visibility: hidden; } }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fadein { to { opacity: 1; } }
@keyframes fill { to { width: 100%; } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes pop { from { transform: scale(.96); opacity: 0; } }

@media (max-width: 920px) {
  .hero { min-height: max(600px, calc(100svh - 44px)); }
  .hero-inner { grid-template-columns: 1fr; }
  .thermo { width: auto; flex-direction: row; align-items: center; gap: 18px; padding: 14px 18px; order: -1; justify-self: start; }
  .thermo-top { flex-direction: column-reverse; align-items: flex-start; gap: 6px; }
  .thermo-value { font-size: 56px; }
  .thermo-value sup { font-size: 22px; margin-top: 4px; }
  .thermo-bar { display: none; }
  .lb-prev, .lb-next { top: auto; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-frost { display: none; }
  .hero-bg img, .hero h1 .line > span { transform: none; }
  .hero-kicker, .hero .lead, .hero-actions, .thermo { opacity: 1; }
  .thermo-bar i { width: 100%; }
  .ticker-track { flex-wrap: wrap; }
  .ticker-track ul + ul { display: none; }
}

/* Contact par courriel (remplace le formulaire) */
.email-box { display: flex; flex-direction: column; gap: 28px; }
.email-box h3 { font-size: 36px; }
.email-box > p { color: var(--text-2); max-width: 34em; }
.email-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.email-list li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line-strong); position: relative; color: var(--text-2); }
.email-list li::before { content: ''; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; background: var(--red); transform: translateY(-50%) rotate(45deg); }
.email-inc { font-weight: 600; margin-bottom: -12px; }
.email-box .btn { align-self: flex-start; font-size: 17px; min-height: 60px; padding: 16px 30px; }
.email-alt { font-size: 15px; color: var(--text-2); }
.email-alt a { color: #fff; font-weight: 600; }
@media (max-width: 560px) { .email-box .btn { width: 100%; font-size: 15px; padding: 14px 16px; } }
