/*
Theme Name: The Pairing 2026
Theme URI: https://thepairing.luizpazito.com/
Author: Luiz Pazito
Description: Tema de blocos editorial e enxuto para o guia digital The Pairing 2026.
Version: 0.11.24
Requires at least: 6.9
Requires PHP: 8.1
Text Domain: the-pairing
*/

/* Native Fluent Forms, scoped so admin/plugin previews remain unchanged. */
.tp-live-form { color: #fff; text-align: left; }
.tp-live-form--feedback { background: #144f63; border: 1px solid #ffffff55; padding: clamp(1.5rem, 4vw, 3rem); }
.tp-live-form--newsletter { max-width: 42rem; margin: 2rem auto 0; }
.tp-live-form .fluentform .ff-el-form-control { box-sizing: border-box; width: 100%; min-height: 3.25rem; border: 1px solid #ffffff99; border-radius: 0; background: transparent; color: #fff; font-family: inherit; font-size: 1rem; }
.tp-live-form .fluentform select option { color: #10251d; background: #f5f0e6; }
.tp-live-form .fluentform input::placeholder, .tp-live-form .fluentform textarea::placeholder { color: #ffffffcc; }
.tp-live-form .fluentform .ff-el-input--label label, .tp-live-form .fluentform .ff-el-form-check-label { color: #fff; }
.tp-live-form .fluentform .ff-el-input--label { margin-bottom: .65rem; }
.tp-live-form--feedback .fluentform .ff-el-input--content:has(input[type="radio"]) { display: flex; gap: .6rem; flex-wrap: wrap; }
.tp-live-form--feedback .fluentform .ff-el-form-check:has(input[type="radio"]) { margin: 0; }
.tp-live-form--feedback .fluentform .ff-el-form-check-label:has(input[type="radio"]) { position: relative; display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid #ffffff77; font-size: 1.1rem; cursor: pointer; }
.tp-live-form--feedback .fluentform input[type="radio"] { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.tp-live-form--feedback .fluentform .ff-el-form-check-label:has(input[type="radio"]:focus-visible) { outline: 2px solid #fff; outline-offset: 3px; }
.tp-live-form--feedback .fluentform .ff-el-input--label label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tp-live-form--feedback .fluentform textarea { min-height: 9rem; }
.tp-live-form--newsletter .ff-el-group:has(input[type="email"]) .ff-el-input--label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tp-live-form--newsletter .ff-el-group:has(input[name="checkbox[]"]) { display: none; }
.tp-live-form--feedback .fluentform .ff-el-form-check-label:has(input[type="radio"]:checked) { background: #f5f0e6; color: #10251d; }
.tp-live-form .fluentform input[type="radio"], .tp-live-form .fluentform input[type="checkbox"] { accent-color: #ca541e; }
.tp-live-form .fluentform .ff-el-form-check-label { line-height: 1.6; }
.tp-live-form .fluentform .ff-btn-submit { min-height: 3.25rem; padding: .9rem 1.6rem; border-radius: 0; border: 1px solid #ffffffaa; background: #10251d; color: #fff; font-family: inherit; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.tp-live-form .fluentform .ff-btn-submit { background-color: #10251d !important; color: #fff !important; border-color: #ffffffaa !important; }
.tp-live-form--feedback .fluentform .ff-btn-submit { background-color: #f5f0e6 !important; color: #10251d !important; }
.tp-live-form .fluentform .ff-btn-submit::after { content: ''; display: inline-block; width: 1.1rem; height: 1.1rem; margin-left: .7rem; vertical-align: middle; background: currentColor; mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.5"%3E%3Cpath d="M4 12h16m-6-6 6 6-6 6"/%3E%3C/svg%3E') center / contain no-repeat; }
.tp-live-form .fluentform .ff-message-success { background: #f5f0e6; color: #10251d; border: 0; padding: 1.25rem; }
.tp-live-form .fluentform .error { color: #fff; }
.tp-form-privacy { font-size: .75rem; line-height: 1.6; opacity: .9; }
.tp-form-privacy a, .tp-privacy-links a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.tp-footer .tp-privacy-links { box-sizing: border-box; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 1rem 2rem; max-width: var(--wp--style--global--wide-size, 1200px); margin: 3rem auto 0; padding: 1.5rem 1rem 2rem; border-top: 1px solid #ffffff25; font-size: .72rem; text-align: center; }
.tp-privacy-links button { font: inherit; color: inherit; border: 0; background: none; padding: 0; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.tp-cookie-banner { position: fixed; z-index: 99999; bottom: 1rem; left: 1rem; right: 1rem; max-width: 60rem; margin-inline: auto; background: #f5f0e6; color: #10251d; border: 1px solid #10251d55; box-shadow: 0 8px 35px #0003; padding: 1.25rem; font-size: .85rem; line-height: 1.6; }
.tp-cookie-banner[hidden] { display: none; }
.tp-cookie-banner p { margin: 0 0 1rem; }
.tp-cookie-banner a { color: inherit; }
.tp-cookie-banner > div { display: flex; flex-wrap: wrap; gap: .75rem; }
.tp-cookie-banner button { flex: 1; padding: .85rem 1rem; border: 1px solid #10251d; background: #10251d; color: #fff; font: inherit; cursor: pointer; }
.tp-cookie-banner button:focus-visible, .tp-privacy-links button:focus-visible { outline: 3px solid #ca541e; outline-offset: 3px; }
.tp-privacy-document { max-width: 48rem; margin-inline: auto; line-height: 1.8; }
.tp-privacy-document h2 { margin-top: 2rem; font-size: 1.8rem; }
@media (max-width: 600px) { .tp-cookie-banner > div { flex-direction: column; } }

@font-face {
  font-family: 'Adobe Garamond Pro';
  src: url('assets/fonts/AGaramondPro-Regular.otf') format('opentype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Adobe Garamond Pro';
  src: url('assets/fonts/AGaramondPro-Italic.otf') format('opentype');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Adobe Garamond Pro';
  src: url('assets/fonts/AGaramondPro-Bold.otf') format('opentype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Gotham;
  src: url('assets/fonts/Gotham-Book.otf') format('opentype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Gotham;
  src: url('assets/fonts/Gotham-Bold.otf') format('opentype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --tp-ink: #10211b;
  --tp-ivory: #f2eee3;
  --tp-paper: #fbf8f1;
  --tp-green: #0e4b37;
  --tp-blue: #17617d;
  --tp-orange: #d05a25;
  --tp-lime: #d7df9b;
  --tp-line: rgba(16, 33, 27, 0.2);
  --tp-gutter: clamp(1.25rem, 4vw, 4rem);
}

html { scroll-behavior: smooth; }
body { background: var(--tp-ivory); color: var(--tp-ink); }
body, .wp-site-blocks { overflow-x: clip; }
a, button, summary { text-underline-offset: 0.2em; }
:where(a, button, summary, input, select, textarea):focus-visible { outline: 2px solid var(--tp-orange); outline-offset: 4px; }

.tp-site-header {
  background: rgba(14, 75, 55, 0.96) !important;
  border-bottom: 1px solid rgba(255,255,255,.2);
  color: white;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
}
.tp-header-inner { min-height: 4.7rem; }
.tp-sponsor-mark { display: block; height: 2.45rem; overflow: hidden; width: 7.8rem; }
.tp-sponsor-mark img {
  display: block;
  height: auto;
  width: 100%;
}
.tp-wordmark {
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0;
  white-space: nowrap;
}
.tp-wordmark a { text-decoration: none; }
.tp-wordmark em { color: var(--tp-orange); font-style: italic; }
.tp-site-header .wp-block-navigation-item__content {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tp-stage-label {
  background: transparent;
  border: 1px solid rgba(255,255,255,.5);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0;
  padding: 0.45rem 0.7rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.tp-hero {
  background-image:
    linear-gradient(90deg, rgba(4, 16, 12, 0.94) 0%, rgba(4, 16, 12, 0.77) 37%, rgba(4, 16, 12, 0.18) 67%, rgba(4, 16, 12, 0.45) 100%),
    var(--tp-hero-image, url('assets/images/hero-official-v1.webp'));
  background-position: center;
  background-size: cover;
  color: white;
  min-height: min(860px, calc(100svh - 4.7rem));
  overflow: hidden;
  position: relative;
}
.tp-hero::before, .tp-hero::after { content: ''; pointer-events: none; position: absolute; z-index: 0; }
.tp-hero::before {
  background: var(--tp-blue);
  border-radius: 52% 48% 60% 40%;
  height: 7rem;
  left: -2rem;
  opacity: 0.72;
  top: 16%;
  transform: rotate(-12deg);
  width: 34vw;
}
.tp-hero::after {
  background: var(--tp-orange);
  border-radius: 35% 65% 45% 55%;
  bottom: -2rem;
  height: 9rem;
  left: 16%;
  opacity: 0.76;
  transform: rotate(7deg);
  width: 42vw;
}
.tp-hero > * { position: relative; z-index: 1; }
.tp-hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(860px, calc(100svh - 4.7rem));
  padding-block: clamp(5rem, 12vh, 9rem);
}
.tp-kicker-row { align-items: center; display: flex; flex-wrap: wrap; gap: 1rem; }
.tp-kicker-row::after { background: rgba(255,255,255,.55); content: ''; height: 1px; width: min(14rem, 24vw); }
.tp-eyebrow { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.19em; margin-bottom: 1rem; text-transform: uppercase; }
.tp-display {
  font-size: clamp(4.8rem, 11.8vw, 11rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.76;
  margin-block: 1rem 1.8rem;
  max-width: 7.5ch;
}
.tp-display em { display: block; font-weight: 400; margin-left: .75ch; }
.tp-logo-the {
  align-items: center;
  display: flex;
  font-family: var(--wp--preset--font-family--ui);
  font-size: .66em;
  font-style: normal;
  font-weight: 300;
  gap: .16em;
  letter-spacing: -.055em;
  margin-left: .72ch;
  text-transform: uppercase;
}
.tp-logo-the i { background: currentColor; display: block; height: 1px; width: .72em; }
.tp-display > em { text-transform: uppercase; }
.tp-hero-copy { font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.4; max-width: 32ch; }
.tp-meta { font-size: 0.69rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.tp-actions { margin-top: 1.25rem; }
.tp-button .wp-block-button__link {
  align-items: center;
  display: inline-flex;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  min-height: 46px;
  padding: 0.9rem 1.35rem;
  text-transform: uppercase;
}
.tp-hero .tp-button .wp-block-button__link { border-color: white; color: white; }
.tp-hero-note { bottom: 1.25rem; font-size: .64rem; letter-spacing: .08em; opacity: .76; position: absolute; right: var(--tp-gutter); text-transform: uppercase; }

.tp-section { padding-block: clamp(5rem, 10vw, 10rem); position: relative; }
.tp-section-head { align-items: end; display: flex; gap: 2rem; justify-content: space-between; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.tp-section-title { font-size: clamp(3.4rem, 7.6vw, 7.2rem); font-weight: 400; letter-spacing: -0.055em; line-height: 0.87; margin: 0; max-width: 11ch; }
.tp-section-lede { font-size: clamp(1rem, 1.6vw, 1.25rem); max-width: 32ch; }
.tp-highlight { color: var(--tp-orange); font-style: italic; }

.tp-feature-grid { align-items: stretch; gap: clamp(1rem, 2.4vw, 2rem); }
.tp-feature-card {
  background: var(--tp-paper);
  border: 1px solid var(--tp-line);
  min-height: 100%;
  overflow: hidden;
  position: relative;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.tp-feature-card:hover { box-shadow: 0 1.5rem 3.5rem rgba(16,33,27,.12); transform: translateY(-.35rem); }
.tp-card-media {
  aspect-ratio: 4/5;
  background-color: var(--tp-green);
  background-position: center;
  background-size: cover;
  min-height: 21rem;
  overflow: hidden;
  position: relative;
}
.tp-card-media::after { background: linear-gradient(0deg, rgba(7,20,15,.55), transparent 45%); content: ''; inset: 0; position: absolute; }
.tp-card-media--alogna { background-image: url('assets/images/alogna-restaurant-official-20261009.png'); background-position: center top; }
.tp-card-media--madeirense-cidade { background-image: url('assets/images/madeirense-cidade-restaurant-v1.webp'); background-position: center; }
.tp-card-media--madeirense-futungo { background-image: url('assets/images/madeirense-futungo-restaurant-v1.webp'); background-position: center; }
.tp-card-media--la-piazza { background-image: url('assets/images/la-piazza-official-20261008-main.webp'); background-position: center 55%; }
.tp-card-media--kook { background-image: url('assets/images/kook-restaurant-v1.webp'); background-position: center; }
.tp-card-media--flor-y-sal { background-image: url('assets/images/flor-y-sal-restaurant-v1.webp'); background-position: center 55%; }
.tp-card-media--pimms { background-image: url('assets/images/pimms-restaurant-v1.webp'); background-position: center; }
.tp-card-media--palace-lounge { background-image: url('assets/images/palace-lounge-restaurant-v1.webp'); background-position: center; }
.tp-card-media--alvalade-61 { background-image: url('assets/images/alvalade-61-restaurant-concept-v1.webp'); background-position: center 18%; }
.tp-card-media--fulmar { background-image: url('assets/images/fulmar-restaurant.webp'); background-position: center; }
.tp-card-body { padding: clamp(1.4rem, 3vw, 2.2rem); }
.tp-card-title { font-size: clamp(2rem, 3.5vw, 3.4rem); line-height: .95; margin-block: .25rem 1rem; }
.tp-card-copy { color: rgba(16,33,27,.78); font-size: .95rem; }
.tp-card-link { border-bottom: 1px solid; display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; margin-top: 1rem; text-decoration: none; text-transform: uppercase; }
.tp-demo-tag { background: var(--tp-lime); color: var(--tp-ink); font-size: .58rem; font-weight: 700; left: 1rem; letter-spacing: .12em; padding: .45rem .6rem; position: absolute; text-transform: uppercase; top: 1rem; z-index: 2; }

.tp-marquee { border-block: 1px solid var(--tp-line); margin-top: clamp(3rem, 7vw, 6rem); overflow: hidden; padding-block: 1.5rem; }
.tp-name-list { display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: center; list-style: none; margin: 0; padding: 0; }
.tp-name-list li { font-family: var(--wp--preset--font-family--display); font-size: clamp(1.25rem, 2.6vw, 2.2rem); }
.tp-name-list li:not(:last-child)::after { color: var(--tp-orange); content: ' • '; margin-left: 2rem; }

.tp-model { background: var(--tp-green); color: white; overflow: hidden; }
.tp-model::before { background: var(--tp-blue); border-radius: 50%; content: ''; height: 20rem; opacity: .45; position: absolute; right: -8rem; top: -8rem; width: 32rem; }
.tp-model-grid { align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.tp-model-image { aspect-ratio: 5/6; background: url('assets/images/alogna-restaurant-official-20261009.png') center/cover; min-height: 34rem; position: relative; }
.tp-model-image:not([class*="tp-model-image--"]) { aspect-ratio: 912/1200; min-height: 0; }
.tp-model-image--madeirense-cidade { background-image: url('assets/images/madeirense-cidade-restaurant-v1.webp'); background-position: center; }
.tp-model-image--madeirense-futungo { background-image: url('assets/images/madeirense-futungo-restaurant-v1.webp'); background-position: center; }
.tp-model-image.tp-model-image--la-piazza { aspect-ratio: 3/2; background-image: url('assets/images/la-piazza-official-20261008-main.webp'); background-position: center; min-height: 0; }
.tp-model-image--kook { background-image: url('assets/images/kook-restaurant-v1.webp'); background-position: center; }
.tp-model-image--flor-y-sal { background-image: url('assets/images/flor-y-sal-restaurant-v1.webp'); background-position: center 50%; }
.tp-model-image--pimms { background-image: url('assets/images/pimms-restaurant-v1.webp'); background-position: center; }
.tp-model-image--palace-lounge { background-image: url('assets/images/palace-lounge-restaurant-v1.webp'); background-position: center; }
.tp-model-image--alvalade-61 { background-image: url('assets/images/alvalade-61-restaurant-concept-v1.webp'); background-position: center 18%; }
.tp-model-image--fulmar { background-image: url('assets/images/fulmar-restaurant.webp'); background-position: center; }
.tp-model-image--generic { background-image: url('assets/images/wine-experience-official-v1.webp'); background-position: right center; }
.tp-model-image::after { border: 1px solid rgba(255,255,255,.72); content: ''; inset: 1.2rem; position: absolute; }
.tp-model-copy { position: relative; z-index: 1; }
.tp-model-title { font-size: clamp(4rem, 8vw, 8rem); letter-spacing: -.06em; line-height: .8; margin-block: .5rem 2rem; }
.tp-model .tp-placeholder-note { color: white; }
.tp-facts { border-block: 1px solid rgba(255,255,255,.3); margin-block: 2rem; padding-block: 1rem; }
.tp-fact { border-bottom: 1px solid rgba(255,255,255,.2); display: grid; gap: 1rem; grid-template-columns: 8rem 1fr; padding-block: .8rem; }
.tp-fact:last-child { border-bottom: 0; }
.tp-fact strong { font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; }
.tp-fact span { opacity: .78; }

.tp-chef { background: var(--tp-paper); }
.tp-chef-grid { align-items: center; gap: 0 !important; }
.tp-chef-image { aspect-ratio: 4/5; background: url('assets/images/alogna-chef-fabio-ramos-v1.webp') center 18%/cover; min-height: 35rem; position: relative; }
.tp-chef-image--madeirense-cidade { background-image: url('assets/images/madeirense-cidade-chef-manuel-matos-v1.webp'); }
.tp-chef-image--madeirense-futungo { background-image: url('assets/images/madeirense-futungo-chef-abel-ferreira-v1.webp'); }
.tp-chef-image--la-piazza { background-image: url('assets/images/la-piazza-chef-sergio-santos-v1.webp'); }
.tp-chef-image--kook { background-image: url('assets/images/kook-chef-ana-nzau-v1.webp'); }
.tp-chef-image--flor-y-sal { background-image: url('assets/images/flor-y-sal-chef-marco-magalhaes-v1.webp'); }
.tp-chef-image--pimms { background-image: url('assets/images/pimms-chef-julia-teles-v1.webp'); }
.tp-chef-image--palace-lounge { background-image: url('assets/images/palace-lounge-chef-sualy-mateus-v1.webp'); }
.tp-chef-image--alvalade-61 { background-image: url('assets/images/alvalade-61-chef-marcos-lucamba-v1.webp'); }
.tp-chef-image--fulmar { background-image: url('assets/images/fulmar-chef-alfredo-santos-hq.png'); }
.tp-chef-image::before { border: 1px solid var(--tp-orange); content: ''; inset: -1.2rem 1.2rem 1.2rem -1.2rem; position: absolute; z-index: -1; }
.tp-chef-copy { padding-inline-start: clamp(3rem, 7vw, 7rem); }
.tp-chef-collage {
  display: grid;
  gap: .45rem;
  grid-template-columns: repeat(2, 1fr);
  min-height: 38rem;
  position: relative;
}
.tp-chef-collage::before { border: 1px solid var(--tp-orange); content: ''; inset: -1.2rem 1.2rem 1.2rem -1.2rem; position: absolute; z-index: -1; }
.tp-chef-collage span { background-position: center 18%; background-size: cover; filter: grayscale(1); min-height: 18rem; }
.tp-chef-collage span:nth-child(1) { background-image: url('assets/images/alogna-chef-fabio-ramos-v1.webp'); }
.tp-chef-collage span:nth-child(2) { background-image: url('assets/images/kook-chef-ana-nzau-v1.webp'); }
.tp-chef-collage span:nth-child(3) { background-image: url('assets/images/la-piazza-chef-sergio-santos-v1.webp'); }
.tp-chef-collage span:nth-child(4) { background-image: url('assets/images/palace-lounge-chef-sualy-mateus-v1.webp'); }
.tp-quote { font-family: var(--wp--preset--font-family--display); font-size: clamp(2rem, 4vw, 4rem); letter-spacing: -.035em; line-height: 1.03; margin-block: 1rem 2rem; }
.tp-manifesto-lede { font-size: clamp(1.2rem, 1.8vw, 1.65rem); line-height: 1.5; margin-block: 1.5rem 0; max-width: 40ch; }
.tp-chef-details { margin-top: 2rem; }
.tp-chef-details summary { border: 1px solid var(--tp-ink); cursor: pointer; display: inline-flex; font-size: .66rem; font-weight: 700; letter-spacing: .12em; list-style: none; padding: .85rem 1.1rem; text-transform: uppercase; transition: background 180ms ease, color 180ms ease; }
.tp-chef-details summary::-webkit-details-marker { display: none; }
.tp-chef-details summary:hover, .tp-chef-details[open] summary { background: var(--tp-ink); color: white; }
.tp-chef-story { border-top: 1px solid var(--tp-line); margin-top: 1.5rem; padding-top: 1.5rem; }
.tp-chef-story h3 { font-family: var(--wp--preset--font-family--display); font-size: 1.7rem; margin-block: 2rem 1rem; }
.tp-chef-story dl { margin: 0; }
.tp-chef-story dl div { border-top: 1px solid var(--tp-line); display: grid; gap: .8rem; grid-template-columns: minmax(9rem, .8fr) 1.2fr; padding-block: .8rem; }
.tp-chef-story dt { font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tp-chef-story dd { margin: 0; }

.tp-about { background: var(--tp-ivory); overflow: hidden; }
.tp-about-grid { gap: clamp(2rem, 8vw, 9rem); }
.tp-about-number { color: var(--tp-blue); font-family: var(--wp--preset--font-family--display); font-size: clamp(7rem, 18vw, 17rem); letter-spacing: -.08em; line-height: .68; margin: 0; opacity: .13; }
.tp-about-copy { font-size: clamp(1.3rem, 2.7vw, 2.35rem); line-height: 1.25; }

.tp-cta { background: var(--tp-orange); color: white; text-align: center; }
.tp-cta .tp-section-title { margin-inline: auto; max-width: 10ch; }
.tp-cta-copy { font-size: 1.1rem; margin-inline: auto; max-width: 42ch; }
.tp-static-form { display: flex; gap: .6rem; justify-content: center; margin: 2rem auto 1rem; max-width: 42rem; }
.tp-static-form span { align-items: center; border: 1px solid rgba(255,255,255,.8); display: flex; flex: 1; min-height: 3.25rem; padding: .85rem 1rem; text-align: left; }
.tp-static-form strong { align-items: center; background: var(--tp-ink); border: 1px solid white; display: inline-flex; font-size: .68rem; letter-spacing: .1em; padding: .85rem 1.2rem; text-transform: uppercase; }
.tp-placeholder-note { border: 1px dashed currentColor; display: inline-block; font-size: .62rem; letter-spacing: .1em; opacity: .78; padding: .65rem .8rem; text-transform: uppercase; }

.tp-footer { border-top: 1px solid rgba(255,255,255,.22); }
.tp-footer-inner { min-height: 8rem; padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.tp-footer-note { font-size: .72rem; max-width: 34ch; opacity: .72; }
.tp-experience-return { background: var(--tp-ivory); padding-block: clamp(2rem, 5vw, 4rem); }
.tp-experience-return .wp-block-buttons { justify-content: center; }
.tp-model { scroll-margin-top: 5rem; }

@media (max-width: 900px) {
  .tp-section-head { align-items: start; flex-direction: column; }
  .tp-model-image, .tp-chef-image { min-height: 28rem; }
  .tp-display { font-size: clamp(4.3rem, 15vw, 7.5rem); }
}

@media (max-width: 781px) {
  .tp-site-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--tp-ivory); color: var(--tp-ink); padding: 2rem var(--tp-gutter); }
  .tp-stage-label { display: none; }
  .tp-hero { background-position: 62% center; min-height: 42rem; }
  .tp-hero-inner { min-height: 42rem; padding-block: 5rem; }
  .tp-hero::before { height: 4rem; width: 55vw; }
  .tp-hero::after { height: 6rem; left: -4rem; width: 80vw; }
  .tp-hero-note { bottom: .9rem; left: var(--tp-gutter); right: auto; }
  .tp-section { padding-block: 5rem; }
  .tp-feature-grid { gap: 1.2rem; }
  .tp-feature-card:hover { box-shadow: none; transform: none; }
  .tp-card-media { aspect-ratio: 5/4; min-height: 16rem; }
  .tp-name-list { display: block; text-align: center; }
  .tp-name-list li { margin: .55rem 0; }
  .tp-name-list li:not(:last-child)::after { content: ''; margin: 0; }
  .tp-model-grid { gap: 3rem; }
  .tp-chef-grid { gap: 3rem !important; }
  .tp-chef-grid > .wp-block-column { flex-basis: 100% !important; }
  .tp-chef-copy { padding-inline-start: 0; }
  .tp-model-image, .tp-chef-image { min-height: 26rem; }
  .tp-chef-collage { min-height: 30rem; }
  .tp-chef-collage span { min-height: 14rem; }
  .tp-fact { grid-template-columns: 6rem 1fr; }
  .tp-chef-story dl div { grid-template-columns: 1fr; }
  .tp-static-form { flex-direction: column; }
  .tp-static-form strong { justify-content: center; }
}

@media (max-width: 480px) {
  .tp-display { font-size: clamp(3.7rem, 19vw, 5.4rem); }
  .tp-display em { margin-left: .25ch; }
  .tp-section-title { font-size: clamp(3rem, 15vw, 4.5rem); }
  .tp-model-title { font-size: 4rem; }
}

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

/* V0.3: direção de arte inspirada no mockup principal aprovado. */
.tp-site-header {
  background: rgba(247, 243, 233, .96) !important;
  border-bottom-color: rgba(16, 33, 27, .16);
  color: var(--tp-ink);
}
.tp-header-inner { min-height: 5.2rem; }
.tp-sponsor-mark { height: auto; overflow: visible; width: 9.2rem; }
.tp-sponsor-mark img { filter: brightness(0); height: auto; transform: none; width: 100%; }
.tp-stage-label { border-color: rgba(16,33,27,.38); color: var(--tp-ink); }

.tp-hero {
  background-image: linear-gradient(90deg, rgba(2,14,10,.44) 0%, rgba(2,14,10,.08) 52%, rgba(2,14,10,.03) 100%), var(--tp-hero-image, url('assets/images/hero-official-v1.webp'));
  background-position: 70% calc(50% + var(--tp-parallax, 0px));
  min-height: min(820px, calc(100svh - 5.2rem));
}
.tp-hero::before, .tp-hero::after { display: none; }
.tp-hero-inner { min-height: min(820px, calc(100svh - 5.2rem)); padding-block: clamp(4.5rem, 10vh, 8rem); }
.tp-hero .tp-eyebrow { margin-bottom: .8rem; }
.tp-hero-tagline { font-size: clamp(1rem, 2vw, 1.45rem); letter-spacing: .28em; margin-block: -.1rem 1.7rem; text-transform: uppercase; }
.tp-hero-copy { font-family: var(--wp--preset--font-family--display); font-size: clamp(1.35rem, 2.1vw, 1.75rem); line-height: 1.18; margin-block: 0 1.7rem; }
.tp-display { font-size: clamp(4.6rem, 10vw, 9.5rem); margin-block: .25rem 1.1rem; }
.tp-actions { margin-top: 1.6rem; }

.tp-restaurants { background-image: radial-gradient(circle at 88% 10%, rgba(23,97,125,.08), transparent 24%); }
.tp-feature-card { box-shadow: 0 .8rem 2.2rem rgba(16,33,27,.07); position: relative; }
.tp-feature-card::after {
  content: '';
  height: 5rem;
  left: 42%;
  opacity: .95;
  pointer-events: none;
  position: absolute;
  top: 42%;
  transform: rotate(-7deg);
  width: 68%;
  z-index: 3;
  background: var(--tp-orange);
  clip-path: polygon(2% 27%, 12% 10%, 31% 18%, 48% 3%, 68% 21%, 95% 11%, 100% 44%, 89% 58%, 99% 78%, 72% 71%, 53% 94%, 35% 76%, 8% 90%, 0 58%);
}
.tp-card-accent--blue::after { background: var(--tp-blue); transform: rotate(5deg); }
.tp-card-accent--green::after { background: var(--tp-green); transform: rotate(-3deg); }
.tp-card-media { aspect-ratio: 5/4; filter: grayscale(.25) contrast(1.05); min-height: 18rem; }
.tp-card-body { min-height: 17.5rem; position: relative; z-index: 4; }
.tp-card-kicker { font-size: .64rem; font-weight: 700; letter-spacing: .14em; margin-bottom: 1.2rem; text-transform: uppercase; }
.tp-card-title { background: var(--tp-paper); display: inline; padding-right: .2rem; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.tp-card-copy { margin-top: 1.4rem; }
.tp-card-link { border-bottom: 0; bottom: 1.7rem; left: clamp(1.4rem,3vw,2.2rem); margin: 0; position: absolute; }
.tp-card-link a { text-decoration: none; }

.tp-directory { border: 1px solid var(--tp-line); margin-top: clamp(4rem,8vw,7rem); }
.tp-directory-head { background: var(--tp-ink); color: white; display: flex; font-size: .64rem; font-weight: 700; justify-content: space-between; letter-spacing: .14em; padding: 1rem 1.25rem; text-transform: uppercase; }
.tp-directory-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.tp-directory-grid a { align-items: center; border-bottom: 1px solid var(--tp-line); color: var(--tp-ink); display: flex; font-family: var(--wp--preset--font-family--display); font-size: clamp(1.35rem,2.6vw,2.3rem); justify-content: space-between; min-height: 5rem; padding: 1rem 1.25rem; text-decoration: none; transition: background 180ms ease,color 180ms ease; }
.tp-directory-grid a:nth-child(odd) { border-right: 1px solid var(--tp-line); }
.tp-directory-grid a:hover { background: var(--tp-blue); color: white; }
.tp-directory-grid b { font-family: var(--wp--preset--font-family--ui); font-size: 1rem; font-weight: 400; }

.tp-model::after { background: var(--tp-orange); clip-path: polygon(0 20%,100% 0,92% 68%,10% 100%); content: ''; height: 12rem; opacity: .65; position: absolute; right: -3rem; top: 22%; transform: rotate(-8deg); width: 22rem; }
.tp-model-grid { position: relative; z-index: 2; }

.tp-about { padding-block: 0; }
.tp-about-grid { align-items: stretch; gap: 0; max-width: none !important; }
.tp-about-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem,8vw,8rem) clamp(1.5rem,6vw,7rem); }
.tp-about-image { background: none; min-height: 46rem; }
.tp-about-copy { max-width: 24ch; }
.tp-about-details { margin-top: 1.7rem; max-width: 38rem; }
.tp-about-details summary { border: 1px solid var(--tp-ink); cursor: pointer; display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; list-style: none; padding: .9rem 1.25rem; text-transform: uppercase; }
.tp-about-details summary::-webkit-details-marker { display: none; }
.tp-about-details[open] summary { background: var(--tp-ink); color: white; }
.tp-about-details p { font-size: 1rem; margin-top: 1.5rem; }

.tp-cta { overflow: hidden; }
.tp-cta::before, .tp-cta::after { background: var(--tp-blue); clip-path: polygon(0 24%,100% 0,90% 72%,7% 100%); content: ''; height: 10rem; opacity: .38; position: absolute; width: 28rem; }
.tp-cta::before { left: -8rem; top: 18%; transform: rotate(9deg); }
.tp-cta::after { background: var(--tp-green); bottom: 8%; right: -10rem; transform: rotate(-12deg); }
.tp-cta > * { position: relative; z-index: 2; }
.tp-cta-ornament { display: block; font-family: var(--wp--preset--font-family--display); font-size: 2.4rem; margin-bottom: 1.2rem; }

.tp-footer-signature { align-items: flex-start; display: flex; flex-direction: column; gap: .7rem; }
.tp-footer-brand { color: white; text-decoration: none; }
.tp-footer-date { color: rgba(255,255,255,.78); display: block; }
.tp-footer-actions { align-items: center; align-self: flex-end; display: flex; gap: .65rem; }
.tp-footer-circle {
  align-items: center;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 50%;
  color: white;
  display: inline-flex;
  height: 2.85rem;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease;
  width: 2.85rem;
}
.tp-footer-circle:hover { background: white; border-color: white; color: var(--tp-ink); transform: translateY(-3px); }
.tp-multiafrica-mark span {
  background: url("assets/images/multiafrica-mark.png") center / contain no-repeat;
  display: block;
  height: 1.5rem;
  transition: filter 220ms ease;
  width: 1.75rem;
}
.tp-multiafrica-mark:hover span { filter: brightness(.52) saturate(.65); }
.tp-author-mark { font-family: var(--wp--preset--font-family--display); font-size: 1rem; font-style: italic; letter-spacing: -.08em; text-transform: lowercase; }
.tp-back-top { font-size: 1.2rem; }

@media (max-width: 1000px) {
  .tp-stage-label { display: none; }
  .tp-site-header .wp-block-navigation-item__content { font-size: .63rem; }
  .tp-hero { background-position: 80% calc(50% + var(--tp-parallax, 0px)); }
}
@media (max-width: 781px) {
  .tp-site-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--tp-ivory); color: var(--tp-ink); }
  .tp-sponsor-mark { width: 8.4rem; }
  .tp-hero { background-position: 90% calc(50% + var(--tp-parallax, 0px)); min-height: 43rem; }
  .tp-hero-inner { min-height: 43rem; padding-block: 4rem; }
  .tp-hero-tagline { font-size: .82rem; letter-spacing: .2em; }
  .tp-hero-copy { font-size: 1.35rem; }
  .tp-feature-card::after { left: 48%; top: 36%; }
  .tp-directory-grid { grid-template-columns: 1fr; }
  .tp-directory-grid a:nth-child(odd) { border-right: 0; }
  .tp-directory-head { gap: 1rem; }
  .tp-about-grid { flex-direction: column-reverse; }
  .tp-about-image { min-height: 28rem; }
  .tp-about-content { padding: 4.5rem var(--tp-gutter); }
  .tp-footer-inner { align-items: flex-start; flex-direction: column; }
  .tp-footer-actions { align-self: flex-end; }
}

/* V0.4: grelha completa de experiências e refinamentos de composição. */
.tp-experience-grid.wp-block-group {
  display: grid !important;
  gap: clamp(1.15rem, 2vw, 2rem);
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.tp-experience-grid > .tp-feature-card { grid-column: span 4; }
.tp-experience-grid > .tp-feature-card { margin-block-start: 0 !important; }
.tp-experience-grid > .tp-feature-card:nth-child(n+7) { grid-column: span 3; }
.tp-feature-card.wp-block-group { display: flex !important; flex-direction: column; }
.tp-card-media { aspect-ratio: 5/4; flex: 0 0 auto; min-height: 0; }
.tp-card-media { transform: scale(1.001); transition: filter 600ms ease, transform 850ms cubic-bezier(.2,.7,.2,1); }
.tp-feature-card:hover .tp-card-media { filter: grayscale(0) contrast(1.06) saturate(1.04); transform: scale(1.045); }
.tp-feature-card::after { transition: opacity 500ms ease; }
.tp-feature-card:hover::after { opacity: .78; }
.tp-card-media--alt { background-position: 74% center; filter: grayscale(.05) contrast(1.08); }
.tp-card-body.wp-block-group {
  display: flex !important;
  flex: 1;
  flex-direction: column;
  min-height: clamp(20rem, 25vw, 24rem);
  padding: clamp(1.6rem, 2.7vw, 2.25rem);
}
.tp-card-title {
  background: transparent;
  display: block;
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  line-height: .98;
  margin: .25rem 0 1.15rem;
  overflow-wrap: normal;
  padding: 0;
}
.tp-experience-grid > .tp-feature-card:nth-child(n+7) .tp-card-title { font-size: clamp(1.8rem, 2.55vw, 2.7rem); }
.tp-card-copy { line-height: 1.5; margin: 0 0 1rem; }
.tp-card-cta {
  align-items: center;
  border: 1px solid var(--tp-ink);
  color: var(--tp-ink);
  display: inline-flex;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .11em;
  margin-top: auto;
  min-height: 46px;
  padding: .85rem 1.1rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
  width: fit-content;
}
.tp-card-cta:hover,
.tp-card-cta:focus-visible { background: var(--tp-ink); color: white; }
.tp-card-cta { overflow: hidden; position: relative; }
/* Mantido para a secção institucional, que continua com expansão nativa. */
.tp-about-details summary {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .11em;
  list-style: none;
  min-height: 46px;
  padding: .85rem 1.1rem;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}
.tp-about-details summary::-webkit-details-marker { display: none; }

.tp-about { padding-block: clamp(5rem, 9vw, 9rem); }
.tp-about-grid {
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
  margin-inline: auto;
  max-width: 1280px !important;
  width: calc(100% - var(--tp-gutter) - var(--tp-gutter));
}
.tp-about-content { padding: 0; }
.tp-about-media { padding: 0 1rem 1rem 0; position: relative; }
.tp-about-media::after {
  background: var(--tp-blue);
  content: '';
  inset: 1.25rem 0 0 1.25rem;
  opacity: .16;
  position: absolute;
  z-index: 0;
}
.tp-about-image {
  border: 1px solid rgba(16,33,27,.16);
  min-height: 42rem;
  position: relative;
  z-index: 1;
}

.tp-cta::before {
  background: transparent;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  clip-path: none;
  height: 24rem;
  left: -8rem;
  opacity: 1;
  top: -9rem;
  transform: none;
  width: 24rem;
}
.tp-cta::after {
  background: var(--tp-blue);
  bottom: -2rem;
  opacity: .72;
  right: -7rem;
  transform: rotate(-8deg);
}

/* V0.6: movimento editorial progressivo, sem dependências externas. */
.tp-motion-ready .tp-reveal {
  opacity: 0;
  transform: translateY(1.75rem);
  transition: opacity 760ms cubic-bezier(.2,.65,.25,1), transform 900ms cubic-bezier(.2,.65,.25,1);
  transition-delay: var(--tp-reveal-delay, 0ms);
}
.tp-motion-ready .tp-reveal.is-visible { opacity: 1; transform: translateY(0); }
.tp-motion-ready .tp-feature-card.tp-reveal.is-visible:hover { transform: translateY(-.35rem); }

.tp-motion-ready .tp-hero .tp-eyebrow,
.tp-motion-ready .tp-hero .tp-display,
.tp-motion-ready .tp-hero-tagline,
.tp-motion-ready .tp-hero-copy,
.tp-motion-ready .tp-hero .tp-actions {
  opacity: 0;
  transform: translateY(1.25rem);
}
.tp-motion-ready.tp-hero-loaded .tp-hero .tp-eyebrow,
.tp-motion-ready.tp-hero-loaded .tp-hero .tp-display,
.tp-motion-ready.tp-hero-loaded .tp-hero-tagline,
.tp-motion-ready.tp-hero-loaded .tp-hero-copy,
.tp-motion-ready.tp-hero-loaded .tp-hero .tp-actions {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 850ms cubic-bezier(.2,.65,.25,1), transform 950ms cubic-bezier(.2,.65,.25,1);
}
.tp-motion-ready.tp-hero-loaded .tp-hero .tp-display { transition-delay: 90ms; }
.tp-motion-ready.tp-hero-loaded .tp-hero-tagline { transition-delay: 170ms; }
.tp-motion-ready.tp-hero-loaded .tp-hero-copy { transition-delay: 250ms; }
.tp-motion-ready.tp-hero-loaded .tp-hero .tp-actions { transition-delay: 330ms; }

.tp-card-cta,
.tp-about-details summary,
.tp-button .wp-block-button__link { overflow: hidden; position: relative; }
.tp-card-cta::after,
.tp-about-details summary::after,
.tp-button .wp-block-button__link::after {
  background: currentColor;
  bottom: .55rem;
  content: '';
  height: 1px;
  left: 1rem;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
  width: calc(100% - 2rem);
}
.tp-card-cta:hover::after,
.tp-about-details summary:hover::after,
.tp-button .wp-block-button__link:hover::after { transform: scaleX(1); }
.tp-back-top { transition: background-color 220ms ease, color 220ms ease, transform 300ms ease; }

@media (max-width: 1100px) {
  .tp-experience-grid > .tp-feature-card,
  .tp-experience-grid > .tp-feature-card:nth-child(n+7) { grid-column: span 6; }
  .tp-experience-grid > .tp-feature-card:nth-child(n+7) .tp-card-title { font-size: clamp(2rem, 4vw, 3.2rem); }
}

@media (max-width: 700px) {
  .tp-experience-grid > .tp-feature-card,
  .tp-experience-grid > .tp-feature-card:nth-child(n+7) { grid-column: 1 / -1; }
  .tp-card-body { min-height: 20rem; }
  .tp-card-title,
  .tp-experience-grid > .tp-feature-card:nth-child(n+7) .tp-card-title { font-size: clamp(2.25rem, 11vw, 3.4rem); }
  .tp-about-grid { gap: 3.5rem; width: calc(100% - var(--tp-gutter) - var(--tp-gutter)); }
  .tp-about-media { padding: 0 .75rem .75rem 0; }
  .tp-about-image { min-height: 29rem; }
}

@media (prefers-reduced-motion: reduce) {
  .tp-reveal,
  .tp-hero .tp-eyebrow,
  .tp-hero .tp-display,
  .tp-hero-tagline,
  .tp-hero-copy,
  .tp-hero .tp-actions { opacity: 1 !important; transform: none !important; transition: none !important; }
  .tp-card-media,
  .tp-feature-card,
  .tp-footer-circle,
  .tp-multiafrica-mark span { transition: none !important; }
}

/* V0.10: primeira ronda de revisão editorial da MultiÁfrica. */
.tp-stage-label { text-decoration: none; }
.tp-hero-copy { max-width: 29ch; }
.tp-experience-grid {
  display: grid;
  gap: clamp(1.15rem, 2vw, 2rem);
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.tp-experience-grid > .tp-feature-card { display: flex; flex-direction: column; grid-column: span 4; }
.tp-experience-grid > .tp-feature-card:nth-child(n+7) { grid-column: span 3; }
.tp-feature-card::after { top: clamp(13rem, 18vw, 17rem); }
.tp-card-media { display: block; flex: 0 0 auto; text-decoration: none; }
.tp-card-media--flor-y-sal { background-image: url('assets/images/flor-y-sal-restaurant-v1.webp'); background-position: center 55%; }
.tp-card-media--alvalade-61 { background-image: url('assets/images/alvalade-61-restaurant-concept-v1.webp'); background-position: center; }
.tp-model-image--flor-y-sal { background-image: url('assets/images/flor-y-sal-restaurant-v1.webp'); background-position: center 50%; }
.tp-model-image--alvalade-61 { background-image: url('assets/images/alvalade-61-restaurant-concept-v1.webp'); background-position: center; }
.tp-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: clamp(25rem, 31vw, 29rem);
}
.tp-card-title { margin-bottom: 1.35rem; }
.tp-card-title a { color: inherit; text-decoration: none; }
.tp-card-title a:hover { color: var(--tp-orange); }
.tp-card-facts { border-block: 1px solid var(--tp-line); margin: 0 0 1.1rem; }
.tp-card-facts div { border-bottom: 1px solid var(--tp-line); display: grid; gap: .75rem; grid-template-columns: 4.3rem 1fr; padding-block: .58rem; }
.tp-card-facts div:last-child { border-bottom: 0; }
.tp-card-facts dt { font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tp-card-facts dd { font-size: .82rem; line-height: 1.35; margin: 0; }
.tp-card-menu { margin-bottom: 1.25rem; }
.tp-card-menu summary {
  cursor: pointer;
  display: inline-flex;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .11em;
  list-style: none;
  padding-block: .35rem;
  text-transform: uppercase;
}
.tp-card-menu summary::after { content: '+'; font-size: 1rem; line-height: .7; margin-left: .55rem; }
.tp-card-menu[open] summary::after { content: '−'; }
.tp-card-menu summary::-webkit-details-marker { display: none; }
.tp-card-menu > div { border-left: 2px solid var(--tp-orange); margin-top: .8rem; padding-left: .9rem; }
.tp-card-menu p { font-size: .78rem; line-height: 1.45; margin-block: .45rem; }
.tp-card-cta { margin-top: auto; }

.tp-about-title { font-size: clamp(2.8rem, 5.6vw, 5.6rem); max-width: 12ch; }
.tp-about-copy--body { font-family: var(--wp--preset--font-family--ui); font-size: 1.03rem; line-height: 1.65; max-width: 51ch; }
.tp-about-copy--body p { margin-block: 1.1rem; }

.tp-history { background: var(--tp-paper); }
.tp-history .tp-section-title { margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.tp-timeline { display: grid; gap: 1px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tp-timeline-card { background: var(--tp-ivory); border: 1px solid var(--tp-line); display: flex; flex-direction: column; min-height: 100%; }
.tp-timeline-image { aspect-ratio: 4/3; background-position: center; background-size: cover; filter: saturate(.88) contrast(1.03); }
.tp-timeline-image--2024 { background-image: url('assets/images/timeline-2024-v1.webp'); }
.tp-timeline-image--2025 { background-image: url('assets/images/timeline-2025-v1.webp'); }
.tp-timeline-image--2026 { background-image: url('assets/images/timeline-2026-official-v1.webp'); background-position: center; }
.tp-timeline-copy { padding: clamp(1.5rem, 3vw, 2.5rem); }
.tp-timeline-copy span { color: var(--tp-orange); font-size: clamp(1.5rem, 2vw, 2rem); font-weight: 700; letter-spacing: -.02em; }
.tp-timeline-copy h3 { font-size: clamp(2.2rem, 4vw, 4rem); line-height: .92; margin-block: .35rem 1rem; }
.tp-timeline-copy p { margin: 0; }

.tp-reels { background: var(--tp-ink); color: white; overflow: hidden; }
.tp-reels .tp-section-title { max-width: 12ch; }
.tp-reels .tp-highlight { color: var(--tp-lime); }
.tp-reels-head { margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.tp-reel-grid { display: grid; gap: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tp-reel-rail {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.tp-reel-card {
  aspect-ratio: 9/14;
  background-color: var(--tp-green);
  background-position: center;
  background-size: cover;
  box-sizing: border-box;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  padding: 1.4rem;
  position: relative;
  text-decoration: none;
  grid-column: auto;
  width: 100%;
}
.tp-reel-card:nth-child(n+6),
.tp-reels-randomized .tp-reel-card { display: none; }
.tp-reels-randomized .tp-reel-card.is-selected { display: flex; }
.tp-reel-card::before { background: linear-gradient(0deg, rgba(4,15,11,.94), rgba(4,15,11,.04) 65%); content: ''; inset: 0; position: absolute; }
.tp-reel-card > * { position: relative; z-index: 1; }
.tp-reel-card:nth-child(1) { background-image: url('assets/images/01-DQCg3sHkTi4.webp'); }
.tp-reel-card:nth-child(2) { background-image: url('assets/images/02-DQe2jLDke_9.webp'); }
.tp-reel-card:nth-child(3) { background-image: url('assets/images/03-DP1p0wSkeN8.webp'); }
.tp-reel-card:nth-child(4) { background-image: url('assets/images/04-DPwgLdOACRq.webp'); }
.tp-reel-card:nth-child(5) { background-image: url('assets/images/05-DPowxozkUL3.webp'); }
.tp-reel-card:nth-child(6) { background-image: url('assets/images/06-DPjoQFZkfZK.webp'); }
.tp-reel-card:nth-child(7) { background-image: url('assets/images/07-DPeeru1EQsG.webp'); }
.tp-reel-card:nth-child(8) { background-image: url('assets/images/08-DPWz7rsEeFR.webp'); }
.tp-reel-card:nth-child(9) { background-image: url('assets/images/09-DPURKd_EZtq.webp'); }
.tp-reel-card:nth-child(10) { background-image: url('assets/images/10-DPPAURgEfJ3.webp'); }
.tp-reel-card:nth-child(11) { background-image: url('assets/images/11-DPExE2Dkfd2.webp'); }
.tp-reel-card:nth-child(12) { background-image: url('assets/images/12-DPCM8N9kRKP.webp'); }
.tp-reel-card:nth-child(13) { background-image: url('assets/images/13-DO9KZ8tkYwv.webp'); }
.tp-reel-play { align-items: center; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; display: inline-flex; height: 3rem; justify-content: center; margin-bottom: auto; transition: background 180ms ease, color 180ms ease; width: 3rem; }
.tp-reel-card small { font-size: .62rem; letter-spacing: .12em; margin-top: .4rem; text-transform: uppercase; }
.tp-reel-card:hover .tp-reel-play { background: white; color: var(--tp-ink); }
.tp-feedback { background: var(--tp-blue); color: white; }
.tp-feedback .tp-highlight { color: var(--tp-lime); }
.tp-feedback-grid { align-items: center; gap: clamp(2.5rem, 8vw, 8rem); }
.tp-feedback-copy { font-size: 1.05rem; max-width: 36ch; }
.tp-feedback-form { background: rgba(4,15,11,.22); border: 1px solid rgba(255,255,255,.35); padding: clamp(1.5rem, 4vw, 3rem); }
.tp-feedback-form label, .tp-feedback-form fieldset { border: 0; display: block; margin: 0 0 1.2rem; padding: 0; }
.tp-feedback-form label > span, .tp-feedback-form legend { display: block; font-size: .61rem; font-weight: 700; letter-spacing: .12em; margin-bottom: .55rem; text-transform: uppercase; }
.tp-feedback-form select, .tp-feedback-form textarea {
  -webkit-text-fill-color: white;
  background: transparent;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 0;
  box-sizing: border-box;
  color: white;
  font: inherit;
  opacity: 1;
  padding: .9rem 1rem;
  resize: vertical;
  width: 100%;
}
.tp-feedback-form textarea::placeholder { color: rgba(255,255,255,.7); }
.tp-rating { display: flex; flex-wrap: wrap; gap: .55rem; }
.tp-rating button { background: transparent; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; color: white; font: inherit; height: 2.7rem; opacity: 1; width: 2.7rem; }
.tp-feedback-submit { background: white; border: 1px solid white; color: var(--tp-ink); font-size: .66rem; font-weight: 700; letter-spacing: .11em; min-height: 46px; opacity: 1; padding: .85rem 1.1rem; text-transform: uppercase; }

@media (max-width: 1100px) {
  .tp-experience-grid > .tp-feature-card,
  .tp-experience-grid > .tp-feature-card:nth-child(n+7) { grid-column: span 6; }
  .tp-card-body { min-height: 24rem; }
  .tp-feature-card::after { top: clamp(13rem, 35vw, 20rem); }
  .tp-reel-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tp-reel-card { aspect-ratio: 4/5; }
}

@media (max-width: 781px) {
  .tp-site-header { backdrop-filter: none; }
  .tp-site-header .wp-block-navigation__responsive-container.is-menu-open {
    height: 100dvh !important;
    inset: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    position: fixed !important;
    z-index: 100000 !important;
  }
  .tp-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    align-items: flex-start;
    min-height: 100%;
    padding-top: 4rem;
  }
  .tp-timeline { grid-template-columns: 1fr; }
  .tp-feedback-grid { gap: 3rem; }
  .tp-feedback-grid > .wp-block-column { flex-basis: 100% !important; }
}

@media (max-width: 700px) {
  .tp-experience-grid > .tp-feature-card,
  .tp-experience-grid > .tp-feature-card:nth-child(n+7) { grid-column: 1 / -1; }
  .tp-card-body { min-height: 0; }
  .tp-feature-card::after { top: clamp(12rem, 63vw, 19rem); }
  .tp-reel-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-reel-card { padding: 1rem; }
  .tp-reels-randomized .tp-reel-card.is-mobile-extra,
  html:not(.tp-reels-randomized) .tp-reel-card:nth-child(6) { display: flex; }
}

@media (max-width: 420px) {
  .tp-reel-card { aspect-ratio: 4/5; min-height: 0; padding: .8rem; }
  .tp-reel-play { height: 2.4rem; width: 2.4rem; }
}

/* V0.11: marca oficial, fichas compactas e décima escolha editorial. */
.tp-display { font-size: 0; line-height: 1; margin-block: .65rem 1.2rem; max-width: none; }
.tp-official-logo { display: block; height: auto; max-width: 100%; }
.tp-official-logo--hero { width: clamp(19rem, 44vw, 42rem); }
.tp-official-logo--footer { width: clamp(9rem, 15vw, 13rem); }
.tp-card-media--alvalade-61 { background-image: url('assets/images/alvalade-61-restaurant.webp'); background-position: center; }
.tp-model-image--alvalade-61 { background-image: url('assets/images/alvalade-61-restaurant.webp'); background-position: center; }
.tp-experience-grid > .tp-feature-card:nth-child(n+7) { grid-column: span 4; }
.tp-experience-grid > .tp-feature-card:nth-child(n+7) .tp-card-title { font-size: clamp(2rem, 3.2vw, 3.35rem); }
.tp-card-portrait {
  background: var(--tp-paper);
  border: .35rem solid var(--tp-paper);
  border-radius: 50%;
  display: block;
  height: 5.7rem;
  margin: -3rem 0 0 1.7rem;
  overflow: hidden;
  position: relative;
  width: 5.7rem;
  z-index: 5;
}
.tp-card-portrait img { display: block; height: 100%; object-fit: cover; object-position: center 15%; width: 100%; }
.tp-card-body { padding-top: .5rem; }
.tp-card-facts { margin-block: .3rem 1.6rem; }
.tp-card-facts > div { border-top: 1px solid var(--tp-line); display: grid; gap: .7rem; grid-template-columns: 4.7rem 1fr; padding-block: .55rem; }
.tp-card-facts dt { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tp-card-facts dd { font-size: .83rem; line-height: 1.4; margin: 0; }
.tp-card-cta { min-height: 44px; }
.tp-grid-outro {
  align-items: flex-start;
  background: var(--tp-green);
  color: white;
  display: flex;
  flex-direction: column;
  grid-column: span 8;
  justify-content: center;
  min-height: 100%;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 5rem);
  position: relative;
}
.tp-grid-outro::after { background: var(--tp-blue); clip-path: polygon(5% 20%, 100% 0, 84% 100%, 0 76%); content: ''; height: 13rem; opacity: .55; position: absolute; right: -3rem; top: 12%; transform: rotate(-16deg); width: 17rem; }
.tp-grid-outro > * { position: relative; z-index: 1; }
.tp-grid-outro span { color: var(--tp-orange); font-size: 2.7rem; }
.tp-grid-outro p { font-family: var(--wp--preset--font-family--display); font-size: clamp(2.5rem, 5vw, 5rem); line-height: .96; margin-block: 1rem 2rem; }
.tp-grid-outro a { border-bottom: 1px solid currentColor; color: white; font-size: .7rem; font-weight: 700; letter-spacing: .1em; padding-bottom: .5rem; text-decoration: none; text-transform: uppercase; }
.tp-model-grid > .wp-block-column:first-child { order: 2; }
.tp-model-grid > .tp-model-copy { order: 1; }
.tp-model-image { min-height: 28rem; }
.tp-gallery { display: grid; gap: .6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: .6rem; }
.tp-gallery img { aspect-ratio: 16/10; display: block; height: auto; object-fit: cover; width: 100%; }
.tp-gallery img:only-child { aspect-ratio: auto; grid-column: 1 / -1; max-height: none; object-fit: contain; }
.tp-restaurant-id { align-items: baseline; border-block: 1px solid rgba(255,255,255,.3); display: grid; gap: 1rem; grid-template-columns: 8rem 1fr; margin: 2rem 0 0; padding: .9rem 0; }
.tp-restaurant-id span { font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tp-restaurant-id strong { font-family: inherit; font-size: inherit; font-weight: 400; line-height: inherit; opacity: .78; }
.tp-restaurant-id + .tp-facts { border-top: 0; margin-top: 0; padding-top: 0; }
.tp-chef-jump { color: white; font-weight: 700; text-decoration: underline; text-decoration-color: var(--tp-orange); text-decoration-thickness: 2px; text-underline-offset: .25em; }
.tp-chef-jump:hover, .tp-chef-jump:focus-visible { color: #f3c19f; }
.tp-menu-text p { margin: 0 0 .7rem; }
.tp-menu-text p:last-child { margin-bottom: 0; }
.tp-fact--menu { align-items: start; }
@media (max-width: 1100px) {
  .tp-experience-grid > .tp-feature-card:nth-child(n+7) { grid-column: span 6; }
  .tp-grid-outro { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .tp-experience-grid > .tp-feature-card:nth-child(n+7) { grid-column: 1 / -1; }
  .tp-card-body { min-height: 0; }
  .tp-grid-outro { min-height: 22rem; }
  .tp-official-logo--hero { width: min(85vw, 30rem); }
}

/* V0.11.1: cartões mais compactos e percursos diretos para os chefs. */
.tp-experience-grid > .tp-feature-card { min-height: 0; }
.tp-card-body { min-height: 21rem; }
.tp-card-chef-link {
  color: var(--tp-ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--tp-orange);
  text-decoration-thickness: 2px;
  text-underline-offset: .22em;
}
.tp-card-chef-link:hover, .tp-card-chef-link:focus-visible { color: var(--tp-orange); }
.tp-grid-tail {
  align-self: stretch;
  display: grid;
  grid-column: span 8;
  place-items: center;
  position: relative;
}
.tp-grid-tail::before {
  background: var(--tp-line);
  content: '';
  height: 1px;
  left: 16%;
  position: absolute;
  right: 16%;
  top: 50%;
}
.tp-grid-tail span {
  background: var(--tp-ivory);
  color: var(--tp-orange);
  font-size: 1.5rem;
  line-height: 1;
  padding-inline: 1.5rem;
  position: relative;
}
.tp-model-copy .tp-model-title { line-height: .92; margin-block: 1.75rem 2rem; }
.tp-experience-directory {
  border-top: 1px solid rgba(255,255,255,.35);
  display: flex;
  flex-wrap: wrap;
  gap: .9rem 1.5rem;
  margin-top: clamp(3rem, 5vw, 5rem);
  padding-top: 1.5rem;
  position: relative;
  z-index: 1;
}
.tp-experience-directory a {
  color: white;
  font-size: .76rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.48);
  text-underline-offset: .28em;
}
.tp-experience-directory a:hover, .tp-experience-directory a:focus-visible { color: #f3c19f; text-decoration-color: currentColor; }
.tp-fact--restaurants { align-items: start; }
.tp-fact { grid-template-columns: minmax(max-content, 8rem) minmax(0, 1fr); }
.tp-fact > strong { white-space: nowrap; word-break: normal; overflow-wrap: normal; hyphens: none; }
.tp-experience-directory a { white-space: nowrap; }
.tp-fact .tp-experience-directory { border: 0; margin: 0; padding: 0; gap: .8rem 1rem; min-width: 0; }
.tp-photo-note { color: rgba(255,255,255,.75); font-size: .7rem; line-height: 1.6; margin: 1rem 0 0; max-width: 42rem; }
.tp-menu-text p + p { margin-top: 1.1rem; }
@media (max-width: 1100px) {
  .tp-card-body { min-height: 20rem; }
  .tp-grid-tail { display: none; }
}
@media (max-width: 700px) {
  .tp-card-body { min-height: 0; }
  .tp-experience-directory { gap: .8rem 1.25rem; }
  .tp-fact { grid-template-columns: minmax(max-content, 6rem) minmax(0, 1fr); }
  .tp-fact--restaurants { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
}

/* Keep the product intact, independently of viewport height. */
.tp-model-image.tp-model-image--generic {
  aspect-ratio: 5 / 6;
  background-position: right center;
  min-height: 0;
}
.tp-model-image--generic::after { inset: .65rem; pointer-events: none; }
.tp-about-media .tp-about-image { min-height: 0; }
.tp-about-image img { display: block; height: auto; width: 100%; }

/* Vector shapes cannot be substituted by a system emoji font. */
.tp-icon { display: inline-block; flex: 0 0 auto; height: 1.2em; vertical-align: middle; width: 1.2em; }
.tp-icon--arrow-ne { transform: rotate(-45deg); }
.tp-icon--arrow-se { transform: rotate(45deg); }
.tp-icon--arrow-up { transform: rotate(-90deg); }
.tp-icon--arrow-down { transform: rotate(90deg); }
.tp-icon--arrow-left { transform: rotate(180deg); }
.tp-cta-ornament .tp-icon { height: 3rem; width: 3rem; }
.tp-grid-tail .tp-icon { height: 1.8rem; width: 1.8rem; }
.tp-chef-image.tp-chef-image--kook { aspect-ratio: auto; background: none; min-height: 0; }
.tp-chef-image--kook img { display: block; height: auto; width: 100%; }
.tp-card-portrait img[src*="kook-chefs-dupla"] { object-position: center 23%; }

/* Received campaign artwork. */
.tp-esporao-mark img { width: 1.6rem; height: 1.6rem; }
.tp-model-image.tp-model-image--generic { aspect-ratio: 521 / 783; background-position: center; }
@media (max-width: 700px) {
  .tp-hero {
    background-image: linear-gradient(90deg, rgba(2,14,10,.72), rgba(2,14,10,.38)), var(--tp-hero-image, url('assets/images/hero-official-v1.webp'));
    background-color: var(--tp-green);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 72% center;
    min-height: 43rem;
  }
  .tp-hero-inner { min-height: 43rem; padding-block: 4rem; }
}

/* Desktop proportions closer to the supplied 3:1 artwork; no oversized cover crop. */
.tp-hero { background-repeat: no-repeat; }
@media (min-width: 701px) {
  .tp-hero { background-position: center; }
  .tp-hero, .tp-hero-inner { min-height: clamp(32rem, 33.333vw, 46rem); }
  .tp-hero-inner { padding-block: 2.25rem; }
  .tp-hero .tp-official-logo--hero { width: clamp(19rem, 32vw, 32rem); }
  .tp-hero .tp-display { margin-bottom: .75rem; }
  .tp-hero .tp-hero-copy { margin-bottom: 1.1rem; }
  .tp-hero .tp-actions { margin-top: 1.1rem; }
}
.tp-price-note {
  display: block;
  margin-top: .65rem;
  font-size: .8rem;
  line-height: 1.5;
  font-style: italic;
  color: inherit;
}
