/* =====================================================================
   Cabinet Dentaire Gloria — assets/css/team.css
   Page /equipe : grille membres equipe + section valeurs (4 piliers)
   ===================================================================== */

/* ========== Grille equipe ========== */
.team-grid-section {
    background: var(--color-cream);
    padding: var(--sp-10) 0;
}

.team-grid {
    list-style: none;
    margin: var(--sp-7) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-6);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.team-card {
    list-style: none;
    text-align: center;
    background: var(--color-white);
    border: 1px solid var(--color-beige);
    border-radius: var(--r-md);
    padding: var(--sp-5);
    box-shadow: var(--shadow-card);
    transition: transform var(--tx-fast), box-shadow var(--tx-fast);
}
.team-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.team-card__photo {
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto var(--sp-4);
    max-width: 200px;
    background: var(--color-sand);
    box-shadow: 0 4px 16px rgba(30, 58, 95, 0.10);
}
.team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    color: var(--color-gold);
    background: linear-gradient(135deg, var(--color-sand) 0%, var(--color-beige) 100%);
}

.team-card__name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0 0 var(--sp-2);
    line-height: 1.2;
}

.team-card__title {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gold);
    margin: 0 0 var(--sp-3);
}

.team-card__bio {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(30, 58, 95, 0.78);
    margin: 0 0 var(--sp-3);
}

.team-card__languages {
    font-family: var(--font-body);
    font-size: 12px;
    font-style: italic;
    color: rgba(30, 58, 95, 0.55);
    margin: 0;
    letter-spacing: 0.3px;
}

@media (max-width: 1023px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .team-grid { grid-template-columns: 1fr; }
}

/* ========== Section Valeurs (bandeau navy premium) ========== */
.team-values {
    position: relative;
    background: linear-gradient(135deg, #1E3A5F 0%, #0F1E33 100%);
    color: var(--color-white);
    padding: var(--sp-10) 0;
    overflow: hidden;
}

/* Texture geometrique or doré 5% opacity en background */
.team-values::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(201,169,110,1) 1px, transparent 1px),
        radial-gradient(circle at 80% 60%, rgba(201,169,110,1) 1px, transparent 1px);
    background-size: 80px 80px, 120px 120px;
    pointer-events: none;
}

.team-values > .container { position: relative; z-index: 1; }

.team-values .section-intro__title { color: var(--color-white); }

.team-values__grid {
    list-style: none;
    margin: var(--sp-7) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-5);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.team-value {
    list-style: none;
    text-align: center;
    padding: var(--sp-5) var(--sp-3);
}

.team-value__icon {
    color: var(--color-gold);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--sp-4);
    border: 1px solid rgba(201, 169, 110, 0.3);
}

.team-value__title {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-white);
    margin: 0 0 var(--sp-3);
}

.team-value__desc {
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

@media (max-width: 1023px) {
    .team-values__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .team-values__grid { grid-template-columns: 1fr; gap: var(--sp-4); }
}
