/* ════════════════════════════════════════
   GLOBAL & ROOT VARIABLES
════════════════════════════════════════ */
:root {
    --red:          #9E001F;
    --dark:         #0f1117;
    --white:        #ffffff;
    --light-bg:     #f8f9fa;
    --card-bg-gray: #eaeaea; /* Match image gray cards */
    --font-heading: 'JetBrains Mono', monospace;
    --font-btn:     'Oswald', sans-serif;
}

/* ════════════════════════════════════════
   HERO SECTION
════════════════════════════════════════ */
.equipe-hero {
    background: #fff;
    padding: 3.5rem 0 2rem;
}
.equipe-hero-inner {
    display: flex;
    gap: 1.6rem;
    align-items: flex-start;
}
.equipe-hero-bar {
    flex-shrink: 0;
    width: 6px;
    height: 75px; /* Fixed height match to look exactly like the red indicator bar */
    background: var(--red);
}
.equipe-hero-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 .5rem;
    line-height: 1.1;
}
.equipe-hero-desc {
    font-family: 'Arial', sans-serif; /* Fallback cleanly for generic text body */
    font-size: .9rem;
    color: #333;
    line-height: 1.6;
    margin: 0;
    max-width: 700px;
}

/* ════════════════════════════════════════
   DIRECTION SECTION
════════════════════════════════════════ */
.direction-section {
    background: #fff;
    padding: 2rem 0 4rem;
}
.direction-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: .8rem;
    border-bottom: 2px solid var(--red); /* Clean accent border */
}
.direction-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
}
.direction-count {
    font-family: var(--font-heading);
    font-size: .75rem;
    font-weight: 700;
    color: #444;
}

.direction-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Gray Card Overhaul */
.direction-card {
    background: var(--card-bg-gray);
    border-radius: 24px; /* Soft curved borders matching your image */
    padding: 2.5rem;
}
.direction-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 .2rem;
}
.direction-role {
    font-family: var(--font-heading);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--red);
    display: block;
    margin-bottom: 1.2rem;
}
.direction-bio {
    font-size: .88rem;
    color: #222;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Layout quote blocks and image horizontally side-by-side */
.direction-card-quote {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1.5rem;
}
.direction-quote-photo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
}
.direction-quote-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.direction-quote-body {
    flex: 1;
}
.quote-mark {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(224, 86, 109, 0.4); /* soft pink red tint */
    line-height: 0.5;
    margin-bottom: .2rem;
}
.quote-text {
    font-size: .95rem;
    font-weight: 700;
    color: var(--red);
    margin: 0 0 .3rem;
}
.quote-author {
    font-family: var(--font-heading);
    font-size: .65rem;
    font-weight: 700;
    color: var(--red);
    text-transform: uppercase;
}

/* ════════════════════════════════════════
   ÉQUIPE OPÉRATIONNELLE
════════════════════════════════════════ */
.ops-section {
    background: var(--light-bg);
    padding: 4rem 0;
}
.ops-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}
.ops-eyebrow {
    font-family: var(--font-heading);
    font-size: .75rem;
    font-weight: 700;
    color: var(--red);
    letter-spacing: .05em;
}
.ops-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
}
.ops-subtitle {
    font-size: .75rem;
    color: black;
    margin: 0;
    max-width: 550px;
    text-align: right;
}

/* Operational Grid Layout */
.ops-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}



.ops-card {
    background: #fbfbfc; /* Off-white card container tint */
    border: 1px solid #f2dbde; /* Light reddish/gray precise tint outline border */
    border-radius: 16px; /* Smooth rounded corners */
    padding: 2.2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.8rem; /* Keeps space between top header block and contact items */
}

/* Header layout block */
.ops-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Distinct Dark Red Square Icon Box */
.ops-card-icon-box {
    width: 52px;
    height: 52px;
    background-color: #9E001F; /* Master brand dark red */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border-radius: 2px; /* Very subtle sharp/crisp rounding */
    flex-shrink: 0;
}

.ops-card-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ops-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.05rem;
    font-weight: 800;
    color: #11141a;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.ops-role {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 500;
    color: #9E001F; /* Red subtext color */
    margin-top: 0.15rem;
}

/* Contact Links Container */
.ops-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ops-contact {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: #22252a;
    font-family: 'Arial', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.ops-contact i {
    font-size: 0.95rem;
    color: #11141a; /* Dark icons inside the list rows */
}

.ops-contact:hover {
    color: #9E001F;
}

/* ════════════════════════════════════════
   SUB-NAV
════════════════════════════════════════ */
.about-subnav {
    display: flex;
    justify-content: center;
    background: #fff;
    border-top: 1px solid #eee;
}
.subnav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    padding: 1.2rem 3rem;
    font-family: var(--font-heading);
    font-size: .7rem;
    font-weight: 700;
    color: #666;
    text-decoration: none;
    border-top: 3px solid transparent;
}
.subnav-item i { font-size: 1.1rem; }
.subnav-item--active, .subnav-item:hover {
    color: var(--red);
    border-top-color: var(--red); /* Note: top active line looks cleaner here */
}

/* ════════════════════════════════════════
   RESPONSIVE DESIGN
════════════════════════════════════════ */
@media (max-width: 992px) {
    .ops-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .ops-grid { grid-template-columns: 1fr; }
    .ops-header { flex-direction: column; align-items: flex-start; gap: .5rem; }
    .ops-subtitle { text-align: left; }
    .direction-card-quote { flex-direction: column; text-align: center; }
    .about-subnav { flex-wrap: wrap; }
    .subnav-item { padding: 1rem; flex: 1 1 40%; }
}