/* v0.2.9 — accessibilité et responsive front */
.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 99999;
    transform: translateY(-140%);
    background: #111;
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 8px 30px rgba(0,0,0,.25);
}

.skip-link:focus {
    transform: translateY(0);
    outline: 3px solid var(--obt-accent-color, #d6b569);
    outline-offset: 3px;
}

.site-main:focus {
    outline: none;
}

:focus-visible {
    outline: 3px solid var(--obt-accent-color, #d6b569);
    outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    box-shadow: 0 0 0 4px rgba(214,181,105,.28);
}

button,
input[type="submit"],
input[type="button"],
.obt-button,
.btn,
.btn-primary,
.btn-secondary,
.theme-btn,
a[class*="btn"] {
    min-height: 44px;
}

input,
select,
textarea {
    max-width: 100%;
}

img,
video,
iframe {
    max-width: 100%;
}

iframe {
    border: 0;
}

.obt-readable-page {
    max-width: 920px;
    margin-inline: auto;
    line-height: 1.75;
    font-size: 17px;
}

.obt-readable-page h2 {
    margin-top: 34px;
    margin-bottom: 12px;
}

.obt-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    background: var(--obt-accent-color, #d6b569);
    color: #111;
    text-decoration: none;
    font-weight: 700;
}

.obt-page-hero {
    padding: clamp(56px, 8vw, 110px) 0 clamp(38px, 6vw, 82px);
    background: #111;
    color: #fff;
}

.obt-page-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 6vw, 68px);
    line-height: 1.05;
}

.obt-page-hero p {
    max-width: 760px;
    color: rgba(255,255,255,.82);
}

.table-wrap,
.obt-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 992px) {
    .container {
        width: min(100% - 28px, 1120px);
    }

    .slider .tp-caption,
    .slider [class*="slide-"] {
        max-width: calc(100vw - 32px) !important;
        white-space: normal !important;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .block {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .slider,
    .tp-banner-container,
    .tp-banner {
        min-height: 520px;
    }

    .slider .slide-title,
    .slider .slide-title2 {
        font-size: clamp(28px, 9vw, 44px) !important;
        line-height: 1.1 !important;
        padding-inline: 16px !important;
    }

    .slider .slide-text {
        font-size: 14px !important;
        line-height: 1.55 !important;
    }

    .bottom-bar .row,
    .service-carousel,
    .remove-ext .row {
        gap: 22px;
    }

    .obt-readable-page {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
    }
}

html.obt-high-contrast {
    --obt-accent-color: #ffd36a;
    --obt-background-color: #000;
    --obt-text-color: #fff;
}

html.obt-high-contrast body,
html.obt-high-contrast .block,
html.obt-high-contrast .gray {
    background: #000 !important;
    color: #fff !important;
}

html.obt-high-contrast a {
    color: #ffd36a;
}
