* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    color: #172026;
    background: #f8faf9;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
}

a:focus-visible,
button:focus-visible,
iframe:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 10;
    padding: .65rem .9rem;
    background: #fff;
    border: 2px solid var(--brand);
}

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

.mobile-vitrine {
    display: none;
}

.mobile-vitrine-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 5;
    background: rgba(248, 250, 249, .94);
    border-bottom: 1px solid rgba(23, 32, 38, .08);
    backdrop-filter: blur(14px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(1120px, calc(100% - 32px));
    min-height: 72px;
    margin: 0 auto;
}

.brand {
    font-weight: 800;
    text-decoration: none;
}

.nav-links {
    display: flex;
    flex-wrap: nowrap;
    gap: .9rem;
    justify-content: flex-end;
    font-size: .94rem;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
}

.nav-links a,
.site-footer a {
    border-radius: 4px;
    text-decoration: none;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: center;
    width: min(1120px, calc(100% - 32px));
    min-height: calc(100vh - 72px);
    margin: 0 auto;
    padding: 4rem 0;
}

.eyebrow {
    margin: 0 0 .65rem;
    color: var(--brand);
    font-weight: 800;
    text-transform: uppercase;
}

h1,
h2 {
    margin: 0;
    line-height: 1.12;
}

h1 {
    max-width: 820px;
    font-size: clamp(2.15rem, 6vw, 5.2rem);
}

h2 {
    font-size: clamp(1.65rem, 3vw, 2.5rem);
}

.lead {
    max-width: 720px;
    margin: 1.2rem 0 0;
    color: #51616b;
    font-size: 1.18rem;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1.6rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .75rem 1.05rem;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
}

.button:focus-visible,
.hero-panel a:focus-visible,
.nav-links a:focus-visible,
.site-footer a:focus-visible {
    box-shadow: 0 0 0 4px rgba(234, 179, 8, .24);
}

.button-primary {
    color: #fff;
    background: var(--brand);
}

.button-secondary {
    background: #fff;
    border: 1px solid rgba(23, 32, 38, .14);
}

.hero-panel {
    display: grid;
    gap: .7rem;
    padding: 1.2rem;
    background: #fff;
    border: 1px solid rgba(23, 32, 38, .1);
    border-radius: 8px;
    box-shadow: 0 18px 60px rgba(23, 32, 38, .08);
}

.hero-panel strong {
    font-size: 1.25rem;
}

.hero-panel a {
    width: max-content;
    color: var(--brand);
    font-weight: 800;
    text-decoration: none;
}

.content-section {
    border-top: 1px solid rgba(23, 32, 38, .08);
    background: #fff;
    content-visibility: auto;
    contain-intrinsic-size: 1px 520px;
}

.content-section:nth-of-type(odd) {
    background: #f1f7f5;
}

.section-inner {
    width: min(920px, calc(100% - 32px));
    margin: 0 auto;
    padding: clamp(2.5rem, 7vw, 5.5rem) 0;
}

.section-inner p {
    margin: 1rem 0 0;
    color: #3f4e57;
}

.site-footer {
    color: #dbe7e4;
    background: #172026;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(160px, .7fr) minmax(180px, .75fr) minmax(260px, 1fr);
    gap: clamp(1.25rem, 3vw, 2.4rem);
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: clamp(2.4rem, 5vw, 4rem) 0 1.4rem;
}

.footer-brand,
.footer-links,
.footer-contact {
    display: grid;
    align-content: start;
    gap: .65rem;
}

.site-footer strong {
    color: #fff;
    font-size: 1.05rem;
}

.footer-brand strong {
    font-size: 1.35rem;
}

.site-footer p {
    margin: 0;
    color: #b8c9c5;
}

.site-footer a {
    color: #f5fbf9;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--accent);
}

.footer-contact span {
    color: #b8c9c5;
}

.footer-map iframe {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 220px;
    border: 0;
    border-radius: 8px;
    background: #26343a;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.2rem;
    color: #9fb3ae;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

@media (max-width: 1024px) {
    .has-mobile-vitrine {
        background: #fff;
    }

    .mobile-vitrine {
        position: relative;
        display: block;
        width: 100vw;
        min-height: 100vh;
        min-height: 100svh;
        overflow: visible;
        background: #fff;
    }

    .mobile-vitrine-frame {
        overflow: hidden;
    }

    .mobile-vitrine-frame iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .mobile-vitrine img,
    .mobile-vitrine video,
    .mobile-vitrine canvas {
        max-width: 100%;
        height: auto;
    }

    .mobile-vitrine-error {
        display: grid;
        min-height: 100svh;
        place-items: center;
        padding: 1.5rem;
        text-align: center;
    }

    .mobile-vitrine-error a {
        display: inline-flex;
        margin-top: 1rem;
        padding: .75rem 1rem;
        color: #fff;
        background: var(--brand);
        border-radius: 8px;
        font-weight: 800;
        text-decoration: none;
    }

    .mobile-vitrine-local {
        display: grid;
        min-height: 100svh;
        color: #f8faf9;
        background:
            linear-gradient(180deg, rgba(15, 118, 110, .92), rgba(23, 32, 38, .9)),
            radial-gradient(circle at 20% 10%, rgba(234, 179, 8, .45), transparent 32%),
            #172026;
    }

    .mobile-vitrine-local-top {
        align-self: start;
        padding: 1rem;
        background: rgba(255, 255, 255, .12);
        border-bottom: 1px solid rgba(255, 255, 255, .22);
        font-weight: 900;
        text-align: center;
        text-transform: uppercase;
    }

    .mobile-vitrine-local-body {
        display: grid;
        align-content: center;
        gap: 1rem;
        min-height: calc(100svh - 64px);
        padding: 1.35rem;
        text-align: center;
    }

    .mobile-vitrine-local-body p,
    .mobile-vitrine-local-body span,
    .mobile-vitrine-local-body small {
        margin: 0;
    }

    .mobile-vitrine-local-body p {
        color: #fde68a;
        font-weight: 900;
        text-transform: uppercase;
    }

    .mobile-vitrine-local-body h1 {
        font-size: 2.4rem;
    }

    .mobile-vitrine-local-body span {
        color: #dbe7e4;
        font-size: 1.08rem;
    }

    .mobile-vitrine-local-body a {
        display: inline-flex;
        justify-self: center;
        min-height: 50px;
        align-items: center;
        padding: .8rem 1.15rem;
        color: #172026;
        background: #fde68a;
        border-radius: 8px;
        font-weight: 900;
        text-decoration: none;
    }

    .mobile-vitrine-local-body small {
        color: #b8c9c5;
        font-weight: 800;
    }

    .footer-map iframe {
        width: 100%;
    }

    .nav {
        align-items: flex-start;
        flex-direction: column;
        padding: .85rem 0;
    }

    .nav-links {
        width: 100%;
        justify-content: flex-start;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 3rem 0;
    }

    .button {
        width: 100%;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
