/* ========================================
   PAGE EXPÉRIENCE - Styles
======================================== */

.experience-page {
    min-height: 100vh;
}

/* Hero Section */
.hero-experience {
    background: linear-gradient(135deg, var(--color-peach) 0%, var(--color-coral) 100%);
    padding: 7rem 0 1rem;
    position: relative;
}

.hero-experience .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-medium);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding-top: 0.5rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--text-dark);
}

.experience-logo {
    max-width: 450px;
    max-height: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.experience-logo-large {
    max-width: 750px;
    max-height: 300px;
}

/* Content Section */
.experience-content {
    padding: 4rem 0;
    background: var(--color-cream);
}

.experience-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
}

/* Sidebar */
.experience-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card,
.skills-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(61, 40, 32, 0.08);
}

.info-card h3,
.skills-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.info-list li {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.info-list strong {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-medium);
    font-weight: 600;
}

.info-list span {
    color: var(--text-dark);
    font-size: 1rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    padding: 0.4rem 1rem;
    background: var(--color-peach);
    color: var(--text-dark);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Main Content */
.experience-main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.content-section {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(61, 40, 32, 0.08);
}

.content-section h2 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.content-section h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.content-section p {
    color: var(--text-medium);
    line-height: 1.8;
    font-size: 1.05rem;
}

.mission-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mission-list li {
    padding-left: 2rem;
    position: relative;
    color: var(--text-medium);
    line-height: 1.8;
}

.mission-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-coral);
    font-weight: bold;
}

.achievements {
    display: grid;
    gap: 2rem;
}

.achievement-item {
    padding: 1.5rem;
    background: var(--color-cream);
    border-radius: 8px;
    border-left: 4px solid var(--color-coral);
}

.achievement-item h3 {
    margin-bottom: 0.8rem;
}

.achievement-item p {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-experience {
        padding: 5rem 0 1rem;
    }

    .experience-logo {
        max-width: 300px;
        max-height: 120px;
    }
    
    .back-link {
        position: relative;
        z-index: 1000;
        padding: 1rem;
        margin-bottom: 1rem;
        margin-top: 1rem;
        touch-action: manipulation;
        pointer-events: auto;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        backdrop-filter: blur(10px);
    }
    
    .experience-content {
        padding: 2rem 0;
    }
    
    .content-section {
        padding: 1.5rem;
    }
    
    .info-card,
    .skills-card {
        padding: 1.5rem;
    }
}

/* ============================================================
   REFONTE 2026 — pages projet et expérience
   ============================================================ */

.project-page,
.experience-page {
    background: var(--paper);
}

/* Le bandeau dégradé pleine largeur est remplacé par un en-tête sobre :
   logo, titre, sous-titre, filet. */
.hero-experience {
    min-height: auto;
    padding: clamp(5rem, 12vh, 7.5rem) 0 clamp(1.5rem, 4vh, 2.5rem);
    background: var(--paper);
}

.hero-experience::before,
.hero-experience::after {
    display: none;
}

.hero-experience .container {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-experience .experience-logo,
.hero-experience .experience-logo-large {
    max-height: 84px;
    width: auto;
    margin: 0 0 1.5rem;
    filter: none;
}

.hero-experience .page-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.025em;
    color: var(--ink);
    text-align: left;
}

.hero-experience .page-subtitle {
    margin-top: 0.85rem;
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    text-align: left;
}

.experience-content {
    padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 8vw, 6rem);
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.experience-content .container {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.back-link {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.back-link:hover {
    color: var(--accent);
}

/* Colonnes : la barre latérale devient une fiche filetée, sans carte blanche */
.content-grid {
    gap: clamp(2rem, 5vw, 4rem);
}

.info-card,
.skills-card {
    padding: 0 0 1.5rem;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 1.5rem;
}

.info-card h3,
.skills-card h3 {
    padding-bottom: 0.85rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--line-strong);
    font-family: var(--font-sans);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.info-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--line);
}

.info-list strong {
    font-family: var(--font-sans);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.info-list span {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    color: var(--ink);
}

.skill-tags .skill-tag {
    padding: 0.3rem 0.75rem;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: 0.6875rem;
    color: var(--ink-soft);
}

.content-section h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--ink);
}

.content-section p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--ink-soft);
}

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

.achievement-item h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--ink);
}

.project-detail-img {
    border-radius: 3px;
    box-shadow: none;
}

/* Les blocs de contenu étaient des cartes blanches arrondies avec ombre.
   On les remet dans le flux, séparés par un simple filet. */
.content-section {
    padding: 0 0 clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
}

.content-section:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}

.content-section h2 {
    margin-bottom: 1rem;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.project-detail-img--full {
    width: 100%;
}

.achievements {
    margin-top: 0.5rem;
}

/* Un border-radius historique arrondissait le filet de séparation
   et laissait deux crochets visibles sur les côtés. */
.experience-content {
    border-radius: 0;
    margin: 0;
}

/* Logo à fond plein : mêmes angles adoucis que sur la page listing. */
.hero-experience .experience-logo[width="390"] {
    border-radius: 10px;
}
