/* ================================================
   WENEPOU.COM — Kempingi przy granicy
   Paleta: #17191c + #b8e62e + #eef0ec
   Matryca: #58 — siatka modułowa
================================================ */

:root {
  --coal: #17191c;
  --coal-2: #1e2126;
  --coal-3: #252a30;
  --green: #b8e62e;
  --green-dim: rgba(184,230,46,0.15);
  --green-glow: rgba(184,230,46,0.35);
  --light: #eef0ec;
  --light-2: #d8dbd5;
  --border: rgba(184,230,46,0.2);
  --border-strong: rgba(184,230,46,0.5);
  --text-main: #c8cdc6;
  --text-dim: #7a8278;
  --shadow-cell: 0 2px 20px rgba(0,0,0,0.4);
  --radius: 0px;
  --transition: 220ms ease;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--coal);
  color: var(--text-main);
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ---- SKIP LINK ---- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--green);
  color: var(--coal);
  padding: 0.5rem 1rem;
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ---- TONAL DOT PATTERN BACKGROUND ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(184,230,46,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--light);
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1rem; font-weight: 700; }
p { max-width: 68ch; line-height: 1.65; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- FOCUS ---- */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* ================================================
   НАВИГАЦИЯ — плитки 2×3 fullscreen
================================================ */
.tl-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
  background: rgba(23,25,28,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: padding var(--transition);
}
.tl-nav__logo {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--light);
  letter-spacing: -0.03em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tl-nav__logo img { width: 36px; height: 36px; object-fit: contain; }
.tl-nav__burger {
  background: none;
  border: 1px solid var(--border-strong);
  color: var(--light);
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
}
.tl-nav__burger:hover {
  background: var(--green);
  color: var(--coal);
  border-color: var(--green);
}

/* Fullscreen menu */
.tl-nav__menu {
  position: fixed;
  inset: 0;
  background: var(--coal);
  z-index: 300;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.tl-nav__menu.open {
  opacity: 1;
  pointer-events: all;
}
.tl-nav__menu-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: none;
  border: none;
  color: var(--light);
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  transition: color var(--transition);
}
.tl-nav__menu-close:hover { color: var(--green); }
.tl-nav__item {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 2rem;
  border: 1px solid rgba(184,230,46,0.08);
  text-decoration: none;
  color: var(--light-2);
  transition: background var(--transition), color var(--transition);
  position: relative;
  overflow: hidden;
}
.tl-nav__item:hover {
  background: var(--green);
  color: var(--coal);
}
.tl-nav__item-num {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(238,240,236,0.12);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  transition: color var(--transition);
}
.tl-nav__item:hover .tl-nav__item-num {
  color: rgba(23,25,28,0.2);
}
.tl-nav__item-label {
  font-size: 1.1rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

/* ================================================
   ПАНЕЛЬ УПРАВЛЕНИЯ (sticky sort)
================================================ */
.tl-sort-panel {
  position: sticky;
  top: 60px;
  z-index: 100;
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: rgba(23,25,28,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.tl-sort-btn {
  background: none;
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
  padding: 0.4rem 1rem;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition);
}
.tl-sort-btn:hover, .tl-sort-btn.active {
  background: var(--green);
  color: var(--coal);
  border-color: var(--green);
}

/* ================================================
   GŁÓWNA SIATKA KAFELKÓW (FLIP grid)
================================================ */
.tl-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: auto;
  gap: 2px;
  padding: 2px;
  position: relative;
  z-index: 1;
}

/* Kafelки */
.tl-cell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(184,230,46,0.1);
  background: var(--coal-2);
  transition: transform 0.5s cubic-bezier(0.23,1,0.32,1),
              box-shadow var(--transition);
  cursor: default;
  /* Минимальная высота для всех текстовых плиток */
  min-height: 200px;
}

/* Hover: podświetlenie + glow krawędzi */
.tl-cell:hover {
  border-color: var(--border-strong);
  box-shadow: 0 0 30px rgba(184,230,46,0.15), inset 0 0 20px rgba(184,230,46,0.04);
  z-index: 2;
}
.tl-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(184,230,46,0.12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 1;
}
.tl-cell:hover .tl-glow { opacity: 1; }

/* Numeracja kafelków */
.tl-cell__num {
  position: absolute;
  bottom: 1rem;
  right: 1.2rem;
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(238,240,236,0.04);
  pointer-events: none;
  z-index: 0;
}

.tl-cell__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.5rem;
  gap: 0.4rem;
}
/* Плитки с абсолютно позиционированным изображением — inner на всю высоту, текст снизу */
.tl-cell--tall .tl-cell__inner,
.tl-cell--hero .tl-cell__inner {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  justify-content: flex-end;
  gap: 0.4rem;
}

/* ---- Rozmiary kafelków ---- */
/* Suть — 3×2 */
.tl-cell--hero {
  grid-column: span 3;
  grid-row: span 2;
  background: var(--coal-3);
  min-height: 420px;
}
/* Usługi z obrazkiem — 2×2, фиксированная высота */
.tl-cell--tall {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 420px;
}
/* Pozostałe — 2 колонки, высота по контенту */
.tl-cell--wide {
  grid-column: span 2;
  min-height: auto;
}
.tl-cell--std {
  grid-column: span 2;
  min-height: auto;
}

/* ---- Hero cell: ruchomy gradient ---- */
.tl-cell--hero .tl-cell__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184,230,46,0.18) 0%, transparent 60%);
  animation: blob-drift 8s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes blob-drift {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(5%, 3%) scale(1.05); }
  100% { transform: translate(-3%, 6%) scale(0.98); }
}

.tl-cell--hero h1 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.tl-cell--hero p {
  font-size: 1rem;
  color: var(--text-main);
  max-width: 42ch;
  margin-bottom: 1.5rem;
}

/* ---- Kafelki z obrazkami ---- */
.tl-cell__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: block;
}
.tl-cell__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23,25,28,0.9) 0%, rgba(23,25,28,0.3) 60%, rgba(23,25,28,0.1) 100%);
  z-index: 1;
  transition: background var(--transition);
}
/* overlay ucieka przy hover */
.tl-cell:hover .tl-cell__overlay {
  background: linear-gradient(to top, rgba(23,25,28,0.75) 0%, rgba(23,25,28,0.1) 60%, transparent 100%);
}

/* ---- Tag / label ---- */
.tl-cell__tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.4rem;
}

/* ---- Cena w kafelku ---- */
.tl-cell__price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green);
  margin-top: 0.5rem;
  border-top: 1px solid rgba(184,230,46,0.2);
  padding-top: 0.4rem;
}

/* ---- Sezonowość / trust ---- */
.tl-cell--seasons .tl-season-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.82rem;
}
.tl-cell--seasons .tl-season-list li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.tl-season-q {
  color: var(--green);
  font-weight: 700;
  min-width: 2.5rem;
}

/* ---- Ograniczenia ---- */
.tl-cell--limits .tl-limit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
}
.tl-cell--limits .tl-limit-list li::before {
  content: '×  ';
  color: #e05c3a;
  font-weight: 700;
}

/* ---- Kontakty ---- */
.tl-cell--contact .tl-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
}
.tl-cell--contact .tl-contact-list a {
  color: var(--text-main);
  transition: color var(--transition);
}
.tl-cell--contact .tl-contact-list a:hover { color: var(--green); }

/* ---- Warunki ---- */
.tl-cell--terms ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
}
.tl-cell--terms ul li::before {
  content: '✓  ';
  color: var(--green);
  font-weight: 700;
}

/* ---- Siatka sroków ---- */
.tl-cell--timing .tl-timing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  font-size: 0.78rem;
}
.tl-timing-item { display: flex; flex-direction: column; gap: 0.1rem; }
.tl-timing-val { font-size: 1.2rem; font-weight: 800; color: var(--green); }

/* ================================================
   FORMULARZ (kafelek)
================================================ */
.tl-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  justify-content: center;
}
.tl-form h3 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}
.tl-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.tl-form__field label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.tl-form__field input,
.tl-form__field select,
.tl-form__field textarea {
  background: rgba(238,240,236,0.05);
  border: 1px solid rgba(184,230,46,0.2);
  color: var(--light);
  padding: 0.45rem 0.7rem;
  font-size: 0.85rem;
  font-family: inherit;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.tl-form__field input:focus,
.tl-form__field select:focus,
.tl-form__field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(184,230,46,0.15);
}
.tl-form__field input.invalid,
.tl-form__field select.invalid,
.tl-form__field textarea.invalid {
  border-color: #e05c3a;
}
.tl-form__field textarea { resize: vertical; min-height: 70px; }
.tl-form__error {
  font-size: 0.68rem;
  color: #e05c3a;
  display: none;
}
.tl-form__field.has-error .tl-form__error { display: block; }

.tl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green);
  color: var(--coal);
  border: none;
  padding: 0.65rem 1.4rem;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
/* Zalewanie od krawędzi */
.tl-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}
.tl-btn:hover::after { transform: scaleX(1); transform-origin: left; }
.tl-btn:hover { box-shadow: 0 4px 16px rgba(184,230,46,0.35); }
.tl-btn:active { transform: scale(0.97); }
.tl-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ================================================
   TOAST
================================================ */
#toast-region {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}
.toast {
  background: var(--coal-3);
  border: 1px solid var(--border-strong);
  color: var(--light);
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  animation: toast-in 0.25s ease;
  max-width: 360px;
  text-align: center;
}
.toast--success { border-color: var(--green); color: var(--green); }
.toast--error { border-color: #e05c3a; color: #e05c3a; }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================================================
   PŁYWAJĄCY PANEL KONTAKTOWY
================================================ */
.tl-float {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.tl-float__btn {
  width: 40px;
  height: 40px;
  background: var(--coal-3);
  border: 1px solid var(--border-strong);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
}
.tl-float__btn:hover {
  background: var(--green);
  color: var(--coal);
}
.tl-float__tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--coal-3);
  border: 1px solid var(--border);
  color: var(--light);
  padding: 0.3rem 0.7rem;
  font-size: 0.72rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.tl-float__btn:hover .tl-float__tooltip { opacity: 1; }

/* ================================================
   COOKIE BANNER
================================================ */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--coal-3);
  border-top: 1px solid var(--border);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 8000;
  flex-wrap: wrap;
  transform: translateY(0);
  transition: transform 0.3s ease;
}
#cookie-banner.hidden { transform: translateY(110%); }
.cookie-text { font-size: 0.82rem; color: var(--text-main); }
.cookie-text a { color: var(--green); }
.cookie-btns { display: flex; gap: 0.5rem; }
.cookie-btn {
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--border-strong);
  background: none;
  color: var(--light);
  transition: all var(--transition);
}
.cookie-btn--accept { background: var(--green); color: var(--coal); border-color: var(--green); }
.cookie-btn:hover { opacity: 0.8; }

/* ================================================
   SEKCJE WEWNĘTRZNE (inne strony)
================================================ */
.page-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 120px 2rem 4rem;
  position: relative;
  z-index: 1;
}
.page-wrap h1 { margin-bottom: 1.5rem; }
.page-wrap h2 { margin: 2rem 0 0.75rem; }
.page-wrap p { margin-bottom: 1rem; color: var(--text-main); }
.page-wrap ul, .page-wrap ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}
.page-wrap li { margin-bottom: 0.4rem; }

/* ---- Tabela kontaktów ---- */
.contact-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.contact-table th, .contact-table td {
  padding: 0.6rem 1rem;
  text-align: left;
  border: 1px solid var(--border);
}
.contact-table th {
  background: rgba(184,230,46,0.08);
  color: var(--green);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.contact-table tr:hover td { background: rgba(184,230,46,0.04); }

/* ---- Formularz na stronie kontaktu ---- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 560px;
  margin-top: 2rem;
}
.contact-form .tl-form__field { gap: 0.3rem; }
.contact-form label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.contact-form input,
.contact-form textarea {
  background: rgba(238,240,236,0.05);
  border: 1px solid var(--border);
  color: var(--light);
  padding: 0.65rem 0.9rem;
  font-size: 0.9rem;
  font-family: inherit;
  width: 100%;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(184,230,46,0.15);
}
.contact-form textarea { min-height: 120px; resize: vertical; }

/* ================================================
   FOOTER
================================================ */
footer {
  background: var(--coal-2);
  border-top: 1px solid var(--border);
  padding: 2rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.3rem; }
.footer-col ul a {
  color: var(--text-dim);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--green); }
.footer-bottom {
  max-width: 1400px;
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(184,230,46,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* ================================================
   POLITIKI — strony pomocnicze
================================================ */
.policy-nav {
  background: rgba(184,230,46,0.06);
  border: 1px solid var(--border);
  padding: 1rem 1.5rem;
  margin-bottom: 2.5rem;
}
.policy-nav h4 {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.6rem;
}
.policy-nav ol {
  list-style: decimal;
  padding-left: 1.2rem;
  font-size: 0.82rem;
}
.policy-nav ol li { margin-bottom: 0.25rem; }
.policy-nav ol a { color: var(--text-main); }
.policy-nav ol a:hover { color: var(--green); }

.policy-section {
  margin-bottom: 2.5rem;
  scroll-margin-top: 100px;
}
.policy-section h2 {
  font-size: 1.1rem;
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  margin-bottom: 0.75rem;
}
.policy-section h2 span {
  font-size: 0.72rem;
  color: var(--green);
  font-weight: 700;
}

/* ================================================
   404
================================================ */
.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  z-index: 1;
}
.page-404__num {
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 900;
  line-height: 1;
  color: rgba(184,230,46,0.12);
  letter-spacing: -0.05em;
}
.page-404__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.page-404__links a {
  border: 1px solid var(--border-strong);
  color: var(--light);
  padding: 0.5rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition);
}
.page-404__links a:hover {
  background: var(--green);
  color: var(--coal);
  border-color: var(--green);
  text-decoration: none;
}

/* ================================================
   ANIMACJE WEJŚCIA (IntersectionObserver)
================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ================================================
   DODATKOWE STRONY — kafelki usług
================================================ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}
.info-cell {
  background: var(--coal-2);
  padding: 1.5rem;
  transition: background var(--transition);
}
.info-cell:hover { background: var(--coal-3); }
.info-cell h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.info-cell p { font-size: 0.85rem; color: var(--text-main); max-width: 100%; }

/* ---- Tabela FAQ ---- */
.faq-list { list-style: none; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--light);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  gap: 1rem;
  transition: color var(--transition);
}
.faq-btn:hover { color: var(--green); }
.faq-btn span { font-size: 1.2rem; transition: transform var(--transition); }
.faq-item.open .faq-btn span { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.65;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner { padding: 0 0 1rem; }

/* ================================================
   RESPONSIVE
================================================ */
@media (max-width: 900px) {
  .tl-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }
  .tl-cell--hero {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 360px;
  }
  .tl-cell--tall {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 320px;
  }
  .tl-cell--wide, .tl-cell--std { grid-column: span 2; min-height: auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .tl-float { display: none; }
}
@media (max-width: 600px) {
  .tl-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .tl-cell--hero {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 320px;
  }
  .tl-cell--tall {
    grid-column: span 1;
    min-height: 280px;
  }
  .tl-cell--wide, .tl-cell--std { grid-column: span 1; min-height: auto; }
  .footer-inner { grid-template-columns: 1fr; }
  .tl-nav { padding: 0.6rem 1rem; }
  .tl-sort-panel { padding: 0.5rem 1rem; flex-wrap: wrap; }
}

/* ================================================
   REDUCED MOTION
================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
