/********** Dr T. Habmon — Design maquette **********/
:root {
    --brand: #a66e38;
    --brand-dark: #8b5729;
    --brand-soft: #f3e8dc;
    --ink: #1c1c1c;
    --muted: #6b6b6b;
    --line: #ececec;
    --surface: #f7f5f2;
    --white: #ffffff;
    --footer: #141414;
    --radius: 10px;
    --shadow: 0 10px 30px rgba(28, 28, 28, 0.08);
    --shadow-sm: 0 6px 18px rgba(28, 28, 28, 0.06);
    --font: 'Poppins', system-ui, sans-serif;
    --font-brand: 'Cormorant Garamond', Georgia, serif;
    --header-h: 78px;
    --tabbar-h: 0px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: var(--font);
    color: var(--ink);
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--white);
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
    transition: .25s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.text-primary {
    color: var(--brand) !important;
}

.bg-primary {
    background-color: var(--brand) !important;
}

.btn-primary {
    background-color: var(--brand) !important;
    border-color: var(--brand) !important;
}

.btn-primary:hover {
    background-color: var(--brand-dark) !important;
    border-color: var(--brand-dark) !important;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -60px;
    z-index: 2100;
    background: var(--ink);
    color: #fff;
    padding: .6rem 1rem;
    border-radius: 8px;
    font-size: .9rem;
}

.skip-link:focus {
    top: 1rem;
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.back-to-top {
    position: fixed;
    right: 28px;
    bottom: calc(28px + var(--tabbar-h) + var(--safe-bottom));
    z-index: 1020;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(166, 110, 56, .35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.back-to-top:hover {
    background: var(--brand-dark);
}

/*** Buttons ***/
.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand);
    color: var(--white) !important;
    border: 1px solid var(--brand);
    border-radius: 8px;
    padding: 12px 22px;
    font-weight: 500;
    font-size: 0.92rem;
    line-height: 1.2;
    transition: .25s ease;
}

.btn-brand:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: var(--white) !important;
    transform: translateY(-1px);
}

.btn-outline-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--brand) !important;
    border: 1.5px solid var(--brand);
    border-radius: 8px;
    padding: 11px 22px;
    font-weight: 500;
    font-size: 0.92rem;
    line-height: 1.2;
    transition: .25s ease;
}

.btn-outline-brand:hover {
    background: var(--brand);
    color: #fff !important;
}

.btn-outline-light-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--white) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    padding: 12px 22px;
    font-weight: 500;
    font-size: 0.92rem;
    transition: .25s ease;
}

.btn-outline-light-hero:hover {
    background: var(--white);
    color: var(--ink) !important;
}

/*** Header ***/
.site-header {
    background: var(--white);
    box-shadow: 0 1px 0 var(--line);
    z-index: 1030;
    transition: box-shadow .3s ease, transform .3s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.is-scrolled {
    box-shadow: 0 8px 24px rgba(28, 28, 28, 0.08);
}

.site-header .navbar {
    min-height: 78px;
}

.brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--brand-soft);
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.brand-text {
    font-family: var(--font-brand);
    font-weight: 700;
    font-size: 1.45rem;
    color: #3a2414;
    letter-spacing: 0.01em;
}

.site-header .nav-link {
    color: #3d3d3d !important;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.85rem 0.85rem !important;
    position: relative;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: var(--brand) !important;
}

.site-header .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.45rem;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
}

.header-actions .btn-icon {
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    color: #444;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.header-actions .btn-icon:hover {
    color: var(--brand);
    background: var(--brand-soft);
}

.btn-brand-sm {
    padding: 8px 14px;
    font-size: 0.82rem;
}

.header-mobile-cta {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.header-bar {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.desktop-nav {
    min-width: 0;
}

/*** Mobile sidebar ***/
.sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: rgba(20, 16, 12, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.sidebar-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

.nav-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1050;
    width: min(86vw, 340px);
    height: 100%;
    height: 100dvh;
    background: var(--white);
    box-shadow: none;
    visibility: hidden;
    transform: translateX(105%);
    transition: transform .32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear .32s, box-shadow .32s ease;
    display: flex;
    flex-direction: column;
    padding-top: env(safe-area-inset-top, 0);
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.nav-sidebar.is-open {
    transform: translateX(0);
    visibility: visible;
    box-shadow: -12px 0 40px rgba(28, 28, 28, 0.14);
    transition: transform .32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s, box-shadow .32s ease;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
}

.sidebar-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    padding: 1rem 1.15rem 1.5rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.btn-close-sidebar {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 10px;
    background: var(--brand-soft);
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: .2s ease;
    flex-shrink: 0;
}

.btn-close-sidebar:hover {
    background: var(--brand);
    color: #fff;
}

.sidebar-nav {
    gap: 0.25rem;
    margin-bottom: 1.25rem;
}

.sidebar-profile {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
}

.sidebar-profile img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--brand-soft);
}

.sidebar-profile strong {
    display: block;
    font-size: .98rem;
    line-height: 1.25;
    color: var(--ink);
}

.sidebar-profile span {
    display: block;
    font-size: .78rem;
    color: var(--muted);
    line-height: 1.3;
}

.sidebar-nav .nav-link {
    color: #3d3d3d !important;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.6rem 0.75rem !important;
    border-radius: 12px;
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: .85rem;
}

.sidebar-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--surface);
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    flex-shrink: 0;
    transition: .2s ease;
}

.sidebar-chevron {
    font-size: .7rem;
    color: #b9b2aa;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
    background: var(--brand-soft);
    color: var(--brand) !important;
}

.sidebar-nav .nav-link.active .sidebar-icon {
    background: var(--brand);
    color: #fff;
}

.sidebar-nav .nav-link.active .sidebar-chevron {
    color: var(--brand);
}

.sidebar-mail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-size: .85rem;
    color: var(--muted);
    min-height: 44px;
    margin-bottom: .35rem;
    overflow-wrap: anywhere;
}

.sidebar-mail i {
    color: var(--brand);
}

.sidebar-nav .nav-link.active::after {
    display: none;
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    flex-shrink: 0;
}

.sidebar-footer .btn-brand {
    min-height: 50px;
    margin-bottom: 0.4rem;
}

.sidebar-tagline {
    text-align: center;
    font-size: 0.78rem;
    color: var(--muted);
}

@media (min-width: 992px) {
    .nav-sidebar,
    .sidebar-backdrop {
        display: none !important;
    }
}

/*** Credentials track ***/
.cred-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.cred-track .cred-card {
    min-width: 0;
}

/*** Hero ***/
.hero-section {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% top;
    transform-origin: 68% top;
    animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: 65% center;
    transform: scale(1.02);
    animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(18, 14, 10, 0.78) 0%, rgba(18, 14, 10, 0.52) 42%, rgba(18, 14, 10, 0.22) 68%, rgba(166, 110, 56, 0.18) 100%),
        linear-gradient(0deg, rgba(20, 14, 10, 0.35) 0%, transparent 40%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 5rem;
    padding-bottom: 6.5rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.1rem;
    color: #fff;
}

.hero-title span {
    color: #e8b07a;
}

.hero-lead {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 34rem;
    margin-bottom: 1.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

/*** Credentials ***/
.section-credentials {
    margin-top: -3.5rem;
    position: relative;
    z-index: 3;
    padding-bottom: 1rem;
}

.cred-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem 1.25rem;
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease;
}

.cred-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(28, 28, 28, 0.1);
}

.cred-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--brand-soft);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.cred-card h3 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: var(--ink);
}

/*** Sections common ***/
.section-about,
.section-engagement,
.section-reflexions {
    padding: 5rem 0;
}

.section-label {
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.section-label::before {
    content: "— ";
}

.section-heading {
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-text {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.about-media,
.engagement-media {
    position: relative;
}

.about-media img,
.engagement-media > img {
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
    min-height: 420px;
    max-height: 520px;
}

.mini-feature,
.vision-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.9rem 1rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.mini-feature-icon,
.vision-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 8px;
    background: var(--brand-soft);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-feature strong,
.vision-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--ink);
}

.mini-feature span,
.vision-item small {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
}

.section-engagement {
    background: var(--surface);
}

.quote-card {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: -1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 1.25rem 1.4rem 1.25rem 3.2rem;
}

.quote-mark {
    position: absolute;
    left: 1.15rem;
    top: 1.2rem;
    color: var(--brand);
    font-size: 1.15rem;
}

.quote-card p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--ink);
    line-height: 1.45;
}

.quote-card strong {
    color: var(--brand);
}

@media (max-width: 991.98px) {
    .about-media img,
    .engagement-media > img {
        min-height: 280px;
    }
}

/*** Posts ***/
.post-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform .3s ease, box-shadow .3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.post-card-img {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.post-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.post-card:hover .post-card-img img {
    transform: scale(1.05);
}

.post-card-body {
    padding: 1.35rem 1.35rem 1.5rem;
}

.post-date {
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 0.65rem;
}

.post-title {
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.post-title a:hover {
    color: var(--brand);
}

.post-excerpt {
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 1rem;
}

.post-more {
    color: var(--brand);
    font-weight: 600;
    font-size: 0.9rem;
}

.post-more i {
    font-size: 0.75rem;
    margin-left: 0.25rem;
}

.post-more:hover {
    color: var(--brand-dark);
}

@media (min-width: 992px) {
    .w-lg-auto {
        width: auto !important;
    }

    .header-mobile-cta {
        display: none !important;
    }
}

/*** Footer ***/
.site-footer {
    background: var(--footer);
    color: rgba(255, 255, 255, 0.78);
    margin-top: 0;
}

.footer-brand .brand-text {
    color: #fff;
}

.footer-brand .brand-icon {
    background: rgba(166, 110, 56, 0.25);
    color: #e8b07a;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.65);
    max-width: 22rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.footer-social a:hover {
    background: var(--brand);
    border-color: var(--brand);
}

.footer-title {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 1.15rem;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.55rem;
}

.footer-links a:hover {
    color: #e8b07a;
}

.footer-contact i {
    color: var(--brand);
    width: 1.1rem;
    margin-right: 0.35rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.1rem 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
}

/*** Inner pages ***/
.page-header-banner {
    background: linear-gradient(120deg, #1f140c 0%, #3d2716 55%, #6e4724 100%);
    color: #fff;
    padding: 4.5rem 0 3.5rem;
}

.page-header-banner h1,
.page-header-banner .h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.page-header-banner p {
    color: rgba(255, 255, 255, 0.92);
}

.page-header-banner .breadcrumb {
    margin: 0;
    background: transparent;
    padding: 0;
    font-weight: 500;
}

.page-header-banner .breadcrumb-item,
.page-header-banner .breadcrumb-item a,
.page-header-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.85);
}

.page-header-banner .breadcrumb-item a:hover {
    color: #fff;
    text-decoration: underline;
}

.page-header-banner .breadcrumb-item.active {
    color: #f3d9b8;
}

.content-wrap {
    padding: 4rem 0;
}

.form-floating > .form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(166, 110, 56, 0.15);
}

.contact-panel {
    background: var(--surface);
    border-radius: 14px;
    padding: 2rem;
    height: 100%;
}

.alert-success {
    border-radius: 10px;
}

.post-cat {
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.35rem;
}

/*** Documents ***/
.doc-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.5rem 1.35rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}

.doc-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.doc-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--brand-soft);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.doc-cat {
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
}

.doc-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.65rem;
    line-height: 1.35;
}

.doc-desc {
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 0.85rem;
}

.doc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: var(--muted);
    font-size: 0.82rem;
    margin-bottom: 1rem;
}

/*** Galerie ***/
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.gallery-filter {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 500;
}

.gallery-filter:hover,
.gallery-filter.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.gallery-item {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 0.85rem;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
    color: #fff;
    font-size: 0.85rem;
    line-height: 1.3;
}

.gallery-caption small {
    display: block;
    opacity: 0.85;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.15rem;
}

/*** Composants : contact, état vide, articles, partage ***/
.contact-panel-title,
.related-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.contact-form textarea.form-control {
    min-height: 170px;
    resize: vertical;
}

.contact-mail-card {
    display: flex;
    align-items: center;
    gap: .9rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: .9rem 1rem;
    min-width: 0;
}

.contact-mail-card:hover {
    border-color: var(--brand);
}

.contact-mail-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--brand-soft);
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-mail-card small {
    display: block;
    color: var(--muted);
    font-size: .78rem;
}

.contact-mail-card strong {
    display: block;
    font-weight: 600;
    font-size: .95rem;
    color: var(--ink);
    overflow-wrap: anywhere;
}

.contact-mail-card > span:last-child {
    min-width: 0;
}

.was-validated .form-control:valid {
    border-color: #ced4da;
    background-image: none;
    padding-right: .75rem;
}

.was-validated .form-control:valid:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(166, 110, 56, 0.15);
}

.btn-brand:disabled,
.btn-brand.is-loading {
    opacity: .8;
    pointer-events: none;
}

.btn-spinner {
    width: 1em;
    height: 1em;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    margin-right: .55rem;
    animation: spin .7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.empty-state {
    padding: 2.5rem 1.5rem;
}

.empty-state > i {
    display: block;
    font-size: 2rem;
    color: var(--brand);
    opacity: .55;
    margin-bottom: .85rem;
}

.post-card {
    position: relative;
}

.post-title a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.read-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 1060;
    pointer-events: none;
}

.read-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--brand), #e8b07a);
    transform: scaleX(0);
    transform-origin: left center;
}

.page-header-banner--compact {
    padding: 1.6rem 0 1.4rem;
}

.article-wrap {
    padding-top: 2.5rem;
}

.article-head {
    margin-bottom: 1.5rem;
}

.article-title {
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    font-weight: 700;
    line-height: 1.22;
    margin-bottom: .9rem;
    letter-spacing: -.01em;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1.25rem;
    color: var(--muted);
    font-size: .88rem;
    margin: 0;
}

.article-meta i {
    color: var(--brand);
    margin-right: .3rem;
}

.article-figure {
    margin: 0 0 2rem;
}

.article-figure img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 14px;
    background: var(--surface);
}

.article-body {
    font-size: 1.06rem;
    line-height: 1.85;
    color: #2b2b2b;
    overflow-wrap: break-word;
}

.article-body p,
.article-body ul,
.article-body ol,
.article-body blockquote,
.article-body figure {
    margin-bottom: 1.35rem;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    margin: 2.2rem 0 .9rem;
    line-height: 1.3;
}

.article-body h2 { font-size: 1.45rem; }
.article-body h3 { font-size: 1.22rem; }
.article-body h4 { font-size: 1.08rem; }

.article-body a {
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body img {
    border-radius: 10px;
    margin: 1.5rem auto;
    height: auto;
}

.article-body ul,
.article-body ol {
    padding-left: 1.25rem;
}

.article-body li {
    margin-bottom: .45rem;
}

.article-body blockquote {
    border-left: 3px solid var(--brand);
    background: var(--surface);
    padding: 1rem 1.25rem;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: var(--ink);
}

.article-body table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.article-body td,
.article-body th {
    border: 1px solid var(--line);
    padding: .5rem .75rem;
}

.share-bar {
    margin-top: 2.5rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .9rem;
}

.share-title {
    margin: 0;
    font-weight: 600;
    font-size: .95rem;
}

.share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    color: #fff !important;
    font-size: 1rem;
    transition: transform .2s ease, opacity .2s ease;
    -webkit-tap-highlight-color: transparent;
}

.share-btn:hover {
    opacity: .9;
    transform: translateY(-2px);
}

.share-native {
    width: auto;
    border-radius: 999px;
    padding: 0 1.1rem;
    background: var(--brand);
    font-size: .9rem;
    font-weight: 600;
}

.share-whatsapp { background: #25d366; }
.share-facebook { background: #1877f2; }
.share-linkedin { background: #0a66c2; }
.share-x { background: #111; }
.share-copy { background: #6b6b6b; }

@media (min-width: 992px) {
    .related-panel {
        height: auto;
        position: sticky;
        top: calc(var(--header-h) + 20px);
    }
}

.related-item {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .65rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.related-item:last-of-type {
    border-bottom: 0;
    margin-bottom: 1rem;
}

.related-item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.related-item strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ink);
}

.related-item small {
    color: var(--muted);
    font-size: .78rem;
}

.related-item:hover strong {
    color: var(--brand);
}

/*** Toast ***/
.app-toast {
    position: fixed;
    left: 50%;
    bottom: calc(24px + var(--tabbar-h) + var(--safe-bottom));
    z-index: 2050;
    background: rgba(28, 28, 28, .94);
    color: #fff;
    padding: .7rem 1.15rem;
    border-radius: 999px;
    font-size: .9rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

.app-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/*** Visionneuse ***/
body.lightbox-open {
    overflow: hidden;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: #0c0a08;
    opacity: 0;
    transition: opacity .25s ease;
    touch-action: pan-y pinch-zoom;
}

.lightbox.is-open {
    opacity: 1;
}

.lightbox-stage {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(64px + env(safe-area-inset-top, 0px)) 1rem calc(80px + var(--safe-bottom));
}

.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
    opacity: 0;
    transition: opacity .25s ease, transform .2s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-img.is-loaded {
    opacity: 1;
}

.lightbox-top {
    position: absolute;
    top: env(safe-area-inset-top, 0px);
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 1rem;
}

.lightbox-counter {
    color: rgba(255, 255, 255, .8);
    font-size: .9rem;
    font-variant-numeric: tabular-nums;
}

.lightbox-btn {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: background .2s ease;
    -webkit-tap-highlight-color: transparent;
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, .24);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox.is-single .lightbox-prev,
.lightbox.is-single .lightbox-next,
.lightbox.is-single .lightbox-counter {
    display: none;
}

.lightbox-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    margin: 0;
    padding: 1rem 1.25rem calc(1rem + var(--safe-bottom));
    color: rgba(255, 255, 255, .9);
    font-size: .92rem;
    text-align: center;
    background: linear-gradient(transparent, rgba(0, 0, 0, .6));
}

/*** Barre d'onglets mobile ***/
.mobile-tabbar {
    display: none;
}

/* =========================================================
   MOBILE / RESPONSIVE UX
   ========================================================= */

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
    -webkit-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

a,
button,
.btn-brand,
.btn-outline-brand,
.btn-outline-light-hero,
.nav-link,
.gallery-filter,
.gallery-item {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.burger {
    position: relative;
    width: 20px;
    height: 14px;
    display: inline-block;
}

.burger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--brand);
    transition: transform .25s ease, opacity .2s ease, top .25s ease;
}

.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 6px; width: 70%; }
.burger span:nth-child(3) { top: 12px; }

/* Les effets de survol n'ont pas de sens au doigt : retour tactile à la place */
@media (hover: none) {
    .cred-card:hover,
    .post-card:hover,
    .doc-card:hover,
    .btn-brand:hover,
    .share-btn:hover {
        transform: none;
    }

    .post-card:hover .post-card-img img,
    .gallery-item:hover img {
        transform: none;
    }

    .post-card:active,
    .doc-card:active,
    .cred-card:active {
        transform: scale(.985);
        transition-duration: .1s;
    }

    .btn-brand:active,
    .btn-outline-brand:active,
    .btn-outline-light-hero:active,
    .share-btn:active,
    .gallery-item:active {
        transform: scale(.97);
        transition-duration: .1s;
    }

    .sidebar-nav .nav-link:active {
        background: var(--brand-soft);
    }
}

/* —— Tablette et mobile —— */
@media (max-width: 991.98px) {
    :root {
        --header-h: 60px;
        --tabbar-h: 64px;
    }

    body {
        padding-bottom: calc(var(--tabbar-h) + var(--safe-bottom));
    }

    .row.g-5,
    .row.g-lg-5 {
        --bs-gutter-x: 1.5rem;
    }

    .site-header .navbar {
        min-height: var(--header-h);
    }

    .site-header.is-hidden {
        transform: translateY(-100%);
        box-shadow: none;
    }

    .header-mobile-cta {
        display: flex;
        margin-left: auto;
    }

    .sidebar-toggler {
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background: var(--brand-soft);
    }

    .sidebar-toggler[aria-expanded="true"] .burger span:nth-child(1) { top: 6px; transform: rotate(45deg); }
    .sidebar-toggler[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
    .sidebar-toggler[aria-expanded="true"] .burger span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

    /* Barre d'onglets */
    .mobile-tabbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1035;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        height: calc(var(--tabbar-h) + var(--safe-bottom));
        padding: 0 max(.25rem, env(safe-area-inset-left)) var(--safe-bottom) max(.25rem, env(safe-area-inset-right));
        background: rgba(255, 255, 255, .94);
        -webkit-backdrop-filter: saturate(180%) blur(14px);
        backdrop-filter: saturate(180%) blur(14px);
        border-top: 1px solid rgba(0, 0, 0, .07);
        box-shadow: 0 -6px 20px rgba(28, 28, 28, .05);
        transition: transform .25s ease;
    }

    .tabbar-item {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: #8a8178;
        font-size: .68rem;
        font-weight: 500;
        letter-spacing: .01em;
        line-height: 1;
        min-height: 44px;
    }

    .tabbar-item i {
        font-size: 1.12rem;
        transition: transform .2s ease;
    }

    .tabbar-item.active {
        color: var(--brand);
        font-weight: 600;
    }

    .tabbar-item.active::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        width: 28px;
        height: 3px;
        margin-left: -14px;
        border-radius: 0 0 3px 3px;
        background: var(--brand);
    }

    .tabbar-item:active i {
        transform: scale(.88);
    }

    body.kb-open .mobile-tabbar,
    body.lightbox-open .mobile-tabbar {
        transform: translateY(110%);
    }

    body.kb-open {
        padding-bottom: 0;
    }

    body.kb-open .back-to-top {
        display: none;
    }

    .back-to-top {
        right: 14px;
        bottom: calc(14px + var(--tabbar-h) + var(--safe-bottom));
        width: 42px;
        height: 42px;
    }

    /* Hero */
    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(18, 14, 10, 0.45) 0%, rgba(18, 14, 10, 0.2) 30%, rgba(18, 14, 10, 0.75) 68%, rgba(18, 14, 10, 0.92) 100%);
    }

    .hero-bg-img {
        object-position: 70% top;
        animation: none;
    }

    .quote-card {
        position: relative;
        left: 0;
        right: 0;
        bottom: 0;
        margin-top: -1.25rem;
    }

    .about-media img,
    .engagement-media > img {
        min-height: 260px;
        max-height: 360px;
    }

    .section-about,
    .section-engagement,
    .section-reflexions {
        padding: 3.5rem 0;
    }

    /* Qualifications en grille 2 x 2 */
    .section-credentials {
        margin-top: -2rem;
        padding-bottom: .5rem;
    }

    .cred-track {
        grid-template-columns: repeat(2, 1fr);
        gap: .75rem;
    }

    .cred-card {
        padding: 1rem .9rem;
        border-radius: 12px;
    }

    .cred-icon {
        width: 38px;
        height: 38px;
        font-size: .95rem;
        margin-bottom: .65rem;
    }

    .cred-card h3 {
        font-size: .86rem;
        line-height: 1.35;
    }

    .content-wrap {
        padding: 2.5rem 0;
    }

    .page-header-banner {
        padding: 2rem 0 1.6rem;
    }

    .page-header-banner--compact {
        padding: 1rem 0 .9rem;
    }

    .page-header-banner h1,
    .page-header-banner .h1 {
        font-size: 1.75rem;
        margin-bottom: .35rem;
    }

    .page-header-banner .breadcrumb {
        font-size: .82rem;
    }

    /* Filtres : bande défilante au doigt */
    .gallery-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start !important;
        margin-inline: calc(-1 * max(.75rem, env(safe-area-inset-left)));
        padding: .15rem max(.75rem, env(safe-area-inset-left)) .5rem;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .gallery-filters::-webkit-scrollbar {
        display: none;
    }

    .gallery-filter {
        flex-shrink: 0;
        min-height: 40px;
        white-space: nowrap;
    }

    .related-panel {
        height: auto;
    }
}

/* —— Téléphone —— */
@media (max-width: 767.98px) {
    body {
        font-size: .97rem;
    }

    .brand-text {
        font-size: 1.2rem;
    }

    .brand-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    /* Hero : titre + boutons visibles sans défiler */
    .hero-section {
        min-height: min(calc(100vh - var(--header-h) - var(--tabbar-h)), 760px);
        min-height: min(calc(100svh - var(--header-h) - var(--tabbar-h) - var(--safe-bottom)), 760px);
        align-items: flex-end;
    }

    .hero-content {
        padding-top: 3rem;
        padding-bottom: 3.75rem;
        width: 100%;
    }

    .hero-badge {
        font-size: 0.66rem;
        padding: 0.38rem 0.8rem;
        margin-bottom: 0.85rem;
    }

    .hero-title {
        font-size: clamp(1.7rem, 7.4vw, 2.3rem);
        margin-bottom: 0.75rem;
        letter-spacing: -.01em;
    }

    .hero-lead {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
        line-height: 1.55;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }

    .hero-actions .btn-brand,
    .hero-actions .btn-outline-light-hero {
        width: 100%;
        min-height: 50px;
        font-size: .95rem;
    }

    .section-about,
    .section-engagement,
    .section-reflexions {
        padding: 2.75rem 0;
    }

    .section-label {
        font-size: .72rem;
        margin-bottom: .45rem;
    }

    .section-heading {
        font-size: 1.6rem;
        margin-bottom: .75rem;
    }

    .section-text {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }

    .section-about .btn-brand,
    .section-engagement .btn-brand {
        width: 100%;
        min-height: 50px;
    }

    .mini-feature {
        padding: 0.85rem 0.9rem;
    }

    /* Valeurs : icône au-dessus du texte, les mots longs tiennent */
    .vision-item {
        flex-direction: column;
        align-items: flex-start;
        gap: .6rem;
        padding: .9rem;
    }

    .vision-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .vision-item strong {
        font-size: .92rem;
        overflow-wrap: anywhere;
    }

    .about-media img,
    .engagement-media > img {
        min-height: 0;
        max-height: none;
        aspect-ratio: 4 / 3;
        border-radius: 12px;
    }

    .quote-card {
        padding: 1.1rem 1.1rem 1.1rem 2.85rem;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .quote-card p {
        font-size: 0.98rem;
    }

    /* Articles de l'accueil : carrousel au doigt */
    .post-scroller {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: .5rem;
    }

    .post-scroller::-webkit-scrollbar {
        display: none;
    }

    .post-scroller > * {
        flex: 0 0 86%;
        max-width: 86%;
        scroll-snap-align: start;
    }

    .post-scroller > *:only-child {
        flex-basis: 100%;
        max-width: 100%;
    }

    .post-card-body {
        padding: 1.1rem 1.1rem 1.2rem;
    }

    .post-title {
        font-size: 1rem;
    }

    .post-excerpt {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: .9rem;
    }

    /* Article */
    .article-wrap {
        padding-top: 1.5rem;
    }

    .article-title {
        font-size: 1.6rem;
    }

    .article-figure {
        margin-left: calc(-1 * max(.75rem, env(safe-area-inset-left)));
        margin-right: calc(-1 * max(.75rem, env(safe-area-inset-right)));
        margin-bottom: 1.5rem;
    }

    .article-figure img {
        border-radius: 0;
    }

    .article-body {
        font-size: 1.04rem;
        line-height: 1.8;
    }

    .article-body h2 { font-size: 1.3rem; }
    .article-body h3 { font-size: 1.14rem; }

    .share-bar {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .share-actions {
        justify-content: center;
    }

    .article-wrap .btn-outline-brand {
        width: 100%;
        min-height: 50px;
    }

    /* Galerie */
    .gallery-item {
        border-radius: 10px;
    }

    .gallery-caption {
        padding: .55rem .6rem;
        font-size: .75rem;
    }

    /* Documents */
    .doc-card {
        padding: 1.25rem 1.1rem;
    }

    .doc-card .btn-brand {
        width: 100%;
        min-height: 48px;
    }

    /* Contact */
    .contact-panel {
        padding: 1.35rem;
    }

    .contact-mail-card {
        padding: .8rem .85rem;
        gap: .75rem;
    }

    .contact-mail-card strong {
        font-size: .86rem;
    }

    .form-floating > .form-control {
        font-size: 16px;
        min-height: 56px;
        border-radius: 10px;
    }

    .btn-submit {
        width: 100%;
        min-height: 52px;
        font-size: 1rem;
    }

    .btn-brand,
    .btn-outline-brand {
        min-height: 46px;
    }

    /* Pied de page compact */
    .site-footer .container.py-5 {
        padding-top: 2.25rem !important;
        padding-bottom: 1.5rem !important;
    }

    .footer-tagline {
        margin-bottom: 1rem !important;
    }

    .footer-title {
        font-size: .95rem;
        margin-bottom: .6rem;
    }

    .footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 1rem;
    }

    .footer-links li,
    .footer-contact li {
        margin-bottom: 0;
    }

    .footer-links a,
    .footer-contact a {
        display: inline-flex;
        align-items: center;
        min-height: 40px;
    }

    .footer-contact a {
        overflow-wrap: anywhere;
    }

    .footer-social a {
        width: 44px;
        height: 44px;
    }

    .footer-bottom {
        text-align: center;
        padding: 1rem 0 1.25rem;
        font-size: .8rem;
    }

    .lightbox-prev,
    .lightbox-next {
        top: auto;
        bottom: calc(1rem + var(--safe-bottom));
        transform: none;
    }

    .lightbox-caption {
        padding-left: 4.5rem;
        padding-right: 4.5rem;
    }
}

/* —— Petits téléphones —— */
@media (max-width: 399.98px) {
    .brand-text {
        font-size: 1.08rem;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .cred-card h3 {
        font-size: .8rem;
    }

    .tabbar-item {
        font-size: .62rem;
    }

    .share-btn {
        width: 42px;
        height: 42px;
    }
}

/* —— Téléphones en paysage —— */
@media (max-width: 991.98px) and (max-height: 500px) and (orientation: landscape) {
    :root {
        --tabbar-h: 52px;
    }

    .hero-section {
        min-height: auto;
        max-height: none;
        align-items: center;
    }

    .hero-content {
        padding-top: 2rem;
        padding-bottom: 3rem;
    }

    .tabbar-item {
        flex-direction: row;
        gap: 6px;
    }
}

/* —— Mouvements réduits —— */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .hero-bg-img,
    .cred-card,
    .post-card,
    .post-card-img img,
    .btn-brand {
        transform: none !important;
    }
}

/* Zones de sécurité (encoche / barre d'accueil) */
@supports (padding: max(0px)) {
    .site-header .container,
    .hero-content,
    .section-credentials .container,
    .section-about .container,
    .section-engagement .container,
    .section-reflexions .container,
    .site-footer .container,
    .content-wrap .container,
    .page-header-banner .container {
        padding-left: max(0.75rem, env(safe-area-inset-left));
        padding-right: max(0.75rem, env(safe-area-inset-right));
    }
}
