/*
Theme Name: HarmonYa
Theme URI: https://harmonya-education.fr
Author: HarmonYa
Description: Theme officiel HarmonYa.
Version: 1.3.0
Text Domain: harmonya
*/

:root {
    --harmonya-blue: #2563EB;
    --harmonya-green: #4CAF88;
    --harmonya-offwhite: #F8FAFC;
    --harmonya-gray: #E5E7EB;
    --harmonya-dark: #1F2937;
    --harmonya-navy: #0B1F3A;
    --harmonya-white: #FFFFFF;
    --harmonya-text-muted: #64748B;
    --harmonya-radius: 20px;
    --harmonya-shadow: 0 14px 35px rgba(15, 23, 42, .08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--harmonya-dark);
    background: var(--harmonya-offwhite);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.hy-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.hy-section {
    padding: 88px 0;
}

.hy-section-tight {
    padding: 56px 0;
}

.hy-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .86rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--harmonya-blue);
    margin-bottom: 18px;
}

.hy-title {
    margin: 0;
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.hy-title span {
    color: var(--harmonya-green);
}

.hy-subtitle {
    max-width: 760px;
    margin: 24px 0 0;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: var(--harmonya-text-muted);
}

.hy-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.hy-button:hover {
    transform: translateY(-2px);
}

.hy-button-primary {
    background: var(--harmonya-blue);
    color: white;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .22);
}

.hy-button-secondary {
    background: white;
    color: var(--harmonya-dark);
    border: 1px solid var(--harmonya-gray);
}

.hy-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(248, 250, 252, .9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(229, 231, 235, .9);
}

.hy-header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.hy-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.03em;
}

.hy-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-family: Georgia, serif;
    font-size: 1.7rem;
    color: white;
    background: linear-gradient(145deg, var(--harmonya-navy), #123C67 60%, var(--harmonya-green));
}

.hy-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hy-nav a {
    font-weight: 600;
    color: #475569;
}

.hy-nav a:hover {
    color: var(--harmonya-blue);
}

.hy-hero {
    padding: 100px 0 82px;
    background:
        radial-gradient(circle at 85% 16%, rgba(76, 175, 136, .14), transparent 30%),
        radial-gradient(circle at 5% 35%, rgba(37, 99, 235, .12), transparent 34%),
        var(--harmonya-offwhite);
}

.hy-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 60px;
    align-items: center;
}

.hy-hero-card {
    background: linear-gradient(150deg, #07182D, #0B2C4F 65%, #176957);
    color: white;
    border-radius: 30px;
    padding: 36px;
    box-shadow: var(--harmonya-shadow);
    min-height: 460px;
    position: relative;
    overflow: hidden;
}

.hy-hero-card::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    right: -60px;
    top: -50px;
    background: rgba(76, 175, 136, .18);
    filter: blur(4px);
}

.hy-app-window {
    margin-top: 70px;
    border-radius: 18px;
    padding: 18px;
    background: rgba(255,255,255,.96);
    color: var(--harmonya-dark);
    box-shadow: 0 20px 50px rgba(0,0,0,.22);
}

.hy-app-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    font-weight: 800;
}

.hy-app-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.hy-app-stat {
    padding: 16px;
    border: 1px solid var(--harmonya-gray);
    border-radius: 12px;
}

.hy-app-stat strong {
    display: block;
    font-size: 1.5rem;
    color: var(--harmonya-blue);
}

.hy-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hy-card {
    background: white;
    padding: 30px;
    border: 1px solid var(--harmonya-gray);
    border-radius: var(--harmonya-radius);
    box-shadow: var(--harmonya-shadow);
}

.hy-card-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(37, 99, 235, .08);
    color: var(--harmonya-blue);
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 800;
}

.hy-card h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
}

.hy-card p {
    margin: 0;
    color: var(--harmonya-text-muted);
}

.hy-dark-band {
    background: linear-gradient(120deg, #07182D, #0A2C4C 60%, #176B59);
    color: white;
    border-radius: 32px;
    padding: 54px;
}

.hy-dark-band h2 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.08;
}

.hy-dark-band h2 span {
    color: var(--harmonya-green);
}

.hy-dark-features {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,.2);
}

.hy-dark-feature strong {
    display: block;
    margin-bottom: 6px;
}

.hy-dark-feature span {
    color: rgba(255,255,255,.72);
}

.hy-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.hy-panel-blue,
.hy-panel-green {
    border-radius: 26px;
    padding: 34px;
}

.hy-panel-blue {
    background: rgba(37, 99, 235, .08);
}

.hy-panel-green {
    background: rgba(76, 175, 136, .10);
}

.hy-list {
    padding: 0;
    margin: 20px 0 0;
    list-style: none;
}

.hy-list li {
    padding: 9px 0;
    display: flex;
    gap: 10px;
}

.hy-list li::before {
    content: "✓";
    font-weight: 900;
    color: var(--harmonya-green);
}

.hy-cta {
    text-align: center;
    padding: 64px 32px;
    border-radius: 28px;
    background: white;
    border: 1px solid var(--harmonya-gray);
    box-shadow: var(--harmonya-shadow);
}

.hy-footer {
    background: #0B1626;
    color: #CBD5E1;
    padding: 52px 0 28px;
}

.hy-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 36px;
}

.hy-footer h4 {
    color: white;
    margin-top: 0;
}

.hy-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hy-footer li {
    margin: 8px 0;
}

.hy-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 42px;
    padding-top: 24px;
    font-size: .9rem;
}

.hy-page {
    min-height: 60vh;
}

.hy-content {
    background: white;
    border: 1px solid var(--harmonya-gray);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--harmonya-shadow);
}

.hy-mobile-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 1.6rem;
}

@media (max-width: 900px) {
    .hy-hero-grid,
    .hy-three,
    .hy-two,
    .hy-dark-features,
    .hy-footer-grid {
        grid-template-columns: 1fr;
    }

    .hy-nav {
        display: none;
    }

    .hy-nav.is-open {
        position: absolute;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        top: 76px;
        left: 0;
        right: 0;
        padding: 24px;
        background: white;
        border-bottom: 1px solid var(--harmonya-gray);
    }

    .hy-mobile-toggle {
        display: block;
    }

    .hy-hero {
        padding-top: 70px;
    }

    .hy-dark-band {
        padding: 34px 24px;
    }
}


/* =========================================================
   HARMONYA OFFICIAL BRAND ASSETS
   ========================================================= */

.hy-brand-official {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.hy-brand-logo {
    display: block;
    width: 215px;
    max-width: 32vw;
    height: auto;
}

.hy-footer-brand {
    display: inline-block;
    margin-bottom: 18px;
}

.hy-footer-logo {
    display: block;
    width: 245px;
    max-width: 100%;
    height: auto;

    /*
     * Le logo officiel est prevu sur fond clair.
     * On lui offre donc sa propre surface dans le footer sombre.
     */
    background: #F8FAFC;
    border-radius: 16px;
    padding: 10px 14px;
}

@media (max-width: 900px) {
    .hy-brand-logo {
        width: 175px;
        max-width: 58vw;
    }
}

@media (max-width: 480px) {
    .hy-brand-logo {
        width: 150px;
        max-width: 62vw;
    }
}


/* =========================================================
   HARMONYA COMMERCIAL SITE V2
   ========================================================= */

:root {
    --hy-blue: #2563EB;
    --hy-green: #4CAF88;
    --hy-surface: #F8FAFC;
    --hy-border: #E5E7EB;
    --hy-text: #1F2937;
    --hy-navy: #071A36;
    --hy-muted: #64748B;
    --hy-light-blue: #EAF2FF;
    --hy-light-green: #EAF7F1;
}

body {
    background: #fff;
}

.hy-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--hy-green);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.hy-eyebrow-light {
    color: #80D9B5;
}

.hy-home-hero {
    position: relative;
    overflow: hidden;
    padding: 94px 0 110px;
    background:
        radial-gradient(circle at 90% 10%, rgba(76,175,136,.14), transparent 32%),
        radial-gradient(circle at 10% 60%, rgba(37,99,235,.09), transparent 35%),
        #F8FAFC;
}

.hy-home-hero-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 68px;
    align-items: center;
}

.hy-home-copy h1,
.hy-page-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.8rem, 5.5vw, 5.2rem);
    line-height: 1;
    letter-spacing: -.055em;
    color: var(--hy-navy);
}

.hy-home-copy h1 span,
.hy-page-hero h1 span,
.hy-section-title span,
.hy-heading-row h2 span,
.hy-price-preview h2 span,
.hy-pilot-home h2 span,
.hy-trust-banner h2 span,
.hy-final-cta h2 span,
.hy-hades h2 span,
.hy-referral h2 span {
    color: var(--hy-green);
}

.hy-lead,
.hy-page-hero p {
    max-width: 680px;
    margin: 26px 0 0;
    color: var(--hy-muted);
    font-size: 1.18rem;
    line-height: 1.75;
}

.hy-hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 34px;
    color: #475569;
    font-size: .88rem;
    font-weight: 600;
}

.hy-product-window {
    overflow: hidden;
    border: 1px solid #DCE3EB;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(7,26,54,.16);
    transform: perspective(1500px) rotateY(-2deg) rotateX(1deg);
}

.hy-product-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 42px;
    padding: 0 16px;
    color: #64748B;
    background: #F8FAFC;
    border-bottom: 1px solid #E5E7EB;
    font-size: .72rem;
}

.hy-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 4px;
    border-radius: 999px;
    background: #CBD5E1;
}

.hy-product-body {
    display: grid;
    grid-template-columns: 150px 1fr;
    min-height: 430px;
}

.hy-product-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 12px;
    background: var(--hy-navy);
    color: #CBD5E1;
    font-size: .72rem;
}

.hy-product-sidebar img {
    width: 48px;
    margin: 2px 8px 14px;
}

.hy-product-sidebar span {
    padding: 9px 10px;
    border-radius: 9px;
}

.hy-product-sidebar span.active {
    color: #fff;
    background: var(--hy-blue);
}

.hy-product-content {
    padding: 26px;
}

.hy-product-heading small {
    color: var(--hy-blue);
    font-weight: 700;
}

.hy-product-heading h3 {
    margin: 5px 0 20px;
    color: var(--hy-text);
}

.hy-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 11px;
}

.hy-dashboard-card {
    padding: 17px;
    border: 1px solid var(--hy-border);
    border-radius: 12px;
}

.hy-dashboard-card strong {
    display: block;
    margin-bottom: 4px;
    color: var(--hy-blue);
    font-size: 1.55rem;
}

.hy-dashboard-card span {
    color: #64748B;
    font-size: .74rem;
}

.hy-dashboard-deadlines {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid var(--hy-border);
    border-radius: 12px;
}

.hy-dashboard-deadlines > strong {
    display: block;
    margin-bottom: 10px;
}

.hy-dashboard-deadlines div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 9px 0;
    border-top: 1px solid #EEF2F6;
    font-size: .74rem;
}

.hy-dashboard-deadlines small {
    color: #94A3B8;
}

.hy-heading-row {
    display: grid;
    grid-template-columns: 1fr .75fr;
    gap: 60px;
    align-items: end;
}

.hy-heading-row h2,
.hy-section-title {
    margin: 0;
    color: var(--hy-navy);
    font-size: clamp(2.25rem,4vw,3.6rem);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.hy-heading-row p {
    margin: 0;
    color: var(--hy-muted);
    line-height: 1.75;
}

.hy-values {
    margin-top: 48px;
}

.hy-number {
    margin-bottom: 28px;
    color: var(--hy-blue);
    font-size: .8rem;
    font-weight: 800;
}

.hy-flow-section {
    color: white;
    background: var(--hy-navy);
}

.hy-flow-section .hy-section-title {
    color: white;
}

.hy-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.hy-flow span {
    padding: 12px 17px;
    border-radius: 10px;
    background: rgba(255,255,255,.09);
    font-weight: 700;
}

.hy-flow i {
    color: var(--hy-green);
    font-style: normal;
}

.hy-feature-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1px;
    margin-top: 42px;
    overflow: hidden;
    border: 1px solid var(--hy-border);
    border-radius: 20px;
    background: var(--hy-border);
}

.hy-feature {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 20px;
    padding: 27px;
    background: white;
}

.hy-feature:nth-child(4n+2),
.hy-feature:nth-child(4n+3) {
    background: #F8FAFC;
}

.hy-feature > span {
    color: var(--hy-green);
    font-weight: 800;
}

.hy-feature h3 {
    margin: 0 0 7px;
    color: var(--hy-navy);
}

.hy-feature p {
    margin: 0;
    color: var(--hy-muted);
    line-height: 1.6;
}

.hy-center-action {
    margin-top: 32px;
    text-align: center;
}

.hy-hades {
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 60px;
    padding: 62px;
    border-radius: 30px;
    color: white;
    background:
        radial-gradient(circle at 90% 15%, rgba(76,175,136,.34), transparent 32%),
        var(--hy-navy);
}

.hy-hades h2 {
    margin: 0;
    font-size: clamp(2.3rem,4vw,3.8rem);
    line-height: 1.05;
}

.hy-hades-copy > p {
    color: #CBD5E1;
    line-height: 1.7;
}

.hy-hades-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 28px 0;
}

.hy-hades-tags span {
    padding: 7px 12px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    font-size: .8rem;
}

.hy-button-white {
    background: white;
    color: var(--hy-navy);
}

.hy-hades-chat {
    align-self: center;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 22px;
    background: rgba(255,255,255,.07);
}

.hy-chat-user,
.hy-chat-ai {
    max-width: 90%;
    margin-bottom: 12px;
    padding: 14px 17px;
    border-radius: 15px;
}

.hy-chat-user {
    margin-left: auto;
    color: white;
    background: var(--hy-blue);
}

.hy-chat-ai {
    color: var(--hy-text);
    background: white;
}

.hy-chat-ai p {
    margin-bottom: 0;
}

.hy-chat-note {
    margin-top: 15px;
    color: #94A3B8;
    font-size: .74rem;
    text-align: center;
}

.hy-four {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
    margin-top: 40px;
}

.hy-four article,
.hy-contact-grid article {
    padding: 26px;
    border: 1px solid var(--hy-border);
    border-radius: 16px;
    background: #fff;
}

.hy-four strong,
.hy-contact-grid strong {
    color: var(--hy-navy);
    font-size: 1.08rem;
}

.hy-four p,
.hy-contact-grid p {
    color: var(--hy-muted);
}

.hy-price-preview {
    background: #F8FAFC;
}

.hy-price-preview-inner {
    display: grid;
    grid-template-columns: 1fr .72fr;
    gap: 70px;
    align-items: center;
}

.hy-price-preview h2,
.hy-pilot-home h2,
.hy-final-cta h2,
.hy-referral h2 {
    margin: 0;
    color: var(--hy-navy);
    font-size: clamp(2.3rem,4vw,3.7rem);
    line-height: 1.05;
}

.hy-price-card {
    padding: 34px;
    border: 1px solid var(--hy-border);
    border-radius: 20px;
    background: white;
}

.hy-price-card.featured {
    border-color: #B9CCFF;
    box-shadow: 0 24px 60px rgba(37,99,235,.10);
}

.hy-price-card small {
    color: var(--hy-muted);
    font-weight: 700;
}

.hy-price {
    margin: 18px 0;
}

.hy-price strong {
    color: var(--hy-navy);
    font-size: 3.3rem;
    letter-spacing: -.04em;
}

.hy-price span {
    color: var(--hy-muted);
}

.hy-launch-price {
    padding: 14px;
    border-radius: 12px;
    background: var(--hy-light-green);
}

.hy-launch-price strong,
.hy-launch-price span {
    display: block;
}

.hy-price-card ul {
    padding-left: 20px;
    color: #475569;
    line-height: 1.9;
}

.hy-pilot-home {
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 40px 70px;
    align-items: center;
}

.hy-pilot-cards {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 15px;
}

.hy-pilot-cards article {
    padding: 27px;
    border-radius: 18px;
    background: var(--hy-light-green);
}

.hy-pilot-cards strong {
    display: block;
    color: var(--hy-green);
    font-size: 3rem;
}

.hy-pilot-cards span {
    color: var(--hy-navy);
    font-weight: 800;
}

.hy-pilot-cards p {
    color: #64748B;
}

.hy-trust-banner {
    display: grid;
    grid-template-columns: 1fr .9fr auto;
    gap: 40px;
    align-items: center;
    padding: 50px;
    border-radius: 25px;
    color: white;
    background: var(--hy-navy);
}

.hy-trust-banner h2 {
    margin: 0;
    font-size: 2.6rem;
}

.hy-trust-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 8px;
}

.hy-trust-grid span {
    padding: 10px;
    border-radius: 9px;
    background: rgba(255,255,255,.08);
    font-size: .78rem;
}

.hy-final-cta {
    max-width: 880px;
    margin: auto;
    text-align: center;
}

.hy-final-cta > img {
    width: 78px;
    margin-bottom: 25px;
}

.hy-final-cta p {
    max-width: 650px;
    margin: 20px auto;
    color: var(--hy-muted);
}

.hy-final-cta .hy-button-row {
    justify-content: center;
}

.hy-page-hero {
    padding: 90px 0;
    background: #F8FAFC;
}

.hy-page-hero-dark {
    color: white;
    background: var(--hy-navy);
}

.hy-page-hero-dark h1 {
    color: white;
}

.hy-page-hero-dark p {
    color: #CBD5E1;
}

.hy-flow-large {
    padding: 45px;
    border-radius: 26px;
    color: white;
    background: var(--hy-navy);
}

.hy-flow-large h2 {
    font-size: 2.4rem;
}

.hy-flow-step {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 17px 0;
    border-top: 1px solid rgba(255,255,255,.1);
}

.hy-flow-step strong {
    color: #86B1FF;
}

.hy-flow-step small {
    color: #80D9B5;
}

.hy-callout-blue,
.hy-warning {
    margin-top: 40px;
    padding: 25px;
    border-radius: 15px;
}

.hy-callout-blue {
    background: #EAF2FF;
}

.hy-warning {
    background: #FFF6DF;
}

.hy-callout-blue strong,
.hy-warning strong {
    color: var(--hy-navy);
    font-size: 1.08rem;
}

.hy-example-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
    margin-top: 38px;
}

.hy-example-grid article {
    padding: 23px;
    border-radius: 14px;
    background: #F8FAFC;
    color: var(--hy-navy);
    font-weight: 700;
}

.hy-disclaimer {
    margin-top: 25px;
    color: var(--hy-muted);
    font-size: .86rem;
}

.hy-pricing-grid {
    display: grid;
    grid-template-columns: 1fr .7fr;
    gap: 22px;
    margin-top: 40px;
}

.hy-price-lock-section {
    background: #F8FAFC;
}

.hy-catalogue-evolution {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1px;
    margin-top: 28px;
    overflow: hidden;
    border: 1px solid var(--hy-border);
    border-radius: 14px;
    background: var(--hy-border);
}

.hy-catalogue-evolution div {
    padding: 22px;
    background: white;
}

.hy-catalogue-evolution small,
.hy-catalogue-evolution strong {
    display: block;
}

.hy-catalogue-evolution strong {
    margin-top: 6px;
    color: var(--hy-navy);
}

.hy-table-wrap {
    margin-top: 35px;
    overflow-x: auto;
    border: 1px solid var(--hy-border);
    border-radius: 15px;
}

.hy-price-table {
    width: 100%;
    border-collapse: collapse;
}

.hy-price-table th {
    padding: 17px;
    color: white;
    background: var(--hy-navy);
    text-align: left;
}

.hy-price-table td {
    padding: 17px;
    border-bottom: 1px solid var(--hy-border);
}

.hy-price-table tbody tr:nth-child(even) {
    background: #F8FAFC;
}

.hy-referral {
    display: grid;
    grid-template-columns: 1.2fr .5fr .5fr;
    gap: 35px;
    align-items: center;
    padding: 45px;
    border-radius: 24px;
    background: var(--hy-light-green);
}

.hy-referral-number small,
.hy-referral-number strong,
.hy-referral-number span {
    display: block;
}

.hy-referral-number strong {
    margin: 5px 0;
    color: var(--hy-green);
    font-size: 2.5rem;
}

.hy-pilot-detail-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 24px;
}

.hy-pilot-detail {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 25px;
    padding: 34px;
    border: 1px solid var(--hy-border);
    border-radius: 22px;
}

.hy-pilot-big {
    color: var(--hy-green);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
}

.hy-pilot-detail h2 {
    color: var(--hy-navy);
}

.hy-check-list {
    padding-left: 20px;
    color: #475569;
    line-height: 1.8;
}

.hy-contact-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.hy-muted {
    color: var(--hy-muted);
}

.hy-nav-cta {
    padding: 9px 14px;
    border-radius: 10px;
    color: white !important;
    background: var(--hy-blue);
}

@media (max-width: 1050px) {
    .hy-home-hero-grid,
    .hy-heading-row,
    .hy-hades,
    .hy-price-preview-inner,
    .hy-pilot-home,
    .hy-trust-banner {
        grid-template-columns: 1fr;
    }

    .hy-product-window {
        transform: none;
    }

    .hy-four {
        grid-template-columns: repeat(2,1fr);
    }

    .hy-pilot-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .hy-home-hero {
        padding: 65px 0;
    }

    .hy-product-body {
        grid-template-columns: 75px 1fr;
    }

    .hy-product-sidebar span {
        font-size: 0;
    }

    .hy-product-sidebar span::first-letter {
        font-size: .7rem;
    }

    .hy-dashboard-grid,
    .hy-feature-grid,
    .hy-four,
    .hy-pricing-grid,
    .hy-pilot-cards,
    .hy-example-grid,
    .hy-contact-grid {
        grid-template-columns: 1fr;
    }

    .hy-hades,
    .hy-flow-large,
    .hy-referral {
        padding: 27px;
    }

    .hy-referral {
        grid-template-columns: 1fr;
    }

    .hy-catalogue-evolution {
        grid-template-columns: repeat(2,1fr);
    }

    .hy-pilot-detail {
        grid-template-columns: 1fr;
    }

    .hy-flow-step {
        grid-template-columns: 42px 1fr;
    }

    .hy-flow-step small {
        grid-column: 2;
    }
}


/* =========================================================
   HARMONYA MOBILE V3
   Responsive production
   ========================================================= */

/*
 * Stabilisation globale
 */

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
}

.hy-header {
    -webkit-backdrop-filter: blur(16px);
}

.hy-product-window,
.hy-card,
.hy-feature,
.hy-price-card {
    min-width: 0;
}


/*
 * TABLETTE
 */

@media (max-width: 1050px) {

    .hy-section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .hy-home-hero-grid {
        gap: 48px;
    }

    .hy-product-window {
        width: 100%;
        max-width: 760px;
        margin-inline: auto;
    }

}


/*
 * MOBILE
 */

@media (max-width: 760px) {

    /*
     * Structure générale
     */

    .hy-container {
        width: min(100% - 32px, 1180px);
    }

    .hy-section {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .hy-section-tight {
        padding-top: 42px;
        padding-bottom: 42px;
    }


    /*
     * Header
     */

    .hy-header-inner {
        min-height: 78px;
        gap: 12px;
    }

    .hy-brand-logo {
        width: 205px;
        max-width: calc(100vw - 105px);
    }

    .hy-mobile-toggle {
        flex: 0 0 auto;
        width: 44px;
        height: 44px;
        padding: 0;
        line-height: 1;
        color: #2563EB;
    }


    /*
     * Hero
     */

    .hy-home-hero {
        padding-top: 58px;
        padding-bottom: 64px;
    }

    .hy-home-hero-grid {
        gap: 44px;
    }

    .hy-home-copy h1,
    .hy-page-hero h1 {
        font-size: clamp(2.65rem, 12vw, 4rem);
        line-height: 1.02;
        letter-spacing: -.05em;
    }

    .hy-lead,
    .hy-page-hero p {
        margin-top: 22px;
        font-size: 1.08rem;
        line-height: 1.68;
    }

    .hy-button-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 11px;
        width: 100%;
        margin-top: 28px;
    }

    .hy-button {
        width: 100%;
        min-height: 52px;
    }

    .hy-hero-proof {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 28px;
        font-size: .94rem;
    }


    /*
     * Dashboard de démonstration
     */

    .hy-product-window {
        width: 100%;
        max-width: none;
        border-radius: 18px;
        transform: none;
        box-shadow: 0 20px 45px rgba(7, 26, 54, .12);
    }

    .hy-product-bar {
        height: 38px;
        padding-inline: 12px;
    }

    .hy-product-body {
        display: block;
        min-height: 0;
    }

    /*
     * Sur mobile la sidebar desktop n'apporte rien :
     * on conserve seulement l'icone de marque.
     */

    .hy-product-sidebar {
        display: flex;
        flex-direction: row;
        align-items: center;
        min-height: 62px;
        padding: 10px 14px;
        background: #071A36;
    }

    .hy-product-sidebar img {
        width: 42px;
        height: 42px;
        margin: 0;
        object-fit: contain;
    }

    .hy-product-sidebar span {
        display: none !important;
    }

    /*
     * Annule l'ancien hack des initiales.
     */

    .hy-product-sidebar span::first-letter {
        font-size: inherit;
    }

    .hy-product-content {
        padding: 20px;
    }

    .hy-product-heading h3 {
        margin-bottom: 17px;
        font-size: 1.35rem;
        line-height: 1.25;
    }

    .hy-dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .hy-dashboard-card {
        min-height: 108px;
        padding: 16px;
    }

    .hy-dashboard-card strong {
        font-size: 1.8rem;
    }

    .hy-dashboard-card span {
        font-size: .78rem;
        line-height: 1.35;
    }

    .hy-dashboard-deadlines {
        margin-top: 12px;
        padding: 15px;
    }

    .hy-dashboard-deadlines div {
        align-items: flex-start;
        font-size: .78rem;
    }


    /*
     * Titres / sections
     */

    .hy-heading-row {
        gap: 18px;
    }

    .hy-heading-row h2,
    .hy-section-title {
        font-size: clamp(2rem, 9vw, 2.85rem);
        line-height: 1.08;
    }

    .hy-heading-row p {
        font-size: 1rem;
        line-height: 1.65;
    }

    .hy-values {
        margin-top: 30px;
    }


    /*
     * Cartes Pourquoi HarmonYa
     */

    .hy-three {
        gap: 15px;
    }

    .hy-card {
        padding: 25px;
        border-radius: 18px;
        box-shadow: 0 8px 24px rgba(15, 23, 42, .045);
    }

    .hy-number {
        margin-bottom: 18px;
    }

    .hy-card h3 {
        font-size: 1.3rem;
    }

    .hy-card p {
        line-height: 1.6;
    }


    /*
     * Parcours pédagogique
     */

    .hy-flow-section {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .hy-flow {
        display: grid;
        grid-template-columns: 1fr;
        gap: 7px;
        margin-top: 30px;
    }

    .hy-flow span {
        width: 100%;
        padding: 13px 16px;
    }

    .hy-flow i {
        height: 18px;
        padding-left: 18px;
        font-size: 0;
    }

    .hy-flow i::before {
        content: "↓";
        font-size: 1rem;
        color: #4CAF88;
    }


    /*
     * Features
     */

    .hy-feature-grid {
        margin-top: 30px;
        border-radius: 16px;
    }

    .hy-feature {
        grid-template-columns: 38px 1fr;
        gap: 12px;
        padding: 21px;
    }


    /*
     * Hades
     */

    .hy-hades {
        gap: 32px;
        padding: 28px 22px;
        border-radius: 22px;
    }

    .hy-hades h2 {
        font-size: 2.35rem;
    }

    .hy-hades-chat {
        padding: 17px;
    }


    /*
     * Audiences
     */

    .hy-four {
        gap: 12px;
        margin-top: 28px;
    }

    .hy-four article,
    .hy-contact-grid article {
        padding: 22px;
    }


    /*
     * Prix
     */

    .hy-price-preview-inner {
        gap: 32px;
    }

    .hy-price-card {
        padding: 25px;
    }

    .hy-price strong {
        font-size: 2.8rem;
    }

    .hy-catalogue-evolution {
        grid-template-columns: 1fr 1fr;
    }


    /*
     * Pilotes
     */

    .hy-pilot-home {
        gap: 30px;
    }

    .hy-pilot-cards article {
        padding: 22px;
    }

    .hy-pilot-detail {
        padding: 25px;
    }


    /*
     * Trust
     */

    .hy-trust-banner {
        gap: 26px;
        padding: 28px 22px;
        border-radius: 20px;
    }

    .hy-trust-banner h2 {
        font-size: 2.2rem;
    }

    .hy-trust-grid {
        grid-template-columns: 1fr;
    }


    /*
     * Réduction des grands vides verticaux
     */

    .hy-intro,
    .hy-audiences,
    .hy-price-preview {
        min-height: 0 !important;
    }

}


/*
 * PETITS TELEPHONES
 */

@media (max-width: 430px) {

    .hy-container {
        width: calc(100% - 28px);
    }

    .hy-header-inner {
        min-height: 72px;
    }

    .hy-brand-logo {
        width: 180px;
        max-width: calc(100vw - 92px);
    }

    .hy-home-copy h1,
    .hy-page-hero h1 {
        font-size: clamp(2.45rem, 11.5vw, 3.25rem);
    }

    .hy-lead,
    .hy-page-hero p {
        font-size: 1.02rem;
    }

    .hy-dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hy-dashboard-card {
        min-height: 100px;
        padding: 14px;
    }

    .hy-dashboard-card strong {
        font-size: 1.6rem;
    }

    .hy-flow-large {
        padding: 22px 18px;
    }

}


/*
 * Safari / WebKit
 */

@supports (-webkit-touch-callout: none) {

    .hy-product-window {
        transform: translateZ(0);
    }

    .hy-header {
        -webkit-transform: translateZ(0);
    }

    .hy-brand-logo,
    .hy-product-sidebar img {
        height: auto;
    }

}


/* =========================================================
   HARMONYA NAVIGATION V4
   ========================================================= */

.hy-desktop-nav {
    display: flex;
    align-items: center;
    gap: 21px;
}

.hy-desktop-nav > a {
    color: #475569;
    font-size: .9rem;
    font-weight: 650;
    transition:
        color .18s ease,
        background .18s ease,
        transform .18s ease;
}

.hy-desktop-nav > a:hover {
    color: #2563EB;
}

.hy-desktop-nav .hy-nav-cta {
    padding: 10px 16px;
    color: white;
    border-radius: 11px;
    background: #2563EB;
}

.hy-desktop-nav .hy-nav-cta:hover {
    color: white;
    transform: translateY(-1px);
}


/*
 * Hamburger
 */

.hy-mobile-toggle {
    position: relative;
    z-index: 1002;
    display: none;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.hy-menu-icon {
    display: flex;
    width: 27px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
}

.hy-menu-icon span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: #2563EB;
}


/*
 * Overlay
 */

.hy-mobile-overlay {
    position: fixed;
    z-index: 1998;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    background: rgba(7, 26, 54, .42);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);

    transition:
        opacity .25s ease,
        visibility .25s ease;
}

.hy-mobile-overlay.is-open {
    visibility: visible;
    opacity: 1;
}


/*
 * Panneau
 */

.hy-mobile-panel {
    position: fixed;
    z-index: 1999;
    top: 0;
    right: 0;
    bottom: 0;

    width: min(440px, 92vw);

    visibility: hidden;
    transform: translateX(105%);

    background: #F8FAFC;

    box-shadow:
        -20px 0 60px rgba(7, 26, 54, .16);

    transition:
        transform .3s cubic-bezier(.22, 1, .36, 1),
        visibility .3s;
}

.hy-mobile-panel.is-open {
    visibility: visible;
    transform: translateX(0);
}

.hy-mobile-panel-inner {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.hy-mobile-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 24px 24px 14px;
}

.hy-mobile-panel-icon {
    width: 58px;
    height: 58px;
}

.hy-mobile-close {
    display: grid;
    width: 45px;
    height: 45px;

    place-items: center;

    padding: 0;
    border: 1px solid #E5E7EB;
    border-radius: 50%;

    color: #1F2937;
    background: white;

    font-size: 2rem;
    line-height: 1;

    cursor: pointer;
}

.hy-mobile-panel-intro {
    padding: 20px 28px 26px;
}

.hy-mobile-panel-intro .hy-eyebrow {
    margin-bottom: 9px;
}

.hy-mobile-panel-intro strong {
    display: block;
    max-width: 330px;

    color: #071A36;

    font-size: 1.55rem;
    line-height: 1.18;
    letter-spacing: -.03em;
}


/*
 * Liens
 */

.hy-mobile-nav {
    display: flex;
    flex-direction: column;

    padding: 0 20px;
}

.hy-mobile-nav a {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: center;

    min-height: 57px;

    padding: 10px 8px;

    border-top: 1px solid #E5E7EB;

    color: #1F2937;

    font-size: 1.03rem;
    font-weight: 700;
}

.hy-mobile-nav a:last-child {
    border-bottom: 1px solid #E5E7EB;
}

.hy-mobile-nav a span {
    color: #4CAF88;

    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .05em;
}


/*
 * CTA
 */

.hy-mobile-panel-actions {
    display: grid;
    gap: 10px;

    margin-top: auto;

    padding: 28px 24px 14px;
}

.hy-mobile-panel-actions .hy-button {
    width: 100%;
}

.hy-mobile-panel-footer {
    padding: 10px 28px 28px;

    color: #64748B;

    font-size: .75rem;
    line-height: 1.5;
}


/*
 * Bloquer le scroll derrière
 */

html.hy-menu-open,
body.hy-menu-open {
    overflow: hidden;
}


/*
 * Mobile / tablette
 */

@media (max-width: 900px) {

    .hy-desktop-nav {
        display: none;
    }

    .hy-mobile-toggle {
        display: flex;
    }

}


/*
 * Desktop
 */

@media (min-width: 901px) {

    .hy-mobile-panel,
    .hy-mobile-overlay {
        display: none !important;
    }

}


/*
 * Très petits écrans
 */

@media (max-width: 390px) {

    .hy-mobile-panel {
        width: 100vw;
    }

    .hy-mobile-panel-head {
        padding-inline: 20px;
    }

    .hy-mobile-panel-intro {
        padding-inline: 22px;
    }

    .hy-mobile-nav {
        padding-inline: 16px;
    }

}


/* =========================================================
   HARMONYA CONTACT V5
   ========================================================= */

.hy-contact-layout {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 70px;
    align-items: start;
}

.hy-contact-copy h2 {
    margin: 0;
    color: #071A36;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.06;
    letter-spacing: -.04em;
}

.hy-contact-copy h2 span {
    color: #4CAF88;
}

.hy-contact-copy > p {
    margin-top: 22px;
    color: #64748B;
    line-height: 1.7;
}

.hy-contact-reasons {
    display: grid;
    gap: 10px;
    margin-top: 32px;
}

.hy-contact-reasons article {
    padding: 18px;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    background: #F8FAFC;
}

.hy-contact-reasons strong {
    display: block;
    margin-bottom: 4px;
    color: #071A36;
}

.hy-contact-reasons span {
    color: #64748B;
    font-size: .9rem;
}


.hy-contact-form-card {
    padding: 34px;
    border: 1px solid #E5E7EB;
    border-radius: 22px;
    background: white;
    box-shadow: 0 18px 50px rgba(7,26,54,.06);
}

.hy-contact-form {
    display: grid;
    gap: 18px;
}

.hy-field {
    display: grid;
    gap: 8px;
}

.hy-field > span {
    color: #1F2937;
    font-size: .9rem;
    font-weight: 700;
}

.hy-field input,
.hy-field select,
.hy-field textarea {
    width: 100%;
    min-height: 48px;

    padding: 12px 14px;

    border: 1px solid #CBD5E1;
    border-radius: 12px;

    color: #1F2937;
    background: white;

    font: inherit;

    outline: none;

    transition:
        border-color .16s ease,
        box-shadow .16s ease;
}

.hy-field textarea {
    resize: vertical;
    min-height: 150px;
}

.hy-field input:focus,
.hy-field select:focus,
.hy-field textarea:focus {
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

.hy-contact-privacy {
    margin: 0;
    color: #64748B;
    font-size: .78rem;
    line-height: 1.5;
}

.hy-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}


.hy-contact-alert {
    display: grid;
    gap: 4px;

    margin-bottom: 30px;
    padding: 18px 20px;

    border-radius: 14px;
}

.hy-contact-alert.success {
    color: #14532D;
    border: 1px solid #BBF7D0;
    background: #F0FDF4;
}

.hy-contact-alert.error {
    color: #7F1D1D;
    border: 1px solid #FECACA;
    background: #FEF2F2;
}


@media (max-width: 900px) {

    .hy-contact-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

}


@media (max-width: 600px) {

    .hy-contact-form-card {
        padding: 22px;
        border-radius: 18px;
    }

}
