/* ============================================================================
   H12 — Page Boutiques partenaires (co-brand)
   Réutilise les cartes .h12-partner (définies inline ici pour être autonome).
   ========================================================================== */

.h12-pt-hero { position: relative; background: var(--h12-ink); color: #fff; overflow: hidden; padding: 80px 40px; text-align: center; }
.h12-pt-hero h1 { font-size: clamp(44px, 6vw, 84px); margin: 0; }
.h12-pt-hero p { font-size: 17px; color: var(--h12-hero-sub); max-width: 560px; margin: 22px auto 0; }

.h12-pt-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.h12-pt-step { border: var(--h12-bd); border-radius: var(--h12-radius-lg); padding: 28px; }
.h12-pt-step .num { font-family: var(--h12-font-display); font-size: 40px; color: var(--h12-red); line-height: 1; }
.h12-pt-step h3 { font-weight: 800; font-size: 19px; margin: 14px 0 8px; }
.h12-pt-step p { font-size: 14px; color: var(--h12-text-2); line-height: 1.6; margin: 0; }

.h12-pt-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--dark { background: var(--h12-ink); border-color: var(--h12-ink); color: #fff; position: relative; overflow: hidden; padding: 26px; display: flex; flex-direction: column; justify-content: center; }
.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 p { color: #B8B8B8; }
.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); }
.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; }

/* Gabarit de boutique partenaire (hero marine) */
.h12-pt-tpl { border-radius: var(--h12-radius-lg); overflow: hidden; border: var(--h12-bd); }
.h12-pt-tpl__hero { background: var(--h12-navy); color: #fff; padding: 40px; display: flex; align-items: center; gap: 20px; }
.h12-pt-tpl__logo { width: 64px; height: 64px; border-radius: var(--h12-radius); background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-family: var(--h12-font-display); font-size: 28px; }
.h12-pt-tpl__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 24px; background: #fff; }

@media (max-width: 900px) {
	.h12-pt-steps, .h12-pt-tpl__grid { grid-template-columns: repeat(2, 1fr); }
	.h12-pt-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------
 * Boutique partenaire Acier Ouellette (/acier-ouellette/)
 * Co-brand : leur orange #FF6C37 sur le noir H12.
 * ------------------------------------------------------------------ */
.h12-ao { --h12-ao-orange: #FF6C37; }

.h12-ao-hero {
	position: relative;
	background: var(--h12-ink);
	color: #fff;
	padding: 72px 0 64px;
	overflow: hidden;
	border-bottom: 6px solid #FF6C37;
}
.h12-ao-hero__in { position: relative; display: flex; align-items: center; gap: 34px; }
.h12-ao-hero__logo {
	width: 150px; height: auto; flex: 0 0 auto;
	background: #fff; border-radius: var(--h12-radius);
	padding: 10px; box-sizing: border-box;
}
.h12-ao-hero .h12-eyebrow { color: #FF6C37; }
.h12-ao-hero__h1 { font-size: var(--h12-h-section); margin: 6px 0 12px; line-height: .95; }
.h12-ao-hero__lead { color: var(--h12-hero-sub); font-size: 16px; line-height: 1.6; max-width: 62ch; margin: 0; }

.h12-ao-how { padding-top: 46px; }
.h12-ao-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.h12-ao-point { border: var(--h12-bd); border-radius: var(--h12-radius-lg); padding: 24px; }
.h12-ao-point h3 { font-weight: 800; font-size: 17px; margin: 0 0 8px; }
.h12-ao-point h3::before {
	content: ""; display: block; width: 28px; height: 3px;
	background: #FF6C37; margin-bottom: 12px;
}
.h12-ao-point p { font-size: 14px; color: var(--h12-text-2); line-height: 1.6; margin: 0; }

.h12-ao-empty { color: var(--h12-text-2); }
.h12-ao-help p { color: var(--h12-text-2); }
.h12-ao-help a { color: var(--h12-red); font-weight: 700; }

@media (max-width: 900px) {
	.h12-ao-points { grid-template-columns: 1fr; }
	.h12-ao-hero__in { flex-direction: column; align-items: flex-start; gap: 22px; }
	.h12-ao-hero__logo { width: 112px; }
}

/* Verrou d'accès de la boutique partenaire (inc/partenaires.php) */
.h12-ao-lock {
	border: var(--h12-bd); border-radius: var(--h12-radius-lg);
	padding: 40px 28px; max-width: 520px; margin: 0 auto; text-align: center;
}
.h12-ao-lock__title {
	font-family: var(--h12-font-display); font-size: 26px; line-height: 1;
	text-transform: uppercase; margin: 0 0 10px;
}
.h12-ao-lock__lead { color: var(--h12-text-2); font-size: 15px; line-height: 1.6; margin: 0 0 20px; }
.h12-ao-lock__error {
	color: var(--h12-red); font-weight: 700; font-size: 14px; margin: 0 0 16px;
}
.h12-ao-lock__form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.h12-ao-lock__form input {
	flex: 1 1 220px; min-width: 0; padding: 13px 15px;
	border: var(--h12-bd); border-radius: var(--h12-radius);
	font-family: var(--h12-font-mono); font-size: 15px; letter-spacing: .06em;
	text-transform: uppercase; background: #fff;
}
.h12-ao-lock__form input:focus { outline: 2px solid #FF6C37; outline-offset: 1px; }

/* ============================================================================
   LISTE DES BOUTIQUES OUVERTES (page « Boutiques partenaires »)
   Alimentée par le CPT h12_boutique du plugin h12-core.
   ========================================================================== */
.h12-bq-liste {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px;
}
.h12-bq-carte {
	display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
	padding: 28px 22px; border: var(--h12-bd); border-radius: var(--h12-radius-lg);
	background: #fff; text-decoration: none; color: inherit;
	transition: border-color .18s ease, transform .18s ease;
}
.h12-bq-carte:hover { border-color: var(--h12-red); transform: translateY(-2px); }
.h12-bq-carte__logo { width: 84px; height: 84px; object-fit: contain; }
.h12-bq-carte__nom { font-weight: 800; font-size: 16px; }
.h12-bq-carte__note {
	font-family: var(--h12-font-mono); font-size: 11px; letter-spacing: .06em;
	text-transform: uppercase; color: var(--h12-text-3);
}
@media (max-width: 640px) {
	.h12-bq-liste { grid-template-columns: 1fr 1fr; }
	.h12-bq-carte { padding: 20px 14px; }
	.h12-bq-carte__logo { width: 64px; height: 64px; }
}
