/* ===== Section À propos ===== */


.about-section {
    min-height: 100vh;
    padding: 100px 0;
    background-color: var(--bg-primary);
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: start;
}

/* ===== Titres ===== */
.section-number {
    display: block;
    margin-bottom: 20px;
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--sage-green);
}

.section-title {
    margin-bottom: 40px;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
}

.highlight {
    position: relative;
    color: var(--forest-green);
}

.highlight::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: rgba(149, 199, 174, 0.3);
    z-index: -1;
}

/* ===== Texte ===== */
.about-paragraphs p {
    margin-bottom: 24px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ===== Documents ===== */
.about-documents {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.doc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 12px 24px;
    border-radius: 30px;
    border: 2px solid var(--sage-green);

    font-size: 0.95rem;
    font-weight: 500;
    color: var(--deep-green);
    text-decoration: none;

    background: linear-gradient(135deg, var(--cream), var(--mint-light));
    transition: all 0.3s ease;
}

.doc-link:hover {
    background: linear-gradient(135deg, var(--sage-green), var(--forest-green));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(90, 143, 123, 0.3);
}

.doc-link svg {
    width: 18px;
    height: 18px;
}

/* ===== Stats ===== */
.about-stats {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-item {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border-radius: 20px;
    border: 2px solid var(--sage-green);
    background: linear-gradient(135deg, var(--cream), var(--mint-light));
    transition: all 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-5px) rotate(2deg);
    box-shadow: 0 10px 30px rgba(90, 143, 123, 0.2);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--forest-green);
}

.stat-label {
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ===== Image ===== */
.about-image-block {
    position: sticky;
    top: 100px;
}

.image-frame {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    transition: transform 0.5s ease;
}

.image-frame:hover {
    transform: scale(1.03) rotate(-2deg);
}

.image-frame img {
    display: block;
    width: 100%;
    border-radius: 30px;
}

/* ===== Décoration ===== */
.frame-decoration {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100px;
    height: 100px;
    border: 3px solid var(--sage-green);
    border-radius: 50%;
    z-index: -1;
}

.image-caption {
    margin-top: 20px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.image-caption p {
    margin-bottom: 8px;
}


/* ===== RESPONSIVE ===== */


/* tablette  1200px */
@media (max-width: 1200px) {

    .about-grid,
    .contact-wrapper { grid-template-columns: 1fr; gap: 60px; }
    .about-image-block { display: none; }
}

/* mobile  768px */
@media (max-width: 768px) {

    .about-section{
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 80px 0;
    }

    .about-documents { flex-direction: column; }
    .doc-link { justify-content: center; }

    .container,
    .container-fluid { padding: 0 24px; }

    .section-title { font-size: 2.5rem; }
    .about-stats { grid-template-columns: 1fr; }
}