/*
    ========================================
    HEADER-BRANDING.CSS
    Auteur                : Renaud
    Création              : 07 décembre 2025
    Dernière modification : 11 décembre 2025
    ========================================
*/
/**
*   @project   DEVENIR-ARTISAN.NET
*   Gère le style du bloc Titre + Slogan dans l'en-tête.
*
*   @file  css/header-branding.css
*
*   @see   includes/header-branding.php (Structure HTML)
*   @see   css/fonts-semantic.css       (Polices Cormorant & Lato)
*   @see   css/colors-semantic.css
*/

/* --- CONTENEUR GLOBAL --- */
.header-branding {
    /* PLACEMENT */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 3rem;

    /* TEXTE (Surcharge du lien) */
    text-decoration: none !important;

    /* EFFET */
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* --- LE TITRE PRINCIPAL --- */
.header-branding__title {
   /* PLACEMENT */ 
    display: block;
    margin: 0;
    overflow: hidden;

    /* TEXTE */
    font-family: var(--font-header-title);
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--color-header-title-default);
    text-shadow: 1px 1px 1px var(--color-header-title-default-shadow);

    /* EFFET */
    transition: color 0.2s ease, text-shadow 0.2s ease;
}
.header-branding:hover .header-branding__title,
.header-branding:focus .header-branding__title {
    color: var(--color-header-title-hover); 
    text-shadow: 1px 1px 1px var(--color-header-title-hover-shadow);
    outline: none; 
}
.header-branding:active .header-branding__title {
    transform: translateY(1px);
    color: var(--color-header-title-active);
    text-shadow: 1px 1px 1px var(--color-header-title-active-shadow);
    transition: none;
}

/* --- LE SLOGAN --- */
.header-branding__tagline {
    /* PLACEMENT */
    display: block;
    margin-top: 0.25rem;
    overflow: hidden;

    /* TEXTE */
    font-family: var(--font-header-tagline);
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.25rem;
    white-space: nowrap;    
    text-overflow: ellipsis;
    color: var(--color-header-tagline-default);

    /* EFFET */
    transition: color 0.3s ease;
}
.header-branding:hover .header-branding__tagline,
.header-branding:focus .header-branding__tagline { 
    color: var(--color-header-tagline-hover);
}

/* --- RESPONSIVE --- */
@media (max-width: 1150px) {
    .header-branding { padding-left: 0;}
    .header-branding__title    { font-size: 2rem;/*1.5rem;*/}
    .header-branding__tagline  { font-size: 0.6rem; letter-spacing: 0.2rem;}
}

@media (max-width: 768px) {
    .header-branding__title { font-size: 1.7rem;/*1.3rem;*/}
    .header-branding__tagline { display: none;}
}