/* ============================================================================
   H12 IMPRESSIONS — PAGE D'ACCUEIL (front-page.php)
   Styles spécifiques aux sections de l'accueil. Chargé seulement sur le front.
   ========================================================================== */

/* ---- Hero ---- */
.h12-hero { position: relative; background: var(--h12-ink); color: #fff; overflow: hidden; }
.h12-hero__halftone { position: absolute; top: -60px; left: -60px; width: 420px; height: 420px; background-image: var(--h12-halftone-red); background-size: 13px 13px; opacity: .4; -webkit-mask-image: radial-gradient(circle at 40% 40%, #000 35%, transparent 70%); mask-image: radial-gradient(circle at 40% 40%, #000 35%, transparent 70%); }
.h12-hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 72px 40px 80px; max-width: var(--h12-maxw); margin: 0 auto; }
.h12-hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--h12-font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--h12-red); margin-bottom: 24px; }
.h12-hero__eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--h12-red); }
.h12-hero__title { font-size: var(--h12-h-hero); }
.h12-hero__title .accent { color: var(--h12-red); }
.h12-hero__sub { font-size: 17px; line-height: 1.6; color: var(--h12-hero-sub); max-width: 440px; margin: 26px 0 34px; }
.h12-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.h12-hero__stats { display: flex; gap: 28px; margin-top: 44px; font-family: var(--h12-font-mono); font-size: 12px; color: var(--h12-text-3); flex-wrap: wrap; }
.h12-hero__stats b { color: #fff; font-weight: 700; }

.h12-hero__panel { position: relative; }
.h12-hero__frame { position: relative; aspect-ratio: 4 / 5; border: 1px solid #333; border-radius: var(--h12-radius-lg); overflow: hidden; background: #1E1E1E; }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: opacity 0.6s ease; }
.h12-hero-loop-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; pointer-events: none; }
.hero-slide-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%); z-index: 2; pointer-events: none; }
.hero-slide-info { position: absolute; top: 18px; left: 18px; z-index: 3; }
.hero-slide-info span { font-family: var(--h12-font-mono); font-size: 10px; color: #fff; text-transform: uppercase; letter-spacing: .12em; background: rgba(0,0,0,0.75); padding: 4px 10px; border-radius: var(--h12-radius-sm); border: 1px solid rgba(255,255,255,0.1); }
.h12-hero__tag { position: absolute; bottom: 18px; left: 18px; z-index: 3; }
.h12-hero__dots { position: absolute; bottom: 20px; right: 18px; z-index: 3; display: flex; gap: 7px; align-items: center; }
.hero-dot { height: 8px; border-radius: 99px; background: rgba(255,255,255,.35); width: 8px; cursor: pointer; transition: background 0.25s, width 0.25s; }

/* ---- Grilles de sections ---- */
.h12-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 38px; flex-wrap: wrap; }
.h12-head__link { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; transition: color var(--h12-t-fast); }
.h12-head__link:hover { color: var(--h12-red); }
/* .h12-grid-3 / .h12-grid-4 : deplacees dans theme.css (utilitaires partages
   par l'accueil, la boutique et les pages partenaires). */

/* ---- Cartes service ---- */
.h12-svc__media { aspect-ratio: 16 / 10; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.h12-svc__media--dtf { background: var(--h12-ink); }
.h12-svc__media--broderie { background: var(--h12-bg-gray); border-bottom: 1px solid var(--h12-border); }
.h12-svc__media--info { background: var(--h12-red); }
.h12-svc__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.h12-card--service:hover .h12-svc__img { transform: scale(1.04); }
.h12-svc__scrim { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,.6), rgba(0,0,0,.25) 55%, rgba(0,0,0,.6)); }
.h12-svc__label { font-family: var(--h12-font-display); color: #fff; text-transform: uppercase; position: relative; font-size: 44px; line-height: .9; text-align: center; text-shadow: 0 2px 16px rgba(0,0,0,.55); }
.h12-svc__media--broderie .h12-svc__label { color: #fff; font-size: 40px; }
.h12-svc__body { padding: 24px; }
.h12-svc__body h3 { font-weight: 800; font-size: 20px; margin: 0 0 10px; }
.h12-svc__body p { font-size: 14px; line-height: 1.6; color: var(--h12-text-2); margin: 0 0 14px; }
.h12-svc__more { font-family: var(--h12-font-mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--h12-ink); }

/* ---- Ce qui nous démarque ---- */
.h12-why__head { text-align: center; margin-bottom: 46px; }
.h12-why__lead { max-width: 560px; margin: 16px auto 0; font-size: 16px; line-height: 1.6; color: var(--h12-text-2); }
.h12-why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.h12-why__item { text-align: center; }
.h12-why__icon { display: inline-flex; align-items: center; justify-content: center; width: 66px; height: 66px; border-radius: 16px; background: rgba(196, 22, 28, .08); color: var(--h12-red); margin-bottom: 20px; }
.h12-why__icon svg { width: 30px; height: 30px; }
.h12-why__title { font-family: var(--h12-font-display); font-weight: 400; letter-spacing: .01em; text-transform: uppercase; font-size: 26px; line-height: 1; margin: 0 0 12px; }
.h12-why__text { font-size: 14px; line-height: 1.6; color: var(--h12-text-2); margin: 0 auto; max-width: 270px; }
@media (max-width: 860px) { .h12-why__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 22px; } }
@media (max-width: 480px) { .h12-why__grid { grid-template-columns: 1fr; } }

/* ---- Cartes produit : styles déplacés dans theme.css (servent aussi à la boutique) ---- */

/* ---- Combos ---- */
.h12-combos { position: relative; overflow: hidden; }
.h12-combo { background: #1E1E1E; border: 1.5px solid #333; border-radius: var(--h12-radius-lg); overflow: hidden; position: relative; transition: border-color 0.3s ease; }
.h12-combo:hover { border-color: var(--h12-red); }
.h12-combo__media { aspect-ratio: 16 / 9; background: #171717; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.h12-combo__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.3) 100%); z-index: 1; transition: opacity 0.3s ease; }
.h12-combo:hover .h12-combo__media::after { opacity: 0.85; }
.h12-combo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: transform 0.4s ease, opacity 0.4s ease; z-index: 0; }
.h12-combo:hover .h12-combo__img { transform: scale(1.06); opacity: 1; }
.h12-combo__media .h12-badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.h12-combo__label { font-family: var(--h12-font-display); font-size: 26px; text-transform: uppercase; color: #fff; text-align: center; line-height: .9; position: relative; z-index: 2; text-shadow: 0 2px 4px rgba(0,0,0,0.6); }
.h12-combo__body { padding: 22px; }
.h12-combo__body h3 { font-weight: 800; font-size: 19px; margin: 0 0 8px; }
.h12-combo__body p { font-size: 13px; color: var(--h12-text-3); line-height: 1.6; margin: 0 0 16px; }
.h12-combo__price { display: flex; align-items: baseline; gap: 10px; }
.h12-combo__price .now { font-family: var(--h12-font-display); font-size: 32px; color: var(--h12-red); }
.h12-combo__price .was { font-size: 15px; color: var(--h12-text-3); text-decoration: line-through; }

/* ---- Partenaires ---- */
.h12-partners { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.h12-partners__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.h12-partner { background: var(--h12-bg-gray); border: var(--h12-bd); border-radius: var(--h12-radius-lg); padding: 0; overflow: hidden; transition: box-shadow var(--h12-t-card), transform var(--h12-t-card); }
.h12-partner:hover { box-shadow: var(--h12-shadow-partner); transform: translateY(-5px); }
.h12-partner__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--h12-ink); }
.h12-partner__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--h12-ease); }
.h12-partner:hover .h12-partner__media img { transform: scale(1.05); }
.h12-partner__body { padding: 20px 24px 24px; }
.h12-partner__mark { width: 52px; height: 52px; border-radius: var(--h12-radius); display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--h12-font-display); font-size: 24px; margin-bottom: 16px; background: var(--h12-ink); }
.h12-partner__mark--red { background: var(--h12-red); }
.h12-partner__tag { font-family: var(--h12-font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--h12-red); margin-bottom: 6px; }
.h12-partner h3 { font-weight: 800; font-size: 18px; margin: 0 0 6px; }
.h12-partner p { font-size: 13px; color: var(--h12-text-2); line-height: 1.55; margin: 0; }
.h12-partner--dark { background: var(--h12-ink); border-color: var(--h12-ink); color: #fff; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; padding: 26px; }
.h12-partner--dark p { color: #B8B8B8; }
.h12-partner--dark .big { font-family: var(--h12-font-display); font-size: 40px; text-transform: uppercase; line-height: .9; margin-bottom: 10px; }
.h12-partner--dark a { font-family: var(--h12-font-mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--h12-red); }

/* ---- Bandeau réassurance ---- */
.h12-assur { padding: 28px 40px; background: var(--h12-red); color: #fff; background-image: repeating-linear-gradient(45deg, rgba(0,0,0,.07) 0 10px, transparent 10px 20px); }
.h12-assur__row { max-width: var(--h12-maxw-content); margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; }
.h12-assur__row span { display: flex; align-items: center; gap: 12px; }
.h12-assur__row i { font-family: var(--h12-font-mono); font-size: 20px; font-style: normal; }

/* ---- CTA final ---- */
.h12-cta { padding: 88px 40px; background: var(--h12-ink); color: #fff; position: relative; overflow: hidden; text-align: center; }
.h12-cta__glow { position: absolute; background-image: var(--h12-halftone-red); background-size: 14px 14px; -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 70%); mask-image: radial-gradient(circle, #000 35%, transparent 70%); }
.h12-cta__glow--a { top: -80px; right: -40px; width: 460px; height: 460px; opacity: .35; }
.h12-cta__glow--b { bottom: -80px; left: -40px; width: 400px; height: 400px; opacity: .25; }
.h12-cta__inner { position: relative; max-width: 760px; margin: 0 auto; }
.h12-cta h2 { font-size: clamp(44px, 6.5vw, 80px); }
.h12-cta p { font-size: 17px; color: var(--h12-hero-sub); margin: 22px 0 32px; }

/* ---- Section enfant ---- */
.h12-kids__lead { max-width: 56ch; margin: 16px 0 0; font-size: 16px; color: var(--h12-text-2); }

@media (max-width: 900px) {
	.h12-hero__inner { grid-template-columns: 1fr; }
	.h12-partners { grid-template-columns: 1fr; }
}
