:root {
  --black: #050505;
  --ink: #161616;
  --muted: #666;
  --paper: #f7f7f7;
  --white: #fff;
  --red: #ffc928;
  --yellow: #ffc928;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c4a;
  --line: #e5e5e5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 12px clamp(16px, 5vw, 64px);
  color: var(--white);
  background: var(--black);
  border-bottom: 4px solid var(--red);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}
.brand img { width: 54px; height: 54px; object-fit: contain; }
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: .94rem;
  font-weight: 700;
}
.nav a, .footer-links a, .text-link {
  text-decoration: none;
}
.nav a:hover, .footer-links a:hover, .text-link:hover { color: var(--yellow); }
.header-action, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.header-action, .button.primary {
  color: var(--white);
  background: var(--whatsapp);
}
.header-action:hover,
.button.primary:hover {
  background: var(--whatsapp-dark);
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}
.parallax-hero {
  background-image: var(--hero-bg);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}
.hero-image, .hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image { object-fit: cover; }
.hero-shade {
  background: linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.28)), linear-gradient(0deg, rgba(0,0,0,.75), transparent 52%);
}
.hero-content {
  position: relative;
  width: min(850px, calc(100% - 32px));
  margin: 0 clamp(16px, 7vw, 90px) 80px;
}
.hero h1 {
  margin: 0;
  max-width: 820px;
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 5.7rem);
  line-height: .95;
  text-transform: uppercase;
}
.hero p {
  max-width: 660px;
  color: rgba(255,255,255,.9);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.section {
  padding: clamp(52px, 7vw, 90px) clamp(16px, 5vw, 72px);
}
.section.alt { background: var(--white); }
.section-heading {
  margin-bottom: 28px;
}
.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--red);
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h2 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1;
}
h3 { margin: 0; font-size: 1.25rem; }

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr) minmax(260px, .65fr);
  gap: 32px;
  align-items: stretch;
}
.intro-grid p {
  max-width: 840px;
  color: var(--muted);
  font-size: 1.08rem;
}
.ethics-callout {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  padding: 20px;
  color: var(--white);
  background: var(--black);
  border-left: 6px solid var(--red);
}
.ethics-callout strong {
  color: var(--yellow);
  font-size: 1.2rem;
}
.ethics-callout span {
  color: rgba(255,255,255,.82);
}
.ethics-callout a {
  width: fit-content;
  color: var(--white);
  font-weight: 900;
}
.team-photo {
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: var(--black);
}
.team-photo img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}
.values-panel {
  padding: 26px;
  color: var(--white);
  background: var(--black);
  border-top: 6px solid var(--yellow);
}
.values-panel ul { margin: 16px 0 0; padding-left: 20px; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: flex-start;
  gap: 22px;
}
.home-post-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: start !important;
  justify-items: stretch !important;
  gap: 22px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}
.post-card {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
}
.post-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #f1f1f1;
}
.post-card div { padding: 20px; }
.card-category {
  margin: 0 0 8px;
  color: var(--red);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}
.post-card h3 { margin-bottom: 10px; }
.post-card p { color: var(--muted); }
.clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.read-more, .result-card a, .text-link {
  color: var(--red);
  font-weight: 900;
}

.results {
  color: var(--white);
  background: var(--black);
}
.results .eyebrow { color: var(--yellow); }
.carousel-controls { display: flex; gap: 8px; }
.carousel-controls button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--black);
  background: var(--yellow);
  font-size: 1.6rem;
  font-weight: 900;
  cursor: pointer;
}
.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 44px) / 3);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.result-card {
  scroll-snap-align: start;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  color: var(--ink);
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
}
.result-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #f1f1f1;
}
.result-card div { padding: 20px; }
.result-card p { color: var(--muted); }

.plans {
  display: grid;
  grid-template-columns: minmax(280px, .7fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: center;
  color: var(--white);
  background: var(--black);
}
.plans .eyebrow { color: var(--yellow); }
.plans img {
  width: 100%;
  max-height: 660px;
  object-fit: contain;
  background: var(--black);
  border: 1px solid rgba(255,255,255,.22);
}

.event-list {
  display: grid;
  gap: 12px;
}
.event-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 180px) 1fr;
  gap: 18px;
  padding: 18px;
  background: var(--white);
  border-left: 6px solid var(--red);
  align-items: center;
}
.event-row time {
  color: var(--red);
  font-weight: 900;
}
.event-row p { margin: 4px 0 0; color: var(--muted); }
.event-thumb {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #f1f1f1;
  border: 1px solid var(--line);
}

.location {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: center;
}
.location p { color: var(--muted); }
.location img {
  width: 100%;
  border: 1px solid var(--line);
}

.page-title {
  padding: 70px clamp(16px, 5vw, 72px) 30px;
  background: var(--white);
}
.page-title h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1;
}
.page-title p { max-width: 680px; color: var(--muted); }
.ethics-hero {
  padding: clamp(70px, 10vw, 130px) clamp(16px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.48)),
    url("../media/equipe-fl-runners.jpeg") center / cover fixed;
  border-bottom: 5px solid var(--red);
}
.ethics-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: .96;
}
.ethics-hero p {
  max-width: 720px;
  color: rgba(255,255,255,.88);
  font-size: 1.18rem;
}
.ethics-page {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  padding: clamp(42px, 6vw, 82px) clamp(16px, 5vw, 72px);
  background: var(--white);
}
.ethics-summary {
  position: sticky;
  top: 98px;
  align-self: start;
  display: grid;
  gap: 12px;
  padding: 24px;
  color: var(--white);
  background: var(--black);
  border-top: 6px solid var(--yellow);
}
.ethics-summary strong {
  font-size: 1.4rem;
}
.ethics-summary span {
  color: rgba(255,255,255,.76);
}
.ethics-content {
  display: grid;
  gap: 20px;
  max-width: 920px;
}
.ethics-content section {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.ethics-content h2 {
  margin-bottom: 16px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}
.ethics-content h3 {
  margin: 18px 0 8px;
  color: var(--red);
}
.ethics-content p,
.ethics-content li {
  color: var(--muted);
  font-size: 1.05rem;
}
.ethics-content ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}
.ethics-closing {
  color: var(--white);
  background: var(--black) !important;
  border-color: var(--black) !important;
}
.ethics-closing p {
  color: rgba(255,255,255,.82);
}
.ethics-closing strong {
  display: block;
  margin-top: 18px;
  color: var(--yellow);
  font-size: 1.3rem;
}
.blog-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
}
.blog-filter {
  display: grid;
  align-content: start;
  gap: 8px;
}
.blog-filter a {
  padding: 12px 14px;
  color: var(--white);
  background: var(--black);
  text-decoration: none;
  font-weight: 800;
}
.post-page {
  background: var(--white);
}
.post-hero {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) 1fr;
  gap: 34px;
  align-items: center;
  padding: clamp(34px, 6vw, 76px) clamp(16px, 5vw, 72px);
}
.post-hero.no-image {
  grid-template-columns: 1fr;
  padding-top: clamp(42px, 7vw, 86px);
  padding-bottom: clamp(42px, 7vw, 86px);
}
.post-hero.no-image > div {
  max-width: 980px;
}
.post-hero img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  background: #f1f1f1;
}
.post-page.category-depoimentos .post-hero {
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}
.post-page.category-depoimentos .post-hero > div {
  order: 1;
}
.post-page.category-depoimentos .post-hero > img {
  order: 2;
  width: min(720px, 100%);
  max-height: none;
  justify-self: center;
}
.post-hero h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(2.1rem, 4.4vw, 4.4rem);
  line-height: 1;
}
.post-hero time { color: var(--muted); font-weight: 800; }
.post-content {
  max-width: 880px;
  margin: 0 auto;
  padding: 20px 16px 60px;
  font-size: 1.14rem;
}
.post-content p {
  margin: 0 0 1.2rem;
}
.post-content a {
  color: var(--red);
  font-weight: 800;
}
.video-embed {
  margin: 28px 0;
  aspect-ratio: 16 / 9;
  background: var(--black);
}
.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.post-gallery {
  padding: 20px clamp(16px, 5vw, 72px) 80px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.gallery-grid figure {
  margin: 0;
  background: var(--paper);
}
.gallery-grid a {
  display: block;
  text-decoration: none;
}
.gallery-grid img,
.gallery-grid video {
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  background: #111;
}
.gallery-grid figcaption {
  padding: 8px;
  color: var(--muted);
  font-size: .9rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(16px, 5vw, 72px);
  color: var(--white);
  background: var(--black);
}
.site-footer span { display: block; color: rgba(255,255,255,.7); }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; font-weight: 800; }

@media (max-width: 920px) {
  .site-header { align-items: flex-start; flex-wrap: wrap; }
  .nav { order: 3; width: 100%; justify-content: flex-start; }
  .intro-grid, .plans, .location, .post-hero, .blog-layout { grid-template-columns: 1fr; }
  .ethics-page { grid-template-columns: 1fr; }
  .ethics-summary { position: static; }
  .post-grid,
  .home-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .carousel { grid-auto-columns: calc((100% - 22px) / 2); }
  .section-heading.split, .site-footer { align-items: flex-start; flex-direction: column; }
  .parallax-hero { background-attachment: scroll; }
  .ethics-hero { background-attachment: scroll; }
}
@media (max-width: 620px) {
  .brand span { display: none; }
  .hero { min-height: 520px; }
  .hero-content { margin-bottom: 44px; }
  .post-grid,
  .home-post-grid,
  .gallery-grid { grid-template-columns: 1fr !important; }
  .carousel { grid-auto-columns: 100%; }
  .event-row { grid-template-columns: 1fr; }
  .event-thumb { max-width: 100%; }
}
