/* =========================================================
   PAGE D'ACCUEIL
   La Tropa del Sanglar d'Argent
   ========================================================= */

/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    overflow: hidden;
    text-align: center;
    background: #050505;
}

.hero__floating span{
    white-space:nowrap;
}

.hero__floating svg{
    width:18px;
    height:18px;

    fill:none;
    stroke:#111;
    stroke-width:2.5;

    transition:.25s;
}

.hero__floating:hover svg{
    transform:translateY(3px);
}
.hero__floating span{
    white-space:nowrap;
}


.hero__floating{
    position:fixed;

    top:90px;
    right:30px;

    z-index:9999;

    display:flex;
    align-items:center;
    gap:10px;

    padding:14px 22px;

    background:#fff;
    color:#111;

    border-radius:12px;

    border:2px solid #000;

    text-decoration:none;

    font-weight:700;
    letter-spacing:.08em;

    box-shadow:
        0 12px 30px rgba(0,0,0,.18);

    transition:.25s;
}

.hero__floating:hover{
    transform:translateY(-3px);
    box-shadow:
        0 18px 40px rgba(0,0,0,.28);
}

.hero__background {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__shade {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, .18) 0%,
            rgba(0, 0, 0, .04) 34%,
            rgba(0, 0, 0, .16) 68%,
            rgba(0, 0, 0, .58) 100%
        ),
        radial-gradient(
            circle at 50% 45%,
            rgba(255, 255, 255, .08),
            transparent 46%
        );
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 112px 0 126px;
}

.hero__banner-wrap {
    position: relative;
    display: inline-block;
    width: min(46vw, 700px);
    max-width: 90%;
}

.hero__banner {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .72));
}

.hero__discover {
    position: absolute;
    left: 50%;
    bottom: 8%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: max-content;
    max-width: 82%;
    color: #f2f2f2;
    text-decoration: none;
    font-family: "Cinzel", Georgia, "Times New Roman", serif;
    font-size: clamp(.68rem, 1vw, .9rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .2em;
    text-align: center;
    text-transform: uppercase;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, .95),
        0 0 8px rgba(0, 0, 0, .8);
    transition: color .3s ease, transform .3s ease;
}

.hero__discover:hover {
    color: #fff;
    transform: translateX(-50%) translateY(4px);
}

.hero__discover:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 6px;
}

.hero__discover svg {
    display: block;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: discover-arrow 1.8s ease-in-out infinite;
}

@keyframes discover-arrow {
    0%, 100% {
        transform: translateY(0);
        opacity: .75;
    }

    50% {
        transform: translateY(7px);
        opacity: 1;
    }
}

/* =========================================================
   BOUTONS VISUELS DE LA PAGE D'ACCUEIL
   ========================================================= */

.button {
    position: relative;
    min-width: 290px;
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 34px;
    border: 1px solid rgba(193, 181, 157, .72);
    background-size: cover;
    background-position: center;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 2px 5px rgba(0, 0, 0, .95);
    box-shadow:
        inset 0 0 0 3px rgba(0, 0, 0, .28),
        inset 0 0 18px rgba(255, 255, 255, .05),
        0 8px 24px rgba(0, 0, 0, .48);
    overflow: hidden;
    transition:
        transform .25s ease,
        filter .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.button::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(225, 218, 203, .28);
    pointer-events: none;
}

.button::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        transparent 0%,
        rgba(255, 255, 255, .08) 42%,
        rgba(255, 255, 255, .16) 50%,
        transparent 58%
    );
    transform: translateX(-125%);
    transition: transform .55s ease;
    pointer-events: none;
}

.button--red {
    background-image:
        linear-gradient(rgba(116, 9, 12, .20), rgba(48, 3, 5, .45)),
        url("../images/ui/button-red.jpg");
}

.button--dark {
    background-image:
        linear-gradient(rgba(0, 0, 0, .05), rgba(0, 0, 0, .34)),
        url("../images/ui/button-dark.jpg");
}

.button:hover {
    transform: translateY(-3px);
    filter: brightness(1.12);
    border-color: rgba(231, 222, 203, .92);
    box-shadow:
        inset 0 0 0 3px rgba(0, 0, 0, .28),
        inset 0 0 24px rgba(255, 255, 255, .08),
        0 13px 34px rgba(0, 0, 0, .6);
}

.button:hover::after {
    transform: translateX(125%);
}

.button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

/* =========================================================
   COMPAGNONS
   ========================================================= */

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

.action-card {
    position: relative;
    min-height: 390px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: linear-gradient(150deg, rgba(24, 24, 24, .94), rgba(7, 7, 7, .96));
    overflow: hidden;
    transition: transform .35s ease, border-color .35s ease;
}

.action-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, .35);
}

.action-card img {
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
    border-radius: 50%;
    object-fit: cover;
}

.action-card__number {
    position: absolute;
    top: 23px;
    right: 25px;
    color: #555;
    font: 2.7rem Georgia, serif;
}

.action-card h3 {
    margin: 0 0 12px;
    font: 2rem Georgia, serif;
}

.action-card p {
    color: #aaa;
}

.action-card > span:last-child {
    color: #ddd;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

/* =========================================================
   TERRES CATHARES
   ========================================================= */

.feature-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: repeat(2, 280px);
    gap: 22px;
}

.feature-card {
    position: relative;
    min-height: 280px;
    overflow: hidden;
}

.feature-card--large {
    grid-row: 1 / 3;
}

.feature-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.feature-card:hover img {
    transform: scale(1.05);
}

.feature-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 20%, rgba(0, 0, 0, .88));
}

.feature-card__content {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    flex-direction: column;
    padding: 28px;
}

.feature-card__content small {
    color: #d89c81;
    text-transform: uppercase;
    letter-spacing: .14em;
}

.feature-card__content strong {
    font: 2rem Georgia, serif;
}

.feature-card__content em {
    color: #bbb;
}

/* =========================================================
   CHRONIQUES
   ========================================================= */

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

.chronicle-card {
    border: 1px solid rgba(255, 255, 255, .13);
    background: rgba(10, 10, 10, .92);
    overflow: hidden;
}

.chronicle-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.chronicle-card__content {
    padding: 26px;
}

.chronicle-card__meta {
    color: #c88;
    font-size: .7rem;
    text-transform: uppercase;
}

.chronicle-card h3 {
    font: 1.7rem Georgia, serif;
}
