/* =========================================================
   SóPortas - Home 2026 (fiel ao mockup do cliente)
   ========================================================= */
:root {
    --sp-black: #0e0e0e;
    --sp-dark: #161616;
    --sp-dark-2: #1d1d1d;
    --sp-gold: #f2b533;
    --sp-gold-2: #f8cc5e;
    --sp-gold-grad: linear-gradient(180deg, #f9d26a 0%, #f0ae2c 100%);
    --sp-green: #1fb24a;
    --sp-green-2: #18a13f;
    --sp-light: #f3f3f3;
    --sp-text: #1a1a1a;
    --sp-muted: #5c5c5c;
    --sp-font: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

body.sp-site {
    padding-top: 0 !important;
    margin: 0;
    font-family: var(--sp-font);
    color: var(--sp-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
.sp-site *, .sp-site *::before, .sp-site *::after { box-sizing: border-box; }
:where(.sp-home) img { max-width: 100%; display: block; }
:where(.sp-home) a { text-decoration: none; }
:where(.sp-home) :where(h1, h2, h3, p) { margin: 0; }
.sp-home h1, .sp-home h2, .sp-home h3, .sp-home h4 { font-family: var(--sp-font) !important; text-transform: uppercase; }
.sp-hero__title, .sp-fabricante__text h2 { color: #fff !important; }
.sp-home blockquote { border: 0; padding: 0; background: none; quotes: none; font-family: var(--sp-font); }
.sp-home blockquote::before, .sp-home blockquote::after { content: none !important; display: none !important; }

.sp-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}
.sp-gold { color: var(--sp-gold); }

/* ---------- Logo ---------- */
.sp-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.sp-logo__icon { width: 42px; height: 46px; flex: none; }
.sp-logo__text { display: flex; flex-direction: column; line-height: 1; }
.sp-logo__text strong {
    font-size: 26px; font-weight: 900; letter-spacing: -.5px;
    background: var(--sp-gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sp-logo__text strong b { color: #fff; -webkit-text-fill-color: #fff; font-weight: 900; }
.sp-logo__text em {
    font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: 3px;
    text-transform: uppercase; color: #e6e6e6; margin-top: 4px; text-align: right;
}
.sp-logo--lg .sp-logo__icon { width: 52px; height: 58px; }
.sp-logo--lg .sp-logo__text strong { font-size: 32px; }
.sp-logo--lg .sp-logo__text em { font-size: 11px; letter-spacing: 3.6px; }

/* ---------- Botões ---------- */
.sp-ico-whats { width: 26px; height: 26px; flex: none; }

.sp-btn-whats {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--sp-green); color: #fff;
    padding: 9px 22px 9px 16px; border-radius: 12px;
    box-shadow: 0 4px 14px rgba(31, 178, 74, .3);
    transition: background .2s, transform .2s;
}
.sp-btn-whats:hover { background: var(--sp-green-2); color: #fff; transform: translateY(-1px); }
.sp-btn-whats span { display: flex; flex-direction: column; font-weight: 800; font-size: 15px; line-height: 1.15; letter-spacing: .3px; }
.sp-btn-whats small { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.sp-btn-whats--lg { padding: 12px 26px 12px 18px; }
.sp-btn-whats--lg .sp-ico-whats { width: 30px; height: 30px; }
.sp-btn-whats--lg span { font-size: 17px; }

.sp-btn-gold {
    display: inline-flex; align-items: center; gap: 14px;
    background: var(--sp-gold-grad); color: #111;
    padding: 14px 34px 14px 26px; border-radius: 18px;
    box-shadow: 0 8px 24px rgba(242, 181, 51, .25);
    transition: transform .2s, box-shadow .2s;
}
.sp-btn-gold:hover { color: #111; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(242, 181, 51, .35); }
.sp-btn-gold .sp-ico-whats { width: 40px; height: 40px; }
.sp-btn-gold span { display: flex; flex-direction: column; font-size: 26px; font-weight: 900; line-height: 1.1; letter-spacing: .5px; }
.sp-btn-gold small { font-size: 15px; font-weight: 800; text-transform: uppercase; }

.sp-btn-outline {
    display: inline-flex; align-items: center; gap: 14px;
    border: 2px solid var(--sp-gold); border-radius: 30px;
    color: #fff; padding: 9px 22px;
    font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
    transition: background .2s, color .2s;
}
.sp-btn-outline svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sp-btn-outline:hover { background: var(--sp-gold); color: #111; }

/* ---------- Header ---------- */
.sp-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--sp-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}
.sp-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.sp-nav { display: flex; align-items: center; gap: 34px; }
.sp-nav a {
    position: relative; color: #fff;
    font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px;
    padding: 8px 0; transition: color .2s;
}
.sp-nav a::after {
    content: ''; position: absolute; left: 50%; bottom: -6px; width: 0; height: 3px;
    background: var(--sp-gold); border-radius: 2px; transform: translateX(-50%); transition: width .2s;
}
.sp-nav a:hover, .sp-nav a.is-active { color: var(--sp-gold); }
.sp-nav a.is-active::after, .sp-nav a:hover::after { width: 34px; }

.sp-header__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.sp-header__toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--sp-gold); border-radius: 2px; }

/* ---------- Hero ---------- */
.sp-hero {
    position: relative; overflow: hidden;
    background: var(--sp-black); color: #fff;
    min-height: 600px; display: flex; align-items: center;
}
.sp-hero__media { position: absolute; inset: 0 0 0 auto; width: 64%; }
.sp-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.sp-hero__media::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, var(--sp-black) 0%, rgba(14, 14, 14, .85) 12%, rgba(14, 14, 14, .25) 32%, rgba(14, 14, 14, 0) 50%);
}
.sp-hero__content { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 60px; }
.sp-hero__title {
    font-size: 62px; font-weight: 900; line-height: 1.02; text-transform: uppercase; letter-spacing: -.5px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .4);
}
.sp-hero__title .sp-gold b { font-size: 1.32em; font-weight: 900; }
.sp-hero__text { max-width: 470px; margin: 26px 0 30px; font-size: 21px; font-weight: 500; line-height: 1.4; color: #f1f1f1; }

/* ---------- Diferenciais ---------- */
.sp-features { background: var(--sp-light); border-bottom: 1px solid #e4e4e4; }
.sp-features__grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 30px; padding-bottom: 30px; }
.sp-feature { display: flex; align-items: center; gap: 20px; padding: 6px 28px; border-left: 2px solid #dcdcdc; }
.sp-feature:first-child { border-left: 0; padding-left: 40px; }
.sp-feature svg {
    width: 54px; height: 54px; flex: none;
    fill: none; stroke: var(--sp-gold); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
}
.sp-feature h3 { font-size: 16px; font-weight: 800; text-transform: uppercase; line-height: 1.2; color: #151515; }
.sp-feature p { margin-top: 6px; font-size: 14px; line-height: 1.3; color: #333; }

/* ---------- Títulos de seção ---------- */
.sp-section { padding: 36px 0 26px; }
.sp-title { text-align: center; margin-bottom: 26px; }
.sp-title h2 {
    display: inline-flex; align-items: center; gap: 22px;
    font-size: 32px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: #151515;
}
.sp-title h2::before, .sp-title h2::after { content: ''; width: 110px; height: 3px; background: var(--sp-gold); border-radius: 2px; }
.sp-title p { margin-top: 6px; font-size: 18px; color: #222; }

/* ---------- Produtos ---------- */
.sp-produtos { background: #f7f7f7; padding-bottom: 26px; }
.sp-produtos__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding: 0 20px; max-width: 1440px; margin: 0 auto; }
.sp-produto {
    display: flex; flex-direction: column; background: #fff; color: #151515;
    border-radius: 4px; overflow: hidden; box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
    transition: transform .25s, box-shadow .25s;
}
.sp-produto:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0, 0, 0, .14); color: #151515; }
.sp-produto__img { display: block; aspect-ratio: 190 / 122; overflow: hidden; }
.sp-produto__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.sp-produto:hover .sp-produto__img img { transform: scale(1.05); }
.sp-produto__info { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 14px 16px 12px; min-height: 66px; }
.sp-produto__info strong { font-size: 14px; font-weight: 800; text-transform: uppercase; line-height: 1.25; }
.sp-arrow {
    width: 38px; height: 38px; flex: none; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--sp-gold-grad);
}
.sp-arrow svg { width: 20px; height: 20px; fill: none; stroke: #111; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Fabricante ---------- */
.sp-fabricante { position: relative; background: var(--sp-dark-2); color: #fff; overflow: hidden; }
.sp-fabricante__media { position: absolute; inset: 0 auto 0 0; width: 24%; }
.sp-fabricante__media img { width: 100%; height: 100%; object-fit: cover; }
.sp-fabricante__media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(29, 29, 29, 0) 40%, var(--sp-dark-2) 100%);
}
.sp-fabricante__inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.35fr 1fr auto; align-items: center; gap: 0;
    max-width: none; padding: 36px 36px 36px 25%;
}
.sp-fabricante__text { padding-right: 26px; }
.sp-fabricante__text h2 { font-size: 34px; font-weight: 800; text-transform: uppercase; line-height: 1.12; }
.sp-fabricante__text p { margin: 14px 0 20px; max-width: 470px; font-size: 16px; line-height: 1.4; color: #e8e8e8; }
.sp-fabricante__list {
    list-style: none; margin: 0; padding: 0 26px;
    border-left: 2px solid #3a3a3a; border-right: 2px solid #3a3a3a;
}
.sp-fabricante__list li { display: flex; align-items: center; gap: 22px; padding: 16px 0; border-bottom: 1px solid #3a3a3a; }
.sp-fabricante__list li:last-child { border-bottom: 0; }
.sp-fabricante__list svg {
    width: 40px; height: 40px; flex: none;
    fill: none; stroke: var(--sp-gold); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
}
.sp-fabricante__list span { font-size: 15px; font-weight: 800; text-transform: uppercase; line-height: 1.3; }

.sp-selo {
    position: relative; margin-left: 26px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 172px; padding: 24px 12px 30px;
    background: #121212; border-radius: 6px; text-align: center;
}
.sp-selo::before {
    content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 60%;
    border: 2px solid var(--sp-gold); border-left: 0; border-radius: 0 6px 6px 0; pointer-events: none;
}
.sp-selo strong, .sp-selo span {
    background: var(--sp-gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
    font-weight: 900; text-transform: uppercase; line-height: 1;
}
.sp-selo strong { font-size: 84px; letter-spacing: -2px; }
.sp-selo span { font-size: 36px; }
.sp-selo small { margin-top: 10px; font-size: 12px; font-weight: 700; text-transform: uppercase; color: #fff; }
.sp-selo small::after { content: ''; display: block; width: 80px; height: 3px; margin: 14px auto 0; background: var(--sp-gold); border-radius: 2px; }

/* ---------- Trabalhos ---------- */
.sp-trabalhos { background: #fff; padding-bottom: 20px; }
.sp-trabalhos .sp-title { margin-bottom: 22px; }
.sp-carousel { position: relative; }
.sp-carousel__track {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; padding-right: 30px;
}
.sp-carousel__track::-webkit-scrollbar { display: none; }
.sp-trabalho { flex: 0 0 calc((100% - 64px) / 5); margin: 0; scroll-snap-align: start; aspect-ratio: 185 / 130; border-radius: 2px; overflow: hidden; }
.sp-trabalho img { width: 100%; height: 100%; object-fit: cover; }
.sp-carousel__next {
    position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border: 0; background: #fff; cursor: pointer; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.sp-carousel__next svg, .sp-depo__nav svg { width: 22px; height: 22px; fill: none; stroke: #111; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Depoimentos ---------- */
.sp-depoimentos { background: var(--sp-light); padding: 22px 0; }
.sp-depoimentos__grid { display: grid; grid-template-columns: 1fr 1.2fr 2.1fr; align-items: center; }
.sp-depoimentos__title {
    font-size: 28px; font-weight: 800; text-transform: uppercase; line-height: 1.2; color: #151515;
    padding: 20px 24px 20px 10px; border-right: 2px solid #dcdcdc; white-space: nowrap;
}
.sp-depoimentos__title::after { content: ''; display: block; width: 90px; height: 4px; margin-top: 16px; background: var(--sp-gold); border-radius: 2px; }
.sp-google { display: flex; align-items: flex-start; gap: 14px; padding: 0 30px 0 50px; }
.sp-google__g { width: 54px; height: 54px; flex: none; }
.sp-google__word { font-size: 30px; font-weight: 500; letter-spacing: -.5px; line-height: 1.1; font-family: 'Product Sans', Arial, sans-serif; }
.sp-google__word span:nth-child(1), .sp-google__word span:nth-child(4) { color: #4285f4; }
.sp-google__word span:nth-child(2), .sp-google__word span:nth-child(6) { color: #ea4335; }
.sp-google__word span:nth-child(3) { color: #fbbc05; }
.sp-google__word span:nth-child(5) { color: #34a853; }
.sp-google__rating { display: flex; align-items: center; gap: 10px; margin: 4px 0 6px; }
.sp-google__rating strong { font-size: 28px; font-weight: 800; color: #151515; line-height: 1; }
.sp-stars { position: relative; display: inline-block; font-size: 30px; line-height: 1; letter-spacing: 3px; white-space: nowrap; }
.sp-stars__bg { color: #d6d6d6; }
.sp-stars__fill { position: absolute; left: 0; top: 0; overflow: hidden; color: var(--sp-gold); }
a.sp-google__sub { display: inline-block; color: var(--sp-muted); text-decoration: underline; }
a.sp-google__sub:hover { color: #151515; }
.sp-depo__item cite .sp-stars { font-size: 14px; letter-spacing: 1px; margin-right: 8px; vertical-align: -1px; }
.sp-depo__item cite a { color: #6a6a6a; font-weight: 600; }
.sp-google__count { font-size: 17px; font-weight: 700; color: #151515; }
.sp-google__sub { font-size: 13px; color: var(--sp-muted); margin-top: 2px; }

.sp-depo { display: flex; align-items: center; gap: 0; position: relative; }
.sp-depo__nav {
    position: relative; z-index: 2; flex: none;
    width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
    background: #fff; box-shadow: 0 3px 12px rgba(0, 0, 0, .14);
    display: flex; align-items: center; justify-content: center;
}
.sp-depo__nav[data-prev] { margin-right: -14px; }
.sp-depo__nav[data-next] { margin-left: -14px; }
.sp-depo__card {
    position: relative; flex: 1; min-height: 148px;
    background: #fff; border-radius: 10px; box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
    padding: 22px 40px 20px 72px;
}
.sp-depo__card::before {
    content: '“'; position: absolute; left: 26px; top: 8px;
    font-family: Georgia, serif; font-size: 72px; font-weight: 700; line-height: 1; color: var(--sp-gold);
}
.sp-depo__item { display: none; margin: 0; }
.sp-depo__item.is-active { display: block; animation: spFade .4s ease; }
.sp-depo__item p { font-size: 16px; font-style: italic; font-weight: 500; line-height: 1.55; color: #222; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.sp-depo__item cite { display: block; margin-top: 14px; font-size: 13px; font-style: normal; color: #8a8a8a; }
@keyframes spFade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Footer ---------- */
.sp-footer { background: var(--sp-dark); color: #fff; padding: 34px 0; }
.sp-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.sp-footer__contacts { list-style: none; margin: 0; padding: 0 40px; border-left: 2px solid #333; border-right: 2px solid #333; }
.sp-footer__contacts li { display: flex; align-items: center; gap: 18px; padding: 5px 0; }
.sp-footer__contacts a, .sp-footer__address p { color: #fff; font-size: 15px; font-weight: 600; }
.sp-footer__contacts a:hover { color: var(--sp-gold); }
.sp-footer svg:not(.sp-ico-whats):not(.sp-logo__icon) {
    width: 24px; height: 24px; flex: none;
    fill: none; stroke: var(--sp-gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.sp-footer__address { display: flex; align-items: flex-start; gap: 16px; }
.sp-footer__address svg:not(.sp-ico-whats) { width: 30px !important; height: 30px !important; }
.sp-footer__address p { font-weight: 500; line-height: 1.5; }
.sp-footer__address strong { display: block; font-weight: 700; margin-bottom: 4px; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1280px) {
    .sp-nav { gap: 22px; }
    .sp-nav a { font-size: 12.5px; }
    .sp-hero__title { font-size: 54px; }
    .sp-feature { padding: 6px 18px; gap: 14px; }
    .sp-feature:first-child { padding-left: 10px; }
    .sp-fabricante__inner { grid-template-columns: 1fr 1fr; padding-left: 26%; row-gap: 26px; }
    .sp-selo { grid-column: 1 / -1; justify-self: start; margin-left: 0; }
    .sp-footer__inner { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 1080px) {
    .sp-header__toggle { display: block; order: 3; }
    .sp-btn-whats { margin-left: auto; }
    .sp-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--sp-dark); border-top: 1px solid #2a2a2a;
        max-height: 0; overflow: hidden; transition: max-height .3s ease;
    }
    .sp-nav.is-open { max-height: 420px; }
    .sp-nav a { padding: 15px 24px; border-bottom: 1px solid #262626; font-size: 14px; }
    .sp-nav a::after { display: none; }

    .sp-features__grid { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
    .sp-feature:nth-child(3) { border-left: 0; padding-left: 10px; }

    .sp-produtos__grid { grid-template-columns: repeat(3, 1fr); }
    .sp-trabalho { flex-basis: calc((100% - 32px) / 3); }

    .sp-depoimentos__grid { grid-template-columns: 1fr 1fr; row-gap: 26px; }
    .sp-depo { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
    .sp-hero { min-height: 0; flex-direction: column; align-items: stretch; }
    .sp-hero__media { position: relative; width: 100%; height: 300px; order: 2; }
    .sp-hero__media::before { background: linear-gradient(180deg, var(--sp-black) 0%, rgba(14, 14, 14, 0) 35%); }
    .sp-hero__content { padding-top: 40px; padding-bottom: 30px; }
    .sp-hero__title { font-size: 44px; }
    .sp-hero__text { font-size: 18px; }

    .sp-fabricante__media { position: relative; width: 100%; height: 220px; }
    .sp-fabricante__media::after { background: linear-gradient(180deg, rgba(29, 29, 29, 0) 40%, var(--sp-dark-2) 100%); }
    .sp-fabricante__inner { grid-template-columns: 1fr; padding: 10px 24px 36px; }
    .sp-fabricante__text { padding-right: 0; }
    .sp-fabricante__list { border: 0; padding: 0; border-top: 1px solid #3a3a3a; }
    .sp-selo { justify-self: center; }

    .sp-footer__contacts { border: 0; padding: 0; }
    .sp-footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
    .sp-container { padding: 0 16px; }
    .sp-header__inner { min-height: 72px; gap: 10px; }
    .sp-logo__icon { width: 34px; height: 38px; }
    .sp-logo__text strong { font-size: 21px; }
    .sp-logo__text em { font-size: 8px; letter-spacing: 2.4px; }
    .sp-header .sp-btn-whats { padding: 8px; border-radius: 50%; }
    .sp-header .sp-btn-whats span { display: none; }

    .sp-hero__title { font-size: 36px; }
    .sp-btn-gold { padding: 12px 22px 12px 18px; gap: 10px; }
    .sp-btn-gold span { font-size: 21px; }
    .sp-btn-gold small { font-size: 12px; }
    .sp-btn-gold .sp-ico-whats { width: 32px; height: 32px; }

    .sp-features__grid { grid-template-columns: 1fr; }
    .sp-feature, .sp-feature:first-child, .sp-feature:nth-child(3) { border-left: 0; padding: 4px 0; }

    .sp-title h2 { font-size: 22px; gap: 12px; letter-spacing: 1px; }
    .sp-title h2::before, .sp-title h2::after { width: 34px; }
    .sp-title p { font-size: 15px; }

    .sp-produtos__grid { grid-template-columns: repeat(2, 1fr); padding: 0 16px; gap: 10px; }
    .sp-produto__info strong { font-size: 12px; }
    .sp-arrow { width: 30px; height: 30px; }
    .sp-trabalho { flex-basis: 78%; }
    .sp-carousel__next { right: 0; }

    .sp-fabricante__text h2 { font-size: 28px; }

    .sp-depoimentos__grid { grid-template-columns: 1fr; }
    .sp-depoimentos__title { border-right: 0; padding: 0; font-size: 24px; }
    .sp-google { padding: 0; }
    .sp-depo__card { padding: 20px 26px 18px 56px; }
    .sp-depo__card::before { left: 16px; font-size: 56px; }
}
