/* ============================================================
   PHONY — Accueil 2026
   Hero vidéo atelier + bandeau actu + catalogue live + avis
============================================================ */

.h-hero i[class*="fa-"],
.h-news i[class*="fa-"],
.h-models i[class*="fa-"] {
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    line-height: 1;
}
.p26 i.fas,
.h-hero i.fas,
.h-news i.fas,
.h-models i.fas {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free" !important;
    font-weight: 900;
}
.p26 i.fab,
.h-hero i.fab,
.h-news i.fab,
.h-models i.fab {
    font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands" !important;
    font-weight: 400;
}

/* —— Hero vidéo —— */
.h-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 48px 0 44px;
    background: oklch(32% 0.18 260);
}
.h-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 80% 6%;
    background: oklch(32% 0.18 260);
    z-index: 0;
    pointer-events: none;
}
@media (min-width: 901px) {
    .h-hero-video { object-position: 74% 4%; }
}
.h-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(102deg, oklch(26% 0.18 260 / 0.82) 0%, oklch(30% 0.16 260 / 0.52) 40%, oklch(26% 0.14 260 / 0.28) 100%),
        radial-gradient(ellipse 60% 70% at 85% 40%, oklch(70% 0.16 230 / 0.10) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 10% 80%, oklch(85% 0.21 85 / 0.06) 0%, transparent 50%);
}
.h-hero .container { position: relative; z-index: 2; width: 100%; }
.h-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 420px);
    gap: 36px 40px;
    align-items: center;
}
.h-hero-text { max-width: 580px; }
.h-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 14px;
    background: oklch(99% 0.01 260 / 0.12);
    border: 1px solid oklch(99% 0.01 260 / 0.25);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}
.h-hero-eyebrow i { color: var(--accent-yellow); }
.h-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    color: #fff;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin: 0 0 14px;
    text-wrap: balance;
}
.h-hero h1 .hl { color: var(--accent-yellow); font-style: normal; }
.h-hero-sub {
    margin: 0 0 22px;
    max-width: 46ch;
    font-size: 16.5px;
    line-height: 1.55;
    color: color-mix(in oklch, white 82%, var(--primary-blue));
}
.h-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; }
.h-hero-cta .p26-btn { min-height: 52px; }
.h-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.h-trust-row li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: color-mix(in oklch, white 78%, var(--primary-blue));
}
.h-trust-row i { color: var(--accent-yellow); }

.h-hero-card {
    background: #fff;
    border-radius: 28px;
    padding: 26px 24px;
    box-shadow: 0 28px 64px -24px oklch(20% 0.15 260 / 0.55);
}
.h-hero-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 4px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--gray-900);
}
.h-hero-card-title i { color: var(--primary-blue); }
.h-hero-card-sub { margin: 0 0 16px; font-size: 13.5px; color: var(--gray-700); }
.h-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}
.h-stat-box {
    text-align: center;
    padding: 12px 10px;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 16px;
}
.h-stat-box i { color: var(--primary-blue); font-size: 14px; margin-bottom: 4px; }
.h-stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 900;
    color: var(--primary-blue);
    letter-spacing: -0.03em;
    line-height: 1;
}
.h-stat-label { margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--gray-700); }
.h-services-pills { display: flex; flex-direction: column; gap: 8px; }
.h-service-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: 14px;
    color: var(--gray-900);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.h-service-pill:hover {
    background: oklch(96% 0.04 260);
    border-color: color-mix(in oklch, var(--primary-blue) 30%, white);
    transform: translateX(3px);
    color: var(--gray-900);
}
.h-service-pill-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
}
.h-service-pill-left i { color: var(--primary-blue); width: 18px; text-align: center; }
.h-service-pill-right {
    font-size: 13px;
    font-weight: 800;
    color: var(--primary-blue);
    background: oklch(94% 0.06 260);
    padding: 3px 9px;
    border-radius: 999px;
    white-space: nowrap;
}
.h-card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 14px;
    padding: 13px 16px;
    background: var(--accent-yellow);
    color: var(--gray-900);
    border-radius: 14px;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
}
.h-card-cta:hover { filter: brightness(1.04); color: var(--gray-900); }

@media (prefers-reduced-motion: reduce) {
    .h-hero-video { display: none; }
    .h-hero {
        background:
            linear-gradient(135deg, oklch(35% 0.20 260 / 0.88) 0%, oklch(45% 0.19 260 / 0.82) 55%, oklch(32% 0.18 260 / 0.9) 100%),
            url('/phonyvideo-poster.webp') 78% 6% / cover no-repeat;
    }
}

/* —— Actu —— */
.h-news {
    background: #fff;
    border-bottom: 1px solid var(--gray-100);
    padding: 16px 0;
}
.h-news-inner {
    display: flex;
    align-items: center;
    gap: 16px 22px;
}
.h-news-kicker {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-yellow);
    color: var(--gray-900);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 12px;
    border-radius: 999px;
}
.h-news-body { flex: 1; min-width: 0; }
.h-news-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--primary-blue);
    line-height: 1.25;
}
.h-news-teaser { margin: 4px 0 0; font-size: 14px; color: var(--gray-700); line-height: 1.45; }
.h-news-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-blue);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 12px;
}
.h-news-cta:hover { background: var(--primary-blue-dark); color: #fff; }

/* —— Avis —— */
.h-reviews-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.h-reviews-header .p26-head { text-align: left; margin: 0; max-width: none; }
.h-reviews-score {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: 18px;
    padding: 12px 16px;
}
.h-score-num {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 900;
    color: var(--primary-blue);
    letter-spacing: -0.04em;
    line-height: 1;
}
.h-score-stars { display: flex; gap: 3px; color: var(--accent-yellow); font-size: 14px; }
.h-score-label { font-size: 12px; font-weight: 700; color: var(--gray-700); margin-top: 2px; }
.h-review-stars { display: flex; gap: 3px; color: var(--accent-yellow); margin-bottom: 10px; }
.h-review-text { margin: 0 0 16px; font-size: 15px; line-height: 1.5; color: var(--gray-900); }
.h-review-author { display: flex; align-items: center; gap: 10px; }
.h-review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--primary-blue-dark), var(--primary-blue));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
}
.h-review-name { font-weight: 800; font-size: 14px; }
.h-review-source { font-size: 12px; color: var(--gray-700); }

/* —— Catalogue modèles —— */
.h-models-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 22px;
}
.h-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--gray-200);
    background: #fff;
    color: var(--gray-900);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
}
.h-tab-btn i { color: var(--primary-blue); }
.h-tab-btn.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #fff;
}
.h-tab-btn.active i { color: var(--accent-yellow); }
.h-tab-btn .h-tab-count {
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--gray-100);
    color: var(--primary-blue);
}
.h-tab-btn.active .h-tab-count {
    background: oklch(99% 0.01 260 / 0.18);
    color: #fff;
}
.h-models-panel { display: none; }
.h-models-panel.active { display: block; }
.h-models-meta {
    text-align: center;
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--gray-700);
}
.h-models-meta b { color: var(--primary-blue); }
.h-badges-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.h-mbadge {
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-900);
    text-decoration: none;
}
.h-mbadge:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: oklch(96% 0.04 260);
}
.h-brand-block { margin-bottom: 22px; }
.h-brand-block:last-child { margin-bottom: 0; }
.h-brand-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary-blue);
}
.h-models-empty {
    text-align: center;
    padding: 24px;
    color: var(--gray-700);
}

/* —— Zones grille —— */
.h-zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 10px;
}
.h-zone {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
}
.h-zone:hover { border-color: var(--primary-blue); }
.h-zone i {
    display: grid !important;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(145deg, var(--primary-blue-dark), var(--primary-blue));
    color: #fff;
    font-size: 15px;
    line-height: 1 !important;
    flex-shrink: 0;
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-style: normal;
}
.h-zone i::before {
    grid-area: 1 / 1;
    display: block;
    line-height: 1;
    width: 1em;
    text-align: center;
}
.h-zone-txt { min-width: 0; }
.h-zone b { display: block; font-size: 13.5px; font-weight: 800; color: var(--gray-900); line-height: 1.25; }
.h-zone-meta { display: block; font-size: 11px; font-weight: 600; color: var(--gray-700); line-height: 1.3; }

.h-loc-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 1fr);
    gap: 28px 40px;
    align-items: center;
}

.p26-sec--blue .p26-mini {
    background: oklch(99% 0.01 260 / 0.08);
    border-color: oklch(99% 0.01 260 / 0.16);
}
.p26-sec--blue .p26-mini h3 { color: #fff; }
.p26-sec--blue .p26-mini p { color: color-mix(in oklch, white 78%, var(--p26-blue)); }

@media (max-width: 1024px) {
    .h-hero-grid { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 900px) {
    .h-loc-split { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .h-hero {
        min-height: calc(100vh - var(--site-top, 56px));
        min-height: calc(100svh - var(--site-top, 56px));
        padding: 36px 0 40px;
        align-items: stretch;
    }
    .h-hero .container {
        display: flex;
        align-items: center;
        min-height: inherit;
    }
    .h-hero-grid { width: 100%; }
    .h-hero-video {
        inset: 0 0 auto 0;
        height: calc(100svh - var(--site-top, 56px));
        width: 100%;
        object-fit: cover;
        object-position: 70% 0%;
        transform: none;
    }
    .h-hero::before {
        background:
            linear-gradient(180deg, oklch(26% 0.18 260 / 0.40) 0%, oklch(26% 0.16 260 / 0.22) 36%, oklch(24% 0.14 260 / 0.82) 100%),
            linear-gradient(90deg, oklch(26% 0.18 260 / 0.48) 0%, oklch(26% 0.14 260 / 0.08) 72%);
    }
    .h-hero h1 { font-size: clamp(34px, 9vw, 44px); }
    .h-hero-sub { font-size: 17px; }
    .h-hero-cta { flex-direction: column; align-items: stretch; }
    .h-hero-cta .p26-btn { width: 100%; }
    .h-news-inner { flex-wrap: wrap; }
    .h-news-cta { width: 100%; justify-content: center; }
    .h-reviews-header { align-items: flex-start; }
    .h-tab-btn { flex: 1 1 auto; justify-content: center; }
}
