:root {
      --verde: #3a7a2e;
      --verde-claro: #5aaa42;
      --verde-escuro: #1f4d17;
      --cinza: #3d3d3d;
      --cinza-medio: #6b6b6b;
      --cinza-claro: #f4f4f0;
      --branco: #ffffff;
      --accent: #8dc63f;
      --gold: #b8a050;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Montserrat', sans-serif;
      color: var(--cinza);
      background: var(--branco);
      overflow-x: hidden;
    }


    /* ── LOGO IMAGE ── */
    .nav-logo-img {
      height: 44px;
      width: auto;
      display: block;
    }
    .hero-logo-img {
      max-width: 500px;
      width: 100%;
      height: auto;
      margin-bottom: 1.5rem;
      animation: fadeUp 0.5s ease both;
    }
    .footer-logo-img {
      height: 36px;
      width: auto;
      margin-bottom: 0.4rem;
      opacity: 0.85;
      filter: brightness(0) invert(1);
    }
    .fundacao-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--cinza-medio);
      background: var(--cinza-claro);
      border: 1px solid rgba(58,122,46,0.15);
      padding: 5px 14px;
      border-radius: 50px;
      margin-bottom: 1.5rem;
      animation: fadeUp 0.5s ease 0.05s both;
    }
    .fundacao-badge span { color: var(--verde); }
    /* ── NAV ── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 5vw;
      height: 72px;
      background: rgba(255,255,255,0.97);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(58,122,46,0.12);
      transition: box-shadow .3s;
    }
    nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.08); }

    .nav-logo {
      display: flex;
      align-items: center;
      margin-left: -55px;
      gap: 10px;
      text-decoration: none;
      cursor: pointer;
    }
    .nav-logo-text {
      font-family: 'Montserrat', sans-serif;
      font-size: 1.5rem;
      font-weight: 900;
      letter-spacing: -0.5px;
    }
    .nav-logo-text span:first-child { color: var(--verde); }
    .nav-logo-text span:last-child  { color: var(--cinza); }
    .nav-logo-sub {
      font-size: 0.62rem;
      color: var(--cinza-medio);
      letter-spacing: 0.04em;
      text-transform: uppercase;
      display: block;
      line-height: 1;
      margin-top: -2px;
    }

    .nav-links {
      display: flex;
      gap: 0.2rem;
      list-style: none;
    }
    .nav-links a {
      text-decoration: none;
      font-size: 0.85rem;
      font-weight: 500;
      color: var(--cinza-medio);
      letter-spacing: 0.02em;
      transition: color .2s, background .2s;
      padding: 0.4rem 0.75rem;
      border-radius: 6px;
      cursor: pointer;
    }
    .nav-links a:hover { color: var(--verde); background: rgba(58,122,46,0.06); }
    .nav-links a.active { color: var(--verde); font-weight: 600; background: rgba(58,122,46,0.08); }

    .nav-cta {
      background: var(--verde) !important;
      color: var(--branco) !important;
      padding: 0.5rem 1.2rem !important;
      border-radius: 4px !important;
    }
    .nav-cta:hover { background: var(--verde-escuro) !important; color: var(--branco) !important; }
    .nav-cta.active { background: var(--verde-escuro) !important; }

    .hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
    .hamburger span { display: block; width: 24px; height: 2px; background: var(--cinza); border-radius: 2px; transition: .3s; }

    /* ── PAGES ── */
    .page {
      display: none;
      min-height: 100vh;
      padding-top: 72px;
      animation: pageIn 0.4s ease both;
    }
    .page.active { display: block; }

    @keyframes pageIn {
      from { opacity: 0; transform: translateY(16px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* ── HERO (página inicial) ── */
    .hero {
      min-height: calc(100vh - 72px);
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
      padding: 60px 5vw 80px;
    }
    .hero-bg {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(58,122,46,0.07) 0%, rgba(141,198,63,0.05) 50%, transparent 100%);
    }
    .hero-bg::before {
      content: '';
      position: absolute;
      top: -100px; right: -100px;
      width: 600px; height: 600px;
      border-radius: 50%;
      border: 80px solid rgba(58,122,46,0.06);
    }
    .hero-bg::after {
      content: '';
      position: absolute;
      bottom: -150px; left: 30%;
      width: 400px; height: 400px;
      border-radius: 50%;
      border: 60px solid rgba(141,198,63,0.07);
    }
    .hero-inner {
      position: relative;
      max-width: 1200px;
      margin: 0 auto;
      width: 100%;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center;
    }
    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--verde);
      background: rgba(58,122,46,0.08);
      padding: 6px 14px;
      border-radius: 50px;
      margin-bottom: 1.5rem;
      animation: fadeUp 0.6s ease both;
    }
    .hero-tag::before {
      content: '';
      width: 6px; height: 6px;
      background: var(--verde);
      border-radius: 50%;
    }
    .hero h1 {
      font-family: 'Montserrat', sans-serif;
      font-size: clamp(2.8rem, 5vw, 4.2rem);
      font-weight: 900;
      line-height: 1.08;
      color: var(--cinza);
      margin-bottom: 1.5rem;
      animation: fadeUp 0.7s ease 0.1s both;
    }
    .hero h1 em { font-style: normal; color: var(--verde); }
    .hero p {
      font-size: 1.05rem;
      line-height: 1.75;
      color: var(--cinza-medio);
      margin-bottom: 2.5rem;
      max-width: 480px;
      animation: fadeUp 0.7s ease 0.2s both;
    }
    .hero-btns {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      animation: fadeUp 0.7s ease 0.3s both;
    }
    .btn-primary {
      display: inline-block;
      background: var(--verde);
      color: #fff;
      padding: 0.85rem 2rem;
      border-radius: 6px;
      text-decoration: none;
      font-weight: 600;
      font-size: 0.92rem;
      letter-spacing: 0.02em;
      transition: background .2s, transform .2s;
      cursor: pointer;
      border: none;
    }
    .btn-primary:hover { background: var(--verde-escuro); transform: translateY(-2px); }
    .btn-outline {
      display: inline-block;
      border: 2px solid var(--verde);
      color: var(--verde);
      padding: 0.82rem 1.8rem;
      border-radius: 6px;
      text-decoration: none;
      font-weight: 600;
      font-size: 0.92rem;
      transition: all .2s;
      cursor: pointer;
      background: none;
    }
    .btn-outline:hover { background: var(--verde); color: #fff; }

    .hero-visual { position: relative; animation: fadeIn 1s ease 0.4s both; }
    .hero-card-main {
      background: var(--verde);
      border-radius: 16px;
      padding: 2.5rem;
      color: #fff;
      position: relative;
      overflow: hidden;
    }
    .hero-card-main::after {
      content: 'AGRO';
      position: absolute;
      bottom: -20px; right: -10px;
      font-family: 'Montserrat', sans-serif;
      font-size: 7rem;
      font-weight: 900;
      opacity: 0.06;
      line-height: 1;
      color: #fff;
    }
    .hero-card-main h3 { font-family: 'Montserrat', sans-serif; font-size: 1.4rem; margin-bottom: 1rem; color: #fff; }
    .hero-card-main p { font-size: 0.9rem; opacity: 0.9; line-height: 1.65; color: #fff !important; }
    .hero-stats {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
      margin-top: 1rem;
    }
    .stat-box { background: rgba(255,255,255,0.1); border-radius: 10px; padding: 1rem; }
    .stat-box strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 1.6rem; color: #fff; }
    .stat-box span { font-size: 0.78rem; opacity: 0.85; color: #fff; }
    .hero-badge {
      position: absolute;
      bottom: -20px; left: -20px;
      background: var(--branco);
      border-radius: 12px;
      padding: 1rem 1.2rem;
      box-shadow: 0 12px 40px rgba(0,0,0,0.12);
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--cinza);
    }
    .hero-badge .dot { width: 10px; height: 10px; background: var(--accent); border-radius: 50%; }

    /* Agricultura Familiar banner no hero */
    .af-banner {
      margin-top: 3rem;
      background: linear-gradient(135deg, var(--verde-escuro), var(--verde));
      border-radius: 16px;
      padding: 2rem 2.5rem;
      color: #fff;
      display: flex;
      align-items: center;
      gap: 1.5rem;
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
      animation: fadeUp 0.7s ease 0.5s both;
    }
    .af-banner-icon { font-size: 2.5rem; flex-shrink: 0; }
    .af-banner h3 { font-family: 'Montserrat', sans-serif; font-size: 1.2rem; margin-bottom: 0.4rem; color: var(--accent); }
    .af-banner p { font-size: 0.9rem; opacity: 0.9; line-height: 1.6; color: #fff !important; }

    /* ── PAGE SECTIONS COMMON ── */
    .page-section { padding: 70px 5vw; }
    .page-section-alt { background: var(--cinza-claro); }
    .section-inner { max-width: 1200px; margin: 0 auto; }

    .section-tag {
      display: inline-block;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--verde);
      margin-bottom: 0.75rem;
    }
    .section-title {
      font-family: 'Montserrat', sans-serif;
      font-size: clamp(2rem, 3.5vw, 2.8rem);
      font-weight: 900;
      color: var(--cinza);
      line-height: 1.15;
      margin-bottom: 1.5rem;
    }
    .section-title em { font-style: normal; color: var(--verde); }
    .section-subtitle {
      font-size: 1rem;
      line-height: 1.75;
      color: var(--cinza-medio);
      max-width: 640px;
    }
    .divider {
      width: 48px; height: 4px;
      background: linear-gradient(90deg, var(--verde), var(--accent));
      border-radius: 2px;
      margin: 1rem 0 2rem;
    }

    /* ── SOBRE ── */
    .sobre-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: start;
      margin-top: 3rem;
    }
    .sobre-text p {
      font-size: 1rem;
      line-height: 1.8;
      color: var(--cinza-medio);
      margin-bottom: 1.2rem;
    }
    .visao-box {
      background: var(--verde);
      color: #fff;
      border-radius: 14px;
      padding: 2rem;
      margin-top: 1.5rem;
    }
    .visao-box h4 { font-family: 'Montserrat', sans-serif; font-size: 1.2rem; margin-bottom: 0.8rem; color: #fff; }
    .visao-box p { font-size: 0.92rem; line-height: 1.7; opacity: 0.92; color: #fff !important; }
    .valores-list { list-style: none; display: grid; gap: 0.75rem; }
    .valores-list li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      font-size: 0.93rem;
      color: var(--cinza);
      line-height: 1.5;
    }
    .valores-list li::before {
      content: '';
      flex-shrink: 0;
      width: 8px; height: 8px;
      background: var(--verde);
      border-radius: 50%;
      margin-top: 6px;
    }

    /* Agricultura familiar - bloco destacado */
    .af-highlight {
      margin-top: 3rem;
      border-radius: 20px;
      overflow: hidden;
      display: grid;
      grid-template-columns: 1fr 1fr;
    }
    .af-highlight-left {
      background: var(--verde-escuro);
      padding: 3rem;
      color: #fff;
    }
    .af-highlight-left .section-tag { color: var(--accent); }
    .af-highlight-left h3 {
      font-family: 'Montserrat', sans-serif;
      font-size: 1.8rem;
      font-weight: 900;
      margin-bottom: 1rem;
      line-height: 1.2;
    }
    .af-highlight-left h3 em { color: var(--accent); font-style: normal; }
    .af-highlight-left p { font-size: 0.93rem; line-height: 1.75; opacity: 0.88; margin-bottom: 1rem; }
    .af-highlight-right {
      background: var(--accent);
      padding: 3rem;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    .af-highlight-right h4 {
      font-family: 'Montserrat', sans-serif;
      font-size: 1.2rem;
      color: var(--verde-escuro);
      margin-bottom: 0.5rem;
      font-weight: 900;
    }
    .af-cat-list { list-style: none; display: grid; gap: 0.6rem; }
    .af-cat-list li {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.88rem;
      font-weight: 600;
      color: var(--verde-escuro);
    }
    .af-cat-list li::before {
      content: '✓';
      width: 22px; height: 22px;
      background: var(--verde-escuro);
      color: #fff;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.7rem;
      font-weight: 900;
      flex-shrink: 0;
    }

    /* ── SERVIÇOS ── */
    .servicos-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 1.5rem;
      margin-top: 3rem;
    }
    .servico-card {
      background: var(--branco);
      border: 1px solid rgba(58,122,46,0.12);
      border-radius: 14px;
      padding: 2rem;
      transition: transform .3s, box-shadow .3s, border-color .3s;
      position: relative;
      overflow: hidden;
    }
    .servico-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 20px 50px rgba(58,122,46,0.12);
      border-color: var(--verde-claro);
    }
    .servico-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--verde), var(--accent));
      transform: scaleX(0);
      transform-origin: left;
      transition: transform .3s;
    }
    .servico-card:hover::before { transform: scaleX(1); }
    .servico-icon {
      width: 52px; height: 52px;
      background: rgba(58,122,46,0.08);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      margin-bottom: 1.2rem;
    }
    .servico-card h3 { font-family: 'Montserrat', sans-serif; font-size: 1.1rem; margin-bottom: 0.75rem; color: var(--cinza); }
    .servico-card p { font-size: 0.88rem; line-height: 1.7; color: var(--cinza-medio); }

    /* Faixa agro familiar em serviços */
    .af-strip {
      background: linear-gradient(90deg, var(--verde-escuro) 0%, var(--verde) 100%);
      border-radius: 16px;
      padding: 2.5rem 3rem;
      color: #fff;
      margin-top: 3rem;
      display: flex;
      align-items: center;
      gap: 2rem;
      flex-wrap: wrap;
    }
    .af-strip-icon { font-size: 3rem; flex-shrink: 0; }
    .af-strip-text h3 { font-family: 'Montserrat', sans-serif; font-size: 1.4rem; margin-bottom: 0.5rem; }
    .af-strip-text h3 em { color: var(--accent); font-style: normal; }
    .af-strip-text p { font-size: 0.92rem; opacity: 0.88; line-height: 1.65; max-width: 600px; }

    /* ── BOAS PRÁTICAS ── */
    .bp-page { background: var(--verde-escuro); color: --cinza-claro; }
    .bp-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center;
    }
    .bp-page .section-tag { color: var(--accent); }
    .bp-page .section-subtitle { color: rgba(255,255,255,0.8); max-width: 100%; }
    .bp-features { list-style: none; display: grid; gap: 1rem; margin-top: 2rem; }
    .bp-features li {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      font-size: 0.93rem;
      line-height: 1.55;
      color: rgba(255,255,255,0.88);
    }
    .bp-icon {
      width: 36px; height: 36px;
      background: rgba(255,255,255,0.1);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      flex-shrink: 0;
    }
    .bp-visual {
      background: var(--verde-claro);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 20px;
      padding: 2.5rem;
      color: var(--branco);
    }
    .bp-visual h3,
    .bp-visual p {
      color: var(--branco) !important;
    }
    .bp-visual h3 { font-family: 'Montserrat', sans-serif; font-size: 1.5rem; margin-bottom: 1rem; color: var(--accent); }
    .bp-visual p { font-size: 0.92rem; line-height: 1.75; opacity: 0.88; margin-bottom: 1.5rem; }
    .bp-cta {
      display: inline-block;
      background: var(--accent);
      color: var(--verde-escuro);
      padding: 0.75rem 1.6rem;
      border-radius: 6px;
      text-decoration: none;
      font-weight: 700;
      font-size: 0.88rem;
      transition: background .2s;
      cursor: pointer;
      border: none;
    }
    .bp-cta:hover { background: #a8d44a; }

    /* ── REGULARIDADE ── */
    .doc-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 1.5rem;
      margin-top: 3rem;
    }
    .doc-card {
      background: var(--branco);
      border-radius: 14px;
      padding: 2rem;
      display: flex;
      flex-direction: column;
      gap: 1rem;
      box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    }
    .doc-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--verde);
      background: rgba(58,122,46,0.08);
      padding: 4px 10px;
      border-radius: 50px;
      width: fit-content;
    }
    .doc-card h3 { font-size: 1rem; font-weight: 600; color: var(--cinza); }
    .doc-card p { font-size: 0.84rem; color: var(--cinza-medio); line-height: 1.6; }
    .doc-detail { font-size: 0.78rem; color: var(--cinza-medio); }
    .doc-detail strong { color: var(--cinza); }

    /* ── DIRETORIA ── */
    .diretoria-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1.5rem;
      margin-top: 3rem;
    }
    .dir-card {
      text-align: center;
      padding: 2rem 1rem;
      background: var(--branco);
      border: 1px solid rgba(58,122,46,0.1);
      border-radius: 14px;
      transition: transform .3s, box-shadow .3s;
    }
    .dir-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }
    .dir-avatar {
      width: 72px; height: 72px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--verde), var(--accent));
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Montserrat', sans-serif;
      font-size: 1.6rem;
      color: --cinza-claro;
      font-weight: 700;
      margin: 0 auto 1rem;
    }
    .dir-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.3rem; }
    .dir-card span { font-size: 0.8rem; color: var(--verde); font-weight: 500; }
    .dir-subsection-label {
      font-size: .9rem;
      color: var(--cinza-medio);
      font-weight: 600;
      letter-spacing: .05em;
      text-transform: uppercase;
      margin-bottom: 0.5rem;
    }

    /* ── CONTATO ── */
    .contato-page { background: var(--cinza); color: #fff; }
    .contato-page .section-title { color: #fff; }
    .contato-page .section-tag { color: var(--accent); }
    .contato-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      margin-top: 3rem;
    }
    .contato-info { display: flex; flex-direction: column; gap: 1.5rem; }
    .contato-item { display: flex; gap: 14px; align-items: flex-start; }
    .contato-icon {
      width: 44px; height: 44px;
      background: rgba(255,255,255,0.08);
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.1rem;
      flex-shrink: 0;
    }
    .contato-item h4 { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
    .contato-item p, .contato-item a { font-size: 0.92rem; color: rgba(255,255,255,0.85); text-decoration: none; line-height: 1.6; }
    .contato-item a:hover { color: var(--accent); }
    .contato-form {
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 16px;
      padding: 2.5rem;
    }
    .contato-form h3 { font-family: 'Montserrat', sans-serif; font-size: 1.3rem; margin-bottom: 1.5rem; }
    .form-group { margin-bottom: 1.2rem; }
    .form-group label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 6px; }
    .form-group input,
    .form-group textarea,
    .form-group select {
      width: 100%;
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 8px;
      padding: 0.75rem 1rem;
      color: #fff;
      font-family: 'Montserrat', sans-serif;
      font-size: 0.92rem;
      outline: none;
      transition: border-color .2s;
    }
    .form-group input::placeholder,
    .form-group textarea::placeholder { color: rgba(255,255,255,0.35); }
    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus { border-color: var(--accent); }
    .form-group textarea { resize: vertical; min-height: 110px; }
    .form-group select option { background: var(--cinza); }
    .form-submit {
      width: 100%;
      background: var(--verde);
      color: #fff;
      border: none;
      border-radius: 8px;
      padding: 0.9rem;
      font-family: 'Montserrat', sans-serif;
      font-size: 0.95rem;
      font-weight: 600;
      cursor: pointer;
      transition: background .2s;
      margin-top: 0.5rem;
    }
    .form-submit:hover { background: var(--verde-claro); }

    /* ── FOOTER ── */
    footer {
      background: #1a1a1a;
      color: rgba(255,255,255,0.55);
      padding: 2.5rem 5vw;
      text-align: center;
      font-size: 0.83rem;
    }
    footer strong { color: rgba(255,255,255,0.85); }
    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
    }
    .footer-logo {
      font-family: 'Montserrat', sans-serif;
      font-size: 1.3rem;
      font-weight: 900;
      margin-bottom: 0.25rem;
    }
    .footer-logo span:first-child { color: var(--verde-claro); }
    .footer-logo span:last-child  { color: rgba(255,255,255,0.8); }
    .footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; margin: 0.5rem 0; }
    .footer-nav a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.8rem; cursor: pointer; transition: color .2s; }
    .footer-nav a:hover { color: var(--accent); }

    /* ── ANIMATIONS ── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(24px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeIn {
      from { opacity: 0; }
      to   { opacity: 1; }
    }
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible { opacity: 1; transform: none; }

    /* ── MOBILE ── */
    @media (max-width: 900px) {
      .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: #fff; padding: 1rem 5vw 2rem; border-top: 1px solid #eee; gap: 0.5rem; z-index: 999; }
      .nav-links.open { display: flex; }
      .hamburger { display: flex; }
      .hero-inner, .sobre-grid, .bp-grid, .contato-grid { grid-template-columns: 1fr; gap: 2.5rem; }
      .hero-visual { display: none; }
      .hero { padding-top: 40px; padding-bottom: 60px; }
      .page-section { padding: 60px 5vw; }
      .diretoria-grid { grid-template-columns: 1fr 1fr; }
      .af-highlight { grid-template-columns: 1fr; }
      .af-banner { flex-direction: column; text-align: center; }
    }
    @media (max-width: 480px) {
      .diretoria-grid { grid-template-columns: 1fr; }
      .hero-btns { flex-direction: column; }
      .af-strip { flex-direction: column; text-align: center; }
    }

    /* ── TICKER DE NOTÍCIAS (página inicial) ── */
    .news-ticker-bar {
      background: var(--verde-escuro);
      color: #fff;
      padding: 0;
      display: flex;
      align-items: stretch;
      overflow: hidden;
      height: 44px;
      position: relative;
    }
    .news-ticker-label {
      background: var(--verde);
      padding: 0 1.2rem;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      display: flex;
      align-items: center;
      gap: 6px;
      flex-shrink: 0;
      z-index: 2;
      white-space: nowrap;
    }
    .news-ticker-label::after {
      content: '';
      position: absolute;
      left: calc(1.2rem * 2 + 90px);
      top: 0;
      bottom: 0;
      width: 24px;
      background: linear-gradient(to right, var(--verde), transparent);
      pointer-events: none;
    }
    .news-ticker-track-wrap {
      overflow: hidden;
      flex: 1;
      display: flex;
      align-items: center;
      position: relative;
    }
    .news-ticker-track {
      display: flex;
      gap: 0;
      animation: tickerScroll 32s linear infinite;
      white-space: nowrap;
      will-change: transform;
    }
    .news-ticker-track:hover { animation-play-state: paused; cursor: pointer; }
    @keyframes tickerScroll {
      0%   { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }
    .news-ticker-item {
      display: inline-flex;
      align-items: center;
      font-size: 0.83rem;
      color: rgba(255,255,255,0.9);
      padding: 0 2.5rem;
      gap: 8px;
      cursor: pointer;
      transition: color .2s;
    }
    .news-ticker-item:hover { color: var(--accent); }
    .news-ticker-item::before {
      content: '●';
      color: var(--accent);
      font-size: 0.5rem;
      flex-shrink: 0;
    }
    .news-ticker-btn {
      background: none;
      border: none;
      color: rgba(255,255,255,0.5);
      padding: 0 0.8rem;
      cursor: pointer;
      font-size: 1rem;
      flex-shrink: 0;
      transition: color .2s;
      display: flex;
      align-items: center;
    }
    .news-ticker-btn:hover { color: #fff; }

    /* ══════════════════════════════════════════════
       PÁGINA DE NOTÍCIAS — Layout Portal
    ══════════════════════════════════════════════ */

    /* ── Cabeçalho ── */
    .news-hero {
      background: linear-gradient(135deg, var(--verde-escuro) 0%, var(--verde) 100%);
      padding: 60px 5vw 50px;
      color: #fff;
      text-align: center;
    }
    .news-hero h1 {
      font-family: 'Montserrat', sans-serif;
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 900;
      margin-bottom: 0.8rem;
    }
    .news-hero p { font-size: 1rem; opacity: 0.88; max-width: 520px; margin: 0 auto; }

    /* ── Barra de filtros ── */
    .news-filter-bar {
      background: #fff;
      border-bottom: 1px solid rgba(0,0,0,0.08);
      padding: 0 5vw;
      position: sticky;
      top: 72px;
      z-index: 100;
      display: flex;
      align-items: center;
      gap: 0.4rem;
      overflow-x: auto;
      height: 52px;
      scrollbar-width: none;
    }
    .news-filter-bar::-webkit-scrollbar { display: none; }
    .news-filter-btn {
      flex-shrink: 0;
      padding: 0.35rem 1rem;
      border-radius: 50px;
      border: 1.5px solid transparent;
      background: var(--cinza-claro);
      color: var(--cinza-medio);
      font-size: 0.78rem;
      font-weight: 600;
      cursor: pointer;
      transition: all .2s;
      white-space: nowrap;
      font-family: 'Montserrat', sans-serif;
    }
    .news-filter-btn:hover { border-color: var(--verde); color: var(--verde); background: rgba(58,122,46,0.06); }
    .news-filter-btn.active { background: var(--verde); color: #fff; border-color: var(--verde); }

    /* ── Layout principal: conteúdo + sidebar ── */
    .news-portal-wrap {
      max-width: 1200px;
      margin: 0 auto;
      padding: 2.5rem 5vw 4rem;
      display: grid;
      grid-template-columns: 1fr 320px;
      gap: 3rem;
      align-items: start;
    }

    /* ── DESTAQUE PRINCIPAL ── */
    .news-featured {
      cursor: pointer;
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid rgba(0,0,0,0.07);
      background: #fff;
      transition: box-shadow .3s;
      margin-bottom: 2.5rem;
    }
    .news-featured:hover { box-shadow: 0 20px 56px rgba(0,0,0,0.11); }
    .news-featured-img {
      width: 100%;
      height: 380px;
      background: linear-gradient(135deg, var(--verde-escuro), var(--verde));
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 5rem;
    }
    .news-featured-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    .news-featured-img .nf-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 55%);
    }
    .news-featured-img .nf-cat {
      position: absolute; top: 16px; left: 16px;
      background: var(--verde);
      color: #fff;
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 4px 12px;
      border-radius: 4px;
    }
    .news-featured-img .nf-date-badge {
      position: absolute; bottom: 16px; right: 16px;
      background: rgba(0,0,0,0.5);
      backdrop-filter: blur(6px);
      color: rgba(255,255,255,0.85);
      font-size: 0.72rem;
      padding: 4px 10px;
      border-radius: 4px;
    }
    .news-featured-body { padding: 1.8rem 2rem 2rem; }
    .news-featured-body h2 {
      font-family: 'Montserrat', sans-serif;
      font-size: clamp(1.4rem, 2.5vw, 1.9rem);
      font-weight: 900;
      color: var(--cinza);
      line-height: 1.2;
      margin-bottom: 0.9rem;
    }
    .news-featured-body p {
      font-size: 0.97rem;
      line-height: 1.75;
      color: var(--cinza-medio);
      margin-bottom: 1.2rem;
    }
    .news-read-more {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.83rem;
      font-weight: 700;
      color: var(--verde);
      text-decoration: none;
      cursor: pointer;
    }
    .news-read-more svg { width: 15px; height: 15px; transition: transform .2s; }
    .news-featured:hover .news-read-more svg { transform: translateX(4px); }

    /* ── LISTA DE NOTÍCIAS — alternância imagem/texto ── */
    .news-list { display: flex; flex-direction: column; gap: 0; }

    .news-item {
      display: grid;
      grid-template-columns: 200px 1fr;
      gap: 1.4rem;
      padding: 1.4rem 0;
      border-bottom: 1px solid rgba(0,0,0,0.07);
      cursor: pointer;
      transition: background .2s;
      border-radius: 8px;
    }
    .news-item:hover { background: rgba(58,122,46,0.03); padding-left: 0.5rem; padding-right: 0.5rem; }
    .news-item:last-child { border-bottom: none; }

    /* Alternância: impar = imagem esquerda, par = imagem direita */
    .news-item:nth-child(even) {
      grid-template-columns: 1fr 200px;
    }
    .news-item:nth-child(even) .news-item-img { order: 2; }
    .news-item:nth-child(even) .news-item-body { order: 1; }

    .news-item-img {
      height: 140px;
      border-radius: 10px;
      background: linear-gradient(135deg, var(--verde-escuro), var(--verde));
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2.5rem;
      flex-shrink: 0;
    }
    .news-item-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    .news-item-img .ni-cat {
      position: absolute; bottom: 8px; left: 8px;
      background: var(--verde);
      color: #fff;
      font-size: 0.62rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 2px 8px;
      border-radius: 3px;
    }

    .news-item-body { display: flex; flex-direction: column; justify-content: center; gap: 0.5rem; }
    .news-item-meta {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.73rem;
      color: var(--cinza-medio);
    }
    .news-item-meta .ni-sep { opacity: 0.4; }
    .news-item-body h3 {
      font-family: 'Montserrat', sans-serif;
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--cinza);
      line-height: 1.35;
      margin: 0;
    }
    .news-item-body p {
    font-size: 0.85rem;
    color: var(--cinza-medio);
    line-height: 1.6;

    display: -webkit-box;
    display: box;

    -webkit-box-orient: vertical;
    line-clamp: 2;

    overflow: hidden;
    }
    .news-item:hover h3 { color: var(--verde); }

    /* Mensagem quando não há notícias */
    .news-empty {
      text-align: center;
      padding: 3rem 0;
      color: var(--cinza-medio);
      grid-column: 1 / -1;
    }
    .news-empty svg { width: 48px; height: 48px; opacity: .3; margin-bottom: 1rem; }

    /* ── SIDEBAR ── */
    .news-sidebar { display: flex; flex-direction: column; gap: 1.8rem; }

    .sidebar-card {
      background: #fff;
      border-radius: 14px;
      border: 1px solid rgba(0,0,0,0.07);
      overflow: hidden;
    }
    .sidebar-card-header {
      padding: 1rem 1.2rem 0.8rem;
      border-bottom: 2px solid var(--verde);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .sidebar-card-header h4 {
      font-family: 'Montserrat', sans-serif;
      font-size: 1rem;
      font-weight: 900;
      color: var(--cinza);
    }

    /* Últimas notícias na sidebar */
    .sidebar-news-list { padding: 0.6rem 0; }
    .sidebar-news-item {
      display: flex;
      gap: 10px;
      padding: 0.75rem 1.2rem;
      cursor: pointer;
      transition: background .2s;
      border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .sidebar-news-item:last-child { border-bottom: none; }
    .sidebar-news-item:hover { background: rgba(58,122,46,0.04); }
    .sidebar-news-thumb {
      width: 60px;
      height: 54px;
      border-radius: 6px;
      background: linear-gradient(135deg, var(--verde-escuro), var(--verde));
      flex-shrink: 0;
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
    }
    .sidebar-news-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    .sidebar-news-info { flex: 1; }
    .sidebar-news-info .sni-cat {
      font-size: 0.66rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--verde);
      margin-bottom: 2px;
    }
    .sidebar-news-info h5 {
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--cinza);
    line-height: 1.35;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;

    overflow: hidden;
    }
    .sidebar-news-item:hover h5 { color: var(--verde); }
    .sidebar-news-info .sni-date {
      font-size: 0.68rem;
      color: var(--cinza-medio);
      margin-top: 3px;
    }

    /* Categorias na sidebar */
    .sidebar-cats { padding: 0.8rem 1.2rem 1rem; display: flex; flex-direction: column; gap: 0.4rem; }
    .sidebar-cat-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.5rem 0.6rem;
      border-radius: 6px;
      cursor: pointer;
      transition: background .2s;
      font-size: 0.85rem;
      color: var(--cinza);
      font-weight: 500;
    }
    .sidebar-cat-item:hover { background: rgba(58,122,46,0.06); color: var(--verde); }
    .sidebar-cat-item span { font-size: 0.72rem; background: var(--cinza-claro); padding: 2px 8px; border-radius: 50px; color: var(--cinza-medio); font-weight: 600; }

    /* Modal de notícia — mantém e aprimora */
    .news-modal-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.55);
      z-index: 2000;
      align-items: center;
      justify-content: center;
      padding: 20px;
      backdrop-filter: blur(4px);
    }
    .news-modal-overlay.open { display: flex; }
    .news-modal {
      background: #fff;
      border-radius: 16px;
      max-width: 720px;
      width: 100%;
      max-height: 88vh;
      overflow-y: auto;
      position: relative;
      animation: modalIn .3s ease;
    }
    @keyframes modalIn {
      from { opacity: 0; transform: scale(0.95) translateY(20px); }
      to   { opacity: 1; transform: scale(1) translateY(0); }
    }
    .news-modal-hero-img {
      width: 100%;
      height: 260px;
      background: linear-gradient(135deg, var(--verde-escuro), var(--verde));
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 4rem;
      border-radius: 16px 16px 0 0;
    }
    .news-modal-hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    .news-modal-header {
      padding: 1.8rem 2rem 1rem;
      border-bottom: 1px solid #eee;
      position: sticky;
      top: 0;
      background: #fff;
      z-index: 1;
    }
    .news-modal-close {
      position: absolute;
      top: 1rem; right: 1rem;
      width: 34px; height: 34px;
      background: var(--cinza-claro);
      border: none;
      border-radius: 50%;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      color: var(--cinza);
      font-size: 1rem;
      transition: background .2s;
    }
    .news-modal-close:hover { background: #e0e0e0; }
    .news-modal-meta {
      font-size: 0.75rem;
      color: var(--cinza-medio);
      margin-bottom: 0.6rem;
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }
    .news-modal-title {
      font-family: 'Montserrat', sans-serif;
      font-size: 1.5rem;
      font-weight: 900;
      color: var(--cinza);
      line-height: 1.25;
    }
    .news-modal-body { padding: 1.5rem 2rem 2.5rem; }
    .news-modal-body p { font-size: 0.97rem; line-height: 1.85; color: var(--cinza-medio); margin-bottom: 1.1rem; }
    .news-modal-body .news-body-img {
      width: 100%;
      max-height: 380px;
      object-fit: cover;
      border-radius: 10px;
      margin: 1.2rem 0 1.4rem;
      display: block;
    }
    /* Divisor de seção no formulário admin */
    .admin-form-section {
      margin: 1.4rem 0 0.6rem;
      padding: 0.5rem 0.9rem;
      background: #f5f9f4;
      border-left: 3px solid var(--verde);
      border-radius: 0 6px 6px 0;
      font-size: 0.8rem;
      font-weight: 700;
      color: var(--verde-escuro);
      letter-spacing: .04em;
      text-transform: uppercase;
    }
    .admin-form-optional {
      font-size: 0.72rem;
      font-weight: 400;
      color: var(--cinza-medio);
      margin-left: 6px;
      text-transform: none;
      letter-spacing: 0;
    }

    /* Responsive */
    @media (max-width: 900px) {
      .news-portal-wrap { grid-template-columns: 1fr; gap: 2rem; }
      .news-sidebar { display: none; } /* Sidebar escondida no mobile */
      .news-item { grid-template-columns: 140px 1fr; }
      .news-item:nth-child(even) { grid-template-columns: 140px 1fr; }
      .news-item:nth-child(even) .news-item-img { order: 1; }
      .news-item:nth-child(even) .news-item-body { order: 2; }
      .news-featured-img { height: 260px; }
      .news-modal { max-height: 92vh; }
      .news-modal-hero-img { height: 200px; }
    }
    @media (max-width: 480px) {
      .news-item { grid-template-columns: 100px 1fr; gap: 1rem; }
      .news-item-img { height: 110px; }
      .news-featured-img { height: 200px; font-size: 3rem; }
    }
    .hero-slider {
      position: relative;
      width: 100%;
      height: calc(90vh - 72px);
      min-height: 500px;
      overflow: hidden;
    }
    .slider-track {
      display: flex;
      height: 100%;
      transition: transform 0.7s cubic-bezier(0.77, 0, 0.18, 1);
      will-change: transform;
    }
    .slide {
      min-width: 100%;
      height: 100%;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .slide-bg {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      transform: scale(1.05);
      transition: transform 8s ease;
    }
    .slide.active .slide-bg { transform: scale(1); }

    /* Vídeo de fundo */
    .slide-video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      pointer-events: none;
    }
    /* Ícone de mudo/som */
    .slide-mute-btn {
      position: absolute;
      bottom: 60px;
      right: 2vw;
      z-index: 12;
      width: 38px;
      height: 38px;
      background: rgba(0,0,0,0.4);
      border: 1px solid rgba(255,255,255,0.25);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: #fff;
      transition: background .2s;
      backdrop-filter: blur(6px);
    }
    .slide-mute-btn:hover { background: rgba(0,0,0,0.65); }
    .slide-mute-btn svg { width: 16px; height: 16px; }
    .slide-overlay {
      position: absolute;
      inset: 0;
    }
    .slide-content {
      position: relative;
      z-index: 2;
      max-width: 780px;
      padding: 0 5vw;
      text-align: center;
      animation: sliderFadeUp 0.8s ease both;
    }
    @keyframes sliderFadeUp {
      from { opacity: 0; transform: translateY(30px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .slide-tag {
      display: inline-block;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(141,198,63, 0.80);
      background: rgba(141,198,63,0.15);
      border: 1px solid rgba(141,198,63,0.35);
      padding: 5px 16px;
      border-radius: 50px;
      margin-bottom: 1.4rem;
    }
    .slide-title {
      font-family: 'Montserrat', sans-serif;
      font-size: clamp(2rem, 4.5vw, 3.6rem);
      font-weight: 900;
      color: #fff;
      line-height: 1.1;
      margin-bottom: 1.2rem;
      text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    }
    .slide-title em { font-style: normal; color: var(--accent); }
    .slide-desc {
      font-size: clamp(0.95rem, 1.5vw, 1.1rem);
      color: rgba(255,255,255,0.88);
      line-height: 1.75;
      margin-bottom: 2.2rem;
      text-shadow: 0 1px 8px rgba(0,0,0,0.4);
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }
    .slide-btns {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
    }
    .slide-btn-primary {
      display: inline-block;
      background: var(--verde);
      color: #fff;
      padding: 0.85rem 2.2rem;
      border-radius: 6px;
      font-weight: 600;
      font-size: 0.92rem;
      border: none;
      cursor: pointer;
      transition: background .2s, transform .2s;
      text-decoration: none;
    }
    .slide-btn-primary:hover { background: var(--verde-escuro); transform: translateY(-2px); }
    .slide-btn-outline {
      display: inline-block;
      border: 2px solid rgba(255,255,255,0.7);
      color: #fff;
      padding: 0.82rem 2rem;
      border-radius: 6px;
      font-weight: 600;
      font-size: 0.92rem;
      cursor: pointer;
      background: rgba(255,255,255,0.08);
      backdrop-filter: blur(4px);
      transition: all .2s;
      text-decoration: none;
    }
    .slide-btn-outline:hover { background: rgba(255,255,255,0.18); border-color: #fff; }

    /* Arrows */
    .slider-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 10;
      width: 50px;
      height: 50px;
      background: rgba(255,255,255,0.15);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255,255,255,0.25);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background .2s, transform .2s;
      color: #fff;
    }
    .slider-arrow:hover { background: rgba(255,255,255,0.28); transform: translateY(-50%) scale(1.08); }
    .slider-arrow-prev { left: 2vw; }
    .slider-arrow-next { right: 2vw; }
    .slider-arrow svg { width: 20px; height: 20px; }

    /* Dots */
    .slider-dots {
      position: absolute;
      bottom: 28px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 10;
      display: flex;
      gap: 10px;
      align-items: center;
    }
    .slider-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(255,255,255,0.4);
      border: none;
      cursor: pointer;
      transition: all .3s;
      padding: 0;
    }
    .slider-dot.active {
      background: var(--accent);
      width: 26px;
      border-radius: 4px;
    }

    /* Progress bar */
    .slider-progress {
      position: absolute;
      bottom: 0;
      left: 0;
      height: 3px;
      background: var(--verde-claro);
      z-index: 10;
      width: 0%;
      transition: width 0.1s linear;
    }

    @media (max-width: 900px) {
      .hero-slider { height: 70vh; min-height: 420px; }
      .slider-arrow { width: 40px; height: 40px; }
    }
    @media (max-width: 480px) {
      .hero-slider { height: 88vh; min-height: 380px; }
      .slide-btns { flex-direction: column; align-items: center; }
      .slider-arrow { display: none; }
    }

    /* Páginas que têm banner de vídeo: o banner ocupa o espaço do padding-top */
    .page:not(#page-inicio):has(.page-video-banner) {
      padding-top: 72px; /* mantém apenas a nav */
    }
    /* O banner de vídeo já compensa visualmente o espaço da nav */
    .page-video-banner {
      margin-top: 0;
    }

    /* ══════════════════════════════════════════════
       BANNER DE VÍDEO — cabeçalho das páginas internas
       Aparece no topo de todas as páginas exceto Início,
       some suavemente ao rolar.
    ══════════════════════════════════════════════ */
    .page-video-banner {
      position: relative;
      width: 100%;
      height: 340px;
      overflow: hidden;
      /* O banner fica "sticky" no topo da página enquanto está visível */
    }
    @media (max-width: 768px) {
      .page-video-banner { height: 240px; }
    }

    .page-video-banner video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      pointer-events: none;
    }
    .page-video-banner .pvb-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        160deg,
        rgba(15, 40, 10, 0.55) 0%,
        rgba(0, 0, 0, 0.40) 100%
      );
      opacity: 0; /* escondido por padrão — só aparece quando há vídeo */
      transition: opacity 0.4s;
    }
    .page-video-banner.has-video .pvb-overlay {
      opacity: 1;
    }
    /* Fundo escuro quando não há vídeo ainda */
    .page-video-banner:not(.has-video) {
      background: linear-gradient(135deg, #1a3a12, #2d6122);
    }
    .page-video-banner .pvb-content {
      position: relative;
      z-index: 2;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-end;
      padding: 2.5rem 5vw;
      max-width: 1200px;
      margin: 0 auto;
    }
    .page-video-banner .pvb-tag {
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 0.6rem;
      opacity: 0.9;
    }
    .page-video-banner .pvb-title {
      font-family: 'Montserrat', sans-serif;
      font-size: clamp(1.8rem, 3.5vw, 2.8rem);
      font-weight: 900;
      color: #fff;
      line-height: 1.12;
      text-shadow: 0 2px 16px rgba(0,0,0,0.4);
      margin: 0;
    }
    .page-video-banner .pvb-title em {
      font-style: normal;
      color: var(--accent);
    }

    /* Faixa verde suave na parte inferior do banner para transição */
    .page-video-banner::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 60px;
      background: linear-gradient(to bottom, transparent, rgba(244,244,240,0.6));
      pointer-events: none;
    }

    /* Scroll-fade: controlado via JS com opacity inline */
    .page-video-banner {
      transition: opacity 0.15s linear;
      will-change: opacity;
    }

    /* ══════════════════════════════════════════════
       NOTÍCIAS — loading / empty state
    ══════════════════════════════════════════════ */
    .news-loading {
      grid-column: 1/-1;
      text-align: center;
      padding: 4rem 0;
      color: var(--cinza-medio);
    }
    .news-loading .spinner {
      width: 40px; height: 40px;
      border: 3px solid rgba(58,122,46,0.15);
      border-top-color: var(--verde);
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
      margin: 0 auto 1rem;
    }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* ══════════════════════════════════════════════
       PAINEL ADMIN
    ══════════════════════════════════════════════ */
    #page-admin {
      background: #f0f2f5;
      min-height: 100vh;
      padding-top: 72px;
    }

    /* ── Login ── */
    .admin-login-wrap {
      min-height: calc(100vh - 72px);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 2rem;
    }
    .admin-login-box {
      background: #fff;
      border-radius: 16px;
      padding: 2.5rem 2rem;
      width: 100%;
      max-width: 400px;
      box-shadow: 0 8px 40px rgba(0,0,0,0.10);
      text-align: center;
    }
    .admin-login-box .al-logo {
      font-family: 'Montserrat', sans-serif;
      font-size: 1.6rem;
      font-weight: 900;
      margin-bottom: 0.3rem;
    }
    .admin-login-box .al-logo span { color: var(--verde); }
    .admin-login-box .al-sub {
      font-size: 0.78rem;
      color: var(--cinza-medio);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 2rem;
    }
    .admin-login-box label {
      display: block;
      text-align: left;
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--cinza);
      margin-bottom: 0.4rem;
    }
    .admin-login-box input {
      width: 100%;
      padding: 0.75rem 1rem;
      border: 1.5px solid #ddd;
      border-radius: 8px;
      font-size: 0.92rem;
      font-family: 'Montserrat', sans-serif;
      margin-bottom: 1.1rem;
      outline: none;
      transition: border-color .2s;
    }
    .admin-login-box input:focus { border-color: var(--verde); }
    .admin-login-btn {
      width: 100%;
      background: var(--verde);
      color: #fff;
      border: none;
      padding: 0.85rem;
      border-radius: 8px;
      font-size: 0.95rem;
      font-weight: 600;
      cursor: pointer;
      font-family: 'Montserrat', sans-serif;
      transition: background .2s;
    }
    .admin-login-btn:hover { background: var(--verde-escuro); }
    .admin-login-err {
      color: #d32f2f;
      font-size: 0.82rem;
      margin-top: 0.8rem;
      display: none;
    }
    .admin-login-err.show { display: block; }

    /* ── Dashboard ── */
    .admin-dash { display: none; }
    .admin-dash.show { display: block; }

    .admin-topbar {
      background: #fff;
      border-bottom: 1px solid #e0e0e0;
      padding: 0 2rem;
      height: 56px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: sticky;
      top: 72px;
      z-index: 50;
    }
    .admin-topbar-title {
      font-weight: 700;
      font-size: 0.95rem;
      color: var(--cinza);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .admin-topbar-title span {
      background: var(--verde);
      color: #fff;
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 2px 8px;
      border-radius: 4px;
    }
    .admin-logout-btn {
      background: none;
      border: 1.5px solid #ddd;
      padding: 0.4rem 1rem;
      border-radius: 6px;
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--cinza-medio);
      cursor: pointer;
      font-family: 'Montserrat', sans-serif;
      transition: all .2s;
    .admin-file-link-btn {
      background: none;
      border: 1.5px solid var(--verde);
      padding: 0.4rem 0.9rem;
      border-radius: 6px;
      font-size: 0.78rem;
      font-weight: 600;
      color: var(--verde);
      cursor: pointer;
      font-family: 'Montserrat', sans-serif;
      transition: all .2s;
      display: flex;
      align-items: center;
      gap: 5px;
      white-space: nowrap;
    }
    .admin-file-link-btn:hover { background: rgba(58,122,46,0.07); }
    .admin-file-link-btn.linked { background: rgba(58,122,46,0.1); border-color: var(--verde); color: var(--verde-escuro); }
    .admin-save-status {
      font-size: 0.72rem;
      color: var(--cinza-medio);
      display: flex;
      align-items: center;
      gap: 4px;
      white-space: nowrap;
    }
    .admin-save-status .dot {
      width: 7px; height: 7px;
      border-radius: 50%;
      background: #ccc;
      flex-shrink: 0;
    }
    .admin-save-status.linked .dot { background: var(--verde); }
    .admin-save-status.fallback .dot { background: #f0a500; }
    }
    .admin-logout-btn:hover { border-color: #d32f2f; color: #d32f2f; }

    .admin-body { padding: 2rem; max-width: 1100px; margin: 0 auto; }

    .admin-stats {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 1rem;
      margin-bottom: 2rem;
    }
    .admin-stat {
      background: #fff;
      border-radius: 12px;
      padding: 1.4rem 1.6rem;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    .admin-stat .as-val {
      font-family: 'Montserrat', sans-serif;
      font-size: 2rem;
      font-weight: 900;
      color: var(--verde);
      line-height: 1;
      margin-bottom: 0.3rem;
    }
    .admin-stat .as-label {
      font-size: 0.78rem;
      color: var(--cinza-medio);
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    /* ── Cabeçalho da lista + botão ── */
    .admin-section-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 1.2rem;
    }
    .admin-section-header h2 {
      font-family: 'Montserrat', sans-serif;
      font-size: 1.3rem;
      font-weight: 900;
      color: var(--cinza);
    }
    .admin-new-btn {
      background: var(--verde);
      color: #fff;
      border: none;
      padding: 0.6rem 1.3rem;
      border-radius: 8px;
      font-size: 0.85rem;
      font-weight: 600;
      cursor: pointer;
      font-family: 'Montserrat', sans-serif;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: background .2s;
    }
    .admin-new-btn:hover { background: var(--verde-escuro); }

    /* ── Lista de notícias no admin ── */
    .admin-news-list { display: grid; gap: 1rem; }
    .admin-news-item {
      background: #fff;
      border-radius: 12px;
      padding: 1.2rem 1.5rem;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      display: grid;
      grid-template-columns: 60px 1fr auto;
      gap: 1rem;
      align-items: center;
    }
    .admin-news-thumb {
      width: 60px; height: 60px;
      border-radius: 8px;
      object-fit: cover;
      background: linear-gradient(135deg, var(--verde-escuro), var(--verde));
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      flex-shrink: 0;
      overflow: hidden;
    }
    .admin-news-thumb img { width: 100%; height: 100%; object-fit: cover; }
    .admin-news-info .ani-cat {
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--verde);
      margin-bottom: 0.25rem;
    }
    .admin-news-info .ani-title {
      font-size: 0.92rem;
      font-weight: 700;
      color: var(--cinza);
      line-height: 1.35;
      margin-bottom: 0.2rem;
    }
    .admin-news-info .ani-date {
      font-size: 0.75rem;
      color: var(--cinza-medio);
    }
    .admin-news-actions { display: flex; gap: 8px; flex-shrink: 0; }
    .admin-action-btn {
      border: none;
      border-radius: 7px;
      width: 34px; height: 34px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all .2s;
      font-size: 0.85rem;
    }
    .admin-action-btn.edit { background: rgba(58,122,46,0.08); color: var(--verde); }
    .admin-action-btn.edit:hover { background: var(--verde); color: #fff; }
    .admin-action-btn.del { background: rgba(211,47,47,0.08); color: #d32f2f; }
    .admin-action-btn.del:hover { background: #d32f2f; color: #fff; }

    /* ── Modal do formulário ── */
    .admin-modal-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.5);
      z-index: 3000;
      align-items: center;
      justify-content: center;
      padding: 1rem;
      backdrop-filter: blur(4px);
    }
    .admin-modal-overlay.open { display: flex; }
    .admin-modal {
      background: #fff;
      border-radius: 16px;
      width: 100%;
      max-width: 680px;
      max-height: 92vh;
      overflow-y: auto;
      animation: modalIn .25s ease;
    }
    .admin-modal-header {
      padding: 1.5rem 2rem 1rem;
      border-bottom: 1px solid #eee;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: sticky;
      top: 0;
      background: #fff;
      z-index: 1;
    }
    .admin-modal-header h3 {
      font-family: 'Montserrat', sans-serif;
      font-size: 1.2rem;
      font-weight: 900;
      color: var(--cinza);
    }
    .admin-modal-close {
      background: #f0f0f0;
      border: none;
      width: 32px; height: 32px;
      border-radius: 50%;
      cursor: pointer;
      font-size: 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background .2s;
    }
    .admin-modal-close:hover { background: #ddd; }
    .admin-modal-body { padding: 1.5rem 2rem 2rem; }

    .admin-form-group { margin-bottom: 1.2rem; }
    .admin-form-group label {
      display: block;
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--cinza);
      margin-bottom: 0.4rem;
    }
    .admin-form-group input,
    .admin-form-group select,
    .admin-form-group textarea {
      width: 100%;
      padding: 0.75rem 1rem;
      border: 1.5px solid #ddd;
      border-radius: 8px;
      font-size: 0.92rem;
      font-family: 'Montserrat', sans-serif;
      outline: none;
      transition: border-color .2s;
      color: var(--cinza);
      background: #fff;
    }
    .admin-form-group input:focus,
    .admin-form-group select:focus,
    .admin-form-group textarea:focus { border-color: var(--verde); }
    .admin-form-group textarea { min-height: 140px; resize: vertical; }
    .admin-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

    /* Upload de imagem */
    .admin-img-upload {
      border: 2px dashed #ddd;
      border-radius: 10px;
      padding: 1.5rem;
      text-align: center;
      cursor: pointer;
      transition: border-color .2s, background .2s;
      position: relative;
    }
    .admin-img-upload:hover { border-color: var(--verde); background: rgba(58,122,46,0.03); }
    .admin-img-upload input[type=file] {
      position: absolute;
      inset: 0;
      opacity: 0;
      cursor: pointer;
      width: 100%;
      height: 100%;
      padding: 0;
      border: none;
    }
    .admin-img-upload .aiu-icon { font-size: 2rem; margin-bottom: 0.5rem; }
    .admin-img-upload .aiu-label { font-size: 0.85rem; color: var(--cinza-medio); }
    .admin-img-upload .aiu-label strong { color: var(--verde); }
    .admin-img-preview {
      width: 100%;
      max-height: 180px;
      object-fit: cover;
      border-radius: 8px;
      margin-top: 0.8rem;
      display: none;
    }
    .admin-img-preview.show { display: block; }

    /* Barra inferior do modal */
    .admin-modal-footer {
      padding: 1rem 2rem 1.5rem;
      display: flex;
      gap: 0.8rem;
      justify-content: flex-end;
    }
    .admin-cancel-btn {
      background: none;
      border: 1.5px solid #ddd;
      padding: 0.65rem 1.4rem;
      border-radius: 8px;
      font-size: 0.88rem;
      font-weight: 600;
      color: var(--cinza-medio);
      cursor: pointer;
      font-family: 'Montserrat', sans-serif;
      transition: all .2s;
    }
    .admin-cancel-btn:hover { border-color: #aaa; color: var(--cinza); }
    .admin-save-btn {
      background: var(--verde);
      color: #fff;
      border: none;
      padding: 0.65rem 1.8rem;
      border-radius: 8px;
      font-size: 0.88rem;
      font-weight: 600;
      cursor: pointer;
      font-family: 'Montserrat', sans-serif;
      transition: background .2s;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .admin-save-btn:hover { background: var(--verde-escuro); }
    .admin-save-btn:disabled { opacity: 0.6; cursor: not-allowed; }

    /* Toast de feedback */
    .admin-toast {
      position: fixed;
      bottom: 2rem;
      left: 50%;
      transform: translateX(-50%) translateY(80px);
      background: #333;
      color: #fff;
      padding: 0.8rem 1.6rem;
      border-radius: 8px;
      font-size: 0.88rem;
      font-weight: 500;
      z-index: 9999;
      transition: transform 0.3s ease, opacity 0.3s ease;
      opacity: 0;
      pointer-events: none;
      white-space: nowrap;
    }
    .admin-toast.show {
      transform: translateX(-50%) translateY(0);
      opacity: 1;
    }
    .admin-toast.success { background: var(--verde); }
    .admin-toast.error   { background: #d32f2f; }

    /* Confirm overlay */
    .admin-confirm-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.5);
      z-index: 4000;
      align-items: center;
      justify-content: center;
      padding: 1rem;
    }
    .admin-confirm-overlay.open { display: flex; }
    .admin-confirm-box {
      background: #fff;
      border-radius: 14px;
      padding: 2rem;
      max-width: 380px;
      width: 100%;
      text-align: center;
      animation: modalIn .2s ease;
    }
    .admin-confirm-box h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--cinza); }
    .admin-confirm-box p  { font-size: 0.88rem; color: var(--cinza-medio); margin-bottom: 1.5rem; line-height: 1.6; }
    .admin-confirm-btns { display: flex; gap: 0.8rem; justify-content: center; }
    .admin-confirm-cancel {
      background: #f0f0f0; border: none; padding: 0.65rem 1.4rem;
      border-radius: 8px; font-size: 0.88rem; font-weight: 600;
      cursor: pointer; font-family: 'Montserrat', sans-serif; color: var(--cinza);
      transition: background .2s;
    }
    .admin-confirm-cancel:hover { background: #e0e0e0; }
    .admin-confirm-ok {
      background: #d32f2f; border: none; padding: 0.65rem 1.4rem;
      border-radius: 8px; font-size: 0.88rem; font-weight: 600;
      cursor: pointer; font-family: 'Montserrat', sans-serif; color: #fff;
      transition: background .2s;
    }
    .admin-confirm-ok:hover { background: #b71c1c; }

    /* Supabase config banner (mostrado só antes de configurar) */
    .admin-config-banner {
      background: linear-gradient(135deg, #fff3cd, #fff8e1);
      border: 1px solid #ffc107;
      border-radius: 10px;
      padding: 1rem 1.4rem;
      margin-bottom: 1.5rem;
      font-size: 0.85rem;
      color: #7a5c00;
      display: flex;
      gap: 10px;
      align-items: flex-start;
    }
    .admin-config-banner code {
      background: rgba(0,0,0,0.07);
      padding: 1px 5px;
      border-radius: 3px;
      font-size: 0.8rem;
    }

    /* ── Abas do admin ── */
    .admin-tabs {
      display: flex;
      gap: 4px;
      background: #e8eaed;
      padding: 4px;
      border-radius: 10px;
      margin-bottom: 2rem;
    }
    .admin-tab {
      flex: 1;
      background: none;
      border: none;
      padding: 0.6rem 0.5rem;
      border-radius: 7px;
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--cinza-medio);
      cursor: pointer;
      font-family: 'Montserrat', sans-serif;
      transition: all .2s;
      white-space: nowrap;
    }
    .admin-tab.active {
      background: #fff;
      color: var(--verde);
      box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    }
    .admin-tab-panel { display: none; }
    .admin-tab-panel.active { display: block; }

    /* ── Carrossel admin ── */
    .admin-slides-list { display: grid; gap: 1rem; }
    .admin-slide-item {
      background: #fff;
      border-radius: 12px;
      padding: 1rem 1.4rem;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      display: grid;
      grid-template-columns: 56px 1fr auto;
      gap: 1rem;
      align-items: center;
    }
    .admin-slide-thumb {
      width: 56px; height: 56px;
      border-radius: 8px;
      overflow: hidden;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
    }
    .admin-slide-thumb img { width:100%; height:100%; object-fit:cover; }
    .admin-slide-info .asi-type {
      font-size: 0.68rem; font-weight: 700; letter-spacing: .1em;
      text-transform: uppercase; color: var(--verde); margin-bottom: .2rem;
    }
    .admin-slide-info .asi-title {
      font-size: 0.9rem; font-weight: 700; color: var(--cinza); line-height: 1.3;
    }
    .admin-slide-info .asi-tag {
      font-size: 0.75rem; color: var(--cinza-medio); margin-top: .15rem;
    }
    .slide-type-badge {
      display: inline-block;
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: .08em;
      text-transform: uppercase;
      padding: 2px 7px;
      border-radius: 4px;
      margin-left: 6px;
    }
    .slide-type-badge.img  { background:#e8f5e9; color:#2e7d32; }
    .slide-type-badge.vid  { background:#e3f2fd; color:#1565c0; }
    .slide-type-badge.grad { background:#f3e5f5; color:#6a1b9a; }

    /* ── Vídeo global admin ── */
    .admin-video-card {
      background: #fff;
      border-radius: 14px;
      padding: 1.8rem;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    .admin-video-card h3 {
      font-family: 'Montserrat', sans-serif;
      font-size: 1.1rem;
      font-weight: 900;
      color: var(--cinza);
      margin-bottom: .4rem;
    }
    .admin-video-card p {
      font-size: .85rem;
      color: var(--cinza-medio);
      line-height: 1.65;
      margin-bottom: 1.2rem;
    }
    .admin-video-preview {
      width: 100%;
      max-height: 200px;
      object-fit: cover;
      border-radius: 8px;
      margin-bottom: 1rem;
      display: none;
    }
    .admin-video-preview.show { display: block; }
    .admin-save-video-btn {
      background: var(--verde);
      color: #fff;
      border: none;
      padding: .7rem 1.6rem;
      border-radius: 8px;
      font-size: .88rem;
      font-weight: 600;
      cursor: pointer;
      font-family: 'Montserrat', sans-serif;
      transition: background .2s;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .admin-save-video-btn:hover { background: var(--verde-escuro); }

    /* Konami / acesso secreto */
    #adminAccessHint {
      position: fixed;
      bottom: 1.5rem;
      right: 1.5rem;
      background: rgba(0,0,0,0.75);
      color: #fff;
      padding: .5rem 1rem;
      border-radius: 8px;
      font-size: .75rem;
      opacity: 0;
      pointer-events: none;
      transition: opacity .4s;
      z-index: 9999;
      backdrop-filter: blur(6px);
    }
    #adminAccessHint.show { opacity: 1; }

    @media (max-width: 600px) {
      .admin-body { padding: 1rem; }
      .admin-form-row { grid-template-columns: 1fr; }
      .admin-news-item { grid-template-columns: 50px 1fr; }
      .admin-news-actions { grid-column: 1/-1; }
      .admin-modal-body { padding: 1rem 1.2rem; }
      .admin-tab { font-size: .72rem; padding: .5rem .3rem; }
    }


/* ══════════════════════════════════════════════
   HERO COM VÍDEO GLOBAL DE FUNDO
   O fundo verde aparece primeiro; depois o vídeo entra em fade.
══════════════════════════════════════════════ */
.hero-slider {
  background: linear-gradient(135deg, #1a3a12 0%, #2d6122 40%, #3a7a2e 70%, #1f4d17 100%);
  isolation: isolate;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 2.4s ease, transform 8s ease;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-video.loaded {
  opacity: 1;
  transform: scale(1);
}

.hero-bg-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.22) 0%,
    rgba(0, 0, 0, 0.58) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.slider-track {
  position: relative;
  z-index: 2;
}

/* Os slides agora carregam apenas conteúdo/texto; o fundo é o vídeo global. */
.hero-slider .slide-bg,
.hero-slider .slide > .slide-video {
  display: none !important;
}

/* Mantém a leitura do texto confortável sobre o vídeo. */
.hero-slider .slide-overlay {
  z-index: 1;
}

.hero-slider .slide-content {
  z-index: 2;
}

/* Não há mais botão de som por slide, pois o vídeo global roda mudo em loop. */
.slide-mute-btn {
  display: none !important;
}


/* ══════════════════════════════════════════════
   CORREÇÃO: remove camadas individuais dos slides
   Agora só o vídeo global e o overlay global ficam no fundo.
══════════════════════════════════════════════ */
.hero-slider .slide {
  background: transparent !important;
}

.hero-slider .slide-overlay {
  display: none !important;
}

.hero-slider .slide::before,
.hero-slider .slide::after {
  display: none !important;
  content: none !important;
}

.hero-slider .slide-content {
  position: relative;
  z-index: 3;
}

.hero-slider .slider-track {
  background: transparent !important;
}

.hero-slider .slide.active .slide-bg {
  transform: none !important;
}


/* Remove qualquer fundo/overlay individual dos slides para o vídeo global ficar limpo. */
.hero-slider .slide {
  background: transparent !important;
}

.hero-slider .slide-overlay {
  display: none !important;
}

.hero-slider .slide::before,
.hero-slider .slide::after {
  display: none !important;
  content: none !important;
}

.hero-slider .slider-track {
  background: transparent !important;
}

.hero-slider .slide-content {
  position: relative;
  z-index: 3;
}


/* =========================================================
   CORREÇÕES PONTUAIS — SEM ALTERAR DIRETORIA
   ========================================================= */

/* Desativa definitivamente o banner/slider verde das abas internas */
.page-video-banner {
    display: none !important;
}

/* Boas Práticas no mesmo padrão claro das demais abas */
#page-boas-praticas,
#page-boas-praticas .bp-page {
    background: var(--cinza-claro) !important;
    color: var(--cinza) !important;
}

#page-boas-praticas .section-title,
#page-boas-praticas .section-title em,
#page-boas-praticas .section-subtitle,
#page-boas-praticas .bp-features li,
#page-boas-praticas .bp-visual h3,
#page-boas-praticas .bp-visual p {
    color: var(--cinza) !important;
}

#page-boas-praticas .section-title em,
#page-boas-praticas .bp-visual h3 {
    color: var(--branco) !important;
}

#page-boas-praticas .section-subtitle,
#page-boas-praticas .bp-features li,
#page-boas-praticas .bp-visual p {
    color: var(--branco) !important;
}

#page-boas-praticas .bp-icon {
    background: rgba(58,122,46,0.08) !important;
    color: var(--verde) !important;
}

#page-boas-praticas .bp-visual {
    background: var(--verde-claro) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06) !important;
}

#page-boas-praticas .bp-cta {
    background: var(--verde) !important;
    color: #fff !important;
}

/* ===== FOTOS CIRCULARES DA DIRETORIA ===== */
.dir-avatar.dir-avatar-photo {
    padding: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
}

.dir-avatar.dir-avatar-photo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}

#page-boas-praticas .bp-visual {
    background: var(--verde-claro) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06) !important;
    color: var(--branco) !important;
}

#page-boas-praticas .bp-visual h3,
#page-boas-praticas .bp-visual p {
    color: var(--branco) !important;
}

/* Mantém a coluna esquerda legível no fundo claro */
#page-boas-praticas .bp-features li {
    color: var(--cinza-medio) !important;
}

#page-boas-praticas .bp-page .section-subtitle {
    color: var(--cinza-medio) !important;
}

#page-boas-praticas .section-title {
    color: var(--cinza) !important;
}

#page-boas-praticas .section-title em {
    color: var(--verde) !important;
}



/* ===== PADRONIZAÇÃO DE FUNDO DAS ABAS ===== */
#page-quem-somos,
#page-servicos,
#page-publicacoes,
#page-boas-praticas,
#page-diretoria,
#page-noticias,
#page-contato {
    background: var(--cinza-claro) !important;
}
