/* ==========================================================================
   PB BZH Concept
   Étude de cas - Gestion Locative
   ==========================================================================

   Ce fichier est volontairement autonome.

   Il peut servir de base CSS pour les futures pages détaillées du portfolio.
   Les couleurs principales sont regroupées dans :root afin de faciliter
   les évolutions ultérieures.

   ========================================================================== */


/* ==========================================================================
   1. VARIABLES
   ========================================================================== */

:root {

    /* Couleurs générales */
    --page-bg: #f5f8fc;
    --surface: #ffffff;
    --surface-alt: #eef4fa;

    /* Texte */
    --text: #172333;
    --text-soft: #5f6f82;

    /* Couleur principale */
    --primary: #1769aa;
    --primary-dark: #105486;
    --primary-soft: #dcecf9;

    /* Bordures */
    --border: #d8e2ed;

    /* PDF */
    --pdf-text: #b42318;
    --pdf-bg: #fee4e2;

    /* Ombres */
    --shadow:
            0 18px 45px rgba(20, 48, 78, 0.08);

    /* Dimensions */
    --radius: 18px;
    --content-width: 1180px;
}


/* ==========================================================================
   2. RESET ET RÈGLES GÉNÉRALES
   ========================================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    margin: 0;

    font-family:
            Inter,
            "Segoe UI",
            Arial,
            sans-serif;

    line-height: 1.65;

    color: var(--text);
    background: var(--page-bg);
}

body.lightbox-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

button,
a {
    font: inherit;
}

a {
    color: inherit;
}


/* ==========================================================================
   3. EN-TÊTE
   ========================================================================== */

.case-header {

    position: sticky;

    top: 0;

    z-index: 100;

    background:
            rgba(255, 255, 255, 0.96);

    border-bottom:
            1px solid var(--border);

    backdrop-filter: blur(12px);
}


/* Conteneur interne de l'en-tête */

.case-header-inner {

    width:
            min(
                    calc(100% - 40px),
                    1500px
            );

    min-height: 170px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(330px, 1fr)
        minmax(380px, 520px)
        minmax(180px, 1fr);

    align-items: center;

    gap: 36px;
}

.case-header-banner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.case-header-banner img {
    display: block;

    width: 100%;
    max-width: 520px;

    height: auto;

    object-fit: contain;
}

.back-link {
    justify-self: end;
}

/* --------------------------------------------------------------------------
   Logo / marque
   -------------------------------------------------------------------------- */

.brand {

    display: flex;

    align-items: center;

    gap: 12px;

    text-decoration: none;
}

.brand img {
    width: 140px;
    height: 140px;
    object-fit: contain;
}

.brand span {
    display: flex;
    flex-direction: column;
}

.brand strong {
    font-size: 2rem;
}

.brand small {
    font-size: 1.2rem;
    color: var(--text-soft);
}


/* --------------------------------------------------------------------------
   Retour au portfolio
   -------------------------------------------------------------------------- */

.back-link {

    color: var(--primary);

    font-weight: 600;

    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}


/* ==========================================================================
   4. HERO
   ========================================================================== */

.case-hero {

    width:
            min(
                    calc(100% - 40px),
                    var(--content-width)
            );

    margin:
            54px auto;

    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.35fr);

    gap: 52px;

    align-items: center;
}

.case-hero-content {
    padding: 20px 0;
}


/* --------------------------------------------------------------------------
   Petit titre de section
   -------------------------------------------------------------------------- */

.eyebrow {

    margin:
            0 0 12px;

    color: var(--primary);

    font-size: 0.8rem;
    font-weight: 750;

    letter-spacing: 0.09em;

    text-transform: uppercase;
}


/* --------------------------------------------------------------------------
   Titre principal
   -------------------------------------------------------------------------- */

.case-hero h1 {

    margin:
            0 0 22px;

    font-size:
            clamp(
                    2.2rem,
                    5vw,
                    4rem
            );

    line-height: 1.05;

    letter-spacing: -0.04em;
}


/* --------------------------------------------------------------------------
   Sous-titre
   -------------------------------------------------------------------------- */

.case-subtitle {

    margin: 0;

    color: var(--text-soft);

    font-size: 1.18rem;
}


/* --------------------------------------------------------------------------
   Technologies affichées sous le titre
   -------------------------------------------------------------------------- */

.tag-list {

    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin-top: 28px;
}

.tag-list span {

    display: inline-flex;

    padding:
            7px 12px;

    color: var(--primary-dark);

    background:
            var(--primary-soft);

    border-radius: 999px;

    font-size: 0.88rem;
    font-weight: 650;
}


/* --------------------------------------------------------------------------
   Cadre de la capture principale
   -------------------------------------------------------------------------- */

.case-hero-image {

    padding: 14px;

    background:
            var(--surface);

    border:
            1px solid var(--border);

    border-radius:
            var(--radius);

    box-shadow:
            var(--shadow);
}


/* ==========================================================================
   5. SECTIONS GÉNÉRALES
   ========================================================================== */

.case-section {

    padding:
            86px
            max(
                    20px,
                    calc((100% - var(--content-width)) / 2)
            );
}


/* Section avec fond légèrement différent */

.section-alt {
    background: var(--surface-alt);
}


/* --------------------------------------------------------------------------
   Titre d'une section
   -------------------------------------------------------------------------- */

.section-heading {

    max-width: 760px;

    margin-bottom: 42px;
}

.section-heading h2 {

    margin:
            0 0 15px;

    font-size:
            clamp(
                    1.8rem,
                    3vw,
                    2.55rem
            );

    line-height: 1.18;

    letter-spacing: -0.025em;
}

.section-heading p:last-child {

    margin-bottom: 0;

    color: var(--text-soft);

    font-size: 1.06rem;
}

.lead {
    font-size: 1.12rem;
}


/* ==========================================================================
   6. INTRODUCTION
   ========================================================================== */

.intro-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 1.6fr)
        minmax(280px, 0.65fr);

    gap: 65px;
}

.intro-main {
    max-width: 760px;
}

.intro-main p:first-child {
    margin-top: 0;
}


/* --------------------------------------------------------------------------
   Résumé technique à droite
   -------------------------------------------------------------------------- */

.project-summary {

    align-self: start;

    padding:
            8px 26px;

    background:
            var(--surface);

    border:
            1px solid var(--border);

    border-radius:
            var(--radius);

    box-shadow:
            var(--shadow);
}

.project-summary div {

    padding:
            18px 0;

    border-bottom:
            1px solid var(--border);
}

.project-summary div:last-child {
    border-bottom: 0;
}

.project-summary span,
.project-summary strong {
    display: block;
}

.project-summary span {

    margin-bottom: 4px;

    color: var(--text-soft);

    font-size: 0.82rem;

    text-transform: uppercase;

    letter-spacing: 0.05em;
}

.project-summary strong {
    font-size: 1rem;
}


/* ==========================================================================
   7. CARTES DE FONCTIONNALITÉS
   ========================================================================== */

.feature-grid {

    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 18px;
}

.feature-card {

    padding: 24px;

    background:
            var(--surface);

    border:
            1px solid var(--border);

    border-radius: 15px;

    transition:
            transform 0.18s ease,
            box-shadow 0.18s ease;
}

.feature-card:hover {

    transform:
            translateY(-3px);

    box-shadow:
            0 14px 30px rgba(20, 48, 78, 0.07);
}

.feature-number {

    color: var(--primary);

    font-size: 0.77rem;
    font-weight: 800;

    letter-spacing: 0.08em;
}

.feature-card h3 {

    margin:
            12px 0 9px;

    font-size: 1.05rem;
}

.feature-card p {

    margin: 0;

    color: var(--text-soft);

    font-size: 0.94rem;
}


/* ==========================================================================
   8. CHAÎNE MÉTIER
   ========================================================================== */

.workflow {

    display: flex;

    align-items: stretch;
    justify-content: space-between;

    gap: 12px;
}

.workflow-item {

    flex: 1;

    min-width: 0;

    padding:
            25px 18px;

    text-align: center;

    background:
            var(--surface);

    border:
            1px solid var(--border);

    border-radius: 14px;

    box-shadow:
            0 10px 28px rgba(20, 48, 78, 0.05);
}

.workflow-item span {

    display: block;

    margin-bottom: 10px;

    color: var(--primary);

    font-size: 0.75rem;
    font-weight: 800;
}

.workflow-item strong,
.workflow-item small {
    display: block;
}

.workflow-item strong {

    margin-bottom: 5px;

    font-size: 1.05rem;
}

.workflow-item small {
    color: var(--text-soft);
}

.workflow-arrow {

    display: flex;

    align-items: center;

    color: var(--primary);

    font-size: 1.6rem;
}


/* ==========================================================================
   9. SECTIONS TEXTE + GRANDE CAPTURE
   ========================================================================== */

.section-screenshot {

    display: grid;

    grid-template-columns:
        minmax(260px, 0.55fr)
        minmax(0, 1.45fr);

    gap: 65px;

    align-items: center;
}


/* --------------------------------------------------------------------------
   Section inversée
   -------------------------------------------------------------------------- */

.section-screenshot-reverse .screenshot-text {
    order: 2;
}

.section-screenshot-reverse .screenshot-frame {
    order: 1;
}


/* --------------------------------------------------------------------------
   Texte accompagnant la capture
   -------------------------------------------------------------------------- */

.screenshot-text h2 {

    margin:
            0 0 20px;

    font-size:
            clamp(
                    1.8rem,
                    3vw,
                    2.45rem
            );

    line-height: 1.2;
}

.screenshot-text p:not(.eyebrow) {
    color: var(--text-soft);
}


/* --------------------------------------------------------------------------
   Cadre visuel de la capture
   -------------------------------------------------------------------------- */

.screenshot-frame {

    padding: 13px;

    background:
            var(--surface);

    border:
            1px solid var(--border);

    border-radius:
            var(--radius);

    box-shadow:
            var(--shadow);
}


/* ==========================================================================
   10. ARCHITECTURE
   ========================================================================== */

.architecture {

    max-width: 760px;

    margin:
            0 auto;
}

.architecture-box {

    padding:
            22px 30px;

    text-align: center;

    background:
            var(--surface);

    border:
            1px solid var(--border);

    border-radius: 14px;
}

.architecture-box small,
.architecture-box strong,
.architecture-box span {
    display: block;
}

.architecture-box small {

    margin-bottom: 5px;

    color: var(--primary);

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.05em;
}

.architecture-box strong {
    font-size: 1.18rem;
}

.architecture-box span {

    margin-top: 4px;

    color: var(--text-soft);
}

.architecture-arrow {

    padding:
            8px 0;

    color: var(--primary);

    text-align: center;

    font-size: 1.5rem;
}


/* ==========================================================================
   11. DOCUMENTS
   ========================================================================== */

.document-presentation {

    display: grid;

    grid-template-columns:
        minmax(260px, 0.55fr)
        minmax(0, 1.45fr);

    gap: 55px;

    align-items: center;
}

.document-description {

    display: flex;

    flex-direction: column;

    gap: 18px;
}

.document-feature {

    display: flex;

    gap: 18px;

    padding: 22px;

    background:
            var(--surface);

    border:
            1px solid var(--border);

    border-radius: 14px;
}


/* Icône PDF */

.document-icon {

    flex:
            0 0 48px;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    color:
            var(--pdf-text);

    background:
            var(--pdf-bg);

    border-radius: 10px;

    font-size: 0.75rem;
    font-weight: 800;
}

.document-feature h3 {

    margin:
            0 0 7px;

    font-size: 1.05rem;
}

.document-feature p {

    margin: 0;

    color: var(--text-soft);
}


/* ==========================================================================
   12. TABLEAU DES TECHNOLOGIES
   ========================================================================== */

.technology-table {

    max-width: 800px;

    overflow: hidden;

    background:
            var(--surface);

    border:
            1px solid var(--border);

    border-radius: 14px;
}

.technology-row {

    display: grid;

    grid-template-columns:
        minmax(180px, 0.65fr)
        minmax(0, 1fr);

    border-bottom:
            1px solid var(--border);
}

.technology-row:last-child {
    border-bottom: 0;
}

.technology-row span,
.technology-row strong {

    padding:
            15px 20px;
}

.technology-row span {

    color: var(--text-soft);

    background: #f9fbfd;
}

.technology-row strong {

    border-left:
            1px solid var(--border);
}


/* ==========================================================================
   13. RÉSULTAT DU PROJET
   ========================================================================== */

.result-section {
    background: var(--surface);
}

.result-card {

    max-width: 900px;

    padding: 45px;

    background:
            linear-gradient(
                    135deg,
                    #f0f7fd,
                    #ffffff
            );

    border:
            1px solid var(--border);

    border-radius:
            var(--radius);

    box-shadow:
            var(--shadow);
}

.result-card h2 {

    margin:
            0 0 20px;

    font-size:
            clamp(
                    1.8rem,
                    3vw,
                    2.5rem
            );

    line-height: 1.18;
}

.result-card p:last-child {
    color: var(--text-soft);
}


/* ==========================================================================
   14. APPEL À L'ACTION
   ========================================================================== */

.case-cta {

    width:
            min(
                    calc(100% - 40px),
                    var(--content-width)
            );

    margin:
            55px auto;

    padding: 46px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.5fr)
        auto;

    gap: 45px;

    align-items: center;

    color: #ffffff;

    background: #17324f;

    border-radius:
            var(--radius);
}

.case-cta h2 {

    margin:
            0 0 13px;

    max-width: 760px;

    font-size:
            clamp(
                    1.7rem,
                    3vw,
                    2.35rem
            );

    line-height: 1.2;
}

.case-cta p:not(.eyebrow) {

    margin-bottom: 0;

    max-width: 760px;

    color: #d7e2ec;
}

.case-cta .eyebrow {
    color: #8bc8f5;
}


/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */

.cta-actions {

    display: flex;

    flex-direction: column;

    gap: 10px;
}

.button {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 190px;

    padding:
            12px 20px;

    border-radius: 9px;

    font-weight: 700;

    text-decoration: none;

    transition:
            transform 0.15s ease,
            background-color 0.15s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button.primary {

    color: #ffffff;

    background:
            var(--primary);
}

.button.primary:hover {

    background:
            var(--primary-dark);
}

.button.secondary {

    color: #ffffff;

    border:
            1px solid rgba(255, 255, 255, 0.4);
}

.button.secondary:hover {

    background:
            rgba(255, 255, 255, 0.08);
}


/* ==========================================================================
   15. PIED DE PAGE
   ========================================================================== */

.case-footer {
    width:
            min(
                    calc(100% - 40px),
                    var(--content-width)
            );

    margin: 34px auto 0;

    padding:
            18px 0 28px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 24px;

    color: var(--text-soft);

    border-top:
            1px solid var(--border);

    font-size: 0.95rem;
}

/* ==========================================================================
   16. IMAGES CLIQUABLES / LOUPE
   ========================================================================== */

/*
 * Le bouton prend exactement la taille de son image.
 * Il reste neutre afin de ne pas introduire le style natif des boutons.
 */

.zoomable-image {

    position: relative;

    display: block;

    width: 100%;

    padding: 0;

    border: 0;

    background: transparent;

    cursor: zoom-in;

    overflow: hidden;

    border-radius: 11px;
}

.zoomable-image img {

    display: block;

    width: 100%;
    height: auto;

    border-radius: inherit;
}


/* --------------------------------------------------------------------------
   Léger voile lors du survol
   -------------------------------------------------------------------------- */

.zoomable-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
            rgba(15, 23, 42, 0.10);

    opacity: 0;

    transition:
            opacity 0.2s ease;

    pointer-events: none;
}


/* --------------------------------------------------------------------------
   Badge loupe
   -------------------------------------------------------------------------- */

.zoom-badge {

    position: absolute;

    right: 16px;
    bottom: 16px;

    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #ffffff;

    background:
            rgba(15, 23, 42, 0.78);

    border-radius: 999px;

    font-size: 1.05rem;

    box-shadow:
            0 10px 24px rgba(15, 23, 42, 0.22);

    opacity: 0;

    transform:
            translateY(6px);

    transition:
            opacity 0.2s ease,
            transform 0.2s ease;

    pointer-events: none;
}


/* Survol et navigation clavier */

.zoomable-image:hover::after,
.zoomable-image:focus-visible::after {
    opacity: 1;
}

.zoomable-image:hover .zoom-badge,
.zoomable-image:focus-visible .zoom-badge {

    opacity: 1;

    transform:
            translateY(0);
}

.zoomable-image:focus-visible {

    outline:
            3px solid var(--primary);

    outline-offset: 4px;
}


/* ==========================================================================
   17. MODALE D'AGRANDISSEMENT
   ========================================================================== */

.image-lightbox {

    position: fixed;

    inset: 0;

    z-index: 10000;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 32px;

    background:
            rgba(15, 23, 42, 0.90);

    opacity: 0;

    visibility: hidden;

    transition:
            opacity 0.2s ease,
            visibility 0.2s ease;
}


/* Modale visible */

.image-lightbox.is-open {

    opacity: 1;

    visibility: visible;
}


/* --------------------------------------------------------------------------
   Image agrandie
   -------------------------------------------------------------------------- */

.image-lightbox img {

    display: block;

    max-width:
            min(
                    1400px,
                    94vw
            );

    max-height: 90vh;

    width: auto;
    height: auto;

    background: #ffffff;

    border-radius: 14px;

    box-shadow:
            0 25px 65px rgba(0, 0, 0, 0.38);
}


/* --------------------------------------------------------------------------
   Bouton de fermeture
   -------------------------------------------------------------------------- */

.image-lightbox-close {

    position: absolute;

    top: 18px;
    right: 18px;

    width: 48px;
    height: 48px;

    padding: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 0;

    border-radius: 999px;

    color: #ffffff;

    background:
            rgba(255, 255, 255, 0.14);

    font-size: 2rem;
    line-height: 1;

    cursor: pointer;

    transition:
            background-color 0.15s ease;
}

.image-lightbox-close:hover {

    background:
            rgba(255, 255, 255, 0.24);
}


/* ==========================================================================
   18. RESPONSIVE - TABLETTE
   ========================================================================== */
@media (max-width: 1050px) {

    .case-header-inner {

        grid-template-columns:
            1fr
            auto;

        gap: 14px 24px;

        padding:
                16px
                0;
    }

    .case-header-banner {

        grid-column:
                1 / -1;

        grid-row: 2;
    }

    .case-header-banner img {
        max-width: 520px;
    }

    .back-link {
        justify-self: end;
    }
}

@media (max-width: 980px) {

    /* Hero */

    .case-hero {
        grid-template-columns: 1fr;
    }


    /* Introduction */

    .intro-grid {
        grid-template-columns: 1fr;
    }


    /* Fonctionnalités */

    .feature-grid {

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    /* Sections texte + image */

    .section-screenshot {
        grid-template-columns: 1fr;
    }


    /*
     * L'ordre redevient naturel en affichage vertical.
     */

    .section-screenshot-reverse .screenshot-text,
    .section-screenshot-reverse .screenshot-frame {
        order: initial;
    }


    /* Chaîne métier */

    .workflow {

        display: grid;

        grid-template-columns: 1fr;
    }

    .workflow-arrow {

        justify-content: center;

        transform:
                rotate(90deg);
    }


    /* Documents */

    .document-presentation {
        grid-template-columns: 1fr;
    }


    /* CTA */

    .case-cta {
        grid-template-columns: 1fr;
    }

    .cta-actions {

        flex-direction: row;

        flex-wrap: wrap;
    }

}
/* ==========================================================================
   GALERIE APPLICATION MOBILE
   ========================================================================== */

.mobile-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
    margin-top: 32px;
}

.mobile-shot {
    margin: 0;
    text-align: center;
}

.mobile-shot img {
    display: block;
    width: 100%;
    max-width: 260px;
    height: auto;
    margin: 0 auto;
}

.mobile-shot .zoomable-image {
    cursor: zoom-in;
}

.mobile-shot figcaption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #64748b;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {

    .mobile-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {

    .mobile-gallery {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   19. RESPONSIVE - MOBILE
   ========================================================================== */

@media (max-width: 680px) {

    /* --------------------------------------------------------------
       En-tête
       -------------------------------------------------------------- */

    .case-header-inner {

        width:
                min(
                        calc(100% - 24px),
                        var(--content-width)
                );
    }

    .brand small {
        display: none;
    }

    .back-link {
        font-size: 0.88rem;
    }


    /* --------------------------------------------------------------
       Hero
       -------------------------------------------------------------- */

    .case-hero {

        width:
                calc(100% - 24px);

        margin:
                30px auto 45px;
    }

    .case-hero h1 {
        font-size: 2.25rem;
    }


    /* --------------------------------------------------------------
       Sections
       -------------------------------------------------------------- */

    .case-section {

        padding:
                58px
                18px;
    }


    /* --------------------------------------------------------------
       Fonctionnalités
       -------------------------------------------------------------- */

    .feature-grid {
        grid-template-columns: 1fr;
    }


    /* --------------------------------------------------------------
       Technologies
       -------------------------------------------------------------- */

    .technology-row {
        grid-template-columns: 1fr;
    }

    .technology-row strong {

        border-left: 0;

        border-top:
                1px solid var(--border);
    }


    /* --------------------------------------------------------------
       Résultat
       -------------------------------------------------------------- */

    .result-card {
        padding: 28px;
    }


    /* --------------------------------------------------------------
       CTA
       -------------------------------------------------------------- */

    .case-cta {

        width:
                calc(100% - 24px);

        padding:
                30px 24px;
    }

    .cta-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .case-footer {
        flex-direction: column;
        align-items: center;
        gap: 3px;
        text-align: center;
    }

    /* --------------------------------------------------------------
       Loupe
       Sur écran tactile, il n'existe pas réellement de "survol".
       On laisse donc l'indication visible.
       -------------------------------------------------------------- */

    .zoom-badge {

        opacity: 1;

        transform: none;

        width: 40px;
        height: 40px;

        right: 12px;
        bottom: 12px;
    }


    /* --------------------------------------------------------------
       Modale
       -------------------------------------------------------------- */

    .image-lightbox {
        padding: 16px;
    }

    .image-lightbox img {

        max-width: 96vw;
        max-height: 86vh;

        border-radius: 10px;
    }

    .image-lightbox-close {

        top: 10px;
        right: 10px;

        width: 44px;
        height: 44px;
    }

}
@media (max-width: 680px) {

    .case-header-inner {

        width:
                calc(100% - 24px);

        grid-template-columns:
            1fr;

        gap: 16px;

        text-align: center;
    }

    .brand {
        justify-content: center;
    }

    .case-header-banner {
        grid-column: 1;
        grid-row: auto;
    }

    .case-header-banner img {
        max-width: 100%;
    }

    .back-link {
        justify-self: center;
    }

    .brand small {
        display: none;
    }
}
@media (max-width: 680px) {

    .brand img {
        width: 110px;
        height: 110px;
    }

    .brand strong {
        font-size: 1.7rem;
    }

    .case-header-inner {
        gap: 12px;
    }
}