/* Burma Group — styles propres au site institutionnel (après group.css) */

/* Les animations latérales (data-reveal="left|right") ne doivent pas élargir la page sur mobile */
main { overflow-x: clip; }

/* Largeur de contenu commune aux sites du groupe : 1600 px */
.shell { width: min(1600px, calc(100% - 96px)); }
@media (max-width: 1024px) { .shell { width: calc(100% - 48px); } }
@media (max-width: 640px) { .shell { width: calc(100% - 32px); } }

@media (min-width: 641px) {
    .masthead, .is-compact .masthead { width: min(1600px, calc(100% - 96px)); }
}
@media (min-width: 641px) and (max-width: 1024px) {
    .masthead, .is-compact .masthead { width: calc(100% - 48px); }
}
.primary-nav .menu-links { justify-content: center; }

.button { gap: 10px; }
.header-quote-short { display: none; }
.acq-arrow { display: inline-block; transition: transform .2s var(--ease-out); }
.button:hover .acq-arrow { transform: translateX(4px); }
@media (max-width: 640px) {
    .header-quote-long { display: none; }
    .header-quote-short { display: inline; }
    .header-quote-btn .acq-arrow { display: none; }
}

.button-outline-light {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, .32);
    color: #fff;
}
.button-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.site-footer .footer-next-actions { min-width: 360px; }
.site-footer .footer-sav-link { display: inline-flex; justify-content: center; gap: 6px; }
.gh-link-light { color: #ffadb5; }
.gh-link-light:hover { color: #fff; }

/* ===== 1. Ouverture ===== */
.gh-hero { padding: 48px 0 64px; }
.gh-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.gh-hero h1 { margin: 0 0 22px; max-width: 17ch; }
.gh-hero h1 em { font-style: normal; color: var(--red); }
.gh-hero .lead { max-width: 600px; }
.gh-hero .lead strong { color: var(--ink); font-weight: 700; }
.gh-hero-media { margin: 0; justify-self: end; width: 100%; max-width: 836px; }
.gh-hero-media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; box-shadow: 0 24px 60px -28px rgba(24, 25, 27, .45); }
.gh-hero-media figcaption { margin-top: 12px; font-size: var(--font-xs); color: var(--muted); }

/* ===== 2. Chiffres clés ===== */
.gh-figures { border-block: 1px solid var(--line); background: #fff; }
.gh-figures-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.gh-figures-grid > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 32px 28px; border-left: 1px solid var(--line); }
.gh-figures-grid > div:first-child { border-left: 0; padding-left: 0; }
.gh-figures-grid dd { margin: 0; font-family: 'Encode Sans Condensed', 'Encode Sans', sans-serif; font-weight: 800; font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3.25rem); line-height: 1; letter-spacing: -.02em; color: var(--red); font-variant-numeric: tabular-nums; }
.gh-figures-grid dt { font-size: var(--font-sm); color: var(--muted); max-width: 220px; }

/* ===== 3. Nos entreprises ===== */
.gh-companies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.gh-company { display: flex; flex-direction: column; padding: 40px; border-radius: 14px; border: 1px solid var(--line); background: #fff; transition: transform .3s var(--ease-out), box-shadow .3s ease; }
.gh-company:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(24, 25, 27, .35); }
.gh-company-head { display: flex; align-items: center; gap: 24px; min-height: 96px; margin-bottom: 26px; }
.gh-company-logo { width: auto; height: 84px; flex-shrink: 0; }
.gh-company-tag { margin: 0; font-size: var(--font-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.gh-company h3 { font-size: clamp(1.35rem, 1.1rem + .7vw, 1.75rem); margin: 0 0 24px; max-width: 30ch; }
.gh-poles { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 0; }
.gh-poles li { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); }
.gh-poles li:last-child { border-bottom: 1px solid var(--line); }
.gh-poles strong { font-weight: 800; color: var(--red); }
.gh-poles span { color: var(--muted); font-size: .95rem; }
.gh-company-note { font-size: var(--font-sm); color: var(--muted); margin: 0 0 28px; }
.gh-company-cta { margin-top: auto; align-self: flex-start; gap: 10px; }

.gh-company-izi { background: #18191b; border-color: #18191b; color: #fff; }
.gh-company-izi .gh-company-logo { border-radius: 10px; }
.gh-company-izi .gh-company-tag, .gh-company-izi .gh-poles span, .gh-company-izi .gh-company-note { color: #c4c7cd; }
.gh-company-izi .gh-poles li { border-color: rgba(255, 255, 255, .14); }
.gh-company-izi .gh-poles strong { color: #fff; }
.gh-company-izi .gh-company-cta { background: #fff; border-color: #fff; color: var(--ink); }
.gh-company-izi .gh-company-cta:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ===== 4. Histoire et valeurs ===== */
.gh-story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.gh-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.gh-timeline li { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid #dcdee2; }
.gh-timeline li:first-child { border-top: 3px solid var(--red); }
.gh-year { font-family: 'Encode Sans Condensed', 'Encode Sans', sans-serif; font-weight: 800; font-size: 1.75rem; line-height: 1.1; color: var(--ink); }
.gh-timeline p { margin: 0; color: var(--muted); }
.gh-values { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gh-values li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.gh-value-mark { display: block; width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--red); border-right-color: transparent; transform: rotate(-30deg); margin-bottom: 18px; }
.gh-values h3 { margin-bottom: 6px; }
.gh-values p { margin: 0; color: var(--muted); }

/* ===== 5. RSE ===== */
.gh-rse .section-heading { margin-bottom: 40px; }
.gh-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.gh-steps li { padding: 28px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.gh-step-num { display: block; font-family: 'Encode Sans Condensed', 'Encode Sans', sans-serif; font-weight: 800; font-size: 1rem; color: #ffadb5; margin-bottom: 16px; letter-spacing: .06em; }
.gh-steps h3 { color: #fff; }
.gh-steps p { margin: 0; color: #c9cbd0; font-size: .95rem; }

/* ===== 6. Équipe ===== */
.gh-team-media { margin: 0 0 36px; }
.gh-team-media img { display: block; width: 100%; aspect-ratio: 2000 / 585; object-fit: cover; border-radius: 14px; }
.gh-team-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.gh-team-text h2 { margin: 0; }
.gh-team-text .lead { margin-bottom: 12px; }

/* ===== 7. Références ===== */
.gh-refs { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.gh-refs-logos { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.gh-refs-logos img { display: block; width: 100%; max-width: 1000px; margin-inline: auto; }
.gh-brands { margin-top: 40px; padding-top: 24px; border-top: 1px solid #dcdee2; }
.gh-brands-label { font-size: var(--font-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 16px; }
.gh-brands ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.gh-brands img { mix-blend-mode: multiply; display: block; height: 24px; width: auto; max-width: 110px; object-fit: contain; }

/* ===== Tablette ===== */
@media (max-width: 1200px) {
    .gh-hero-grid, .gh-story, .gh-refs { gap: 40px; }
    .gh-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gh-company { padding: 32px; }
}
@media (max-width: 1024px) {
    .gh-hero-grid { grid-template-columns: 1fr; }
    .gh-hero h1 { max-width: 18ch; }
    .gh-hero-media { justify-self: stretch; max-width: none; }
    .gh-figures-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gh-figures-grid > div { padding: 24px; }
    .gh-figures-grid > div:nth-child(odd) { border-left: 0; padding-left: 0; }
    .gh-figures-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .gh-companies { grid-template-columns: 1fr; }
    .gh-story, .gh-refs, .gh-team-text { grid-template-columns: 1fr; }
    .gh-values { grid-template-columns: 1fr; }
    .gh-team-text { gap: 16px; }
    .site-footer .footer-next-actions { min-width: 0; }
}

/* ===== Mobile ===== */
@media (max-width: 640px) {
    .gh-hero { padding: 28px 0 40px; }
    .gh-hero .actions { flex-direction: column; align-items: stretch; }
    .gh-figures-grid > div { padding: 20px 14px 20px 0; }
    .gh-figures-grid > div:nth-child(even) { padding-left: 16px; padding-right: 0; }
    .gh-company { padding: 24px 20px; }
    .gh-company-head { flex-direction: column; align-items: flex-start; gap: 14px; min-height: 0; }
    .gh-company-logo { height: 64px; }
    .gh-poles li { grid-template-columns: 1fr; gap: 4px; }
    .gh-company-cta { align-self: stretch; }
    .gh-timeline li { grid-template-columns: 1fr; gap: 6px; }
    .gh-year { font-size: 1.4rem; }
    .gh-values { margin-top: 36px; gap: 12px; }
    .gh-values li { display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; padding: 20px; }
    .gh-value-mark { width: 26px; height: 26px; margin: 0; grid-row: 1 / span 2; }
    .gh-steps { grid-template-columns: 1fr; }
    .gh-steps li { padding: 22px; }
    .gh-team-media img { aspect-ratio: 4 / 3; object-position: 40% center; }
    .gh-refs-logos { padding: 14px; }
    .site-footer .footer-next-actions .button { white-space: normal; text-align: left; }
}
