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

.about-page-lead {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 26px;
    padding: clamp(26px, 3.8vw, 36px) clamp(20px, 3.5vw, 34px);
    overflow: hidden;
    border: 1px solid rgb(80 54 44 / 12%);
    border-radius: 8px 26px 26px 26px;
    background:
        linear-gradient(135deg, rgb(255 255 255 / 55%) 0%, transparent 42%),
        linear-gradient(165deg, #fffefb 0%, #fff8f1 55%, #f7efe6 100%);
    box-shadow:
        0 14px 36px rgb(55 42 30 / 10%),
        inset 0 1px 0 rgb(255 255 255 / 75%);
}

.about-page-lead h1 {
    margin: 0;
    color: #1a1410;
    font-size: clamp(2rem, 4.5vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.about-page-intro {
    max-width: 36ch;
    margin: 14px 0 0;
    color: #3d342e;
    font-size: clamp(1.15rem, 2.2vw, 1.3rem);
    font-weight: 700;
    line-height: 1.6;
}

.about-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px clamp(20px, 6vw, 80px);
    border-bottom: 1px solid #EFE9DE;
    background: rgb(255 255 255 / 94%);
    font-family: 'Manrope', sans-serif;
}

.about-page-home,
.about-page-back {
    color: #50362C;
    font-weight: 700;
    text-decoration: none;
}

.about-page-home {
    font-size: 1.25rem;
}

.about-page-back {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 9px;
    padding: 7px 16px 7px 10px;
    border: 1px solid #A1876F;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 3px 10px rgb(79 49 29 / 10%);
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.about-page-back-arrow {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: #6D4C41;
    color: #fff;
    font-size: 1.125rem;
    line-height: 1;
    transition: transform 180ms ease;
}

.about-page-back:hover {
    border-color: #6D4C41;
    background: #faf7f3;
    box-shadow: 0 5px 14px rgb(79 49 29 / 16%);
    transform: translateY(-1px);
}

.about-page-back:hover .about-page-back-arrow {
    transform: translateX(-2px);
}

.about-page-home:focus-visible,
.about-page-back:focus-visible,
.about-page-cta:focus-visible {
    outline: 3px solid #cc8b52;
    outline-offset: 4px;
}

.about-page-content {
    box-sizing: border-box;
    width: min(100% - 48px, 760px);
    margin: 0 auto;
    padding: var(--page-gutter-y, 48px) 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.about-page-photo {
    width: 100%;
    margin: 0 0 28px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background:
        linear-gradient(135deg, #efe6da 0%, #e0d2c2 100%);
}

.about-page-photo-placeholder {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    padding: clamp(20px, 4vw, 36px);
    border: 1px dashed rgb(168 130 98 / 45%);
    border-radius: 8px 22px 22px 22px;
    background:
        radial-gradient(ellipse at 30% 20%, rgb(255 252 247 / 70%) 0%, transparent 55%),
        linear-gradient(145deg, #f3ebe3 0%, #e8d9c8 100%);
}

.about-page-photo-hint {
    max-width: 28ch;
    margin: 0;
    color: #6b5d57;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.05rem, 2.4vw, 1.25rem);
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    text-wrap: balance;
}

.about-page-photo-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-story-stack {
    display: grid;
    gap: 22px;
    /* La pointe de la dernière bulle dépasse : la marge laisse de l'air avant la carte suivante. */
    margin: 0 0 56px;
}

.about-story-bubble {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px 18px;
    margin: 0;
    padding: clamp(22px, 3.5vw, 34px) clamp(20px, 3.2vw, 32px);
    border: 1px solid rgb(204 139 82 / 28%);
    border-radius: 22px 26px 26px 10px;
    background:
        radial-gradient(ellipse 65% 50% at 0% 0%, rgb(255 226 196 / 45%) 0%, transparent 55%),
        linear-gradient(160deg, #fffefb 0%, #fff7ee 50%, #ffefdf 100%);
    box-shadow:
        0 14px 34px rgb(120 70 40 / 11%),
        inset 0 1px 0 rgb(255 255 255 / 88%);
}

.about-story-bubble-step {
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    flex: 0 0 auto;
    place-items: center;
    margin-top: 2px;
    border: 1px solid rgb(204 139 82 / 35%);
    border-radius: 50%;
    background: rgb(255 255 255 / 78%);
    color: #a86a38;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
}

.about-story-bubble-body {
    min-width: 0;
}

.about-story-bubble-lead {
    margin-bottom: 12px !important;
    font-size: clamp(1.15rem, 2.2vw, 1.28rem) !important;
    line-height: 1.35 !important;
}

.about-story-bubble-heading {
    margin: 22px 0 12px;
    padding-top: 16px;
    border-top: 1px solid rgb(204 139 82 / 22%);
    color: #3f2b24;
    font-size: clamp(1.35rem, 3vw, 1.7rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.about-story-bubble-body > .about-story-bubble-heading:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.about-story-bubble p {
    max-width: 48ch;
    margin: 0 0 12px;
    color: #2a221c;
    font-size: clamp(1.05rem, 1.9vw, 1.14rem);
    font-weight: 600;
    line-height: 1.75;
}

.about-story-bubble p:last-child {
    margin-bottom: 0;
}

.about-story-bubble strong {
    color: #1a1410;
    font-weight: 800;
}

.about-story-bubble-highlight {
    margin-top: 16px !important;
    margin-bottom: 0 !important;
    padding: 14px 16px;
    border-left: 3px solid rgb(204 139 82 / 55%);
    border-radius: 0 12px 12px 0;
    background: rgb(255 255 255 / 55%);
}

.about-story-bubble-closing {
    margin-top: 18px !important;
    padding-top: 14px;
    border-top: 1px solid rgb(204 139 82 / 22%);
    color: #3f2b24;
    font-size: clamp(1.12rem, 2.2vw, 1.28rem) !important;
    line-height: 1.4;
    text-align: center;
}

.about-story-bubble-last {
    padding-bottom: clamp(28px, 4vw, 38px);
}

.about-story-bubble-tail {
    position: absolute;
    left: 36px;
    bottom: -12px;
    z-index: 1;
    width: 24px;
    height: 24px;
    border-right: 1px solid rgb(204 139 82 / 28%);
    border-bottom: 1px solid rgb(204 139 82 / 28%);
    background: #ffefdf;
    transform: rotate(45deg);
    box-shadow: 4px 4px 12px rgb(140 80 40 / 8%);
}

.about-page-section {
    position: relative;
    margin: 0 0 28px;
    padding: clamp(28px, 4vw, 42px);
    border: 1px solid #EFE9DE;
    border-radius: 6px 22px 22px 22px;
    background:
        linear-gradient(180deg, #fffefb 0%, #fff 55%);
    box-shadow: 0 12px 32px rgb(55 42 30 / 9%);
}

.about-page-section h2 {
    margin: 0 0 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e6ddd0;
    color: #3f2b24;
    font-size: clamp(1.5rem, 3.5vw, 1.9rem);
    font-weight: 700;
    line-height: 1.3;
}

.about-page-section p {
    max-width: 54ch;
    margin: 0 0 18px;
    color: #2f2924;
    font-size: clamp(1.125rem, 2.1vw, 1.25rem);
    font-weight: 500;
    line-height: 1.8;
}

.about-page-section p:last-child {
    margin-bottom: 0;
}

.about-page-section-with-media {
    display: grid;
    gap: 18px;
}

.about-page-section-with-media h2 {
    margin-bottom: 0;
}

.about-page-section-with-media p {
    margin-bottom: 0;
}

.about-page-section-with-media p + p {
    margin-top: 16px;
}

.about-page-section-media {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgb(80 54 44 / 12%);
    border-radius: 16px;
    background: #f3ebe3;
    box-shadow: 0 10px 28px rgb(55 42 30 / 8%);
}

.about-page-section-media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: clamp(220px, 42vw, 360px);
    object-fit: cover;
    object-position: center 40%;
}

.about-page-section-with-media .about-page-section-media img[src*="1000068076"] {
    max-height: clamp(260px, 48vw, 420px);
    object-position: center 28%;
}

.about-page-cta {
    display: flex;
    width: fit-content;
    max-width: 100%;
    min-height: 60px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 16px auto 0;
    padding: 12px 16px 12px 24px;
    border: 1px solid #50362C;
    border-radius: 999px;
    background: linear-gradient(135deg, #6D4C41, #50362C);
    box-shadow: 0 6px 18px rgb(79 49 29 / 22%);
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.about-page-cta-arrow {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: rgb(255 255 255 / 18%);
    font-size: 1.375rem;
    line-height: 1;
    transition: background-color 180ms ease, transform 180ms ease;
}

.about-page-cta:hover {
    background: linear-gradient(135deg, #50362C, #473624);
    box-shadow: 0 9px 22px rgb(79 49 29 / 28%);
    transform: translateY(-2px);
}

.about-page-cta:hover .about-page-cta-arrow {
    background: rgb(255 255 255 / 26%);
    transform: translateX(2px);
}

@media (max-width: 720px) {
    .about-page-cta {
        width: 100%;
        gap: 12px;
        padding-right: 12px;
        padding-left: 16px;
        font-size: 1rem;
    }

    .about-page-photo {
        margin: 0 0 var(--page-block-gap);
        aspect-ratio: 5 / 4;
    }

    .about-story-stack {
        gap: 16px;
        margin-bottom: 40px;
    }

    .about-story-bubble {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 18px 16px 20px;
    }

    .about-story-bubble-step {
        width: 2.1rem;
        height: 2.1rem;
        font-size: 0.72rem;
    }

    .about-story-bubble-heading {
        font-size: clamp(1.25rem, 5.5vw, 1.5rem);
    }

    .about-story-bubble p {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    .about-story-bubble-highlight {
        padding: 12px 12px 12px 14px;
    }

    .about-page-section {
        margin: 0 0 var(--page-block-gap);
        padding: var(--page-card-pad);
    }

    .about-page-section p {
        font-size: 1.1875rem;
        line-height: 1.8;
    }
}

@media (max-width: 480px) {
    .about-page-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-page-back,
    .about-page-back-arrow,
    .about-page-cta,
    .about-page-cta-arrow {
        transition: none;
    }
}
