/* ============================================================
   Modelo: Terracota Editorial
   Origem visual: modelo-2.html. Skin sobre as seções pf-* do PRO.
   ============================================================ */
:root { --accent: #9d2d25; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
.pf { font-family: 'Nunito', sans-serif; color: #2b2b2b; background: #efe9e3; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.pf h1, .pf h2 { font-family: 'Instrument Serif', serif; font-weight: 500; margin: 0; }
.pf a { color: inherit; }
.pf section { padding: 0 24px; }

.pf-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 22px 30px; color: #fff; }
.pf-brand { font-family: 'Instrument Serif', serif; font-size: 20px; letter-spacing: .03em; }
.pf-navlink { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; opacity: .9; }
.pf-navlink:hover { opacity: 1; }

.pf-hero { position: relative; height: 90vh; min-height: 560px; max-height: 860px; display: grid; place-items: center; overflow: hidden; padding: 0; }
.pf-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;  }
.pf-hero-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(90,28,24,.2), rgba(90,28,24,.08) 40%, rgba(90,28,24,.35)); }
.pf-hero:not(:has(.pf-hero-img)) { background: linear-gradient(180deg, #b9d7f2, #efe9e3); }
.pf-hero-text { position: relative; z-index: 2; text-align: center; color: #fff; padding: 20px; transform: translateY(8vh); }
.pf-eyebrow { letter-spacing: .18em; text-transform: uppercase; font-size: 13px; margin: 0 0 8px; }
.pf-hero-text h1 { font-size: clamp(46px, 9vw, 104px); line-height: .95; text-transform: uppercase; }
.pf-tagline { margin: 14px 0 0; font-size: clamp(13px, 2vw, 16px); letter-spacing: .18em; text-transform: uppercase; }

.pf-niches { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; padding: 16px 28px; background: #9d2d25; color: #fff; text-transform: uppercase; letter-spacing: .16em; font-size: 13px; letter-spacing:.22em; }

.pf-about { max-width: 1000px; margin: 80px auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.pf-about-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius:0; border:8px solid #fff; }
.pf-eyebrow2 { margin: 0 0 6px; color: var(--accent); }
.pf-about-text h2 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 16px; }
.pf-about-text p { color: #6a5a55; font-size: 16px; margin: 0; }

.pf-styles { max-width: 1000px; margin: 0 auto 40px; padding: 88px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; background: #9d2d25; }
.pf-styles h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1; }
.pf-styles-list { margin: 0; padding: 0; list-style: none; counter-reset: st; columns: 2; column-gap: 28px; }
.pf-styles-list li { counter-increment: st; font-size: 16px; padding: 8px 0; break-inside: avoid; }
.pf-styles-list li::before { content: counter(st) "  "; font-family: 'Instrument Serif', serif; margin-right: 6px; }

.pf-videos { max-width: 1100px; margin: 80px auto; text-align: center; }
.pf-videos h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 28px; }
.pf-videos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 26px; }
.pf-video { text-decoration: none; display: block; color: inherit; }
.pf-phone { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 9/16; background: #9d2d25; box-shadow: 0 16px 36px rgba(0,0,0,.12); }
.pf-phone img, .pf-phone video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-phone-empty { width: 100%; height: 100%; display: grid; place-items: center; font-size: 28px; }
.pf-video-brand { font-weight: 600; margin: 12px 0 0; display: block; }
.pf-video-style { margin: 2px 0 0; color: #6a5a55; }

.pf-mute { position: absolute; bottom: 10px; right: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 5px; background: rgba(0,0,0,.55); color: #fff; border: none; cursor: pointer; border-radius: 999px; padding: 7px 11px; font: inherit; font-size: 11px; font-weight: 600; }
.pf-mute svg { width: 16px; height: 16px; }
.pf-mute .ic { display: none; }
.pf-mute.is-muted .ic-off { display: block; }
.pf-mute:not(.is-muted) .ic-on { display: block; }
.pf-mute.is-muted .pf-mute-hint::after { content: "ouvir"; }

.pf-gallery { max-width: 1100px; margin: 80px auto; text-align: center; }
.pf-gallery h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 8px; }
.pf-gallery-intro { color: #6a5a55; margin: 0 auto 28px; max-width: 540px; }
.pf-masonry { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; text-align: left; }
.pf-masonry figure { margin: 0; overflow: hidden; background: #fdfdfd; }
.pf-masonry img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }
.pf-masonry figcaption { padding: 10px 12px; font-size: 14px; color: #6a5a55; }

.pf-feedbacks { padding: 88px 24px; text-align: center; background: #9d2d25; }
.pf-feedbacks h2 { font-size: clamp(30px, 5vw, 48px); margin-bottom: 32px; }
.pf-feedbacks-grid { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.pf-feedback { background: #fdfdfd; border-radius: 28px; padding: 32px 24px; }
.pf-feedback p { color: #6a5a55; font-size: 15px; margin: 0 0 14px; }
.pf-feedback-name { font-family: 'Instrument Serif', serif; }

.pf-equip { max-width: 1100px; margin: 80px auto; text-align: center; }
.pf-equip h2 { font-size: clamp(28px, 5vw, 46px); }
.pf-equip-sub { color: #6a5a55; margin: 8px auto 28px; max-width: 560px; }
.pf-equip-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 24px 40px; }
.pf-equip-item { margin: 0; width: 150px; }
.pf-equip-item img { width: 100%; height: 170px; object-fit: contain; }
.pf-equip-item figcaption { margin-top: 8px; font-size: 13px; color: #6a5a55; }

.pf-metrics { max-width: 1100px; margin: 80px auto; padding: 0 24px; }
.pf-metrics-head { text-align: center; margin-bottom: 24px; }
.pf-handle { font-family: 'Instrument Serif', serif; font-size: 28px; margin: 0; }
.pf-metrics-note { color: #6a5a55; margin: 4px 0; }
.pf-metrics-niches { letter-spacing: .12em; font-size: 12px; text-transform: uppercase; margin: 4px 0 0; }
.pf-metrics-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.pf-metrics-grid img { width: 100%; border-radius: 12px; background: #fdfdfd; }

.pf-work { max-width: 1040px; margin: 80px auto; text-align: center; padding: 0 24px; }
.pf-work h2 { font-size: clamp(26px, 4vw, 42px); margin-bottom: 28px; }
.pf-work-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.pf-work-card { background: #9d2d25; border-radius: 28px; padding: 28px; font-size: 15px; }
.pf-work-photo img { width: 220px; height: 300px; object-fit: cover; border-radius:0; border:8px solid #fff; }

.pf-contact { position: relative; min-height: 480px; display: grid; place-items: center; background-size: cover; background-position: center top; background-color: #9d2d25; text-align: center; color: #fff; overflow: hidden; margin-top: 72px; }
.pf-contact-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.62)); }
.pf-contact-inner { position: relative; z-index: 2; padding: 72px 24px; }
.pf-contact h2 { font-size: clamp(36px, 6vw, 64px); margin-bottom: 22px; color: #fff; }
.pf-contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; font-size: 15px; }
.pf-contact-links a, .pf-contact-links span { color: #fff; text-decoration: none; }
.pf-foot { text-align: center; padding: 28px; color: #6a5a55; font-size: 13px; background: #efe9e3; }

.pf-eyebrow, .pf-eyebrow2 { font-family:"Italianno", cursive; font-style:normal; font-size:34px; letter-spacing:0; text-transform:none; }
.pf-about { background:#efe9e3; }
.pf-about-text { background:#9d2d25; color:#fff; padding:48px 36px; }
.pf-about-text h2, .pf-about-text p, .pf-eyebrow2 { color:#fff; }
.pf-styles { background:#9d2d25; color:#fff; }
.pf-styles h2, .pf-styles-list li { color:#fff; }
.pf-styles-list li::before { color:#efe9e3; }

@media (max-width: 760px) {
    .pf-about { grid-template-columns: 1fr; gap: 28px; margin: 48px auto; text-align: center; }
    .pf-about-photo img { max-width: 320px; margin: 0 auto; }
    .pf-styles { grid-template-columns: 1fr; gap: 20px; padding: 48px 22px; }
    .pf-styles-list { columns: 1; }
    .pf-work-grid { grid-template-columns: 1fr; }
    .pf-work-photo img { margin: 0 auto; }
    .pf-niches { width: auto; max-width: none; margin-left: 0; margin-right: 0; border-radius: 0; }
}
@media (max-width: 560px) {
    .pf-hero { height: 78vh; min-height: 460px; }
    .pf-videos-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .pf-masonry { grid-template-columns: 1fr 1fr; }
    .pf-feedbacks-grid, .pf-metrics-grid { grid-template-columns: 1fr; }
    .pf-equip-item { width: 110px; }
    .pf-contact-links { flex-direction: column; gap: 12px; }
}

/* layout-fix */
.pf { overflow-x: clip; }
.pf section.pf-hero { padding: 0; height: 58vh; min-height: 420px; max-height: 560px; }
.pf .pf-hero-text { width: min(920px, calc(100vw - 56px)); max-width: 100%; transform: none; margin-inline: auto; }
.pf .pf-hero-text h1 { max-width: 100%; font-size: clamp(38px, 6vw, 80px); line-height: .95; }
.pf section.pf-about { max-width: 1080px; margin: 0 auto; padding: 64px 6vw; }
.pf section.pf-about:not(:has(.pf-about-photo)) { grid-template-columns: minmax(0, 1fr); }
.pf section.pf-about:has(.pf-about-photo) { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; }
.pf .pf-about-photo img { width: min(100%, 360px); margin-left: auto; display: block; }
.pf section.pf-styles { max-width: none; margin: 0; padding: 56px 6vw; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.pf .pf-styles-list { min-width: 0; }
.pf section.pf-videos,
.pf section.pf-gallery,
.pf section.pf-equip,
.pf section.pf-metrics,
.pf section.pf-work,
.pf section.pf-feedbacks { max-width: none; margin: 0; padding: 56px 6vw; }
.pf .pf-videos-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 16px; max-width: 1040px; margin-inline: auto; }
.pf .pf-video { min-width: 0; }
.pf .pf-phone { border: 8px solid #1a1a1a; border-radius: 26px; box-shadow: 0 14px 28px rgba(0,0,0,.16); }
.pf .pf-video-brand { display: inline-block; margin-top: 10px; padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .02em; background: #fff; color: #222; }
.pf .pf-masonry { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 1040px; margin-inline: auto; }
.pf .pf-masonry figure, .pf .pf-masonry img { min-width: 0; max-width: 100%; }
.pf section.pf-brands { max-width: none !important; margin: 0 !important; padding: 56px 6vw !important; }
.pf .pf-brands-wrap { max-width: 920px; margin-left: auto !important; margin-right: auto !important; }
.pf section.pf-brands span { display: inline-flex !important; align-items: center; justify-content: center; width: auto; max-width: 180px; height: auto; min-height: 42px; padding: 10px 16px !important; border-radius: 999px; font-size: 13px !important; font-weight: 600 !important; line-height: 1.2; text-align: center; }
.pf .pf-work-grid:not(:has(.pf-work-photo)) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; margin-inline: auto; }
.pf .pf-work-grid:has(.pf-work-photo) { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); max-width: 980px; margin-inline: auto; }
.pf .pf-metrics-grid, .pf .pf-feedbacks-grid, .pf .pf-equip-row { max-width: 1040px; margin-inline: auto; }
.pf section.pf-contact { min-height: 380px; margin-top: 0; }
@media (max-width: 900px) {
  .pf section.pf-hero { height: 68vh; min-height: 400px; }
  .pf .pf-videos-grid, .pf .pf-masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf section.pf-styles,
  .pf section.pf-about,
  .pf .pf-work-grid,
  .pf .pf-work-grid:not(:has(.pf-work-photo)),
  .pf .pf-work-grid:has(.pf-work-photo) { grid-template-columns: minmax(0, 1fr); }
  .pf .pf-about-photo img, .pf .pf-work-photo img { margin-inline: auto; }
}

.pf section.pf-hero { background: linear-gradient(180deg, #6e1c18 0%, #9d2d25 62%, #efe9e3 100%); }
.pf-hero:not(:has(.pf-hero-img)) .pf-hero-veil { display: none; }
.pf .pf-hero-text, .pf .pf-hero-text h1, .pf .pf-eyebrow, .pf .pf-tagline { color: #fff; }
.pf section.pf-about { max-width: 1080px; background: transparent; }
.pf .pf-phone { border-color: #9d2d25; }
.pf .pf-video-brand { background: #9d2d25; color: #fff; }
.pf section.pf-brands { background: #efe9e3; }
.pf section.pf-brands span { background: #9d2d25 !important; color: #fff !important; }
.pf section.pf-videos, .pf section.pf-gallery, .pf section.pf-equip, .pf section.pf-metrics { background: #f7f1eb; }

/* referência: editorial terracota, cartão claro e celulares vermelhos */
.pf.pf--terracota-editorial { background: #9a2b24; color: #fff; }
.pf.pf--terracota-editorial .pf-nav { background: transparent; color: #fff; }
.pf.pf--terracota-editorial .pf-brand { font-family: "Instrument Serif", serif; letter-spacing: .04em; font-size: 28px; }
.pf.pf--terracota-editorial section.pf-hero { height: 72vh; min-height: 480px; max-height: none; }
.pf.pf--terracota-editorial .pf-hero-text h1 { font-family: "Italianno", cursive; font-size: clamp(64px, 9vw, 120px); font-weight: 400; text-transform: none; letter-spacing: 0; }
.pf.pf--terracota-editorial section.pf-about,
.pf.pf--terracota-editorial section.pf-styles,
.pf.pf--terracota-editorial section.pf-videos,
.pf.pf--terracota-editorial section.pf-gallery,
.pf.pf--terracota-editorial section.pf-feedbacks,
.pf.pf--terracota-editorial section.pf-equip,
.pf.pf--terracota-editorial section.pf-metrics,
.pf.pf--terracota-editorial section.pf-work,
.pf.pf--terracota-editorial section.pf-brands {
  background: #f6efe8; color: #3a221c; text-align: center;
  width: min(1080px, calc(100% - 48px)); margin: 18px auto; border-radius: 18px; padding: 48px 36px;
}
.pf.pf--terracota-editorial section.pf-about { display: block; }
.pf.pf--terracota-editorial .pf-about-text { background: transparent; color: #3a221c; padding: 0; }
.pf.pf--terracota-editorial .pf-about-text h2,
.pf.pf--terracota-editorial section.pf-styles h2,
.pf.pf--terracota-editorial section.pf-videos h2,
.pf.pf--terracota-editorial section.pf-gallery h2,
.pf.pf--terracota-editorial section.pf-feedbacks h2,
.pf.pf--terracota-editorial section.pf-equip h2,
.pf.pf--terracota-editorial section.pf-work h2,
.pf.pf--terracota-editorial .pf-brands-title,
.pf.pf--terracota-editorial .pf-metrics-title {
  font-family: "Instrument Serif", serif; color: #9a2b24; text-align: center;
  font-size: clamp(32px, 4vw, 46px) !important; font-weight: 400; text-transform: none;
}
.pf.pf--terracota-editorial .pf-about-text p,
.pf.pf--terracota-editorial .pf-styles-list li,
.pf.pf--terracota-editorial .pf-feedback p { color: #4a3028; }
.pf.pf--terracota-editorial .pf-about-photo img { width: min(100%, 280px); margin: 20px auto 0; border-radius: 16px; }
.pf.pf--terracota-editorial .pf-styles-list { columns: 2; max-width: 680px; margin-inline: auto; text-align: left; }
.pf.pf--terracota-editorial .pf-phone { border-color: #9a2b24; background: linear-gradient(180deg, #d7ecf8, #c9d9a4 58%, #6f8a28); }
.pf.pf--terracota-editorial .pf-video-brand, .pf.pf--terracota-editorial section.pf-brands span { background: #9a2b24 !important; color: #fff !important; }
.pf.pf--terracota-editorial section.pf-brands .pf-brands-wrap > img { display: none; }
.pf.pf--terracota-editorial .pf-feedback, .pf.pf--terracota-editorial .pf-work-card { background: #fff; color: #3a221c; border: 1px solid #eadfd6; }
.pf.pf--terracota-editorial section.pf-contact { background-color: #7d211c; }
.pf.pf--terracota-editorial .pf-contact-veil { background: rgba(122, 28, 24, .45); }
.pf.pf--terracota-editorial .pf-foot { background: #7d211c; color: #f6efe8; }

/* diferenças: hero dividido, retrato nas marcas e nos feedbacks */
.pf.pf--terracota-editorial section.pf-hero {
  height: auto; min-height: 560px; max-height: none; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 420px);
  align-items: center; gap: 28px; padding: 96px 7vw 56px; background: #9a2b24;
}
.pf.pf--terracota-editorial .pf-hero-veil { display: none; }
.pf.pf--terracota-editorial .pf-hero-text { position: relative; inset: auto; order: 1; text-align: left; color: #fff; }
.pf.pf--terracota-editorial .pf-hero-img {
  position: relative; inset: auto; order: 2; width: 100%; height: 520px; object-fit: cover; border-radius: 18px;
}
.pf.pf--terracota-editorial section.pf-brands .pf-brands-wrap > img { display: block; width: min(100%, 240px); border-radius: 16px; }
.pf.pf--terracota-editorial section.pf-feedbacks {
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: center; text-align: left;
}
.pf.pf--terracota-editorial section.pf-feedbacks h2 { grid-column: 1 / -1; text-align: center; }
.pf.pf--terracota-editorial .pf-feedback-aside { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 16px; }
.pf.pf--terracota-editorial .pf-spotlight .pf-videos-grid { grid-template-columns: minmax(0, 220px); justify-content: center; }
.pf.pf--terracota-editorial .pf-video-group h2 { text-transform: uppercase; }
@media (max-width: 800px) {
  .pf.pf--terracota-editorial section.pf-hero,
  .pf.pf--terracota-editorial section.pf-feedbacks { grid-template-columns: 1fr; }
  .pf.pf--terracota-editorial .pf-hero-img { height: 360px; }
}

/* mockup de celular da referência */
.pf.pf--terracota-editorial .pf-phone {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  aspect-ratio: 172 / 341;
}
.pf.pf--terracota-editorial .pf-phone::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: url("bits/phone.png") center / 100% 100% no-repeat;
  pointer-events: none;
}
.pf.pf--terracota-editorial .pf-phone img,
.pf.pf--terracota-editorial .pf-phone video,
.pf.pf--terracota-editorial .pf-phone-empty {
  position: absolute;
  z-index: 1;
  left: 3.5%;
  right: 6.4%;
  top: 7.4%;
  bottom: 2.7%;
  /* img/video absolutos com width:auto usam o tamanho do arquivo, não as bordas */
  width: 90.1%;
  height: 89.9%;
  margin: 0;
  border-radius: 14px;
  object-fit: cover;
}
.pf.pf--terracota-editorial .pf-phone-empty {
  display: grid;
  place-items: center;
  background: #050505;
  color: #fff;
}
