/* Black Friday — the iFood landing page's Black November layer (landing-pages
   `css/campaign.css`, Nov 2026) over the Clássico look (`landing.css`, loaded first): a black
   running strip under the header, the hero's brand plate framed in black, a pill eyebrow and a
   countdown on the plate. The brand colours and font still come from the Style. */
body {
  --ws-campaign-black: #111;
}

/* The running strip (header field `ticker`): solid black, the phrases looping, a brand dot
   between them. */
.ws-ticker {
  overflow: hidden;
  background: var(--ws-campaign-black);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.ws-ticker__track {
  display: flex;
  width: max-content;
  animation: ws-ticker-scroll 22s linear infinite;
}
.ws-ticker__track span {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 7px 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.ws-ticker__track span::after {
  content: "•";
  margin: 0 24px;
  color: var(--ws-brand-bright);
}
@keyframes ws-ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ws-ticker__track {
    animation: none;
  }
}

/* Hero: black all round the plate, the plate framed in black */
.ws-section--hero {
  background: var(--ws-campaign-black);
}
.ws-hero__plate {
  border: 3px solid var(--ws-campaign-black);
}
.ws-hero__plate .ws-eyebrow {
  margin-bottom: 8px;
}

/* Countdown on the plate: a label, then the time in a black box */
.ws-hero__countdown {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 32px;
}
.ws-hero__countdown-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.78;
}
/* The LP prints the time as one line, "13d : 06h : 45m : 07s", in a black box. */
.ws-hero__countdown .ws-countdown {
  display: inline-flex;
  align-items: baseline;
  margin-top: 0;
  gap: 0;
  width: fit-content;
  padding: 10px 18px;
  border-radius: var(--ws-radius-md);
  background: var(--ws-campaign-black);
  color: #fff;
  font-weight: 800;
  font-size: clamp(1.25rem, 5vw, 1.7rem);
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.ws-hero__countdown .ws-countdown__cell {
  display: flex;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: none;
}
.ws-hero__countdown .ws-countdown__cell + .ws-countdown__cell::before {
  content: "\00a0:\00a0";
}
.ws-hero__countdown .ws-countdown__num {
  font-size: inherit;
  line-height: inherit;
}
.ws-hero__countdown .ws-countdown__num[data-u="d"]::after {
  content: "d";
}
.ws-hero__countdown .ws-countdown__num[data-u="h"]::after {
  content: "h";
}
.ws-hero__countdown .ws-countdown__num[data-u="m"]::after {
  content: "m";
}
.ws-hero__countdown .ws-countdown__num[data-u="s"]::after {
  content: "s";
}
.ws-hero__countdown .ws-countdown__lbl {
  display: none;
}

/* The other countdowns (a promo banner) take the same black. */
.ws-countdown__cell {
  background: var(--ws-campaign-black);
}

/* The regulation header's band is the campaign black (regulamento/ `.reg-hero`). */
.ws-section--cta.ws-bg-dark:has(+ .ws-rich-text--regulation) {
  background: var(--ws-campaign-black);
}

/* ── The iFood SUPER page's own drawing (landing-pages `super-seguro-auto-moto`, styles.css) ──
   Each block below answers a theme field or setting declared in theme.json and does nothing
   until that field is filled. */

/* The hero's subtitle keeps its line breaks: a blank line parts two paragraphs. */
.ws-hero__plate .ws-lead {
  white-space: pre-line;
}

/* `head_align: left` (benefits, cards, testimonials): the band's title on the left. */
.ws-head--left .ws-section__head {
  margin-left: 0;
  text-align: left;
}

/* `cta_size: small` (benefits, cards): the band's button as the LP's inline call. */
.ws-cta--small .ws-section__cta .ws-btn {
  padding: 10px 20px;
  font-size: 0.88rem;
}
@media (max-width: 559px) {
  .ws-section.ws-cta--small .ws-section__cta .ws-btn {
    width: auto;
  }
}

/* products `image_size: icon`: the picture as the LP's icon on its tinted disc. */
.ws-products--icons .ws-product img {
  width: 56px;
  height: 56px;
}
.ws-products--icons .ws-product--highlight img {
  width: 64px;
  height: 64px;
}
.ws-products--icons .ws-product .ws-btn {
  padding: 16px 28px;
  font-size: 1rem;
}

/* benefits: two picture tiles side by side (`tile1_image`, `tile2_image`), their note
   (`tiles_note`) and a paragraph (`lead`) between the title and the checklist card. */
.ws-benefits__tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
@media (min-width: 640px) {
  .ws-benefits__tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}
.ws-benefits__tile {
  display: flex;
  align-items: center;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--ws-line-100);
  border-radius: var(--ws-radius-lg);
  box-shadow: var(--ws-shadow-sm);
}
.ws-benefits__tile img {
  height: 64px;
  width: auto;
}
@media (min-width: 640px) {
  .ws-benefits__tile img {
    height: 80px;
  }
}
.ws-benefits__note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--c-muted);
}
.ws-benefits__note.ws-md p {
  margin: 0;
}
.ws-benefits__lead {
  margin-top: 24px;
}

/* benefits: the card's own picture over the list (`card_image`) and the large figure beside it
   (`stat_label`, `stat_value`); the footnote sits inside the card. */
.ws-benefits__logo {
  height: 32px;
  width: auto;
  margin-bottom: 16px;
}
.ws-benefits__stat {
  text-align: center;
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 2.6rem);
  color: var(--c-text);
}
.ws-benefits__stat strong {
  display: block;
  font-weight: inherit;
  color: var(--ws-brand-strong);
}

/* cards `badge_tone: success`: the card's tag in green, above its icon. */
.ws-cards--badge-success .ws-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.ws-cards--badge-success .ws-card__badge {
  order: -1;
  margin-bottom: 8px;
  background: var(--ws-success-tint);
  color: var(--ws-success);
  border-color: transparent;
}

/* cards `footnote_size: note`: the text under the grid as a note, not fine print. */
.ws-footnote--note .ws-footnote {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--c-muted);
}

/* Setting `footer_logos_reversed`: the footer's chips in the reverse of the header's order. */
.ws-footer__logos--reversed {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

/* A cards band with no cards is its picture alone under the title (LP "O que dá pra comprar com
   o cupom"). */
.ws-cards__grid:empty {
  display: none;
}
.ws-cards__grid:empty + .ws-cards__showcase {
  margin-top: 0;
}

/* Setting `button_tone: brand`: the buttons in the brand colour itself, not its darker shade.
   Zero specificity, so a white button on a coloured band stays white. */
:where(.ws-buttons--brand) .ws-btn--primary {
  background: var(--ws-brand);
}
:where(.ws-buttons--brand) .ws-btn--primary:hover {
  background: var(--ws-brand-strong);
}

/* steps `head_align: left` shares `.ws-head--left` above. */

/* steps `arrow: arrow`: a full arrow between two steps, not a chevron. */
.ws-steps--arrows .ws-step__arrow {
  position: relative;
}
.ws-steps--arrows .ws-step__arrow::before {
  width: 8px;
  height: 8px;
  border-width: 1.8px;
  border-radius: 1px;
}
.ws-steps--arrows .ws-step__arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.8px;
  height: 13px;
  border-radius: 1px;
  background: var(--ws-ink-300);
  transform: translate(-50%, -50%);
}
.ws-steps--arrows .ws-step__arrow::before {
  position: relative;
  top: 2.5px;
}
@media (min-width: 760px) {
  .ws-steps--arrows .ws-step__arrow::after {
    width: 13px;
    height: 1.8px;
  }
  .ws-steps--arrows .ws-step__arrow::before {
    top: 0;
    left: 2.5px;
  }
}

/* hero `layout: soft` (LP seguro-moto-move `.hero`): no black band and no plate — the band is a
   soft gradient of the brand colour, the copy sits on it in the page's ink, the image is a
   framed 4:5 card. */
.ws-section--hero.ws-hero--soft {
  padding: 48px 0 32px;
  background: linear-gradient(180deg, var(--ws-tint-100) 0%, var(--ws-tint-50) 45%, #fff 100%);
  box-shadow: inset 0 -1px 0 var(--ws-tint-100);
  color: var(--c-text);
}
.ws-section--hero.ws-hero--soft > .ws-container {
  max-width: 1120px;
  padding: 0 24px;
}
.ws-hero--soft .ws-hero__plate {
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: none;
  color: inherit;
}
.ws-hero--soft .ws-hero__grid {
  align-items: center;
}
.ws-hero--soft .ws-hero__plate .ws-lead {
  color: var(--c-muted);
}
.ws-hero--soft .ws-btn--primary {
  color: #fff;
}
.ws-hero--soft .ws-hero__cta {
  display: flex;
}
.ws-hero--soft .ws-hero__disclaimer {
  margin-top: 12px;
  color: var(--c-muted);
  opacity: 1;
}
/* The disclaimer's mark is the LP's "attention" ring, not a check. */
.ws-hero--soft .ws-hero__disclaimer::before {
  content: "!";
  box-sizing: border-box;
  border: 1.5px solid var(--ws-brand-strong);
  border-radius: 50%;
  background: none;
  clip-path: none;
  color: var(--ws-brand-strong);
  font-size: 10px;
  font-weight: 800;
  line-height: 13px;
  text-align: center;
}
.ws-hero--soft .ws-hero__image {
  position: relative;
  display: block;
  align-self: center;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}
.ws-hero--soft .ws-hero__image > img {
  width: 100%;
  max-width: none;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
  border-radius: var(--ws-radius-xl);
  box-shadow: var(--ws-shadow-md);
}
@media (min-width: 900px) {
  .ws-section--hero.ws-hero--soft > .ws-container {
    padding: 0 24px;
  }
  .ws-hero--soft .ws-hero__plate {
    padding: 0;
  }
  .ws-hero--soft .ws-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .ws-hero--soft .ws-hero__image,
  .ws-hero--soft.ws-hero--left .ws-hero__image {
    margin: 0 auto;
  }
}

/* hero `logo`: a campaign's or partner's mark beside the eyebrow. */
.ws-hero__lockup {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.ws-hero__lockup .ws-eyebrow {
  margin-bottom: 0;
}
.ws-hero__logo {
  height: 40px;
  width: auto;
}
@media (min-width: 640px) {
  .ws-hero__logo {
    height: 52px;
  }
}

/* hero `note_icon`: the note as a line of its own, its icon before it. */
.ws-hero__note--icon {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 44ch;
  margin-top: 12px;
  font-size: 0.98rem;
  opacity: 1;
}
.ws-hero__note--icon img {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

/* hero `text_link`: a quiet link under the button and its disclaimer. */
.ws-hero__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ws-brand-strong);
  text-decoration: underline;
}
.ws-hero__link:hover {
  color: var(--ws-brand-press);
}
.ws-bg-primary .ws-hero__link,
.ws-bg-accent .ws-hero__link,
.ws-bg-dark .ws-hero__link {
  color: inherit;
}

/* hero `image_chip`: a white pill over the foot of the image, an arrow between its phrases. */
.ws-hero__image:has(.ws-hero__chip) {
  position: relative;
}
.ws-hero__chip {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #fff;
  color: var(--c-text);
  border: 1px solid var(--ws-line-100);
  border-radius: 999px;
  box-shadow: var(--ws-shadow-md);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.ws-hero__chip img {
  flex: none;
  width: 16px;
  height: 16px;
  max-width: none;
}
.ws-hero__chip-arrow {
  position: relative;
  flex: none;
  width: 12px;
  height: 2px;
  border-radius: 1px;
  background: var(--ws-ink-300);
}
.ws-hero__chip-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--ws-ink-300);
  border-right: 2px solid var(--ws-ink-300);
  border-radius: 1px;
  transform: translateY(-50%) rotate(45deg);
}

/* benefits `aside_title` / `aside_text` (LP seguro-moto-move `.eligibility-ticket`): the list
   and, past a dashed perforation, the aside as a stamp. Each icon sits on a disc with a green
   check; the stamp's own is on a brand disc. */
.ws-ticket {
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
  color: var(--c-text);
  border-radius: var(--ws-radius-lg);
  box-shadow: var(--ws-shadow-sm);
  overflow: hidden;
}
.ws-ticket__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
}
.ws-ticket__list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
  font-weight: 600;
}
.ws-ticket__icon {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--ws-tint-50);
}
.ws-ticket__icon img {
  width: 24px;
  height: 24px;
}
.ws-ticket__icon::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--ws-success);
  border: 2px solid #fff;
}
.ws-ticket__icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
  right: 5.5px;
  bottom: 5.5px;
  width: 5px;
  height: 8px;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(45deg);
}
.ws-ticket__stamp {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  padding: 32px;
  background: var(--ws-tint-50);
  border-top: 2px dashed var(--ws-tint-100);
}
.ws-ticket__icon--stamp {
  width: 44px;
  height: 44px;
  margin-bottom: 4px;
  background: var(--ws-brand);
}
.ws-ticket__icon--stamp img {
  width: 22px;
  height: 22px;
}
.ws-ticket__icon--stamp::before {
  border-color: var(--ws-tint-50);
}
.ws-ticket__stamp strong {
  font-weight: 800;
  font-size: 1.05rem;
}
.ws-ticket__stamp p {
  font-size: 0.88rem;
  color: var(--c-muted);
  line-height: 1.55;
}
@media (min-width: 760px) {
  .ws-ticket {
    grid-template-columns: 1.3fr 1fr;
  }
  .ws-ticket__stamp {
    border-top: 0;
    border-left: 2px dashed var(--ws-tint-100);
  }
}

/* cards `icon_style: logo` (LP `.partner-card`): the card's image at logo height, no tinted
   square; the card flat. */
.ws-cards--logos .ws-card {
  padding: 24px;
  box-shadow: none;
}
.ws-cards--logos .ws-card > img {
  width: auto;
  height: 32px;
  max-width: 140px;
  padding: 0;
  border-radius: 0;
  background: none;
  object-fit: contain;
}
.ws-cards--logos .ws-card p {
  line-height: 1.55;
}

/* cards `phone_columns: 2`: two cards a row on a phone too. */
@media (max-width: 639px) {
  .ws-cards--phone-2 .ws-cards__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* cards `tiles` (LP `.stat-row`): a row of fact tiles under the grid, the bold part in the
   brand colour. */
.ws-cards__tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 32px;
}
@media (min-width: 640px) {
  .ws-cards__tiles {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
  }
}
.ws-cards__tile {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #fff;
  color: var(--c-text);
  border: 1px solid var(--ws-tint-100);
  border-radius: var(--ws-radius-md);
  text-align: center;
}
.ws-cards__tile p {
  font-size: 0.9rem;
  line-height: 1.4;
}
.ws-cards__tile strong {
  color: var(--ws-brand-strong);
}

/* cards `cta_style: inline` (LP `.inline-cta`): the footnote as a line beside a small outline
   button, centred under the grid. */
.ws-cards__inline-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  text-align: center;
}
.ws-cards__inline-note p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--c-muted);
}
.ws-cards__inline-cta .ws-btn {
  padding: 10px 20px;
  font-size: 0.88rem;
}
@media (max-width: 559px) {
  .ws-section .ws-cards__inline-cta .ws-btn {
    width: auto;
  }
}
@media (min-width: 640px) {
  .ws-cards__inline-cta {
    flex-direction: row;
    justify-content: center;
  }
}
