@font-face {
    font-family: "Manrope";
    src: url("../fonts/Manrope-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/Manrope-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/Manrope-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-primary: #fbc111;
    --color-secondary: #151515;
    --color-whatsapp: #06b002;
    --color-bg: #ffffff;
    --color-text: #1f1f1f;
    --color-muted: #5f5f5f;
    --color-surface: #f7f7f7;
    --color-dark-blue: #091f33;
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.18);
    --radius-full: 999px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

#categorias,
#sobre,
#depoimentos,
#marcas {
    scroll-margin-top: 108px;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(calc(100% - 32px), var(--container));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--color-secondary);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand img {
    width: 220px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
}

.main-nav a {
    opacity: 0.86;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    opacity: 1;
    color: var(--color-primary);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 28px;
    border: 0;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    filter: brightness(1.02);
}

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

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

.button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.button-icon svg {
    width: 20px;
    height: 20px;
}

.hero-section {
    position: relative;
    overflow: clip;
    background: url("../../image/background/bg1.jpg") center center / cover no-repeat;
    color: #fff;
}

.hero-energy {
    position: absolute;
    inset: 0;
    background: transparent;
    opacity: 0;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    align-items: center;
    gap: 30px;
    min-height: 620px;
    padding: 72px 0 172px;
}

.hero-content {
    max-width: 620px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--color-primary);
    font-size: 1rem;
    font-weight: 700;
}

.hero-content h1 {
    margin: 0;
    font-size: clamp(2rem, 4.2vw, 3.5rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.hero-content p {
    max-width: 560px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.7;
}

.hero-actions {
    margin-top: 32px;
}

.hero-note {
    display: block;
    margin-top: 28px;
    color: var(--color-primary);
    font-size: 1rem;
    font-weight: 700;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.battery-stage {
    position: relative;
    width: min(100%, 540px);
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.battery-glow {
    position: absolute;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(251, 193, 17, 0.34) 0%, rgba(251, 193, 17, 0.08) 48%, transparent 72%);
    filter: blur(8px);
}

.hero-battery {
    position: relative;
    z-index: 1;
    width: min(100%, 529px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 28px 38px rgba(0, 0, 0, 0.34));
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-battery.battery-pioneiro {
    width: min(100%, 730px);
}

.hero-battery.battery-tudor {
    width: min(100%, 669px);
}

.hero-battery.is-switching {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
}

.hero-categories-wrap {
    position: relative;
    z-index: 2;
    margin-top: -132px;
    padding-bottom: 42px;
}

.categories-preview-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.category-preview-card {
    overflow: hidden;
    border-radius: 32px;
    background: #fff;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(21, 21, 21, 0.08);
}

.category-preview-body {
    min-height: 220px;
    padding: 26px 18px 12px;
    background:
        radial-gradient(circle at 50% 18%, rgba(251, 193, 17, 0.12), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #fffdf6 100%);
    color: var(--color-secondary);
    text-align: center;
}

.category-preview-body h3 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.category-preview-media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 182px;
    margin-top: 8px;
    padding: 4px 12px 0;
}

.category-preview-image {
    width: auto;
    max-width: calc(100% - 28px);
    max-height: calc(100% - 28px);
    object-fit: contain;
}

.category-carro,
.category-moto,
.category-caminhao,
.category-nautico,
.category-estacionarias {
    transform-origin: center bottom;
}

.category-carro {
    max-width: calc(100% - 6px);
    max-height: calc(100% - 8px);
}

.category-moto {
    max-width: calc(100% - 34px);
    max-height: calc(100% - 24px);
}

.category-caminhao {
    max-width: calc(100% - 34px);
    max-height: calc(100% - 26px);
}

.category-nautico {
    max-width: calc(100% - 4px);
    max-height: calc(100% - 8px);
}

.category-estacionarias {
    max-width: calc(100% - 44px);
    max-height: calc(100% - 18px);
}

.category-preview-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 18px 14px 20px;
    background: var(--color-primary);
    color: var(--color-secondary);
    text-align: center;
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.section-placeholder {
    padding: 84px 0;
}

.section-placeholder.alt {
    background: var(--color-surface);
}

#marcas.section-placeholder {
    padding: 60px 0;
    background: #f1f1f1;
}

#categorias.section-placeholder {
    padding-top: 0;
    background: #fff;
}

#depoimentos.section-placeholder {
    background: #f1f1f1;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    align-items: center;
    gap: 48px;
}

.about-title {
    margin: 0 0 38px;
    font-size: clamp(1.2rem, 2.5vw, 2.04rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.about-title span,
.about-title strong {
    display: block;
}

.about-title span {
    color: var(--color-secondary);
    font-weight: 800;
}

.about-title strong {
    margin-top: 6px;
    color: var(--color-primary);
    font-weight: 800;
}

.about-text {
    margin: 0;
    color: #3d3d3d;
    font-size: 1.02rem;
    line-height: 1.85;
}

.about-text + .about-text {
    margin-top: 18px;
}

.about-title + .about-text {
    margin-top: 28px;
}

.about-visual {
    display: flex;
    justify-content: flex-end;
}

.about-image-mask {
    position: relative;
    z-index: 1;
    width: min(100%, 430px);
    aspect-ratio: 1 / 1.08;
    overflow: hidden;
    border-radius: 42% 58% 43% 57% / 34% 38% 62% 66%;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.14);
}

.about-logo-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 42px;
    background: var(--color-secondary);
}

.about-logo-panel img {
    width: min(100%, 270px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.28));
}

#sobre.section-placeholder.alt {
    position: relative;
    padding-top: 20px;
    background: #fff;
}

.about-button {
    margin-top: 28px;
}

.testimonials-title {
    margin-bottom: 64px;
    color: var(--color-secondary);
    font-size: clamp(1.6rem, 3.2vw, 2.32rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.testimonials-carousel {
    overflow: visible;
    margin-top: 28px;
}

.testimonials-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.testimonial-card {
    padding: 28px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(21, 21, 21, 0.08);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    flex-shrink: 0;
}

.testimonial-header h3 {
    margin: 0 0 8px;
    color: var(--color-secondary);
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.testimonial-stars {
    color: var(--color-primary);
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    line-height: 1;
}

.testimonial-text {
    color: #444;
    font-size: 1rem;
    line-height: 1.75;
}

.testimonial-text + .testimonial-text {
    margin-top: 14px;
}

.testimonial-content {
    flex: 1;
}

.testimonial-content.is-collapsible {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-content.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.testimonial-toggle {
    display: inline-flex;
    align-items: center;
    margin-top: 16px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-primary);
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
}

.testimonial-toggle.is-hidden {
    display: none;
}

.cta-section {
    padding: 91px 0 83px;
    background: #fff;
    overflow: hidden;
}

.cta-shell {
    position: relative;
    width: min(calc(100% - 32px), 1760px);
    margin: 0 auto;
}

.cta-card {
    position: relative;
    overflow: visible;
    display: grid;
    grid-template-columns: 210px minmax(0, 1.35fr) 340px;
    align-items: center;
    gap: 28px;
    min-height: 204px;
    max-height: 204px;
    padding: 22px 52px;
    border-radius: 46px;
    background: var(--color-secondary);
}

.cta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 42% 48%, rgba(251, 193, 17, 0.1), transparent 20%),
        radial-gradient(circle at 46% 40%, rgba(251, 193, 17, 0.08), transparent 16%);
    pointer-events: none;
}

.cta-media-column,
.cta-content,
.cta-action {
    position: relative;
    z-index: 1;
}

.cta-media-column {
    min-height: 160px;
}

.cta-content {
    max-width: 680px;
}

.cta-content h2 {
    margin: 0;
    color: var(--color-primary);
    font-size: 2rem;
    line-height: 0.96;
    letter-spacing: -0.05em;
    font-weight: 700;
    max-width: 520px;
}

.cta-content p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.96rem;
    font-weight: 600;
}

.cta-action {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.cta-button {
    margin-top: 0;
    min-height: 58px;
    padding: 0 34px;
    font-size: 0.9rem;
    border-radius: 999px;
    white-space: nowrap;
}

.cta-phone-wrap {
    position: absolute;
    left: -18px;
    top: 50%;
    width: 188px;
    transform: translateY(calc(-50% + 12px));
    pointer-events: none;
}

.cta-phone-image {
    display: block;
    width: 100%;
    max-width: 188px;
    height: auto;
    max-height: 337px;
    filter: drop-shadow(0 26px 42px rgba(0, 0, 0, 0.24));
}

.brands-strip {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(21, 21, 21, 0.25) transparent;
}

.brands-strip::-webkit-scrollbar {
    height: 8px;
}

.brands-strip::-webkit-scrollbar-thumb {
    background: rgba(21, 21, 21, 0.22);
    border-radius: 999px;
}

.brands-track {
    display: flex;
    gap: 18px;
    width: max-content;
}

.brand-card {
    min-width: 220px;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 28px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(21, 21, 21, 0.08);
    box-shadow: none;
}

.brand-card img {
    max-width: 100%;
    max-height: 54px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.map-section {
    width: 100%;
    line-height: 0;
}

.map-section iframe {
    display: block;
    width: 100%;
    height: 300px;
}

.section-placeholder h2,
.site-footer p,
.site-footer h3 {
    margin: 0;
}

.site-footer {
    background: var(--color-secondary);
    color: #fff;
}

.footer-divider {
    height: 5px;
    background: var(--color-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 1fr;
    gap: 40px;
    padding: 42px 0 46px;
}

.footer-brand-block {
    max-width: 420px;
}

.footer-logo {
    width: 180px;
    height: auto;
    margin-bottom: 18px;
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-primary);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
    transform: translateY(-1px);
    background: var(--color-primary);
    color: var(--color-secondary);
}

.footer-social-whatsapp:hover,
.footer-social-whatsapp:focus-visible {
    background: var(--color-whatsapp);
    color: #fff;
}

.footer-social-link svg {
    width: 22px;
    height: 22px;
}

.footer-description {
    margin-top: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
}

.footer-column h3 {
    margin-bottom: 16px;
    color: var(--color-primary);
    font-size: 1.1rem;
    font-weight: 800;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
}

.footer-credit {
    padding: 14px 0;
    background: #ececec;
    text-align: center;
}

.footer-credit p {
    color: var(--color-secondary);
    font-size: 0.95rem;
}

.footer-credit a {
    color: var(--color-secondary);
    font-weight: 800;
}

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-whatsapp);
    color: #fff;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.floating-whatsapp svg {
    width: 30px;
    height: 30px;
}

@media (max-width: 1080px) {
    .header-inner {
        flex-wrap: wrap;
        justify-content: center;
        padding: 18px 0;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 18px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 56px 0 126px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        display: flex;
        justify-content: center;
    }

    .hero-visual {
        justify-content: center;
    }

    .hero-note {
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-categories-wrap {
        margin-top: -92px;
    }

    .categories-preview-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-content {
        text-align: center;
    }

    .about-visual {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .footer-brand-block {
        max-width: none;
        grid-column: 1 / -1;
    }

    .brand-card {
        min-width: 200px;
    }

    .cta-card {
        grid-template-columns: 210px minmax(0, 1fr) 250px;
        gap: 18px;
        min-height: 190px;
        max-height: none;
        padding: 20px 24px;
    }

    .cta-content {
        max-width: none;
    }

    .cta-media-column {
        min-height: 150px;
    }

    .cta-content h2 {
        font-size: clamp(0.98rem, 1.8vw, 1.45rem);
    }

    .cta-content p {
        font-size: 0.72rem;
    }

    .cta-button {
        min-height: 52px;
        padding: 0 24px;
        font-size: 0.82rem;
    }

    .cta-phone-wrap {
        left: -8px;
        width: 155px;
    }
}

@media (max-width: 720px) {
    .site-header {
        position: static;
    }

    .brand img {
        width: 190px;
    }

    .header-inner {
        justify-content: center;
        gap: 16px;
    }

    .main-nav,
    .header-cta {
        display: none;
    }

    .floating-whatsapp {
        right: 16px;
        bottom: 16px;
        width: 58px;
        height: 58px;
    }

    .floating-whatsapp svg {
        width: 28px;
        height: 28px;
    }

    .button {
        width: 100%;
    }

    .hero-grid {
        gap: 10px;
        padding: 42px 0 92px;
    }

    .hero-content h1 {
        font-size: clamp(1.8rem, 8vw, 2.72rem);
    }

    .hero-content p {
        font-size: 1rem;
    }

    .battery-stage {
        min-height: 320px;
    }

    .battery-glow {
        width: 280px;
        height: 280px;
    }

    .hero-battery {
        width: min(100%, 368px);
    }

    .hero-categories-wrap {
        margin-top: -52px;
        padding-bottom: 18px;
    }

    .cta-section {
        padding: 32px 0 44px;
    }

    .cta-card {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 28px 22px 22px;
        border-radius: 30px;
        text-align: center;
        max-height: none;
        gap: 20px;
    }

    .cta-media-column {
        order: 1;
        min-height: 0;
        display: flex;
        justify-content: center;
    }

    .cta-content h2 {
        font-size: clamp(1.5rem, 7.2vw, 2.2rem);
    }

    .cta-content p {
        font-size: 0.96rem;
    }

    .cta-button {
        width: 100%;
        margin-top: 0;
        min-height: 68px;
        padding: 0 24px;
        font-size: 1rem;
    }

    .cta-content {
        order: 2;
    }

    .cta-action {
        order: 3;
        min-height: auto;
        justify-content: center;
        margin-top: 2px;
    }

    .cta-phone-wrap {
        position: static;
        width: 150px;
        margin: 0;
        transform: none;
    }

    .cta-phone-image {
        width: 100%;
        max-width: 150px;
        max-height: none;
    }

    .categories-preview-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .testimonials-title {
        margin-bottom: 22px;
    }

    .about-title {
        margin-bottom: 28px;
        font-size: clamp(1.2rem, 6vw, 1.72rem);
    }

    .about-text {
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .about-image-mask {
        width: min(100%, 320px);
    }

    .testimonials-carousel {
        overflow-x: auto;
        padding-bottom: 8px;
        scrollbar-width: thin;
    }

    .testimonials-track {
        display: flex;
        gap: 18px;
        width: max-content;
    }

    .testimonial-card {
        flex: 0 0 min(86vw, 320px);
        flex-basis: min(86vw, 320px);
        padding: 22px;
    }

    .testimonial-header h3 {
        font-size: 1.18rem;
    }

    .category-preview-body {
        min-height: 176px;
    }

    .category-preview-media {
        height: 148px;
        padding: 4px 10px 0;
    }

    .category-preview-image {
        max-width: calc(100% - 22px);
        max-height: calc(100% - 18px);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 34px 0 36px;
    }

    .footer-logo {
        width: 150px;
    }

    .brand-card {
        min-width: 172px;
        min-height: 94px;
        padding: 20px 22px;
    }

    .brand-card img {
        max-height: 42px;
    }
}
