/* =====================================================================================================================
   Lubrioil Lubrificantes — site institucional (HTML + CSS + JS puros, PT e EN; um PHP só para o formulário de contato).
   Conceito: "âmbar e petróleo". Claro e limpo, com as cores do logo: o azul petróleo do nome e o âmbar do símbolo.
   UM elemento marcante: o fio de óleo âmbar (.fio, img/fio.svg) que corre entre as seções — fecha os cabeçalhos e abre
   o rodapé; na abertura ele é um traço SVG que atravessa a tela (.fio-oleo).
   Um só movimento: na abertura o óleo escorre (o traço se desenha) e o texto aparece, com prefers-reduced-motion.
   Ordem: 1. fonte e variáveis · 2. base · 3. utilitários · 4. topo fixo · 5. botões e selos · 6. abertura · 7. seções da
   home · 8. páginas internas · 9. produtos · 10. contato e formulário · 11. rodapé · 12. responsivo · 13. movimento e impressão
   Contraste: petróleo #007098 dá 5,6:1 sobre branco (serve para texto); o âmbar só leva texto petróleo-noite (6,6:1);
   para texto em âmbar sobre branco, o tom escuro --ambar-texto (5,5:1).
   ===================================================================================================================== */

/* ------------------------------------------------------------------ 1. fonte e variáveis */
/* Archivo variável (peso 400–800, largura 100–125%) */
@font-face {
    font-family: "Archivo";
    font-style: normal;
    font-weight: 400 800;
    font-stretch: 100% 125%;
    font-display: swap;
    src: url("../fontes/archivo.woff2") format("woff2");
}

:root {
    --petroleo: #007098;           /* azul do nome no logo (5,6:1 com branco) */
    --petroleo-escuro: #004e6b;    /* títulos, botão principal (9,1:1) */
    --petroleo-noite: #062f3e;     /* fundo escuro: faixa da pista, chamada, rodapé (14:1) */
    --ambar: #f0a020;              /* âmbar do símbolo: fundo de botão (texto petróleo-noite, 6,6:1) */
    --ambar-claro: #f5b82e;
    --ambar-forte: #e08a10;
    --ambar-texto: #9a5a00;        /* âmbar escuro para texto sobre branco (5,5:1) */
    --areia: #f3f7f8;              /* fundo claro das seções alternadas */
    --gelo: #e6f1f4;               /* fundo dos cabeçalhos e das fotos de produto */
    --linha: #d5e3e8;
    --texto: #10232b;
    --texto-suave: #4d6470;        /* 6,2:1 sobre branco, 5,8:1 sobre a areia */
    --branco: #ffffff;
    --whatsapp: #25d366;
    --preto: #000;

    --fonte: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --largura: 1200px;
    --margem: clamp(16px, 4vw, 40px);
    --secao: clamp(64px, 9vw, 112px);
    --altura-topo: 84px;
    --altura-topo-compacto: 66px;
    --raio: 18px;
    /* tons com transparência (uma variável por valor) */
    --branco-a12: rgba(255, 255, 255, .12);
    --branco-a20: rgba(255, 255, 255, .2);
    --branco-a30: rgba(255, 255, 255, .3);
    --branco-a70: rgba(255, 255, 255, .7);
    --branco-a80: rgba(255, 255, 255, .8);
    --branco-a88: rgba(255, 255, 255, .88);
    --branco-a00: rgba(255, 255, 255, 0);
    --noite-a12: rgba(6, 47, 62, .12);
    --noite-a20: rgba(6, 47, 62, .2);
    --noite-a35: rgba(6, 47, 62, .35);
    --noite-a60: rgba(6, 47, 62, .6);
    --noite-a85: rgba(6, 47, 62, .85);
    --ambar-a18: rgba(240, 160, 32, .18);
    --ambar-a35: rgba(240, 160, 32, .35);
    --sombra: 0 22px 44px -26px rgba(6, 47, 62, .45);
    --sombra-leve: 0 10px 26px -18px rgba(6, 47, 62, .4);
    --sombra-janela: 0 28px 70px -12px rgba(3, 24, 32, .6), 0 0 0 1px rgba(6, 47, 62, .12);   /* modal por cima do site */
    --respiro-modal: clamp(16px, 5vh, 56px);   /* distância do modal até as bordas da tela */
    --selo-mineral-fundo: #e1ecf0;
    --selo-mineral-texto: #1f4757;
    --selo-semi-fundo: #fdebc4;
    --selo-semi-texto: #6b4300;
}

/* ------------------------------------------------------------------ 2. base */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--altura-topo-compacto) + 20px);
}

body {
    margin: 0;
    background: var(--branco);
    color: var(--texto);
    font-family: var(--fonte);
    font-size: 1.0625rem;
    font-stretch: 100%;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    padding-top: var(--altura-topo);   /* o topo é fixo */
}

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

h1, h2, h3 {
    margin: 0 0 .5em;
    color: var(--petroleo-noite);
    font-stretch: 108%;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.9rem); }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.8vw, 2.5rem); }
h3 { font-size: 1.15rem; font-stretch: 104%; font-weight: 700; letter-spacing: -.005em; }

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--petroleo); }
a:hover { color: var(--petroleo-escuro); }

:focus-visible { outline: 3px solid var(--petroleo); outline-offset: 3px; }
.secao--petroleo :focus-visible, .chamada :focus-visible, .rodape :focus-visible, .pular:focus-visible { outline-color: var(--ambar-claro); }

strong { font-weight: 700; }

/* ------------------------------------------------------------------ 3. utilitários */
.container {
    width: 100%;
    max-width: calc(var(--largura) + 2 * var(--margem));
    margin: 0 auto;
    padding: 0 var(--margem);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
    white-space: nowrap;
}

.pular {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 300;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--ambar);
    color: var(--petroleo-noite);
    font-weight: 700;
    text-decoration: none;
}

.pular:focus { top: 12px; color: var(--petroleo-noite); }

.icone { width: 24px; height: 24px; flex: none; }

/* o elemento marcante: o fio de óleo âmbar (onda que se repete) */
.fio {
    height: 28px;
    background: url("../img/fio.svg") repeat-x 0 50% / 240px 28px;
}

.secao { padding: var(--secao) 0; }
.secao--areia { background: var(--areia); }
.secao--petroleo { background: var(--petroleo-noite); color: var(--branco-a80); }
.secao--petroleo h2, .secao--petroleo h3 { color: var(--branco); }
.secao--petroleo .lead { color: var(--branco-a80); }

.secao__cabeca { max-width: 760px; margin: 0 0 clamp(32px, 5vw, 52px); }
.secao__cabeca p:last-child { margin-bottom: 0; }
.secao__cabeca--linha {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 20px 40px;
    max-width: none;
}
.secao__cabeca--linha > div { max-width: 720px; }

/* o rótulo de seção: uma gota âmbar antes do texto */
.kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    color: var(--ambar-texto);
    font-size: .86rem;
    font-stretch: 112%;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.kicker::before {
    content: "";
    width: 12px;
    height: 12px;
    flex: none;
    border-radius: 50% 0 50% 50%;
    background: linear-gradient(135deg, var(--ambar-claro), var(--ambar-forte));
    transform: rotate(-45deg);
}

.kicker--ambar { color: var(--ambar-claro); }

.lead { color: var(--texto-suave); font-size: clamp(1.08rem, 1rem + .35vw, 1.2rem); }

.link-forte {
    color: var(--petroleo-escuro);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--ambar);
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
}

.link-forte:hover { color: var(--petroleo); }

.titulo-pequeno { font-size: 1.3rem; }

/* ------------------------------------------------------------------ 4. topo fixo (compacta ao rolar) */
.topo {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 200;
    background: var(--branco);
    border-bottom: 1px solid var(--linha);
    transition: box-shadow .25s ease;
}

.topo__barra {
    display: flex;
    align-items: center;
    gap: 16px;
    height: var(--altura-topo);
    transition: height .25s ease;
}

.topo__marca { flex: none; margin-right: auto; }
.topo__marca img { width: auto; height: 52px; transition: height .25s ease; }

.topo--compacto { box-shadow: 0 10px 28px var(--noite-a20); }
.topo--compacto .topo__barra { height: var(--altura-topo-compacto); }
.topo--compacto .topo__marca img { height: 42px; }

.topo__nav > ul {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.topo__nav a:not(.botao) {
    position: relative;
    display: block;
    padding: 10px 13px;
    border-radius: 8px;
    color: var(--petroleo-noite);
    font-size: .96rem;
    font-weight: 600;
    text-decoration: none;
}

.topo__nav a:not(.botao):hover { background: var(--areia); color: var(--petroleo); }
.topo__nav a[aria-current="page"] { color: var(--petroleo); }
.topo__nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    right: 13px;
    bottom: 2px;
    left: 13px;
    height: 3px;
    border-radius: 3px;
    background: var(--ambar);
}
.topo__onde { margin-left: 10px; }

/* seletor de idioma "PT | EN" */
.idiomas {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 2px;
    padding: 4px;
    border: 1px solid var(--linha);
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
}

.idiomas .icone { width: 16px; height: 16px; margin: 0 4px 0 6px; color: var(--texto-suave); }

.idiomas a {
    position: relative;
    min-width: 44px;
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--texto-suave);
    text-align: center;
    text-decoration: none;
}

.idiomas a::after { content: ""; position: absolute; inset: -10px 0; }   /* área de toque de 44 px */
.idiomas a:hover { color: var(--petroleo); }
.idiomas a[aria-current="true"] { background: var(--petroleo-escuro); color: var(--branco); }

.topo__menu-botao {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-right: -10px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--petroleo-noite);
    cursor: pointer;
}

.topo__menu-botao:hover { background: var(--areia); }
.topo__menu-botao .icone--fechar { display: none; }
.topo__menu-botao[aria-expanded="true"] .icone--abrir { display: none; }
.topo__menu-botao[aria-expanded="true"] .icone--fechar { display: block; }

/* ------------------------------------------------------------------ 5. botões e selos */
.botao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 24px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-family: inherit;
    font-size: 1rem;
    font-stretch: 106%;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}

.botao:hover { transform: translateY(-1px); }
.botao .icone { width: 20px; height: 20px; }
.botao--pequeno { min-height: 44px; padding: 9px 18px; font-size: .92rem; }

.botao--ambar { background: var(--ambar); color: var(--petroleo-noite); }
.botao--ambar:hover { background: var(--ambar-claro); color: var(--petroleo-noite); }

.botao--petroleo { background: var(--petroleo-escuro); color: var(--branco); }
.botao--petroleo:hover { background: var(--petroleo-noite); color: var(--branco); }

.botao--secundario { border-color: var(--petroleo-escuro); background: transparent; color: var(--petroleo-escuro); }
.botao--secundario:hover { background: var(--petroleo-escuro); color: var(--branco); }

.botao--claro { border-color: var(--branco-a70); background: transparent; color: var(--branco); }
.botao--claro:hover { border-color: var(--branco); background: var(--branco); color: var(--petroleo-noite); }

.acoes { display: flex; flex-wrap: wrap; gap: 12px; }

/* selos de composição */
.selo {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: .78rem;
    font-stretch: 108%;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.selo--mineral { background: var(--selo-mineral-fundo); color: var(--selo-mineral-texto); }
.selo--semissintetico { background: var(--selo-semi-fundo); color: var(--selo-semi-texto); }
.selo--sintetico { background: var(--petroleo-escuro); color: var(--branco); }

/* ------------------------------------------------------------------ 6. abertura (texto + foto da pista + frascos) */
.abertura {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(60% 80% at 100% 0%, var(--ambar-a18), var(--branco-a00) 70%),
        linear-gradient(180deg, var(--branco) 0%, var(--gelo) 100%);
}

.abertura__grade {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
    min-height: clamp(480px, 68vh, 640px);
    padding-top: clamp(40px, 6vw, 80px);
    padding-bottom: clamp(96px, 12vw, 150px);
}

.abertura__kicker {
    display: inline-flex;
    margin: 0 0 18px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--ambar-a35);
    color: var(--petroleo-noite);
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.abertura h1 { max-width: 13ch; font-size: clamp(2.1rem, 1rem + 4.4vw, 4.3rem); line-height: 1.02; }
.abertura__sub { max-width: 520px; margin-bottom: 32px; color: var(--texto-suave); font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); }

.abertura__visual { position: relative; }

.abertura__foto img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 28px 28px 28px 120px;
    object-fit: cover;
    object-position: 50% 60%;
    box-shadow: var(--sombra);
}

.abertura__frascos {
    position: absolute;
    bottom: -38px;
    left: -34px;
    display: flex;
    align-items: end;
    filter: drop-shadow(0 18px 18px var(--noite-a35));
}

.abertura__frascos img { width: auto; height: 190px; }
.abertura__frascos img + img { height: 150px; margin-left: -26px; }

/* o fio de óleo da abertura: atravessa a tela por baixo do conteúdo */
.fio-oleo {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: clamp(120px, 18vw, 260px);
    pointer-events: none;
}

.fio-oleo__linha { fill: none; stroke: url(#oleo-gradiente); stroke-width: 9; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.fio-oleo__cor1 { stop-color: var(--ambar-forte); }
.fio-oleo__cor2 { stop-color: var(--ambar); }
.fio-oleo__cor3 { stop-color: var(--ambar-claro); }

/* ------------------------------------------------------------------ 7. seções da home */
.dupla {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: center;
    gap: clamp(36px, 6vw, 80px);
}

.texto-corrido p { color: var(--texto); }

.destaque-ultrax {
    padding: 14px 18px;
    border-left: 4px solid var(--ambar);
    border-radius: 0 12px 12px 0;
    background: var(--areia);
}

.quem__visual { position: relative; display: grid; justify-items: end; }
.quem__retrato { width: min(100%, 380px); aspect-ratio: 3 / 4; border-radius: var(--raio); object-fit: cover; box-shadow: var(--sombra); }
.quem__oleo {
    position: absolute;
    bottom: 8%;
    left: -6%;
    z-index: 1;
    width: 62%;
    filter: drop-shadow(0 16px 20px var(--noite-a35));
}

/* números (do catálogo e do site antigo) */
.ficha {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: clamp(40px, 6vw, 64px) 0 0;
    padding: 0;
    border-top: 1px solid var(--linha);
}

.ficha > div { display: flex; flex-direction: column; padding: 22px 22px 0 0; }
.ficha > div + div { padding-left: 22px; border-left: 1px solid var(--linha); }
.ficha dt { order: 2; margin-top: 6px; color: var(--texto-suave); font-size: .92rem; line-height: 1.4; }
.ficha dd { margin: 0; color: var(--petroleo); font-size: clamp(1.6rem, 1.1rem + 1.3vw, 2.2rem); white-space: nowrap; font-stretch: 112%; font-weight: 800; line-height: 1; }

/* linhas de produtos: embalagem + texto */
.linhas {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.linha {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--linha);
    border-radius: var(--raio);
    background: var(--branco);
    color: var(--texto);
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.linha:hover { border-color: var(--ambar); box-shadow: var(--sombra); color: var(--texto); transform: translateY(-3px); }
.linha__foto {
    display: grid;
    place-items: center;
    height: 180px;
    padding: 16px;
    background: radial-gradient(circle at 50% 85%, var(--ambar-a35) 0 26%, var(--gelo) 27%);
}
.linha__foto img { width: auto; height: 148px; object-fit: contain; transition: transform .2s ease; }
.linha:hover .linha__foto img { transform: translateY(-5px); }
.linha__texto { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.linha__texto .linha__conta { margin-top: auto; padding-top: 6px; }

/* o último cartão: ajuda para escolher */
.linha--ajuda { background: var(--petroleo-escuro); border-color: var(--petroleo-escuro); color: var(--branco-a80); }
.linha--ajuda:hover { border-color: var(--ambar); color: var(--branco-a80); }
.linha--ajuda .linha__texto { justify-content: center; padding: 24px 20px; }
.linha--ajuda h2, .linha--ajuda h3 { color: var(--branco); }
.linha--ajuda .linha__icone, .linha--ajuda .linha__conta { color: var(--ambar-claro); }
.linha--ajuda .linha__desc { color: var(--branco-a80); }
.linha__icone { color: var(--petroleo); }
.linha__icone .icone { width: 22px; height: 22px; }
.linha h2, .linha h3 { margin: 0; font-size: 1.1rem; }
.linha__desc { color: var(--texto-suave); font-size: .9rem; line-height: 1.45; }
.linha__conta { display: inline-flex; align-items: center; gap: 6px; color: var(--ambar-texto); font-size: .9rem; font-weight: 800; }
.linha__conta .icone { width: 18px; height: 18px; transition: transform .15s ease; }
.linha:hover .linha__conta .icone { transform: translateX(4px); }

/* destaques: carrossel que rola para o lado (sem JS, rola com o dedo/teclado; com JS, botões) */
.carrossel {
    position: relative;
    margin: 0 calc(-1 * var(--margem));
    padding: 6px var(--margem) 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--margem);
    scrollbar-width: thin;
    scrollbar-color: var(--ambar) var(--areia);
}

.carrossel:focus-visible { outline-offset: -3px; }

.destaques {
    display: grid;
    grid-auto-columns: minmax(240px, 1fr);
    grid-auto-flow: column;
    gap: clamp(14px, 2vw, 22px);
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 1100px) {
    .destaques { grid-auto-columns: calc((100% - 3 * 22px) / 4); }
}

.destaques li { scroll-snap-align: start; }

.destaque {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    height: 100%;
    padding: 22px;
    border: 1px solid var(--linha);
    border-radius: var(--raio);
    background: var(--branco);
    color: var(--texto);
    text-decoration: none;
    overflow: hidden;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.destaque::before {   /* a poça de óleo por trás da embalagem */
    content: "";
    position: absolute;
    top: 28px;
    left: 50%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--gelo);
    transform: translateX(-50%);
}

.destaque > * { position: relative; z-index: 1; }
.destaque:hover { border-color: var(--ambar); box-shadow: var(--sombra-leve); }
.destaque__foto { align-self: center; display: grid; place-items: center; height: 220px; }
.destaque__foto img { width: auto; max-height: 210px; object-fit: contain; transition: transform .2s ease; }
.destaque:hover .destaque__foto img { transform: translateY(-6px); }
.destaque h3 { margin: 4px 0 0; font-size: 1.05rem; }
.destaque__linha { color: var(--texto-suave); font-size: .9rem; }
.destaque:hover h3 { color: var(--petroleo); }

.carrossel__botoes { display: flex; gap: 8px; }
.carrossel__botoes[hidden] { display: none; }

.carrossel__botao {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 2px solid var(--petroleo-escuro);
    border-radius: 50%;
    background: var(--branco);
    color: var(--petroleo-escuro);
    cursor: pointer;
}

.carrossel__botao:hover { background: var(--petroleo-escuro); color: var(--branco); }
.carrossel__botao[disabled] { opacity: .35; cursor: default; }
.carrossel__botao[disabled]:hover { background: var(--branco); color: var(--petroleo-escuro); }

/* a pista: mosaico de fotos do carro 73 */
.mosaico {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: clamp(150px, 16vw, 210px);
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* a 1ª foto ocupa 2×2; as outras preenchem a grade sem buraco (5 fotos = 2 linhas; 9 fotos = 3 linhas) */
.mosaico li:first-child { grid-column: span 2; grid-row: span 2; }
.mosaico img { width: 100%; height: 100%; border-radius: 14px; object-fit: cover; }

/* desempenho: fotos de uso que levam às linhas */
.selos-marca { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }

.selos-marca li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid var(--linha);
    border-radius: 999px;
    color: var(--petroleo-noite);
    font-weight: 700;
}

.selos-marca .icone { width: 20px; height: 20px; color: var(--ambar-texto); }

.usos {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.uso {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--petroleo-noite);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.uso img {
    width: 100%;
    max-width: 170px;
    aspect-ratio: 1;
    border: 4px solid var(--branco);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 3px var(--ambar), var(--sombra-leve);
    transition: transform .2s ease;
}

.uso span { line-height: 1.3; text-wrap: balance; }
.uso .icone { display: inline-block; width: 16px; height: 16px; margin-left: 4px; vertical-align: -3px; color: var(--ambar-texto); }
.uso:hover { color: var(--petroleo); }
.uso:hover img { transform: scale(1.04); }

/* FAQ resumido na home */
.duvidas { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.duvidas .secao__cabeca { margin: 0; }
.duvidas .botao { margin-top: 20px; }

/* blog */
.artigos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2.5vw, 28px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.artigo {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--linha);
    border-radius: var(--raio);
    background: var(--branco);
    color: var(--texto);
    text-decoration: none;
    transition: box-shadow .15s ease;
}

.artigo:hover { box-shadow: var(--sombra); }
.artigo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.artigo__texto { display: flex; flex: 1; flex-direction: column; padding: 20px 22px 24px; }
.artigo h2, .artigo h3 { margin: 0 0 8px; font-size: 1.12rem; }
.artigo__resumo { margin: 0 0 16px; color: var(--texto-suave); font-size: .97rem; }
.artigo__ler { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--ambar-texto); font-weight: 800; }
.artigo__ler .icone { width: 18px; height: 18px; }
.artigo:hover h2, .artigo:hover h3 { color: var(--petroleo); }

/* política de qualidade */
.politica {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 20px;
    max-width: 960px;
    padding: clamp(24px, 3vw, 36px);
    border: 1px solid var(--linha);
    border-radius: var(--raio);
    background: var(--branco);
}

.politica .icone { width: 44px; height: 44px; color: var(--ambar-texto); }
.politica h2 { margin-bottom: 10px; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.politica p { color: var(--texto-suave); }
.politica p:last-child { margin-bottom: 0; }

/* chamada final */
.chamada {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow: hidden;
    padding: clamp(28px, 4vw, 48px);
    border-radius: 24px;
    background: var(--petroleo-escuro);
    color: var(--branco-a88);
}

.chamada::after {   /* uma gota de óleo grande no canto */
    content: "";
    position: absolute;
    top: -70px;
    right: -50px;
    width: 220px;
    height: 220px;
    border-radius: 50% 0 50% 50%;
    background: linear-gradient(135deg, var(--ambar-claro), var(--ambar-forte));
    opacity: .9;
    transform: rotate(-45deg);
    pointer-events: none;
}

.chamada > * { position: relative; z-index: 1; }
.chamada h2 { margin: 0 0 6px; color: var(--branco); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.chamada p { margin: 0; max-width: 560px; }
.chamada .acoes { flex: none; margin-right: 140px; }
.secao:not(.secao--areia):not(.secao--petroleo) + .secao--chamada { padding-top: 0; }

/* ------------------------------------------------------------------ 8. páginas internas */
.cabecalho-pagina {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(50% 90% at 100% 0%, var(--ambar-a18), var(--branco-a00) 70%),
        var(--gelo);
}

.cabecalho-pagina__grade {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
    padding-top: clamp(36px, 5vw, 72px);
    padding-bottom: clamp(28px, 4vw, 52px);
}

.cabecalho-pagina h1 { max-width: 22ch; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.3rem); }
.cabecalho-pagina .lead { max-width: 680px; margin-bottom: 0; }
.cabecalho-pagina__foto { width: 280px; aspect-ratio: 1; border-radius: 24px 24px 24px 90px; object-fit: cover; box-shadow: var(--sombra); }

.cabecalho-pagina__frascos { display: flex; align-items: end; filter: drop-shadow(0 14px 16px var(--noite-a35)); }
.cabecalho-pagina__frascos img { width: auto; height: 160px; margin-left: -18px; }
.cabecalho-pagina__frascos img:first-child { margin-left: 0; }
.cabecalho-pagina__frascos img:nth-child(2) { height: 190px; }

.trilha {
    margin: 0 0 18px;
    padding: 0;
    color: var(--texto-suave);
    font-size: .88rem;
    list-style: none;
}

.trilha li { display: inline; }
.trilha li + li::before { content: "/"; margin: 0 10px; color: var(--texto-suave); }
.trilha a { color: var(--petroleo); }

/* texto corrido (artigos, política) */
.texto-artigo { max-width: 760px; }
.texto-artigo h2 { margin-top: 1.8em; font-size: clamp(1.3rem, 1.1rem + .7vw, 1.6rem); }
.texto-artigo h3 { margin-top: 1.6em; }
.texto-artigo h2:first-child, .texto-artigo h3:first-child { margin-top: 0; }
.texto-artigo ul { padding-left: 1.2em; }
.texto-artigo li { margin-bottom: .6em; }
.texto-artigo li::marker { color: var(--ambar-forte); }
.texto-artigo .atualizacao { margin-bottom: 2em; color: var(--texto-suave); font-size: .92rem; }

.com-lateral {
    display: grid;
    grid-template-columns: minmax(0, 760px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(32px, 5vw, 72px);
}

.lateral { position: sticky; top: calc(var(--altura-topo-compacto) + 24px); }
.lateral h2 { margin-bottom: 12px; font-size: 1.1rem; }
.lateral .botao { width: 100%; margin-top: 20px; }

.post-capa { margin: 0 0 clamp(28px, 4vw, 44px); }
.post-capa img { width: 100%; max-height: 520px; border-radius: var(--raio); object-fit: cover; }
.post-sub { margin-bottom: 1.6em; color: var(--texto); font-size: 1.2rem; font-weight: 600; line-height: 1.5; }

.mais-artigos { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--linha); }
.mais-artigos li { border-bottom: 1px solid var(--linha); }
.mais-artigos a { display: block; padding: 14px 0; color: var(--texto); font-weight: 700; text-decoration: none; }
.mais-artigos a:hover { color: var(--petroleo); }
.mais-artigos a[aria-current="page"] { color: var(--texto-suave); font-weight: 600; }

/* FAQ: <details> nativo */
.perguntas { max-width: 880px; border-top: 1px solid var(--linha); }
.pergunta { border-bottom: 1px solid var(--linha); }

.pergunta summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    color: var(--petroleo-noite);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    list-style: none;
    cursor: pointer;
}

.pergunta summary::-webkit-details-marker { display: none; }
.pergunta summary:hover { color: var(--petroleo); }

.pergunta summary .icone {
    width: 32px;
    height: 32px;
    padding: 5px;
    border-radius: 50%;
    background: var(--ambar-a35);
    color: var(--petroleo-noite);
    transition: transform .2s ease;
}

.pergunta[open] summary .icone { transform: rotate(180deg); }
.pergunta__resposta { padding: 0 0 22px; }
.pergunta__resposta > *:last-child { margin-bottom: 0; }

/* sobre: caixa da Ultrax */
.ultrax-caixa {
    padding: clamp(24px, 3vw, 36px);
    border-radius: var(--raio);
    background: var(--areia);
    border-top: 5px solid var(--ambar);
}

.ultrax-caixa h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
.ultrax-caixa p:not(.kicker) { color: var(--texto-suave); }

/* produtos: composições */
.composicoes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.composicao { padding: 24px; border-radius: var(--raio); background: var(--branco); }
.composicao p { margin: 14px 0 0; color: var(--texto-suave); }

.nota { margin: 28px 0 0; color: var(--texto-suave); font-size: .95rem; }

/* 404 */
.erro { padding: clamp(64px, 10vw, 128px) 0; }
.erro__numero { margin: 0 0 8px; color: var(--ambar-texto); font-size: clamp(5rem, 3rem + 10vw, 10rem); font-stretch: 120%; font-weight: 800; line-height: .9; }
.erro .lead { max-width: 620px; }
.erro__paginas { margin-top: 20px; }
.erro__en { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--linha); }

/* ------------------------------------------------------------------ 9. produtos (página de cada linha) */
.filtro { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }

.filtro__botao {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 16px;
    border: 2px solid var(--linha);
    border-radius: 999px;
    background: var(--branco);
    color: var(--texto);
    font-family: inherit;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
}

.filtro__botao span { color: var(--texto-suave); font-weight: 600; }
.filtro__botao:hover { border-color: var(--petroleo); }
.filtro__botao[aria-pressed="true"] { border-color: var(--petroleo-escuro); background: var(--petroleo-escuro); color: var(--branco); }
.filtro__botao[aria-pressed="true"] span { color: var(--ambar-claro); }

.produtos { display: grid; gap: 18px; }

.produto {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: clamp(20px, 3vw, 36px);
    padding: clamp(18px, 2.5vw, 28px);
    border: 1px solid var(--linha);
    border-radius: var(--raio);
    background: var(--branco);
    scroll-margin-top: calc(var(--altura-topo-compacto) + 16px);
}

.produto[hidden] { display: none; }
.produto:target { border-color: var(--ambar); box-shadow: 0 0 0 3px var(--ambar); }

.produto__foto {
    display: grid;
    place-items: center;
    align-self: start;
    min-height: 220px;
    padding: 18px;
    border-radius: 14px;
    background: var(--gelo);
}

.produto__foto img { width: auto; max-height: 240px; object-fit: contain; }
.produto__foto .sem-foto { max-height: 200px; opacity: .9; }
.produto h2 { margin: 12px 0 14px; font-size: clamp(1.2rem, 1.1rem + .5vw, 1.45rem); }
.produto__corpo > p { color: var(--texto); }

.produto__ficha {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin: 0 0 16px;
    padding: 12px 0;
    border-top: 1px solid var(--linha);
    border-bottom: 1px solid var(--linha);
}

.produto__ficha dt { color: var(--texto-suave); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.produto__ficha dd { margin: 0; font-weight: 800; overflow-wrap: anywhere; }

.produto__beneficios { margin: 0 0 16px; border-radius: 12px; background: var(--areia); }

.produto__beneficios summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 10px 16px;
    font-weight: 800;
    list-style: none;
    cursor: pointer;
}

.produto__beneficios summary::-webkit-details-marker { display: none; }
.produto__beneficios summary .icone { width: 20px; height: 20px; color: var(--ambar-texto); transition: transform .2s ease; }
.produto__beneficios[open] summary .icone { transform: rotate(180deg); }
.produto__beneficios ul { margin: 0; padding: 0 16px 14px 36px; }
.produto__beneficios li { margin-bottom: 6px; color: var(--texto); }
.produto__beneficios li::marker { color: var(--ambar-forte); }

.produto__docs { display: flex; flex-wrap: wrap; gap: 10px; }

.produto__pedir, .produto__baixar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 14px;
    border: 2px solid var(--petroleo);
    border-radius: 999px;
    color: var(--petroleo-escuro);
    font-weight: 800;
    text-decoration: none;
}

.produto__pedir { border-style: dashed; }
.produto__baixar span { color: var(--texto-suave); font-size: .85rem; font-weight: 600; }
.produto__baixar:hover, .produto__pedir:hover { background: var(--petroleo-escuro); border-color: var(--petroleo-escuro); color: var(--branco); }
.produto__baixar:hover span { color: var(--branco-a80); }
.produto__baixar .icone, .produto__pedir .icone { width: 20px; height: 20px; }

.outras-linhas { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }

.outras-linhas a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 16px;
    border: 1px solid var(--linha);
    border-radius: 999px;
    background: var(--branco);
    color: var(--texto);
    font-weight: 700;
    text-decoration: none;
}

.outras-linhas a:hover { border-color: var(--petroleo); color: var(--petroleo); }
.outras-linhas .icone { width: 20px; height: 20px; color: var(--petroleo); }

/* ------------------------------------------------------------------ 10. contato e formulário */
.contato-grade {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: clamp(32px, 5vw, 72px);
}

.contato-grade h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }

.dados { margin: 0; padding: 0; list-style: none; }
.dados li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--linha); }
.dados li:first-child { border-top: 1px solid var(--linha); }
.dados .icone { width: 24px; height: 24px; margin-top: 2px; color: var(--petroleo); }
.dados strong { display: block; font-size: .9rem; color: var(--texto-suave); font-weight: 600; }
.dados a { color: var(--texto); font-weight: 700; overflow-wrap: anywhere; }
.dados a:hover { color: var(--petroleo); }

.formulario-caixa { padding: clamp(22px, 3vw, 36px); border: 1px solid var(--linha); border-top: 6px solid var(--ambar); border-radius: var(--raio); }
.formulario { display: grid; gap: 18px; }

.campo { display: grid; gap: 6px; }
.campo label { font-weight: 700; }
.campo__opcional { color: var(--texto-suave); font-weight: 500; }
.campo__ajuda { margin: 0; color: var(--texto-suave); font-size: .92rem; }

.campo input, .campo select, .campo textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 2px solid var(--linha);
    border-radius: 12px;
    background: var(--branco);
    color: var(--texto);
    font: inherit;
}

.campo textarea { min-height: 150px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--petroleo); outline: 3px solid var(--petroleo); outline-offset: 1px; }
.campo [aria-invalid="true"] { border-color: var(--ambar-texto); }
.campo__erro { margin: 0; color: var(--ambar-texto); font-size: .92rem; font-weight: 700; }

.formulario__aviso { padding: 14px 16px; border-left: 5px solid var(--ambar-forte); border-radius: 0 10px 10px 0; background: var(--areia); color: var(--texto); font-weight: 600; }
.formulario__aviso--ok { border-left-color: var(--whatsapp); }
.formulario__lgpd { margin: 0; color: var(--texto-suave); font-size: .9rem; }
.formulario .botao { justify-self: start; }
.formulario .botao[disabled] { opacity: .7; cursor: progress; }

/* armadilha para robôs: fora da tela (não é para pessoas) */
.armadilha { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------------ 11. rodapé e WhatsApp */
.rodape {
    padding: 0 0 calc(28px + env(safe-area-inset-bottom));
    background: var(--petroleo-noite);
    color: var(--branco-a80);
    font-size: .95rem;
}

.fio--rodape { background-color: var(--branco); }
.rodape > .container { padding-top: clamp(48px, 6vw, 72px); }
.rodape--simples > .container { padding-top: 4px; }

.rodape__grade {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--branco-a12);
}

.rodape__logo { width: auto; height: 64px; margin-bottom: 16px; }
.rodape__sobre p { max-width: 38ch; }

.rodape h2 { margin: 0 0 14px; color: var(--branco); font-size: 1rem; font-weight: 800; letter-spacing: 0; }
.rodape ul { margin: 0; padding: 0; list-style: none; }
.rodape nav a, .rodape__contato a, .rodape__legal a { display: inline-block; padding: 10px 0; overflow-wrap: anywhere; }   /* área de toque */
.rodape a { color: var(--branco-a88); text-decoration: none; }
.rodape a:hover { color: var(--ambar-claro); text-decoration: underline; }

.redes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.redes a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--branco-a30);
    border-radius: 50%;
    color: var(--branco);
}

.redes a:hover { border-color: var(--ambar); background: var(--ambar); color: var(--petroleo-noite); }
.redes .icone { width: 20px; height: 20px; }

.rodape__jogue { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 22px 0; border-bottom: 1px solid var(--branco-a12); }
.rodape__jogue p { margin: 0; max-width: 60ch; }
.rodape__jogue-logo { display: inline-block; padding: 6px 10px; border-radius: 8px; background: var(--branco); }
.rodape__jogue-logo:hover { background: var(--ambar-claro); }

.rodape__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 24px;
    padding-top: 20px;
    font-size: .85rem;
}

.rodape__legal p { margin: 0; }

.whats-flutuante {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 150;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--whatsapp);
    color: var(--petroleo-noite);
    box-shadow: 0 10px 24px -8px var(--noite-a60);
}

.whats-flutuante:hover { background: var(--ambar); color: var(--petroleo-noite); }
.whats-flutuante .icone { width: 30px; height: 30px; }

/* ------------------------------------------------------------------ 11b. visualizador de PDF (modal, montado pelo site.js) */
html.pdf-aberto { overflow: hidden; }

/* tem de parecer uma janela por cima do site, não o topo do site: cabeçalho claro, respiro em volta, sombra e fundo escurecido */
.pdf-modal {
    width: min(1100px, calc(100vw - 2 * var(--respiro-modal)));
    max-width: none;
    height: calc(100vh - 2 * var(--respiro-modal));
    max-height: none;
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: var(--branco);
    color: var(--texto);
    box-shadow: var(--sombra-janela);
    overflow: hidden;
}
.pdf-modal[open] { display: flex; flex-direction: column; }
.pdf-modal::backdrop { background: var(--noite-a85); backdrop-filter: blur(3px); }

.pdf-modal__topo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    padding: 16px 16px 16px 24px;
    border-bottom: 1px solid var(--linha);
    background: var(--branco);
    color: var(--texto);
}
.pdf-modal__cabeca { flex: 1 1 280px; min-width: 0; }
.pdf-modal__tipo { display: block; color: var(--texto-suave); font-size: .8rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.pdf-modal__titulo { margin: 2px 0 0; color: var(--petroleo-escuro); font-size: 1.2rem; line-height: 1.25; overflow-wrap: anywhere; }
.pdf-modal__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.pdf-modal__fechar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 2px solid var(--linha);
    border-radius: 10px;
    background: var(--branco);
    color: var(--petroleo-noite);
    cursor: pointer;
}
.pdf-modal__fechar:hover { border-color: var(--petroleo-escuro); background: var(--gelo); }

.pdf-modal__visor { flex: 1; min-height: 0; background: var(--gelo); }
.pdf-modal__visor iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ------------------------------------------------------------------ 12. responsivo */
@media (max-width: 1180px) {
    .topo__nav a:not(.botao) { padding: 10px 9px; font-size: .92rem; }
    .linhas { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .linha--ajuda { grid-column: span 2; }
}

@media (max-width: 1060px) {
    :root { --altura-topo: 70px; --altura-topo-compacto: 62px; }

    .topo__marca img { height: 44px; }
    .topo--compacto .topo__marca img { height: 38px; }
    .topo__menu-botao { display: inline-flex; }

    .topo__nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        max-height: calc(100vh - var(--altura-topo));
        overflow-y: auto;
        padding: 8px var(--margem) 20px;
        border-bottom: 3px solid var(--ambar);
        background: var(--branco);
        box-shadow: 0 18px 30px var(--noite-a20);
    }

    .topo__nav.aberto { display: block; }
    .topo__nav > ul { flex-direction: column; align-items: stretch; }
    .topo__nav a:not(.botao) { padding: 13px 12px; font-size: 1.05rem; }
    .topo__nav a[aria-current="page"]::after { top: 10px; right: auto; bottom: 10px; left: 0; width: 4px; height: auto; }
    .topo__onde { margin: 12px 0 0; }
    .topo__onde .botao { width: 100%; }

    .linhas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .linha--ajuda { grid-column: auto; }
    .usos { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
}

@media (max-width: 900px) {
    .abertura__grade, .dupla, .com-lateral, .contato-grade, .duvidas { grid-template-columns: minmax(0, 1fr); }
    .abertura__grade { min-height: 0; }
    .abertura__visual { max-width: 560px; margin-left: 40px; }
    .abertura__frascos img { height: 150px; }
    .abertura__frascos img + img { height: 120px; }
    .quem__visual { justify-items: center; }

    .ficha { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ficha > div:nth-child(3) { padding-left: 0; border-left: 0; }
    .ficha > div:nth-child(n + 3) { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--linha); }

    .artigos, .composicoes { grid-template-columns: minmax(0, 1fr); }
    .lateral { position: static; }
    .mosaico { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mosaico li:first-child { grid-column: span 2; grid-row: span 1; }
    .mosaico li:last-child:nth-child(even) { grid-column: span 2; }   /* número par de fotos: a última fecha a linha */

    .cabecalho-pagina__grade { grid-template-columns: minmax(0, 1fr); }
    .cabecalho-pagina__foto { display: none; }
    .cabecalho-pagina__frascos img { height: 120px; }
    .cabecalho-pagina__frascos img:nth-child(2) { height: 140px; }

    .rodape__grade { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .rodape__sobre { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    body { font-size: 1rem; }

    .abertura__visual { margin-left: 24px; }
    .abertura__foto img { border-radius: 20px 20px 20px 70px; }
    .abertura__frascos { bottom: -28px; left: -24px; }
    .abertura__frascos img { height: 118px; }
    .abertura__frascos img + img { height: 94px; margin-left: -18px; }

    .produto { grid-template-columns: minmax(0, 1fr); }
    .produto__foto { min-height: 0; }
    .produto__foto img { max-height: 200px; }

    .linhas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .linha--ajuda { grid-column: 1 / -1; }
    .linha__foto { height: 140px; padding: 12px; }
    .linha__foto img { height: 116px; }
    .linha__texto { padding: 14px; }
    .linha__desc { display: none; }
    .linha--ajuda .linha__desc { display: block; }

    .usos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .uso img { max-width: 130px; }
    .mosaico { grid-auto-rows: 150px; gap: 8px; }

    .acoes .botao { flex: 1 1 auto; }
    .chamada .acoes { margin-right: 0; }
    .chamada::after { top: -90px; right: -90px; width: 170px; height: 170px; }

    .politica { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .politica .icone { width: 36px; height: 36px; }

    .ficha dd { font-size: 1.3rem; }
    .rodape__grade { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .whats-flutuante { width: 52px; height: 52px; }
}

@media (max-width: 380px) {
    .idiomas .icone { display: none; }
    .topo__barra { gap: 8px; }
    .topo__marca img { height: 38px; }
}

/* ------------------------------------------------------------------ 13. movimento e impressão */
/* o único movimento: na abertura o óleo escorre (o fio se desenha) e o texto aparece */
@media (prefers-reduced-motion: no-preference) {
    .fio-oleo__linha { stroke-dasharray: 1; stroke-dashoffset: 1; animation: escorre 2.2s cubic-bezier(.45, .05, .25, 1) .3s forwards; }
    .abertura__texto > * { animation: aparece .7s ease-out both; }
    .abertura__texto > :nth-child(2) { animation-delay: .12s; }
    .abertura__texto > :nth-child(3) { animation-delay: .24s; }
    .abertura__texto > :nth-child(4) { animation-delay: .36s; }

    @keyframes escorre { to { stroke-dashoffset: 0; } }
    @keyframes aparece { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
    body { padding-top: 0; color: var(--preto); }
    .topo, .redes, .whats-flutuante, .fio, .fio-oleo, .filtro, .carrossel__botoes, .pdf-modal { display: none !important; }
    .secao--petroleo, .rodape, .chamada { background: none; color: var(--preto); }
    .secao--petroleo h2, .chamada h2 { color: var(--preto); }
    .carrossel { overflow: visible; }
    .destaques { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); }
    .produto__beneficios ul { display: block; }
}
