:root {
  --font-display: "Cormorant Garamond";
  --font-body: "Manrope";
  --ink: #123040;
  --navy: #0d3445;
  --teal: #2e746f;
  --sand: #f4eee3;
  --cream: #fbf8f1;
  --gold: #d8a852;
  --coral: #c96854;
  --line: rgba(13, 52, 69, 0.16);
}

[hidden] { display: none !important; }
[data-lang] { display: none; }
html[data-language="pt"] [data-lang="pt"],
html[data-language="en"] [data-lang="en"] { display: revert; }
.mobile-toggle { display:none; border:0; background:transparent; font-size:25px; color:var(--navy); cursor:pointer; }
.admin-tools { display:flex; flex-wrap:wrap; gap:10px; margin:20px 0; }
.admin-tools button,.admin-tools label { cursor:pointer; }
.file-input { position:absolute; opacity:0; pointer-events:none; }
.notice { padding:14px; background:#fff8df; border-left:3px solid var(--gold); font-size:13px; color:#5d543e; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body), sans-serif;
  line-height: 1.65;
}
body.modal-open { overflow:hidden; }
button, input, select { font: inherit; }
a { color: inherit; }
.site { overflow: clip; }
.nav {
  position: fixed; inset: 0 0 auto; z-index: 40;
  background: rgba(251,248,241,.93); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { max-width: 1240px; margin: auto; height: 84px; padding: 0 28px; display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 43px; height: 43px; border: 1px solid var(--gold); border-radius: 50%; display:grid; place-items:center; font: 600 20px var(--font-display); color: var(--gold); }
.brand-copy strong { display:block; font: 700 16px var(--font-display); letter-spacing: .05em; }
.brand-copy small { display:block; font-size: 9px; text-transform:uppercase; letter-spacing:.18em; color:#56717b; }
.menu { display:flex; gap: 18px; align-items:center; }
.menu a { font-size: 12px; font-weight:700; text-decoration:none; color:#31515e; }
.menu a:hover { color: var(--coral); }
.lang { display:flex; align-items:center; border:1px solid var(--line); border-radius:999px; padding:3px; background:white; }
.lang button { display:grid; place-items:center; border:0; background:transparent; padding:7px 9px; border-radius:999px; cursor:pointer; filter:grayscale(1); }
.lang button.active { background:var(--sand); filter:none; }
.lang img { display:block; width:25px; height:17px; object-fit:cover; border-radius:2px; box-shadow:0 1px 3px rgba(13,52,69,.18); }
.hero { min-height: 760px; padding: 154px max(7vw, 28px) 86px; display:grid; grid-template-columns: .9fr 1.1fr; gap: 5vw; align-items:center; position:relative; }
.hero::before { content:""; position:absolute; width:520px; height:520px; border:1px solid rgba(216,168,82,.25); border-radius:50%; left:-280px; top:220px; }
.eyebrow { display:flex; align-items:center; gap:10px; text-transform:uppercase; letter-spacing:.2em; font-size:11px; font-weight:800; color:var(--teal); }
.eyebrow::before { content:""; width:36px; height:1px; background:var(--gold); }
h1,h2,h3 { font-family:var(--font-display); line-height:1.02; }
h1 { font-size:clamp(54px,6vw,92px); font-weight:600; margin:22px 0; letter-spacing:-.035em; }
.hero-copy > p { font-size:18px; max-width:610px; color:#46636d; }
.actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:34px; }
.btn { display:inline-flex; align-items:center; gap:10px; padding:13px 19px; border-radius:4px; text-decoration:none; border:1px solid var(--navy); font-weight:800; font-size:12px; letter-spacing:.04em; background:var(--navy); color:white; cursor:pointer; }
.btn.alt { background:transparent; color:var(--navy); }
.hero-media { position:relative; }
.hero-media img { position:relative; z-index:1; width:100%; aspect-ratio: 1.22; object-fit:cover; border-radius:220px 220px 12px 12px; box-shadow: 0 28px 80px rgba(13,52,69,.18); }
.hero-badge { position:absolute; z-index:3; pointer-events:none; left:-35px; bottom:35px; width:140px; aspect-ratio:1; display:grid; place-items:center; text-align:center; border-radius:50%; background:var(--gold); color:#18323a; font:700 16px var(--font-display); transform:rotate(-7deg); box-shadow:0 12px 30px rgba(13,52,69,.16); }
.quick { max-width:1180px; margin:-38px auto 70px; position:relative; z-index:2; background:var(--navy); color:white; display:grid; grid-template-columns:repeat(4,1fr); }
.quick a { padding:28px; border-right:1px solid rgba(255,255,255,.15); text-decoration:none; }
.quick small { display:block; color:#a9c7c9; margin-bottom:8px; }
.quick strong { font-family:var(--font-display); font-size:20px; }
.section { padding:100px max(7vw, 28px); scroll-margin-top:80px; }
.inner { max-width:1180px; margin:auto; }
.section-head { display:grid; grid-template-columns:.7fr 1.3fr; gap:50px; margin-bottom:60px; }
.section-head h2 { font-size:clamp(44px,5vw,72px); margin:10px 0; font-weight:600; }
.lead { font-size:18px; color:#4a6771; max-width:700px; }
.sand { background:var(--sand); }
.dark { background:var(--navy); color:white; }
.dark .lead, .dark p { color:#c4d5d8; }
.cards { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.card { background:rgba(255,255,255,.7); border:1px solid var(--line); padding:30px; min-height:230px; }
.card .num { color:var(--gold); font:600 13px var(--font-body); }
.card h3 { font-size:28px; margin:38px 0 12px; }
.card p { color:#536d76; font-size:14px; margin:0; }
.card-link { position:relative; display:block; color:inherit; text-decoration:none; cursor:pointer; }
.card-action { display:block; margin-top:18px; color:var(--teal); font-size:12px; font-weight:800; }
.card-qr { position:absolute; top:22px; right:22px; width:56px; height:56px; padding:3px; object-fit:contain; border-radius:4px; background:white; }
.dark .card { background:rgba(255,255,255,.05); border-color:rgba(255,255,255,.13); }
.dark .card p { color:#b7cccf; }
.beliefs { display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.12); }
.belief { padding:25px; background:var(--navy); display:flex; gap:20px; }
.belief b { color:var(--gold); }
.split { display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center; }
.split img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:4px 120px 4px 4px; }
.list { padding:0; list-style:none; }
.list li { border-top:1px solid var(--line); padding:16px 0; display:flex; gap:14px; }
.list li::before { content:"✦"; color:var(--gold); }
.schedule { background:white; border:1px solid var(--line); }
.schedule-row { display:grid; grid-template-columns:240px 80px 1fr 120px; gap:20px; padding:18px 22px; border-bottom:1px solid var(--line); align-items:center; }
.schedule-event { width:100%; border:0; border-bottom:1px solid var(--line); background:white; color:var(--ink); text-align:left; cursor:pointer; font:inherit; }
.schedule-event:last-child { border-bottom:0; }
.schedule-row:last-child { border:0; }
.schedule-row .day { font-weight:800; }
.pill { padding:5px 10px; border-radius:999px; background:#e6f0ee; color:var(--teal); font-size:11px; font-weight:800; text-align:center; }
.schedule-empty { padding:42px; text-align:center; color:#637983; }
.admin-link { margin-top:16px; border:0; background:transparent; text-decoration:underline; color:#667b83; cursor:pointer; font-size:12px; }
.donate { display:grid; grid-template-columns:1.2fr .8fr; gap:50px; align-items:end; }
.donate h2 { font-size:clamp(48px,6vw,82px); margin:8px 0 25px; }
.give-box { background:var(--gold); color:#18323a; padding:32px; }
.give-box div { padding:14px 0; border-bottom:1px solid rgba(24,50,58,.2); }
.volunteer-action { display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.volunteer-action img { width:118px; height:118px; object-fit:contain; padding:7px; border-radius:5px; background:white; }
.give-qr { display:block; width:150px; height:150px; object-fit:contain; margin-top:14px; padding:7px; border-radius:5px; background:white; }
.social-links a { display:inline-block; margin:3px 0; font-weight:700; }
.canteen-menu { display:grid; grid-template-columns:repeat(2,1fr); gap:1px; overflow:hidden; border:1px solid var(--line); border-radius:6px; background:var(--line); }
.canteen-item { display:grid; grid-template-columns:1fr auto; gap:20px; align-items:center; min-height:110px; padding:24px 28px; background:white; }
.canteen-item h3 { margin:0 0 4px; font-size:27px; }
.canteen-item small { color:#698089; }
.canteen-price { color:var(--teal); font-size:24px; font-weight:800; white-space:nowrap; }
.youth-feature > img { aspect-ratio:auto; max-height:760px; object-fit:contain; border-radius:4px 90px 4px 4px; background:#fff; }
.contact-grid { display:grid; grid-template-columns:1fr 1fr; min-height:480px; }
.contact-copy { padding:80px max(7vw,50px); background:var(--sand); }
.contact-copy h2 { font-size:56px; margin:12px 0 28px; }
.map iframe { width:100%; height:100%; border:0; filter:saturate(.5); }
footer { background:#082735; color:white; padding:64px max(7vw,28px) 30px; }
.footer-grid { max-width:1180px; margin:auto; display:grid; grid-template-columns:1.6fr 1fr 1fr; gap:50px; }
.footer-nav { display:grid; gap:8px; }
.footer-nav a { text-decoration:none; color:#bed0d3; font-size:13px; }
.copyright { max-width:1180px; margin:45px auto 0; padding-top:22px; border-top:1px solid rgba(255,255,255,.14); font-size:11px; color:#8fb0b5; display:flex; justify-content:space-between; }
.modal { position:fixed; inset:0; background:rgba(4,24,32,.8); z-index:80; display:grid; place-items:center; padding:20px; }
.modal-card { width:min(720px,100%); max-height:90vh; overflow:auto; background:var(--cream); padding:34px; box-shadow:0 30px 100px #0005; }
.modal-head { display:flex; justify-content:space-between; align-items:center; }
.modal h2 { font-size:38px; margin:0; }
.close { border:0; background:none; font-size:28px; cursor:pointer; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:22px 0; align-items:start; }
.field { display:grid; gap:5px; align-self:start; }
.field label { font-size:11px; font-weight:800; text-transform:uppercase; }
.field input,.field select,.field textarea { padding:11px; border:1px solid var(--line); background:white; color:var(--ink); font:inherit; }
.field input,.field select { height:48px; }
.field textarea { resize:vertical; min-height:100px; }
.full { grid-column:1/-1; }
.admin-event { display:grid; grid-template-columns:1fr auto; align-items:center; padding:12px 0; border-top:1px solid var(--line); }
.admin-actions { display:flex; gap:10px; align-items:center; }
.edit-button { border:0; color:var(--teal); background:none; cursor:pointer; font-weight:800; }
.danger { border:0; color:#9b3d32; background:none; cursor:pointer; }
.status { font-size:12px; color:var(--teal); min-height:20px; }
.event-description { display:block; max-width:620px; margin-top:5px; color:#68808a; }
.event-copy p { margin:5px 0 0; color:#657c84; font-size:13px; }
.recurring-label { display:block; margin-top:4px; color:var(--teal); font-size:12px; font-weight:800; }
.check-field { display:flex; align-items:center; gap:10px; padding:12px 14px; border:1px solid var(--line); background:white; cursor:pointer; font-weight:800; }
.check-field input { width:19px; height:19px; accent-color:var(--teal); }
.admin-thumb { display:block; width:90px; height:60px; object-fit:cover; margin-top:9px; border-radius:4px; }
.admin-photo-preview { display:block; max-width:260px; max-height:160px; object-fit:cover; border-radius:5px; }
.event-modal-card { width:min(760px,100%); }
.event-modal-image { display:block; width:auto; max-width:100%; height:auto; max-height:65vh; object-fit:contain; margin:0 auto 26px; border-radius:5px; background:var(--sand); }
.event-modal-card h2 { font-size:clamp(36px,6vw,58px); margin:14px 0 10px; }
.event-modal-time { color:var(--teal); font-weight:800; }
.event-modal-card > p:not(.event-modal-time) { white-space:pre-line; color:#536d76; }
.panel-page { min-height:100vh; background:linear-gradient(135deg,var(--sand),var(--cream)); }
.panel-shell { width:min(960px,calc(100% - 40px)); margin:0 auto; padding:40px 0 80px; }
.panel-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:42px; }
.panel-header a { color:var(--teal); font-weight:800; text-decoration:none; font-size:13px; }
.panel-card { background:rgba(255,255,255,.9); border:1px solid var(--line); padding:clamp(25px,5vw,55px); box-shadow:0 24px 70px rgba(13,52,69,.13); }
.panel-card h1 { font-size:clamp(44px,7vw,70px); margin:12px 0 10px; }
.panel-card > p:not(.notice) { color:#58727b; }
.panel-divider { height:1px; margin:44px 0; background:var(--line); }
.canteen-admin { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:22px 0; }

/* Destaques para computadores com mouse */
@media (hover: hover) and (pointer: fine) {
  .btn,
  .card,
  .canteen-item,
  .quick a,
  .belief,
  .schedule-row,
  .give-box,
  .hero-media img,
  .split img,
  .footer-nav a,
  .menu a,
  .lang button,
  .admin-link {
    transition:
      transform .28s ease,
      box-shadow .28s ease,
      background-color .28s ease,
      border-color .28s ease,
      color .28s ease,
      filter .28s ease,
      opacity .28s ease;
  }

  .hero-media,
  .split {
    isolation: isolate;
  }

  .hero-media img:hover,
  .split img:hover {
    transform: scale(1.025);
    filter: saturate(1.08) contrast(1.03);
    box-shadow: 0 28px 65px rgba(13,52,69,.25);
    position: relative;
    z-index: 2;
  }

  .btn:hover {
    transform: translateY(-3px);
    background: var(--teal);
    border-color: var(--teal);
    box-shadow: 0 12px 28px rgba(13,52,69,.22);
  }

  .btn.alt:hover {
    color: white;
  }

  .card:hover {
    transform: translateY(-7px);
    border-color: rgba(216,168,82,.75);
    background: white;
    box-shadow: 0 20px 45px rgba(13,52,69,.13);
  }

  .canteen-item:hover {
    position:relative;
    z-index:1;
    transform:translateY(-4px);
    box-shadow:0 16px 38px rgba(13,52,69,.14);
  }

  .dark .card:hover {
    background: rgba(255,255,255,.1);
    border-color: var(--gold);
    box-shadow: 0 20px 45px rgba(0,0,0,.2);
  }

  .quick a:hover {
    transform: translateY(-5px);
    background: var(--teal);
    box-shadow: 0 15px 30px rgba(13,52,69,.2);
  }

  .quick a:hover small {
    color: white;
  }

  .belief:hover {
    background: #16485b;
    transform: translateX(5px);
  }

  .schedule-row:hover {
    background: #f7f1e7;
    transform: translateX(5px);
    box-shadow: inset 4px 0 0 var(--gold);
  }
  .schedule-event:hover { border-color:var(--gold); }

  .give-box:hover {
    transform: translateY(-6px) rotate(-.5deg);
    box-shadow: 0 22px 48px rgba(0,0,0,.2);
  }

  .menu a:hover,
  .footer-nav a:hover,
  .admin-link:hover {
    color: var(--coral);
  }

  .menu a:hover,
  .footer-nav a:hover {
    transform: translateY(-2px);
  }

  .lang button:hover {
    transform: scale(1.12);
    filter: none;
  }

  .danger:hover {
    text-decoration: underline;
    color: #c13f30;
  }
}

@media (max-width: 980px) {
  .menu { display:none; }
  .menu.open { display:flex; position:absolute; top:84px; left:0; right:0; background:var(--cream); padding:20px; flex-direction:column; align-items:flex-start; border-bottom:1px solid var(--line); }
  .mobile-toggle { display:block; }
  .hero { grid-template-columns:1fr; padding-top:130px; }
  .hero-media { max-width:680px; }
  .quick { margin:0; grid-template-columns:1fr 1fr; }
  .section-head,.split,.donate,.contact-grid { grid-template-columns:1fr; }
  .canteen-menu { grid-template-columns:1fr; }
  .cards { grid-template-columns:1fr 1fr; }
  .map { min-height:380px; }
}
@media (max-width: 620px) {
  .nav-inner { padding:0 16px; }
  .brand-copy small { display:none; }
  .hero { padding-left:20px; padding-right:20px; }
  .hero-badge { width:105px; left:-10px; }
  .quick,.cards,.beliefs { grid-template-columns:1fr; }
  .section { padding:72px 20px; }
  .section-head { gap:12px; }
  .schedule-row { grid-template-columns:80px 1fr; }
  .schedule-row .pill { grid-column:2; }
  .schedule-row .event-copy { grid-column:1/-1; }
  .footer-grid { grid-template-columns:1fr; }
  .copyright { display:block; }
  .form-grid { grid-template-columns:1fr; }
  .canteen-admin { grid-template-columns:1fr; }
  .volunteer-action img,.give-qr { width:105px; height:105px; }
  .full { grid-column:auto; }
}
