/* ==================== HERO — la thèse et la fiche d'intervenant =========== */

.hero {
    position: relative;
    padding: calc(68px + clamp(3.5rem, 8vw, 6.5rem)) 0 clamp(3.5rem, 7vw, 5.5rem);
    overflow: hidden;
}

/* Papier millimétré, à peine visible — la matière du document technique */
.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: var(--grid-paper);
    background-size: 44px 44px;
    opacity: .45;
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 65% 0%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 90% 80% at 65% 0%, #000 20%, transparent 75%);
}

.hero-glow {
    position: absolute;
    top: -220px;
    right: -160px;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--bronze-soft) 0%, transparent 62%);
    opacity: .8;
}

.hero-container {
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}

/* --- Colonne thèse -------------------------------------------------------- */
.hero-topline {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--f-mono);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--green);
    background: var(--green-soft);
    border: 1px solid color-mix(in srgb, var(--green) 22%, transparent);
    border-radius: 999px;
    padding: .42rem 1rem;
    margin: 0 0 1.6rem;
}

.hero-topline__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    animation: hero-pulse 2.4s ease-in-out infinite;
}

@keyframes hero-pulse {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 35%, transparent); }
    55%      { box-shadow: 0 0 0 6px transparent; }
}

.hero-title {
    font-size: var(--font-6xl);
    font-weight: 780;
    letter-spacing: -0.028em;
    margin-bottom: 1.3rem;
}

.hero-title em.serif { font-size: 1.04em; }

.hero-desc {
    font-size: 1.13rem;
    line-height: 1.65;
    color: var(--ink-2);
    max-width: 50ch;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-bottom: 2.2rem;
}

.hero-socials { display: flex; gap: .6rem; }

.hero-soc {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    color: var(--ink-2);
    transition: color .18s ease, border-color .18s ease, transform .18s ease;
}

.hero-soc:hover {
    color: var(--bronze-deep);
    border-color: var(--bronze);
    transform: translateY(-2px);
}

/* --- La fiche d'intervenant ------------------------------------------------ */
.hero-fiche {
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lift);
    padding: 0 0 1.4rem;
    max-width: 430px;
    justify-self: end;
    width: 100%;
}

.fiche-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: var(--f-mono);
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
    padding: .85rem 1.5rem;
    border-bottom: 1px dashed var(--line-strong);
}

.fiche-head__ref { color: var(--bronze); }

.fiche-id {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    padding: 1.25rem 1.5rem 1.1rem;
}

/* Format photo d'identité : portrait cadré sur le visage, jamais coupé */
.fiche-id img {
    width: 88px;
    height: 106px;
    border-radius: 10px;
    object-fit: cover;
    object-position: center 12%;
    border: 1px solid var(--line);
    background: var(--paper-2);
    flex: 0 0 auto;
}

.fiche-id strong {
    display: block;
    font-family: var(--f-display);
    font-size: 1.18rem;
    font-weight: 720;
    color: var(--ink);
    letter-spacing: -0.015em;
}

.fiche-id span {
    display: block;
    font-size: .88rem;
    color: var(--muted);
    margin-top: .2rem;
}

.fiche-rows {
    list-style: none;
    margin: 0;
    padding: 0 1.5rem;
}

.fiche-rows li {
    display: grid;
    grid-template-columns: 8.2rem 1fr;
    gap: 1rem;
    padding: .68rem 0;
    border-top: 1px solid var(--line);
    font-size: .875rem;
    line-height: 1.5;
}

.fiche-k {
    font-family: var(--f-mono);
    font-size: .66rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    padding-top: .2rem;
}

.fiche-v { color: var(--ink-2); }
.fiche-v strong { color: var(--green); }

.fiche-stamp {
    position: absolute;
    right: 1.6rem;
    bottom: -1rem;
    background: var(--card);
}

/* --- Responsive ------------------------------------------------------------ */
@media (max-width: 980px) {
    .hero-container { grid-template-columns: 1fr; }
    .hero-fiche { justify-self: start; }
}

@media (max-width: 576px) {
    .fiche-rows li { grid-template-columns: 1fr; gap: .15rem; }
    .hero-actions .btn { width: 100%; justify-content: center; }
}
