/* ============================================================
   SAVOIR-FAIRE-ATELIER.CSS — Journal AdLucem, article n°08
   Fond blanc de bout en bout : hero éditorial (texte + bande
   photo), piliers, galerie deux-colonnes, CTA et related en clair.
   Réutilise dot-nav / lead / chapters de beton-cire-mur.css.
   ============================================================ */

.at3 {
    --at3-gold: #b8892f;
    background: #fbfdfd;
}

.at3 * {
    box-sizing: border-box;
}

.at3-lead-grid {
    position: relative;
}

.at3-lead {
    background: #ffffff;
}

#at3-ch-01 {
    background: #ffffff;
}

#at3-ch-03 {
    background: #fafbfa;
}

#at3-ch-05 {
    background: #ffffff;
}

/* ---------- HERO ---------- */
.at3-hero {
    background: #fbfdfd;
    padding: clamp(6.5rem, 13vh, 9.5rem) clamp(1.5rem, 5vw, 4rem) 0;
}

.at3-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.6rem;
    list-style: none;
    margin: 0 0 2.2rem;
    padding: 0;
    font-size: 0.75rem;
    color: var(--wm-muted);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.at3-breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 0.6rem;
    opacity: 0.5;
}

.at3-breadcrumb a {
    color: var(--wm-muted);
    text-decoration: none;
}

.at3-breadcrumb a:hover {
    color: var(--wm-dark);
}

.at3-hero-head {
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    text-align: left;
}

.at3-hero-video {
    flex: 0 0 auto;
    width: 6cm;
    height: 6cm;
    object-fit: cover;
    border-radius: 4px;
    background: #fbfdfd;
}

.at3-hero-head-text {
    flex: 1 1 auto;
    min-width: 0;
}

@media (max-width: 700px) {
    .at3-hero-head {
        flex-direction: column;
        text-align: center;
    }

    .at3-hero-video {
        width: min(100%, 340px);
        height: auto;
        aspect-ratio: 1 / 1;
    }
}

/* ---------- CHAPTER HEAD + VIDEO (ch.02) ---------- */
.at3-chapter-head--video {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.8rem;
}

.at3-chapter-head-text {
    flex: 1 1 auto;
    min-width: 0;
    margin-bottom: 0;
}

.at3-chapter-video {
    flex: 0 0 auto;
}

.at3-video-contain {
    object-fit: contain;
    background: #ffffff;
    width: 8.5cm;
    height: 8.5cm;
}

/* ---------- BOTTOM VIDEO (ch.03, collée au trait de séparation du bas) ---------- */
.at3-bottom-video {
    display: block;
    width: 7cm;
    height: auto;
    margin: 1.8rem auto calc(-1 * clamp(3rem, 6vw, 5rem)) auto;
    border-radius: 4px;
}

@media (max-width: 700px) {
    .at3-bottom-video {
        width: min(100%, 340px);
    }
}

/* ---------- STICK-MAN VIDEO (ch.05, petite, sans crop) ---------- */
.at3-stick-video {
    flex: 0 0 auto;
    display: block;
    width: 5.5cm;
    height: auto;
    aspect-ratio: 1080 / 984;
    object-fit: contain;
    background: #ffffff;
    border-radius: 4px;
}

@media (max-width: 700px) {
    .at3-stick-video {
        width: min(100%, 340px);
        align-self: center;
    }
}

@media (max-width: 700px) {
    .at3-chapter-head--video {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }

    .at3-chapter-video {
        width: min(100%, 340px);
        height: auto;
        aspect-ratio: 1 / 1;
        align-self: center;
    }
}

.at3-hero-kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--at3-gold);
    margin-bottom: 1.3rem;
}

.at3-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 1.3rem;
    color: var(--wm-dark);
}

.at3-hero-title em {
    font-style: italic;
    color: var(--at3-gold);
}

.at3-hero-sub {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    font-weight: 300;
    color: #3a3632;
    max-width: 56ch;
    margin: 0 0 1.6rem;
    line-height: 1.65;
}

.at3-hero-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    font-size: 0.78rem;
    color: var(--wm-muted);
    margin-bottom: 2.5rem;
}

.at3-meta-sep {
    opacity: 0.5;
}

.at3-hero-photo {
    max-width: 1400px;
    margin: 0 auto;
}

.at3-hero-photo img {
    width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
}

/* ---------- SIDE VIDEO (lead, pinned right) ---------- */
.at3-side-video {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 7.5cm;
    height: 7.5cm;
    object-fit: contain;
    border-radius: 4px;
    background: #ffffff;
    z-index: 2;
}

@media (max-width: 700px) {
    .at3-side-video {
        display: none;
    }
}

.at3-hero-photo figcaption {
    text-align: center;
    font-size: 0.8rem;
    font-style: italic;
    color: var(--wm-muted);
    padding: 1rem clamp(1.5rem, 5vw, 4rem) 0;
}

@media (max-width: 640px) {
    .at3-hero-photo img {
        max-height: 320px;
    }
}

/* ---------- DOT NAV color override ---------- */
.at3-dotnav a:hover span,
.at3-dotnav a.active span {
    background: var(--at3-gold);
}

/* ---------- PILLARS (ch.01) ---------- */
.at3-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--wm-border);
    border: 1px solid var(--wm-border);
    margin-top: 2.2rem;
}

.at3-pillar {
    background: #fbfdfd;
    padding: 1.6rem 1.4rem;
}

.at3-pillar-num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--at3-gold);
    margin-bottom: 0.6rem;
}

.at3-pillar h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--wm-dark);
    margin: 0 0 0.5rem;
}

.at3-pillar p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--wm-muted);
    margin: 0;
}

@media (max-width: 900px) {
    .at3-pillars {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .at3-pillars {
        grid-template-columns: 1fr;
    }
}

/* ---------- FIGURES (ch.02 / 03 / 04) ---------- */
.at3-two-col {
    align-items: center;
}

.at3-fig img {
    border-radius: 2px;
}

.at3-fig--wide {
    margin: 1.75rem 0;
}

.at3-fig--wide img {
    max-height: 640px;
    object-fit: cover;
    width: 100%;
}

/* ---------- STATS (ch.06) override ---------- */
.at3-stats .wm-stat-val {
    color: var(--at3-gold);
}

/* ---------- CTA (fond blanc) ---------- */
.at3-cta {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
    text-align: center;
    border-top: 1px solid var(--wm-border);
}

.at3-cta-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--at3-gold);
    margin: 0 0 1.1rem;
}

.at3-cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--wm-dark);
    letter-spacing: -0.02em;
}

.at3-cta-sub {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    font-weight: 300;
    color: var(--wm-muted);
    max-width: 52ch;
    margin: 0 auto 2.4rem;
    line-height: 1.72;
}

.at3-cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.at3-btn-dark {
    background: var(--wm-dark);
    color: #fff;
}

.at3-btn-outline {
    background: transparent;
    color: var(--wm-dark);
    border: 1px solid var(--wm-border);
}

.at3-btn-outline:hover {
    border-color: var(--wm-dark);
}

/* ---------- RELATED (fond blanc) ---------- */
.at3-related {
    background: #fbfdfd;
    padding: 0 clamp(1.5rem, 5vw, 4rem) clamp(4rem, 7vw, 6rem);
}

.at3-related-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.at3-related-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 2.2rem;
}

.at3-related-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 700;
    margin: 0;
    color: var(--wm-dark);
}

.at3-related-title em {
    color: var(--at3-gold);
    font-style: italic;
}

.at3-related-all {
    font-size: 0.82rem;
    color: var(--wm-muted);
    text-decoration: none;
}

.at3-related-all:hover {
    color: var(--wm-dark);
}

.at3-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--wm-border);
    border: 1px solid var(--wm-border);
}

.at3-rel-card {
    display: block;
    text-decoration: none;
    color: var(--wm-dark);
    background: #fbfdfd;
    transition: background 0.25s;
}

.at3-rel-card:hover {
    background: #faf8f5;
}

.at3-rel-img img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    filter: grayscale(35%);
    transition: filter 0.35s;
}

.at3-rel-card:hover .at3-rel-img img {
    filter: grayscale(0%);
}

.at3-rel-body {
    padding: 1.4rem;
}

.at3-rel-body .art-tag {
    background: rgba(14, 14, 14, 0.06);
    border-color: rgba(14, 14, 14, 0.14);
    color: var(--wm-dark);
    margin-bottom: 0.7rem;
    display: inline-block;
}

.at3-rel-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.4rem 0 0.5rem;
    color: var(--wm-dark);
    line-height: 1.35;
}

.at3-rel-num {
    font-size: 0.78rem;
    color: var(--wm-muted);
    font-style: italic;
}

@media (max-width: 768px) {
    .at3-related-grid {
        grid-template-columns: 1fr;
    }

    .at3-related-head {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .at3-cta-btns {
        flex-direction: column;
        align-items: stretch;
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 900px) {
    .at3-two-col,
    .at3-two-col.art-two-col--rev {
        grid-template-columns: 1fr;
    }

    .at3-two-col.art-two-col--rev .art-two-col-text {
        order: 1;
    }

    .at3-two-col.art-two-col--rev .at3-fig {
        order: 0;
    }
}
