/* ==========================================================================
   Home
   ========================================================================== */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(660px, 100svh, 940px);
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 24px) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
  isolation: isolate;
}
.hero__fundo { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__pontos {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(190, 1, 55, .13) 1.2px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 18% 40%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 50% 60% at 18% 40%, #000 0%, transparent 70%);
}
/* Círculo grande atrás do caminhão (vaza pela direita e por baixo). Fica dentro do palco
   para acompanhar a posição do caminhão em qualquer largura. */
.hero__arco {
  position: absolute; left: 13%; top: 10%; width: min(60vw, 940px); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #D6083F 0%, var(--vermelho) 34%, var(--vermelho-escuro) 72%, var(--vinho) 100%);
  box-shadow: inset 0 -40px 80px rgba(42, 10, 18, .25);
}
.hero__arco::before {
  content: ''; position: absolute; inset: -26px; border-radius: 50%;
  border: 2px dashed rgba(228, 186, 105, .7);
  animation: girar 90s linear infinite;
}
.hero__arco::after {
  content: ''; position: absolute; inset: 9%; border-radius: 50%;
  border: 1.5px solid rgba(255, 207, 132, .22);
}
@keyframes girar { to { transform: rotate(360deg); } }
/* Notebook: círculo 10% maior, crescendo a partir do centro (a borda visível, à esquerda e no topo, aumenta). */
@media (min-width: 1024px) and (max-width: 1599px) { .hero__arco { scale: 1.1; } }
.hero__ondas { position: absolute; left: -4%; bottom: -2%; width: 108%; max-width: none; height: auto; }

.hero__in { position: relative; z-index: 2; width: 100%; }
.hero__texto { max-width: min(640px, 47%); }
.hero h1 { font-size: clamp(2.2rem, 3.7vw, 3.5rem); }
.hero__eyebrow {
  padding: 8px 14px; border-radius: 999px; background: var(--superficie);
  border: 1px solid var(--linha); box-shadow: var(--sombra-1); margin-bottom: 22px;
  letter-spacing: .1em;
}
.hero h1 { margin-bottom: 22px; text-wrap: balance; }
.hero .texto-l { max-width: 48ch; margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero__confianca { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero__confianca li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--texto-2); }
.hero__confianca svg {
  width: 38px; height: 38px; padding: 8px; border-radius: 50%;
  background: rgba(190, 1, 55, .08); color: var(--vermelho);
}
.hero__confianca strong { display: block; color: var(--texto); font-size: 15px; }

/* Entrada do texto do hero */
.js [data-hero] { opacity: 0; transform: translateY(26px); }
.carregado [data-hero] { animation: subir .9s var(--ease) forwards; }
.carregado [data-hero]:nth-child(2) { animation-delay: .1s; }
.carregado [data-hero]:nth-child(3) { animation-delay: .2s; }
.carregado [data-hero]:nth-child(4) { animation-delay: .3s; }
.carregado [data-hero]:nth-child(5) { animation-delay: .4s; }
@keyframes subir { to { opacity: 1; transform: none; } }

/* Visual: da metade da tela até a borda direita, abaixo do menu. É o único grupo da home que
   não respeita o recuo lateral do conteúdo: o caminhão (o principal da hero) pode ser grande. */
.hero__visual {
  position: absolute; z-index: 1; top: var(--nav-h); right: 0; bottom: 0; left: 50%;
  pointer-events: none;
}
/* O palco (caminhão, riscos e círculo) ocupa o espaço livre entre o texto e a borda da tela:
   o maior possível (até a altura útil e 880px), a 40px do texto e 12px da borda, centralizado
   nesse espaço quando sobra lugar. Valores em % do visual: 100% = meia tela. */
.hero__palco {
  --recuo: max(0px, 100% - var(--largura) / 2 - var(--gutter));
  --fim-texto: calc(var(--recuo) + var(--gutter) + min(528px, (200% - var(--recuo) * 2 - var(--gutter) * 2) * .47));
  --livre: calc(200% - var(--fim-texto) - 52px);
  --w: min(880px, (clamp(660px, 100svh, 940px) - 110px) * 1.11, var(--livre));
  position: absolute; top: 50%; translate: 0 -50%;
  right: calc(12px + (var(--livre) - var(--w)) / 2);
  width: var(--w); aspect-ratio: 928 / 834;
}
.hero__caminhao-mov {
  position: absolute; inset: 0;
  animation: motor 1.4s ease-in-out infinite alternate;
}
.hero__caminhao-mov::after {
  content: ''; position: absolute; z-index: -1; left: 14%; right: 4%; bottom: -3%; height: 10%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(42, 10, 18, .38), transparent);
}
.hero__caminhao {
  width: 100%; height: auto;
  filter: drop-shadow(0 40px 40px rgba(42, 10, 18, .32));
}
.js .hero__caminhao { opacity: 0; transform: translateX(55%) rotate(2deg); }
.carregado .hero__caminhao { animation: chegar 1.5s .25s cubic-bezier(.2, .9, .25, 1.06) forwards; }
@keyframes chegar {
  0% { opacity: 0; transform: translateX(55%) rotate(2deg); }
  15% { opacity: 1; }
  78% { transform: translateX(-2.5%) rotate(-1.2deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes motor { from { transform: translateY(0); } to { transform: translateY(-5px); } }
/* Riscos de movimento atrás da roda traseira, no ângulo da lateral do baú (≈24°). Ficam na faixa
   vazia abaixo do baú, então aparecem mesmo quando a traseira encosta na borda da tela. */
.hero__vento { position: absolute; z-index: -1; left: 78%; top: 66%; width: 30%; opacity: 0; overflow: visible; }
.carregado .hero__vento { animation: aparecer .6s 1.4s forwards; }
.hero__vento path { stroke-dasharray: 60 140; animation: vento 1.1s linear infinite; }
.hero__vento path:nth-child(2) { animation-delay: -.4s; }
.hero__vento path:nth-child(3) { animation-delay: -.8s; }
@keyframes vento { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }
@keyframes aparecer { to { opacity: 1; } }


@media (max-width: 1023px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; padding-bottom: 0; }
  .hero__texto { max-width: 640px; }
  .hero__visual { position: relative; inset: auto; width: 100%; height: clamp(360px, 92vw, 620px); margin-top: 8px; }
  .hero__palco { top: 50%; right: 11%; width: min(86%, 580px); }
  .hero__arco { left: 20%; top: 45%; width: 120vw; }
}
@media (max-width: 600px) {
  .hero__texto { text-align: center; }
  /* Corpos de texto justificados; a hifenização (pt-BR, do lang da página) evita buracos entre palavras. */
  .hero .texto-l { margin-inline: auto; text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
  .hero__eyebrow { font-size: 10.5px; letter-spacing: .06em; padding: 7px 12px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  /* Diferenciais centralizados em bloco (o "Pedido mínimo" fica sozinho no meio da última linha);
     o texto de cada um continua à esquerda do ícone. */
  .hero__confianca { gap: 12px; justify-content: center; }
  .hero__confianca li { font-size: 13px; text-align: left; }
  /* Caminhão, riscos e círculo no topo; textos e botões embaixo. O palco fica centralizado
     (altura = largura × 834/928) e o círculo aparece inteiro atrás do caminhão. */
  .hero { padding: calc(var(--nav-h) + 6px) 0 64px; }
  .hero__visual { order: -1; height: calc(min(92vw, 560px) * .8987 + 48px); margin: 0 0 10px; }
  .hero__palco { right: auto; left: 50%; translate: -50% -50%; width: min(92vw, 560px); }
  .hero__arco { left: 50%; top: 53%; width: 84%; translate: -50% -50%; }
  /* A onda do fim do hero dá lugar à da seção seguinte (.porque__onda), que atravessa as duas. */
  .hero__ondas { display: none; }
}

/* ---------- Por que escolher a Roma ---------- */
.porque { position: relative; padding: clamp(110px, 12vw, 170px) 0 var(--secao); }
/* Celular: começa 56px dentro do fim do hero (abaixo dos diferenciais) e desce por trás do mascote.
   Vem antes do card no HTML, então o card e o mascote ficam por cima dela. */
.porque__onda { display: none; }
@media (max-width: 600px) {
  .porque__onda { display: block; position: absolute; left: 0; top: -56px; width: 100%; height: 200px; pointer-events: none; }
}
.porque__banner {
  position: relative;
  display: grid; grid-template-columns: minmax(250px, 30%) minmax(0, 1fr) auto; align-items: center;
  gap: clamp(24px, 3vw, 48px);
  min-height: 440px;
  padding: clamp(40px, 4.5vw, 60px) clamp(28px, 4vw, 56px) clamp(40px, 4.5vw, 60px) 0;
  border-radius: var(--r-l);
  background:
    radial-gradient(ellipse 60% 90% at 20% 100%, rgba(214, 8, 63, .55), transparent 70%),
    linear-gradient(120deg, var(--vermelho-escuro) 0%, var(--vinho) 100%);
  color: var(--creme);
  box-shadow: var(--sombra-3);
}
.porque__textura { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
/* Ondas puxadas na diagonal, do canto para o meio do card, para aparecerem atrás do conteúdo. */
.porque__textura svg { position: absolute; right: -8%; bottom: -16%; width: 98%; opacity: .14; }
.porque__curva { display: none; }
.porque__mascote {
  position: absolute; left: clamp(0px, 1.5vw, 24px); bottom: 0;
  width: min(30%, 400px); height: auto; max-height: 128%;
  object-fit: contain; object-position: bottom left;
  filter: drop-shadow(0 20px 30px rgba(42, 10, 18, .4));
  transform-origin: bottom center;
}
.porque__banner.visivel .porque__mascote, .porque__banner:not([data-revelar]) .porque__mascote { animation: mascote-sobe 1.1s .2s var(--ease) both; }
@keyframes mascote-sobe { from { transform: translateY(30px) scale(.94); opacity: 0; } }
.porque__conteudo { grid-column: 2; position: relative; }
.porque .eyebrow { color: var(--dourado); margin-bottom: 14px; }
.porque h2 { color: var(--creme); margin-bottom: 18px; max-width: 21ch; }
.porque h2 em { color: var(--dourado); }
.porque__conteudo > p { color: rgba(255, 248, 242, .82); max-width: 54ch; margin-bottom: 24px; }
.porque__difs { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 12px 14px; margin-bottom: 30px; }
.porque__difs li {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 9px; border-radius: 999px;
  background: rgba(255, 248, 242, .08); border: 1px solid rgba(255, 207, 132, .22);
  font-weight: 600; font-size: 14.5px;
}
.porque__difs svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--dourado); color: var(--vinho); flex-shrink: 0; }
.porque__numeros {
  grid-column: 3; position: relative;
  display: grid; gap: 26px; padding-left: clamp(24px, 3vw, 44px);
  border-left: 1px solid rgba(255, 207, 132, .3);
}
.porque__numeros li { display: grid; grid-template-columns: 56px auto; column-gap: 16px; align-items: center; }
.porque__numeros .porque__icone {
  grid-row: span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  border: 1.5px solid rgba(255, 207, 132, .55); color: var(--dourado);
}
.porque__numeros .porque__icone svg { width: 28px; height: 28px; }
.porque__numeros strong { font-family: var(--fonte-titulo); font-weight: 900; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1; color: var(--creme); }
.porque__numeros span:last-child { font-size: 14px; color: rgba(255, 248, 242, .72); }

@media (max-width: 1100px) {
  .porque__banner { grid-template-columns: minmax(200px, 30%) 1fr; }
  .porque__numeros { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); border-left: 0; border-top: 1px solid rgba(255, 207, 132, .3); padding: 28px 0 0 clamp(28px, 4vw, 56px); }
}
@media (max-width: 760px) {
  .porque { padding-top: 150px; }
  .porque__banner { grid-template-columns: 1fr; padding: 0 22px 32px; text-align: center; }
  /* Largura fixa (sem o max-height em % do desktop, que dependia da altura da linha) e base colada
     no fim da linha, onde a faixa curva passa. */
  .porque__mascote { position: relative; left: auto; width: 62%; max-width: 300px; max-height: none; margin: -130px auto 0; align-self: end; }
  /* Sobe crescendo a partir da base, para o corte das pernas nunca aparecer abaixo da faixa curva. */
  .porque__banner.visivel .porque__mascote, .porque__banner:not([data-revelar]) .porque__mascote { animation-name: mascote-cresce; }
  /* Faixa curva de borda a borda do card, por cima do corte das pernas (o meio da faixa, a 13,25% da
     largura do SVG, cai na base do mascote; os 24px compensam o espaço entre as linhas da grade). */
  .porque__curva {
    display: block; position: relative; z-index: 1;
    width: calc(100% + 44px); max-width: none; height: auto;
    margin: calc(-13.25% - 5.83px - 24px) -22px -6px;
  }
  .porque__conteudo { grid-column: 1; }
  .porque h2, .porque__conteudo > p { margin-inline: auto; }
  .porque__conteudo > p { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
  .porque__difs { grid-template-columns: 1fr 1fr; }
  .porque__difs li { font-size: 13px; padding-right: 10px; text-align: left; }
  .porque__numeros { grid-template-columns: 1fr; padding-left: 0; gap: 18px; text-align: left; }
}
@keyframes mascote-cresce { from { transform: scale(.94); opacity: 0; } }

/* ---------- Categorias ---------- */
.categorias { padding-bottom: var(--secao); }
.cats {
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px;
}
.cat {
  position: relative; display: grid; justify-items: center; align-content: start; gap: 4px; text-align: center;
  padding: 26px 8px 18px;
  border-radius: 24px;
  transition: background-color .35s var(--ease), transform .45s var(--ease);
}
.cat:hover { background: var(--superficie); transform: translateY(-4px); }
.cat__bola {
  position: relative; display: grid; place-items: center;
  width: min(118px, 100%); aspect-ratio: 1; border-radius: 50%; margin-bottom: 12px;
  background: radial-gradient(circle at 35% 30%, #FBEBDA, #F1DBC3);
  box-shadow: inset 0 -8px 16px rgba(148, 0, 28, .06);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.cat__bola::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 1.5px dashed transparent; transition: border-color .4s, transform .8s var(--ease);
}
.cat__bola img {
  position: relative; z-index: 1; width: 118%; max-width: none; height: 118%; object-fit: contain;
  margin-top: -18%;
  filter: drop-shadow(0 10px 10px rgba(74, 20, 30, .18));
  transition: transform .55s var(--ease-mola);
}
.cat:hover .cat__bola { background: radial-gradient(circle at 35% 30%, #D6083F, var(--vermelho-escuro)); }
.cat:hover .cat__bola::after { border-color: var(--dourado-2); transform: rotate(60deg); }
.cat:hover .cat__bola img { transform: translateY(-10px) rotate(-7deg) scale(1.08); }
.cat__nome { font-weight: 700; font-size: 14.5px; line-height: 1.25; color: var(--texto); }
.cat__qtd { font-size: 12.5px; color: var(--texto-3); }
.cat--todos .cat__bola { background: radial-gradient(circle at 35% 30%, #D6083F, var(--vermelho-escuro)); color: #fff; }
.cat--todos .cat__bola svg { width: 34px; height: 34px; transition: transform .45s var(--ease); }
.cat--todos:hover .cat__bola svg { transform: translateX(6px); }

@media (max-width: 1180px) {
  .cats {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 6px; gap: 6px;
  }
  .cats::-webkit-scrollbar { display: none; }
  .cat { flex: 0 0 136px; scroll-snap-align: start; }
}

/* ---------- Destaques ---------- */
.destaques { padding-bottom: var(--secao); }
.destaques .grade-produtos { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1180px) { .destaques .grade-produtos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) { .destaques .grade-produtos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .destaques .grade-produtos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .destaques .card:nth-child(n+9) { display: none; }
}

/* ---------- Marcas ---------- */
.marcas { padding-bottom: var(--secao); overflow: hidden; }
/* Mais ou menos a largura do título "O que o seu negócio precisa": quebra em 2 linhas parecidas. */
.marcas h2 { max-width: 16em; text-wrap: balance; }
.marcas__trilhos {
  display: grid; gap: 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
/* Cada fileira corre sozinha e aceita arrastar/deslizar (esteira em js/paginas/home.js). */
.marcas__trilho {
  display: flex; width: max-content; gap: 16px; will-change: transform;
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.marca {
  position: relative; flex: 0 0 auto; display: grid; place-items: center;
  width: 184px; height: 104px; border-radius: 22px;
  background: var(--superficie); border: 1px solid var(--linha);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
  overflow: hidden;
}
.marca img { max-width: 68%; max-height: 56%; width: auto; height: auto; object-fit: contain; transition: transform .45s var(--ease); }
.marca--branca { background: var(--vermelho-escuro); border-color: var(--vermelho-escuro); }
.marca__info {
  position: absolute; inset: auto 0 0 0; padding: 7px 10px;
  background: var(--vermelho); color: #fff; font-size: 12px; font-weight: 700; text-align: center;
  transform: translateY(100%); transition: transform .4s var(--ease);
}
.marca:hover, .marca:focus-visible { transform: translateY(-5px); box-shadow: var(--sombra-2); border-color: transparent; }
.marca:hover img, .marca:focus-visible img { transform: translateY(-9px) scale(.94); }
.marca:hover .marca__info, .marca:focus-visible .marca__info { transform: none; }
@media (max-width: 600px) { .marca { width: 150px; height: 88px; border-radius: 18px; } }

/* ---------- Como funciona ---------- */
/* Sem overflow: hidden na seção, para a cabeça do mascote passar da curva do fundo.
   Quem recorta é o fundo de riscos e o carrossel. */
.como {
  --como-topo: clamp(80px, 9vw, 120px);
  --como-respiro: clamp(44px, 5vw, 64px);
  position: relative;
  background: var(--dourado);
  border-top-left-radius: 50% clamp(40px, 6vw, 90px);
  border-top-right-radius: 50% clamp(40px, 6vw, 90px);
  padding-top: var(--como-topo);
  /* Respiro dourado abaixo dos cards: a seção seguinte (Nossa estrutura) é creme. */
  padding-bottom: clamp(48px, 5vw, 72px);
  isolation: isolate;
}
.como__fundo { position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; pointer-events: none; }
.como__riscos { width: 100%; height: 100%; opacity: .55; }
.como__topo { position: relative; text-align: center; max-width: 720px; margin: 0 auto var(--como-respiro); }
.como .eyebrow { color: var(--vinho); margin-bottom: 14px; }
.como h2 { color: var(--vinho-profundo); margin-bottom: 14px; }
.como__topo p { color: rgba(42, 10, 18, .78); font-size: 1.05rem; }
/* À esquerda do título: a cabeça passa 40px acima da seção e os pés param 18px antes dos cards. */
.como__mascote {
  position: absolute; z-index: 2; right: calc(50% + 290px); bottom: calc(18px - var(--como-respiro));
  height: calc(100% + var(--como-respiro) - 18px + var(--como-topo) + 40px); width: auto; max-width: none;
  filter: drop-shadow(0 18px 20px rgba(124, 1, 34, .3));
  pointer-events: none;
}
.js .como__mascote { opacity: 0; transform: translateY(40px) rotate(6deg); transition: opacity .8s var(--ease), transform 1s var(--ease-mola); }
.como.visto .como__mascote { opacity: 1; transform: none; }

.como__carrossel { position: relative; overflow: hidden; padding-top: 24px; margin-top: -24px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.como__trilho { display: flex; gap: 22px; width: max-content; padding-left: var(--gutter); will-change: transform; }
.etapa {
  position: relative; flex: 0 0 auto;
  width: clamp(268px, 24vw, 310px); height: clamp(430px, 36vw, 470px);
  display: flex; flex-direction: column;
  padding: clamp(46px, 4vw, 58px) 26px 0;
  background: var(--vinho); color: var(--creme);
  border-top-left-radius: 50% 64px; border-top-right-radius: 50% 64px;
  border-bottom-left-radius: 24px; border-bottom-right-radius: 24px;
  transition: transform .5s var(--ease), background-color .4s;
}
/* Entrada: os cards sobem escalonados; depois (.pronto) o hover responde sem atraso. */
.js .etapa {
  transform: translateY(140px); opacity: 0;
  transition: transform 1.1s var(--ease), opacity .8s var(--ease), background-color .4s;
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .como.visto .etapa { transform: none; opacity: 1; }
.js .como.pronto .etapa { transition: transform .5s var(--ease), background-color .4s; }
.etapa:hover, .js .como.pronto .etapa:hover { transform: translateY(-10px); background: #8A0428; }
.etapa__num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--dourado); color: var(--vinho); font-weight: 800; font-size: 15px; margin-bottom: 18px;
}
.etapa h3 { font-family: var(--fonte-titulo); font-weight: 900; font-size: clamp(1.35rem, 1.8vw, 1.6rem); line-height: 1.12; margin-bottom: 10px; color: var(--creme); }
.etapa p { font-size: 14.5px; line-height: 1.55; color: rgba(255, 248, 242, .78); }
.etapa__icone { margin-top: auto; width: 100%; max-width: 230px; align-self: center; height: auto; overflow: visible; }

/* Ícones das etapas: traços dourados se desenham quando a seção aparece. */
.ic { --ouro: #FFCF84; --fundo: #7C0122; }
.ic .tr { fill: none; stroke: var(--ouro); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.ic .tr-g { stroke-width: 5.5; }
.ic .tr-f { fill: none; stroke: var(--fundo); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.ic .ch { fill: var(--ouro); }
.ic .fu { fill: var(--fundo); }
.ic .txt { font-family: var(--fonte-titulo); font-weight: 900; }
.ic [data-desenho] { stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400); }
.como.visto .ic [data-desenho] { animation: tracar 1.6s var(--ease) forwards; animation-delay: calc(.5s + var(--i, 0) * 90ms); }
@keyframes tracar { to { stroke-dashoffset: 0; } }
.etapa:hover .ic .anima { animation-duration: calc(var(--dur, 2s) * .6); }
.ic .moeda { animation: moeda 2.4s var(--ease-mola) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes moeda { 0%, 60%, 100% { transform: translateY(0); } 70% { transform: translateY(-9px); } 85% { transform: translateY(0); } }
.ic .etiqueta { transform-box: view-box; transform-origin: 158px 62px; animation: balanco 3s ease-in-out infinite; }
@keyframes balanco { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(8deg); } }
.ic .check { stroke-dasharray: 30; stroke-dashoffset: 30; animation: marcar 3.6s var(--ease) infinite; }
@keyframes marcar { 0%, 8% { stroke-dashoffset: 30; } 22%, 82% { stroke-dashoffset: 0; } 96%, 100% { stroke-dashoffset: 30; } }
.ic .lupa { transform-box: view-box; transform-origin: 150px 104px; animation: varrer 3.4s ease-in-out infinite; }
@keyframes varrer { 0%, 100% { transform: translate(0, 0) rotate(0); } 35% { transform: translate(-26px, -6px) rotate(-8deg); } 65% { transform: translate(6px, 4px) rotate(4deg); } }
.ic .barra { transform-box: fill-box; transform-origin: bottom; animation: crescer 2.8s var(--ease) infinite; }
@keyframes crescer { 0%, 100% { transform: scaleY(.35); } 40%, 75% { transform: scaleY(1); } }
.ic .papel { animation: imprimir 3.2s var(--ease) infinite; }
@keyframes imprimir { 0% { transform: translateY(-14px); } 30%, 100% { transform: none; } }
.ic .carimbo { transform-box: fill-box; transform-origin: center; animation: carimbar 3.2s var(--ease) infinite; }
@keyframes carimbar { 0%, 38% { transform: scale(1.8) rotate(-30deg); opacity: 0; } 48% { transform: scale(.92) rotate(-12deg); opacity: 1; } 56%, 92% { transform: scale(1) rotate(-12deg); opacity: 1; } 100% { opacity: 0; transform: scale(1) rotate(-12deg); } }
.ic .roda { transform-box: fill-box; transform-origin: center; animation: girar 1s linear infinite; }
.ic .ponteiro { transform-box: view-box; transform-origin: 190px 40px; animation: girar 4s linear infinite; }
.ic .caminhao-ic { animation: motor .5s ease-in-out infinite alternate; }
.ic .vento-ic path { stroke-dasharray: 18 40; animation: vento .9s linear infinite; }

@media (max-width: 1000px) {
  .como__mascote {
    position: relative; right: auto; bottom: auto; display: block;
    width: 130px; height: auto; margin: calc(-24px - var(--como-topo)) auto 8px;
  }
}
@media (max-width: 760px) { .como__topo { margin-bottom: 36px; } }

/* ---------- Nossa estrutura (página 3 do catálogo) ---------- */
/* Mosaico com as fotos reais à esquerda, painel escuro com o texto à direita e a faixa
   "Quem compara, escolhe a Roma." cruzando os dois na base, como no PDF. */
/* overflow-x: clip: a faixa vaza até a borda da tela e entra deslizando da direita sem criar rolagem lateral. */
.estrutura { padding: var(--secao) 0 calc(var(--secao) + 12px); overflow-x: clip; }
.estrutura__grade {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px;
}
.estrutura__fotos {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px; min-height: clamp(500px, 44vw, 620px);
}
.estrutura__foto {
  position: relative; margin: 0; overflow: hidden; isolation: isolate;
  border-radius: 24px; background: var(--bg-2);
}
.estrutura__foto--estoque { grid-row: 1 / 3; }
.estrutura__foto--frota { grid-column: 2 / 4; }
.estrutura__foto img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.estrutura__foto--estoque img { object-position: 68% center; }
.estrutura__foto--expedicao img { object-position: 42% center; }
.estrutura__foto:hover img { transform: scale(1.06); }
.estrutura__foto figcaption {
  position: absolute; left: 14px; top: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px 7px 11px; border-radius: 999px;
  background: rgba(255, 253, 249, .92); color: var(--texto);
  font-size: 12.5px; font-weight: 700; box-shadow: var(--sombra-1);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform .45s var(--ease);
}
.estrutura__foto figcaption::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--vermelho); }
.estrutura__foto:hover figcaption { transform: translateY(-3px); }

.estrutura__painel {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  padding: clamp(32px, 3.6vw, 52px) clamp(26px, 3vw, 44px) clamp(116px, 10vw, 140px);
  border-radius: var(--r-l);
  background:
    radial-gradient(ellipse 80% 55% at 100% 0%, rgba(190, 1, 55, .38), transparent 62%),
    var(--vinho-profundo);
  color: var(--creme);
}
.estrutura__ondas { position: absolute; z-index: -1; right: -30%; bottom: 4%; width: 120%; opacity: .07; pointer-events: none; }
.estrutura__painel .eyebrow { color: var(--dourado); margin-bottom: 14px; }
.estrutura__painel h2 { color: var(--creme); margin-bottom: 18px; }
.estrutura__painel h2 em { color: var(--dourado); }
.estrutura__texto { color: rgba(255, 248, 242, .8); line-height: 1.7; margin-bottom: 28px; }
.estrutura__pilares {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 22px;
  margin-top: auto; padding-top: 26px; border-top: 1px solid rgba(255, 207, 132, .18);
}
.estrutura__pilares li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; align-content: start; }
.estrutura__icone {
  grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 207, 132, .1); border: 1px solid rgba(255, 207, 132, .35); color: var(--dourado);
  transition: background-color .3s, color .3s, transform .45s var(--ease-mola);
}
.estrutura__icone svg { width: 22px; height: 22px; }
.estrutura__pilares li:hover .estrutura__icone { background: var(--dourado); color: var(--vinho-profundo); transform: rotate(-8deg) scale(1.06); }
.estrutura__pilares strong { font-size: 15px; font-weight: 700; color: var(--creme); line-height: 1.3; }
.estrutura__pilares span:last-child { font-size: 13px; line-height: 1.45; color: rgba(255, 248, 242, .66); }

/* Faixa do slogan: atravessa o mosaico e o painel, com o traço dourado embaixo. */
.estrutura__selo {
  position: absolute; z-index: 2; left: 30%; right: 0; bottom: 28px;
  padding: clamp(16px, 1.6vw, 22px) clamp(24px, 3vw, 44px) clamp(16px, 1.6vw, 22px) clamp(30px, 3.4vw, 52px);
  border-radius: 999px 0 0 999px;
  background: linear-gradient(90deg, var(--vermelho) 0%, var(--vermelho-escuro) 62%, var(--vinho) 100%);
  color: var(--creme); box-shadow: var(--sombra-3);
  font-family: var(--fonte-titulo); font-weight: 900; font-size: clamp(1.35rem, 2.15vw, 2rem); line-height: 1.12;
}
.estrutura__selo em { font-style: normal; color: var(--dourado); }
.estrutura__selo::after {
  content: ''; position: absolute; left: 10%; right: 0; bottom: -11px; height: 6px; border-radius: 6px 0 0 6px;
  background: var(--dourado-2); transform-origin: left;
}

/* Entrada: as fotos abrem de baixo para cima, a faixa desliza e o traço dourado se desenha. */
.js .estrutura__foto { clip-path: inset(100% 0 0 0 round 24px); }
.js .estrutura__foto img { transform: scale(1.18); }
.js .estrutura.visto .estrutura__foto { clip-path: inset(0 0 0 0 round 24px); transition: clip-path 1.1s var(--ease) calc(var(--i, 0) * 120ms); }
.js .estrutura.visto .estrutura__foto img { transform: none; transition: transform 1.6s var(--ease) calc(var(--i, 0) * 120ms); }
.js .estrutura.pronto .estrutura__foto img { transition: transform 1.2s var(--ease); }
.js .estrutura.pronto .estrutura__foto:hover img { transform: scale(1.06); }
.js .estrutura__pilares li { opacity: 0; transform: translateY(18px); }
.js .estrutura.visto .estrutura__pilares li { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(.5s + var(--i, 0) * 90ms); }
.js .estrutura__selo { opacity: 0; transform: translateX(48px); }
.js .estrutura.visto .estrutura__selo { opacity: 1; transform: none; transition: opacity .8s var(--ease) .55s, transform 1s var(--ease) .55s; }
.js .estrutura__selo::after { transform: scaleX(0); }
.js .estrutura.visto .estrutura__selo::after { transform: none; transition: transform .9s var(--ease) 1.1s; }

@media (max-width: 1100px) {
  .estrutura__grade { display: flex; flex-direction: column; gap: 16px; }
  /* Empilhado: título e texto primeiro, depois o mosaico com a faixa por cima da base. */
  .estrutura__painel { order: -1; padding-bottom: clamp(32px, 4vw, 44px); }
  .estrutura__fotos { min-height: 0; height: clamp(420px, 62vw, 560px); }
  /* A faixa sobrepõe a base do mosaico e vaza até a borda direita da tela. */
  .estrutura__selo { position: relative; left: auto; bottom: auto; margin: -64px calc(var(--gutter) * -1) 0 18%; }
}
@media (max-width: 600px) {
  .estrutura__fotos { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 10px; height: 560px; }
  .estrutura__foto { border-radius: 18px; }
  .estrutura__foto--estoque { grid-row: 1 / 3; }
  .estrutura__foto--frota { grid-column: 2; }
  .estrutura__foto--armazem { grid-column: 1 / 3; }
  .estrutura__foto figcaption { left: 10px; top: 10px; font-size: 11.5px; padding: 6px 10px 6px 9px; }
  /* Eyebrow e título centralizados, texto justificado; os pilares continuam alinhados à esquerda. */
  .estrutura__painel .eyebrow { align-self: center; }
  .estrutura__painel h2 { text-align: center; }
  .estrutura__texto { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
  .estrutura__pilares { grid-template-columns: 1fr; gap: 16px; }
  .estrutura__selo { margin-left: 8%; padding-left: 26px; }
  .estrutura__selo em { display: block; }
  .js .estrutura__foto { clip-path: inset(100% 0 0 0 round 18px); }
  .js .estrutura.visto .estrutura__foto { clip-path: inset(0 0 0 0 round 18px); }
}
