/* ==========================================================================
   Les Échangeurs Editorial — design system
   Paleta e tipografia importadas do projeto Claude Design "Les Echangeurs Home"
   ========================================================================== */

:root {
  --le-accent: #DD8A3E;
  --le-cream: #F1ECE0;
  --le-ink: #15231A;
  --le-green: #1E3A2A;
  --le-dark: #0F1811;
  --le-dark-card: #1A2A1E;
  --le-card: #E4DCC9;
  --le-muted: #4A5A4C;
  --le-meta: #6B7A6A;
  --le-hover: #B0532F;
  --le-cream-70: rgba(241, 236, 224, 0.7);
  --le-cream-80: rgba(241, 236, 224, 0.8);
  --le-font-sans: 'Space Grotesk', 'Helvetica Neue', sans-serif;
  --le-font-mono: 'Space Mono', monospace;
  --le-pad-x: clamp(20px, 4vw, 48px);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

/* Fundo do canvas: impede que o background de página do Elementor
   (ex.: amarelo do About/Contact) vaze abaixo do footer em telas altas. */
html { scroll-behavior: smooth; background: #F1ECE0; }

body {
  margin: 0;
  background: var(--le-cream);
  color: var(--le-ink);
  font-family: var(--le-font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--le-hover); }

::selection { background: var(--le-accent); color: var(--le-ink); }

img { max-width: 100%; height: auto; display: block; }

.le-container { max-width: 1280px; margin: 0 auto; padding-left: var(--le-pad-x); padding-right: var(--le-pad-x); }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  word-wrap: normal !important;
}

.skip-link:focus {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  width: auto; height: auto; clip-path: none;
  background: var(--le-green); color: var(--le-cream);
  padding: 10px 20px; border-radius: 999px;
  font-family: var(--le-font-mono); font-size: 12px; letter-spacing: 0.1em;
}

/* ---------- Componentes compartilhados ---------- */

.le-pill {
  display: inline-block;
  font-family: var(--le-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--le-accent);
  color: var(--le-ink);
  padding: 5px 12px;
  border-radius: 999px;
  line-height: 1.4;
}
a.le-pill:hover { background: var(--le-hover); color: var(--le-cream); }
.le-pill--lg { font-size: 11px; padding: 6px 14px; }

.le-pills { display: flex; gap: 8px; flex-wrap: wrap; }

.le-btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: var(--le-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--le-green);
  color: var(--le-cream);
  padding: 10px 20px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.le-btn:hover { background: var(--le-accent); color: var(--le-ink); }

.le-meta {
  font-family: var(--le-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--le-meta);
}
.le-meta .le-dot { opacity: 0.5; margin: 0 6px; }

.le-catline {
  font-family: var(--le-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--le-meta);
}
.le-catline a:hover { color: var(--le-hover); }

/* Cabeçalho numerado de seção */
.le-section-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.le-section-head__num {
  font-family: var(--le-font-mono);
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em;
  color: var(--le-accent);
}
.le-section-head__title {
  margin: 0;
  font-family: var(--le-font-mono);
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: inherit;
}
.le-section-head__rule { flex: 1; height: 1px; background: rgba(21, 35, 26, 0.18); align-self: center; }
.le-section-head__more {
  font-family: var(--le-font-mono);
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.le-section-head__more:hover { color: var(--le-accent); }

.le-dark .le-section-head__rule { background: rgba(241, 236, 224, 0.2); }
.le-dark .le-section-head__more { color: var(--le-cream); }
.le-dark .le-section-head__more:hover { color: var(--le-accent); }

/* ---------- Header ---------- */

.le-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 242, 232, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(21, 35, 26, 0.14);
}
.le-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px var(--le-pad-x);
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  flex-wrap: wrap;
}

.le-logo { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.le-logo span {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.05em;
  color: var(--le-green);
}
.le-logo .le-logo__dash { color: var(--le-accent); }
.le-logo:hover span { color: var(--le-green); }

.le-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(14px, 2.2vw, 28px); flex-wrap: wrap; }
.le-nav a {
  display: inline-block;
  font-family: var(--le-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.le-nav a:hover { color: var(--le-hover); }
.le-nav .current-menu-item > a,
.le-nav .current_page_item > a { border-bottom-color: var(--le-green); }
.le-nav .sub-menu { display: none; }

.le-header__right { margin-left: auto; display: flex; align-items: center; gap: 18px; }

.le-langs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--le-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* Suporte ao switcher do TranslatePress dentro do header */
.le-langs .trp-language-switcher { background: transparent; border: none; }
.le-langs select {
  font-family: var(--le-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  background: transparent;
  border: 1px solid rgba(21, 35, 26, 0.25);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--le-ink);
}

/* ---------- Menu mobile ---------- */

.le-nav-toggle {
  display: none;
  border: 1px solid rgba(21, 35, 26, 0.25);
  background: transparent;
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--le-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--le-ink);
  cursor: pointer;
}

@media (max-width: 900px) {
  .le-nav-toggle { display: inline-block; order: 3; margin-left: auto; }
  .le-header__right { margin-left: 0; order: 4; }
  .le-header__right .le-langs { display: none; }
  .le-nav {
    display: none;
    order: 5;
    width: 100%;
    padding: 10px 0 16px;
    border-top: 1px solid rgba(21, 35, 26, 0.12);
    margin-top: 10px;
  }
  .le-nav.is-open { display: block; }
  .le-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .le-nav a { font-size: 14px; padding: 10px 0; }
  .le-nav .le-langs--mobile { display: flex; padding-top: 14px; }
}
@media (min-width: 901px) {
  .le-langs--mobile { display: none; }
}

/* ---------- Hero ---------- */

.le-hero {
  position: relative;
  height: clamp(480px, 74vh, 780px);
  background: var(--le-green);
  display: block;
}
.le-hero__media { position: absolute; inset: 0; overflow: hidden; }
.le-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.le-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14, 20, 14, 0) 30%, rgba(14, 20, 14, 0.78) 100%);
  pointer-events: none;
}
.le-hero__content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0 var(--le-pad-x) clamp(36px, 6vh, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.le-hero__content .le-pills { justify-content: center; }
.le-hero__title {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(38px, 6vw, 84px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  text-wrap: balance;
}
a.le-hero:hover .le-hero__title { color: #FFFFFF; }
.le-hero__meta {
  font-family: var(--le-font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(241, 236, 224, 0.85);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.le-hero__meta .le-dot { opacity: 0.5; }

/* ---------- Seções ---------- */

.le-section { background: var(--le-cream); }
.le-section__inner { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.le-section__inner--deep { padding-bottom: clamp(64px, 9vw, 110px); }

.le-dark { background: var(--le-dark); color: var(--le-cream); }
.le-dark a { color: var(--le-cream); }
.le-dark a:hover { color: var(--le-accent); }

/* ---------- Cards: Editor's Picks ---------- */

.le-picks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(28px, 4vw, 56px);
}

.le-card { display: flex; flex-direction: column; gap: 16px; transition: transform 0.25s; }
a.le-card:hover { transform: translateY(-4px); color: var(--le-ink); }

.le-card__media {
  height: clamp(260px, 30vw, 380px);
  border-radius: 18px;
  overflow: hidden;
  background: var(--le-card);
}
.le-card__media img { width: 100%; height: 100%; object-fit: cover; }

.le-card__title {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--le-green);
}
.le-card__excerpt {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--le-muted);
  max-width: 56ch;
}

/* ---------- Cards: Trending ---------- */

.le-trend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(28px, 3.5vw, 48px) clamp(24px, 3vw, 40px);
}

.le-card--trend { gap: 12px; }
.le-card--trend .le-card__media { height: clamp(220px, 24vw, 300px); border-radius: 16px; }
.le-card--trend .le-card__title { font-size: 21px; line-height: 1.25; letter-spacing: 0; }

/* ---------- Short stories (seção escura) ---------- */

.le-shorts { display: flex; flex-wrap: wrap; gap: clamp(20px, 2.5vw, 32px); }

.le-shorts__main {
  flex: 2 1 480px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--le-dark-card);
  min-height: clamp(320px, 40vw, 500px);
  display: block;
  transition: transform 0.25s;
}
.le-shorts__main:hover { transform: translateY(-4px); }
.le-shorts__main-media { position: absolute; inset: 0; }
.le-shorts__main-media img { width: 100%; height: 100%; object-fit: cover; }
.le-shorts__main-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 10, 0) 45%, rgba(10, 15, 10, 0.72) 100%);
  pointer-events: none;
}
.le-shorts__main-caption {
  position: absolute;
  left: 24px; right: 96px; bottom: 24px;
  display: flex; flex-direction: column; gap: 12px;
  pointer-events: none;
}
.le-shorts__main-title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.15;
  color: #FFFFFF;
}

.le-play {
  position: absolute;
  right: 24px; bottom: 24px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--le-accent);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.le-play::after {
  content: "";
  width: 0; height: 0;
  border-left: 15px solid var(--le-ink);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}
.le-play--sm { width: 36px; height: 36px; right: 14px; bottom: 14px; }
.le-play--sm::after { border-left-width: 11px; border-top-width: 6.5px; border-bottom-width: 6.5px; margin-left: 3px; }

.le-shorts__side { flex: 1 1 280px; display: flex; flex-direction: column; gap: clamp(20px, 2.5vw, 32px); }

.le-shorts__item { display: flex; flex-direction: column; gap: 12px; color: var(--le-cream); transition: transform 0.25s; }
.le-shorts__item:hover { transform: translateY(-4px); color: var(--le-cream); }
.le-shorts__item-media {
  position: relative;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--le-dark-card);
}
.le-shorts__item-media img { width: 100%; height: 100%; object-fit: cover; }
.le-shorts__item-title { font-size: 17px; font-weight: 500; line-height: 1.35; }

/* ---------- Newsletter ---------- */

.le-news { background: var(--le-cream); }
.le-news__inner { padding-bottom: clamp(64px, 9vw, 110px); }
.le-news__box {
  background: var(--le-green);
  border-radius: 28px;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.le-news__label {
  font-family: var(--le-font-mono);
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--le-accent);
}
.le-news__title {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--le-cream);
  text-wrap: balance;
}

.le-news__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: #FFFFFF;
  max-width: 52ch;
}

.le-news__form-wrap { width: 100%; max-width: 560px; margin-top: 8px; }
.le-news__form-wrap form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin: 0;
}
.le-news__form-wrap input[type="email"],
.le-news__form-wrap input[type="text"] {
  flex: 1 1 260px;
  border: none;
  outline: none;
  background: var(--le-cream);
  color: var(--le-ink);
  font-family: var(--le-font-mono);
  font-size: 14px;
  padding: 16px 24px;
  border-radius: 999px;
}
.le-news__form-wrap button[type="submit"],
.le-news__form-wrap input[type="submit"],
.le-news__btn {
  border: none;
  cursor: pointer;
  background: var(--le-accent);
  color: var(--le-ink);
  font-family: var(--le-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 999px;
  transition: transform 0.2s;
  display: inline-block;
}
.le-news__form-wrap button[type="submit"]:hover,
.le-news__form-wrap input[type="submit"]:hover,
.le-news__btn:hover { transform: scale(1.04); color: var(--le-ink); }

/* Neutraliza a moldura padrão do Forminator dentro do bloco */
.le-news__form-wrap .forminator-ui.forminator-custom-form { background: transparent !important; border: none !important; padding: 0 !important; }
.le-news__form-wrap .forminator-row { margin-bottom: 0 !important; }

/* ---------- Footer ---------- */

.le-footer { background: var(--le-dark); color: var(--le-cream); }
.le-footer__inner { padding-top: clamp(56px, 8vw, 96px); padding-bottom: 28px; }

.le-footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(36px, 6vw, 96px);
  margin-bottom: clamp(48px, 7vw, 80px);
}
.le-footer__brand { flex: 2 1 320px; display: flex; flex-direction: column; gap: 16px; }
.le-footer__brand .le-logo span { color: var(--le-cream); font-size: 22px; }
.le-footer__brand .le-logo .le-logo__dash { color: var(--le-accent); }
.le-footer__tagline { margin: 0; font-size: 15px; line-height: 1.6; color: var(--le-cream-70); max-width: 38ch; }

.le-footer__col { flex: 1 1 150px; display: flex; flex-direction: column; gap: 12px; }
.le-footer__col-title {
  font-family: var(--le-font-mono);
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--le-accent);
  margin: 0 0 6px;
}
.le-footer__col a { color: var(--le-cream-80); font-size: 14px; }
.le-footer__col a:hover { color: var(--le-accent); }
.le-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }

.le-footer__wordmark {
  font-weight: 700;
  font-size: clamp(30px, 9.5vw, 148px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--le-cream);
  white-space: nowrap;
  padding-top: 0.1em;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.le-footer__wordmark span { color: var(--le-accent); }

.le-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(241, 236, 224, 0.16);
  padding-top: 22px;
  font-family: var(--le-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(241, 236, 224, 0.55);
}

/* ---------- Páginas internas ---------- */

.le-page-head { padding-top: clamp(48px, 7vw, 80px); margin-bottom: clamp(28px, 4vw, 44px); }
.le-page-head .le-section-head { margin-bottom: 0; }
.le-archive-desc { margin: 18px 0 0; font-size: 15px; line-height: 1.6; color: var(--le-muted); max-width: 64ch; }

/* Cabeçalho editorial de arquivo/categoria (substitui o banner Elementor) */
.le-archive-hero {
  padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 44px);
  border-bottom: 1px solid rgba(21, 35, 26, 0.14);
  margin-bottom: clamp(36px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.le-archive-hero__kicker {
  font-family: var(--le-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--le-accent);
}
.le-archive-hero__title {
  margin: 0;
  font-size: clamp(40px, 6.5vw, 84px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--le-green);
  text-transform: capitalize;
}
.le-archive-hero__desc {
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--le-muted);
  max-width: 62ch;
}
.le-archive-hero__desc p { margin: 0 0 0.6em; }
.le-archive-hero__count {
  font-family: var(--le-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--le-meta);
}

/* Artigo (single) */
.le-article__head {
  padding-top: clamp(48px, 7vw, 88px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  max-width: 880px;
  margin: 0 auto;
}
.le-article__head .le-pills { justify-content: center; }
.le-article__title {
  margin: 0;
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--le-green);
  text-wrap: balance;
}
.le-article__meta {
  font-family: var(--le-font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--le-meta);
  display: flex; gap: 18px; flex-wrap: wrap; justify-content: center;
}
.le-article__meta .le-dot { opacity: 0.5; }

.le-article__hero { margin: clamp(28px, 4vw, 48px) auto 0; }
.le-article__hero-media {
  /* Entre 40vh e 50vh, escalando com a largura da tela. */
  height: clamp(40vh, 50vw, 50vh);
  border-radius: 20px;
  overflow: hidden;
  background: var(--le-card);
}
.le-article__hero-media img { width: 100%; height: 100%; object-fit: cover; }
.le-article__caption {
  margin-top: 14px;
  font-family: var(--le-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: var(--le-meta);
  text-align: center;
}

/* Byline: autor no início do texto */
.le-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(24px, 3vw, 32px);
  padding-bottom: clamp(20px, 2.5vw, 26px);
  border-bottom: 1px solid rgba(21, 35, 26, 0.14);
}
.le-byline__avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: block;
}
.le-byline__info { display: flex; flex-direction: column; gap: 3px; }
.le-byline__label {
  font-family: var(--le-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--le-accent);
}
.le-byline__name {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--le-green);
  line-height: 1.2;
}
.le-byline__name:hover { color: var(--le-hover); }

.le-article__body {
  max-width: 720px;
  margin: clamp(32px, 5vw, 56px) auto 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--le-ink);
}
.le-article__body > * { margin-top: 0; margin-bottom: 1.4em; }
.le-article__body h2, .le-article__body h3, .le-article__body h4 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--le-green);
  margin-top: 1.8em;
}
.le-article__body h2 { font-size: 30px; }
.le-article__body h3 { font-size: 24px; }
.le-article__body a { color: var(--le-hover); border-bottom: 1px solid rgba(176, 83, 47, 0.35); }
.le-article__body a:hover { border-bottom-color: var(--le-hover); }
.le-article__body blockquote {
  margin: 2em 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--le-accent);
  font-size: 21px;
  line-height: 1.5;
  color: var(--le-green);
  font-style: italic;
}
.le-article__body img { border-radius: 16px; }
.le-article__body figcaption {
  font-family: var(--le-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--le-meta);
  margin-top: 10px;
}
.le-article__body iframe, .le-article__body video { max-width: 100%; border-radius: 16px; }
.le-article__body .wp-block-embed { margin: 2em 0; }

.le-article__tags { max-width: 720px; margin: clamp(28px, 4vw, 40px) auto 0; display: flex; gap: 8px; flex-wrap: wrap; }
.le-article__tags .le-pill { background: transparent; border: 1px solid rgba(21, 35, 26, 0.25); }
.le-article__tags a.le-pill:hover { background: var(--le-accent); border-color: var(--le-accent); color: var(--le-ink); }

.le-related { padding-top: clamp(48px, 7vw, 80px); }

/* Paginação */
.le-pagination {
  margin-top: clamp(36px, 5vw, 56px);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--le-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.le-pagination .page-numbers {
  display: inline-block;
  min-width: 40px;
  text-align: center;
  padding: 10px 12px;
  border: 1px solid rgba(21, 35, 26, 0.2);
  border-radius: 999px;
}
.le-pagination .page-numbers.current { background: var(--le-green); color: var(--le-cream); border-color: var(--le-green); }
.le-pagination a.page-numbers:hover { background: var(--le-accent); border-color: var(--le-accent); color: var(--le-ink); }

/* Busca / 404 */
.le-search-form { display: flex; gap: 12px; flex-wrap: wrap; max-width: 560px; }
.le-search-form input[type="search"] {
  flex: 1 1 260px;
  border: 1px solid rgba(21, 35, 26, 0.25);
  outline: none;
  background: #FFFFFF;
  color: var(--le-ink);
  font-family: var(--le-font-mono);
  font-size: 14px;
  padding: 14px 22px;
  border-radius: 999px;
}
.le-search-form button {
  border: none; cursor: pointer;
  background: var(--le-green); color: var(--le-cream);
  font-family: var(--le-font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  padding: 14px 26px; border-radius: 999px;
}
.le-search-form button:hover { background: var(--le-accent); color: var(--le-ink); }

.le-404 {
  padding: clamp(64px, 10vw, 140px) 0;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px;
}
.le-404__code {
  font-family: var(--le-font-mono);
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em;
  color: var(--le-accent);
}
.le-404__title {
  margin: 0;
  font-size: clamp(38px, 6vw, 84px);
  font-weight: 600; line-height: 1.02; letter-spacing: -0.02em;
  color: var(--le-green);
}

/* Conteúdo de páginas estáticas */
.le-page__body { max-width: 880px; margin: 0 auto; padding-bottom: clamp(56px, 8vw, 96px); }

/* Páginas construídas com Elementor: largura total, sem moldura do tema */
.le-page--builder { display: block; }

/* Aviso vazio */
.le-empty { font-size: 15px; color: var(--le-muted); max-width: 56ch; }

/* ==========================================================================
   Páginas estáticas legadas (About / Creative Corner / Contact)
   Réplica fiel do layout construído no Elementor, agora nativa no tema.
   Tokens do kit antigo: texto #232321, verde #08332B, laranja #DD853C,
   creme #F6EFDF, amarelo #F7F29F, padrão Padrao-1-Floresta.png.
   ========================================================================== */

.le-lg {
  --lg-text: #232321;
  --lg-green: #08332B;
  --lg-orange: #DD853C;
  --lg-cream: #F6EFDF;
  --lg-yellow: #F7F29F;
  --lg-icon: #0E0F0F;
  font-family: 'Martian Mono', monospace;
  color: var(--lg-text);
}

.le-lg-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 100px;
}

/*
 * Faixa de textura: em vez do background com posição fixa em px (mecanismo
 * original do Elementor, que deixava o texto invadir a textura ao
 * redimensionar), a textura é uma coluna proporcional (~34%) presa à direita
 * e o conteúdo fica confinado à zona restante via padding — sem sobreposição
 * em nenhuma largura. Escala do padrão calibrada para bater com o original
 * em 1280px (imagem a 298% da faixa = 100% do viewport de referência).
 */
.le-lg-section--pattern {
  position: relative;
  padding-right: calc(33.6% + 24px);
}
.le-lg-section--pattern::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 33.6%;
  background-image: url('https://lesechangeurs.com/wp-content/uploads/2024/10/Padrao-1-Floresta.png');
  background-position: left top;
  background-repeat: repeat-y;
  background-size: 298% auto;
  pointer-events: none;
}
.le-lg-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.le-lg-title {
  margin: 0;
  font-family: 'Martian Mono', monospace;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.15;
  color: inherit;
}

.le-lg-text {
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
}
.le-lg-text p { margin: 0 0 1em; }
.le-lg-text p:last-child { margin-bottom: 0; }

.le-lg-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--lg-text);
  background: transparent;
  border: 2px solid #000000;
  border-radius: 100px;
  padding: 10px 24px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.le-lg-btn:hover {
  background: var(--lg-green);
  border-color: var(--lg-green);
  color: var(--lg-cream);
}
.le-lg-btn svg { width: 0.85em; height: 0.85em; fill: currentColor; }

/* ---------- About ---------- */

.le-lg-about-intro {
  background-color: var(--lg-cream);
  padding-top: 0;
  padding-bottom: 10px;
}
.le-lg-about-intro .le-lg-title { font-size: 91px; padding-top: 50px; }
.le-lg-about-intro .le-lg-text,
.le-lg-about-cta .le-lg-text { width: 100%; max-width: 730px; }

.le-lg-about-cta {
  background-color: var(--lg-orange);
  min-height: 276px;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* ---------- Creative Corner ---------- */

.le-lg-creative-intro { padding-top: 50px; padding-bottom: 0; }
.le-lg-creative-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  width: auto;
  max-width: 100%;
}
.le-lg-creative-title-row .le-lg-title { font-size: clamp(35px, 6.25vw, 80px); }
.le-lg-creative-title-row .le-lg-icon { padding-top: 30px; }
.le-lg-icon svg { width: 40px; height: 40px; fill: var(--lg-icon); }

.le-lg-creative-body { width: 100%; display: flex; flex-direction: column; gap: 20px; padding-bottom: 50px; }
.le-lg-creative-body .le-lg-text { width: 100%; max-width: 540px; }

.le-lg-creative-cta {
  background-color: var(--lg-orange);
  padding-top: 50px;
  padding-bottom: 100px;
}
.le-lg-creative-cta-body { width: 100%; display: flex; flex-direction: column; gap: 20px; }
.le-lg-creative-cta-body .le-lg-text { width: 100%; max-width: 540px; }

/* ---------- Contact ---------- */

.le-lg--contact { background-color: var(--lg-yellow); }

.le-lg-contact-hero {
  background-color: #FFFFFF;
  min-height: 268px;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 50px;
}
.le-lg-contact-hero .le-lg-title {
  font-size: clamp(41px, 6.95vw, 89px);
  letter-spacing: -0.056em;
  color: var(--lg-green);
  padding-top: 50px;
}

.le-lg-contact-body {
  border-bottom: 1px solid var(--lg-icon);
  padding-top: 20px;
  padding-bottom: 20px;
}
.le-lg-contact-body .le-lg-text {
  width: 100%;
  max-width: 820px;
  letter-spacing: 2.5px;
  color: var(--lg-green);
}
.le-lg-contact-body .le-lg-text > div { margin-bottom: 15px; }

.le-lg-words {
  display: inline-block;
  position: relative;
  min-width: 200px;
  vertical-align: top;
}
.le-lg-words .word {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  animation: le-rotate-word 8s linear infinite 0s;
  white-space: nowrap;
}
.le-lg-words .word:nth-child(1) { position: relative; animation-delay: 0s; }
.le-lg-words .word:nth-child(2) { animation-delay: 2s; }
.le-lg-words .word:nth-child(3) { animation-delay: 4s; }
.le-lg-words .word:nth-child(4) { animation-delay: 6s; }

@keyframes le-rotate-word {
  0% { opacity: 0; transform: translateY(10px); }
  2% { opacity: 1; transform: translateY(0); }
  23% { opacity: 1; transform: translateY(0); }
  25% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 0; }
}

/* ---------- Responsivo (breakpoints do original) ---------- */

@media (max-width: 1024px) {
  .le-lg-text { font-size: 15px; }
}

@media (max-width: 767px) {
  .le-lg-section { padding: 20px !important; }
  .le-lg-section--pattern::after { display: none; }
  .le-lg-text { font-size: 14px; }
  .le-lg-about-intro .le-lg-title { font-size: 40px; padding-top: 0; }
  .le-lg-creative-title-row .le-lg-title { font-size: 35px; }
  .le-lg-creative-title-row .le-lg-icon { padding-top: 10px; }
  .le-lg-icon svg { width: 20px; height: 20px; }
  .le-lg-contact-hero { min-height: 120px; }
  .le-lg-contact-hero .le-lg-title { font-size: 41px; letter-spacing: 0; padding-top: 0; }
}

/* ---------- Single: conteúdo + sidebar curada ---------- */

.le-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) 300px;
  gap: clamp(36px, 5vw, 72px);
  justify-content: center;
  margin-top: clamp(32px, 5vw, 56px);
}
.le-single-main { min-width: 0; }
.le-single-main .le-article__body { max-width: none; margin: 0; }
.le-single-main .le-article__tags { max-width: none; margin: clamp(28px, 4vw, 40px) 0 0; }

@media (max-width: 1023px) {
  .le-single-layout { grid-template-columns: minmax(0, 1fr); justify-content: stretch; }
  .le-single-sidebar { max-width: 560px; }
}

.le-single-sidebar { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 40px); align-self: start; }

.le-widget { display: flex; flex-direction: column; gap: 16px; }
.le-widget__title {
  margin: 0;
  font-family: var(--le-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--le-accent);
}
.le-widget .le-search-form input[type="search"] { flex: 1 1 140px; padding: 12px 18px; font-size: 13px; }
.le-widget .le-search-form button { padding: 12px 20px; }

.le-widget__posts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.le-widget__posts a { display: flex; gap: 12px; align-items: center; }
.le-widget__thumb {
  flex: 0 0 64px;
  width: 64px; height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--le-card);
}
.le-widget__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.le-widget__post-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.le-widget__post-title { font-size: 14.5px; font-weight: 500; line-height: 1.35; color: var(--le-green); }
.le-widget__posts a:hover .le-widget__post-title { color: var(--le-hover); }
.le-widget__post-date {
  font-family: var(--le-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--le-meta);
}
.le-widget__cats { display: flex; gap: 8px; flex-wrap: wrap; }
.le-widget__cats .le-pill { background: transparent; border: 1px solid rgba(21, 35, 26, 0.25); }
.le-widget__cats .le-pill:hover { background: var(--le-accent); border-color: var(--le-accent); color: var(--le-ink); }

/* ---------- Caixa de autor ---------- */

.le-authorbox {
  margin-top: clamp(32px, 5vw, 48px);
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(21, 35, 26, 0.16);
  border-radius: 20px;
  background: rgba(228, 220, 201, 0.35);
}
.le-authorbox__avatar img {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: block;
}
.le-authorbox__info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.le-authorbox__label {
  font-family: var(--le-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--le-accent);
}
.le-authorbox__name { font-size: 21px; font-weight: 600; color: var(--le-green); }
.le-authorbox__bio { margin: 2px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--le-muted); }
.le-authorbox__link {
  margin-top: 6px;
  font-family: var(--le-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.le-authorbox__link:hover { color: var(--le-accent); }

/* ---------- Navegação anterior/próximo ---------- */

.le-postnav {
  margin-top: clamp(32px, 5vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.le-postnav__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid rgba(21, 35, 26, 0.16);
  border-radius: 16px;
  transition: transform 0.2s, background 0.2s;
}
a.le-postnav__item:hover { transform: translateY(-3px); background: rgba(228, 220, 201, 0.4); color: var(--le-ink); }
.le-postnav__item--next { text-align: right; }
.le-postnav__item--empty { border: none; }
.le-postnav__label {
  font-family: var(--le-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--le-meta);
}
.le-postnav__title { font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--le-green); }
a.le-postnav__item:hover .le-postnav__title { color: var(--le-hover); }

@media (max-width: 640px) {
  .le-postnav { grid-template-columns: 1fr; }
  .le-postnav__item--next { text-align: left; }
  .le-postnav__item--empty { display: none; }
}

/* ---------- Comentários ---------- */

.le-comments { margin-top: clamp(40px, 6vw, 64px); }
.le-comments__title,
.le-comments .comment-reply-title {
  margin: 0 0 24px;
  font-family: var(--le-font-mono);
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--le-green);
}
.le-comments__list { list-style: none; margin: 0 0 28px; padding: 0; }
.le-comments__list .comment,
.le-comments__list .pingback { border-top: 1px solid rgba(21, 35, 26, 0.14); padding: 20px 0; }
.le-comments__list .children { list-style: none; margin: 16px 0 0; padding-left: clamp(20px, 4vw, 44px); }
.le-comments__list .comment-body { display: flex; flex-direction: column; gap: 8px; }
.le-comments__list .comment-author { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--le-green); }
.le-comments__list .comment-author .avatar { width: 44px; height: 44px; border-radius: 50%; }
.le-comments__list .comment-author .says { display: none; }
.le-comments__list .comment-metadata {
  font-family: var(--le-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--le-meta);
}
.le-comments__list .comment-content { font-size: 15px; line-height: 1.65; color: var(--le-ink); }
.le-comments__list .comment-content p { margin: 0 0 0.8em; }
.le-comments__list .reply {
  font-family: var(--le-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.le-comments__list .reply a:hover { color: var(--le-accent); }
.le-comments__closed { font-family: var(--le-font-mono); font-size: 12.5px; letter-spacing: 0.06em; color: var(--le-meta); }

.le-comments .comment-respond { margin-top: 12px; }
.le-comments .comment-form { display: flex; flex-direction: column; gap: 14px; }
.le-comments .comment-form p { margin: 0; }
.le-comments .comment-form label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--le-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--le-meta);
}
.le-comments .comment-form input[type="text"],
.le-comments .comment-form input[type="email"],
.le-comments .comment-form input[type="url"],
.le-comments .comment-form textarea {
  width: 100%;
  border: 1px solid rgba(21, 35, 26, 0.25);
  outline: none;
  background: #FFFFFF;
  color: var(--le-ink);
  font-family: var(--le-font-mono);
  font-size: 14px;
  padding: 13px 20px;
  border-radius: 16px;
}
.le-comments .comment-form textarea { border-radius: 20px; min-height: 140px; resize: vertical; }
.le-comments .comment-form input:focus,
.le-comments .comment-form textarea:focus { border-color: var(--le-green); }
.le-comments .comment-form .comment-form-cookies-consent {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  color: var(--le-muted);
}
.le-comments .comment-form .comment-form-cookies-consent label { display: inline; margin: 0; text-transform: none; letter-spacing: 0; font-family: var(--le-font-sans); font-size: 13px; font-weight: 400; }
.le-comments .comment-notes,
.le-comments .logged-in-as { font-size: 13px; color: var(--le-muted); }
.le-comments .form-submit { margin-top: 4px; }
