:root {
    --color-accent: #bf4d36;
    --color-text: #000000;
    --color-bg: #ffffff;

    --font-family-base: "DM Sans", system-ui, sans-serif;

    /* H1 scala da ~34px (2.1rem) mobile a ~58px (3.6rem) desktop */
    --font-size-h1: clamp(2.1rem, 1.5rem + 2.5vw, 3.6rem);

    --spacing-panel: clamp(1.5rem, 1rem + 2vw, 3.75rem);

    --logo-width: clamp(200px,16.66vw,320px);
    --illustration-width: clamp(280px, 41.25vw, 600px);
}

/* Reset e Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.5;
}

.sbs-layout {
    display: flex;
    width: 100%;
    height: 100dvh;
}

.sbs-panel--content {
    position: relative;
    width: 100%;
    min-height: 100%;
    padding: var(--spacing-panel);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 10;
    background-color: var(--color-bg);
}

.sbs-panel--image {
    display: none;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.sbs-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 768px) {
    .sbs-panel--content {
        width: 50%;
    }

    .sbs-panel--image {
        display: block;
        width: 50%;
    }
}

.sbs-logo-link {
    display: inline-block;
    text-decoration: none;
}


.sbs-logo-link svg {
    width: var(--logo-width);
    height: auto;
    transition: opacity 0.3s ease;
}

.sbs-logo-link svg path {
    fill: var(--color-accent);
}

.sbs-logo-link:hover svg {
    opacity: 0.8;
}

.sbs-content {
    position: relative;
    z-index: 2;
    margin-top: 120px;
}

.sbs-eyebrow {
    text-transform: uppercase;
    font-size: min(max(16px,1.042vw),20px);
    font-weight: 400;
    color: var(--color-accent);
    margin: 0 0 1.8em;
}

.sbs-heading {
    margin: 0 0 1.4em;
    font-size: min(max(32px,2.92vw),56px);
    font-weight: 400;
    line-height: 1.2;
    max-width: 18ch;
    text-wrap: balance;
}

.sbs-heading .sbs-highlight {
    color: var(--color-accent);
    font-weight: 500;
}

.sbs-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background-color: var(--color-accent);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 2px;
    transition: background-color 0.2s, transform 0.1s;
}

.sbs-cta:hover {
    background-color: #a34330;
    transform: translateY(-1px);
}

.sbs-footer-illustration {
    position: absolute;
    bottom: var(--spacing-panel);
    right: var(--spacing-panel);
    width: var(--illustration-width);
    height: auto;
    max-height: 44vh;
    pointer-events: none;
    z-index: 1;
    object-fit: contain;
    object-position: bottom right;
}

@media (max-width: 899px) and (max-height: 600px) {
    .sbs-footer-illustration {
        opacity: 0.3;
    }
}