/* =========================================================
   FortAgro.Peças — Landing Page
   Variáveis e Reset
   ========================================================= */

:root {
    --c-blue-dark: #07131B;
    --c-blue: #0077FF;
    --c-blue-mid: #3073BF;
    --c-blue-muted: #405E80;
    --c-yellow: #FAAA1B;
    --c-yellow-dark: #E5950A;
    --c-gold: #AA8139;
    --c-brown: #554B39;
    --c-white: #FFFFFF;
    --c-gray: #F4F6F8;
    --c-gray-2: #E1E5EA;
    --c-text: #07131B;
    --c-muted: #5b6b7d;

    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 2px 6px rgba(7, 19, 27, 0.06);
    --shadow-md: 0 8px 24px rgba(7, 19, 27, 0.10);
    --shadow-lg: 0 16px 48px rgba(7, 19, 27, 0.18);

    --header-h: 108px;
    --top-bar-h: 36px;
    --container: 1280px;

    --t-fast: 0.18s ease;
    --t: 0.28s ease;
}

* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { max-width: 100vw; overflow-x: hidden; }
body {
    margin: 0;
    font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--c-text);
    background: var(--c-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; margin: 0 0 0.5em; color: var(--c-blue-dark); }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; color: var(--c-text); }

/* Container — max-w-7xl (1280px) centered, px-4 mobile, px-8 desktop */
.container {
    width: 100%;
    max-width: var(--container);
    padding: 0 16px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .container { padding: 0 32px; }
}
.container--narrow { max-width: 820px; }

/* =========================================================
   Botões
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 2px solid transparent;
    padding: 12px 22px;
    border-radius: 50px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform var(--t-fast), background var(--t), color var(--t), box-shadow var(--t), border-color var(--t);
    text-align: center;
    line-height: 1.1;
}
.btn--primary {
    background: var(--c-yellow);
    color: var(--c-blue-dark);
    box-shadow: 0 6px 18px rgba(250, 170, 27, 0.28);
}
.btn--primary:hover {
    background: var(--c-blue-mid);
    color: var(--c-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(48, 115, 191, 0.4);
}
.btn--outline {
    background: transparent;
    color: var(--c-white);
    border-color: var(--c-white);
}
.btn--outline:hover {
    background: var(--c-white);
    color: var(--c-blue-dark);
    transform: translateY(-2px);
}
.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--sm { padding: 9px 16px; font-size: 0.85rem; }
.btn--block { display: flex; width: 100%; }

.btn:focus-visible {
    outline: 3px solid var(--c-yellow);
    outline-offset: 3px;
}

/* =========================================================
   Top Bar — cotações
   ========================================================= */
.top-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: var(--c-blue-dark);
    color: var(--c-white);
    font-size: 0.82rem;
    z-index: 101;
    border-bottom: 1px solid rgba(250, 170, 27, 0.25);
    overflow: hidden;
    height: var(--top-bar-h);
    display: flex;
    align-items: center;
}
.top-bar__marquee {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
            mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.top-bar__track {
    display: inline-flex;
    align-items: center;
    gap: 36px;
    width: max-content;
    animation: cotacoes-scroll 70s linear infinite;
    padding-left: 36px;
    line-height: 1;
}
/* Pause no hover removido — carrossel sempre rolando */
.top-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    white-space: nowrap;
}
.top-bar__label { color: var(--c-yellow); font-weight: 600; }
.top-bar__price { color: var(--c-white); font-weight: 700; }
.top-bar__unit { color: rgba(255, 255, 255, 0.6); font-size: 0.78rem; }
.top-bar__arrow { font-size: 0.7rem; }
.top-bar__arrow--up { color: #25D366; }
.top-bar__arrow--down { color: #ff6b6b; }
.top-bar__source {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.75rem;
    flex-shrink: 0;
    white-space: nowrap;
}
@keyframes cotacoes-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .top-bar__track { animation: none; }
}
@media (max-width: 767px) {
    :root { --top-bar-h: 32px; }
    .top-bar__track { gap: 28px; animation-duration: 55s; }
}
@media (max-width: 480px) {
    :root { --top-bar-h: 28px; }
    .top-bar { font-size: 0.75rem; }
    .top-bar__unit { font-size: 0.7rem; }
    .top-bar__track { gap: 24px; animation-duration: 50s; padding-left: 24px; }
}

/* =========================================================
   Header
   ========================================================= */
.header {
    position: fixed;
    top: var(--top-bar-h);
    left: 0; right: 0;
    height: var(--header-h);
    background: rgba(0, 119, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(250, 170, 27, 0.18);
    z-index: 100;
    transition: box-shadow var(--t), background var(--t), border-color var(--t);
}
.header::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--c-gold) 50%, transparent 100%);
    opacity: 0;
    transition: opacity var(--t);
}
.header.is-scrolled {
    box-shadow: 0 8px 24px rgba(0, 119, 255, 0.22);
    background: rgba(0, 119, 255, 0.98);
    border-bottom-color: rgba(250, 170, 27, 0);
}
.header.is-scrolled::after { opacity: 1; }
.header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--c-white);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.2px;
}
.logo__icon {
    width: 36px;
    height: 36px;
    color: var(--c-yellow);
    transition: transform var(--t);
}
.logo:hover .logo__icon { transform: rotate(45deg); }
.logo__text { line-height: 1; }
.logo__dot { color: var(--c-yellow); }

.logo__img {
    height: 80px;
    width: auto;
    display: block;
    filter:
        brightness(0) invert(1)
        drop-shadow(0 0 12px rgba(250, 170, 27, 0.45))
        drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
    transition: filter var(--t), transform var(--t);
}
.logo:hover .logo__img {
    filter:
        brightness(0) invert(1)
        drop-shadow(0 0 16px rgba(250, 170, 27, 0.65))
        drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
    transform: scale(1.03);
}
.footer .logo__img {
    height: 76px;
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(250, 170, 27, 0.35));
}
@media (max-width: 900px) {
    .logo__img { height: 56px; }
}
@media (max-width: 768px) {
    .logo__img { height: 44px; }
    .footer .logo__img { height: 56px; }
}
@media (max-width: 480px) {
    .logo__img { height: 40px; }
    .footer .logo__img { height: 52px; }
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav__list {
    display: flex;
    align-items: center;
    gap: 24px;
}
.nav__link {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 6px 0;
    transition: color var(--t);
}
.nav__link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--c-yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t);
}
.nav__link:hover { color: var(--c-yellow); }
.nav__link:hover::after { transform: scaleX(1); }

.hamburger {
    display: none;
    width: 44px; height: 44px;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
    position: relative;
}
.hamburger span {
    position: absolute;
    left: 10px; right: 10px;
    height: 2px;
    background: var(--c-white);
    transition: transform var(--t), opacity var(--t), top var(--t);
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 28px; }
.hamburger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: calc(var(--header-h) + var(--top-bar-h) + 40px);
    padding-bottom: 60px;
    color: var(--c-white);
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}
.hero__bg {
    position: absolute; inset: 0; z-index: -1;
}
.hero__bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: saturate(0.9);
}
.hero__overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(135deg, rgba(7, 19, 27, 0.96) 0%, rgba(7, 19, 27, 0.86) 60%, rgba(0, 119, 255, 0.78) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border: 1px solid rgba(250, 170, 27, 0.5);
    border-radius: 50px;
    color: var(--c-yellow);
    margin-bottom: 18px;
}
.eyebrow--blue {
    color: var(--c-blue);
    border-color: rgba(0, 119, 255, 0.35);
    background: rgba(7, 19, 27, 0.08);
}
.eyebrow--yellow {
    background: rgba(250, 170, 27, 0.12);
}

.hero__title {
    color: var(--c-white);
    margin-bottom: 12px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.hero__subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    font-weight: 500;
    margin-bottom: 18px;
    color: var(--c-yellow);
}
.hero__text {
    max-width: none;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 28px;
}
@media (min-width: 900px) {
    .hero__text { white-space: nowrap; }
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}
.hero__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.hero__sep { color: var(--c-yellow); }

.hero__lines {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
}
.hero__lines span {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--c-yellow), transparent);
    animation: speed 6s linear infinite;
}
.hero__lines span:nth-child(1) { top: 25%; left: -20%; width: 30%; animation-delay: 0s; }
.hero__lines span:nth-child(2) { top: 55%; left: -25%; width: 40%; animation-delay: 1.5s; }
.hero__lines span:nth-child(3) { top: 78%; left: -15%; width: 25%; animation-delay: 3s; }
@keyframes speed {
    0%   { transform: translateX(0); opacity: 0; }
    20%  { opacity: 0.8; }
    100% { transform: translateX(160vw); opacity: 0; }
}

/* =========================================================
   Sections base
   ========================================================= */
.section {
    padding: 80px 0;
    position: relative;
}
.section--white { background: var(--c-white); }
.section--gray  { background: var(--c-gray); }
.section--dark  { background: var(--c-blue-dark); color: var(--c-white); }

.section__head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}
.section__title { margin-bottom: 14px; }
.section__title--light { color: var(--c-white); }
.section__sub {
    color: var(--c-blue-muted);
    font-size: 1.05rem;
}
.section--dark .section__sub { color: rgba(255, 255, 255, 0.85); }

/* =========================================================
   Sobre
   ========================================================= */
.about {
    max-width: none;
    margin: 0 auto;
    text-align: center;
    font-size: 1.05rem;
}
.about p { text-wrap: pretty; }

/* "Quem somos" — headline em linha única no desktop */
@media (min-width: 900px) {
    #sobre .section__head { max-width: none; }
    #sobre .section__title { white-space: nowrap; }
}
.about__highlight {
    margin-top: 30px;
    padding: 26px 30px;
    background: linear-gradient(135deg, var(--c-blue-dark), var(--c-blue));
    color: var(--c-white);
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}
.about__highlight strong { color: var(--c-yellow); }
.about__highlight .gear-bg {
    position: absolute;
    right: -30px; top: -30px;
    width: 160px; height: 160px;
    object-fit: contain;
    opacity: 0.18;
    filter: brightness(0) invert(1);
    pointer-events: none;
}

/* =========================================================
   Cards (Peças por aplicação)
   ========================================================= */
.cards {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}
.card {
    background: var(--c-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform var(--t), box-shadow var(--t);
    border: 1px solid rgba(7, 19, 27, 0.05);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--c-gray);
}
.card__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.card:hover .card__media img { transform: scale(1.06); }
.card__body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}
.card__title {
    color: var(--c-blue-dark);
    margin: 0;
}
.card__text {
    color: var(--c-blue-muted);
    margin: 0;
}
.card__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 20px;
    margin-block: auto;
    padding-block: 8px;
}
.card__tags li {
    display: flex;
    align-items: center;
}
.card__tags img {
    height: 32px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

/* =========================================================
   Marcas atendidas
   ========================================================= */
.brands-marquee {
    overflow: hidden;
    margin-bottom: 28px;
    padding: 12px 0;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.brands-marquee__track {
    display: inline-flex;
    align-items: center;
    gap: 80px;
    animation: brands-scroll 60s linear infinite;
    white-space: nowrap;
}
/* Pause no hover removido — carrossel sempre rolando */
.brands-marquee img {
    height: 80px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    flex-shrink: 0;
    user-select: none;
    -webkit-user-drag: none;
}
@keyframes brands-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .brands-marquee__track { animation: none; }
}
.legal-notice {
    font-size: 0.85rem;
    color: var(--c-muted);
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =========================================================
   Diferenciais
   ========================================================= */
.features {
    display: grid;
    gap: 28px;
    grid-template-columns: 1fr;
}
.feature {
    text-align: center;
    padding: 12px;
}
.feature__icon {
    width: 64px; height: 64px;
    margin: 0 auto 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--c-yellow), var(--c-yellow-dark));
    color: var(--c-blue-dark);
    display: grid;
    place-items: center;
    transition: transform var(--t);
}
.feature:hover .feature__icon { transform: rotate(-6deg) scale(1.06); }
.feature__icon svg { width: 30px; height: 30px; }
.feature h3 {
    color: var(--c-white);
    margin-bottom: 10px;
}
.feature p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin: 0;
}

/* =========================================================
   Como solicitar
   ========================================================= */
.how {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr;
    align-items: center;
}
.how__text .eyebrow { margin-bottom: 14px; }
.checklist {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}
.checklist li {
    position: relative;
    padding-left: 32px;
    color: var(--c-text);
    font-weight: 500;
}
.checklist li::before {
    content: "";
    position: absolute;
    left: 0; top: 4px;
    width: 22px; height: 22px;
    background: var(--c-yellow);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230B2545' d='m9 16.2-3.5-3.6L4.1 14l4.9 4.9L20.4 7.5 19 6.1Z'/%3E%3C/svg%3E");
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: center;
}
.how__art {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
    background: var(--c-gray);
}
.how__art img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   Formulário
   ========================================================= */
.form-card {
    background: var(--c-white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(7, 19, 27, 0.05);
}
.form-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;
    margin-bottom: 22px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--c-blue-dark);
}
.field label span { color: #d33; }
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 16px;
    color: var(--c-text);
    background: var(--c-white);
    border: 1.5px solid var(--c-gray-2);
    border-radius: var(--radius-sm);
    transition: border-color var(--t), box-shadow var(--t);
    -webkit-appearance: none;
    appearance: none;
}
.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%231E5DAD' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    padding-right: 38px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--c-blue);
    box-shadow: 0 0 0 4px rgba(0, 119, 255, 0.12);
}
.field textarea { resize: vertical; min-height: 100px; }
.field input[type="file"] { padding: 10px; cursor: pointer; }
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
    border-color: #d33;
    box-shadow: 0 0 0 4px rgba(211, 51, 51, 0.1);
}
.hint { color: var(--c-muted); font-size: 0.8rem; }

.form-status {
    margin: 12px 0 0;
    text-align: center;
    font-size: 0.92rem;
    font-weight: 600;
}
.form-status.is-error { color: #d33; }
.form-status.is-success { color: #1f7a3a; }

/* =========================================================
   Localização
   ========================================================= */
.location {
    display: grid;
    gap: 36px;
    grid-template-columns: 1fr;
    align-items: center;
}
.location__map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
    background: var(--c-gray);
}
.location__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* =========================================================
   Instagram
   ========================================================= */
.instagram {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.instagram__icon {
    width: 76px; height: 76px;
    margin: 0 auto 20px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: var(--c-white);
    border-radius: 22px;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-md);
}
.instagram__icon svg { width: 40px; height: 40px; }
.instagram__handle {
    font-weight: 700;
    color: var(--c-blue);
    font-size: 1.1rem;
    margin: 8px 0 22px;
}

/* =========================================================
   CTA Final
   ========================================================= */
.cta {
    position: relative;
    padding: 90px 0;
    color: var(--c-white);
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(7, 19, 27, 0.92), rgba(0, 119, 255, 0.78));
}
.cta__content { max-width: 820px; margin: 0 auto; }
.cta__content h2 {
    color: var(--c-white);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 14px;
}
.cta__content p {
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 26px;
    font-size: 1.05rem;
}
.cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* =========================================================
   Instagram block
   ========================================================= */
.instagram-block {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}
.instagram-block__head { margin-bottom: 4px; }
.instagram-block__handle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--c-blue-dark);
    transition: transform var(--t-fast), color var(--t);
}
.instagram-block__handle svg {
    width: 36px;
    height: 36px;
    color: #E1306C;
    transition: transform var(--t);
}
.instagram-block__handle:hover { color: #E1306C; }
.instagram-block__handle:hover svg { transform: scale(1.08) rotate(-4deg); }

.instagram-block__feed {
    width: 100%;
    min-height: 80px;
    /* Overrides do widget Behold pra mostrar imagem inteira sem corte */
    --behold-image-aspect-ratio: auto;
    --behold-image-fit: contain;
    --behold-image-background: var(--c-gray);
}
.instagram-block__feed behold-widget {
    --behold-image-aspect-ratio: auto;
    --behold-image-fit: contain;
}
.instagram-block__feed-placeholder {
    color: var(--c-blue-muted);
    font-size: 0.92rem;
    font-style: italic;
    background: var(--c-gray);
    border: 1px dashed var(--c-gray-2);
    border-radius: var(--radius);
    padding: 28px 18px;
    margin: 0;
}
.instagram-block__feed-placeholder a {
    color: var(--c-blue);
    font-weight: 600;
    text-decoration: underline;
}

.btn--instagram {
    background-image: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background-color: #dc2743;
    background-clip: padding-box;
    color: var(--c-white);
    border: 0;
    box-shadow: 0 6px 18px rgba(7, 19, 27, 0.12);
}
.btn--instagram:hover {
    color: var(--c-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(7, 19, 27, 0.18);
    filter: brightness(1.06);
}

@media (max-width: 640px) {
    .instagram-block { gap: 22px; }
    .instagram-block__handle { font-size: 1.05rem; }
    .instagram-block__handle svg { width: 30px; height: 30px; }
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
    background: var(--c-blue-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 40px 0 24px;
}
.footer__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px 60px;
    margin-bottom: 28px;
}
.footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 0 1 auto;
}
.footer__brand .logo--light { margin: 0 0 10px; }
.footer__slogan {
    color: var(--c-yellow);
    font-weight: 700;
    font-size: 0.95rem;
    margin: 0;
    letter-spacing: 0.2px;
}
.footer__col { flex: 0 1 auto; text-align: left; }
.footer__col h4 {
    color: var(--c-gold);
    font-size: 0.95rem;
    margin: 0 0 12px;
}
.footer__col ul { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 0.9rem; }
.footer__col a {
    color: rgba(255, 255, 255, 0.82);
    transition: color var(--t);
}
.footer__col a:hover { color: var(--c-yellow); }
.footer__brands {
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 22px !important;
}
.footer__brands li {
    display: flex;
    align-items: center;
}
.footer__brands img {
    height: 22px;
    width: auto;
    max-width: 90px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    transition: opacity var(--t);
}
.footer__brands img:hover { opacity: 1; }
.footer__copy {
    margin: 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
}
@media (max-width: 640px) {
    .footer__row { gap: 24px; }
    .footer__brand, .footer__col { flex: 1 1 100%; }
}

/* =========================================================
   WhatsApp flutuante
   ========================================================= */
.chat-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    pointer-events: none;
}
.chat-widget > * { pointer-events: auto; }

.chat-widget__toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: var(--c-white);
    display: grid;
    place-items: center;
    border: 0;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: transform var(--t), box-shadow var(--t);
    position: relative;
}
.chat-widget__toggle svg { width: 32px; height: 32px; }
.chat-widget__toggle::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.5);
    z-index: -1;
    animation: pulse 1.8s ease-out infinite;
}
.chat-widget__toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 14px 38px rgba(37, 211, 102, 0.55);
}
.chat-widget__toggle:focus-visible {
    outline: 3px solid var(--c-blue);
    outline-offset: 3px;
}
.chat-widget.is-open .chat-widget__toggle::before { animation: none; opacity: 0; }
@keyframes pulse {
    0%   { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.chat-widget__card {
    width: 340px;
    max-width: calc(100vw - 28px);
    background: var(--c-white);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(7, 19, 27, 0.25);
    overflow: hidden;
    transform-origin: bottom right;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.96);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}
.chat-widget.is-open .chat-widget__card {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
}

.chat-widget__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 44px 16px 18px;
    background: var(--c-blue);
    color: var(--c-white);
    position: relative;
}
.chat-widget__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 30%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}
.chat-widget__identity {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
    min-width: 0;
}
.chat-widget__identity strong { font-size: 1rem; font-weight: 700; }
.chat-widget__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.92);
}
.chat-widget__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #25D366;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: dot-pulse 1.6s ease-out infinite;
}
@keyframes dot-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    100% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
}
.chat-widget__identity small {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
}
.chat-widget__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.18);
    color: var(--c-white);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background var(--t-fast);
}
.chat-widget__close svg { width: 14px; height: 14px; }
.chat-widget__close:hover { background: rgba(255, 255, 255, 0.32); }
.chat-widget__close:focus-visible { outline: 2px solid var(--c-white); outline-offset: 2px; }

.chat-widget__body {
    padding: 18px 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fafbfc;
    max-height: 320px;
    overflow-y: auto;
}
.chat-widget__bubble {
    background: #F3F4F6;
    color: #1F2937;
    padding: 10px 14px;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    font-size: 0.9rem;
    line-height: 1.45;
    max-width: 92%;
    align-self: flex-start;
    opacity: 0;
    transform: translateY(8px);
}
.chat-widget.is-open .chat-widget__bubble {
    animation: bubble-in 0.4s ease forwards;
    animation-delay: calc(0.15s + var(--i, 0) * 0.18s);
}
@keyframes bubble-in {
    to { opacity: 1; transform: translateY(0); }
}

.chat-widget__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 16px;
    background: #25D366;
    color: var(--c-white);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background var(--t-fast);
}
.chat-widget__cta:hover { background: #1ebe5a; }
.chat-widget__cta svg { width: 20px; height: 20px; }
.chat-widget__cta:focus-visible { outline: 2px solid var(--c-blue); outline-offset: -3px; }

/* =========================================================
   Reveal
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero__lines, .chat-widget__toggle::before, .chat-widget__dot { animation: none; }
    .chat-widget__bubble { opacity: 1; transform: none; animation: none !important; }
    html { scroll-behavior: auto; }
}

/* =========================================================
   Steps (3 passos)
   ========================================================= */
.steps {
    list-style: none;
    margin: 0 0 48px;
    padding: 0;
    display: grid;
    gap: 24px;
    counter-reset: step;
}
.step {
    background: var(--c-white);
    border: 1px solid rgba(7, 19, 27, 0.08);
    border-radius: var(--radius);
    padding: 32px 28px 28px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(250, 170, 27, 0.4);
}
.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--c-blue-dark);
    color: var(--c-yellow);
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 18px;
    box-shadow: 0 6px 16px rgba(7, 19, 27, 0.18);
}
.step__title {
    font-size: 1.2rem;
    margin: 0 0 10px;
    color: var(--c-blue-dark);
    font-weight: 700;
}
.step__text {
    margin: 0;
    color: var(--c-muted);
    line-height: 1.55;
}
.how-cta {
    text-align: center;
    margin-bottom: 56px;
}
.how-tips {
    background: var(--c-gray);
    border-radius: var(--radius);
    padding: 28px 32px;
    border-left: 4px solid var(--c-gold);
}
.how-tips__intro {
    margin: 0 0 14px;
    font-weight: 600;
    color: var(--c-blue-dark);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
    display: grid;
    gap: 14px;
}
.faq__item {
    background: var(--c-white);
    border: 1px solid rgba(7, 19, 27, 0.1);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: border-color var(--t), box-shadow var(--t);
}
.faq__item[open] {
    border-color: rgba(250, 170, 27, 0.6);
    box-shadow: var(--shadow-md);
}
.faq__q {
    list-style: none;
    cursor: pointer;
    padding: 20px 56px 20px 24px;
    font-weight: 600;
    color: var(--c-blue-dark);
    font-size: 1.02rem;
    position: relative;
    user-select: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--c-yellow);
    color: var(--c-blue-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1;
    transition: transform var(--t);
}
.faq__item[open] .faq__q::after {
    content: "−";
    transform: translateY(-50%) rotate(180deg);
}
.faq__q:hover { background: rgba(250, 170, 27, 0.06); }
.faq__a {
    padding: 0 24px 22px;
    color: var(--c-muted);
    line-height: 1.65;
}
.faq__a p { margin: 0; }

/* Form note (texto abaixo do botão) */
.form-note {
    margin: 16px 0 0;
    text-align: center;
    color: var(--c-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1024px) {
    .nav { gap: 20px; }
    .nav__list { gap: 18px; font-size: 0.9rem; }
    .nav__cta { padding: 12px 18px; font-size: 0.9rem; }
}

@media (max-width: 767px) {
    :root { --header-h: 84px; }
}
@media (max-width: 480px) {
    :root { --header-h: 76px; }
}

@media (max-width: 767px) {
    .hamburger { display: block; }
    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        background: var(--c-blue-dark);
        flex-direction: column;
        padding: 24px 20px 32px;
        gap: 16px;
        transform: translateY(-130%);
        transition: transform var(--t);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }
    .nav.is-open { transform: translateY(0); }
    .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        width: 100%;
    }
    .nav__list li { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
    .nav__link {
        display: block;
        padding: 14px 4px;
        font-size: 1rem;
    }
    .nav__cta { width: 100%; }
}

@media (min-width: 640px) {
    .form-grid { grid-template-columns: 1fr 1fr; }
    .field--full { grid-column: 1 / -1; }
    .cards { grid-template-columns: 1fr 1fr; }
    .brands { grid-template-columns: 1fr 1fr; }
    .features { grid-template-columns: 1fr 1fr; }
    .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 768px) {
    .section { padding: 100px 0; }
    .how { grid-template-columns: 1.1fr 0.9fr; gap: 60px; }
    .location { grid-template-columns: 1fr 1fr; gap: 50px; }
    .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}

@media (min-width: 1024px) {
    .cards { grid-template-columns: repeat(4, 1fr); }
    .brands { grid-template-columns: repeat(4, 1fr); }
    .features { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1280px) {
    .container { padding: 0 32px; }
}

/* =========================================================
   Polimento Mobile (≤640px)
   ========================================================= */
@media (max-width: 640px) {
    h1, h2 { text-wrap: balance; }
    h1 { font-size: 2rem; line-height: 1.2; }
    h2 { font-size: 1.65rem; line-height: 1.25; }

    .container { padding: 0 20px; }
    .section { padding: 56px 0; }
    .section__head { margin-bottom: 36px; }

    /* Header / nav */
    .header__inner { gap: 8px; }
    .nav__cta { padding: 14px 22px; font-size: 1rem; min-height: 48px; }

    /* Hero */
    .hero {
        padding-top: calc(var(--header-h) + var(--top-bar-h) + 28px);
        padding-bottom: 48px;
        min-height: 88vh;
        min-height: 88svh;
    }
    .hero__title { font-size: 2.05rem; line-height: 1.2; }
    .hero__subtitle { font-size: 1.15rem; line-height: 1.5; margin-bottom: 22px; text-wrap: pretty; }
    .hero__text { display: none; }
    .hero .eyebrow { display: none; }
    .hero__actions { gap: 12px; flex-direction: column; align-items: stretch; margin-bottom: 24px; }
    .hero__actions .btn { width: 100%; min-height: 48px; }

    /* Botões em geral — tap target firme */
    .btn { min-height: 48px; }
    .btn--lg { min-height: 52px; padding-left: 24px; padding-right: 24px; }
    .hero__contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        font-size: 0.85rem;
        line-height: 1.45;
    }
    .hero__sep { display: none; }
    .eyebrow { font-size: 0.7rem; letter-spacing: 1.5px; padding: 5px 12px; margin-bottom: 14px; }

    /* Sobre */
    .about { font-size: 1rem; line-height: 1.6; }
    .about p { font-size: 0.97rem; line-height: 1.6; }
    .about__highlight { padding: 26px 22px; font-size: 1rem; line-height: 1.5; text-align: center; }
    .about__highlight .gear-bg { width: 80px; height: 80px; right: -10px; top: -10px; opacity: 0.1; }

    /* Cards */
    .cards { gap: 16px; }
    .card__body { padding: 18px; gap: 12px; }
    .card__title { font-size: 1.1rem; }

    /* Marcas */
    .brands-marquee__track { gap: 48px; animation-duration: 25s; }
    .brands-marquee img { height: 60px; max-width: 150px; }

    /* Diferenciais */
    .features { gap: 16px; }
    .feature p { font-size: 0.95rem; line-height: 1.6; }

    /* Como solicitar */
    .how { gap: 28px; }
    .checklist li { font-size: 0.95rem; line-height: 1.6; }

    /* Formulário */
    .form-card { padding: 22px 18px; }
    .form-grid { gap: 16px; }
    .field input, .field select, .field textarea { padding: 14px 14px; min-height: 48px; }
    .field label { font-size: 0.875rem; }
    #quote-form .btn { min-height: 52px; font-size: 1rem; width: 100%; }

    /* Localização */
    .location { gap: 26px; }
    .location__map { aspect-ratio: 1 / 1; }

    /* FAQ */
    .faq__q { padding: 22px 60px 22px 20px; font-size: 1.05rem; }
    .faq__q::after { right: 16px; width: 40px; height: 40px; font-size: 1.4rem; }
    .faq__a { padding: 0 20px 22px; font-size: 0.95rem; line-height: 1.65; }

    /* CTA Final */
    .cta { padding: 64px 0; }
    .cta__content h2 { font-size: 1.5rem; }
    .cta__actions { flex-direction: column; align-items: stretch; }
    .cta__actions .btn { width: 100%; }

    /* Footer */
    .footer { padding: 44px 0 22px; }
    .footer__grid { gap: 28px; margin-bottom: 24px; }
    .footer h4 { font-size: 0.95rem; }
    .footer__legal { font-size: 0.72rem; }
    .footer__copy { font-size: 0.78rem; }

    /* Chat widget */
    .chat-widget { right: 20px; bottom: 20px; gap: 12px; }
    .chat-widget__toggle { width: 56px; height: 56px; }
    .chat-widget__toggle svg { width: 28px; height: 28px; }
    .chat-widget__card { width: 92vw; max-width: 92vw; margin-right: 0; }

    /* Botões — alvos de toque mais firmes */
    .btn { min-height: 44px; }
    .btn--lg { padding: 14px 22px; font-size: 0.95rem; }
}

/* =========================================================
   Tela bem pequena (≤380px)
   ========================================================= */
@media (max-width: 380px) {
    .hero__title { font-size: 1.85rem; }
    h2 { font-size: 1.5rem; }
    .container { padding: 0 16px; }
    .form-card { padding: 22px 16px; }
    .about__highlight { padding: 22px 18px; font-size: 0.95rem; }
    .header__inner { gap: 6px; }
}

/* =========================================================
   Suporte a notch / safe-area (iPhone)
   ========================================================= */
@supports (padding: max(0px)) {
    .header__inner {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    .chat-widget {
        right: max(20px, env(safe-area-inset-right));
        bottom: max(20px, env(safe-area-inset-bottom));
    }
}

/* =========================================================
   Auditoria mobile — ajustes finos
   ========================================================= */

/* Anchor scroll respeita header fixo (substitui o fix manual via JS) */
html { scroll-padding-top: calc(var(--header-h) + var(--top-bar-h) + 12px); }

/* Tablet (≥641px e ≤900px) — evita layout desktop apertado em iPad portrait */
@media (min-width: 768px) and (max-width: 900px) {
    .cards { grid-template-columns: 1fr 1fr; }
    .features { grid-template-columns: 1fr 1fr; }
    .footer__row { gap: 18px 28px; }
    .container { padding: 0 24px; }
    .section { padding: 64px 0; }
}

/* Hero contact — quebra suave em telas ≤640px (já está em coluna, garantir wrap) */
@media (max-width: 640px) {
    .hero__contact span { word-break: break-word; }
    .form-status { font-size: 0.9rem; line-height: 1.4; }
}

/* Marquee — limita em telas pequenas pra não estourar viewport */
@media (max-width: 380px) {
    .brands-marquee__track { gap: 40px; animation-duration: 22s; }
    .brands-marquee img { height: 52px; max-width: 130px; }
}

/* CTA final — heading menor em telas pequenas */
@media (max-width: 640px) {
    .cta__content h2 { font-size: clamp(1.4rem, 5.5vw, 1.8rem); }
    .cta__content p { font-size: 0.95rem; }
}

/* About highlight — gear-bg menor no mobile pra não cobrir texto */
@media (max-width: 640px) {
    .about__highlight .gear-bg {
        width: 110px;
        height: 110px;
        right: -22px;
        top: -22px;
        opacity: 0.12;
    }
}
@media (max-width: 380px) {
    .about__highlight .gear-bg { width: 90px; height: 90px; opacity: 0.1; }
}

/* Chat widget — em telas muito pequenas, garantir respiração */
@media (max-width: 480px) {
    .chat-widget__card {
        max-width: 92vw;
        width: 92vw;
    }
    .chat-widget__body { max-height: 260px; }
    .chat-widget__bubble { font-size: 0.92rem; line-height: 1.5; }
    .chat-widget__cta { padding: 14px 16px; font-size: 1rem; min-height: 48px; }
}

/* Section head — sub mais legível em mobile */
@media (max-width: 640px) {
    .section__sub { font-size: 0.95rem; line-height: 1.55; }
}
