/* ============================================
   À PROPOS
   ============================================ */

.about-page {
    padding: 40px 0 60px;
    background: linear-gradient(to bottom, #F9FBFD 0%, #FFFFFF 100%);
}

.about-page .container {
    max-width: 860px;
}

.about-hero {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 20px 0 40px;
}

.about-portrait {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--azur-blue);
    box-shadow: 6px 6px 0 var(--ochre);
}

.about-hero h1 {
    color: #1A2332;
    margin-bottom: 12px;
}

.about-lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #3B5073;
}

/* Neutralise le style global des <section> (grands espacements, h2 centré et souligné) */
.about-section {
    margin-bottom: 35px;
    padding: 0;
    background: none;
}

.about-section h2 {
    display: block;
    left: auto;
    transform: none;
    text-align: left;
    font-size: 1.5rem;
    color: #0077BE;
    border-bottom: 2px solid #0077BE;
    padding-bottom: 6px;
    margin-bottom: 15px;
}

.about-section h2::after {
    content: none;
}

.about-section p {
    line-height: 1.8;
    color: #1A2332;
    margin-bottom: 12px;
}

.about-section a {
    color: #0077BE;
    font-weight: 600;
}

.about-duo {
    display: flex;
    align-items: center;
    gap: 25px;
}

.about-duo p {
    margin-bottom: 0;
}

.about-portrait--small {
    width: 120px;
    height: 120px;
    border-width: 3px;
    box-shadow: 4px 4px 0 var(--ochre);
}

.about-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.about-gallery a {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 6px;
}

/* 1 grande photo (2×2) + 9 carrées + 1 large : la grille de 3 colonnes tombe juste */
.about-gallery a:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.about-gallery a:last-child {
    grid-column: span 2;
    aspect-ratio: auto;
}

/* En absolu, l'image suit la case sans imposer sa propre hauteur */
.about-gallery img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s;
}

.about-gallery a:hover img {
    transform: scale(1.02);
}

.about-ships {
    margin: 0 0 12px 1.5rem;
    line-height: 1.8;
}

.about-section.about-contact {
    padding: 20px 25px;
    background: var(--cream);
    border-left: 4px solid var(--ochre);
}

.about-contact h2 {
    border-bottom: none;
    padding-bottom: 0;
}

@media (max-width: 640px) {
    .about-hero {
        flex-direction: column;
        text-align: center;
    }

    .about-portrait {
        width: 140px;
        height: 140px;
    }

    .about-duo {
        flex-direction: column;
        text-align: center;
    }

    .about-portrait--small {
        width: 110px;
        height: 110px;
    }

    .about-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-gallery a:last-child {
        grid-column: auto;
        aspect-ratio: 1;
    }
}
