/* =========================================================
   Pages A propos et Contact - encre sur papier.
   Chronologie et listes en fiche technique, aucun encadre.
   ========================================================= */

/* ---------- INTRODUCTION ---------- */
.about-intro {
    background-color: var(--paper);
    padding: 4.5rem 0 1rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 4rem;
    align-items: start;
    margin-top: 0;
}

.about-text h2 {
    color: var(--ink);
    font-size: clamp(1.5rem, 2.8vw, 2.125rem);
    max-width: 20ch;
    margin-bottom: 1.25rem;
}

.about-text p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: var(--text-base);
    max-width: 60ch;
}

.about-text p:last-of-type {
    margin-bottom: 2rem;
}

.subtitle-about {
    color: var(--ink-2) !important;
    font-size: var(--text-lg) !important;
    font-weight: 400;
    margin-bottom: 1.5rem !important;
}

.about-cta {
    margin-top: .5rem;
}

.about-image {
    display: block;
}

.profile-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    box-shadow: none;
}

.image-placeholder {
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 0;
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: var(--text-sm);
}

/* ---------- CHRONOLOGIE ---------- */
.experience {
    background-color: var(--paper);
    padding: 4.5rem 0 1rem;
}

.experience h2,
.skills-detailed h2,
.values h2,
.contact-cta h2,
.contact-faq h2 {
    text-align: left;
    font-size: clamp(1.5rem, 2.8vw, 2.125rem);
    max-width: 22ch;
    margin-bottom: 3rem;
    color: var(--ink);
}

/* Plus de ligne centrale ni de pastilles : la date en marge, le texte a droite. */
.timeline {
    position: static;
    max-width: 58rem;
    padding: 0;
    margin: 0;
}

.timeline::before {
    content: none;
}

.timeline-item {
    position: static;
    display: grid;
    grid-template-columns: 13rem 1fr;
    column-gap: 3rem;
    align-items: start;
    padding: 2rem 0 2.25rem;
    border-top: 1px solid var(--rule);
    margin: 0;
}

.timeline-item:last-child {
    border-bottom: 1px solid var(--rule);
}

.timeline-dot {
    display: none;
}

.timeline-item:nth-child(odd) .timeline-content,
.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
    margin: 0;
    padding: 0;
    width: auto;
}

.timeline-content {
    display: contents;
}

.timeline-content h3 {
    grid-column: 2;
    grid-row: 1;
    color: var(--ink);
    font-size: var(--text-lg);
    font-weight: 600;
    margin: 0 0 .6rem;
}

.timeline-date {
    grid-column: 1;
    grid-row: 1 / span 2;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    letter-spacing: .04em;
    margin: 0;
    line-height: 1.7;
}

.timeline-content .justify-p,
.timeline-content p:not(.timeline-date) {
    grid-column: 2;
    color: var(--muted);
    font-size: var(--text-sm);
    margin: 0;
    max-width: 62ch;
}

/* ---------- COMPETENCES ---------- */
.skills-detailed {
    background-color: var(--paper);
    padding: 4.5rem 0 1rem;
}

.skills-grid-detailed {
    display: block;
    max-width: 52rem;
}

.skill-group {
    display: block;
}

/* Une ligne par domaine : le domaine en marge, ce que j'utilise a droite. */
.skill-item {
    display: grid;
    grid-template-columns: 8rem 1fr;
    column-gap: 2rem;
    align-items: baseline;
    background: none;
    border: 0;
    border-top: 1px solid var(--rule);
    border-radius: 0;
    padding: 1rem 0;
    transition: none;
}

.skill-group .skill-item:last-child {
    border-bottom: 1px solid var(--rule);
}

.skill-item:hover {
    transform: none;
}

.skill-name {
    color: var(--ink);
    font-size: var(--text-sm);
    font-weight: 400;
}

.skill-level {
    background: none !important;
    color: var(--muted) !important;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: .04em;
    padding: 0;
    border-radius: 0;
    white-space: nowrap;
}

/* Anciennes barres de progression, si elles reapparaissent */
.skill-bars, .skill-bar, .progress, .progress-fill { display: none; }

/* ---------- CV (seule bande sombre) ---------- */
.cv-section {
    background: var(--bande);
    color: var(--on-ink);
    padding: 5rem 0;
    margin-top: 4.5rem;
}

.cv-section h2 {
    color: var(--on-ink);
    text-align: left;
    font-size: clamp(1.5rem, 2.8vw, 2.125rem);
    margin-bottom: 2.5rem;
}

.cv-content {
    display: grid;
    grid-template-columns: 18rem 1fr;
    gap: 3.5rem;
    align-items: start;
}

.cv-image {
    margin: 0;
}

.cv-image-display {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid rgba(245, 243, 239, .18);
    border-radius: 0;
    box-shadow: none;
}

.cv-download {
    text-align: left;
}

.cv-download h3 {
    color: var(--on-ink);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: .6rem;
}

.cv-download p {
    color: var(--on-ink-mute);
    font-size: var(--text-sm);
    margin-bottom: 1.75rem;
    max-width: 52ch;
}

/* Sur la bande, le bouton contour passe en clair. */
.cv-section .btn {
    background: transparent;
    color: var(--on-ink);
    border-color: var(--on-ink);
}

.cv-section .btn:hover {
    background: var(--ventre);
    color: var(--sur-ventre);
    border-color: var(--ventre);
}

/* ---------- VALEURS ---------- */
.values {
    background-color: var(--paper);
    padding: 4.5rem 0 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 3rem;
    row-gap: 0;
}

.value-card {
    background: none;
    border: 0;
    border-top: 1px solid var(--rule);
    border-radius: 0;
    padding: 1.5rem 0 1.75rem;
    text-align: left;
    transition: none;
}

.value-card:hover {
    transform: none;
}

.value-icon,
.info-icon {
    display: none;
}

.value-card h3 {
    color: var(--ink);
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: .5rem;
}

.value-card p {
    color: var(--muted);
    font-size: var(--text-sm);
    margin: 0;
    max-width: 34ch;
}

/* ---------- APPEL FINAL A PROPOS ---------- */
.contact-cta {
    background-color: var(--paper);
    padding: 4.5rem 0 6rem;
    text-align: left;
    border-top: 1px solid var(--rule);
    margin-top: 4.5rem;
}

.contact-cta h2 {
    margin-bottom: 1rem;
}

.contact-cta .container > p {
    color: var(--muted);
    font-size: var(--text-base);
    max-width: 56ch;
    margin-bottom: 2.5rem;
}

.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.contact-method {
    border-top: 1px solid var(--rule);
    padding-top: .85rem;
    min-width: 15rem;
}

.contact-method span {
    display: none;
}

.contact-method p {
    color: var(--ink);
    font-size: var(--text-sm);
    margin: 0;
}

/* =========================================================
   PAGE CONTACT
   ========================================================= */
.contact-page {
    background-color: var(--paper);
    padding: 4.5rem 0 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 5rem;
    align-items: start;
}

.form-intro {
    border-top: 1px solid var(--rule);
    border-left: 0;
    background: none;
    border-radius: 0;
    padding: 1.25rem 0 0;
    margin-bottom: 2.5rem;
}

.form-intro h2 {
    text-align: left;
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--ink);
    margin-bottom: .4rem;
}

.form-intro p {
    color: var(--muted);
    font-size: var(--text-sm);
    margin: 0;
    max-width: 60ch;
}

.contact-form-wrapper h2,
.contact-info h2 {
    text-align: left;
    font-size: clamp(1.375rem, 2.4vw, 1.75rem);
    color: var(--ink);
    margin-bottom: 2rem;
}

.contact-form {
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.form-confidence {
    color: var(--muted) !important;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    letter-spacing: .04em;
    text-align: left;
    margin-top: 1rem;
}

.info-card {
    background: none;
    border: 0;
    border-left: 0;
    border-top: 1px solid var(--rule);
    border-radius: 0;
    padding: 1.25rem 0 1.5rem;
    margin-bottom: 0;
}

.info-card h3 {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: .04em;
    margin-bottom: .5rem;
}

.info-card p {
    color: var(--ink);
    font-size: var(--text-base);
    margin: 0 0 .25rem;
}

.info-card a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--fourrure);
    text-decoration-thickness: var(--epaisseur-trait);
}

.info-card a:hover {
    color: var(--brand);
}

.info-note {
    color: var(--muted) !important;
    font-size: var(--text-xs) !important;
    font-style: normal;
}

.quick-facts {
    background: none;
    border: 0;
    border-top: var(--epaisseur-trait) solid var(--trait);
    border-radius: 0;
    padding: 1.25rem 0 0;
    margin-top: 1.5rem;
}

.quick-facts h3 {
    color: var(--ink);
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: .75rem;
}

.quick-facts ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-facts li {
    color: var(--muted);
    font-size: var(--text-sm);
    padding: .3rem 0 .3rem 1.4rem;
    position: relative;
}

.quick-facts li::before {
    content: "\2014";
    position: absolute;
    left: 0;
    color: var(--ink-2);
}

/* ---------- FAQ CONTACT ---------- */
.contact-faq {
    background-color: var(--paper);
    padding: 4.5rem 0 6rem;
    border-top: 1px solid var(--rule);
    margin-top: 4.5rem;
}

.faq-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 4rem;
    row-gap: 0;
}

.faq-item {
    background: none;
    border: 0;
    border-top: 1px solid var(--rule);
    border-radius: 0;
    padding: 1.5rem 0 1.75rem;
    box-shadow: none;
}

.faq-item h3 {
    color: var(--ink);
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: .5rem;
}

.faq-item p {
    color: var(--muted);
    font-size: var(--text-sm);
    margin: 0;
    max-width: 52ch;
}

.faq-item strong {
    color: var(--ink);
    font-weight: 500;
}

/* ---------- MOBILE ---------- */
@media (max-width: 980px) {
    .about-content { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-image { max-width: 22rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .values-grid { grid-template-columns: repeat(2, 1fr); column-gap: 2.5rem; }
    .cv-content { grid-template-columns: 14rem 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
    .timeline-item { grid-template-columns: 1fr; row-gap: .5rem; }
    .timeline-date { grid-column: 1; grid-row: auto; margin-bottom: .35rem; }
    .timeline-content h3 { grid-column: 1; grid-row: auto; }
    .timeline-content .justify-p,
    .timeline-content p:not(.timeline-date) { grid-column: 1; }
    .skill-item { grid-template-columns: 1fr; row-gap: .35rem; }
    .values-grid { grid-template-columns: 1fr; }
    .faq-items { grid-template-columns: 1fr; }
    .cv-content { grid-template-columns: 1fr; }
    .cv-image { max-width: 18rem; }
    .contact-methods { flex-direction: column; gap: 0; }
    .about-intro, .experience, .skills-detailed, .values,
    .contact-page, .contact-faq { padding-top: 3rem; }
    .cv-section { padding: 3.5rem 0; margin-top: 3rem; }
    .contact-cta { margin-top: 3rem; padding: 3.5rem 0 4rem; }
    .contact-faq { margin-top: 3rem; }
}
