/* ================================================
   PAGE ACCUEIL - Tony Laguette
   Utilise les variables du thème "fiche technique" (fiche.css)
   ================================================ */

.home-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 72px var(--fiche-gutter) 24px;
}

/* ================================================
   HERO + FICHE PROFIL
   ================================================ */
.home-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: stretch;
    padding-bottom: 32px;
}

.home-hero-content {
    flex: 1 1 520px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    justify-content: center;
}

.home-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-family: var(--fiche-mono);
    font-size: 12px;
}

.home-tag {
    border: 1px solid #A8B3C0;
    padding: 4px 10px;
}

.home-tag--accent {
    border-color: var(--fiche-accent);
    color: var(--fiche-accent);
}

.home-title {
    margin: 0;
    font-weight: 600;
    font-size: clamp(36px, 4.6vw, 56px);
    line-height: 1.02;
    letter-spacing: -0.025em;
    text-wrap: pretty;
}

.home-intro {
    margin: 0;
    font-size: 19px;
    line-height: 1.6;
    color: var(--fiche-text-soft);
    max-width: 620px;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-btn-light {
    background: var(--fiche-surface);
    border: 1px solid var(--fiche-border);
}

/* Fiche profil */
.home-profile {
    flex: 0 1 400px;
    min-width: 280px;
    background: var(--fiche-surface);
    border: 1px solid var(--fiche-border);
    display: flex;
    flex-direction: column;
}

.home-profile-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px 24px 24px;
    border-bottom: 1px solid var(--fiche-border);
}

.home-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 1px solid var(--fiche-accent);
    padding: 8px;
}

.home-photo img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 20%;
}

.home-profile-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.home-profile-title { font-weight: 600; font-size: 19px; }
.home-profile-role { font-size: 14px; color: var(--fiche-text-soft); }

.home-profile-rows {
    display: grid;
    grid-template-columns: 130px 1fr;
    margin: 0;
    font-size: 15px;
}

.home-profile-rows dt,
.home-profile-rows dd {
    margin: 0;
    padding: 14px 24px 14px 0;
    border-bottom: 1px solid var(--fiche-divider);
}

.home-profile-rows dt {
    padding-left: 24px;
    font-family: var(--fiche-mono);
    font-size: 12px;
    color: var(--fiche-text-muted);
}

.home-profile-rows dt:last-of-type,
.home-profile-rows dd:last-of-type { border-bottom: none; }

.home-profile-tjm { font-weight: 600; color: var(--fiche-accent); }

/* ================================================
   PANNEAUX : DOMAINES + NIVEAU TECHNIQUE
   ================================================ */
.home-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
    gap: 24px;
}

.home-panel {
    background: var(--fiche-surface);
    border: 1px solid var(--fiche-border);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.home-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.home-panel-title { margin: 0; font-size: 22px; font-weight: 600; }

.home-panel-meta {
    font-family: var(--fiche-mono);
    font-size: 12px;
    color: var(--fiche-text-muted);
}

.home-panel-link { font-size: 14px; color: var(--fiche-accent); font-weight: 500; }

.home-domains { display: flex; flex-direction: column; }

.home-domain {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 16px;
    padding: 14px 0;
    border-top: 1px solid var(--fiche-divider);
    font-size: 16px;
}

.home-domain-name { font-weight: 500; }

.home-domain-tech {
    font-family: var(--fiche-mono);
    font-size: 13px;
    color: var(--fiche-text-muted);
}

.home-skills { display: flex; flex-direction: column; gap: 12px; }

.home-skill {
    display: grid;
    grid-template-columns: 40px 110px 1fr 32px;
    gap: 14px;
    align-items: center;
    font-size: 15px;
}

.home-skill-icon { width: 40px; height: 40px; object-fit: contain; }

.home-skill-bar { height: 8px; background: var(--fiche-divider); }
.home-skill-fill { height: 8px; background: var(--fiche-accent); }

.home-skill-pct {
    font-family: var(--fiche-mono);
    font-size: 13px;
    text-align: right;
}

/* ================================================
   APERÇU DES TARIFS
   ================================================ */
.home-prices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 24px;
}

.home-price {
    background: var(--fiche-surface);
    border: 1px solid var(--fiche-border);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-price-label {
    font-family: var(--fiche-mono);
    font-size: 12px;
    color: var(--fiche-text-muted);
}

.home-price-value { font-size: 34px; font-weight: 600; }
.home-price-text { font-size: 14px; color: var(--fiche-text-soft); }

.home-price--dark {
    background: var(--fiche-ink);
    border-color: var(--fiche-ink);
    color: #fff;
}

.home-price--dark .home-price-label,
.home-price-unit { color: var(--fiche-on-ink-muted); }

.home-price-unit { font-size: 16px; font-weight: 400; }
.home-price--dark .home-price-text { color: #C9D3DE; }

@media (max-width: 480px) {
    .home-panel { padding: 24px; }
    .home-skill { grid-template-columns: 32px 88px 1fr 28px; gap: 10px; }
    .home-skill-icon { width: 32px; height: 32px; }
}
