/* =====================================================================
   IMAVI — style.css
   Estilos das páginas (home, linhas, 404) — valores extraídos do site
   atual (post-1708.css, post-1472/1550/1540/1559.css). Ver responsive.css
   para os breakpoints ≤1024 e ≤767 (mesmos cortes do Elementor).
   ===================================================================== */

/* =====================================================================
   HOME — HERO
   ===================================================================== */
.hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 100px 40px;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    top: 0; left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
}
.hero__bg img {
    width: 100vw;
    max-width: 100%;
    height: 100vh;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
}
.hero__inner {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 18px 0;
    width: 100%;
    max-width: 1200px;
}
.hero__col-texto { flex: 1; }
.hero__titulo {
    font-size: 58px;
    font-weight: 700;
    line-height: 60px;
    color: #D81E3B;
    margin-bottom: 25px;
}
.hero__titulo p { margin: 0; }
.hero__subtitulo {
    max-width: 80%;
    font-size: 20px;
    font-weight: 400;
    line-height: 26px;
    color: #FFFFFF;
}
.hero__subtitulo p { margin: 0; }
.hero__botoes {
    display: flex;
    gap: 0 16px;
    margin-top: 15px;
}
.hero__botoes .btn { border-radius: 30px; }
.hero__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 18px 18px;
    max-width: 596px;
}
.hero__card {
    width: 270px;
    min-height: 210px;
    border: 1px solid #C9C9C9;
    border-radius: 20px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* =====================================================================
   HOME — FAIXA DE DIFERENCIAIS
   ===================================================================== */
.faixa { background-color: #474747; padding: 20px 0; }
.faixa__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faixa__inner p { margin: 0; color: #FFFFFF; font-weight: 400; }

/* =====================================================================
   HOME — SOLUÇÃO IDEAL (vídeo)
   ===================================================================== */
.solucao { padding: 50px 0; }
.solucao__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 40px;
}
.solucao__video-box {
    width: 50%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(255,255,255,.88);
    border-radius: 23px;
    padding: 50px 40px;
}
.solucao__video {
    width: 100%;
    aspect-ratio: 1.33333;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}
.solucao__conteudo {
    width: 50%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 23px;
}
.solucao__titulo {
    width: 100%;
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 20px;
    text-align: start;
    align-self: center;
}
.solucao__texto {
    width: 100%;
    font-size: 20px;
    font-weight: 400;
    line-height: 23px;
    margin-bottom: 20px;
}
.solucao__texto p { margin: 0; }
.solucao__botoes {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    width: 100%;
    align-self: flex-start;
}

/* =====================================================================
   HOME — LINHAS (intro + tabs)
   ===================================================================== */
.espacador { height: 80px; }
.linhas-intro__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 0 100px;
}
.linhas-intro__col { width: 47%; }
.linhas-intro__col--texto { display: flex; flex-direction: column; justify-content: center; }
.linhas-intro__titulo {
    font-size: 50px;
    font-weight: 700;
    line-height: 48px;
    color: #921E30;
    margin: 0 0 20px;
    text-align: start;
}
.linhas-intro__texto { font-size: 20px; font-weight: 400; line-height: 26px; margin-bottom: 20px; }

.linhas-tabs__inner { max-width: var(--container); margin: 0 auto; }
.tabs__heading {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tabs__title {
    background: rgba(136,136,136,.53);
    color: #000000;
    border: 0;
    padding: 15px 35px;
    font-family: "Source Sans 3", Sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    transition: background .3s, color .3s;
}
.tabs__title:hover,
.tabs__title[aria-selected="true"] { background: #921E30; color: #FFFFFF; }
.tabs__content { margin-top: 20px; margin-bottom: 10px; }
.tabs__title--mobile { display: none; } /* só aparece no modo acordeão (≤767px) */
.tabs__panel {
    display: none;
    background-color: #F2F2F2;
    border-radius: 15px;
    overflow: hidden;
}
.tabs__panel.is-active { display: flex; flex-direction: row; }
.tabs__panel-texto {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 30px;
}
.tabs__panel-titulo { max-width: 70%; font-weight: 700; margin: 0 0 20px; }
.tabs__panel-desc {
    max-width: 71%;
    margin: -10px 0 20px;
    font-weight: 400;
    line-height: 21px;
}
.tabs__panel-desc p { margin: 0; }
.tabs__panel-botoes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 10px;
    width: 76%;
}
.tabs__panel-botoes .btn { white-space: nowrap; }
.tabs__panel-imagem { width: 50%; display: flex; flex-direction: column; padding: 20px 30px 20px 0; }
.tabs__panel-imagem img { width: 100%; height: auto; }

/* =====================================================================
   HOME — CARROCERIAS E REBOQUES (flip cards)
   ===================================================================== */
.especiais { padding-top: 100px; } /* respiro entre as tabs e a seção, como no original */
.especiais__titulo-wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding-bottom: 30px;
}
.especiais__titulo {
    text-align: center;
    margin: 0;
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
}
.especiais__inner { max-width: var(--container); margin: 0 auto; padding-bottom: 20px; }
.especiais__grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.flip-card {
    position: relative;
    width: 19%;
    height: 320px;
    perspective: 1000px;
}
.flip-card__front,
.flip-card__back {
    position: absolute;
    inset: 0;
    transition: opacity .5s ease;
    overflow: hidden;
}
.flip-card__front {
    background-color: #FFFFFF;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    border: 1px solid #E8E8E8;
    opacity: 1;
    z-index: 2;
}
.flip-card__back {
    background-color: var(--cor-primaria);
    opacity: 0;
    z-index: 1;
}
.flip-card:hover .flip-card__front,
.flip-card.is-flipped .flip-card__front { opacity: 0; }
.flip-card:hover .flip-card__back,
.flip-card.is-flipped .flip-card__back { opacity: 1; z-index: 3; }
.flip-card__conteudo {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 10px;
}
.flip-card__front .flip-card__conteudo { justify-content: flex-end; text-align: center; }
.flip-card__back .flip-card__conteudo { justify-content: center; text-align: left; }
.flip-card__logo img { max-width: 62px; }
.flip-card__front .flip-card__titulo {
    color: var(--cor-primaria);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 5px;
}
.flip-card__front .flip-card__resumo { color: var(--cor-secundaria); font-size: 12px; margin-bottom: 10px; }
.flip-card__front .flip-card__resumo p { margin: 0 0 10px; }
.flip-card__back .flip-card__titulo {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 11px;
}
.flip-card__back .flip-card__desc { color: #ffffff; font-size: 12px; }
.flip-card__back .flip-card__desc p { margin: 0 0 8px; color: #ffffff; }

/* =====================================================================
   HOME — CATÁLOGO ("Ficou com alguma dúvida?")
   ===================================================================== */
.catalogo { padding: 120px 0; background-repeat: no-repeat; background-size: contain; }
.catalogo__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
}
.catalogo__col-imagem { width: 50%; text-align: center; }
.catalogo__col-imagem img { margin-bottom: 20px; }
.catalogo__col-texto { width: 50%; display: flex; flex-direction: column; }
.catalogo__titulo { text-align: end; align-self: flex-end; width: 100%; margin: 0 0 20px; }
.catalogo__texto {
    max-width: 76%;
    align-self: flex-end;
    text-align: end;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 20px;
}
.catalogo__texto p { margin-bottom: 16px; }
.catalogo__texto p:last-child { margin-bottom: 0; }
.catalogo__botoes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: end;
    align-self: flex-end;
    width: 87%;
}
.catalogo__botoes .btn--outline-preto { margin-right: -28px; }

/* =====================================================================
   HOME — PERSONALIZAÇÃO (faixa vinho)
   ===================================================================== */
.personalizacao { background-color: #921E30; padding-top: 50px; }
.personalizacao__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 0 100px;
}
.personalizacao__col--titulo { display: flex; align-items: center; }
.personalizacao__titulo {
    max-width: 550px;
    font-size: 45px;
    font-weight: 700;
    line-height: 50px;
    color: #FFFFFF;
    margin: 0 0 34px;
}
.personalizacao__col--texto { width: 35%; display: flex; flex-direction: column; justify-content: center; }
.personalizacao__texto { font-size: 18px; font-weight: 400; line-height: 20px; color: #FFFFFF; margin: 0; }
.personalizacao-cta {
    background-color: #921E30;
    padding: 20px 0 40px;
    text-align: center;
}
.btn-branco {
    display: inline-block;
    background-color: #FFFFFF;
    color: #921E30;
    font-size: 20px;
    font-weight: 500;
    border-radius: 35px;
    padding: 15px 45px;
    line-height: 1;
}

/* =====================================================================
   HOME — MAPA (#mapa)
   ===================================================================== */
.mapa {
    padding: 40px 0;
    background-repeat: no-repeat;
    background-size: cover;
}
.mapa__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 0 20px;
}
.mapa__col-texto {
    width: 52%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
}
.mapa__titulo {
    font-size: 58px;
    font-weight: 700;
    line-height: 51px;
    color: #921E30;
    text-align: start;
    margin-bottom: 20px;
}
.mapa__titulo p { margin: 0; }
.mapa__subtitulo {
    font-size: 35px;
    font-weight: 600;
    color: #921E30;
    margin: -15px 0 20px;
}
.mapa__subtitulo p { margin: 0; }
.mapa__texto { max-width: 92%; font-weight: 400; line-height: 20px; margin-bottom: 20px; }
.mapa__texto p { margin: 0; }
.mapa__col-mapa {
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.mapa-brasil {
    position: relative;
    width: 100%;
    max-width: 2000px;
    aspect-ratio: 1 / 1; /* réplica do map_aspect_ratio (padding-top:100%) do plugin atual */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.mapa-brasil svg { width: 100%; height: auto; display: block; }
.mapa-brasil path {
    fill: #474747;
    stroke: #ffffff;
    stroke-width: 2;
    cursor: pointer;
    transition: fill .2s;
}
.mapa-brasil path:hover,
.mapa-brasil path.is-active { fill: #921e30; }
.mapa-brasil__tooltip {
    position: absolute;
    z-index: 10;
    max-width: 340px;
    background: #921e30;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.45;
    padding: 12px 14px;
    border-radius: 4px;
    box-shadow: 0 4px 18px rgba(0,0,0,.3);
    pointer-events: none;
}
.mapa-brasil__tooltip strong { color: #ffffff; }

/* =====================================================================
   HOME — NOSSA HISTÓRIA (timeline)
   ===================================================================== */
.historia { background-color: #FFFFFF; padding: 100px 0; }
.historia__inner { max-width: var(--container); margin: 0 auto; }
.historia__intro {
    display: flow-root; /* margem do <p> conta na altura, como no widget original */
    text-align: center;
    font-size: 35px;
    font-weight: 400;
    margin-bottom: 20px;
}
.historia__intro p { margin: 0 0 .9rem; }
.historia-timeline {
    position: relative;
    margin: 30px 0 40px;
    padding: 0 35px;
    user-select: none; /* evita seleção de texto durante o arrasto */
    -webkit-user-select: none;
    touch-action: pan-y; /* arrasto horizontal sem travar o scroll vertical no toque */
}
.historia-timeline__viewport { overflow: hidden; padding-top: 10px; }
.historia-timeline__track {
    display: flex;
    transition: transform .5s ease;
    position: relative;
    z-index: 2; /* ícones/labels acima da linha (a linha passa por baixo dos círculos) */
}
.historia-timeline__slide {
    flex: 0 0 calc((100% - 200px) / 3);
    margin-right: 100px;
    display: flex;
    flex-direction: column;
}
.historia-timeline__card {
    background-color: var(--cor-primaria);
    border: 1px solid rgba(0,0,0,.27);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding: 0 0 30px;
    margin-bottom: 150px; /* 50px + 100px (linha + labels) */
    flex: 1;
}
.historia-timeline__media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px 10px 0 0;
}
.historia-timeline__desc {
    color: #FFFFFF;
    font-size: 13px;
    line-height: 1.3em;
    margin: 10px 0 5px;
    padding: 8px;
}
.historia-timeline__desc p { color: #FFFFFF; margin: 0 0 8px; }
.historia-timeline__icone {
    position: absolute;
    bottom: 81px; /* sobre a linha */
    width: 40px;
    height: 40px;
    margin-left: calc((100% - 280px) / 6);
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #921E30;
    border-radius: 50px;
    z-index: 2;
}
.historia-timeline__icone svg { width: 14px; height: 14px; fill: #FFFFFF; }
.historia-timeline__label {
    position: absolute;
    bottom: 0;
    width: 180px;
    margin-left: calc((100% - 280px) / 6);
    transform: translateX(-50%);
    text-align: center;
    padding: 5px 0;
}
.historia-timeline__ano {
    display: block;
    font-family: "Poppins", Sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--cor-texto);
}
.historia-timeline__sublabel {
    display: block;
    font-family: "Lato", Sans-serif;
    font-size: 15px;
    color: var(--cor-secundaria);
}
.historia-timeline__linha {
    position: absolute;
    left: 35px; right: 35px;
    bottom: 100px;
    height: 4px;
    background-color: #A6A6A6;
    transform: scaleY(1.4);
}
.historia-timeline__progresso {
    display: block;
    height: 100%;
    width: 0;
    background-color: #921E30;
    transition: width .5s ease;
}
.historia-timeline__seta {
    position: absolute;
    bottom: 92px;
    width: 20px;
    height: 20px;
    background: none;
    border: 0;
    padding: 0;
    z-index: 11;
}
.historia-timeline__seta svg { width: 15px; fill: #FFFFFF; transition: fill .6s; }
.historia-timeline__seta:hover svg { fill: #FBB244; }
.historia-timeline__seta--prev { left: 0; }
.historia-timeline__seta--next { right: 0; }
.historia-timeline__seta--next svg { transform: rotate(180deg); }

/* posiciona ícone/label de cada slide sob a coluna correspondente */
.historia-timeline__slide { position: relative; }
.historia-timeline__slide .historia-timeline__icone,
.historia-timeline__slide .historia-timeline__label {
    left: 50%;
    margin-left: 0;
}

/* =====================================================================
   CTA — 3 colunas (faixa vinho com bg) — home e produto
   ===================================================================== */
.cta-tres {
    background-color: #921E30;
    background-size: cover;
    padding: 60px 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cta-tres--produto { background-color: #2D2D2D; padding: 60px 0; }
.cta-tres__inner { max-width: var(--container); margin: 0 auto; width: 100%; }
.cta-tres--produto .cta-tres__inner { max-width: 800px; }
.cta-tres__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0 28px;
    align-items: center;
    padding: 10px;
}
.cta-tres__texto {
    text-align: center;
    font-size: 35px;
    font-weight: 700;
    line-height: 40px;
    color: #FFFFFF;
    margin: 0;
}
.cta-tres--produto .cta-tres__texto { font-weight: 600; }
.cta-tres__botao { text-align: center; margin-top: 20px; }
.btn--outline-branco {
    background-color: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    border-radius: 35px;
    padding: 10px 45px;
}

/* =====================================================================
   FORMULÁRIO (#formulario) — réplica do form do CRM anterior
   (fonte Inter local, mesma do form original)
   ===================================================================== */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/inter-300.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter-600.woff2') format('woff2');
}
.formulario { padding: 60px 0 10px; }
.formulario__inner { max-width: var(--container); margin: 0 auto; }
.formulario__titulo {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}
.form-orcamento-wrap { max-width: 800px; margin: 0 auto; padding: 10px 0 20px; }
.form-orcamento__linha {
    display: flex;
    gap: 0 27px;
    margin-bottom: 14px;
}
.form-orcamento__campo { flex: 1; }
.form-orcamento__campo--full { width: 100%; }
.form-orcamento__campo label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 7px;
}
.form-orcamento__campo .req { color: #AA182C; }
.form-orcamento__campo input,
.form-orcamento__campo textarea {
    width: 100%;
    background-color: #FFFFFF;
    color: #000000;
    border: 1px solid #D6D6D6;
    border-radius: 5px;
    padding: 8px 15px;
    height: 42px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.5;
}
.form-orcamento__campo input::placeholder,
.form-orcamento__campo textarea::placeholder { color: #9b9b9b; }

/* e-mail com ícone de envelope (como no original) */
.form-orcamento__input-icone { position: relative; }
.form-orcamento__input-icone svg {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    fill: #9b9b9b;
    pointer-events: none;
}
.form-orcamento__input-icone input { padding-left: 38px; }

/* seletor de país do telefone (intl-tel-input) */
.form-orcamento .iti { width: 100%; }
.form-orcamento .iti input[type="tel"] { padding-left: 52px; }
.form-orcamento .iti__country-list {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    max-height: 210px;
    border: 1px solid #e3e3e3;
    box-shadow: 0 6px 24px rgba(0,0,0,.12);
}
.form-orcamento .iti__country { display: flex; align-items: center; padding: 8px 12px; }
.form-orcamento .iti__country-name { flex: 1; margin-right: 10px; }
.form-orcamento .iti__dial-code { margin-left: auto; color: #6b7280; }
.form-orcamento .iti__flag-container:hover .iti__selected-flag { background: #f5f5f5; }
.form-orcamento__campo input:focus,
.form-orcamento__campo textarea:focus { outline: 2px solid rgba(170,24,44,.35); }
.form-orcamento__campo textarea { resize: vertical; min-height: 110px; height: auto; }
.form-orcamento__hp {
    position: absolute !important;
    left: -9999px;
    width: 1px; height: 1px;
    overflow: hidden;
}
.form-orcamento__enviar { text-align: center; margin-top: 18px; }
.form-orcamento__btn {
    background-color: #AA182C;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 400;
    border: 0;
    border-radius: 6px;
    padding: 9px 50px;
    min-width: 280px;
    cursor: pointer;
}
.form-orcamento__sucesso {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
    padding: 30px 20px;
}
.form-orcamento__erro {
    max-width: 640px;
    margin: 0 auto 16px;
    text-align: center;
    color: #AA182C;
    border: 1px solid #AA182C;
    border-radius: 5px;
    padding: 10px 16px;
    font-size: 14px;
}

/* =====================================================================
   PÁGINAS DE LINHA (produto)
   ===================================================================== */
.produto-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 80vh;
    padding: 100px 40px 120px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.produto-hero__inner { width: 100%; max-width: 1200px; margin: 0 auto; }
.produto-hero__garantia { margin-top: 40px; }
.produto-hero__garantia img { width: 102px; height: auto; }
.produto-hero__titulo {
    max-width: 25%;
    font-size: 65px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 18px 0 0;
    line-height: 1.2;
}
.produto-hero__tagline {
    max-width: 42%;
    font-size: 45px;
    font-weight: 500;
    color: #FFFFFF;
    margin: 18px 0 0;
    line-height: 1.2;
}
.produto-hero__botoes {
    display: flex;
    gap: 0 16px;
    margin-top: 40px;
}
.btn--preto { background-color: #000000; border-radius: 35px; padding: 15px; color: #FFFFFF; }
.produto-hero__botoes .btn--outline-branco { padding: 12px 24px; }

.produto-desc { background-color: #FFFFFF; padding: 30px 0; }
.produto-desc__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
}
.produto-desc__col { width: 50%; }
.produto-desc__col:first-child { padding-right: 50px; align-self: center; }
.produto-desc__col:last-child { padding-left: 50px; }
.produto-desc__texto {
    font-weight: 600;
    color: #921E30;
    font-size: 1.5rem;
    margin: 0;
    text-align: start;
}
.produto-desc__bullets {
    margin: 0;
    padding-left: 1.2em;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
}
.produto-desc__bullets li { margin-bottom: 2px; }

.produto-detalhes { padding: 70px 0; }
.produto-detalhes__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
}
.produto-detalhes__galeria { width: 43%; margin-right: 42px; }
.produto-detalhes__lista { width: 28.158%; padding-right: 40px; align-self: flex-start; }
.produto-detalhes__lista h3 {
    font-weight: 700;
    color: #921E30;
    margin: 0 0 20px;
}
.icon-list { list-style: none; margin: 0; padding: 0; }
.icon-list li {
    display: flex;
    align-items: center;
    padding-bottom: 1px;
    margin-top: 1px;
}
.icon-list svg {
    width: 14px;
    height: 14px;
    fill: #921E30;
    flex-shrink: 0;
    margin-right: 8px;
}
.icon-list span { font-weight: 400; color: #000000; }

/* slider da galeria */
.slider { position: relative; overflow: hidden; }
.slider__track { position: relative; height: 540px; }
.slider__slide {
    position: absolute;
    inset: 0;
    background-position: center center;
    background-size: cover;
    opacity: 0;
    transition: opacity .5s ease;
}
.slider__slide.is-active { opacity: 1; }
.slider__seta {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: none;
    border: 0;
    padding: 0;
    width: 44px;
    height: 44px;
}
.slider__seta svg { width: 30px; height: 30px; fill: rgba(238,238,238,.9); }
.slider__seta--prev { left: 10px; }
.slider__seta--next { right: 10px; }
.slider__paginacao {
    position: absolute;
    bottom: 10px;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 5;
}
.slider__paginacao button {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(255,255,255,.6);
}
.slider__paginacao button.is-active { background: #FFFFFF; }

/* relacionados */
.relacionados { background-color: #FFFFFF; padding: 40px 0 70px; }
.relacionados__inner { max-width: var(--container); margin: 0 auto; }
.relacionados__titulo {
    max-width: 700px;
    margin: 0 auto 30px;
    text-align: center;
    font-weight: 700;
    color: #921E30;
}
.relacionados__grid {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.relacionados__card { width: 33.333%; max-width: 340px; text-align: center; }
.relacionados__card img {
    width: 100%;
    height: auto;
    border: 1px solid #000;
    border-radius: 5%;
    display: block;
}
.relacionados__nome {
    font-size: 25px;
    font-weight: 700;
    color: #921E30;
    margin: 10px 0 0;
}

/* =====================================================================
   404
   ===================================================================== */
.pagina-404__main { padding: 80px 20px; min-height: 40vh; }
.pagina-404__inner { max-width: var(--container); margin: 0 auto; }
.pagina-404__titulo { font-size: 2.5em; }

/* =====================================================================
   MODAL — BAIXAR CATÁLOGO
   Painel vinho com lâminas diagonais (eco do logotipo) + formulário.
   Mobile: vira sheet de tela cheia com painel compacto no topo.
   ===================================================================== */
.mcat {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.mcat[hidden] { display: none; }
.mcat__overlay {
    position: absolute;
    inset: 0;
    background: rgba(28, 21, 22, .62);
    backdrop-filter: blur(2px);
}
.mcat__caixa {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 860px;
    max-height: calc(100vh - 48px);
    background: #FFFFFF;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .35);
    animation: mcat-entrar .28s ease-out;
}
@keyframes mcat-entrar {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .mcat__caixa { animation: none; }
}
.mcat__fechar {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #444;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
}
.mcat__fechar:hover { background: #f2f2f2; }

/* painel vinho com as lâminas diagonais do logo */
.mcat__painel {
    position: relative;
    flex: 0 0 315px;
    background:
        repeating-linear-gradient(115deg,
            rgba(255, 255, 255, .05) 0 26px,
            rgba(255, 255, 255, 0) 26px 92px),
        linear-gradient(160deg, #921E30 0%, #6E1624 100%);
    color: #FFFFFF;
    display: flex;
    align-items: flex-end;
}
.mcat__painel::after { /* corte diagonal sobre o formulário */
    content: "";
    position: absolute;
    top: 0; right: -1px;
    width: 42px;
    height: 100%;
    background: #FFFFFF;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.mcat__painel-conteudo { padding: 36px 60px 36px 32px; position: relative; z-index: 1; }
.mcat__eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #EBB7BF;
    margin: 0 0 14px;
}
.mcat__titulo {
    font-family: 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.22;
    margin: 0 0 14px;
    color: #FFFFFF;
}
.mcat__frase {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    color: #F4DCE0;
    margin: 0;
}

/* corpo / formulário */
.mcat__corpo {
    flex: 1;
    min-width: 0;
    padding: 34px 36px 26px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.mcat__linha { display: flex; gap: 0 14px; }
.mcat__campo { flex: 1; min-width: 0; margin-bottom: 13px; }
.mcat__campo--uf { flex: 0 0 92px; }
.mcat__campo label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1C1B1B;
    margin-bottom: 5px;
}
.mcat__campo .req { color: #AA182C; }
.mcat__campo input,
.mcat__campo select {
    width: 100%;
    background: #FFFFFF;
    color: #1C1B1B;
    border: 1px solid #D6D6D6;
    border-radius: 6px;
    padding: 8px 13px;
    height: 42px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.5;
}
.mcat__campo select { font-weight: 400; cursor: pointer; }
.mcat__campo input::placeholder { color: #9b9b9b; }
.mcat__campo input:focus,
.mcat__campo select:focus { outline: 2px solid rgba(170, 24, 44, .35); }
.mcat__campo input.mcat-invalido,
.mcat__campo select.mcat-invalido { border-color: #AA182C; }

/* intl-tel-input dentro do modal */
.mcat .iti { width: 100%; }
.mcat .iti input[type="tel"] { padding-left: 52px; }
.mcat .iti__country-list {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    max-height: 190px;
    border: 1px solid #e3e3e3;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
}
.mcat .iti__country { display: flex; align-items: center; padding: 8px 12px; }
.mcat .iti__country-name { flex: 1; margin-right: 10px; }
.mcat .iti__dial-code { margin-left: auto; color: #6b7280; }
.mcat .iti__flag-container:hover .iti__selected-flag { background: #f5f5f5; }

.mcat__btn {
    display: block;
    width: 100%;
    background: #AA182C;
    color: #FFFFFF;
    text-align: center;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border: 0;
    border-radius: 6px;
    padding: 13px 20px;
    margin-top: 6px;
    cursor: pointer;
    transition: background .15s;
}
.mcat__btn:hover { background: #8d1424; }
.mcat__btn[disabled] { opacity: .6; cursor: wait; }
.mcat__lgpd {
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    color: #9b9b9b;
    text-align: center;
    margin: 12px 0 0;
}
.mcat__erro {
    background: #FCE8E6;
    border: 1px solid #f6c6c4;
    color: #99201d;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    border-radius: 6px;
    padding: 10px 14px;
    margin: 0 0 14px;
}
.mcat__hp {
    position: absolute !important;
    left: -9999px;
    width: 1px; height: 1px;
    overflow: hidden;
}

/* estado de sucesso */
.mcat__sucesso[hidden] { display: none; }
.mcat__sucesso {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 320px;
    padding: 20px 8px;
}
.mcat__sucesso-icone { color: #1e8e3e; margin-bottom: 16px; }
.mcat__sucesso-titulo {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1C1B1B;
    margin: 0 0 8px;
}
.mcat__sucesso-texto {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #6b6b6b;
    margin: 0 0 22px;
    max-width: 330px;
}
.mcat__btn--abrir { max-width: 330px; }

/* corpo da página travado enquanto o modal está aberto */
body.mcat-aberto { overflow: hidden; }

/* ---------- mobile: sheet de tela cheia ---------- */
@media (max-width: 767px) {
    .mcat { padding: 0; align-items: flex-end; }
    .mcat__caixa {
        flex-direction: column;
        max-width: none;
        max-height: 100%;
        height: 100%;
        border-radius: 0;
        animation-name: mcat-entrar;
    }
    .mcat__painel { flex: 0 0 auto; }
    .mcat__painel::after { display: none; }
    .mcat__painel-conteudo { padding: 22px 64px 20px 22px; }
    .mcat__titulo { font-size: 19px; margin-bottom: 8px; }
    .mcat__eyebrow { margin-bottom: 8px; }
    .mcat__frase { font-size: 13px; }
    .mcat__corpo { padding: 20px 20px 28px; }
    .mcat__campo input,
    .mcat__campo select { height: 46px; font-size: 16px; } /* 16px evita zoom do iOS */
    .mcat__campo label { font-size: 13.5px; }
    .mcat__btn { padding: 14px 20px; }
    .mcat__fechar { background: rgba(255, 255, 255, .18); color: #fff; box-shadow: none; }
}
@media (max-width: 767px) and (max-height: 700px) {
    .mcat__frase { display: none; } /* telas baixas: prioriza o formulário */
}

/* =====================================================================
   FORMULÁRIO — embed do CRM (Eleva Digital), mesmo widget do site atual.
   O form_embed.js ajusta a altura do iframe via postMessage; o min-height
   segue o data-height="430" para não colapsar antes do script rodar.
   ===================================================================== */
.form-crm-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 10px 0 20px;
}
.form-crm-wrap iframe {
    display: block;
    width: 100%;
    min-height: 430px;
}
@media (max-width: 767px) {
    .form-crm-wrap { padding: 4px 0 12px; }
    .form-crm-wrap iframe { min-height: 520px; } /* campos empilhados ocupam mais altura */
}
