/* Mega Fishing — brasil-mega-fishing.com */

:root {
  --navy: #08283f;
  --navy-dark: #051826;
  --cyan: #2fb6d9;
  --cyan-light: #eaf9fd;
  --orange: #e8622a;
  --orange-dark: #c94f1e;
  --text: #14313f;
  --muted: #4c6672;
  --bg: #f5fbfd;
  --border: #d7ecf2;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: var(--cyan);
}

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */

.site-header {
  background: var(--navy);
  border-bottom: 3px solid var(--cyan);
}

.site-header .wrap {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  max-width: 880px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.site-header .logo-link {
  flex: 1 1 auto;
  min-width: 0;
  display: block;
}

.site-header .logo-link img {
  height: 40px;
  width: auto;
  max-width: 100%;
}

.header-actions {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
}

.btn {
  display: inline-block;
  white-space: nowrap;
  text-decoration: none;
  font-weight: 700;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 0.9rem;
  border: 2px solid transparent;
}

.btn-login {
  color: var(--cyan-light);
  border-color: var(--cyan);
  background: transparent;
}

.btn-register {
  color: #fff;
  background: var(--orange);
}

/* Breadcrumbs */

.breadcrumbs {
  background: var(--cyan-light);
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.breadcrumbs .wrap {
  padding-top: 8px;
  padding-bottom: 8px;
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--navy);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs li:not(:last-child)::after {
  content: "\203A";
  margin-left: 4px;
  color: var(--muted);
}

.breadcrumbs li[aria-current="page"] {
  color: var(--muted);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin-top: 20px;
  min-height: 380px;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(5, 24, 38, 0.9) 0%, rgba(5, 24, 38, 0.6) 45%, rgba(5, 24, 38, 0.05) 75%),
    url("banner.webp");
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

.hero-content {
  max-width: 440px;
  padding: 28px 32px;
}

.hero-content .updated {
  color: rgba(255, 255, 255, 0.75);
}

.hero-content h1 {
  color: #fff;
  margin: 0 0 12px;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 22px;
  font-size: 1rem;
}

.btn-cta {
  background: var(--orange);
  color: #fff;
  padding: 12px 28px;
  font-size: 1rem;
}

.btn-cta:hover {
  background: var(--orange-dark);
}

/* Main content */

main {
  padding: 24px 0 48px;
}

.updated {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

h1 {
  font-size: 1.7rem;
  color: var(--navy);
  margin: 0 0 16px;
}

h2 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-top: 36px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 6px;
}

h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-top: 24px;
}

p, li {
  font-size: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.95rem;
}

th, td {
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: left;
}

th {
  background: var(--cyan-light);
  color: var(--navy);
}

/* TOC accordion (pure HTML <details>, closed by default) */

.toc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: 8px 0 28px;
  padding: 4px 16px;
}

.toc summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  padding: 12px 0;
  list-style: none;
}

.toc summary::-webkit-details-marker {
  display: none;
}

.toc summary::before {
  content: "\25B8";
  display: inline-block;
  margin-right: 8px;
  color: var(--cyan);
  transition: transform 0.15s ease;
}

.toc[open] summary::before {
  transform: rotate(90deg);
}

.toc ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.toc li {
  margin-bottom: 6px;
}

/* FAQ accordion */

.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 4px 16px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  padding: 12px 0;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  content: "+";
  display: inline-block;
  width: 1em;
  margin-right: 8px;
  color: var(--orange);
  font-weight: 900;
}

.faq details[open] summary::before {
  content: "\2212";
}

.faq p {
  margin-top: 0;
  padding-bottom: 12px;
}

.responsible {
  background: var(--cyan-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-top: 32px;
}

.responsible-title {
  margin-top: 0;
  border: none;
  padding-bottom: 0;
}

.byline {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

footer {
  background: var(--navy);
  color: var(--cyan-light);
  text-align: center;
  padding: 20px 16px;
  font-size: 0.85rem;
}

footer a {
  color: #fff;
}

/* Mobile adjustments (header stays one row at any width) */

@media (max-width: 480px) {
  .site-header .logo-link img {
    height: 28px;
  }

  .btn {
    padding: 7px 10px;
    font-size: 0.75rem;
  }

  h1 {
    font-size: 1.35rem;
  }

  h2 {
    font-size: 1.15rem;
  }

  .hero {
    min-height: 300px;
    border-radius: 8px;
    background-image:
      linear-gradient(180deg, rgba(5, 24, 38, 0.88) 0%, rgba(5, 24, 38, 0.82) 100%),
      url("banner.webp");
    background-position: right center;
  }

  .hero-content {
    max-width: 100%;
    padding: 20px;
  }

  .hero-content h1 {
    font-size: 1.2rem;
  }

  .hero-lead {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }

  .btn-cta {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .site-header .logo-link img {
    height: 24px;
  }

  .btn {
    padding: 6px 8px;
    font-size: 0.68rem;
  }
}
