/*
Theme Name: Caça e Pesca
Theme URI: https://cacaepesca.org
Author: Rodney Moore
Description: Campo e água com ética, legalidade e segurança.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: cacaepesca
*/


  :root {
    --bg: #f4f1ea;
    --ink: #1c2a1f;
    --muted: #5c6b5e;
    --forest: #2d5a3d;
    --forest-deep: #1a3a28;
    --clay: #b45309;
    --water: #0e7490;
    --leaf: #65a30d;
    --card: #fffdf8;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: 'Nunito Sans', system-ui, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.55; }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }
  .wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

  /* Decorative SVG motifs */
  .motif { position: absolute; pointer-events: none; opacity: .12; }
  .motif-leaf { width: 120px; height: 120px; }
  .motif-fish { width: 100px; height: 60px; }

  /* NAV */
  .nav { background: var(--card); border-bottom: 1px solid #e5dfd3; }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
  .logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.15rem; color: var(--forest-deep); }
  .logo svg { width: 42px; height: 42px; }
  .nav-links { display: flex; gap: 24px; font-size: .9rem; font-weight: 600; color: var(--muted); }
  .nav-links a:hover { color: var(--forest); }

  /* SPLIT HERO */
  .hero {
    display: grid; grid-template-columns: 1.05fr .95fr; min-height: 560px;
    position: relative; overflow: hidden;
  }
  .hero-photo {
    position: relative; overflow: hidden;
  }
  .hero-photo img {
    width: 100%; height: 100%; object-fit: cover; min-height: 560px;
  }
  .hero-photo::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent 70%, var(--bg) 100%);
  }
  .photo-badge {
    position: absolute; bottom: 32px; left: 32px; z-index: 2;
    background: rgba(255,253,248,.92); backdrop-filter: blur(8px);
    border-radius: 14px; padding: 14px 18px;
    display: flex; align-items: center; gap: 12px;
    box-shadow: 0 12px 28px rgba(28,42,31,.18);
  }
  .photo-badge svg { width: 28px; height: 28px; }
  .photo-badge strong { display: block; font-size: .9rem; }
  .photo-badge span { font-size: .75rem; color: var(--muted); }

  .hero-text {
    display: flex; flex-direction: column; justify-content: center;
    padding: 56px 48px 56px 36px; position: relative;
  }
  .hero-text .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: #dcfce7; color: var(--forest); font-size: .75rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .08em;
    padding: 6px 12px; border-radius: 999px; width: fit-content; margin-bottom: 20px;
  }
  .hero-text h1 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 2.85rem; font-weight: 700; line-height: 1.15;
    color: var(--forest-deep); letter-spacing: -.01em;
  }
  .hero-text h1 em { font-style: italic; color: var(--clay); }
  .hero-text > p { margin-top: 18px; font-size: 1.05rem; color: var(--muted); max-width: 420px; }
  .hero-actions { margin-top: 28px; display: flex; gap: 12px; }
  .btn-forest {
    background: var(--forest); color: #fff; padding: 14px 22px; border-radius: 12px;
    font-weight: 700; font-size: .9rem; box-shadow: 0 10px 24px rgba(45,90,61,.3);
  }
  .btn-outline {
    border: 2px solid var(--forest); color: var(--forest); padding: 12px 20px; border-radius: 12px;
    font-weight: 700; font-size: .9rem;
  }

  /* Nature motif strip */
  .nature-strip {
    display: flex; justify-content: center; gap: 48px; padding: 28px 0;
    border-bottom: 1px dashed #d6cfc0; position: relative;
  }
  .nature-item { display: flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 700; color: var(--muted); }
  .nature-item svg { width: 28px; height: 28px; }

  /* Principles */
  .principles {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    padding: 48px 0 24px;
  }
  .principle {
    background: var(--card); border-radius: 18px; padding: 24px;
    border: 1px solid #e8e1d4; position: relative; overflow: hidden;
  }
  .principle svg.bg-motif {
    position: absolute; right: -10px; bottom: -10px; width: 80px; height: 80px; opacity: .08;
  }
  .principle .dot {
    width: 10px; height: 10px; border-radius: 50%; margin-bottom: 14px;
  }
  .principle h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
  .principle p { font-size: .88rem; color: var(--muted); }

  /* Article cards */
  .section { padding: 40px 0 64px; }
  .section-head { margin-bottom: 28px; display: flex; justify-content: space-between; align-items: end; }
  .section-head h2 {
    font-family: 'Source Serif 4', Georgia, serif; font-size: 2rem; font-weight: 700; color: var(--forest-deep);
  }
  .section-head p { color: var(--muted); font-size: .9rem; max-width: 320px; text-align: right; }

  .articles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .article {
    background: var(--card); border-radius: 22px; overflow: hidden;
    border: 1px solid #e8e1d4;
    box-shadow: 0 8px 24px rgba(28,42,31,.06);
    display: grid; grid-template-columns: 200px 1fr;
    min-height: 180px;
  }
  .article-img { position: relative; overflow: hidden; }
  .article-img img { width: 100%; height: 100%; object-fit: cover; min-height: 180px; }
  .article-body { padding: 22px 24px; display: flex; flex-direction: column; justify-content: center; }
  .chip {
    display: inline-block; font-size: .7rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; width: fit-content; margin-bottom: 10px;
  }
  .chip-amber { background: #ffedd5; color: #c2410c; }
  .chip-green { background: #dcfce7; color: #166534; }
  .chip-teal { background: #cffafe; color: #0e7490; }
  .chip-olive { background: #ecfccb; color: #3f6212; }
  .article h3 { font-family: 'Source Serif 4', Georgia, serif; font-size: 1.2rem; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
  .article p { font-size: .88rem; color: var(--muted); }

  .legal-note {
    margin-top: 40px; padding: 20px 24px; border-radius: 14px;
    background: #fef3c7; border: 1px solid #fcd34d;
    font-size: .88rem; color: #92400e; display: flex; gap: 12px; align-items: start;
  }

  footer {
    background: var(--forest-deep); color: #c5d5c8; padding: 36px 0;
  }
  .footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
  .footer-inner .logo { color: #fff; }
  .footer-inner p { font-size: .85rem; }
  .photon { color: #86efac; font-weight: 700; }

.content-area{padding:48px 0 64px}
.entry-content img{border-radius:12px;max-width:100%;height:auto}
.entry-content table{width:100%;border-collapse:collapse;margin:1em 0;font-size:.92rem}
.entry-content th,.entry-content td{border:1px solid rgba(127,127,127,.25);padding:8px 10px;text-align:left}
.affiliate-placeholder{display:inline-block;background:#fff7ed;color:#9a3412;border:1px dashed #fdba74;padding:2px 8px;border-radius:6px;font-size:.85em}
